Data processing method and terminal equipment

By using a microcontroller as a communication channel in the terminal device, the problem of not being able to write over the air when the default number is not preset, and the ability of terminal devices to access the operator networks in different countries or regions is realized.

CN119402838APending Publication Date: 2025-02-07QUECTEL WIRELESS SOLUTIONS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411514607.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

The terminal device cannot implement the write-in function in the air when the default number is not preset, especially when exporting to different countries or regions, it cannot pre-select the operator and pre-set the default number in eSIM.

Method used

Through the microcontroller in the terminal device as a communication channel between the local code assistant and the operator server, the data between the local code assistant and the operator server is forwarded to ensure that the local code assistant can obtain the configuration in the operator server. files so that terminal devices can access mobile networks.

Benefits of technology

In the case where the default number is not preset in the terminal device, the over-the-air write function is implemented, allowing the terminal device to access the operator's mobile network through the configuration file.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402838A_ABST
    Figure CN119402838A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and terminal equipment. The terminal equipment comprises a microcontroller, a local code number assistant and an embedded universal integrated circuit card, the data processing method comprises the steps that a local code number assistant sends a file downloading request to a microcontroller; the microcontroller sends a file downloading request to an operator server; the operator server sends a file downloading response to the microcontroller; the microcontroller sends a file downloading response to the local code number assistant; and the local code number assistant installs the configuration file in the file downloading response to the embedded universal integrated circuit card. According to the embodiment of the invention, the microcontroller in the terminal equipment is used as a communication channel between the local code number assistant and the operator server, and the function of writing the number over the air can also be realized when the default number is not preset in the terminal equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a data processing method and terminal equipment. Background Art

[0002] The over-the-air numbering technology of embedded-SIM (eSIM) usually requires that the terminal device already has a number that can be used for networking by default, so as to connect to the Subscription Manager Data Preparation Server (SM-DP+) to download the number. However, in actual applications, when the devices produced by the terminal device manufacturer are exported to different countries or regions, it is impossible to pre-select the operator and preset the default number in the eSIM, and thus the over-the-air numbering function cannot be realized. Summary of the invention

[0003] The embodiments of the present application provide a data processing method and a terminal device, which enable the terminal device to implement an air number writing function even when a default number is not preset.

[0004] On the one hand, an embodiment of the present application provides a data processing method, which is applied to a terminal device, wherein the terminal device includes a microcontroller, a local number assistant, and an embedded universal integrated circuit card; the method includes:

[0005] The microcontroller sends the file download request to the operator server in response to the file download request from the local number assistant;

[0006] The microcontroller sends the file download response to the local number assistant in response to the file download response from the operator server; wherein the file download response carries a configuration file;

[0007] The local number assistant installs the configuration file into the embedded universal integrated circuit card so that the terminal device can access the mobile network through the configuration file.

[0008] In some embodiments of the present application, the microcontroller sends the file download request to the operator server in response to the file download request from the local number assistant, including:

[0009] The microcontroller sends a second download request data packet to the operator server in response to the first download request data packet from the local number assistant;

[0010] The first download request data packet and the second download request data packet respectively carry the file download request, the first download request data packet is assembled based on a first format, the second download request data packet is assembled based on a second format, and the first format is different from the second format.

[0011] In some embodiments of the present application, the microcontroller sends the file download response to the local number assistant in response to the file download response from the operator server, including:

[0012] The microcontroller sends the download response data packet to the local number assistant in response to the download response data packet from the operator server;

[0013] The download response data packet carries the file download response, and the download response data packet is assembled based on the second format.

[0014] In some embodiments of the present application, after the local number assistant installs the configuration file into the embedded universal integrated circuit card, the method further includes:

[0015] The microcontroller sends the installation result to the operator server in response to the installation result of the configuration file by the local number assistant;

[0016] The microcontroller sends confirmation information regarding the installation result to the local number assistant in response to the confirmation information regarding the installation result from the operator server.

[0017] In some embodiments of the present application, the microcontroller responds to the file download request from the local number assistant, before sending the file download request to the operator server, further comprising:

[0018] The microcontroller sends the first identity authentication request to the operator server in response to the first identity authentication request from the local number assistant;

[0019] The microcontroller sends the first identity authentication response to the local number assistant in response to the first identity authentication response from the operator server;

[0020] The local number assistant sends a second identity authentication request to the embedded universal integrated circuit card according to the first identity authentication response; wherein the first identity authentication response and the second identity authentication request respectively include encrypted authentication information;

[0021] After the embedded universal integrated circuit card performs identity authentication on the operator server according to the encrypted authentication information, it sends a second identity authentication response to the local number assistant.

[0022] In some embodiments of the present application, the microcontroller sends the first identity authentication request to the operator server in response to the first identity authentication request from the local number assistant, including:

[0023] The microcontroller sends a second authentication request data packet to the operator server in response to the first authentication request data packet from the local number assistant;

[0024] The first authentication request data packet and the second authentication request data packet respectively carry the first identity authentication request, the first authentication request data packet is assembled based on a first format, the second authentication request data packet is assembled based on a second format, and the first format is different from the second format.

