A method, apparatus and storage medium for managing eSIM logical channels

By querying and managing eSIM logical channel resources through the application processor, the problem of eSIM logical channel resource occupancy is solved, and the rational allocation of resources and improvement of terminal communication efficiency are achieved.

CN119854970BActive Publication Date: 2025-11-28SHENZHEN XINGUODU TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411656120.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-19
Publication Date
2025-11-28
Estimated Expiration
2044-11-19

AI Technical Summary

Technical Problem

When the eSIM logical channel resources are enabled on the terminal, they are occupied by the local configuration assistant, which makes it impossible to use and allocate resources reasonably, affecting the communication efficiency between the terminal and eSIM.

Method used

The application processor calls the messaging interface to construct a request message, queries the number of available logical channels for eSIM, and dynamically releases or activates logical channel resources based on the query results, including disabling the local configuration assistant to release occupied resources.

Benefits of technology

It enables intelligent management and optimized allocation of eSIM logical channel resources, improving the communication efficiency and stability between the terminal and eSIM.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854970B_ABST
    Figure CN119854970B_ABST
Patent Text Reader

Abstract

The application discloses a method, device and storage medium for managing an eSIM logical channel, and is used for realizing intelligent management and optimized distribution of an application processor on the eSIM logical channel. The method comprises the following steps: when a terminal is started, a request message is constructed through a message passing interface, the request message is used for inquiring about the number of available logical channels of the eSIM; the message passing interface is controlled to send the request message to a modem, so that the modem performs an inquiry operation; and the application processor receives an inquiry result returned by the modem through the message passing interface, and dynamically releases a logical channel resource according to the inquiry result.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to a method and device for managing eSIM logical channel and storage medium. BACKGROUND

[0002] The emergence of eSIM greatly meets the demand of modern users for terminal convenience. Compared with traditional SIM cards, eSIM allows users to switch between different networks flexibly due to its non-physical limitation. This solution that does not require users to replace physical cards is particularly suitable for users who frequently travel or use multiple network services. In addition, eSIM can simplify network configuration and subscription process through remote management function.

[0003] In the application of Internet of Things terminals, eSIM has unique advantages. Due to its non-preloaded configuration file at the time of factory shipment, such flexibility enables terminals to be personalized according to actual use requirements. When Internet of Things terminals need to access the network, the necessary configuration file is downloaded and activated through the local configuration assistant, which can quickly realize network connection.

[0004] However, when the terminal is turned on, the local configuration assistant of the modem is automatically started and establishes a logical channel with the eSIM. At this time, the eSIM available logical channel is occupied by the local configuration assistant, and other ports cannot use the eSIM logical channel, so that the eSIM logical channel resources cannot be reasonably utilized and allocated. SUMMARY

[0005] In order to solve the above technical problems, the present application provides a method and device for managing eSIM logical channel and storage medium, which are used to realize intelligent management and optimized allocation of eSIM logical channel by application processor.

[0006] The technical solutions provided in the present application will be described below:

[0007] The first aspect of the present application provides a method for managing eSIM logical channel, which comprises:

[0008] When the terminal is started, a request message is constructed through a message passing interface, and the request message is used to query the number of eSIM available logical channels;

[0009] The message passing interface is controlled to send the request message to the modem, so as to execute a query operation through the modem;

[0010] The application processor receives the query result returned by the modem through the message passing interface, and dynamically releases the logical channel resources according to the query result.

[0011] Optionally, the dynamically releasing the logical channel resource according to the query result comprises:

[0012] determining whether the number of available logical channels of the eSIM is greater than 0 according to the query result;

[0013] if not, releasing the occupied logical channel resource through the modem and activating the eSIM logical channel;

[0014] if yes, directly activating the eSIM logical channel.

[0015] Optionally, the releasing the occupied logical channel resource through the modem comprises:

[0016] controlling the message passing interface to send a shutdown request to the modem, so as to disable the local configuration assistant through the modem according to the shutdown request and release the occupied logical channel resource.

[0017] Optionally, after the eSIM logical channel is activated, the method further comprises:

[0018] determining whether the eSIM logical channel is successfully opened;

[0019] if yes, performing an eSIM configuration operation.

[0020] Optionally, after the determination of whether the eSIM logical channel is successfully opened, the method further comprises:

[0021] if not, recording an error log and reactivating the eSIM logical channel.

[0022] Optionally, the determination of whether the eSIM logical channel is successfully opened comprises:

