Information transmission method, related equipment, storage medium and computer product

By actively pushing differential data through the gateway and combining the double buffer mechanism and get response instructions to optimize the data transmission of the SIM card, the problem of long delay in the SIM card obtaining differential data is solved, and a more efficient positioning service is achieved.

CN120676344APending Publication Date: 2025-09-19CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410317513.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-19
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

The existing SIM card has a long delay in obtaining differential data, which affects the efficiency of positioning services.

Method used

The differential data is actively pushed to the SIM card through the gateway, using the HTTP security protocol request method, combined with the double buffer mechanism and get response instructions to optimize data transmission and storage.

Benefits of technology

It shortens the push cycle of differential data, reduces latency, and improves the efficiency and security of positioning services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120676344A_ABST
    Figure CN120676344A_ABST
Patent Text Reader

Abstract

The invention discloses an information transmission method, related equipment, a storage medium and a computer product, and the method comprises the steps: transmitting differential data to a user identity recognition card of a terminal, the differential data being used for positioning the terminal; and receiving a first response sent by the user identity identification card, wherein the first response is used for indicating that the user identity identification card finishes writing the differential data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular to an information transmission method, related equipment, storage medium, and computer product. Background Art

[0002] The Subscriber Identification Module (SIM) card provides positioning services. The positioning service integration capability is ported to the card, which then takes the lead in acquiring positioning differential data.

[0003] In the current solution for obtaining differential data using a SIM card, there is a long delay from initiating a positioning request to obtaining the final positioning result. Summary of the Invention

[0004] The embodiments of the present application provide an information transmission method, related equipment, storage medium and computer product.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The present invention provides an information transmission method, which is applied to a gateway and includes:

[0007] Sending differential data to a user identification card of a terminal, wherein the differential data is used to locate the terminal;

[0008] A first response sent by the user identity identification card is received, where the first response is used to indicate that the user identity identification card has completed writing the differential data.

[0009] In the above solution, the step of sending the differential data to the user identification card of the terminal includes:

[0010] A Hypertext Transfer Protocol Security request is sent to the user identification card, where the Hypertext Transfer Protocol Security request includes the differential data.

[0011] The present application provides an information transmission method, which is applied to a communication module of a terminal, including:

[0012] receiving a differential data acquisition request sent by the micro control unit of the terminal;

[0013] A differential data acquisition response is sent to the micro control unit, where the differential data acquisition response includes all differential data.

[0014] In the above solution, after receiving the differential data acquisition request sent by the micro control unit of the terminal, the method further includes:

[0015] Sending the differential data acquisition request to the user identity card of the terminal;

[0016] receiving a second response sent by the user identity identification card, where the second response is used to indicate that the user identity identification card has received the differential data acquisition request;

[0017] Sending each get response instruction to the user identification card in sequence;

[0018] Each third response sent by the user identification card in response to each get response instruction is received, wherein each third response includes differential data corresponding to each get response instruction, and all differential data include differential data corresponding to each get response instruction.

[0019] The present invention provides an information transmission method, which is applied to a user identity card of a terminal, including:

[0020] receiving differential data sent by a gateway, wherein the differential data is used to locate the terminal;

[0021] A first response is sent to the gateway, where the first response is used to indicate that the user identity card has completed writing the differential data.

[0022] In the above solution, the differential data sent by the receiving gateway includes:

[0023] A Hypertext Transfer Protocol Security request sent by the gateway is received, where the Hypertext Transfer Protocol Security request includes the differential data.

[0024] The embodiment of the present application provides an information transmission method, which is applied to a micro control unit of a terminal, including:

[0025] Sending a differential data acquisition request to the communication module of the terminal;

[0026] A differential data acquisition response sent by the communication module is received, where the differential data acquisition response includes all differential data.

[0027] The present invention provides an information transmission method, which is applied to a user identity card of a terminal, including:

[0028] Receiving a differential data acquisition request sent by the communication module of the terminal;

[0029] Sending a second response to the communication module, where the second response is used to indicate that the user identity card has received the differential data acquisition request;

[0030] Receive each get response command sent by the communication module;

[0031] Each third response is sent to the communication module for each get response instruction, where each third response includes differential data corresponding to each get response instruction, and all differential data include differential data corresponding to each get response instruction.

[0032] The present invention provides an information transmission method, which is applied to a user identity card of a terminal, including:

[0033] receiving a first write request sent by a communication module of a terminal, wherein the first write request includes first differential data;

[0034] Writing the first differential data into a first buffer of the user identification card;

[0035] copying the first differential data written in the first buffer to the second buffer of the user identity card;

[0036] receiving a differential data read request sent by a micro control unit of the terminal;

[0037] The differential data is read from the second buffer, and the read differential data is sent to the micro control unit.

[0038] In the above solution, the method further includes: receiving a second write request sent by a communication module of the terminal, wherein the second write request includes second differential data;

[0039] Writing the second differential data into a first buffer of the user identification card;

[0040] The flag bit state of the second cache is read, and if the flag bit state is a non-read state, the second differential data written in the first cache is copied to the second cache.

[0041] In the above solution, after receiving the differential data read request sent by the micro control unit of the terminal, the method further includes: updating the flag state of the second cache to a read state.

[0042] In the above solution, after reading the differential data from the second cache, the method further includes:

[0043] Update the flag state of the second cache to a non-read state.

[0044] The embodiment of the present application further provides a gateway, comprising: a first communication interface and a first processor; wherein the first communication interface is configured to: send differential data to a user identity card of a terminal, the differential data being used to locate the terminal;

[0045] A first response sent by the user identity identification card is received, where the first response is used to indicate that the user identity identification card has completed writing the differential data.

[0046] An embodiment of the present application provides a communication module of a terminal, comprising: a second communication interface and a second processor; wherein the second communication interface is configured to: receive a differential data acquisition request sent by a micro control unit of the terminal;

[0047] A differential data acquisition response is sent to the micro control unit, where the differential data acquisition response includes all differential data.

[0048] An embodiment of the present application provides a user identity card for a terminal, comprising: a third communication interface and a third processor; wherein the third communication interface is configured to: receive differential data sent by a gateway, the differential data being used to locate the terminal;

[0049] A first response is sent to the gateway, where the first response is used to indicate that the user identity card has completed writing the differential data.