[0025] In some embodiments of the present application, the microcontroller sends the first identity authentication response to the local number assistant in response to the first identity authentication response from the operator server, including:

[0026] The microcontroller sends the first authentication response data packet to the local number assistant in response to the first authentication response data packet from the operator server;

[0027] The first authentication response data packet carries the first identity authentication response, and the first authentication response data packet is assembled based on the second format.

[0028] In some embodiments of the present application, after the embedded universal integrated circuit card performs identity authentication on the operator server according to the encrypted authentication information and sends a second identity authentication response to the local number assistant, it also includes:

[0029] The microcontroller sends the second identity authentication response to the operator server in response to the second identity authentication response from the local number assistant;

[0030] The microcontroller sends confirmation information for the second identity authentication response to the local number assistant in response to the confirmation information of the operator server for the second identity authentication response.

[0031] In some embodiments of the present application, before the microcontroller sends the first identity authentication request to the operator server in response to the first identity authentication request from the local number assistant, the microcontroller further includes:

[0032] The local number assistant generates the first identity authentication request in response to the download indication information from the microcontroller and according to the authentication information from the embedded universal integrated circuit card.

[0033] On the other hand, an embodiment of the present application provides a terminal device, the terminal device comprising a microcontroller, a local number assistant and an embedded universal integrated circuit card; wherein,

[0034] The microcontroller is used to respond to the file download request from the local number assistant and send the file download request to the operator server; respond to the file download response from the operator server and send the file download response to the local number assistant; wherein the file download response carries a configuration file;

[0035] The local code assistant is used to install the configuration file into the embedded universal integrated circuit card so that the terminal device can access the mobile network through the configuration file.

[0036] In the embodiment of the present application, for the situation where no default number is preset in the terminal device, the microcontroller in the terminal device is used as the communication channel between the local number assistant and the operator server, that is, the data between the local number assistant and the operator server is forwarded through the microcontroller, ensuring that the local number assistant can obtain the configuration file in the operator server, so that the terminal device can access the operator's mobile network through the configuration file when it is subsequently activated, and the air number writing function can also be realized when the default number is not preset in the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of 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 invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0038] Figure 1 It is a schematic diagram of the architecture of a data processing system;

[0039] Figure 2 It is a schematic diagram of the architecture of a data processing system provided in an embodiment of the present application;

[0040] Figure 3 It is a flowchart of a data processing method provided in an embodiment of the present application;

[0041] Figure 4 It is a flowchart of another data processing method provided in an embodiment of the present application;

[0042] Figure 5It is a flowchart of another data processing method provided in an embodiment of the present application;

[0043] Figure 6 It is a flowchart of another data processing method provided in an embodiment of the present application;

[0044] Figure 7 It is a flowchart of another data processing method provided in an embodiment of the present application;

[0045] Figure 8 It is a schematic diagram of parameter definition provided in an embodiment of the present application;

[0046] Fig. 9 is a schematic diagram of another parameter definition provided in an embodiment of the present application;

[0047] Fig.10 It is a flowchart of another data processing method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0049] In the following description, specific embodiments of the present invention will be described with reference to steps and symbols performed by one or more computers, unless otherwise specified. Therefore, these steps and operations will be mentioned several times as being performed by a computer, and computer execution referred to herein includes operations by a computer processing unit of electronic signals representing data in a structured form. This operation converts the data or maintains it at a location in the memory system of the computer, which can be reconfigured or otherwise change the operation of the computer in a manner familiar to testers in the field. The data structure maintained by the data is a physical location in the memory, which has specific characteristics defined by the data format. However, the principles of the present invention are described in the above text, which does not represent a limitation, and those skilled in the art will understand that the various steps and operations described below can also be implemented in hardware.

[0050] The term "module" or "unit" used herein can be regarded as a software object executed on the computing system. The different components, modules, engines and services described herein can be regarded as implementation objects on the computing system. The apparatus and method described herein are preferably implemented in software, but can also be implemented in hardware, all within the scope of protection of the present invention.

[0051] Those skilled in the art will appreciate that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when an element is "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0052] eSIM is a technology that embeds the pluggable SIM card used in traditional communications into the device chip, including machine-to-machine (M2M) eSIM for IoT scenarios and consumer (Consumer) eSIM for consumer electronics scenarios. The two use different technologies for writing numbers over the air. The eSIM mentioned in the embodiments of the present application may refer to Consumer eSIM.

[0053] eSIM allows users to manage the numbers in eSIM at any time through the Local Profile Assistant (LPA) integrated on the terminal device, including querying, downloading or switching to new operator numbers. Compared with the traditional SIM card model, eSIM has the characteristics of small footprint, lower physical card cost and greater security, and is the future development trend of the communications industry.

[0054] The eSIM over-the-air numbering technology is usually based on the user's need to switch operators during the use of the terminal device. When the user purchases a new number, it is downloaded and switched to the new number through LPA. Usually this requires that the terminal device has a default number that can be used for networking in order to achieve the purpose of connecting to SM-DP+ downloading the number. Figure 1 As shown, the LPA in the communication module of the terminal device establishes a communication connection with the SM-DP+. After the communication module uses the default number to connect to the network, the number is downloaded through the network protocol stack inside the communication module to realize air number writing.