[0023] determining whether the eSIM logical channel is successfully opened according to a Chanel object returned by the eSIM logical channel;

[0024] if the Chanel object is empty, determining that the eSIM logical channel fails to open.

[0025] Optionally, when the terminal is started, the constructing the request message through the message passing interface comprises:

[0026] when the terminal is started, entering a preset engineering mode;

[0027] constructing the request message through the message passing interface in the preset engineering mode.

[0028] The second aspect of the present application provides a device for managing an eSIM logical channel, the device comprising:

[0029] a constructing unit, configured to construct a request message by customizing a message passing interface when the terminal is started, the request message being used to query a number of available logical channels of an eSIM;

[0030] a sending unit, configured to control the message passing interface to send the request message to a modem so as to perform a query operation by the modem;

[0031] a releasing unit, configured to receive a query result returned by the modem by an application processor, and dynamically release logical channel resources according to the query result.

[0032] Optionally, the method further comprises a judging unit, and the judging unit is specifically configured to:

[0033] determine whether a number of available logical channels of the current eSIM is greater than 0 according to the query result;

[0034] if not, release the occupied logical channel resources by the modem, and activate the eSIM logical channel;

[0035] if yes, directly activate the eSIM logical channel.

[0036] Optionally, the releasing unit is specifically configured to:

[0037] control the message passing interface to send a closing request to the modem, so as to disable a local configuration assistant according to the closing request by the modem, and release the occupied logical channel resources.

[0038] Optionally, the judging unit is specifically configured to:

[0039] determine whether the eSIM logical channel is successfully started;

[0040] if yes, perform an eSIM configuration operation.

[0041] Optionally, the judging unit is specifically configured to:

[0042] if not, record an error log, and reactivate the eSIM logical channel.

[0043] Optionally, the judging unit is specifically configured to:

[0044] determine whether the eSIM logical channel is successfully started according to a Chanel object returned by the eSIM logical channel;

[0045] if the Chanel object is empty, it is determined that the eSIM logical channel fails to start.

[0046] Optionally, the constructing unit is specifically configured to:

[0047] When the terminal is started, a preset engineering mode is entered;

[0048] A request message is constructed through a message passing interface in the preset engineering mode.

[0049] The third aspect of the present application provides a device for managing eSIM logical channels, and the device comprises:

[0050] a processor, a memory, an input / output unit and a bus;

[0051] The processor is connected with the memory, the input / output unit and the bus;

[0052] The memory stores a program, and the processor invokes the program to execute the method of the first aspect and any optional method in the first aspect.

[0053] The fourth aspect of the present application provides a computer readable storage medium, and the computer readable storage medium stores a program, and the program executes the method of the first aspect and any optional method in the first aspect when executed on a computer.

[0054] From the above technical solutions, the present application has the following advantages:

[0055] The application processor invokes the customized message passing interface to construct a request message for querying the number of available logical channels, the modem performs a query operation after receiving the request message of the application processor and returns the query result to the application processor, and 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, and the intelligent management and optimized allocation of the eSIM logical channels by the application processor are realized. BRIEF DESCRIPTION OF DRAWINGS

[0056] In order to more clearly illustrate the technical solutions in the present application, the following will briefly introduce the drawings needed in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0057] Figure 1 An embodiment flowchart of the method for managing eSIM logical channels provided by the present application is shown in the figure;

[0058] Figure 2 An embodiment flowchart of starting the preset engineering mode in the method for managing eSIM logical channels provided by the present application is shown in the figure;

[0059] Figure 3An embodiment flowchart diagram of dynamically releasing logical channel resources in the method of managing eSIM logical channels provided by the present application is shown in FIG. 1;

[0060] Figure 4 An embodiment flowchart diagram of determining whether an eSIM logical channel is successfully opened in the method of managing eSIM logical channels provided by the present application is shown in FIG. 2;

[0061] Figure 5 Another embodiment flowchart diagram of determining whether an eSIM logical channel is successfully opened in the method of managing eSIM logical channels provided by the present application is shown in FIG. 3;

[0062] Figure 6 An embodiment flowchart diagram of a message passing interface architecture in the method of managing eSIM logical channels provided by the present application is shown in FIG. 4;

[0063] Figure 7 An embodiment structural diagram of a device for managing eSIM logical channels provided by the present application is shown in FIG. 5;

[0064] Figure 8 Another embodiment structural diagram of a device for managing eSIM logical channels provided by the present application is shown in FIG. 6. DETAILED DESCRIPTION