[0050] The embodiment of the present application provides a user identity card for a terminal, comprising: a third communication interface and a third processor; wherein,

[0051] A third communication interface is configured to receive a differential data acquisition request sent by the communication module of the terminal;

[0052] Sending a second response to the communication module, where the second response is used to indicate that the user identity card has received the differential data acquisition request;

[0053] Receive each get response command sent by the communication module;

[0054] Each third response is sent to the communication module for each get response instruction, where each third response includes differential data corresponding to each get response instruction, and all differential data include differential data corresponding to each get response instruction.

[0055] The embodiment of the present application further provides a user identity card for a terminal, comprising: a third communication interface and a third processor; wherein the third communication interface is configured to: receive a first write request sent by a communication module of the terminal, wherein the first write request includes first differential data;

[0056] The third processor is configured to: write the first differential data into a first buffer of the user identity card; and copy the first differential data written in the first buffer to a second buffer of the user identity card;

[0057] The third communication interface is configured to: receive a differential data read request sent by the micro control unit of the terminal; read differential data from the second cache, and send the read differential data to the micro control unit.

[0058] The embodiment of the present application further provides a micro control unit of a terminal, comprising: a fourth communication interface and a fourth processor; wherein the fourth communication interface is used to: send a differential data acquisition request to the communication module of the terminal;

[0059] A differential data acquisition response sent by the communication module is received, where the differential data acquisition response includes all differential data.

[0060] An embodiment of the present application further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above methods are implemented.

[0061] An embodiment of the present application further provides a computer product, including a computer program, which implements the steps of any of the above methods when executed by a processor.

[0062] The embodiments of the present application provide an information transmission method, related equipment, storage medium, and computer product, wherein the information transmission method includes: sending differential data to a user identity card of a terminal, the differential data being used to locate the terminal; receiving a first response sent by the user identity card, the first response being used to indicate that the user identity card has completed writing the differential data; the present application's method of actively pushing differential data from the gateway to the card side shortens the differential data push cycle and reduces latency compared to the method of returning differential data as a response in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 This is a flow chart of an information transmission method according to an embodiment of the present application;

[0064] Figure 2 This is a schematic diagram of an interaction in a high-precision positioning scenario according to an embodiment of the present application;

[0065] Figure 3 This is a schematic diagram of a process for an MCU to obtain differential data according to an embodiment of the present application;

[0066] Figure 4 This is a flow chart of another information transmission method according to an embodiment of the present application;

[0067] Figure 5 This is a schematic diagram of a process in which an MCU obtains high-precision positioning results according to an embodiment of the present application;

[0068] Figure 6 This is a flow chart of the third information transmission method according to an embodiment of the present application;

[0069] Figure 7 This is a flow chart of the fourth information transmission method according to an embodiment of the present application;

[0070] Figure 8 This is a flowchart of the fifth information transmission method according to an embodiment of the present application;

[0071] Figure 9 This is a flowchart of the sixth information transmission method according to an embodiment of the present application;

[0072] Figure 10 This is a flowchart of the big data reading and writing process of the embodiment of the present application;

[0073] Figure 11 This is a schematic diagram of the structure of an information transmission device provided in a gateway according to an embodiment of the present application;

[0074] Figure 12 This is a schematic diagram of the structure of an information transmission device provided on a communication module of a terminal according to an embodiment of the present application;

[0075] Figure 13 This is a schematic diagram of the structure of an information transmission device provided on a user identity card of a terminal according to an embodiment of the present application;

[0076] Figure 14 This is a schematic structural diagram of an information transmission device provided on a micro control unit of a terminal according to an embodiment of the present application;

[0077] Figure 15 This is a schematic diagram of a gateway structure according to an embodiment of the present application;

[0078] Figure 16 This is a schematic diagram of the communication module structure of a terminal according to an embodiment of the present application;

[0079] Figure 17 This is a schematic diagram of the structure of a user identity card of a terminal according to an embodiment of the present application;

[0080] Figure 18 This is a schematic diagram of the structure of a micro control unit of a terminal according to an embodiment of the present application. DETAILED DESCRIPTION

[0081] The present application will be described in further detail below with reference to the accompanying drawings and embodiments.

[0082] The embodiment of the present application provides an information transmission method, which is applied to a gateway, such as Figure 1 As shown, the method includes:

[0083] Step 101: Send differential data to a user identity card of a terminal, where the differential data is used to locate the terminal.

[0084] In actual application, the gateway actively pushes differential data to the user identity identification module (Subscriber Identification Module, SIM) card of the terminal, realizing the active push of differential data from the gateway to the card side. It should be noted that in the related art, the SIM card obtains differential data in the following way: the gateway receives the differential data sent by the positioning platform, and then sends the differential data to the card side. The differential data is returned as a response to the Hypertext Transfer Protocol (HTTP) message message of a specific format data request (such as Global Positioning System Fix Data, GGA request); however, if the delay between the gateway and the positioning platform is large, it will directly affect the overall delay. It can be seen that the method of actively pushing from the gateway to the card side in this application shortens the push cycle of differential data and reduces the delay compared to the method of returning differential data as a response in the related art.

[0085] In actual applications, differential data is used to locate the terminal, and differential data can be used in scenarios such as navigation, map drawing, and astronomical measurement.

[0086] In actual applications, the terminal may be user equipment (UE), such as a mobile phone, a computer, and may also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a smart phone, a personal digital assistant (PDA), a laptop computer, a handheld communication device, a handheld computing device, a satellite wireless device, a wireless modem card, customer premises equipment (CPE) and / or other devices used to communicate on a wireless system.

[0087] Step 102: Receive a first response sent by the user identity card, where the first response is used to indicate that the user identity card has completed writing the differential data.

[0088] In actual application, the SIM card receives the differential data actively pushed by the gateway, stores the differential data and responds, and sends a first response to the gateway, so that the gateway receives the first response sent by the SIM card.

[0089] In actual applications, the SIM card can be a high-precision SIM card or a non-high-precision SIM card. When the SIM card is a high-precision SIM card, it supports the implementation of high-precision positioning requests and ultimately obtains accurate positioning data.