[0055] However, in actual applications, when the equipment produced by terminal equipment manufacturers is exported to different countries or regions, it is impossible to pre-select the operator and preset the default number in the eSIM, and thus the over-the-air number writing function cannot be realized.

[0056] In view of this, an embodiment of the present application provides a data processing method and a terminal device, which can enable the terminal device to write a number over the air even when a default number is not preset.

[0057] See also Figure 2 , Figure 2 1 is a schematic diagram of the architecture of a data processing system provided in an embodiment of the present application. The data processing system may include: an operator server 10 and a terminal device 20.

[0058] The operator server 10 is implemented as SM-DP+. The operator server is used to create, manage and distribute the operator's configuration files, which usually include the operator's network access information, so that the terminal device can access the operator's mobile network through the configuration file. Different operators can be configured with different operator servers 10. Figure 2 For ease of description, an operator server 10 is taken as an example for introduction and explanation, which does not constitute a limitation to the present application.

[0059] The terminal device 20 supports eSIM, which can usually be implemented using an embedded universal integrated circuit card (eUICC). In other words, the terminal device 20 is integrated with an eSIM, which includes an eUICC. There are usually multiple terminal devices 20, and one terminal device 20 can communicate with one or more operator servers 10. Figure 2 For ease of description, a terminal device 20 is taken as an example for introduction and explanation, which does not constitute a limitation to the present application.

[0060] In the embodiment of the present application, the terminal device 20 includes a microcontroller unit (MCU) 21 and a communication module 22. The MCU 21 may provide a local user interface (LUI), which is a management interface provided to the user to control the eSIM. The communication module 22 includes an LPA, which is a program entity for profile management and downloading. Figure 2 As shown, the MCU 21 in the terminal device and the LPA in the communication module 22 can communicate based on a universal asynchronous receiver / transmitter (UART); the MCU 21 in the terminal device and the operator server 10 communicate through a device network, which can be a wireless network such as WIFI (Wireless Fidelity) or Bluetooth, or a wired network such as Ethernet.

[0061] One thing that needs to be explained is that Figure 2 The data processing system shown is merely an example. The data processing system and scenario described in the embodiments of the present application are intended to more clearly illustrate the technical solution of the embodiments of the present application, and do not constitute a limitation on the technical solution provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of data processing systems and the emergence of new business scenarios, the technical solution provided in the embodiments of the present application is equally applicable to similar technical problems.

[0062] The following describes it in detail with reference to specific embodiments.

[0063] See also Figure 3 , Figure 3 1 is a flow chart of a data processing method provided by an embodiment of the present application. The data processing method can be implemented by a data processing system. The data processing system includes an operator server and a terminal device. The terminal device includes a microcontroller, a local number assistant and an embedded universal integrated circuit card. Figure 3 As shown, the data processing method includes:

[0064] Step 111: the local code assistant sends a file download request to the microcontroller;

[0065] Step 112: The microcontroller sends a file download request to the operator server;

[0066] Step 113: The operator server sends a file download response to the microcontroller;

[0067] Step 114: the microcontroller sends a file download response to the local code assistant;

[0068] Step 115: The local code assistant installs the configuration file in the file download response to the embedded universal integrated circuit card.

[0069] In the case where the default number is not preset in the terminal device, the embodiment of the present application uses the microcontroller in the terminal device as the communication channel between the local code number assistant and the operator server (such as SM-DP+) in the terminal device, that is, the message between the local code number assistant and the operator server is forwarded by the microcontroller. In order to facilitate the subsequent access of the terminal device to the operator's mobile network, the terminal device needs to download the operator's configuration file first. Based on this, in the embodiment of the present application, the local code number assistant sends a file download request to the microcontroller to request to download the operator's configuration file; the microcontroller responds to the file download request from the local code number assistant and sends the file download request to the operator server; the operator server responds to the file download request, obtains the configuration file, and returns a file download response to the microcontroller, which carries the configuration file in the file download response; the microcontroller responds to the file download response from the operator server and sends the file download response to the local code number assistant; thus, the local code number assistant parses the configuration file from the file download response and installs the configuration file to the embedded universal integrated circuit card so that the terminal device can access the mobile network through the configuration file. It should be understood that the operator corresponding to the configuration file obtained by the terminal device, the operator corresponding to the operator server, and the operator corresponding to the mobile network accessed by the terminal device through the configuration file are the same operator.

[0070] The local code number assistant in the terminal device can assemble data based on a first format, and the microcontroller can assemble data based on a second format, and the first format is different from the second format. It can be seen from the above embodiments that the microcontroller and the local code number assistant in the terminal device can communicate based on UART, and the operator server and the microcontroller in the terminal device can communicate based on the device network. Thus, the local code number assistant in the terminal device can assemble data based on JavaScript Object Notation (JSON) and send it to the microcontroller, and the microcontroller assembles data based on Hypertext Transfer Protocol (HTTP) and sends it to the operator server. Based on this, Figure 4 As shown, the data processing method in the embodiment of the present application includes:

[0071] Step 121: the local code assistant sends a first download request data packet to the microcontroller, where the first download request data packet is assembled based on a first format;

