Method and device for managing eSIM logic channel and storage medium
Through the application processor dynamically releases the eSIM logical channel resources, the problem of channel resource waste caused by resource occupation when the terminal is turned on is solved, and the intelligent management and optimized allocation of the eSIM logical channel is realized.
Patent Information
- Application Number
- CN202411656120.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2044-11-19
AI Technical Summary
When the terminal is turned on, the available logical channels of eSIM are occupied by the local configuration assistant, resulting in the inability to use the eSIM logical channels on other ports and the resources cannot be reasonably utilized and allocated.
The application processor calls the message delivery interface to construct a request message, query the number of available logical channels for eSIM, and dynamically release logical channel resources according to the query results to ensure the reasonable allocation and utilization of resources.
It realizes the intelligent management and optimized allocation of eSIM logical channels by application processors, ensures efficient utilization of resources, and solves the problem of channel resource waste caused by resource occupation.
Smart Images

Figure CN119854970A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, device and storage medium for managing an eSIM logical channel. Background Art
[0002] The emergence of eSIM has greatly met the needs of modern users for terminal convenience. Compared with traditional SIM cards, eSIM allows users to flexibly switch between different networks with its physical restriction-free characteristics. This solution, which allows users to avoid changing physical cards, is particularly suitable for users who travel frequently or use multiple network services. In addition, eSIM can also simplify network configuration and subscription processes through remote management functions.
[0003] In the application of IoT terminals, eSIM has unique advantages. Since it does not preload any configuration files when it leaves the factory, this flexibility allows the terminal to be personalized according to actual usage needs. When the IoT terminal needs to access the network, it can quickly connect to the network by downloading the necessary configuration files and activating them through the local configuration assistant.
[0004] However, when the terminal is turned on, the local configuration assistant of the modem will automatically start and establish a logical channel with the eSIM. At this time, the available logical channel of the eSIM is occupied by the local configuration assistant, and other ports cannot use the eSIM logical channel, and the eSIM logical channel resources cannot be reasonably used and allocated. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides a method, device and storage medium for managing eSIM logical channels, which are used to implement intelligent management and optimized allocation of eSIM logical channels by an application processor.
[0006] The technical solution provided in this application is described below:
[0007] A first aspect of the present application provides a method for managing an eSIM logical channel, the method comprising:
[0008] When the terminal starts, a request message is constructed through a message delivery interface, where the request message is used to query the number of available logical channels of the eSIM;
[0009] controlling the message transfer interface to send the request message to the modem to perform a query operation through the modem;
[0010] The query result returned by the modem through the message transfer interface is received by the application processor, and the logical channel resources are dynamically released according to the query result.
[0011] Optionally, dynamically releasing logical channel resources according to the query result includes:
[0012] Determine whether the number of available logical channels of the current eSIM is greater than 0 according to the query result;
[0013] If not, releasing the occupied logical channel resources through the modem and activating the eSIM logical channel;
[0014] If so, the eSIM logical channel is directly activated.
[0015] Optionally, releasing occupied logical channel resources by the modem includes:
[0016] The message transfer interface is controlled to send a shutdown request to the modem, so that the modem disables the local configuration assistant according to the shutdown request and releases the occupied logical channel resources.
[0017] Optionally, after activating the eSIM logical channel, the method further includes:
[0018] Determine whether the eSIM logical channel is successfully opened;
[0019] If yes, the eSIM configuration operation is performed.
[0020] Optionally, after determining whether the eSIM logical channel is successfully opened, the method further includes:
[0021] If not, an error log is recorded and the eSIM logical channel is reactivated.
[0022] Optionally, the determining whether the eSIM logical channel is successfully opened includes:
[0023] Determine whether the eSIM logical channel is successfully opened according to the Chanel object returned by the eSIM logical channel;
[0024] If the Chanel object is empty, it is determined that the opening of the eSIM logical channel fails.
[0025] Optionally, when the terminal starts, constructing a request message through a message transfer interface includes:
[0026] When the terminal starts, it enters the default engineering mode;
[0027] A request message is constructed through a message passing interface in the preset engineering mode.
[0028] A second aspect of the present application provides a device for managing an eSIM logical channel, the device comprising:
[0029] a construction unit, configured to construct a request message through a customized message delivery interface when the terminal is started, wherein the request message is used to query the number of available logical channels of the eSIM;
[0030] a sending unit, configured to control the message transfer interface to send the request message to the modem, so as to perform a query operation through the modem;
[0031] The releasing unit is used to receive the query result returned by the modem through the application processor, and dynamically release the logical channel resources according to the query result.
[0032] Optionally, a judgment unit is further included, which is specifically used to:
[0033] Determine whether the number of available logical channels of the current eSIM is greater than 0 according to the query result;
[0034] If not, releasing the occupied logical channel resources through the modem and activating the eSIM logical channel;
[0035] If so, the eSIM logical channel is directly activated.
[0036] Optionally, the release unit is specifically used for:
[0037] The message transfer interface is controlled to send a shutdown request to the modem, so that the modem disables the local configuration assistant according to the shutdown request and releases the occupied logical channel resources.
[0038] Optionally, the judging unit is specifically used for:
[0039] Determine whether the eSIM logical channel is successfully opened;
[0040] If yes, the eSIM configuration operation is performed.
[0041] Optionally, the judging unit is specifically used for:
[0042] If not, an error log is recorded and the eSIM logical channel is reactivated.
[0043] Optionally, the judging unit is specifically used for:
[0044] Determine whether the eSIM logical channel is successfully opened according to the Chanel object returned by the eSIM logical channel;
[0045] If the Chanel object is empty, it is determined that the opening of the eSIM logical channel fails.
[0046] Optionally, the construction unit is specifically used for:
[0047] When the terminal starts, it enters the default engineering mode;
[0048] A request message is constructed through a message passing interface in the preset engineering mode.
[0049] A third aspect of the present application provides a device for managing an eSIM logical channel, the device comprising:
[0050] Processor, memory, input-output unit, and bus;
[0051] The processor is connected to the memory, the input and output unit, and the bus;
[0052] The memory stores a program, and the processor calls the program to execute the first aspect and any optional method in the first aspect.
[0053] A fourth aspect of the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed on a computer, the program executes the first aspect and any optional method in the first aspect.
[0054] It can be seen from the above technical solutions that this application has the following advantages:
[0055] The application processor calls a customized message passing interface to construct a request message for querying the number of available logical channels. After receiving the request message from the application processor, the modem performs a query operation and returns the query result to the application processor. The application processor manages the logical channel resources differently according to the query result of the modem, so that the logical channel resources can be reasonably allocated, thereby realizing the intelligent management and optimized allocation of the eSIM logical channels by the application processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the technical solution in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0057] Figure 1 A schematic diagram of an embodiment of a method for managing an eSIM logical channel provided by the present application;
[0058] Figure 2 A schematic diagram of an embodiment of starting a preset engineering mode in a method for managing an eSIM logical channel provided by the present application;
[0059] Figure 3A schematic diagram of an embodiment of a flow chart of dynamically releasing logical channel resources in a method for managing eSIM logical channels provided by the present application;
[0060] Figure 4 A schematic diagram of an embodiment of a flow chart for determining whether an eSIM logical channel is successfully opened in a method for managing an eSIM logical channel provided by the present application;
[0061] Figure 5 A flowchart of another embodiment of determining whether an eSIM logical channel is successfully opened in the method for managing an eSIM logical channel provided by the present application;
[0062] Figure 6 A schematic diagram of an embodiment of a flow chart of a message transmission interface architecture in a method for managing an eSIM logical channel provided by the present application;
[0063] Figure 7 A schematic diagram of the structure of an embodiment of a device for managing an eSIM logical channel provided by the present application;
[0064] Figure 8 A schematic diagram of the structure of another embodiment of the device for managing eSIM logical channels provided in the present application. DETAILED DESCRIPTION
[0065] It should be noted that the method, device and storage medium for managing eSIM logical channels provided in this application can be applied to terminals, systems and servers. For example, the terminal can be a smart phone or computer, tablet computer, smart TV, smart watch, portable computer terminal or a fixed terminal such as a desktop computer. For the convenience of explanation, this application uses the terminal as an example for explanation.
[0066] See also Figure 1 The present application first provides an embodiment of a method for managing an eSIM logical channel, the embodiment comprising:
[0067] S101. When the terminal starts, a request message is constructed through a message transfer interface, where the request message is used to query the number of available logical channels of the eSIM;
[0068] The application processor (AP) is the core computing unit of the smart terminal, responsible for operating the system, processing applications, and managing the terminal. The application processor establishes a connection with the eSIM, which can exchange data in real time and achieve efficient data communication. However, when the terminal is turned on, the source code of the Android system will initialize the relevant software of the eSIM. Some ports of the terminal need to establish communication with the eSIM, and the logical channel is the pipeline for communication between the eSIM and the port. Each logical channel will use certain system resources when the port is occupied, such as memory, processor time, etc. If the logical channel resources of the eSIM are all occupied at this time, the application processor cannot establish a logical channel with the eSIM and perform eSIM-related operations. Therefore, the application processor can query the number of available logical channels to understand the current usage of the logical resources of the eSIM, so as to make reasonable resource allocation decisions.
[0069] When the terminal starts, the application processor needs to construct a request message to query the number of available logical channels of the eSIM through the message passing interface. The message passing interface is a customized QMI interface (Qualcomm MSM Interface). The QMI protocol is set in the message passing interface. The QMI protocol constructs a request message based on the relevant information of the request to query the number of available logical channels of the eSIM, and provides path information for the request message transmission.
[0070] S102, controlling the message delivery interface to send a request message to the modem to perform a query operation through the modem;
[0071] The modem is a component responsible for managing wireless communication resources. It can interact directly with the eSIM, read and manage the data on the eSIM, while the application manager cannot communicate directly 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 MSMInterface) architecture, which contains the rules for using the message passing interface and the sending function of the request message. When the request message is encoded, the message passing interface passes the request message as a parameter to the sending function, and sets other necessary parameters, such as the target service ID, client ID, etc., and finally calls the sending function to send the request message to the modem. After receiving the request message, the modem calls the mmgsdi_util_get_slot_data_ptr function to obtain the data pointer of the mmgsdi_slot_data_type structure, and accesses the available_logical_channels field in the structure to obtain the number of available logical channels, and finally returns the query result to the application processor through the message passing interface.
[0072] S103: Receive, through the application processor, the query result returned by the modem through the message transfer interface, and dynamically release the logical channel resources according to the query result.
[0073] The application processor needs to wait for the response message from the modem. When receiving the response message, the application processor needs to parse the message according to the decoding rules of the QMI protocol in the message transmission interface and extract the query results. Based on the query results, the application processor can understand the number of available logical channels of the eSIM and perform different logical channel resource management operations based on this.
[0074] In this embodiment, the application processor calls a customized message passing interface to construct a request message for querying the number of available logical channels. After receiving the request message from the application processor, the modem performs a query operation and returns the query result to the application processor. The application processor manages the logical channel resources differently according to the query result of the modem, so that the logical channel resources can be reasonably allocated, thereby realizing the intelligent management and optimized allocation of the eSIM logical channels by the application processor.
[0075] In some other specific embodiments, it is also necessary to start the preset engineering mode before the application processor calls the message passing interface. Figure 2 , Figure 2 An embodiment of starting the preset engineering mode includes:
[0076] S201, when the terminal is started, enter the preset engineering mode;
[0077] The default engineering mode is the APK engineering mode, which is an engineering mode for application packages based on the Android platform and is used for debugging and testing Android terminals. The application processor can obtain higher system permissions by starting the default engineering mode, so as to use the message passing interface. When the terminal starts to start, the application processor will detect specific startup parameters or hardware signals, load the relevant programs in the APK file, and initialize the APK engineering mode.
[0078] S202: construct a request message through a message transfer interface in a preset engineering mode.
[0079] 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 will determine the request message as the Client Request type, and then use the message type, message ID, etc. of the request message as the message header, and use the relevant parameters and data of the request to query the number of available logical channels of the eSIM as the message body, construct a request message for querying the number of available logical channels of the eSIM, and finally encode it according to the encoding rules of the QMI protocol, including adding control flags, length data, etc. in the request message.
[0080] In this embodiment, the application processor obtains system-level access rights and debugging and testing conditions by starting the preset engineering mode, thereby calling the message passing interface and efficiently constructing a request message for querying the number of available logical channels of the eSIM. This ensures that the application processor can successfully call the message passing interface, helps the application processor quickly identify and solve eSIM-related problems, and optimizes the communication performance of the terminal.
[0081] In the above step S103, the application processor dynamically releases the logical channel resources according to the query result.
[0082] See also Figure 3 , Figure 3 An embodiment of dynamically releasing logical channel resources includes:
[0083] S301, judging whether the number of available logical channels of the current eSIM is greater than 0 according to the query result;
[0084] The application processor determines whether the number of available logical channels of the current eSIM is greater than 0 based on the query result parsed from the response message. For example, if the query message content sent by the application processor is "query the number of available logical channels of the eSIM", then after the modem executes the query operation, the response content returned is "the number of available logical channels of the current eSIM is 0" or "the number of available logical channels of the current eSIM is not 0".
[0085] S302: If not, release the occupied logical channel resources through the modem and activate the eSIM logical channel;
[0086] If the query result received by the application processor is "the number of available logical channels of the current eSIM is not 0", it is determined that all the logical channels of the current eSIM are occupied, and the application processor will send a shutdown message to release resources to the modem through the message transmission interface. After receiving the shutdown message, the modem performs corresponding operations to release the occupied logical channel resources, and the application processor obtains an idle logical channel to activate the eSIM logical channel.
[0087] S303: If yes, directly activate the eSIM logical channel.
[0088] If the query result received by the application processor is "the number of available logical channels of the current eSIM is greater than 0", it is determined that there are idle logical channels in the current eSIM, and the application processor will directly use the idle logical channels to activate the eSIM logical channels.
[0089] In some specific embodiments, the control message delivery interface sends a shutdown request to the modem, so as to disable the local configuration assistant according to the shutdown request through the modem and release the occupied logical channel resources, which is specifically described below:
[0090] The application processor sends a shutdown message to the modem through the message passing interface, and the application processor starts the preset engineering mode and calls the message passing interface for construction.
[0091] When the terminal is turned on, the local profile assistant is turned on by default in the Android system. At this time, the local profile assistant will automatically establish a logical channel with the application in the eSIM. The local profile assistant (LPA) is a configuration file responsible for managing and manipulating the eSIM in the terminal system. If the query result is "the number of logical channels available for the current eSIM is equal to 0", then the local profile assistant may occupy the logical channel. Therefore, it is necessary to disable the local profile assistant at this time to release the logical channel resources occupied by it. After receiving the shutdown request, the modem parses the shutdown request, extracts the instruction to close the local profile assistant, and then executes the shutdown operation of disabling the local configuration assistant.
[0092] In this embodiment, the application processor parses the query result from the response message of the modem, and determines whether the number of available logical channels of the current eSIM is greater than 0 according to the query result. If the number of available logical channels of the eSIM is equal to 0, the application processor sends a shutdown request to the modem, so that the modem performs related operations to disable the local configuration assistant, releases the logical channel, and the application processor activates the eSIM logical channel. If the number of available logical channels of the eSIM is greater than 0, the application processor can directly activate the eSIM logical channel. The application processor can perform corresponding processing operations for different query results, which enhances the application processor's intelligent management capability of eSIM logical channel resources.
[0093] In some specific embodiments, after activating the eSIM logical channel, the application processor will also determine whether the eSIM logical channel is successfully opened. Figure 4 , Figure 4 An embodiment for determining whether the eSIM logical channel is successfully opened includes:
[0094] S401, determining whether the eSIM logical channel is successfully opened;
[0095] After activating the eSIM logical channel, the application processor will first check whether the eSIM logical channel has been successfully opened. The application processor can make different subsequent operations based on whether the eSIM logical channel has been successfully opened. This logical channel is the channel for communication between the application processor and the eSIM card. If the channel is not opened, the application processor cannot communicate with the eSIM card and the eSIM configuration cannot be completed.
[0096] S402: If yes, perform eSIM configuration operation.
[0097] If the eSIM logical channel is successfully opened, the application processor will start to perform eSIM configuration operations, such as sending the configuration file to the eSIM card and waiting for the eSIM card to complete the configuration process. The configuration process includes verifying the user identity, downloading the necessary network configuration and activating new network services.
[0098] In some specific embodiments, after determining that the eSIM logical channel fails to be opened, other operations are performed, which are described in detail below:
[0099] S403: If not, record the error log and reactivate the eSIM logical channel.
[0100] If the eSIM logical channel is not successfully opened, the application processor records an error log so that developers or maintainers can track and diagnose the problem. The error log can contain information about the error code or error message encountered when trying to open the channel.
[0101] After recording the error log, the application processor will try to reactivate the eSIM logical channel. The application processor's retry operation can be to resend the establishment request to the eSIM or restart the eSIM service. If the reactivation is successful, the application processor will try to perform the eSIM configuration operation again. If the channel cannot be successfully opened after multiple attempts and reaching a certain number of times, the application processor sends an error message to the central processor, indicating that the application processor cannot complete the eSIM configuration, so that maintenance personnel can repair it.
[0102] In this embodiment, after the application processor activates the eSIM logical channel, it will detect whether the eSIM logical channel is successfully opened. If the eSIM logical channel is not opened, the application processor will retry the activation and other operations, and solve the problems encountered through the repeated attempt mechanism, effectively reducing the failures caused by single operation failures, and timely update the error log after each failed activation operation, providing valuable data support for subsequent troubleshooting and maintenance. The application processor's check of the eSIM logical channel opening status, the recording of the error log, and the automatic retry activation mechanism improve the reliability and stability of the eSIM configuration process and optimize the eSIM logical channel resource management.
[0103] See also Figure 5 , Figure 5 Another embodiment for determining whether the eSIM logical channel is successfully opened includes:
[0104] S501. Determine whether the eSIM logical channel is successfully opened according to the Chanel object returned by the eSIM logical channel;
[0105] When the application processor needs to open the eSIM logical channel, the source code of the Android system executes the function of establishing the eSIM logical channel, such as "openChannel" and other functions. "openChannel" is responsible for requesting a connection with the eSIM service and returning a Chanel object. This object contains the connection status and other related information. By checking whether the content of the object is empty, it can be determined whether the logical channel is successfully opened.
[0106] S502: If the Chanel object is empty, it is determined that the opening of the eSIM logical channel fails.
[0107] If the returned Chanel object received by the application processor is a null value, that is, the return value is null, the application processor determines that the eSIM logical channel has failed to open. The failure to open the eSIM logical channel may be that the eSIM module encountered a problem when trying to establish a logical channel, such as a network problem, an eSIM module failure, an invalid security credential, etc. Once it is determined that the logical channel has failed to open, the application processor performs operations such as recording an error log, displaying an error message, and attempting to reactivate the logical channel.
[0108] In this embodiment, the application processor determines whether the eSIM logical channel is successfully opened by whether the returned Chanel object is empty. If the Chanel object is empty, it is determined that the eSIM logical channel opening failed, and then a series of error handling operations are performed, which simplifies the judgment logic, and can quickly respond to the opening failure and perform error handling in time, thereby effectively improving the stability of the eSIM configuration process.
[0109] See also Figure 6 , Figure 6 This is a flow chart of an embodiment of a message delivery interface architecture in a method for managing an eSIM logical channel provided by the present application. The flow chart is divided into an application processor module, a RIL module, a Qualcomm QMI module, a shared memory module, and a Modem module for specific description:
[0110] Application processor module: The application processor module starts the APK engineering mode to pass instructions into the message passing interface framework.
[0111] RIL module: RIL (Radio Interface Layer) is the middle layer for communication request messages of applications. The RIL module consists of two parts, one is RILJ of Java layer, and the other is RILD of C++ layer. RILJ is responsible for maintaining communication with RILD, and passing the request message sent by the application processor to the modem when starting APK engineering mode to the lower layer. RILD will continue to pass the request message sent by RILJ to Qualcomm QMI module.
[0112] Qualcomm QMI module: Qualcomm QMI module is the core part of the message passing interface architecture, which contains source code related to QMI protocol and modem tasks, such as qmi_nas.c, qmi_framework.c, qmi_modem_task.c files, which are used to provide network-related requests and responses, message passing, and processing and modem communication mechanisms.
[0113] Modem module: The modem module includes modulation and demodulation protocols, signal processing, and the establishment and maintenance of wireless network connections. It is used to handle all operations in wireless communication. The modem module can parse the request message from the application processor and perform corresponding operations.
[0114] Shared memory module: The shared memory module is a memory area defined in the message passing interface architecture that allows two connected modules to directly read and write data, reduce latency during data transmission, and achieve efficient data exchange between the application processor and the modem.
[0115] It should be noted that each module interacts with each other by sending QMI messages and reporting buried point messages. The request message sent by the application processor to the modem belongs to the sent QMI message, and the response message that the modem replies to the application processor after performing the corresponding operation and the message actively reported by the modem belong to the reported buried point message. The sent QMI message is initiated by the application processor to start the APK engineering mode to send the request message, which is transmitted from the RIL module, Qualcomm QMI module, and shared memory to the modem module in sequence. After the modem performs the corresponding operation, the reported buried point message is transmitted from the modem module, shared memory, Qualcomm QMI module, and RIL module to the application processor in sequence.
[0116] In this embodiment, the application processor quickly transmits the request 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.
[0117] See also Figure 7 The present application also provides a device for managing an eSIM logical channel, including:
[0118] A construction unit 701 is used to construct a request message through a customized message transmission interface when the terminal is started, where the request message is used to query the number of available logical channels of the eSIM;
[0119] The sending unit 702 is used to control the message delivery interface to send the request message to the modem to perform the query operation through the modem;
[0120] The releasing unit 703 is used to receive the query result returned by the modem through the application processor, and dynamically release the logical channel resources according to the query result.
[0121] Optionally, the method further includes a judging unit 704, which is specifically configured to:
[0122] According to the query result, determine whether the number of available logical channels of the current eSIM is greater than 0;
[0123] If not, the occupied logical channel resources are released through the modem and the eSIM logical channel is activated;
[0124] If yes, the eSIM logical channel is activated directly.
[0125] Optionally, the releasing unit 703 is specifically used for:
[0126] The control message passing interface sends a close request to the modem to disable the local configuration assistant according to the close request through the modem and release the occupied logical channel resources.
[0127] Optionally, the determining unit 704 is specifically configured to:
[0128] Determine whether the eSIM logical channel is successfully opened;
[0129] If yes, the eSIM configuration operation is performed.
[0130] Optionally, the determining unit 704 is specifically configured to:
[0131] If not, record the error log and reactivate the eSIM logical channel.
[0132] Optionally, the determining unit 704 is specifically configured to:
[0133] Determine whether the eSIM logical channel is successfully opened based on the Chanel object returned by the eSIM logical channel;
[0134] If the Chanel object is empty, it is determined that the opening of the eSIM logical channel fails.
[0135] Optionally, the construction unit 701 is specifically used for:
[0136] When the terminal starts, it enters the default engineering mode;
[0137] Constructs a request message through the messaging interface in the preset engineering mode.
[0138] See also Figure 8 The present application also provides a device for managing an eSIM logical channel, including:
[0139] Processor 801, memory 802, input and output unit 803, bus 804;
[0140] The processor 801 is connected to the memory 802, the input and output unit 803 and the bus 804;
[0141] The memory 802 stores a program, and the processor 801 calls the program to execute any of the above methods.
[0142] The present application also relates to a computer-readable storage medium, on which a program is stored. When the program is run on a computer, the computer executes any of the above methods.
[0143] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0144] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0145] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0146] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0147] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk, etc. Various media that can store program codes.
Claims
1. A method for managing an eSIM logical channel, characterized in that: The method comprises: When the terminal starts, a request message is constructed through a message delivery interface, where the request message is used to query the number of available logical channels of the eSIM; controlling the message transfer interface to send the request message to the modem to perform a query operation through the modem; The query result returned by the modem through the message transfer interface is received by the application processor, and the logical channel resources are dynamically released according to the query result.
2. The method according to claim 1, characterized in that: The dynamically releasing the logical channel resources according to the query result includes: Determine whether the number of available logical channels of the current eSIM is greater than 0 according to the query result; If not, releasing the occupied logical channel resources through the modem and activating the eSIM logical channel; If so, the eSIM logical channel is directly activated.
3. The method according to claim 2, characterized in that The releasing of occupied logical channel resources by the modem comprises: The message transfer interface is controlled to send a shutdown request to the modem, so that the modem disables the local configuration assistant according to the shutdown request and releases the occupied logical channel resources.
4. The method according to claim 2, characterized in that: After activating the eSIM logical channel, the method further includes: Determine whether the eSIM logical channel is successfully opened; If yes, perform the eSIM configuration operation.
5. The method according to claim 4, characterized in that After determining whether the eSIM logical channel is successfully opened, the method further includes: If not, an error log is recorded and the eSIM logical channel is reactivated.
6. The method according to claim 4, characterized in that The determining whether the eSIM logical channel is successfully opened includes: Determine whether the eSIM logical channel is successfully opened according to the Chanel object returned by the eSIM logical channel; If the Chanel object is empty, it is determined that the opening of the eSIM logical channel fails.
7. The method according to any one of claims 1 to 6, characterized in that When the terminal starts, constructing a request message through a message transfer interface includes: When the terminal starts, it enters the default engineering mode; A request message is constructed through a message passing interface in the preset engineering mode.
8. A device for managing an eSIM logical channel, characterized in that: The device comprises: a construction unit, configured to construct a request message through a customized message delivery interface when the terminal is started, wherein the request message is used to query the number of available logical channels of the eSIM; a sending unit, configured to control the message transfer interface to send the request message to the modem, so as to perform a query operation through the modem; The releasing unit is used to receive the query result returned by the modem through the application processor, and dynamically release the logical channel resources according to the query result.
9. A device for managing an eSIM logical channel, characterized in that: The device comprises: Processor, memory, input-output unit, and bus; The processor is connected to the memory, the input and output unit, and the bus; The memory stores a program, and the processor calls the program to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a program stored thereon, wherein the program, when executed on a computer, performs the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and device for obtaining and processing active command between terminal and card supporting logic interface
CN117322024A
Method and system for non-eSIM terminal equipment to realize configuration file remote subscription service
CN117880795A
Method for managing logical channel with smart card and apparatus thereof
KR1020110048110A
LOGICAL CHANNEL MANAGEMENT FOR MULTIPLE eSIM PROFILES
US20220329372A1
Method and device for accessing data of embedded SIM card
WO2019119544A1