[0090] The information transmission method provided by the present application sends differential data to the user identity identification card of the terminal, and the differential data is used to locate the terminal; receives a first response sent by the user identity identification card, and the first response is used to indicate that the user identity identification card has completed writing the differential data; the method of actively pushing the differential data from the gateway to the card side in the present application is compared with the method of returning differential data as a response in the related art, which shortens the push cycle of the differential data and reduces the delay.

[0091] In a feasible high-precision positioning scenario, the scenario involves the interaction between the terminal, gateway, and high-precision positioning platform, such as Figure 2 As shown, the terminal side includes a microcontroller unit (MCU) 201, a communication module 202, a high-precision positioning module 203 and a high-precision positioning SIM card 204; wherein, the high-precision positioning SIM card 204 includes the following functions: docking with the high-precision positioning platform: the card leads the docking of the terminal with the high-precision positioning platform, and the card number is used as the identity identifier of the high-precision service; high-precision positioning protocol conversion: through the cooperation of the service gateway, the parsing and conversion of the high-precision positioning proprietary protocol is realized; differential data acquisition and storage: the differential data issued by the platform is acquired and stored for the terminal to call and realize the correction of the position data.

[0092] Here, combined Figure 2 and Figure 3 , the process of MCU obtaining differential data is explained, such as Figure 2 As shown, in the related technology, each time the MCU obtains differential data, it needs to go through steps 1 to 8. The MCU obtains approximate location data from the high-precision positioning module; the MCU sends the approximate location data to the communication module; the communication module sends the approximate location data to the high-precision positioning SIM card; the high-precision positioning SIM card performs protocol conversion with the cooperation of the service gateway and initiates a high-precision positioning request; the service gateway obtains differential data from the high-precision positioning platform and sends the differential data to the high-precision positioning SIM card; the high-precision positioning SIM card stores the differential data; the communication module obtains differential data from the high-precision positioning SIM card; the MCU obtains differential data from the communication module; the MCU sends differential data to the high-precision positioning module; the high-precision positioning module calculates and obtains the precise location. Combined with Figure 2 and Figure 3It can be seen that in the related art, it takes at least T1 time for the MCU to obtain differential data each time, wherein the high-precision positioning SIM card (high-precision positioning card application) sends a high-precision positioning request to the high-precision positioning platform, which can be achieved by sending a GGA data send-bit interleaved parity (Bit Interleaved Parity, BIP) request; the high-precision positioning platform calculates the differential data; the high-precision positioning platform sends a differential data push-BIP response (differential data) to the high-precision positioning card application; the high-precision positioning card application stores the differential data; the MCU-Software Development Kit (SDK) obtains the differential data from the high-precision positioning card application.

[0093] In other words, in related technologies, the gateway receives differential data from the positioning platform and then sends it to the card. This differential data is returned as a response to the GGA request message. However, this process of obtaining differential data causes significant latency between the gateway and the positioning platform, which directly affects the overall latency.

[0094] Based on the differential data acquisition process provided in this application, the gateway actively pushes differential data to the SIM card, enabling the active push of differential data from the gateway to the card. With the cooperation of the service gateway, the high-precision positioning SIM card (high-precision positioning card application) can receive differential data sent by the high-precision positioning platform actively pushed by the gateway. In this scenario, the time it takes for the MCU to obtain differential data can be shortened to T2, reducing overall latency.

[0095] In some embodiments, step 101 of sending differential data to a user identification card of a terminal includes:

[0096] A HTTP security request is sent to the user identity card, where the HTTP security request includes the differential data.

[0097] In actual application, the gateway actively pushes differential data to the card side as Hypertext Transfer Protocol Secure (HTTPS) request data to the card application, which not only shortens the delay for the card side to obtain differential data, but also ensures the security of the transmission process.

[0098] The embodiment of the present application provides an information transmission method, which is applied to a communication module of a terminal, such as Figure 4 As shown, the method includes:

[0099] Step 401: receiving a differential data acquisition request sent by a micro control unit of a terminal.

[0100] Step 402: Send a differential data acquisition response to the micro control unit, where the differential data acquisition response includes all differential data.

[0101] In actual application, when the MCU queries the differential data, the communication module obtains all the differential data from the terminal's SIM card and sends them to the MCU together. In this way, the terminal does not need to perform data splicing, thereby shortening the terminal differential data acquisition delay. This application can shorten the network delay and optimize the differential age through the differential data push optimization mechanism.

[0102] In some embodiments, after step 401 of receiving the differential data acquisition request sent by the micro control unit of the terminal, the method further includes:

[0103] Step 1: Send a differential data acquisition request to the terminal's SIM card.

[0104] In actual application, the communication module sends a differential data acquisition request to the SIM card, which can be achieved by sending an Application Protocol Data Unit (APDU) instruction.

[0105] In actual application, after receiving the differential data acquisition request (AT command) sent by the MCU, the communication module can send a differential data acquisition request (APDU command) to the SIM card to obtain differential data.

[0106] Step 2: Receive a second response sent by the SIM card, where the second response is used to indicate that the SIM card has received the differential data acquisition request.

[0107] In actual application, after receiving the APDU command, the SIM card returns a response to the communication module to inform it of the receipt of the APDU command.

[0108] Step 3: Send each get response command to the SIM card in sequence.

[0109] In actual application, this application obtains differential data from the SIM card multiple times through the get response instruction. During the differential data acquisition stage, the communication module can send N get response instructions.

[0110] Step 4: Receive each third response sent by the SIM card for each get response command, each third response includes differential data corresponding to each get response command, and all differential data include differential data corresponding to each get response command.

[0111] In actual application, the communication module sends each get response command to the SIM card in sequence, and the communication module will receive each third response sent by the SIM card for each get response command; for example, if the get response command is sent N times, the communication module will receive the first segment of differential data,...the Nth segment of differential data respectively; finally, the communication module returns the overall differential data consisting of the first segment of differential data,...the Nth segment of differential data to the MCU.

[0112] In a feasible scenario where communication module, MCU and high-precision SIM card are interacting with each other, such as Figure 5 As shown,

[0113] Step 501: The MCU sends a differential data acquisition request (AT command) to the communication module.

[0114] Step 502: The communication module sends a differential data acquisition request (APDU instruction) to the high-precision SIM card application.

[0115] Step 503: The high-precision SIM card application returns a response to the APDU command to the communication module.

[0116] Step 504: The communication module sends a get response instruction to the high-precision SIM card application.