[0065] It should be noted that the method, device and storage medium for managing eSIM logical channels 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 or a computer, a tablet computer, a smart television, a smart watch, a portable computer terminal or a fixed terminal such as a desktop computer. For convenience of description, the terminal is taken as an example in the present application.

[0066] Referring to FIG. 1, Figure 1 The present application first provides an embodiment of a method for managing eSIM logical channels, which includes the following steps:

[0067] S101, when the terminal is started, a request message is constructed through a message passing interface, and the request message is used to query the number of available eSIM logical channels;

[0068] An application processor (AP) is a core computing unit of a smart terminal, responsible for operating systems, processing application programs and managing terminals. The application processor establishes a connection with the eSIM, and can perform real-time data exchange to achieve efficient data communication. However, when the terminal is powered on, the source code of the Android system will initialize the related software of the eSIM, and part of the ports of the terminal need to establish communication with the eSIM, and the logical channel is a pipeline for communication between the eSIM and the port. 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 the eSIM have been fully 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 logical resource usage of the eSIM, and make reasonable resource allocation decisions.

[0069] When the terminal is started, the application processor needs to construct a request message for querying the number of available logical channels of the eSIM through a message passing interface. The message passing interface is a customized QMI interface (Qualcomm MSM Interface), and the message passing interface sets the QMI protocol. The QMI protocol constructs a request message according to the related information of querying the number of available logical channels of the eSIM, and provides path information for transmitting the request message.

[0070] S102, control the message passing interface to send the request message to the modem to execute the query operation through the modem;

[0071] The modem is a component responsible for managing wireless communication resources, and can directly interact with the eSIM to read and manage data on the eSIM. The application manager cannot directly communicate with the modem, and needs to transmit data through a message passing interface in a message passing interface architecture. The message passing interface architecture is a customized QMI (Qualcomm MSM Interface) interface architecture, which includes rules for using the message passing interface and a sending function for sending a 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 a target service ID and a client ID. Finally, the sending function is called 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 a 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. Finally, the query result is returned to the application processor through the message passing interface.

[0072] S103, receiving, by the application processor, the query result returned by the modem through the message passing interface, and dynamically releasing logical channel resources according to the query result.

[0073] The application processor needs to wait for the response message of the modem, and when the response message is received, the application processor needs to parse the message according to the decoding rules of the QMI protocol in the message passing interface to extract the query result. According to the query result, the application processor can know the number of available logical channels of the eSIM, and perform different logical channel resource management operations accordingly.

[0074] In this embodiment, the application processor calls the 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 according to the query result of the modem, so that the logical channel resources can be reasonably allocated, and the intelligent management and optimized allocation of the logical channel of the eSIM by the application processor are realized.

[0075] In some specific embodiments, the application processor needs to start a preset engineering mode before calling the message passing interface. Please refer to Figure 2 , Figure 2 One embodiment for starting the preset engineering mode includes the following steps:

[0076] S201, when the terminal is started, entering the preset engineering mode;

[0077] The preset engineering mode is an APK engineering mode, which is an engineering mode of an application package based on an Android platform and is used for debugging and testing of an Android terminal. The application processor can obtain higher system permissions by starting the preset engineering mode, so as to use the message passing interface. When the terminal starts, the application processor detects specific start parameters or hardware signals, loads related programs in the APK file, and performs APK engineering mode initialization.

[0078] S202, constructing a request message through the message passing interface in the 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 determines the request message as a Client Request type, and then takes the message type and message ID of the request message as a message header, and takes related parameters and data of the request for querying the number of available logical channels of the eSIM as a message body, to construct a request message for querying the number of available logical channels of the eSIM. Finally, encoding is performed according to the coding rules of the QMI protocol, including adding control flags and length data in the request message.

[0080] In this embodiment, the application processor obtains system-level access permissions and conditions for debugging and testing by starting the preset engineering mode, so as to call the message passing interface and efficiently construct 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] Please refer to Figure 3 , Figure 3 For one embodiment of dynamically releasing the logical channel resources, the embodiment includes:

[0083] S301, determining 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 according to the query result parsed from the response message. For example, the content of the query message sent by the application processor is "query the number of available logical channels of the eSIM", and then the response content returned by the modem after performing the query operation 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, the occupied logical channel resources are released by the modem, and the eSIM logical channel is activated;