[0072] Step 122: The microcontroller sends a second download request data packet to the operator server, where the second download request data packet is assembled based on the second format;

[0073] Step 123: The operator server sends a download response data packet to the microcontroller, where the download response data packet is assembled based on the second format;

[0074] Step 124: the microcontroller sends a download response data packet to the local code assistant;

[0075] Step 125: The local code assistant installs the configuration file in the download response data packet into the embedded universal integrated circuit card.

[0076] Among them, the first download request data packet and the second download request data packet respectively carry file download requests, the first download request data packet is assembled based on the first format, and the second download request data packet is assembled based on the second format. Optionally, the first format is different from the second format, for example, the first format is JSON format, and the second format is HTTP format or HTTPX format, etc. Taking the first format as JSON format and the second format as HTTP format as an example, in an embodiment of the present application, the local code assistant in the terminal device assembles the file download request into JSON format to obtain a first download request data packet, and sends the first download request data packet to the microcontroller; after receiving the first download request data packet, the microcontroller in the terminal device assembles the file download request in the first download request data packet into HTTP format to obtain a second download request data packet, and sends the second download request data packet to the operator server.

[0077] In addition, the download response data packet returned by the operator server carries the file download response, and the download response data packet is assembled based on the second format. Taking the second format as the HTTP format as an example, in the embodiment of the present application, the operator server assembles the file download response into the HTTP format to obtain the download response data packet, and sends the download response data packet to the microcontroller in the terminal device; after receiving the download response data packet, the microcontroller in the terminal device directly transmits the download response data packet to the local code number assistant in the terminal device; the local code number assistant in the terminal device parses the HTTP format download response data packet to obtain the configuration file carried therein.

[0078] The embodiments of the present application do not limit the specific content of the file download request and the file download response. Optionally, the file download request includes but is not limited to: device information such as the identification, version and / or capability of the embedded universal integrated circuit card; device information such as the address and / or identification of the operator server. Optionally, the file download response carries a configuration file, which includes but is not limited to authentication data, service configuration, user subscription information, and security keys and certificates.

[0079] In one example, after the local number assistant in the terminal device installs the configuration file into the embedded universal integrated circuit card, it can feedback the installation result to the operator server so that the operator server can clearly understand the installation result. Figure 5 As shown, in one example, after the above step 115, the following steps are also included:

[0080] Step 116: The local code assistant sends the installation result of the configuration file to the microcontroller;

[0081] Step 117: The microcontroller sends the installation result to the operator server;

[0082] Step 118: The operator server sends confirmation information regarding the installation result to the microcontroller;

[0083] Step 119: The microcontroller sends a confirmation message regarding the installation result to the local code assistant.

[0084] The installation result for the configuration file includes installation success or installation failure. The local number assistant in the terminal device can assemble the installation result into a first format (such as JSON format) and send the installation result in the first format to the microcontroller in the terminal device; after receiving the installation result in the first format, the microcontroller in the terminal device assembles the installation result into a second format (such as HTTP format) and sends the installation result in the second format to the operator server.

[0085] The confirmation information for the installation result includes but is not limited to confirmation of successful installation or confirmation of installation failure, confirmation of installation completion, confirmation of receipt of installation results, etc. The operator server assembles the confirmation information into a second format (such as HTTP format) and sends the confirmation information in the second format to the microcontroller in the terminal device; the microcontroller in the terminal device transparently transmits the confirmation information in the second format to the local number assistant in the terminal device.

[0086] To summarize, the embodiments of the present application target the situation where no default number is preset in the terminal device. The microcontroller in the terminal device is used as the communication channel between the local number assistant and the operator server. That is, the data between the local number assistant and the operator server is forwarded through the microcontroller, ensuring that the local number assistant can obtain the configuration file in the operator server, so that the terminal device can access the operator's mobile network through the configuration file when it is subsequently activated, and the air number writing function can be realized when no default number is preset in the terminal device.

[0087] In one example, to improve the security of air number writing, Figure 6 As shown, before the above step 111, the following steps are also included:

[0088] Step 011: The local number assistant sends a first identity authentication request to the microcontroller;

[0089] Step 012: The microcontroller sends a first identity authentication request to the operator server;

[0090] Step 013: The operator server sends a first identity authentication response to the microcontroller;

[0091] Step 014: the microcontroller sends a first identity authentication response to the local number assistant;

[0092] Step 015: The local number assistant sends a second identity authentication request to the embedded universal integrated circuit card according to the first identity authentication response;

[0093] Step 016: The embedded universal integrated circuit card performs identity authentication on the operator server according to the encrypted authentication information in the second identity authentication request;

[0094] Step 017: The embedded universal integrated circuit card sends a second identity authentication response to the local number assistant.

[0095] The embodiment of the present application does not limit the specific content of the first identity authentication request and the first identity authentication response. Optionally, the first identity authentication request includes but is not limited to: eUICCinfo and / or challenge; wherein eUICCinfo is a data structure containing detailed information of an embedded universal integrated circuit card, such as a unique identifier, version, and capabilities of the embedded universal integrated circuit card; challenge is a security token. Optionally, the first identity authentication response includes but is not limited to an encrypted challenge, that is, the operator server encrypts the challenge and returns it to the embedded universal integrated circuit card.