[0117] Step 505: The communication module receives the response (including the first segment of differential data).

[0118] Step 506: The communication module executes the send get response command to the SIM card application multiple times.

[0119] Step 507: The communication module receives responses (including corresponding segment differential data) multiple times.

[0120] Step 508: The communication module executes the send get response instruction to the SIM card application for the Nth time.

[0121] Step 509: The communication module receives a response (including the Nth segment of differential data).

[0122] Step 510: The communication module sends a differential data acquisition response (including all differential data) to the MCU.

[0123] Step 511: The MCU interacts with the solution module / positioning module of the terminal to implement the solution result calculation process and obtain high-precision positioning result calculation.

[0124] This application optimizes APDU instructions, using the Get Response command to obtain differential data multiple times. The communication module then returns the entire differential data to the MCU. Compared to the related art solution where the MCU queries differential data through multiple commands to obtain differential data, this application uses a mechanism to read differential data through the Get Response method and actively pushes differential data, effectively reducing latency.

[0125] The embodiment of the present application provides an information transmission method, which is applied to the SIM card of the terminal, such as Figure 6 As shown, the method includes:

[0126] Step 601: Receive differential data sent by the gateway, and the differential data is used to locate the terminal.

[0127] Step 602: Send a first response to the gateway, where the first response is used to indicate that the SIM card has completed writing the differential data.

[0128] In actual use, the terminal receives all differential data actively pushed by the gateway. The SIM card responds after storing the differential data. Through the cooperation of the service gateway, the high-precision positioning SIM card (high-precision positioning card application) can receive the differential data actively pushed by the gateway from the high-precision positioning platform. In this way, the time it takes for the card-side MCU to obtain differential data can be shortened to T2, reducing overall latency.

[0129] In some embodiments, step 601 of receiving differential data sent by a gateway includes: receiving a HTTP request sent by the gateway, wherein the HTTP request includes the differential data.

[0130] In actual application, the gateway actively pushes differential data to the SIM card side as https request data to the card application, which not only shortens the delay of the card side obtaining differential data, but also ensures the security of the transmission process.

[0131] The embodiment of the present application provides an information transmission method, which is applied to the MCU of the terminal, such as Figure 7 As shown, the method includes:

[0132] Step 701: Send a differential data acquisition request to the communication module of the terminal.

[0133] Step 702: Receive a differential data acquisition response sent by the communication module, where the differential data acquisition response includes all differential data.

[0134] In actual application, when the MCU queries the differential data, the communication module obtains all the differential data from the terminal's SIM card and sends them to the MCU together. In this way, the terminal does not need to perform data splicing, thereby shortening the terminal differential data acquisition delay. This application can shorten the network delay and optimize the differential age through the differential data push optimization mechanism.

[0135] The embodiment of the present application provides an information transmission method, which is applied to the SIM card of the terminal, such as Figure 8 As shown, the method includes:

[0136] Step 801: Receive a differential data acquisition request sent by a communication module of a terminal.

[0137] In actual application, after receiving the differential data acquisition request (AT command) sent by the MCU, the communication module can send a differential data acquisition request (APDU command) to the SIM card to obtain differential data.

[0138] Step 802: Send a second response to the communication module, where the second response is used to indicate that the SIM card has received the differential data acquisition request.

[0139] In actual application, after receiving the APDU command, the SIM card returns a response to the communication module to inform it of the receipt of the APDU command.

[0140] Step 803: Receive each get response command sent by the communication module.

[0141] In actual application, the present application obtains differential data from the SIM card multiple times through the get response instruction. In the differential data acquisition stage, the communication module can send N get response instructions, so the SIM card can receive each get response instruction sent by the communication module.

[0142] Step 804: Send each third response to the communication module for each get response command, each third response includes differential data corresponding to each get response command, and all differential data include differential data corresponding to each get response command.

[0143] In actual application, the communication module sends each get response command to the SIM card in sequence, and the communication module will receive each third response sent by the SIM card for each get response command; for example, if the get response command is sent N times, the communication module will receive the first segment of differential data,...the Nth segment of differential data respectively; finally, the communication module returns the overall differential data consisting of the first segment of differential data,...the Nth segment of differential data to the MCU.

[0144] The embodiment of the present application provides an information transmission method, which is applied to the SIM card of the terminal, such as Figure 9 As shown, the method includes:

[0145] Step 901: receiving a first write request sent by a communication module of a terminal, where the first write request includes first differential data.

[0146] In actual application, the SIM card interacts with the communication module to realize differential data reading and writing. In the process, the differential data can be written into the SIM card by multiple instructions according to the size of the differential data.

[0147] Step 902: Write the first differential data into the first buffer of the SIM card.

[0148] In actual application, the SIM card sets a multi-cache mechanism. For example, the present application can set a dual-cache mechanism, the first cache is used to write differential data, and the second cache below is used to read differential data. The first cache and the second cache realize full data copy.

[0149] Step 903: Copy the first differential data written in the first buffer to the second buffer of the SIM card.

[0150] In actual application, all the search data written into the first cache are copied into the second cache.

[0151] Step 904: Receive a differential data read request sent by the MCU of the terminal.

[0152] Step 905: Read the differential data from the second cache, and send the read differential data to the micro control unit.

[0153] In actual application, when the SIM card receives the differential data read request sent by the MCU, it reads the differential data from the second cache. This application designs a dual-buffer mechanism. Even if the differential data sent is large, it can be divided into multiple instructions according to the size of the differential data to implement the differential data writing to the specific cache of the SIM card, and when reading the differential data, the reading process is implemented from another specific cache. Since the data in the corresponding caches of writing and reading remain consistent, the validity of the data can be maintained; at the same time, it can also avoid the problem in the related art that because the differential data sent is large, due to the limitations of the machine-card interface, the writing and reading of differential data need to be completed through multiple APDU instructions. Therefore, sometimes there will be a problem of read-write conflict when the differential data has not been read yet and new differential data is written to the card side.

[0154] In some embodiments, the above method further includes:

[0155] Receiving a second write request sent by the communication module of the terminal, the second write request including the second differential data; writing the second differential data into the first buffer of the SIM card;

[0156] The flag state of the second cache is read, and if the flag state is a non-read state, the second differential data written in the first cache is copied to the second cache.

