A method, device and storage medium for managing a local configuration assistant
By disabling the local configuration assistant during eSIM component initialization, the problem of logical channel occupancy during eSIM terminal startup was resolved, enabling normal communication between the application processor and eSIM and improving the terminal's functional scalability.
Patent Information
- Application Number
- CN202411656122.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2044-11-19
AI Technical Summary
When a traditional eSIM terminal is powered on, the local configuration assistant occupies the logical channel, preventing the application processor from establishing a channel with the eSIM and limiting the terminal's functional scalability.
By constructing a shutdown message during the eSIM component initialization process, the local configuration assistant is disabled using the messaging interface. The modem parses and executes the disable operation, releasing the logical channel, and the application processor can establish a logical channel with the eSIM.
It enables the application processor to manage and operate eSIM, improving the terminal's functional scalability.
Smart Images

Figure CN119767287B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, and in particular to a method and device for managing a local configuration assistant and a storage medium. BACKGROUND
[0002] Traditional SIM cards have physical limitations and user demand limitations for terminal convenience, and eSIM is a programmable electronic SIM card that can achieve network connection without a physical card, supports multi-operator selection and remote management. Compared with traditional SIM cards, eSIM has become the choice of more users.
[0003] eSIM does not have a file system, network key parameters, auxiliary security domains, applications, and other data pre-installed at the factory, and only when the Internet of Things terminal is deployed and used to log in, data is downloaded and activated through the local configuration assistant, so that the Internet of Things terminal has the ability to log in.
[0004] Currently, when the terminal is turned on, the local configuration assistant of the modem is automatically started and a logical channel is established with the application program in the eSIM. However, because the local configuration assistant occupies available logical channels, other ports cannot use the logical channels for data download operations, and the functional expandability of the terminal is limited. SUMMARY
[0005] To solve the above technical problems, the present application provides a method and device for managing a local configuration assistant and a storage medium.
[0006] The technical solutions provided in the present application are described as follows:
[0007] The first aspect of the present application provides a method for managing a local configuration assistant, comprising:
[0008] In the initialization process of the eSIM component, a shutdown message is constructed through a message passing interface, and the shutdown message contains an instruction for disabling the local configuration assistant;
[0009] The message passing interface is controlled to send the shutdown message to the modem;
[0010] The shutdown message is parsed by the modem, and an operation of disabling the local configuration assistant is performed according to the instruction.
[0011] Optionally, the operation of disabling the local configuration assistant according to the instruction comprises:
[0012] a macro is called according to the instruction, and a disabling code of a target function module is set according to the macro, the target function module including the local configuration assistant, local configuration file download support, user identification support, local download service description support, and local user interface support.
[0013] compiling and executing the disabling code.
[0014] Optionally, after the compiling and executing the disabling code, the method further comprises:
[0015] generating disabling notification information of the target function module.
[0016] Optionally, after the operation of disabling the local configuration assistant according to the instruction, the method further comprises:
[0017] receiving, by the application processor, an operation result returned by the modem, and judging whether the local configuration assistant is successfully disabled according to the operation result;
[0018] If yes, activating an eSIM logical channel, and performing an eSIM configuration operation.
[0019] Optionally, after the judging whether the local configuration assistant is successfully disabled according to the operation result, the method further comprises:
[0020] If no, recording an error log, and controlling the message passing interface to send the shutdown message to the modem again.
[0021] Optionally, after the recording the error log, and controlling the message passing interface to send the shutdown message to the modem again, the method further comprises:
[0022] determining an error type causing the disabling failure of the local configuration assistant according to the error log;
[0023] When the error type is a temporary error, controlling the message passing interface to send the shutdown message to the modem again.
[0024] Optionally, the constructing, by the message passing interface, the shutdown message in the initialization process of the eSIM component comprises:
[0025] entering a preset engineering mode in the initialization process of the eSIM component;
[0026] constructing, in the preset engineering mode, the shutdown message by the message passing interface.
[0027] The second aspect of the present application provides a local configuration assistant management device, the device comprising:
[0028] a constructing unit configured to construct, by a message passing interface, a shutdown message in an initialization process of an eSIM component, the shutdown message containing an instruction for disabling a local configuration assistant;
[0029] a sending unit configured to control the message passing interface to send the shutdown message to the modem;
[0030] an executing unit configured to parse the shutdown message by the modem and execute an operation of disabling the local configuration assistant according to the instruction.
[0031] Optionally, the executing unit is specifically configured to:
[0032] invoke a macro according to the instruction, and set a disabling code of a target function module according to the macro, the target function module including the local configuration assistant, local configuration file download support, user identification support, local download service description support and local user interface support;
[0033] compile and execute the disabling code.
[0034] Optionally, the executing unit is specifically configured to:
[0035] generate disabling notification information of the target function module.
[0036] Optionally, the method further includes a judging unit configured to:
[0037] receive an operation result returned by the modem through the application processor, and judge whether the local configuration assistant is successfully disabled according to the operation result;
[0038] if yes, activate an eSIM logical channel and execute an eSIM configuration operation.
[0039] Optionally, the judging unit is specifically configured to:
[0040] if no, record an error log, and control the message passing interface to send the shutdown message to the modem again.
[0041] Optionally, the method further includes a retrying unit configured to:
[0042] determine an error type causing the disabling of the local configuration assistant to fail according to the error log;
[0043] when the error type is a temporary error, control the message passing interface to send the shutdown message to the modem again.
[0044] Optionally, the method further includes a constructing unit configured to:
[0045] enter a preset engineering mode in an initialization process of the eSIM component;
[0046] construct the shutdown message through the message passing interface in the preset engineering mode.
[0047] The third aspect of the present application provides a device for managing a local configuration assistant, the device comprising:
[0048] a processor, a memory, an input / output unit and a bus;
[0049] the processor is connected with the memory, the input / output unit and the bus;
[0050] the memory stores a program, and the processor invokes the program to execute the method of the first aspect and any optional aspect of the first aspect.
[0051] The fourth aspect of the present application provides a computer readable storage medium, which stores a program, and the program executes the method of the first aspect and any optional aspect of the first aspect when executed on a computer.
[0052] From the above technical solutions, the present application has the following advantages:
[0053] The application processor of the terminal constructs a closing message for disabling the local configuration assistant through a message passing interface, and the modem receives the closing message, parses and executes the disabling operation for closing the local configuration assistant. The logical channel occupied by the local configuration assistant is released, and the application processor can establish a logical channel with the eSIM, thereby realizing the management and operation of the application processor on the eSIM and improving the expansibility of the terminal function. BRIEF DESCRIPTION OF DRAWINGS
[0054] In order to more clearly illustrate the technical solutions in the present application, the drawings needed in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0055] Figure 1 An embodiment flowchart of a method for managing a local configuration assistant provided by the present application is shown in the figure.
[0056] Figure 2 An embodiment flowchart of a method for managing a local configuration assistant provided by the present application is shown in the figure.
[0057] Figure 3 An embodiment flowchart of a method for managing a local configuration assistant provided by the present application is shown in the figure.
[0058] Figure 4 An embodiment flowchart of a method for managing a local configuration assistant provided by the present application is shown in the figure.
[0059] Figure 5 An embodiment flow chart for judging whether the local configuration assistant is disabled successfully in the method for managing the local configuration assistant provided by the present application is provided;
[0060] Figure 6 An embodiment flow chart for processing temporary errors in the method for managing the local configuration assistant provided by the present application is provided;
[0061] Figure 7 An embodiment flow chart for the message passing interface architecture in the method for managing the local configuration assistant provided by the present application is provided;
[0062] Figure 8 An embodiment structure diagram of the apparatus for managing the local configuration assistant provided by the present application is provided;
[0063] Figure 9 Another embodiment structure diagram of the apparatus for managing the local configuration assistant provided by the present application is provided. DETAILED DESCRIPTION
[0064] It should be noted that the method, apparatus and storage medium for managing the local configuration assistant provided by the present application can be applied to a terminal, a system or a server. For example, the terminal can be a smart phone, a computer, a tablet computer, a smart television, a smart watch, a portable computer terminal or a desktop computer. For convenience of description, the terminal is taken as an example in the present application.
[0065] Please refer to Figure 1 The present application first provides an embodiment of a method for managing the local configuration assistant, which comprises:
[0066] S101. In the initialization process of the eSIM component, a shutdown message is constructed through a message passing interface, and the shutdown message contains an instruction for disabling the local configuration assistant;
[0067] Application Processor (AP) is the core computing unit of the intelligent terminal, responsible for operating system, processing application and managing terminal. Application processor establishes connection with eSIM, and can perform real-time data exchange to realize efficient data communication. However, when the terminal is powered on, the local configuration assistant in the Android system is opened by default, at this time the local configuration assistant will automatically establish a logical channel with the application in the eSIM. The local configuration assistant (LPA) is responsible for managing and manipulating the configuration file of the eSIM in the terminal system. The logical channel is a pipeline for communication between eSIM and port, and each logical channel will use certain system resources such as memory and processor time when the port is occupied. If the logical channel resources of eSIM are all occupied at this time, the application processor cannot establish a logical channel with eSIM and perform eSIM related operations. If the local configuration assistant is disabled when the terminal is started, the local configuration assistant cannot occupy the eSIM logical channel, and the application processor can obtain available eSIM logical channel resources.
[0068] When the eSIM component is initialized, the application processor needs to construct a close message containing instructions for disabling the local configuration assistant through the message passing interface. The message passing interface is a customized QMI interface (Qualcomm MSM Interface), and the QMI protocol is set in the message passing interface. The QMI protocol constructs the close message according to the related information of disabling the local configuration assistant, and provides path information for transmitting the close message.
[0069] S102, control the message passing interface to send the close message to the modem;
[0070] The modem is a component responsible for managing wireless communication resources, and can directly interact with eSIM to read and manage data on eSIM. The application manager cannot directly communicate with the modem, and needs to transmit data through the message passing interface architecture in the message passing interface. The message passing interface architecture is a customized QMI interface (Qualcomm MSM Interface) architecture, which contains the rules for using the message passing interface and the sending function of the close message. When the close message is encoded, the control message passing interface passes the close message as a parameter to the sending function, and sets other necessary parameters such as target service ID and client ID. Finally, the sending function is called to send the close message to the modem.
[0071] S103, parse the close message through the modem, and execute the operation of disabling the local configuration assistant according to the instructions.
[0072] The modem first receives the close message through the message passing interface. The received close message is sent to the protocol layer of the modem for parsing. The modem identifies the message header of the close message, thereby determining the type, length, priority and other key information of the close message. After identifying the message header of the close message, the modem further extracts the instructions and parameters therein. The instructions instruct the modem to perform specific operations, including the instruction to perform the operation of disabling the local configuration assistant. The parameters are used to specify the details of the operation of disabling the local configuration assistant, such as the identifier of the function to be closed, the timeout time of the operation, etc. According to the parsed instructions and parameters, the modem performs the corresponding operation of disabling the local configuration assistant, thereby releasing the logical channel resource.
[0073] In this embodiment, the application processor of the terminal constructs a close message for disabling the local configuration assistant through the message passing interface. After receiving the close message, the modem parses and executes the disabling operation of closing the local configuration assistant. The logical channel occupied by the local configuration assistant is released, and the application processor can establish a logical channel with the eSIM, thereby realizing the management and operation of the eSIM by the application processor and improving the expansibility of the terminal function.
[0074] In some specific embodiments, the preset engineering mode needs to be started before the application processor calls the message passing interface. Please refer to Figure 2 , Figure 2 For an embodiment of starting the preset engineering mode, the embodiment includes:
[0075] S201, in the initialization process of the eSIM component, enter the preset engineering mode;
[0076] The preset engineering mode is an APK engineering mode, which is an engineering mode based on the application package of the Android platform, and is used for the debugging and testing of the Android terminal. The application processor can obtain higher system permissions by starting the preset engineering mode, thereby using the message passing interface. When the terminal starts, the application processor detects specific startup parameters or hardware signals, loads the related programs in the APK file, and performs APK engineering mode initialization.
[0077] S202, construct a close message through the message passing interface in the preset engineering mode.
[0078] When the APK engineering mode program is started, the application processor can call the message passing interface in the APK engineering mode. The QMI protocol in the message passing interface determines the shutdown message as a Client Request type, and then takes the message type and message ID of the shutdown message as the message header, takes the related parameters and data for disabling the local configuration assistant as the message body, constructs the shutdown message containing the instruction for disabling the local configuration assistant, and finally encodes according to the coding rules of the QMI protocol, including adding control flags, length data, etc. in the shutdown message.
[0079] In this embodiment, the application processor obtains system-level access rights and debugging and testing conditions by starting the preset engineering mode, so as to call the message passing interface and efficiently construct the shutdown message containing the instruction for disabling the local configuration assistant. It is ensured that the application processor can successfully call the message passing interface, helping the application processor to quickly identify and solve eSIM-related problems, and optimizing the communication performance of the terminal.
[0080] The application also provides a preferred embodiment, please refer to Figure 3 , Figure 3 The application provides a message interaction schematic diagram of an embodiment of the method for managing the local configuration assistant, which shows the information interaction process between the application processor, the engineering mode APK, the message passing interface, the modem, the local configuration assistant and the eSIM. The following will be described in detail in the disabling phase and the logical channel establishing phase:
[0081] 1. Disabling phase: when the terminal is powered on, the application processor starts the engineering mode APK to call the message passing interface, and sends a shutdown message for disabling the local configuration assistant to the modem through the message passing interface. After receiving the shutdown message, the modem performs a disabling operation on the local configuration assistant. After the local configuration assistant is disabled, the modem returns the result of the disabling operation on the local configuration assistant to the application processor through the message passing interface. The message passing interface is responsible for passing the operation result of the modem to the engineering mode APK, and the engineering mode APK reports the disabling state of the local configuration assistant to the application processor.
[0082] 2. Logical channel establishing phase: after the local configuration assistant is disabled, the application processor attempts to establish a logical channel with the eSIM. When the establishment is successful, the eSIM returns the logical channel to the application processor, and the application processor performs an eSIM configuration operation using the logical channel.
[0083] In the above step S103, the application processor performs the operation of disabling the local configuration assistant according to the instruction. Please refer to Figure 4 , Figure 4 for an embodiment of calling the macro to perform the disabling operation, which comprises:
[0084] S401、According to the instruction, call the macro, and set the disable code of the target function module according to the macro, the target function module including local configuration assistant, local configuration file download support, user identification support, local download service description support and local user interface support;
[0085] The macro is a preprocessor instruction expanded before compilation, used for code reuse, code generation, conditional compilation, etc., which can simplify complex code structure and improve code readability. After the modem parses the instruction, it will call a macro for setting the disable code of the target function module, for example, call a macro defined as FETURE_XGD_DISABLE_LPDD, which sets the target function module, including local configuration assistant, local configuration file download support, user identification support, local download service description support and local user interface support, corresponding to the variables modem_lpa_support, lpdd_support, luid_support, ldsd_support, luie_support respectively, and the macro sets these variables to FALSE.
[0086] S402、Compile and execute the disable code.
[0087] The modem compiles the content in the macro to generate an executable file for execution. Since modem_lpa_support, lpdd_support, luid_support, ldsd_support, luie_support are set to FALSE, the function module of the local configuration assistant is disabled, and the local configuration assistant cannot use the eSIM logical channel.
[0088] In some specific embodiments, after compiling and executing the disable code, generate the disable notification information of the target function module, which will be described in detail below:
[0089] The macro FETURE_XGD_DISABLE_LPDD called by the modem is set with UIM_MSG_HIGH_0("FETURE_XGD_DISABLE_LPDD"), and after the modem compiles and executes the disable operation, UIM_MSG_HIGH_0("FETURE_XGD_DISABLE_LPDD") will make the modem's log system record a disable notification information, indicating that the FETURE_XGD_DISABLE_LPDD macro has been activated, and the function module of the local configuration assistant has been disabled.
[0090] In this embodiment, the target function modules of the local configuration assistant, the local configuration file download support, the user identification support, the local download service description support and the local user interface support are set by calling the macro in the pre-compile stage of the pre-processing phase, and the related variables modem_lpa_support, lpdd_support, luid_support, ldsd_support and luie_support are set to FALSE, so as to disable these function modules. After the disabling operation is executed, a disabling notification information is recorded in the log system of the modem. The calling of the macro realizes the flexible control of the target function modules of the local configuration assistant, and improves the effectiveness of the disabling operation. The disabling notification information in the log system enables the user to check the state change of the function modules, which is beneficial to the troubleshooting and system maintenance, and improves the terminal performance.
[0091] In some specific embodiments, after the operation of disabling the local configuration assistant is executed, the application processor further judges whether the local configuration assistant is successfully disabled. Please refer to Figure 5 , Figure 5 For judging whether the local configuration assistant is successfully disabled, one embodiment includes the following steps:
[0092] S501, receiving the operation result returned by the modem through the application processor, and judging whether the local configuration assistant is successfully disabled according to the operation result;
[0093] After the modem executes the disabling operation, the operation result is returned through the message passing interface architecture of the message passing interface. The operation result can be a parameter indicating the success or failure of the operation of disabling the local configuration assistant. For example, if the operation result is “the local configuration assistant is successfully disabled”, the application processor confirms that the local configuration assistant has been disabled, and can execute the subsequent operation. If the operation result is “the local configuration assistant is failed to be disabled”, the application processor will take error processing.
[0094] S502, if yes, activating the eSIM logical channel, and executing the eSIM configuration operation.
[0095] After confirming that the local configuration assistant has been disabled, the function of establishing the eSIM logical channel is executed through the source code of the Android system, so that the application processor obtains the eSIM logical channel, for example, the function of “openChannel” and the like. The “openChannel” is responsible for requesting the connection with the eSIM service. When the eSIM logical channel is activated by the application processor, the eSIM configuration operation is started, including downloading the SIM configuration file, updating the operator information of the eSIM and activating the specific service and the like.
[0096] In some specific embodiments, after judging whether the local configuration assistant is disabled successfully according to the operation result, other operations are further performed, which are described below:
[0097] S503, if not, an error log is recorded, and the message passing interface is controlled again to send a shutdown message to the modem.
[0098] If the operation of disabling the local configuration assistant fails this time, it is considered that there is an internal running error of the modem or a signal interruption problem in the transmission process, and at this time, the application processor records an error log, and then the application processor sends a shutdown message for disabling the local configuration assistant to the modem again through the message passing interface architecture in the message passing interface, so that the modem executes the operation of disabling the local configuration assistant again, and tries to solve the problem by retrying the operation.
[0099] In this embodiment, the application processor judges whether the local configuration assistant is disabled successfully by receiving the operation result returned by the modem, and if successful, activates the eSIM logical channel and performs the eSIM configuration operation, and if failed, records an error log and retries the disabling operation, so as to ensure that the application processor can effectively obtain and use the eSIM logical channel, improve the reliability and stability of the whole system, and effectively deal with possible operation failure conditions through the retry mechanism.
[0100] In step S503 described above, after the operation of disabling the local configuration assistant fails, the application processor records an error log. According to the error type recorded in the error log, the application processor further performs further operations. Please refer to Figure 6 , Figure 6 An embodiment of the method for managing the local configuration assistant provided in the present application processes temporary errors, which includes the following steps:
[0101] S601, determining the error type causing the failure of disabling the local configuration assistant according to the error log;
[0102] When the operation of disabling the local configuration fails, the error log records the time, reason, number of failures and terminal state when the operation fails, so that the application processor can determine the error type of the failure of disabling the local configuration assistant from the error log. The error log is set to be readable, and if it is a problem that the system itself cannot solve, such as hardware failure, the user can understand the failure reason and further process the failure.
[0103] S602, when the error type is a temporary error, the message passing interface is controlled again to send a shutdown message to the modem.
[0104] The error types recorded in the error log can be classified into temporary errors and permanent errors. Temporary errors include operation failures caused by network fluctuations, temporary hardware failures, or software conflicts, etc. Temporary errors can be sporadic and can be resolved by themselves or can be resolved by repeated attempts to perform the operation. Permanent errors include operation failures caused by hardware damage, software defects, or irrecoverable configuration errors, which require more complex repair measures, such as replacing hardware, updating software, or resetting the terminal configuration. If the application processor analyzes the error log and determines that the error type that caused the failure of the local configuration assistant to be disabled is a temporary error, the application processor will decide to send the shutdown message again to make the modem perform the operation of disabling the local configuration assistant. If the retry fails multiple times, the application processor can take other measures, such as recording a more serious error log, notifying the user, etc.
[0105] In this embodiment, the application processor determines the type of error by analyzing the error log and takes corresponding measures according to the error type. For temporary errors, the application processor retries sending the shutdown message to perform the operation of disabling the local configuration assistant, and handles the encountered problems through the repeated mechanism. This enables the application processor to automatically operate when facing treatable errors, more effectively manages the local configuration assistant, and improves the scalability and management capability of the application processor.
[0106] Please refer to Figure 7 , Figure 7 The flowchart of one embodiment of the message passing interface architecture in the method for managing the local configuration assistant provided in this application is described below in detail by dividing it into the application processor module, the RIL module, the Qualcomm QMI module, the shared memory module, and the Modem module:
[0107] Application processor module: The application processor module starts the APK engineering mode to pass instructions into the message passing interface architecture.
[0108] RIL module: RIL (Radio Interface Layer) is an intermediate layer for the communication message interaction of the application program. The RIL module includes two parts, one is RILJ in the Java layer, and the other is RILD in the C++ layer. RILJ is responsible for maintaining communication with RILD and passing down the shutdown message sent by the application processor starting the APK engineering mode to the modem to the lower layer. RILD will continue to pass down the shutdown message sent by RILJ to the Qualcomm QMI module.
[0109] Qualcomm QMI module: The Qualcomm QMI module is a core part of the message passing interface architecture, and contains source code related to the QMI protocol and modem tasks, such as the qmi_nas.c, qmi_framework.c, and qmi_modem_task.c files, which are used to provide mechanisms for network-related requests and responses, message passing, processing, and communication with the modem.
[0110] Modem module: The modem module includes modulation and demodulation protocols, signal processing, and establishment and maintenance of wireless network connections, and is used to handle all operations related to wireless communication. The modem module can parse a shutdown message from the application processor and perform corresponding operations.
[0111] Shared memory module: The shared memory module is a memory area defined in the message passing interface architecture, which allows two connected modules to directly read and write data, reduces the delay during data transmission, and enables efficient data exchange between the application processor and the modem.
[0112] It should be noted that the modules interact with each other using QMI messages and report buried point messages. The shutdown message sent by the application processor to the modem is a QMI message, and the response message returned by the modem after performing corresponding operations and the message actively reported by the modem are report buried point messages. The QMI message is sent by the application processor to start the APK project mode, and the shutdown message is transmitted from the RIL module, the Qualcomm QMI module, and the shared memory to the modem module in sequence. After the modem performs corresponding operations, the report buried point message is transmitted from the modem module, the shared memory, the Qualcomm QMI module, and the RIL module to the application processor in sequence.
[0113] In this embodiment, the application processor quickly transmits the shutdown message to the modem through the message passing interface architecture and receives feedback from the modem, thereby achieving fast data exchange between the application processor and the modem and precise control and timely management of the eSIM logical channel.
[0114] Please refer to Figure 8 The application also provides a method and device for managing a local configuration assistant, which includes:
[0115] The construction unit 801 is configured to construct a shutdown message through a message passing interface during an initialization process of an eSIM component, and the shutdown message contains an instruction for disabling a local configuration assistant.
[0116] The sending unit 802 is configured to control the message passing interface to send the shutdown message to a modem.
[0117] The execution unit 803 is configured to parse the close message through the modem, and execute the operation of disabling the local configuration assistant according to the instruction.
[0118] Optionally, the execution unit 803 is specifically configured to:
[0119] call the macro according to the instruction, and set the disabling code of the target function module according to the macro, the target function module including the local configuration assistant, the local configuration file download support, the user identification support, the local download service description support and the local user interface support;
[0120] compile and execute the disabling code.
[0121] Optionally, the execution unit 803 is specifically configured to:
[0122] generate the disabling notification information of the target function module.
[0123] Optionally, the management device further comprises a judgment unit 804, which is specifically configured to:
[0124] receive the operation result returned by the modem through the application processor, and judge whether the local configuration assistant is successfully disabled according to the operation result;
[0125] if yes, activate the eSIM logical channel, and execute the eSIM configuration operation.
[0126] Optionally, the judgment unit 804 is specifically configured to:
[0127] if no, record the error log, and control the message passing interface to send the close message to the modem again.
[0128] Optionally, the management device further comprises a retry unit 805, which is specifically configured to:
[0129] determine the error type causing the failure of disabling the local configuration assistant according to the error log;
[0130] when the error type is a temporary error, control the message passing interface to send the close message to the modem again.
[0131] Optionally, the management device further comprises a construction unit 801, which is specifically configured to:
[0132] enter a preset engineering mode in an initialization process of the eSIM component;
[0133] construct the close message through the message passing interface in the preset engineering mode.
[0134] Please refer to Figure 9 The application further provides a management device of a local configuration assistant, comprising:
[0135] The processor 901, the memory 902, the input and output unit 903, and the bus 904 are connected.
[0136] The processor 901 is connected with the memory 902, the input and output unit 903, and the bus 904.
[0137] The memory 902 stores a program, and the processor 901 invokes the program to execute any of the above methods.
[0138] The application also relates to a computer readable storage medium, which stores a program, and when the program runs on a computer, the computer executes any of the above methods.
[0139] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
[0140] In the several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented by other ways. For example, the device embodiments described above are only schematic, and for the convenience of description, the division of the units is only a logical function division, and there can be another division way in actual implementation, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection between the units can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.
[0141] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. According to actual needs, part or all of the units can be selected to achieve the purpose of the embodiment scheme.
[0142] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The above integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0143] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the present application, essentially or in other words, the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the various embodiments of the method of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, read-only memory), a random access memory (RAM, random access memory), a magnetic disk or an optical disk, and various media that can store program codes.
Claims
1. A method of managing a local configuration assistant, the method comprising: The method comprises: In the initialization process of the eSIM component, a shutdown message is constructed through a message passing interface, the shutdown message containing instructions for disabling the local configuration assistant; The message passing interface is controlled to send the shutdown message to a modem; The shutdown message is parsed by the modem, and an operation of disabling the local configuration assistant is performed according to the instructions; After the operation of disabling the local configuration assistant according to the instructions, the method further comprises: An operation result returned by the modem is received by an application processor, and it is judged whether the local configuration assistant is successfully disabled according to the operation result; If yes, an eSIM logical channel is activated, and an eSIM configuration operation is performed; After the operation result is judged according to the operation result, the method further comprises: If no, an error log is recorded, and the message passing interface is controlled to send the shutdown message to the modem again; An error type causing the failure of disabling the local configuration assistant is determined according to the error log; When the error type is a temporary error, the message passing interface is controlled to send the shutdown message to the modem again.
2. The method of claim 1, wherein, The operation of disabling the local configuration assistant according to the instructions comprises: A macro is called according to the instructions, and a disabling code of a target function module is set according to the macro, the target function module including the local configuration assistant, local configuration file download support, user identification support, local download service description support and local user interface support; The disabling code is compiled and executed.
3. The method of claim 2, wherein, After the disabling code is compiled and executed, the method further comprises: Disabling notification information of the target function module is generated.
4. The method according to any one of claims 1 to 3, characterized in that, In the initialization process of the eSIM component, a shutdown message is constructed through a message passing interface, the shutdown message containing instructions for disabling the local configuration assistant; In the initialization process of the eSIM component, a preset engineering mode is entered; The shutdown message is constructed through the message passing interface in the preset engineering mode.
5. A management local configuration assistant apparatus, characterized by, The device comprises: A construction unit is configured to, in the initialization process of the eSIM component, construct a shutdown message through a message passing interface, the shutdown message containing instructions for disabling the local configuration assistant; A sending unit is configured to control the message passing interface to send the shutdown message to a modem; An execution unit is configured to parse the shutdown message by the modem, and perform an operation of disabling the local configuration assistant according to the instructions; A judgment unit is configured to: Receive an operation result returned by the modem by an application processor, and judge whether the local configuration assistant is successfully disabled according to the operation result; If yes, an eSIM logical channel is activated, and an eSIM configuration operation is performed; If no, an error log is recorded, and the message passing interface is controlled to send the shutdown message to the modem again; A retry unit is configured to: Determine an error type causing the failure of disabling the local configuration assistant according to the error log; When the error type is a temporary error, the message passing interface is controlled to send the shutdown message to the modem again.
6. A management local configuration assistant apparatus, comprising: The device comprises: a processor, a memory, an input / output unit, and a bus; the processor is connected with the memory, the input / output unit, and the bus; the memory stores a program, and the processor invokes the program to execute the method according to any one of claims 1 to 4.
7. A computer readable storage medium, which stores a program, and the program executes the method according to any one of claims 1 to 4 when executed on a computer.
Citation Information
Patent Citations
METHOD AND APPARATUS FOR INSTALLING AND MANAGING MULTIPLE eSIM PROFILES
CN116018831A
Modem remote control method and related device
CN117354137A