[0096] Among them, the operator server sends a first identity authentication response to the microcontroller in the terminal device, and the microcontroller transmits the first identity authentication response to the local code number assistant in the terminal device; the local code number assistant in the terminal device reassembles the first identity authentication response into a second identity authentication request, and the first identity authentication response and the second identity authentication request respectively include encrypted authentication information, such as an encrypted challenge; then the local code number assistant sends the second identity authentication request to the embedded universal integrated circuit card, so that the embedded universal integrated circuit card authenticates the operator server according to the encrypted authentication information, and returns the second identity authentication response to the local code number assistant.

[0097] The embodiment of the present application does not limit the specific content of the second identity authentication request and the second identity authentication response. Optionally, in addition to the encrypted authentication information, the second identity authentication request may also include the address, signature or encryption method of the operator server. Optionally, the second identity authentication response includes an authentication result, which includes that the operator identity is legal or that the operator identity is illegal. The embedded universal integrated circuit card authenticates the operator server based on its own stored certificate and the content in the second identity authentication request, and returns a second identity authentication response.

[0098] From the above embodiments, it can be seen that the local number assistant in the terminal device can assemble data based on the first format (such as JSON) and send it to the microcontroller, and the microcontroller assembles data based on the second format (such as HTTP) and sends it to the operator server. Figure 7 As shown, the above steps 011 to 014 can be implemented as the following steps:

[0099] Step 021: The local number assistant sends a first authentication request data packet to the microcontroller, where the first authentication request data packet is assembled based on a first format;

[0100] Step 022: The microcontroller sends a second authentication request data packet to the operator server, where the second authentication request data packet is assembled based on the second format;

[0101] Step 023: The operator server sends a first authentication response data packet to the microcontroller, where the first authentication response data packet is assembled based on the second format;

[0102] Step 024: The microcontroller sends a first authentication response data packet to the local number assistant.

[0103] Among them, the first authentication request data packet and the second authentication request data packet respectively carry the first identity authentication request, the first authentication request data packet is assembled based on the first format, and the second authentication request data packet is assembled based on the second format. Optionally, the first format is different from the second format, for example, the first format is JSON format, and the second format is HTTP format or HTTPX format, etc. Taking the first format as JSON format and the second format as HTTP format as an example, in an embodiment of the present application, the local number assistant in the terminal device assembles the first identity authentication request into JSON format to obtain the first authentication request data packet, and sends the first authentication request data packet to the microcontroller; after the microcontroller in the terminal device receives the first authentication request data packet, it assembles the first identity authentication request in the first authentication request data packet into HTTP format to obtain the second authentication request data packet, and sends the second authentication request data packet to the operator server.

[0104] In addition, the first authentication response data packet carries the first identity authentication response, and the first authentication response data packet is assembled based on the second format. Taking the second format as the HTTP format as an example, in the embodiment of the present application, the operator server assembles the first identity authentication response into the HTTP format to obtain the first authentication response data packet, and sends the first authentication response data packet to the microcontroller in the terminal device; after the microcontroller in the terminal device receives the first authentication response data packet, it directly transmits the first authentication response data packet to the local code assistant in the terminal device; the local code assistant in the terminal device parses the first authentication response data packet to obtain the encrypted authentication information carried therein.

[0105] In one example, after receiving the identity authentication result of the embedded universal integrated circuit card for the operator server, the local number assistant can feed back the identity authentication result to the operator server so that the operator server can clarify the identity authentication result. Figure 6 As shown, after the above step 017, the following steps are also included:

[0106] Step 031: The local number assistant sends a second identity authentication response to the microcontroller;

[0107] Step 032: The microcontroller sends a second identity authentication response to the operator server;

[0108] Step 033: The operator server sends confirmation information for the second identity authentication response to the microcontroller;

[0109] Step 034: The microcontroller sends a confirmation message for the second identity authentication response to the local number assistant.

[0110] The local code assistant in the terminal device can assemble the second identity authentication response into a first format (such as JSON format) and send the second identity authentication response in the first format to the microcontroller; after the microcontroller in the terminal device receives the second identity authentication response in the first format, it assembles the second identity authentication response into a second format (such as HTTP format) and sends the second identity authentication response in the second format to the operator server.

[0111] The confirmation information for the second identity authentication response includes confirmation that the identity of the operator server is legitimate or that the identity of the operator server is illegitimate, confirmation that the second identity authentication response is received, confirmation that the identity authentication is complete, etc. The operator server assembles the confirmation information into a second format (such as HTTP format) and sends the confirmation information in the second format to the microcontroller in the terminal device; the microcontroller in the terminal device transparently transmits the confirmation information in the second format to the local number assistant in the terminal device.

[0112] In one example, if Figure 6As shown, before the above step 011, the following steps are also included:

[0113] Step 001: The microcontroller sends download instruction information to the local code assistant;

[0114] Step 002: The local number assistant sends an authentication information acquisition request to the embedded universal integrated circuit card;

[0115] Step 003: The embedded universal integrated circuit card sends authentication information to the local number assistant;