[0157] In actual application, while multiple caches (such as double caches) are set based on the SIM card, a flag mechanism is also set to cooperate in solving the problem of large data read and write conflicts. For the second cache used for reading, the SIM card receives the differential data read request sent by the MCU, and in the stage of reading the differential data from the second cache, the flag status of the second cache is updated to reading; after the reading is completed, the flag status is updated to non-reading. It should be noted that when the second cache flag status is non-reading, a full copy of the differential data from the first cache to the second cache is achieved. When the second cache flag status is reading, wait, set a timer, set the status to read once at intervals, until the status becomes non-reading, and a full copy of the differential data from the first cache to the second cache is achieved.

[0158] In some embodiments, after step 904 of receiving the differential data read request sent by the MCU of the terminal, the method further includes: updating the flag state of the second cache to a read state.

[0159] In actual application, for the second cache used for reading, after the SIM card receives the differential data read request sent by the MCU, the flag state of the second cache is updated to the read state in time to avoid large data read and write conflicts.

[0160] In some embodiments, after step 905 of reading the differential data from the second cache, the method further includes: updating the flag state of the second cache to a non-read state.

[0161] In actual application, for the second cache used for reading, after the SIM card returns the differential data to the MCU, the flag state of the second cache is updated to the non-read state in time, and the differential data between multiple caches is fully copied in time.

[0162] In a scenario where a SIM card, communication module and MCU can interact to realize big data reading and writing, such as Figure 10 As shown,

[0163] Step 1001: The communication module sends a differential data write request (including differential data 1) to the first buffer of the SIM card.

[0164] In actual application, the differential data is written by dividing the differential data into multiple instructions according to the size of the differential data.

[0165] Step 1002: The first buffer of the SIM card stores differential data 1.

[0166] Step 1003: Full replication of differential data 1 is achieved between the first buffer and the second buffer of the SIM card.

[0167] Step 1004: The second buffer of the SIM card stores the differential data 1.

[0168] Step 1005: The MCU sends a differential data read request to the SIM card.

[0169] In actual application, the second buffer in the SIM card is used to support differential data reading.

[0170] Step 1006: The flag status of the second cache is updated to reading.

[0171] Step 1007: The SIM card returns the differential data in the second buffer to the MCU.

[0172] Step 1008: After the reading is completed, the second cache flag status is updated to non-read.

[0173] Step 1009: The communication module sends a differential data write request (including differential data 2-1, 2-1, and 2-3) to the first buffer of the SIM card.

[0174] In actual application, 2-1, 2-1, and 2-3 here are differential data divided according to the size of the current differential data.

[0175] Step 1010: The first buffer of the SIM card stores the differential data 2.

[0176] Step 1011: The high-precision card application of the SIM card sends an identification bit query request to the second cache.

[0177] Step 1012: The high-precision card application of the SIM card receives the flag status query response (including the flag status) sent by the second buffer.

[0178] Step 1013: The high-precision card application of the SIM card determines that the flag status is non-read, and copies the differential data 2 to the second cache.

[0179] Step 1014: The high-precision card application of the SIM card determines that the flag status is reading, then waits, sets a timer, reads the status once every period of time, and indicates that the flag status of the second cache is not reading, then copies differential data 2 to the second cache.

[0180] In order to implement the information transmission method of the embodiment of the present application, the embodiment of the present application also provides an information transmission device, which is set on the gateway, such as Figure 11 As shown, the device includes:

[0181] The first sending unit 1101 is configured to send differential data to a user identity card of a terminal, where the differential data is used to locate the terminal;

[0182] The first receiving unit 1102 is configured to receive a first response sent by the user identity identification card, where the first response indicates that the user identity identification card has completed writing the differential data.

[0183] In some embodiments, the first sending unit 1101 is configured to send a HTTP request to the user identity card, where the HTTP request includes differential data.

[0184] In actual application, the first sending unit 1101 and the first receiving unit 1102 can be implemented by a communication interface in the gateway.

[0185] In order to implement the information transmission method of the embodiment of the present application, the embodiment of the present application also provides an information transmission device, which is set on the communication module of the terminal, such as Figure 12 As shown, the device includes:

[0186] The second receiving unit 1201 is configured to receive a differential data acquisition request sent by a micro control unit of a terminal;

[0187] The second sending unit 1202 is configured to send a differential data acquisition response to the micro control unit, where the differential data acquisition response includes all differential data.

[0188] In some embodiments, the second sending unit 1202 is configured to send a differential data acquisition request to a user identity card of the terminal;

[0189] The second receiving unit 1201 is configured to receive a second response sent by the user identity identification card, where the second response indicates that the user identity identification card has received the differential data acquisition request;

[0190] The second sending unit 1202 is used to send each get response instruction to the user identity card in sequence;

[0191] The second receiving unit 1201 is configured to receive each third response sent by the user identification card for each get response instruction, where each third response includes differential data corresponding to each get response instruction, and all differential data include differential data corresponding to each get response instruction.

[0192] In actual application, the second receiving unit 1201 and the second sending unit 1202 can be implemented by a communication interface in a communication module of the terminal.

[0193] In order to implement the information transmission method of the embodiment of the present application, the embodiment of the present application also provides an information transmission device, which is set on the user identity card of the terminal, such as Figure 13 As shown, the device includes:

[0194] The third receiving unit 1301 is configured to receive differential data sent by the gateway, where the differential data is used to locate the terminal;

[0195] The third sending unit 1302 is configured to send a first response to the gateway, where the first response indicates that the user identity card has completed writing the differential data.

[0196] In some embodiments, the third receiving unit 1301 is configured to receive a HTTP request sent by a gateway, where the HTTP request includes differential data.

[0197] In actual application, the third receiving unit 1301 and the third sending unit 1302 can be implemented by a communication interface in a user identity card of the terminal.

[0198] In order to implement the information transmission method of the embodiment of the present application, the embodiment of the present application also provides an information transmission device, which is set on the user identity card of the terminal, such as Figure 13 As shown, the device includes:

[0199] The third receiving unit 1301 is configured to receive a differential data acquisition request sent by a communication module of a terminal;

[0200] The third sending unit 1302 is configured to send a second response to the communication module, where the second response indicates that the user identity card has received the differential data acquisition request;