[0086] If the query result received by the application processor is that the number of available logical channels of the current eSIM is not 0, it is determined that the logical channels of the current eSIM have been fully occupied, and the application processor sends a closing message for releasing resources to the modem through the message passing interface. After receiving the closing message, the modem performs corresponding operations to release the occupied logical channel resources, and the application processor can activate the eSIM logical channel after obtaining the idle logical channel.

[0087] S303, if yes, the eSIM logical channel is directly activated.

[0088] If the query result received by the application processor is that the number of available logical channels of the current eSIM is greater than 0, it is determined that there is an idle logical channel of the current eSIM, and the application processor directly activates the eSIM logical channel by using the idle logical channel.

[0089] In some specific embodiments, the control message passing interface sends a closing request to the modem, so that the modem disables the local configuration assistant according to the closing request to release the occupied logical channel resources, which will be described in detail as follows:

[0090] The closing message sent by the application processor to the modem through the message passing interface is constructed by the application processor starting a preset engineering mode to call the message passing interface.

[0091] When the terminal is powered on, the local configuration assistant in the Android system is opened by default, and 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. If the query result is that the number of available logical channels of the current eSIM is equal to 0, the local configuration assistant may occupy the logical channel. Therefore, at this time, the local configuration assistant needs to be disabled to release the logical channel resources occupied by it. After receiving the closing request, the modem parses the closing request and extracts the instruction for closing the local configuration assistant, so as to perform the closing 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 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 the related operation of disabling the local configuration assistant, releases the logical channel, and the application processor can activate 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, thereby enhancing the intelligent management capability of the application processor for the eSIM logical channel resource.

[0093] In some specific embodiments, after activating the eSIM logical channel, the application processor further determines whether the eSIM logical channel is successfully opened. Please refer to Figure 4 , Figure 4 For an embodiment of determining whether the eSIM logical channel is successfully opened, the embodiment comprises:

[0094] S401, determining whether the eSIM logical channel is successfully opened;

[0095] After activating the eSIM logical channel, the application processor first checks whether the eSIM logical channel has been successfully opened. The application processor can make different subsequent operations according to 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 cannot complete the configuration of the eSIM.

[0096] S402, if yes, performing an eSIM configuration operation.

[0097] If the eSIM logical channel is successfully opened, the application processor will start to perform an eSIM configuration operation, such as sending a configuration file to the eSIM card, waiting for the eSIM card to complete the configuration process, etc. The configuration process includes verifying the user identity, downloading the necessary network configuration, and activating the new network service.

[0098] In some specific embodiments, after determining that the eSIM logical channel fails to open, other operations are further performed, which will be described in detail as follows:

[0099] S403, if no, recording an error log, and reactivating the eSIM logical channel.

[0100] If the eSIM logical channel fails to open, the application processor will record an error log, so that the developer or the maintenance personnel can track and diagnose the problem. The error log can contain information about the error code or error message encountered when attempting to open the channel.

[0101] After recording the error log, the application processor will attempt to reactivate the eSIM logical channel. The retry operation of the application processor can be to resend the establishment request to the eSIM or to restart the eSIM service. If the reactivation is successful, the application processor will again attempt to perform the eSIM configuration operation. If multiple attempts are made and a certain number of attempts are still unsuccessful in opening the channel, 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 perform repair processing.

[0102] In this embodiment, after the application processor activates the eSIM logical channel, it detects whether the eSIM logical channel is successfully opened. If the eSIM logical channel is not opened, the application processor will retry the activation and the like, and solve the problems encountered through repeated attempts, effectively reducing the failure caused by a single operation failure. In addition, the error log is updated in time after each activation operation fails, providing valuable data support for subsequent troubleshooting and maintenance. The application processor checks the opening state of the eSIM logical channel, records the error log, and automatically retries the activation mechanism, which improves the reliability and stability of the eSIM configuration process and optimizes the management of eSIM logical channel resources.

[0103] Please refer to Figure 5 , Figure 5 Another embodiment for judging whether the eSIM logical channel is successfully opened includes:

[0104] S501, judging whether the eSIM logical channel is successfully opened according to a 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 a function for establishing the eSIM logical channel, such as the "openChannel" function and the like. The "openChannel" is responsible for requesting a connection with the eSIM service and returns a Chanel object. This object contains the state of the connection and other related information, and 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 eSIM logical channel fails to open.