[0116] Step 004: The local number assistant generates a first identity authentication request based on the authentication information.

[0117] That is, in the embodiment of the present application, the microcontroller triggers the download process of the configuration file. After the microcontroller initiates the download process through the download indication information, it first performs the identity authentication process, and then performs the configuration file download process to prevent unauthorized configuration files from being installed on the embedded universal integrated circuit card.

[0118] In summary, the embodiment of the present application performs identity authentication on the operator server before downloading the configuration file to prevent unauthorized configuration files from being installed on the embedded universal integrated circuit card, thereby improving the security of the terminal device.

[0119] The following is an introduction to the data processing method provided in the embodiment of the present application using a specific example.

[0120] Please refer to Figure 8 , Figure 8 It is a flow chart of a data processing method provided in an embodiment of the present application. The data processing method can be implemented by a data processing system. The data processing system includes an operator server and a terminal device. The terminal device includes an MCU, an LPA and an eUICC.

[0121] The serial communication logic between MCU and LPA is carried out through two specially designed ATs:

[0122] 1. AT+QESIM=”download”: used to start the profile download process; when the profile download and installation process is completed, LPA will report a corresponding result code (success or failure) to indicate the profile installation result; Figure 8 The relevant parameters of the AT+QESIM=”download” command are shown;

[0123] 2. AT+QESIM="trans": used to forward operator server data to LPA. If LPA successfully resolves the data, it will report: +QESIM: "trans", 0, <url> , <payloadlen> , <payload>; If LPA parsing encounters an error, report it: +QESIM:"trans", <result> [, <errinfo1> , <errinfo2>], used to indicate the type of error encountered by LPA; Fig. 9 The relevant parameters of the AT+QESIM="download" command are shown.

[0124] The following shows an example of the execution and return content of two AT commands:

[0125] AT+QESIM=”download” execution content:

[0126] AT+QESIM="download","LPA:1$demo-consumer.validspereachdpplus.com$1BINSTP8J0EFCWLLE4JY4S0YGO7II40ZXSQESI06THYWPLZ-W65CXYWK5-KPZJCZ"

[0127] +QESIM:"trans",0," / gsma / rsp2 / es9plus / initiateAuthentication",195,"{"euiccCh allenge":"WbVmufInshaRFR2d / Vm+1w==","euiccInfo1":"vyA1ggMCAgKpFgQUgTcPUSXQsdQI1MOyMubSXnlb6 / uqFgQUgTcPUSXQsdQI1MOyMubSXnlb6 / uQ AA==","smdpAddress":"demo-consumer.validspereachdpplus.com"}"

[0128] AT+QESIM=”download” response content:

[0129] OK

[0130] AT+QESIM=”trans” execution content:

[0131] AT+QESIM="trans",124,0,0,124,"776167517071436145596C5A75514967525243594A78646 135784767546C7073436A317A5868376E496666624261536B7537386834626177354F6F3D227D"

[0132] +QESIM:"trans",0

[0133] AT+QESIM=”trans” returns:

[0134] OK

[0135] like Fig.10 As shown, the data processing method includes:

[0136] Step 1001: MCU initiates the download process through AT+QESIM="download" and carries relevant parameters; the relevant parameters include but are not limited to Figure 8 The activationCode and confirmationCode shown in;

[0137] Step 1002: LPA performs data analysis;

[0138] Step 1003: If the LPA fails in parsing, it returns an error message to the MCU;

[0139] Step 1004: LPA requests eUICCinfo and challenge from eUICC;

[0140] Step 1005: the eUICC returns eUICCinfo and challenge to the LPA;

[0141] Step 1006: LPA assembles data such as eUICCinfo and challenge into JSON format;

[0142] Step 1007: The LPA sends a first data packet to the MCU; the first data packet carries data such as eUICCinfo and challenge in JSON format;

[0143] Step 1008: The MCU assembles data such as eUICCinfo and challenge into HTTP format;

[0144] Step 1009: the MCU sends a first HTTP request to the operator server; the first HTTP request carries data such as eUICCinfo and challenge in HTTP format;

[0145] Step 1010: the operator server sends a first HTTP response to the MCU; the first HTTP response carries encrypted challenge and other data;

[0146] Step 1011: MCU transparently transmits the first HTTP response to LPA via AT+QESIM="trans";

[0147] Step 1012: LPA parses the first HTTP response, performs data verification and APDU assembly;

[0148] Step 1013: If the LPA fails in parsing, it returns an error message to the MCU;

[0149] Step 1014: LPA sends an authentication request to the eUICC; the authentication request carries encrypted challenge and other data;

[0150] Step 1015: The eUICC sends an authentication response to the LPA.

[0151] Step 1016: LPA assembles the authentication response into JSON format;

[0152] Step 1017: LPA sends a second data packet to the MCU; the second data packet carries an authentication response in JSON format;

[0153] Step 1018: The MCU assembles the authentication response into HTTP format;

[0154] Step 1019: The MCU sends a second HTTP request to the operator server; the second HTTP request carries an authentication response in HTTP format;

[0155] Step 1020: The operator server sends a second HTTP response to the MCU;

[0156] Step 1021: MCU transparently transmits the second HTTP response to LPA via AT+QESIM="trans";