[0201] The third receiving unit 1301 is used to receive each get response instruction sent by the communication module;

[0202] The third sending unit 1302 is configured to send each third response to the communication module for each get response instruction. Each third response includes differential data corresponding to each get response instruction. All differential data include differential data corresponding to each get response instruction.

[0203] In order to implement the information transmission method of the embodiment of the present application, the embodiment of the present application also provides an information transmission device, which is set on the user identity card of the terminal, such as Figure 13 As shown, the device includes:

[0204] The third receiving unit 1301 is configured to receive a first write request sent by a communication module of a terminal, where the first write request includes first differential data;

[0205] The third processing unit 1303 is configured to write the first differential data into a first buffer of the user identification card;

[0206] The third processing unit 1303 is configured to copy the first differential data written in the first buffer to the second buffer of the user identity card;

[0207] The third receiving unit 1301 is configured to receive a differential data read request sent by the micro control unit of the terminal;

[0208] The third processing unit 1303 is configured to read the differential data from the second cache;

[0209] The third sending unit 1302 is configured to send the read differential data to the micro control unit.

[0210] In some embodiments, the third receiving unit 1301 is configured to receive a second write request sent by a communication module of the terminal, where the second write request includes the second differential data;

[0211] The third processing unit 1303 is configured to write the second differential data into the first buffer of the user identification card;

[0212] The third processing unit 1303 is configured to read the flag status of the second cache, and if the flag status is a non-read state, copy the second differential data written in the first cache to the second cache.

[0213] In some embodiments, the third processing unit 1303 is configured to update the flag state of the second cache to a read state.

[0214] In some embodiments, the third processing unit 1303 is configured to update the flag state of the second cache to a non-read state.

[0215] In order to implement the information transmission method of the embodiment of the present application, the embodiment of the present application also provides an information transmission device, which is set on the micro control unit of the terminal, such as Figure 14 As shown, the device includes:

[0216] The fourth sending unit 1401 is configured to send a differential data acquisition request to the communication module of the terminal;

[0217] The fourth receiving unit 1402 is configured to receive a differential data acquisition response sent by the communication module, where the differential data acquisition response includes all differential data.

[0218] In actual application, the fourth sending unit 1401 and the fourth receiving unit 1402 can be implemented by a communication interface in the micro control unit of the terminal.

[0219] It should be noted that the information transmission device provided in the above embodiments is illustrated only by the division of the aforementioned program modules when performing information transmission. In actual applications, the aforementioned processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the aforementioned processing. In addition, the information transmission device provided in the above embodiments and the information transmission method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0220] Based on the hardware implementation of the above program modules, and in order to implement the method of the gateway side of the embodiment of the present application, the embodiment of the present application also provides a gateway, such as Figure 15 As shown, the gateway 1500 includes:

[0221] The first communication interface 1501 is capable of exchanging information with the user identity card of the terminal;

[0222] The first processor 1502 is connected to the first communication interface 1501 to implement information exchange with the user identity card of the terminal, and is used to execute the methods provided by one or more technical solutions on the gateway side when running the computer program;

[0223] The first memory 1503 stores computer programs that can be executed on the first processor 1502 .

[0224] The first communication interface 1501 is used to send differential data to the user identity card of the terminal, the differential data being used to locate the terminal; and receive a first response from the user identity card, the first response being used to indicate that the user identity card has completed writing the differential data.

[0225] In some embodiments, the first communication interface 1501 is configured to send a HTTP request to the user identity card, where the HTTP request includes differential data.

[0226] Of course, in actual application, the various components in the gateway 1500 are coupled together through the first bus system 1504. It can be understood that the first bus system 1504 is used to realize the connection and communication between these components. In addition to the data bus, the first bus system 1504 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 15 In the figure, various buses are labeled as a first bus system 1504 .

[0227] The first memory 1503 in the embodiment of the present application is used to store various types of data to support the operation of the gateway 1500. Examples of such data include: any computer program used to operate on the gateway 1500.

[0228] The method disclosed in the above embodiment of the present application can be applied to the first processor 1502 or implemented by the first processor 1502.

[0229] Based on the hardware implementation of the above program modules, and in order to implement the method of the communication module side of the terminal in the embodiment of the present application, the embodiment of the present application also provides a communication module of the terminal, such as Figure 16 As shown, the communication module 1600 of the terminal includes:

[0230] The second communication interface 1601 is capable of exchanging information with the micro control unit of the terminal and the user identification card of the terminal;

[0231] The second processor 1602 is connected to the second communication interface 1601 to implement information exchange with the terminal's micro control unit and the terminal's user identification card, and is used to execute the methods provided by one or more technical solutions on the communication module side of the terminal when running the computer program;

[0232] The second memory 1603 stores computer programs that can be executed on the second processor 1602 .

[0233] The second communication interface 1601 is configured to: receive a differential data acquisition request sent by the micro control unit of the terminal; and send a differential data acquisition response to the micro control unit, where the differential data acquisition response includes all differential data.

[0234] In some embodiments, the second communication interface 1601 is used to: send a differential data acquisition request to a user identity identification card of the terminal; receive a second response sent by the user identity identification card, the second response being used to indicate that the user identity identification card has received the differential data acquisition request; send each get response instruction to the user identity identification card in sequence; receive each third response sent by the user identity identification card for each get response instruction, each third response including differential data corresponding to each get response instruction, and all differential data including differential data corresponding to each get response instruction.

[0235] It should be noted that the specific processing process of the second processor 1602 can be understood by referring to the above method and will not be repeated here.

[0236] Of course, in actual application, the various components in the communication module 1600 of the terminal are coupled together through the second bus system 1604. It can be understood that the second bus system 1604 is used to realize the connection and communication between these components. In addition to the data bus, the second bus system 1604 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 16 In the figure, various buses are labeled as a second bus system 1604 .

[0237] The second memory 1603 in the embodiment of the present application is used to store various types of data to support the operation of the terminal's communication module 1600. Examples of such data include any computer program used to operate on the terminal's communication module 1600.

[0238] The method disclosed in the above embodiment of the present application can be applied to the second processor 1602 or implemented by the second processor 1602.

[0239] Based on the hardware implementation of the above program modules, and in order to implement the method of the user identity card side of the terminal in the embodiment of the present application, the embodiment of the present application also provides a user identity card of the terminal, such as Figure 17 As shown, the user identity card 1700 of the terminal includes:

