Control method of electronic equipment and electronic equipment
By using the hardware interface between the boot system and the communication module to transmit trigger signals during the device startup phase, the target chip is controlled to execute configuration file editing, which solves the problems of privacy leakage and low operational efficiency in the prior art. It enables sensitive data to be cleared before the device starts up, thus improving the efficiency of device maintenance and data processing.
Patent Information
- Application Number
- CN202511785462.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-28
- Publication Date
- 2026-03-06
AI Technical Summary
Existing technologies require accessing the operating system to delete the embedded user identity module configuration file, which poses a risk of user privacy leakage and cannot meet the automated processing needs of batch devices, resulting in low operational efficiency.
By using the target physical interface between the boot system and the communication module, a trigger signal is generated and transmitted. The communication module then controls the target chip to perform configuration file editing operations, thereby enabling the clearing of sensitive data during the device startup phase and avoiding strong dependence on the operating system.
Editing configuration files before the operating system boots up improves the efficiency of equipment maintenance and data processing, ensures the security of user privacy, and is suitable for scenarios such as mobile device maintenance, return-to-factory testing, and batch initialization of enterprise equipment.
Smart Images

Figure CN121615178A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer hardware technology, and more particularly to a control method for an electronic device and an electronic device. Background Technology
[0002] With the increasing popularity of embedded user identity modules, computer devices equipped with these modules are widely used in fields such as mobile office. Currently, when repairing or recycling computer devices, it is necessary to completely delete the user configuration files within the module to protect privacy.
[0003] Existing methods require accessing the operating system and manually deleting configuration files through a graphical interface, posing a risk of user privacy breaches. Furthermore, reliance on manual operation fails to meet the demands of automated processing for large numbers of devices, resulting in low operational efficiency. Summary of the Invention
[0004] In view of this, the present disclosure provides a control method for an electronic device and an electronic device.
[0005] According to a first aspect of this disclosure, a control method for an electronic device is provided, the method comprising: responding to a communication module of the electronic device obtaining a target trigger signal generated by the boot system through a target physical interface between the electronic device and a boot system of the electronic device; generating editing instructions for a target configuration file by the communication module; the target physical interface being capable of signal transmission between the boot system and the communication module; and using the communication module to control a target chip to perform a target editing operation on the target configuration file based on the editing instructions, the target chip being a chip storing the target configuration file.
[0006] A first aspect of this disclosure provides an electronic device, comprising: a boot system configured to generate a target trigger signal; a communication module communicatively connected to the boot system via a target physical interface, the target physical interface being capable of signal transmission between the boot system and the communication module; the communication module configured to receive the target trigger signal generated by the boot system via the target physical interface; in response to receiving the target trigger signal, generating editing instructions for a target configuration file; controlling a target chip to perform a target editing operation on the target configuration file based on the editing instructions; and a target chip connected to the communication module for storing the target configuration file.
[0007] A second aspect of this disclosure provides a computer-readable storage medium having a computer program or instructions stored thereon, which, when executed by a processor, implement the steps of the method described above.
[0008] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0009] The above and other objects, features and advantages of this disclosure will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:
[0010] Figure 1 The diagram illustrates a control method for an electronic device according to embodiments of the present disclosure and an application scenario of the electronic device.
[0011] Figure 2 A flowchart illustrating a control method for an electronic device according to an embodiment of the present disclosure is shown schematically.
[0012] Figure 3 This schematically illustrates a diagram of the deletion level display of the embedded user identity module configuration file according to an embodiment of the present disclosure;
[0013] Figure 4 A flowchart illustrating a control method for deleting an embedded user identity module configuration file according to an embodiment of the present disclosure is shown.
[0014] Figure 5 This schematically illustrates a level change diagram of the control method for deleting an embedded user identity module configuration file according to an embodiment of the present disclosure;
[0015] Figure 6 A block diagram of an electronic device according to an embodiment of the present disclosure is shown schematically. Detailed Implementation
[0016] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely examples and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.
[0017] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0018] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.
[0019] When using expressions such as "at least one of A, B and C", they should generally be interpreted in accordance with the meaning that is commonly understood by a person skilled in the art (e.g., "having at least one of A, B and C" should include, but is not limited to, having only A, having only B, having only C, having A and B, having A and C, having B and C, and / or having A, B and C, etc.).
[0020] Before introducing the technical solutions provided in the embodiments of this disclosure, the relevant technologies involved in this disclosure will be explained first.
[0021] In related technologies, taking the deletion of an embedded user identity module configuration file as an example, existing deletion mechanisms typically require a full boot of the device operating system first, followed by manual triggering of the deletion operation through the graphical interface provided by the operating system. For simplicity, the embedded user identity module configuration file will be referred to as the target configuration file below.
[0022] Existing configuration file deletion mechanisms, such as allowing users to find and select the deletion option through Device Manager or Cellular Settings after entering the operating system, require special tools or disassembly if the device cannot boot normally. However, when the device is under repair, returned to the factory, or undergoing batch data processing, existing solutions suffer from cumbersome procedures, reliance on the operating system for normal operation, and inability to guarantee data security before booting, potentially leading to user privacy leaks and impacting device processing efficiency.
[0023] It is evident that existing configuration file deletion mechanisms are highly dependent on the operating system environment. When users or maintenance personnel need to ensure data security during the boot phase, they often need to disassemble the device or use specialized equipment, which may cause interruptions in the maintenance process and delays in data protection measures.
[0024] In view of the above, embodiments of this disclosure provide a control method for an electronic device, applied to the device firmware layer, the method comprising: responding to a communication module of the electronic device obtaining a target trigger signal for generating a self-booting system through a target physical interface with the boot system of the electronic device, generating editing instructions for a target configuration file by the communication module; and using the communication module to control a target chip to perform a target editing operation on the target configuration file based on the editing instructions.
[0025] The embodiments disclosed herein enable configuration file management through firmware layer interaction during the device startup phase. This facilitates the clearing of sensitive data before the operating system boots up and avoids the strong dependence on the operating system's graphical interface found in traditional solutions. This hardware-triggered management mechanism allows data deletion operations to be performed earlier and more securely, thereby protecting user privacy while improving the efficiency of device maintenance and data processing.
[0026] The application scenarios of this disclosure include, but are not limited to, mobile device repair scenarios such as laptops and tablets equipped with embedded user identity modules. It is particularly suitable for scenarios with high requirements for data security and operational efficiency, such as equipment return for factory testing, data erasure of used equipment, and batch initialization of enterprise equipment. In specific implementation scenarios, this method can also be applied to embedded system fields such as IoT device module management and secure erasure of industrial control equipment.
[0027] Figure 1 The diagram illustrates a control method for an electronic device and an application scenario of the electronic device according to embodiments of the present disclosure.
[0028] like Figure 1 As shown, application scenario 100 according to this embodiment may include a communication module 101, a boot system 102, and a target chip 103. The communication module 101, the boot system 102, and the target chip 103 are integrated inside the same electronic device and connected to the circuit through a hardware interface, forming the core hardware foundation for the device startup and communication functions.
[0029] Users or maintenance personnel can initiate operation commands through the configuration interface provided by the boot system 102. The boot system 102 then interacts with the communication module 101, and the communication module 101 controls the target chip 103 to execute specific configuration file operations.
[0030] The communication module 101 can be any hardware module that supports cellular network communication, including but not limited to 4G modules, 5G modules, etc. The communication module is used to receive trigger signals from the boot system 102 and generate editing instructions for the target configuration file based on the trigger signals.
[0031] The boot system 102 may be a basic input / output system in a computer device, used to perform hardware initialization and provide a configuration interface before the operating system starts. The configuration interface is used to receive user input and generate corresponding hardware trigger signals.
[0032] The target chip 103 may be an embedded user identity module chip or other form of programmable security chip, used to store the network authentication configuration file of the device. In response to edit instructions from the communication module 101, the target chip performs specific editing operations on the stored configuration file.
[0033] It should be noted that the control method of the electronic device provided in this embodiment can generally be executed by the communication module 101. Accordingly, the control device of the electronic device provided in this embodiment can generally be disposed in the communication module 101. The control method of the electronic device provided in this embodiment can also be executed collaboratively by the boot system 102 and the communication module 101, or by the communication module 101 and the target chip 103.
[0034] It should be understood that Figure 1 The number and connection relationships of the communication modules, boot system, and target chips shown are merely illustrative. Additional auxiliary control units may be included depending on implementation needs, or their integration method may be adjusted in different device architectures.
[0035] Figure 2 A flowchart illustrating a control method for an electronic device according to an embodiment of the present disclosure is shown schematically.
[0036] like Figure 2 As shown, the control method of the electronic device in this embodiment can be applied to an intelligent dialogue system. The control method of the electronic device includes operations S210 to S220.
[0037] In operation S210, in response to the electronic device’s communication module, the target trigger signal for generating the self-booting system is obtained through the target physical interface between the electronic device and the electronic device’s boot system, and the communication module generates editing instructions for the target configuration file.
[0038] In this embodiment, the target physical interface is configured as a hardware connection channel for signal transmission between the boot system and the communication module. The communication module can refer to a hardware module that implements the device's wireless communication function. Its implementation includes, but is not limited to, a mobile communication module (for accessing a cellular network, such as a fourth-generation or fifth-generation mobile communication technology network), a Wi-Fi communication module, or a Bluetooth communication module. The target physical interface can refer to a predefined dedicated hardware pin. As a non-limiting example, the target physical interface can be pin 60 on the module connector.
[0039] The target trigger signal can be an electrical signal generated by the boot system to instruct the communication module to begin executing a specific task. The task triggered by the electrical signal can be a deletion, modification, or update operation on the configuration file. The target configuration file can be a collection of software data stored in the device for configuring communication services. The target configuration file includes, but is not limited to: embedded user identity module configuration files, or configuration files related to Wi-Fi networks, such as access point names, authentication keys, and network communication addresses, as well as identity credential files, digital certificates, or security policy configuration files related to device security. It can also include account data related to user communication, communication service data signed with operators (such as communication packages), and user access history using communication service data. The corresponding editing instructions can be control commands generated by the communication module based on the target trigger signal, performing specific operations on the target configuration file. The specific type of control command can be a deletion command, a modification command, or an update command.
[0040] In operation S220, the communication module is used to control the target chip to perform target editing operations on the target configuration file based on editing instructions.
[0041] In this embodiment, the target chip can refer to a hardware unit that stores and manages the target configuration file. Specific implementations of the target chip include, but are not limited to, any of the following: an embedded user identity module chip independent of the communication module, a communication main control chip integrated within the communication module, or other processing chips in an electronic device capable of data interaction with the communication module, such as a security chip. A target editing operation can refer to a specific data processing action performed on the target configuration file as defined by editing instructions. Types of target editing operations include, but are not limited to, target deletion operations, target modification operations, or target update operations. The target chip can respond to the editing instructions of the communication module by performing corresponding deletion, modification, or update operations on the target configuration file, etc.
[0042] It should be noted that the target physical interface is not limited to a specific pin number; it is essentially any physical channel that enables bidirectional signal transmission. The integration method between the communication module and the target chip can also be adjusted according to the specific device architecture. Of course, in other embodiments, the target physical interface can also be a single-pin or multi-pin interface that enables unidirectional signal transmission.
[0043] In this embodiment, a trigger signal is transmitted through a dedicated hardware interface between the boot system and the communication module, enabling the communication module to generate control commands and directly drive the target chip to perform editing operations on the configuration file. This achieves the completion of critical data operations in the earliest stage of device startup, effectively solving the data security risks and low operational efficiency problems caused by the reliance on the operating system in existing technologies, and significantly improving data security and processing efficiency in scenarios such as maintenance, recycling, and batch initialization.
[0044] The control methods for electronic devices, including operations S210 to S220, are described in detail below.
[0045] In this embodiment of the disclosure, the target trigger signal in operation 210 can be generated by the boot system in response to the configuration operation of the target configuration option acting on the boot system. The target configuration option is used to trigger the execution of the corresponding configuration on the target configuration file.
[0046] In this embodiment of the disclosure, the boot system may be a basic input / output system (PIS) running in a computer device before the operating system starts. It is used to perform hardware initialization, power-on self-test (POST), and provide a system settings interface. The target trigger signal is generated by the PIS in response to the user's selection of a target configuration option in the PIS settings interface. The target configuration options include, but are not limited to: an embedded user identity module (UIM) configuration file deletion option, an embedded UIM configuration file update option, and a device security policy modification option. After the user completes the selection confirmation through an input device in the PIS settings interface, the PIS generates the corresponding target trigger signal.
[0047] In this embodiment of the disclosure, the target trigger signal may also be sent by the guidance system to the communication module at a first moment. The setting of the first moment must meet the following timing conditions: the first moment is later than the second moment when the communication module completes initialization or later than the third moment when the target chip completes initialization; the first moment is earlier than the moment when the guidance system guides the operating system of the electronic device to start.
[0048] In this embodiment, the second moment refers to the time when the communication module completes power-on, firmware loading, and basic register configuration; the third moment refers to the time when the target chip (such as an embedded user identification module) completes initialization and is ready to respond to access commands; the determination of the first moment can be triggered based on the satisfaction of any of the above-mentioned conditions, that is, it can be triggered after the communication module is fully initialized, or it can be triggered only after the target chip associated with the communication module completes initialization, to ensure that critical operations are performed within a safe time window before the operating system is loaded.
[0049] For example, in the device power-on process, the system starts timing after completing the self-test. When the status pin of the communication module outputs a preset ready level and remains so for more than 30 seconds (corresponding to the second moment), or when the embedded user identification module returns a ready status code through a query command (corresponding to the third moment), the system automatically generates and sends a target trigger signal to the communication module at the last time point before starting the operating system kernel.
[0050] It should be noted that this timing arrangement ensures that the communication module and / or target chip are ready when they receive the operation command, and that the entire operation is completed before the operating system takes over hardware control.
[0051] In this embodiment of the disclosure, the generation of editing instructions for the target configuration file by the communication module in operation 210 may further include: monitoring the level parameters of the target pins in the target physical interface; and generating deletion or modification instructions for the target configuration file based on the level parameters.
[0052] In this embodiment, the target pin can be one or more dedicated hardware pins, such as Pin 60. The level parameters can include electrical characteristic parameters such as level amplitude, signal duration, and level change parameters. By configuring different combinations of level parameters or the number of pins, various control strategies can be implemented: different level amplitudes can correspond to different operation types, different durations can distinguish operation types, and multi-pin collaboration can construct composite instructions, such as executing a configuration file update when both pins are triggered simultaneously, and executing deletion when a single pin is triggered.
[0053] For example, the communication module continuously monitors the voltage level of Pin 60. When a 3.3V high voltage level is detected for 1 second, an embedded user identity module (eSIM) configuration file deletion command is generated; when a 1.8V high voltage level is detected for 3 seconds, an eSIM configuration file parameter update command is generated; if both Pin 60 and Pin 61 are used simultaneously, when Pin 60 maintains a 3.3V high voltage level while Pin 61 maintains a 1.8V high voltage level for 2 seconds, a configuration file permission change command is generated.
[0054] It should be noted that the multi-criteria mechanism based on level parameters and the number of pins significantly improves the expressive power and control flexibility of hardware trigger signals through multiple combinations of level amplitude, duration, and number of pins, making it possible to achieve various operation controls with limited hardware resources.
[0055] In this embodiment of the disclosure, the voltage level of the target pin in the target physical interface is monitored; when the voltage level changes from a first level to a second level and the duration is longer than a first duration, a valid target trigger signal is determined to be received, and a change instruction for the target configuration file is generated, which may include a local change instruction or a global change instruction.
[0056] For example, different durations of voltage levels can be used to distinguish between local and global changes. When the communication module detects a voltage level change from 0V to 3.3V on a target pin for 1 second, it generates a local change command for the access point name parameter in the eSIM configuration file. When the same voltage level change is detected but lasts for 3 seconds, a global change command for the eSIM configuration file is generated, triggering a batch update operation for all configurable parameters, including the International Mobile Subscriber Identity (IMSI), access point name, and authentication key.
[0057] In this embodiment of the disclosure, if the level changes from a first level to a second level but the duration is less than the first duration, the received trigger signal is ignored; or, if the level does not change, no response action is performed; if the communication module has not yet established a target communication link with the target chip, a target communication link is established between the communication module and the target chip, and the target communication link is used by the communication module to transmit change instructions to the target chip.
[0058] In this embodiment, the differentiated determination mechanism based on the duration of the voltage level enables multiple configuration file management operations to be implemented through a single hardware pin, maintaining the simplicity of the hardware design while providing flexible operation control capabilities. In practical applications, the first duration and voltage level parameters can be configured and adjusted according to specific hardware characteristics.
[0059] In this embodiment of the disclosure, the generation of editing instructions for the target configuration file by the communication module in the above operation 210 may further include: monitoring the level state of the target pins in the target physical interface; when the level state changes from a first level to a second level and the duration is longer than a first duration, determining that a valid target trigger signal has been received, and generating a deletion instruction for the target configuration file.
[0060] For example, the communication module continuously monitors the voltage levels of pins in the target physical interface. When the electronic device enters the boot system interface, the user selects the eSIM profile deletion option. The boot system controls the Pin60 pin voltage to jump from 0V (first level) to 3.3V (second level). The communication module's internal timer starts recording the duration of the high level. If the duration reaches 1 second (first duration), a valid deletion trigger signal is received, and an eSIM profile deletion command is generated. If the high level duration is less than 1 second, it is considered an invalid signal, and no operation is performed.
[0061] In this embodiment of the disclosure, the dual judgment mechanism based on the level state and duration effectively prevents accidental deletion caused by signal jitter or accidental touch, ensuring the safety and reliability of the operation.
[0062] In this embodiment of the disclosure, the voltage level of the target pin in the target physical interface is monitored; if the voltage level changes from a first level to a second level, but the duration is less than the first duration, the received trigger signal is ignored.
[0063] For example, the communication module monitors the voltage level changes of target pins in the target physical interface. When it detects that the voltage level of the target pin jumps from 0V low to 3.3V high, the internal timer starts immediately. If the high level lasts for less than 1 second before returning to low (e.g., only 200 milliseconds), the communication module determines that the signal is interference or a false trigger level, automatically ignores the trigger event, and does not perform any configuration file operations.
[0064] In this embodiment of the disclosure, the voltage level of the target pin in the target physical interface is monitored; if the voltage level does not change, no response action is performed; if the communication module has not yet established a target communication link with the target chip, a target communication link is established between the communication module and the target chip, and the target communication link is used by the communication module to transmit a deletion command to the target chip.
[0065] In this embodiment, when no required level transition event is detected within a preset monitoring period, the communication module will maintain its current operating state and will not initiate any configuration file operation process. Simultaneously, during the establishment of the target communication link, if it is detected that the application protocol data unit link with the embedded user identity module chip has not been established, the communication module will automatically initialize the communication protocol stack and control the link switch to switch to the backup communication channel to re-establish a stable instruction transmission path.
[0066] In addition, when the communication module does not detect a valid level change within a preset time, or detects an abnormality in the communication link with the target chip, it can feed back specific status information to the basic input / output system through the target physical interface, prompting that the trigger signal needs to be resent.
[0067] For example, during device startup, the communication module continuously monitors the Pin60 pin level for 30 seconds. If no valid level transition is detected, a specific error code pulse sequence is sent to the Basic Input / Output System (BIOS) via this pin. Simultaneously, if a timeout is detected in communication with the application protocol data unit of the embedded user identity module, the communication module automatically switches the SIM switch to the backup channel and reinitializes the smart card communication protocol. After successful link establishment, the communication module remains in a ready state, waiting for the BIOS to resend the trigger signal before continuing the deletion operation.
[0068] In this embodiment of the disclosure, the dual protection of signal filtering and link pre-establishment significantly improves the system's anti-interference capability and operational reliability, effectively prevents erroneous operations caused by signal jitter or communication abnormalities, and ensures the secure execution of sensitive data deletion operations.
[0069] In this embodiment of the disclosure, the operation 210 described above, in which the communication module controls the target chip to perform a target editing operation on the target configuration file based on editing instructions, includes at least one of the following: using the communication module to send a generated deletion instruction for the target configuration file to the embedded user identification module to trigger the embedded user identification module to perform a deletion operation on the target configuration file; using the communication module to convert the generated deletion instruction for the target configuration file into an application protocol data unit instruction and send it to the embedded user identification module to trigger the embedded user identification module to perform a deletion operation on the target configuration file; using the communication module to send a generated modification instruction for the target configuration file to the embedded user identification module to trigger the embedded user identification module to perform a modification operation on the target configuration file.
[0070] In this embodiment, the communication module adaptively selects an appropriate instruction interaction method based on the type of the target chip and the type of operation to be performed. When the target chip is a baseband chip integrated within the communication module and possessing advanced instruction parsing capabilities, the communication module directly sends the generated deletion instruction through its internal interface. When the target chip is an independently packaged embedded user identity module chip that conforms to the smart card communication standard, the communication module converts the deletion instruction into an application protocol data unit instruction before sending it. When configuration modification operations other than deletion are required, such as modifying configuration file access permissions or updating parameter settings, the communication module generates and sends corresponding change instructions. The functions of the change instructions include, but are not limited to, content modification, encryption settings, and permission adjustments, where permission adjustments include changing access permission levels or authentication methods.
[0071] For example, when modifying the access permissions of the embedded user identity module configuration file, the communication module constructs a specific application protocol data unit instruction sequence. After completing identity authentication through a verification command, it uses a status setting command to change the configuration file status from active to read-only. This adaptive instruction interaction mechanism based on the target chip type ensures compatibility with different hardware architectures and implements an operational system including target deletion, content modification, and permission updates.
[0072] In this embodiment of the disclosure, the operation 210 described above, which uses the communication module to control the target chip to perform a target editing operation on the target configuration file based on the editing instructions, may further include: sending a deletion instruction containing an identifier of the target configuration file and operation parameters for indicating the deletion operation to the embedded user identification module, wherein the operation parameters are used to instruct the embedded user identification module to perform the deletion action, and the identifier is used to indicate the target configuration file to be deleted in the embedded user identification module; and triggering the embedded user identification module to perform the deletion operation on the target configuration file using the operation parameters and the identifier.
[0073] In this embodiment, targeted operations on specific configuration files are achieved by specifying a target configuration file identifier, thus preventing the accidental deletion of other configuration files. The identifier can be a configuration file's serial number, index value, or a specific name. The operation parameters include the specific execution method of the deletion command and security verification information. The communication module verifies the validity of the identifier before sending the command, ensuring that the operation is performed only on existing configuration files.
[0074] For example, when it is necessary to delete a specific configuration file in the embedded user identity module, the communication module first obtains the International Mobile Subscriber Identity (IMSI) of the target configuration file as an identifier, and then constructs an instruction containing this identifier and deletion operation parameters. Specifically, the communication module sends a deletion command to the embedded user identity module via an Application Protocol Data Unit (IPU) instruction, which includes the following information: the instruction category byte is set to "telecom application", the instruction code is set to "delete command", parameter 1 is set to "configuration file activation status check", parameter 2 is set to "force deletion mode", and the data field contains the IMU of the configuration file to be deleted. After receiving the instruction, the embedded user identity module first verifies that the configuration file corresponding to the IMU exists and is in an inactive state, then performs the deletion operation and returns the operation result status word.
[0075] In this embodiment, precise deletion of a single configuration file is achieved by sending an instruction containing a specific configuration file identifier and deletion operation parameters to the embedded user identification module. The identifier is used to locate the target to be deleted, and the operation parameters define the deletion execution method, realizing precise deletion capabilities at the configuration file level. The identifier mechanism avoids accidental deletion of other configuration files, ensuring targeted operation. Combined with the operation parameters, the deletion process is controllable, maintaining the security of other data within the system while ensuring operational accuracy.
[0076] In this embodiment of the disclosure, a response instruction is received from the embedded user identification module. The response instruction includes an execution status parameter representing the deletion operation. The execution status parameter is used to indicate whether the deletion operation is successful or failed. In response to the execution status parameter indicating deletion failure, the deletion instruction is resent. In response to the number of deletion failures exceeding a preset failure threshold, the deletion process is terminated and a status signal indicating deletion failure is generated. In response to the execution status parameter indicating deletion success, a status signal indicating deletion success is generated.
[0077] In this embodiment, the communication module obtains execution status parameters by parsing the status word in the response instruction returned by the embedded user identification module. The status word contains multiple bytes of status parameters to accurately characterize the operation result. The retry mechanism can also employ a progressive delay strategy, appropriately increasing the waiting time after each failed retry. The preset failure threshold is set according to system reliability requirements. The generated status signal is encoded using a specific level sequence on a dedicated pin to ensure that the basic input / output system can accurately identify the operation result.
[0078] For example, Figure 3 This illustration shows a schematic diagram of the deletion level display of the embedded user identity module configuration file according to an embodiment of the present disclosure.
[0079] like Figure 3 In the diagram, L represents a low-level pulse signal. In digital circuits, L represents a lower voltage value, typically indicating a logic "0" or "off" state, corresponding to "deletion failed" or "idle / waiting" states. H represents a high-level pulse signal, representing a higher voltage value in contrast to the low level, typically indicating a logic "1" or "on" state, i.e., a "deletion successful" sign. T represents time. Figure 4 The value T = 1.0s can be used to represent the duration of a high-level pulse signal of 1.0 seconds.
[0080] After the communication module sends a deletion command, it continuously monitors the operation result: if a successful deletion response is received, a high-level pulse signal for 1 second is output through the Pin60 pin; if a deletion failure response is received and the number of retries does not exceed 3, the deletion process is re-executed; if the number of retries exceeds 3 and still fails, the Pin60 pin is kept at a low level for 25 seconds, and the aforementioned 1-second high pulse will not occur, thereby feeding back the deletion failure status to the basic input / output system.
[0081] In this embodiment, a closed-loop control mechanism including status monitoring, failure retries, and process termination is established by receiving a response command containing execution status parameters returned by the embedded user identification module. When a deletion failure is detected, a limited number of retries are initiated. After reaching a preset threshold, the process terminates and a corresponding status signal is generated. This status feedback mechanism ensures operational reliability and prevents the system from falling into an infinite retry loop. The retry mechanism improves the fault tolerance capability for temporary failures, while the generation of status signals provides clear feedback on the operation results to the upper-level system, significantly improving the system's stability and maintainability.
[0082] In this embodiment of the disclosure, in response to a status signal indicating successful deletion, a first level pulse lasting for a first preset duration is output to the guidance system through the target physical interface on the communication module; in response to a status signal indicating failed deletion, the target physical interface is maintained at a second level pulse for a second preset duration, wherein the first level pulse and the second level pulse are different.
[0083] In this embodiment, the state feedback mechanism distinguishes the operation result by the duration and type of the level pulse. The first level pulse is a high-level pulse, and the second level pulse is a low-level pulse; this significant difference in level states ensures the reliability of signal recognition.
[0084] It should be noted that the target physical interface and the target physical interface for receiving the trigger signal can be the same physical interface, achieving bidirectional communication through time-division multiplexing; or they can be different physical interfaces, dedicated to signal reception and status feedback respectively. When using the same physical interface, after completing the reception of the trigger signal, the communication module switches the interface from input mode to output mode for status feedback.
[0085] In this embodiment, a high-level pulse of a first preset duration is output when deletion is successful, and a low-level pulse is maintained for a second preset duration when deletion fails. The operation result is distinguished by a combination of pulse type and duration encoding. This hardware signal feedback mechanism improves the system's reliability and operability, providing accurate status information for subsequent processing.
[0086] In this embodiment of the disclosure, based on the identifier of the target configuration file to be deleted, the network attachment status information associated with the target configuration file to be deleted is queried in the local cache of the communication module; in response to the query finding that the target configuration file to be deleted is in a network attachment state, a network separation instruction is generated and sent to the embedded user identification module so that the target configuration file to be deleted is deregistered from the operator network.
[0087] In this embodiment, a pre-check mechanism ensures the security of the configuration file deletion operation. The communication module maintains a local cache containing network status information for each configuration file, which records key parameters such as the current network registration status and session information of the configuration file. Before initiating a deletion operation, the cache is queried based on the unique identifier of the target configuration file, such as its International Mobile Subscriber Identity (IMSI) or Integrated Circuit Card Identification (ICC) code, to confirm its network attachment status. If the target configuration file is detected to be in a network connected state, a network decoupling process is initiated first, sending a decoupling command to the embedded subscriber identification module to terminate its connection session with the mobile network. The deletion operation is then performed after the network deregistration is completed.
[0088] It should be noted that the pre-deletion check mechanism queries the network attachment status in the local cache based on the identifier before deleting the configuration file. If the target configuration file is in a network connected state, a network disconnection command is sent first to deregister it from the carrier network. The deletion operation is then performed after the network disconnection is completed. This effectively avoids network anomalies that may be caused by directly deleting a configuration file in an active state, ensuring that the deletion operation does not affect the normal operation of other functions of the device.
[0089] The following combination Figure 4 The control method of the electronic device is described in another specific embodiment.
[0090] Figure 4 A flowchart illustrating a control method for deleting an embedded user identity module configuration file according to an embodiment of the present disclosure is shown.
[0091] like Figure 4 As shown, the control flow for deleting the embedded user identity module configuration file begins with the Basic Input / Output System (C) sending a trigger signal by outputting a continuous high-level signal through a dedicated control pin after system initialization. The Cellular Communication Module (D) monitors the level of this pin and starts a timing mechanism after detecting a low-to-high transition, determining the validity of the trigger signal by monitoring the duration of the high level. After confirming the signal's validity, the Cellular Communication Module verifies whether the current communication card slot is the slot for the embedded user identity module. If not, it performs a card slot switching operation, then sends a deletion command to the embedded user identity module and executes the configuration file deletion operation.
[0092] The cellular communication module controls a retry mechanism based on the deletion result: if deletion fails, it returns to retry; if deletion succeeds or the retry limit is reached, the process ends. This process, through a collaborative mechanism of initiating commands from the basic input / output system and judging and executing deletion by the cellular communication module, ensures the reliability and integrity of the configuration file deletion operation.
[0093] The following combination Figure 5 This section describes the level output of the basic input / output system and the input level changes of the cellular communication module in the above embodiments.
[0094] Figure 5 The diagram illustrates a level change schematic of a control method for deleting an embedded user identity module configuration file according to an embodiment of the present disclosure.
[0095] like Figure 5The basic input / output system C is used to output a high-level input signal H1 for at least 30 seconds via a dedicated pin after system initialization, serving as a trigger signal for deletion operations. The cellular communication module D is used to monitor the level status of the dedicated pin and, upon detecting a transition from low input level L1 to high input level H1, initiates a timing mechanism to determine whether the duration of the high input level H1 reaches more than 1 second. If it does not, it is considered an invalid trigger. If it does, it further verifies whether the current communication card slot is the slot where the embedded user identity module is located. If it does not, it performs a card slot switching operation.
[0096] Cellular communication module D sends a deletion command to the embedded user identity module and performs a configuration file deletion operation. After deletion, it controls the level state of the output pin according to the deletion result: if the deletion is successful, it outputs a high-level signal H2 for a duration of 2 seconds; if there is no target file or the deletion fails, it maintains a low-level output L2.
[0097] Throughout the process, the cellular communication module D completes deletion and status feedback within 25 seconds after being triggered, thereby realizing a highly reliable collaborative control mechanism initiated by the basic input / output system and judged and executed by the cellular communication module.
[0098] Based on the control method of the above-described electronic device, this disclosure also provides an electronic device. The following will be combined with... Figure 6 Provide a detailed description of the electronic device.
[0099] Figure 6 A block diagram of an electronic device according to an embodiment of the present disclosure is shown schematically.
[0100] like Figure 6 As shown, the electronic device 600 of this embodiment includes a boot system 610, a communication module 620, and a target chip 630.
[0101] The boot system 610 is used to provide a configuration interface during the device startup phase and to generate a target trigger signal in response to user operations.
[0102] The communication module 620 is communicatively connected to both the boot system 610 and the target chip 630, and is used to: receive a target trigger signal from the boot system 610 via a target physical interface; generate editing instructions for the target configuration file in response to the target trigger signal; and control the target chip 630 to perform target editing operations on the target configuration file based on the editing instructions. The target chip 630 is used to store the target configuration file and perform corresponding operations in response to the editing instructions from the communication module 620.
[0103] In this embodiment of the disclosure, the communication module 620 is specifically used to monitor the voltage level and duration of the target pins in the target physical interface, and to generate corresponding editing instructions based on different combinations of voltage level parameters. The editing instructions include deletion instructions or modification instructions.
[0104] The communication module 620 is also used to receive the response command returned by the target chip 630 after the target chip 630 performs the operation; if the operation fails and the number of retries does not exceed the preset threshold, the command is resent; if it succeeds or exceeds the threshold, the corresponding status signal is fed back to the boot system 610 through the target physical interface. The status signal is encoded by level pulses of specific duration and type.
[0105] In addition, before generating a deletion command for the target configuration file, the communication module 620 will query the network attachment status in the local cache based on the identifier of the configuration file. If the configuration file is found to be in a network attachment state, a network disconnection command will be generated and sent to the target chip 630 first to make it deregister from the operator network, and then the deletion operation will be performed.
[0106] The target chip 630 is specifically an embedded user identification module chip, used to store the embedded user identity module configuration file, and responds to the application protocol data unit instructions forwarded by the communication module 620 to perform target deletion, modification or update operations on the configuration file.
[0107] For example, the boot system 610 may include, but is not limited to, a basic input / output system or a unified extensible firmware interface, used for hardware initialization and providing a system configuration interface before the operating system starts. The communication module 620 may include, but is not limited to, a cellular communication module, a Wi-Fi communication module, or a Bluetooth communication module, supporting signal interaction with the boot system via dedicated hardware pins and communication with the target chip via application protocol data unit instructions. The target chip 630 may include, but is not limited to, an embedded user identity module chip, a baseband chip integrated within the communication module, or a security chip in the device, used to store and manage the device's network configuration files and security credentials.
[0108] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus described in the above embodiments; or it may exist independently and not assembled into the device / apparatus. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure. The computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0109] Those skilled in the art will understand that the features described in the various embodiments of this disclosure can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments of this disclosure can be combined and / or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.
[0110] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.
Claims
1. A method for controlling an electronic device, comprising: generating, by a communication module of the electronic device, an edit instruction for a target configuration file in response to the communication module obtaining a target trigger signal generated from a booting system of the electronic device through a target physical interface between the booting system and the communication module, the target physical interface being available for signal transmission between the booting system and the communication module; controlling, by the communication module, a target chip to perform a target edit operation on the target configuration file based on the edit instruction, the target chip being a chip storing the target configuration file.
2. The method of claim 1, wherein, the target trigger signal is generated by the booting system in response to a configuration operation on a target configuration option of the booting system, the target configuration option being used to trigger a corresponding configuration performed on the target configuration file; and / or the target trigger signal is sent by the booting system to the communication module at a first time point, the first time point being later than a second time point at which the communication module completes initialization or later than a third time point at which the target chip completes initialization, and the first time point being earlier than a time point at which the booting system guides an operating system of the electronic device to start. generating, by the communication module, the edit instruction for the target configuration file comprises:
3. The method of claim 1 or 2, wherein, monitoring a level parameter of a target pin in the target physical interface; generating a delete instruction or a change instruction for the target configuration file based on the level parameter. generating, by the communication module, the edit instruction for the target configuration file comprises:
4. The method of claim 1 or 2, wherein, monitoring a level state of a target pin in the target physical interface; in a case where the level state changes from a first level to a second level and the duration is greater than a first duration, determining that a valid target trigger signal is received, and generating a delete instruction for the target configuration file. 5.The method of claim 4, further comprising at least one of: in a case where the level state changes from the first level to the second level but the duration is less than the first duration, ignoring the received trigger signal; in a case where the level state does not change, not performing a response action; or in a case where the communication module does not currently establish a target communication link with the target chip, establishing the target communication link between the communication module and the target chip, the target communication link being used for the communication module to transmit the delete instruction to the target chip. 6.The method of claim 1, the target chip being an embedded subscriber identity module of the electronic device, and the controlling, by the communication module, the target chip to perform the target edit operation on the target configuration file based on the edit instruction comprising at least one of: sending, by the communication module, the generated delete instruction for the target configuration file to the embedded subscriber identity module to trigger the embedded subscriber identity module to perform a delete operation on the target configuration file; converting, by the communication module, the generated delete instruction for the target configuration file into an application protocol data unit instruction and sending the application protocol data unit instruction to the embedded subscriber identity module to trigger the embedded subscriber identity module to perform the delete operation on the target configuration file. The generated change instruction for the target configuration file is sent to the embedded subscriber identification module by using the communication module to trigger the embedded subscriber identification module to perform the change operation on the target configuration file.
7. The method of claim 1, wherein the target chip is an embedded subscriber identification module of an electronic device, and the controlling the target chip to perform the target editing operation on the target configuration file based on the editing instruction by using the communication module comprises: sending a deletion instruction containing an identifier of the target configuration file and an operation parameter for indicating a deletion operation to the embedded subscriber identification module, the operation parameter being used to instruct the embedded subscriber identification module to perform a deletion action, and the identifier being used to indicate the target configuration file to be deleted in the embedded subscriber identification module; triggering the embedded subscriber identification module to perform the deletion operation on the target configuration file by using the operation parameter and the identifier.
8. The method of claim 7, further comprising: receiving a response instruction from the embedded subscriber identification module, the response instruction containing an execution state parameter representing the deletion operation, the execution state parameter being used to represent whether the deletion operation is successful or failed; in response to the execution state parameter representing the deletion failure, resending the deletion instruction; or, in response to the execution state parameter representing the deletion success, generating a state signal representing the deletion success, and / or outputting a first level pulse of a first preset duration through the target physical interface to the booting system; or, in response to the number of deletion failures exceeding a preset failure threshold, terminating the deletion process and generating a state signal representing the deletion failure, or outputting a second level pulse of a second preset duration through the target physical interface, the second level pulse being different from the first level pulse.
9. The method of claim 7, further comprising: querying network attachment state information associated with the target configuration file to be deleted in a self cache of the communication module based on the identifier; in response to querying that the target configuration file to be deleted is in a network attachment state, generating and sending a network separation instruction to the embedded subscriber identification module to make the target configuration file to be deleted log off from an operator network.
10. An electronic device, comprising: a booting system configured to generate a target trigger signal; a communication module in communication connection with the booting system through a target physical interface, the target physical interface being capable of being used for signal transmission between the booting system and the communication module; the communication module being configured to generate an editing instruction for a target configuration file in response to obtaining the target trigger signal generated from the booting system through the target physical interface, and control a target chip to perform a target editing operation on the target configuration file based on the editing instruction; the target chip being connected with the communication module and being used to store the target configuration file.