[0157] Step 1022: LPA parses the second HTTP response, performs data verification and APDU assembly;

[0158] Step 1023: If the LPA fails in parsing, it returns an error message to the MCU;

[0159] Step 1024: LPA sends a pre-download request to the eUICC;

[0160] Step 1025: The eUICC sends a pre-download response to the LPA.

[0161] Step 1026: LPA assembles the file download request into JSON format;

[0162] Step 1027: The LPA sends a third data packet to the MCU; the third data packet carries a file download request in JSON format;

[0163] Step 1028: The MCU assembles the file download request into HTTP format;

[0164] Step 1029: The MCU sends a third HTTP request to the operator server; the third HTTP request carries a file download request in HTTP format;

[0165] Step 1030: The operator server sends a third HTTP response to the MCU; the third HTTP response carries the configuration file;

[0166] Step 1031: MCU transparently transmits the third HTTP response to LPA via AT+QESIM="trans";

[0167] Step 1032: The LPA parses the configuration file from the third HTTP response;

[0168] Step 1033: The LPA installs the configuration file to the eUICC;

[0169] Step 1034: LPA sends a fourth data packet to the MCU; the fourth data packet carries the installation result in JSON format;

[0170] Step 1035: The MCU assembles the installation result into HTTP format;

[0171] Step 1036: the MCU sends a fourth HTTP request to the operator server; the fourth HTTP request carries the installation result in HTTP format;

[0172] Step 1037: The operator server sends a fourth HTTP response to the MCU;

[0173] Step 1038: The MCU transparently transmits the fourth HTTP response to the LPA via AT+QESIM="trans";

[0174] Step 1039: LPA notifies the eUICC of the reporting result;

[0175] Step 1040: eUICC responds successfully;

[0176] Step 1041: LPA sends +QESIM:"download" to MCU. <result>.

[0177] It should be noted that, for the convenience of description, the embodiment of the present application introduces and explains the data processing method provided in the embodiment of the present application from the perspective of the interaction between the terminal device and the operator server, but this does not constitute a limitation on the embodiment of the present application. The steps executed by the terminal device in the above embodiment can be independently implemented as a data processing method on the terminal device side; the steps executed by the operator server in the above embodiment can be independently implemented as a data processing method on the operator server side.

[0178] The embodiment of the present application also provides a terminal device, which includes a microcontroller, a local number assistant and an embedded universal integrated circuit card; wherein,

[0179] The microcontroller is used to respond to the file download request from the local number assistant and send the file download request to the operator server; respond to the file download response from the operator server and send the file download response to the local number assistant; wherein the file download response carries a configuration file;

[0180] The local code assistant is used to install the configuration file into the embedded universal integrated circuit card so that the terminal device can access the mobile network through the configuration file.

[0181] In one example,

[0182] The local code number assistant is also used to send a first download request data packet to the microcontroller;

[0183] The microcontroller is further configured to send a second download request data packet to the operator server;

[0184] The first download request data packet and the second download request data packet respectively carry the file download request, the first download request data packet is assembled based on a first format, the second download request data packet is assembled based on a second format, and the first format is different from the second format.

[0185] In one example,

[0186] The microcontroller is further configured to send the download response data packet to the local number assistant in response to the download response data packet from the operator server;

[0187] The download response data packet carries the file download response, and the download response data packet is assembled based on the second format.

[0188] In one example,

[0189] The local code assistant is also used to send the installation result of the configuration file to the microcontroller;

[0190] The microcontroller is further configured to send the installation result to the operator server; and in response to confirmation information from the operator server regarding the installation result, send confirmation information regarding the installation result to the local number assistant.

[0191] In one example,

[0192] The local code number assistant is also used to send a first identity authentication request to the microcontroller;

[0193] The microcontroller is further configured to send the first identity authentication request to the operator server; in response to the first identity authentication response from the operator server, send the first identity authentication response to the local number assistant;

[0194] The local number assistant is further configured to send a second identity authentication request to the embedded universal integrated circuit card according to the first identity authentication response; wherein the first identity authentication response and the second identity authentication request respectively include encrypted authentication information;

[0195] The embedded universal integrated circuit card is also used to send a second identity authentication response to the local number assistant after performing identity authentication on the operator server according to the encrypted authentication information.

[0196] In one example,

[0197] The local code number assistant is also used to send a first authentication request data packet to the microcontroller;

[0198] The microcontroller is further configured to send a second authentication request data packet to the operator server;

[0199] The first authentication request data packet and the second authentication request data packet respectively carry the first identity authentication request, the first authentication request data packet is assembled based on a first format, the second authentication request data packet is assembled based on a second format, and the first format is different from the second format.

[0200] In one example,

[0201] The microcontroller is further configured to send the first authentication response data packet to the local number assistant in response to the first authentication response data packet from the operator server;

[0202] The first authentication response data packet carries the first identity authentication response, and the first authentication response data packet is assembled based on the second format.

[0203] In one example,

[0204] The local code number assistant is also used to send the second identity authentication response to the microcontroller;