[0107] If the application processor determines that the received returned Chanel object is a null value, i.e., the return value is null, the application processor determines that the eSIM logical channel opening fails. The eSIM logical channel opening failure can be that the eSIM module encounters a problem when trying to establish a logical channel, such as a network problem, eSIM module failure, invalid security credential, etc. Once the logical channel opening failure is determined, the application processor performs operations such as recording an error log, displaying an error message, attempting to reactivate the logical channel, etc.

[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 fails, and a series of error handling operations are subsequently performed, which simplifies the judgment logic and enables rapid response to opening failure conditions and timely execution of error handling, thereby effectively improving the stability of the eSIM configuration process.

[0109] Please refer to Figure 6 , Figure 6 The flowchart of one embodiment of the message passing interface architecture in the method for managing an eSIM logical channel provided in the present application is described below in detail by the application processor module, the RIL module, the Qualcomm QMI module, the shared memory module, and the Modem module:

[0110] Application processor module: The application processor module starts the APK engineering mode to pass instructions into the message passing interface architecture.

[0111] RIL module: RIL (Radio Interface Layer) is an intermediate layer for interacting communication request messages of an application program. The RIL module includes two parts, one is RILJ in Java layer, and the other is RILD in C++ layer. RILJ is responsible for maintaining communication with RILD and passing the request message sent by the application processor starting the APK engineering mode to the lower layer. RILD continues to pass the request message sent by RILJ to the Qualcomm QMI module.

[0112] Qualcomm QMI module: The Qualcomm QMI module is the core part of the message passing interface architecture, which contains the source code related to QMI protocol and modem tasks, such as qmi_nas.c, qmi_framework.c, qmi_modem_task.c files, for providing network-related request and response, message passing, processing and communication mechanisms with the modem.

[0113] Modem module: the modem module, including the modem protocol, signal processing and wireless network connection establishment and maintenance, is used for processing all operations of 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, so that the two connected modules can directly read and write data, reduce the delay during data transmission, and realize efficient data exchange between the application processor and the modem.

[0115] It should be noted that the modules interact with each other using the QMI message and the report message. The request message sent by the application processor to the modem is a QMI message, and the response message returned by the modem after performing the corresponding operation and the message actively reported by the modem are report messages. The QMI message is sent by the application processor to start the APK project mode, and the request message is transmitted from the RIL module, the Qualcomm QMI module, the shared memory to the modem module in turn. After the modem performs the corresponding operation, the report message is transmitted from the modem module, the shared memory, the Qualcomm QMI module and the RIL module to the application processor in turn.

[0116] In this embodiment, the application processor quickly transmits the request message to the modem through the message passing interface architecture, and receives the feedback of the modem, so as to realize the rapid data exchange between the application processor and the modem, and the accurate control and timely management of the eSIM logical channel.

[0117] Please refer to Figure 7 The application further provides an eSIM logical channel management device, which comprises:

[0118] The construction unit 701 is configured to construct a request message by using a customized message passing interface when the terminal is started, and the request message is used to query the number of available logical channels of the eSIM;

[0119] The sending unit 702 is configured to control the message passing interface to send the request message to the modem, so as to execute the query operation by using the modem;

[0120] The release unit 703 is configured to receive the query result returned by the modem by using the application processor, and dynamically release the logical channel resource according to the query result.

[0121] Optionally, the device further comprises a judgment unit 704, which is specifically configured to:

[0122] Judge whether the number of available logical channels of the current eSIM is greater than 0 according to the query result;

[0123] If no, the occupied logical channel resource is released by the modem, and the eSIM logical channel is activated;

[0124] If yes, the eSIM logical channel is directly activated.

[0125] Optionally, the releasing unit 703 is specifically configured to:

[0126] The control message passing interface sends a closing request to the modem, so that the modem disables the local configuration assistant according to the closing request, and releases the occupied logical channel resource.

[0127] Optionally, the judging unit 704 is specifically configured to:

[0128] Judge whether the eSIM logical channel is successfully opened;

[0129] If yes, the eSIM configuration operation is performed.

[0130] Optionally, the judging unit 704 is specifically configured to:

[0131] If no, an error log is recorded, and the eSIM logical channel is reactivated.

[0132] Optionally, the judging unit 704 is specifically configured to:

[0133] Judge whether the eSIM logical channel is successfully opened according to a Chanel object returned by the eSIM logical channel;

[0134] If the Chanel object is empty, it is determined that the eSIM logical channel fails to open.

[0135] Optionally, the constructing unit 701 is specifically configured to:

[0136] When the terminal is started, enter a preset engineering mode;

[0137] Construct a request message through the message passing interface in the preset engineering mode.

[0138] Please refer to Figure 8 The application also provides an eSIM logical channel management device, comprising:

[0139] A processor 801, a memory 802, an input and output unit 803, and a bus 804;

[0140] The processor 801 is connected with 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 method as above.

[0142] The application also relates to a computer readable storage medium, which stores a program. When the program is run on a computer, the computer executes any one 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 above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be described here.

[0144] In the several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other manners. For example, the described device embodiments are merely schematic. The division of the units is merely a logical function division. There can be another division manner for the 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. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between the units can be indirect couplings or communication connections through some interfaces, devices or units, and can be electrical, mechanical or in other forms.

[0145] The units described as separated components can or can not be physically separated, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments of the present application.

[0146] In addition, each functional unit in the embodiments of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be implemented in the form of hardware, or in the form of software functional units.

[0147] When the integrated unit is implemented in the form of software functional units and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on such an understanding, the technical solutions of the present application essentially or partly, or all 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 several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in the embodiments of the present application. The foregoing storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), magnetic disk or optical disk, and various media that can store program codes.

