Search

US-12625690-B2 - Electronic device and method for changing binary

US12625690B2US 12625690 B2US12625690 B2US 12625690B2US-12625690-B2

Abstract

A system server includes a communication module for communicating with an electronic device and an external server, a memory that stores device information and production information for a plurality of electronic devices received from the external server, and a processor operatively connected to the communication module and the memory where the processor is configured to receive unique state information from the electronic device based on the electronic device accessing the system server, compare the received unique state information with the device information for the plurality of electronic devices stored in the memory to determine whether a binary change is required in the electronic device, generate change information including information about a binary to be changed, and transmit the generated change information to the electronic device.

Inventors

  • Dongjin SOHN
  • Eunseob KO
  • Soomin KIM
  • YoungJoo KIM
  • Jaesung Park
  • Jeongho Lee
  • MoonYoung JUNG
  • Areum Jeong
  • Sungho CHEON

Assignees

  • SAMSUNG ELECTRONICS CO., LTD.

Dates

Publication Date
20260512
Application Date
20230518
Priority Date
20210113

Claims (6)

  1. 1 . A system server comprising: a communication module configured to communicate with an electronic device and an external server; a validity module configured to perform a validity logic; memory configured to store instructions, device information and production information on a plurality of electronic devices received from the external server; at least one processor operatively connected to the communication module, the validity module and the memory, wherein the instructions, when individually or collectively executed by the at least one processor, cause the system server to: download device information and production information of the electronic device from the external server through an application programming interface (API) based on the external server being connected to the system server, the external server comprising a database including the device information and the production information of the electronic device, temporarily store the downloaded device information and production information in a storage, control the validity module to perform a first validity logic for identifying validity of the device information and the production information temporarily stored in the storage, and store, in the memory, the device information and the production information temporarily stored in the storage based on the validity of the device information and the production information being identified, the storage being different from the memory, and wherein the at least one processor is further configured to: determine whether the electronic device is a valid electronic device through an authentication process based on the electronic device accessing the system server automatically at a first booting after user data of the electronic device is deleted, receive unique state information from the electronic device based on the electronic device being determined as the valid electronic device, control the validity module to perform a second validity logic for verifying the electronic device based on the received unique state information, determine whether a change of a first software binary applied to the electronic device is required based on a result of the verifying of the electronic device, generate change information identifying a second software binary to be changed, based on the change of the first software binary applied to the electronic device being required, and transmit the generated change information to the electronic device.
  2. 2 . The system server of claim 1 , wherein the instructions, when executed by the at least one processor, cause the system server to: communicate with the external server by using the communication module, and receive the device information and the production information by using the communication module.
  3. 3 . The system server of claim 2 , wherein the instructions, when executed by the at least one processor, cause the system server to identify at least one of whether the electronic device is a normally produced terminal, whether a model of the electronic device is a supported model, whether an ID of the electronic device is valid, and whether there is no error in input data based on the received device information and the received production information.
  4. 4 . The system server of claim 1 , wherein the instructions, when executed by at least one processor, cause the system server to map the device information according to specified criteria to generate a key table, and store the key table in the memory.
  5. 5 . The system server of claim 1 , wherein the validity module is configured to perform the second validity logic of verifying at least one of whether the electronic device is actually produced electronic device, whether an ID of the electronic device is a normal unique ID, and whether the electronic device is a normal electronic device, based on the unique state information.
  6. 6 . The system server of claim 1 , wherein the processor does not generate the information on the second binary based on the change of the first software binary not being required.

Description

CROSS-REFERENCE TO RELATED APPLICATION This application is a bypass continuation application of International Application No. PCT/KR2021/015510, filed on Nov. 1, 2021, which is based on and claims priority to Korean Patent Application No. 10-2021-0004405, filed on Jan. 13, 2021, in the Korean Intellectual Property Office, the disclosures of which are incorporated by reference herein in their entireties. BACKGROUND 1. Field Various embodiments of the disclosure generally relate to an electronic device, and more particularly, to an electronic device capable of initializing a previously applied binary in the electronic device and easily changing to another binary or a self-sufficient terminal. 2. Description of Related Art With the development of mobile communication and hardware and/or software technology, a portable electronic device such as a smartphone (hereinafter, referred to as an electronic device) may be equipped with various functions. The electronic device may store various software in a memory, and a software binary (or system software) such as a bootloader, an operating system, or a device driver may be recorded or flashed in a predetermined area of the memory. The software binary may be initially recorded in the memory of the electronic device during the process of the electronic device, after which a user may update the software binary by using an update tool in another device connected to the electronic device. In order to use the electronic device after the initial recording or update of such system software, a rebooting process may be required. Conventional electronic devices are directly collected and reworked by manufacturers, and resold to users in order to change binaries to other binaries or self-sufficiency system after recording the binaries. When a used terminal is delivered to a designated operator, there are problems that the binary is fixed with the software of the corresponding operator, resulting in poor usability as a used terminal, and the work cost is added when the manufacturer reworks the used terminal. Various embodiments of the disclosure are intended to provide a more efficient change method in terms of time and cost when the electronic device attempts to record the software binary in the memory and then change the software binary, as described above. SUMMARY According to an aspect of the disclosure, a system server includes a communication module for communicating with an electronic device and an external server, a memory storing device information and production information on a plurality of electronic devices received from the external server, and a processor operatively connected to the communication module and the memory, and the processor is configured to: receive unique state information from the electronic device based on the electronic device accessing the system server, compare the received unique state information with the device information on the plurality of electronic devices stored in the memory to determine whether a binary change is required in the electronic device, generate change information comprising information on a binary to be changed, and transmit the generated change information to the electronic device. The processor may be further configured to: communicate with the external server by using the communication module, and receive the device information and the production information based on a user input or a terminal database. The system server may further include a first validity logic identifying at least one of whether the electronic device is a normally produced terminal, whether a model of the electronic device is a supported model, whether an ID of the electronic device is valid, and whether there is no error in input data based on the received device information and the received production information. The processor may be further configured to map the device information according to specified criteria to generate a key table, and store the key table in the memory. The processor may be further configured to: determine whether the electronic device is a valid electronic device through an authentication process based on the electronic device accessing the system server, and receive the unique state information based on the electronic device being determined as the valid electronic device, and the system server may further include a second validity logic verifying at least one of whether the electronic device is actually produced electronic device, whether an ID of the electronic device is a normal unique ID, and whether the electronic device is a normal electronic device, based on the unique state information. The change information generated by the processor may include information on a second binary to be changed based on a change to a first binary applied to the electronic device being required, and the change information generated by the processor may not include information on the second binary based on a change to a binary not being