[0205] The microcontroller is also used to send the second identity authentication response to the operator server; in response to the confirmation information of the operator server for the second identity authentication response, send confirmation information for the second identity authentication response to the local number assistant.

[0206] In one example,

[0207] The microcontroller is also used to send download instruction information to the local code assistant;

[0208] The local number assistant is also used to generate the first identity authentication request according to the authentication information from the embedded universal integrated circuit card.

[0209] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0210] To this end, the embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the steps in any one of the data processing methods provided in the embodiment of the present application. The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0211] Since the computer program stored in the computer-readable storage medium can execute the steps in any data processing method provided in the embodiments of the present application, the beneficial effects that can be achieved by any data processing method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0212] The embodiment of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the terminal device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the terminal device executes the method provided in various optional implementations of the above embodiments.

[0213] The above is a detailed introduction to a data processing method and a terminal device provided in an embodiment of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present invention.< / result> < / errinfo1> < / result> < / payload> < / payloadlen> < / url>

Claims

1. A data processing method, characterized in that: Applied to a terminal device, the terminal device includes a microcontroller, a local number assistant and an embedded universal integrated circuit card; the method includes: The microcontroller sends the file download request to the operator server in response to the file download request from the local number assistant; The microcontroller sends the file download response to the local number assistant in response to the file download response from the operator server; wherein the file download response carries a configuration file; The local number assistant installs the configuration file into the embedded universal integrated circuit card so that the terminal device can access the mobile network through the configuration file.

2. The data processing method according to claim 1, characterized in that: The microcontroller sends the file download request to the operator server in response to the file download request from the local number assistant, including: The microcontroller sends a second download request data packet to the operator server in response to the first download request data packet from the local number assistant; The first download request data packet and the second download request data packet respectively carry the file download request, the first download request data packet is assembled based on a first format, the second download request data packet is assembled based on a second format, and the first format is different from the second format.

3. The data processing method according to claim 1, characterized in that: The microcontroller sends the file download response to the local number assistant in response to the file download response from the operator server, including: The microcontroller sends the download response data packet to the local number assistant in response to the download response data packet from the operator server; The download response data packet carries the file download response, and the download response data packet is assembled based on the second format.

4. The data processing method according to claim 1, characterized in that: After the local number assistant installs the configuration file into the embedded universal integrated circuit card, the method further includes: The microcontroller sends the installation result to the operator server in response to the installation result of the configuration file by the local number assistant; The microcontroller sends confirmation information regarding the installation result to the local number assistant in response to the confirmation information regarding the installation result from the operator server.

5. The data processing method according to claim 1, characterized in that: The microcontroller responds to the file download request from the local number assistant, before sending the file download request to the operator server, further comprising: The microcontroller sends the first identity authentication request to the operator server in response to the first identity authentication request from the local number assistant; The microcontroller sends the first identity authentication response to the local number assistant in response to the first identity authentication response from the operator server; The local number assistant sends a second identity authentication request to the embedded universal integrated circuit card according to the first identity authentication response; wherein the first identity authentication response and the second identity authentication request respectively include encrypted authentication information; After the embedded universal integrated circuit card performs identity authentication on the operator server according to the encrypted authentication information, it sends a second identity authentication response to the local number assistant.

6. The data processing method according to claim 5, characterized in that: The microcontroller sends the first identity authentication request to the operator server in response to the first identity authentication request from the local number assistant, including: The microcontroller sends a second authentication request data packet to the operator server in response to the first authentication request data packet from the local number assistant; The first authentication request data packet and the second authentication request data packet respectively carry the first identity authentication request, the first authentication request data packet is assembled based on a first format, the second authentication request data packet is assembled based on a second format, and the first format is different from the second format.

7. The data processing method according to claim 5, characterized in that: The microcontroller sends the first identity authentication response to the local number assistant in response to the first identity authentication response from the operator server, including: The microcontroller sends the first authentication response data packet to the local number assistant in response to the first authentication response data packet from the operator server; The first authentication response data packet carries the first identity authentication response, and the first authentication response data packet is assembled based on the second format.

8. The data processing method according to claim 5, characterized in that: After the embedded universal integrated circuit card performs identity authentication on the operator server according to the encrypted authentication information and sends a second identity authentication response to the local number assistant, the method further includes: The microcontroller sends the second identity authentication response to the operator server in response to the second identity authentication response from the local number assistant; The microcontroller sends confirmation information for the second identity authentication response to the local number assistant in response to the confirmation information of the operator server for the second identity authentication response.

9. The data processing method according to claim 5, characterized in that: Before the microcontroller sends the first identity authentication request to the operator server in response to the first identity authentication request from the local number assistant, the method further includes: The local number assistant generates the first identity authentication request in response to the download indication information from the microcontroller and according to the authentication information from the embedded universal integrated circuit card.

10. A terminal device, characterized in that: The terminal device includes a microcontroller, a local code assistant and an embedded universal integrated circuit card; wherein, The microcontroller is used to respond to the file download request from the local number assistant and send the file download request to the operator server; respond to the file download response from the operator server and send the file download response to the local number assistant; wherein the file download response carries a configuration file; The local code assistant is used to install the configuration file into the embedded universal integrated circuit card so that the terminal device can access the mobile network through the configuration file.