Claims

1. A method for managing eSIM logical channels, characterized in that, The method includes: When the terminal starts up, it enters a preset engineering mode, which is an application package engineering mode based on the Android platform. The preset engineering mode is used for debugging and testing the Android terminal. In the preset engineering mode, a request message is constructed through a message passing interface. The message passing interface is a customized Qualcomm chip interface QMI. The message passing interface is configured with the QMI protocol. The QMI protocol is used to construct the request message based on the information of the number of available logical channels of the eSIM and to provide the path information for the transmission of the request message. The message passing interface is controlled to send the request message to the modem so that a query operation can be performed through the modem; The application processor receives the query result returned by the modem through the messaging interface, and determines whether the number of currently available eSIM logical channels is greater than 0 based on the query result; If not, the message passing interface is controlled to send a shutdown request to the modem, so that the modem can disable the local configuration assistant according to the shutdown request, release the occupied logical channel resources, and activate the eSIM logical channel. If so, the eSIM logical channel will be activated directly.

2. The method according to claim 1, characterized in that, After activating the eSIM logical channel, the method further includes: Determine whether the eSIM logical channel has been successfully opened; If so, then perform the eSIM configuration operation.

3. The method according to claim 2, characterized in that, After determining whether the eSIM logical channel has been successfully opened, the method further includes: If not, an error log is recorded, and the eSIM logical channel is reactivated.

4. The method according to claim 2, characterized in that, The determination of whether the eSIM logical channel has been successfully opened includes: The success of the eSIM logical channel is determined by the Channel object returned by the eSIM logical channel. If the Channel object is empty, then the eSIM logical channel opening has failed.

5. A device for managing eSIM logical channels, characterized in that, The device includes: The construction unit is used to enter a preset engineering mode when the terminal starts up. The preset engineering mode is an application package engineering mode based on the Android platform. The preset engineering mode is used for debugging and testing the Android terminal. In the preset engineering mode, a request message is constructed through a message passing interface. The message passing interface is a customized Qualcomm chip interface QMI. The message passing interface is configured with the QMI protocol. The QMI protocol is used to construct the request message based on the information of the number of available logical channels of eSIM and to provide the path information for the transmission of the request message. The sending unit is used to control the message passing interface to send the request message to the modem so as to perform a query operation through the modem; The release unit is configured to receive a query result returned by the modem through the messaging interface via the application processor, and determine whether the number of currently available eSIM logical channels is greater than 0 based on the query result; if not, control the messaging interface to send a shutdown request to the modem, so that the modem can disable the local configuration assistant according to the shutdown request, release the occupied logical channel resources, and activate the eSIM logical channel; if yes, directly activate the eSIM logical channel.

6. A device for managing eSIM logical channels, characterized in that, The device includes: Processor, memory, input / output units, and bus; The processor is connected to the memory, the input / output unit, and the bus; The memory stores a program, which the processor invokes to perform the method as described in any one of claims 1 to 4.

7. A computer-readable storage medium having a program stored thereon, the program performing the method as described in any one of claims 1 to 4 when executed on a computer.

Citation Information

Patent Citations

  • Method and device for obtaining and processing active command between terminal and card supporting logic interface

    CN117322024A

  • Method and device for accessing data of embedded SIM card

    WO2019119544A1