[0240] The third communication interface 1701 is capable of exchanging information with the gateway;

[0241] The third processor 1702 is connected to the third communication interface 1701 to implement information exchange with the gateway, and is used to execute the methods provided by one or more technical solutions of the communication module side of the terminal when running the computer program;

[0242] The third memory 1703 stores computer programs that can be executed on the third processor 1702 .

[0243] The third communication interface 1701 is used to: receive differential data sent by the gateway, the differential data is used to locate the terminal; and send a first response to the gateway, the first response is used to indicate that the user identity card has completed writing the differential data.

[0244] In some embodiments, the third communication interface 1701 is used to receive a HTTP request sent by a gateway, where the HTTP request includes differential data.

[0245] Based on the hardware implementation of the above program modules, and in order to implement the method of the user identity card side of the terminal in the embodiment of the present application, the embodiment of the present application also provides a user identity card of the terminal, such as Figure 17 As shown, the user identity card 1700 of the terminal includes:

[0246] The third communication interface 1701 is capable of interacting with the communication module of the terminal;

[0247] The third processor 1702 is connected to the third communication interface 1701 to implement interaction with the communication module of the terminal, and is used to execute the methods provided by one or more technical solutions on the communication module side of the terminal when running the computer program;

[0248] The third memory 1703 stores computer programs that can be executed on the third processor 1702 .

[0249] Among them, the third communication interface 1701 is used to: receive a differential data acquisition request sent by the communication module of the terminal; send a second response to the communication module, the second response is used to indicate that the user identity identification card has received the differential data acquisition request; receive each get response instruction sent by the communication module; send each third response to the communication module for each get response instruction, each third response includes the differential data corresponding to each get response instruction, and all differential data include the differential data corresponding to each get response instruction.

[0250] Based on the hardware implementation of the above program modules, and in order to implement the method of the user identity card side of the terminal in the embodiment of the present application, the embodiment of the present application also provides a user identity card of the terminal, such as Figure 17 As shown, the user identity card 1700 of the terminal includes:

[0251] The third communication interface 1701 is capable of interacting with the communication module of the terminal;

[0252] The third processor 1702 is connected to the third communication interface 1701 to implement interaction with the communication module of the terminal, and is used to execute the methods provided by one or more technical solutions on the communication module side of the terminal when running the computer program;

[0253] The third memory 1703 stores computer programs that can be executed on the third processor 1702 .

[0254] The third communication interface 1701 is configured to: receive a first write request sent by a communication module of a terminal, wherein the first write request includes first differential data;

[0255] The third processor 1702 is configured to: write the first differential data into a first buffer of the user identity card; and copy the first differential data written in the first buffer to a second buffer of the user identity card;

[0256] The third communication interface 1701 is used to: receive a differential data read request sent by the micro control unit of the terminal;

[0257] The third processor 1702 is configured to: read the differential data from the second cache;

[0258] The third communication interface 1701 is used to send the read differential data to the micro control unit.

[0259] In some embodiments, the third communication interface 1701 is configured to: receive a second write request sent by a communication module of a terminal, where the second write request includes second differential data;

[0260] The third processor 1702 is configured to: write the second differential data into the first cache of the user identification card; read the flag status of the second cache, and if the flag status is a non-read state, copy the second differential data written in the first cache to the second cache.

[0261] In some embodiments, the third processor 1702 is configured to update a flag state of the second cache to a read state.

[0262] In some embodiments, the third processor 1702 is configured to update a flag state of the second cache to a non-read state.

[0263] It should be noted that the specific processing process of the third processor 1702 can be understood by referring to the above method and will not be repeated here.

[0264] Of course, in actual application, the various components in the user identification card 1700 are coupled together through the third bus system 1704. It can be understood that the third bus system 1704 is used to realize the connection and communication between these components. In addition to the data bus, the third bus system 1704 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 17 Various buses are labeled as a third bus system 1704 .

[0265] The third memory 1703 in the embodiment of the present application is used to store various types of data to support the operation of the user identification card 1700. Examples of such data include: any computer program used to operate on the user identification card 1700.

[0266] The method disclosed in the above embodiment of the present application can be applied to the third processor 1702 or implemented by the third processor 1702.

[0267] Based on the hardware implementation of the above program modules, and in order to implement the method of the micro control unit side of the terminal in the embodiment of the present application, the embodiment of the present application also provides a micro control unit of the terminal, such as Figure 18 As shown, the micro control unit 1800 of the terminal includes:

[0268] The fourth communication interface 1801 is capable of interacting with the communication module of the terminal;

[0269] A fourth processor 1802 is connected to the fourth communication interface 1801 to implement interaction with the communication module of the terminal, and is used to execute the methods provided by one or more technical solutions on the communication module side of the terminal when running the computer program;

[0270] The fourth memory 1803 stores computer programs that can be executed on the fourth processor 1802 .

[0271] The fourth communication interface 1801 is configured to: send a differential data acquisition request to the communication module of the terminal; and receive a differential data acquisition response sent by the communication module, where the differential data acquisition response includes all differential data.

[0272] It should be noted that the specific processing process of the fourth processor 1802 can be understood by referring to the above method and will not be repeated here.

[0273] Of course, in actual application, the various components in the terminal's micro control unit 1800 are coupled together via the fourth bus system 1804. It is understood that the fourth bus system 1804 is used to achieve connection and communication between these components. In addition to the data bus, the fourth bus system 1804 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 18 In the figure, various buses are labeled as a fourth bus system 1804.

[0274] The fourth memory 1803 in the embodiment of the present application is used to store various types of data to support the operation of the user identification card 1800. Examples of such data include: any computer program for operating on the micro control unit 1800 of the terminal.

[0275] The method disclosed in the above embodiment of the present application can be applied to the fourth processor 1802 or implemented by the fourth processor 1802.

[0276] The processor in this application may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor or an instruction in the form of software. The above processor may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. In conjunction with the steps of the method disclosed in the embodiments of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware.

[0277] In an exemplary embodiment, the network device may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.

[0278] It is understood that the memory of the embodiments of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a magnetic disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memories.

[0279] In an exemplary embodiment, the present application also provides a storage medium, namely, a computer storage medium, specifically a computer-readable storage medium, such as a memory storing a computer program. The computer program can be executed by a processor of a network device to complete the steps of the aforementioned method on the transmitting device side. Another example is a memory storing a computer program. The computer program can be executed by a processor of a communication device to complete the steps of the aforementioned method on the receiving device side. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.

[0280] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0281] In addition, the technical solutions described in the embodiments of the present application can be arbitrarily combined without conflict.

[0282] The above description is merely a preferred embodiment of the present application and is not intended to limit the scope of protection of the present application.

Claims

1. An information transmission method, characterized in that: Applied to gateways, including: Sending differential data to a user identification card of a terminal, wherein the differential data is used to locate the terminal; A first response sent by the user identity identification card is received, where the first response is used to indicate that the user identity identification card has completed writing the differential data.

2. The method according to claim 1, characterized in that The sending of differential data to the user identification card of the terminal includes: A Hypertext Transfer Protocol Security request is sent to the user identification card, where the Hypertext Transfer Protocol Security request includes the differential data.

3. An information transmission method, characterized in that: Communication modules used in terminals include: receiving a differential data acquisition request sent by the micro control unit of the terminal; A differential data acquisition response is sent to the micro control unit, where the differential data acquisition response includes all differential data.

4. The method according to claim 3, characterized in that After receiving the differential data acquisition request sent by the micro control unit of the terminal, the method further includes: Sending the differential data acquisition request to the user identity card of the terminal; receiving a second response sent by the user identity identification card, where the second response is used to indicate that the user identity identification card has received the differential data acquisition request; Sending each get response instruction to the user identification card in sequence; Each third response sent by the user identification card in response to each get response instruction is received, wherein each third response includes differential data corresponding to each get response instruction, and all differential data include differential data corresponding to each get response instruction.

5. An information transmission method, characterized in that: User identification cards used in terminals include: receiving differential data sent by a gateway, wherein the differential data is used to locate the terminal; A first response is sent to the gateway, where the first response is used to indicate that the user identity card has completed writing the differential data.

6. The method according to claim 5, characterized in that The differential data sent by the receiving gateway includes: A Hypertext Transfer Protocol Security request sent by the gateway is received, where the Hypertext Transfer Protocol Security request includes the differential data.

7. An information transmission method, characterized in that: The microcontroller unit used in the terminal includes: Sending a differential data acquisition request to the communication module of the terminal; A differential data acquisition response sent by the communication module is received, where the differential data acquisition response includes all differential data.

8. An information transmission method, characterized in that: User identification cards used in terminals include: Receiving a differential data acquisition request sent by the communication module of the terminal; Sending a second response to the communication module, where the second response is used to indicate that the user identity card has received the differential data acquisition request; Receive each get response command sent by the communication module; Each third response is sent to the communication module for each get response instruction, where each third response includes differential data corresponding to each get response instruction, and all differential data include differential data corresponding to each get response instruction.

9. An information transmission method, characterized in that: User identification cards used in terminals include: receiving a first write request sent by a communication module of a terminal, wherein the first write request includes first differential data; Writing the first differential data into a first buffer of the user identification card; copying the first differential data written in the first buffer to the second buffer of the user identity card; receiving a differential data read request sent by a micro control unit of the terminal; The differential data is read from the second buffer, and the read differential data is sent to the micro control unit.

10. The method according to claim 9, characterized in that The method further comprises: receiving a second write request sent by a communication module of the terminal, wherein the second write request includes second differential data; Writing the second differential data into a first buffer of the user identification card; The flag bit state of the second cache is read, and if the flag bit state is a non-read state, the second differential data written in the first cache is copied to the second cache.

11. The method according to claim 9, characterized in that After receiving the differential data read request sent by the micro control unit of the terminal, the method further includes: Update the flag state of the second cache to a read state.

12. The method according to claim 9, characterized in that After reading the differential data from the second cache, the method further includes: Update the flag state of the second cache to a non-read state.

13. A gateway, characterized in that: include: a first communication interface and a first processor; wherein, The first communication interface is used to send differential data to a user identification card of a terminal, where the differential data is used to locate the terminal; A first response sent by the user identity identification card is received, where the first response is used to indicate that the user identity identification card has completed writing the differential data.

14. A communication module of a terminal, characterized in that: include: A second communication interface and a second processor; wherein, The second communication interface is used to: receive a differential data acquisition request sent by the micro control unit of the terminal; A differential data acquisition response is sent to the micro control unit, where the differential data acquisition response includes all differential data.

15. A user identification card for a terminal, characterized in that: include: A third communication interface and a third processor; wherein, A third communication interface is configured to receive differential data sent by the gateway, where the differential data is used to locate the terminal; A first response is sent to the gateway, where the first response is used to indicate that the user identity card has completed writing the differential data.

16. A user identification card for a terminal, characterized in that: include: A third communication interface and a third processor; wherein, A third communication interface is configured to receive a differential data acquisition request sent by the communication module of the terminal; Sending a second response to the communication module, where the second response is used to indicate that the user identity card has received the differential data acquisition request; Receive each get response command sent by the communication module; Each third response is sent to the communication module for each get response instruction, where each third response includes differential data corresponding to each get response instruction, and all differential data include differential data corresponding to each get response instruction.

17. A user identity card for a terminal, characterized in that: include: A third communication interface and a third processor; wherein, The third communication interface is configured to: receive a first write request sent by a communication module of the terminal, wherein the first write request includes first differential data; The third processor is configured to: write the first differential data into a first buffer of the user identity card; and copy the first differential data written in the first buffer to a second buffer of the user identity card; The third communication interface is configured to: receive a differential data read request sent by the micro control unit of the terminal; read differential data from the second cache, and send the read differential data to the micro control unit.

18. A micro control unit of a terminal, characterized in that: include: A fourth communication interface and a fourth processor; wherein, The fourth communication interface is used to send a differential data acquisition request to the communication module of the terminal; A differential data acquisition response sent by the communication module is received, where the differential data acquisition response includes all differential data.

19. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the computer program implements the steps of any one of the methods of claims 1 to 2, or 3 to 4, or 5 to 6, or 7, or 8, or 9 to 11.

20. A computer product comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the steps of any one of the methods of claims 1 to 2, or 3 to 4, or 5 to 6, or 7, or 8, or 9 to 11.