Information transmission method, terminal and service server
An information transmission and server technology, applied in the fields of information transmission methods, terminals and business servers, can solve problems such as no solutions
Pending Publication Date: 2022-07-01
CHINA MOBILE COMM LTD RES INST +1
0 Cites 0 Cited by
AI-Extracted Technical Summary
Problems solved by technology
However, in the prior art, there is no relevant solution ...
Method used
The present embodiment transmits the APDU command list related to the SIM card carrier class service to the SIM card based on the 5G message, which can not only improve the convenience of the SIM card carrier class service related information transmission, but also execute the corresponding SIM card carrier class service based on the APDU command , and can also improve the convenience of the SIM card for handling SIM card carrier services.
The present embodiment transmits the APDU command list related to the SIM card carrier class service to the SIM card based on the 5G message, which can not only improve the convenience of the SIM card carrier class service related information transmission, but also execute the corresponding SIM card carrie...
Abstract
The invention provides an information transmission method, a terminal and a service server. The method comprises the following steps: receiving a first 5G message from a service server; and transmitting the message content of the first 5G message to the SIM card under the condition that the first 5G message comprises a message type indicating processing of the SIM card. According to the information transmission method provided by the invention, a mode of interaction with the SIM card based on the 5G message is provided, so that the transmission of the information related to the carrier type service of the SIM card based on the 5G message can be realized.
Application Domain
Subscription servicesNetwork data management
Technology Topic
Embedded systemCarrier type +4
Image
Examples
- Experimental program(1)
Example Embodiment
[0027] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0028] The terms "first", "second" and the like in the embodiments of the present invention are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices. In addition, the use of "and/or" in this application means at least one of the connected objects, such as A and/or B and/or C, means A alone, B alone, C alone, and both A and B are present, Both B and C exist, both A and C exist, and 7 cases where A, B, and C all exist.
[0029] See figure 1 , figure 1 is a structural diagram of a network system to which the embodiments of the present invention can be applied, such as figure 1 As shown, it includes a terminal 11 , a service server 12 and an operator server 13 . The above-mentioned terminal 11 may be a mobile phone, a tablet computer (TabletPersonal Computer), a laptop computer (Laptop Computer), a personal digital assistant (Personal DigitalAssistant, PDA), a mobile Internet Device (Mobile Internet Device, MID), a wearable device (WearableDevice) or in-vehicle equipment, etc.
[0030] The information transmission method provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0031] see figure 2 , figure 2 This is one of the schematic flowcharts of the information transmission method provided by the embodiment of the present invention. The information transmission method provided in this embodiment may be executed by a terminal.
[0032] like figure 2 As shown, the information transmission method provided by the embodiment of the present invention may include the following steps:
[0033] Step 201: Receive a first 5G message from a service server.
[0034] The above-mentioned service server may be a server of a card carrier type service, for example, a chatbot (ie, a chat robot) server of the card carrier type service.
[0035] Step 202: In the case that the first 5G message includes a message type instructing the SIM card to process, transmit the message content of the first 5G message to the SIM card.
[0036] In this embodiment, the terminal can parse the received first 5G message. For example, the terminal device can parse the first 5G message through a 5G message application, and the first 5G message obtained by parsing includes a message type indicating the SIM card processing Under the circumstance, the message content of the first 5G message is transmitted to the SIM card, and then the SIM card can process the above-mentioned message content, for example, when the above-mentioned message content is an application protocol data unit (Application Protocol Data Unit, APDU) instruction list In this case, the SIM card can execute the APDU command list.
[0037] For example, "application/vnd.gsma.botmessage.sim.v1.0+xml" may be included in the message type (ie Content-Type) of the 5G message to indicate that the 5G message is a message type that indicates the SIM card processing, In this way, the terminal can transmit the message content of the received 5G message to the SIM card when it parses that the received 5G message includes the "application/vnd.gsma.botmessage.sim.v1.0+xml" message type.
[0038] Optionally, when the 5G message includes multiple message types, only the message content corresponding to the message type in the 5G message instructed to be processed by the SIM card may be sent to the SIM card.
[0039] Optionally, the terminal may transmit the message content of the first 5G message to the SIM card through OMA (Open Mobile API, Open Mobile Application Program Interface).
[0040] In the information transmission method provided by the embodiment of the present invention, the first 5G message is received from the service server; in the case that the first 5G message includes a message type that indicates processing by the SIM card, the message content of the first 5G message is transmitted For the SIM card, a method of interacting with the SIM card based on 5G messages is standardized, and then information transmission related to SIM card carrier services based on 5G messages can be realized.
[0041] Optionally, the message content of the first 5G message includes an APDU command list.
[0042] In this embodiment, the above-mentioned APDU instruction list may include APDU instructions related to SIM card carrier services, for example, APDU instructions for downloading a card application of SIM card carrier services. In practical applications, the above-mentioned APDU instruction list may be generated by the service provider according to service requirements.
[0043]This embodiment transmits the APDU instruction list related to the SIM card carrier service to the SIM card based on the 5G message, which not only improves the convenience of information transmission related to the SIM card carrier service, but also executes the corresponding SIM card carrier service based on the APDU instruction. Improve the convenience of SIM card for SIM card carrier business processing.
[0044] Optionally, the message label of the first 5G message includes an APDU label, and the message body of the first 5G message includes the APDU instruction list.
[0045] In this embodiment, when the APDU command list needs to be transmitted through the 5G message, an APDU label can be added to the 5G message, and the APDU command list to be transmitted can be included in the message body of the 5G message, which is convenient for the terminal to quickly transfer from The APDU command list is obtained by parsing the 5G message.
[0046] Exemplarily, the format of a 5G message that includes a message type indicating the SIM card to process may be as follows. It should be noted that the specific content of the APDU command in the 5G message varies according to service requirements:
[0047]
[0048]
[0049] Optionally, in the case where the message type of the first 5G message includes a message type that indicates processing by the SIM card, after transmitting the message content of the first 5G message to the SIM card, the method further includes:
[0050] Obtain the processing result for the message content returned by the SIM card;
[0051] Send the processing result to the service server.
[0052] In this embodiment of the present invention, after the message content of the first 5G message is transmitted to the SIM card, the SIM card can process the message content, and can return the processing result to the terminal, for example, the processing result can be returned through the OMA interface to the terminal. After receiving the processing result returned by the SIM card, the terminal can send the processing result to the service server.
[0053] In the embodiment of the present invention, by sending the processing result for the message content returned by the SIM card to the service server, it is convenient for the service server to send the processing result to the operator server, and it is convenient for the operator server to know the effect of the SIM card on related services. processing situation.
[0054] Optionally, the message content of the first 5G message includes an APDU instruction list for card application download;
[0055] Before receiving the first 5G message from the service server, the method further includes:
[0056] sending a first download request of the card application to the service server;
[0057] and / or
[0058] After the sending the processing result to the service server, the method further includes:
[0059] A download result of the card application sent by the service server is received.
[0060] In this embodiment of the present invention, the terminal may send a first download request of the card application to the service server when the card application needs to be downloaded, or may send a push notification of the card application download to the terminal when the service processor sends a push notification of the card application download to the terminal. The service server sends the first download request of the card application, so that the service server can respond to the first download request of the card application sent by the terminal to the operator server, for example, the operator TSM (Trusted Service Manager, Trusted Service Manager) platform, Send a second download request for the card application to receive an APDU command list for downloading the card application from the operator server, and send a first 5G message whose message content includes the APDU command list to the terminal.
[0061] The terminal parses the received first 5G message, and in the case that the first 5G message includes a message type instructing the SIM card to process, transmits the APDU command list parsed from the first 5G message to the SIM card to pass The SIM card executes, and can receive the execution result of the above-mentioned APDU instruction list, that is, the above-mentioned processing result, from the SIM card, and send it to the service server. The service server may send the received processing result to the operator server, receive the card application download result from the operator server, and send the card application download result to the terminal to notify the terminal of the card application download situation.
[0062] see image 3 , image 3 This is the second flow chart of the information transmission method provided by the embodiment of the present invention. The information transmission method provided by the embodiment of the present invention may be executed by a service server.
[0063] like image 3 As shown, the information transmission method provided by the embodiment of the present invention may include the following steps:
[0064] Step 301: Send a first 5G message to a terminal, where the first 5G message includes a message type that indicates processing by the SIM card.
[0065] In this embodiment, the service server may include the message type indicating the SIM card to process in the 5G message that needs to be processed by the SIM card, so that when the terminal receives the 5G message including the message type indicating the SIM card to process, the 5G The message content of the message is transmitted to the SIM card for processing by the SIM card. The above-mentioned service server may be a server for card-carrier type services, for example, a card-carrier type service Chatbot server.
[0066] For example, "application/vnd.gsma.botmessage.sim.v1.0+xml" may be included in the message type (ie Content-Type) of the 5G message to indicate that the 5G message is a message type that indicates the SIM card processing, In this way, the terminal can transmit the message content of the received 5G message to the SIM card when it parses that the received 5G message includes the "application/vnd.gsma.botmessage.sim.v1.0+xml" message type.
[0067] In the information transmission method provided by the embodiment of the present invention, the first 5G message is sent to the terminal, wherein the first 5G message includes a message type that indicates the processing of the SIM card, so that the terminal can parse that the first 5G message includes the indication In the case of the message type processed by the SIM card, the message content of the first 5G message is transmitted to the SIM card, so as to be processed by the SIM card, a method of interacting with the SIM card based on 5G messages is standardized, and then the 5G-based message can be implemented. The message transmits information related to SIM card carrier services.
[0068] Optionally, the message content of the first 5G message includes an APDU command list.
[0069] In this embodiment, the above-mentioned APDU instruction list may include APDU instructions related to SIM card carrier services, for example, APDU instructions for downloading a card application of SIM card carrier services. In practical applications, the above-mentioned APDU instruction list may be generated by the service provider according to service requirements.
[0070] This embodiment transmits the APDU instruction list related to the SIM card carrier service to the SIM card based on the 5G message, which not only improves the convenience of information transmission related to the SIM card carrier service, but also executes the corresponding SIM card carrier service based on the APDU instruction. Improve the convenience of SIM card for SIM card carrier business processing.
[0071] Optionally, the message label of the first 5G message includes an APDU label, and the message body of the first 5G message includes the APDU instruction list.
[0072] In this embodiment, when the APDU command list needs to be transmitted through the 5G message, an APDU label can be added to the 5G message, and the APDU command list to be transmitted can be included in the message body of the 5G message, which is convenient for the terminal to quickly transfer from The APDU command list is obtained by parsing the 5G message.
[0073] Optionally, after the sending the first 5G message to the terminal, the method further includes:
[0074] receiving the processing result of the SIM card sent by the terminal;
[0075] Send the processing result to the operator server.
[0076] In the embodiment of the present invention, the processing result of the above-mentioned message content by the SIM card can be received from the terminal, and the processing result can be sent to the operator's server, so that the operator's server can know the processing status of the relevant service by the SIM card.
[0077] Optionally, the message content of the first 5G message includes an APDU instruction list for card application download;
[0078] Before the sending the first 5G message to the terminal, the method further includes:
[0079] receiving a first download request for a card application from the terminal;
[0080] sending a second download request of the card application to the operator server;
[0081] receiving the APDU command list from the operator server;
[0082] and / or
[0083] After the sending the processing result to the operator server, the method further includes:
[0084] receiving the download result of the card application sent by the operator server;
[0085] Send the download result of the card application to the terminal.
[0086] In this embodiment of the present invention, a service server, for example, a chat robot server used for card-based services, may send data to an operator server, for example, an operator through HTTPS (Hyper Text Transfer Protocol over Secure Socket Layer, hypertext transfer security protocol). The TSM platform sends a second download request of the card application, where the second download request may carry the mobile phone number corresponding to the terminal. In response to the above-mentioned second download request, the operator server may send an APDU instruction list for downloading the card application to the operator server.
[0087] After receiving the above APDU command list, the service server may send to the terminal a first 5G message whose message content includes the above APDU command list, and the first 5G message includes a message type instructing the SIM card to process. The terminal can parse the received first 5G message, and can transmit the APDU command list parsed from the first 5G message to the terminal when it is parsed that the first 5G message includes a message type that indicates processing by the SIM card. The SIM card is executed through the SIM card, and the execution result of the above-mentioned APDU instruction list, that is, the above-mentioned processing result, can be received from the SIM card, and sent to the service server.
[0088] The service server may send the received processing result to the operator server, receive the card application download result from the operator server, and send the card application download result to the terminal to notify the terminal of the card application download situation.
[0089]It should be noted that this embodiment is an implementation of the service server corresponding to the above method embodiment, therefore, reference may be made to the relevant description in the above method embodiment, and the same beneficial effects can be achieved. In order to avoid repeated descriptions, detailed descriptions are omitted here.
[0090] The various optional implementation manners introduced in the embodiments of the present invention may be implemented in combination with each other or independently if they do not conflict with each other, which are not limited by the embodiments of the present invention.
[0091] The following describes the information transmission method provided by the embodiments of the present invention with reference to examples:
[0092] see Figure 4 , Figure 4 is the third flow chart of the information transmission method provided by the embodiment of the present invention, such as Figure 4 As shown, the information transmission method provided by the embodiment of the present invention may include the following steps:
[0093] Step S401: The Chatbot server for the card carrier service issues a notification for downloading the card carrier service to the terminal.
[0094] Step S402, the user clicks to apply for the card carrier business immediately.
[0095] In this step, when the user clicks to apply for the card carrier service immediately, the terminal sends a first download request of the card application to the card carrier service Chatbot server, and the card application may be the card application corresponding to the above-mentioned to-be-handled card carrier service.
[0096] Step S403 , the Chatbot server of the card carrier type service carries the user's mobile phone number to request the TSM platform of the operator to download the card application.
[0097] In this step, the Chatbot server of the card carrier type service may send a second download request of the card application to the operator's TSM platform through HTTPS, and the second download request may carry the mobile phone number of the user on the terminal side.
[0098] Step S404, the operator's TSM platform returns the card application download encrypted APDU instruction list to the card carrier service Chatbot server.
[0099] Step S405 , the Chatbot server of the card carrier type service delivers the first 5G message to the terminal.
[0100] In this step, the Chatbot server for the card carrier service assembles the APDU command list returned by the operator's TSM platform into a first 5G message, wherein the first 5G message includes a message type indicating the SIM card processing, the message of the first 5G message The body includes the above-mentioned list of APDU commands.
[0101] Step S406, the terminal parses the message type of the first 5G message.
[0102] In this step, the terminal can use the 5G message application to parse the received first 5G message according to the protocol specification, and in the case that the first 5G message is parsed to include the message type instructed to be processed by the SIM card, it can not make any presentation on the message interface, The message content of the first 5G message is transmitted to the SIM card, that is, step 407 is executed.
[0103] Step S407, the terminal transmits the APDU command list to the SIM card.
[0104] In this step, the terminal may call the terminal's own OMA interface to open the SIM card logical channel, and transmit the APDU command list obtained by parsing to the SIM card.
[0105] Step S408, the SIM card executes the APDU instruction.
[0106] In this step, the corresponding application on the SIM card receives and executes the APDU instruction.
[0107] Step S409, the SIM card returns the instruction execution result to the terminal.
[0108] In this step, the SIM card can return the instruction execution result to the terminal through the OMA interface.
[0109] Step S410, the terminal returns the instruction execution result to the card carrier type business Chatbot server.
[0110] Step S411, the Chatbot server of the card carrier type service returns the instruction execution result to the operator's TSM platform.
[0111] Step S412, the operator TSM platform parses and stores the instruction execution result.
[0112] Step S413, the operator's TSM platform returns the card application download result to the card carrier service Chatbot server.
[0113] Step S414 , the Chatbot server of the card carrier service sends a message to notify the user of the download result of the card application.
[0114] It should be noted that, the above-mentioned Chatbot server of the card carrier type service can communicate with the terminal via the MaaP (Message as a Platform) platform and the 5GMC (5G Message Center, 5G message center). For example, the Chatbot server for card-based services can issue a notification for downloading card-based services to the terminal via the MaaP platform and 5GMC, and the terminal can send a card application download request to the Chatbot server for card-based services via the 5GMC and MaaP platforms.
[0115] In the prior art, Android APP's access to the SIM card is restricted by AC (Access Control, access control) rules due to security reasons, and the SHA1 (Secure Hash Algorithm1, Secure Hash Algorithm1) value of the APP's signature needs to be written into the SIM card in advance In the AC file of the APP, only the APP authorized by the operator is allowed to access the SIM card. Each time a service APP is added, the signature value of the APP needs to be written into the AC file of the SIM card, otherwise the newly added APP still cannot access the SIM card. With the increase of APP, the AC file will gradually increase, and when the APP is deleted in the Android system, the AC rules in the SIM card will not be deleted synchronously, and the AC rule update instruction needs to be issued by the operator's TSM platform to update. AC file on SIM card.
[0116] The embodiment of the present invention is based on the interaction between 5G messages and the SIM card. Since 5G messages are the native portal for operators to provide services to users on the terminal side, they have the right to access the SIM card without being subject to the access restrictions of AC rules. Therefore, based on 5G messages Interacting with the SIM card can solve the problem that the Android APP accesses the SIM card is cumbersome and inconvenient in the prior art, and realizes the integration of the SIM card carrier service and the 5G message service.
[0117] see Figure 5 , Figure 5 It is a schematic structural diagram of a terminal provided by an embodiment of the present invention. like Figure 5 As shown, terminal 500 includes:
[0118] a first transceiver 501, configured to receive a first 5G message from a service server;
[0119] The first processor 502 is configured to transmit the message content of the first 5G message to the SIM card in the case that the first 5G message includes a message type that is instructed to be processed by the SIM card.
[0120] Optionally, the message content of the first 5G message includes an application protocol data unit APDU instruction list.
[0121] Optionally, the message label of the first 5G message includes an APDU label, and the message body of the first 5G message includes the APDU instruction list.
[0122] Optionally, the terminal further includes:
[0123] The first processor is further configured to, in the case that the message type of the first 5G message includes a message type that indicates processing by the SIM card, after transmitting the message content of the first 5G message to the SIM card, Obtain the processing result for the message content returned by the SIM card;
[0124] The first transceiver is further configured to send the processing result to the service server.
[0125] Optionally, the message content of the first 5G message includes an APDU instruction list for card application download;
[0126] The first transceiver is also used for:
[0127] before receiving the first 5G message from the service server, sending a first download request of the card application to the service server;
[0128] and / or
[0129] After the processing result is sent to the service server, the download result of the card application sent by the service server is received.
[0130] The terminal 500 can implement the embodiments of the present invention figure 2 The various processes of the method embodiments, as well as achieving the same beneficial effects, are not repeated here in order to avoid repetition.
[0131] see Image 6 , Image 6 It is a schematic structural diagram of a service server provided by an embodiment of the present invention. like Image 6 As shown, the service server 600 includes:
[0132] The second transceiver 601 is configured to send a first 5G message to the terminal, where the first 5G message includes a message type that indicates processing by the SIM card.
[0133] Optionally, the message content of the first 5G message includes an application protocol data unit APDU instruction list.
[0134] Optionally, the message label of the first 5G message includes an APDU label, and the message body of the first 5G message includes the APDU instruction list.
[0135] Optionally, the second transceiver is also used for:
[0136] After the sending of the first 5G message to the terminal, receiving the processing result of the SIM card sent by the terminal;
[0137] Send the processing result to the operator server.
[0138] Optionally, the message content of the first 5G message includes an APDU instruction list for card application download;
[0139] The second transceiver is also used to:
[0140] before the sending the first 5G message to the terminal, receiving the first download request of the card application from the terminal;
[0141] sending a second download request of the card application to the operator server;
[0142] receiving the APDU command list from the operator server;
[0143] and / or
[0144] After sending the processing result to the operator server, receiving the download result of the card application sent by the operator server;
[0145] Send the download result of the card application to the terminal.
[0146] The service server 600 can implement the embodiments of the present invention image 3 The various processes of the method embodiments, as well as achieving the same beneficial effects, are not repeated here in order to avoid repetition.
[0147] see Figure 7 , Figure 7is a schematic structural diagram of an electronic device provided by an embodiment of the present invention, such as Figure 7 As shown, the electronic device 700 includes a processor 701, a memory 702, a program or instruction stored on the memory 702 and executable on the processor 701, and the program or instruction is implemented when executed by the processor 701 figure 2 The various processes or implementations of the method embodiments of image 3 Each process of the method embodiment of the present invention can achieve the same technical effect, and to avoid repetition, it will not be repeated here.
[0148] Those skilled in the art can understand that all or part of the steps for implementing the methods in the above embodiments can be completed by program instructions related to hardware, and the program can be stored in a readable medium. Embodiments of the present invention further provide a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the above-mentioned can be implemented figure 2 or image 3 Any steps in the corresponding method embodiments can achieve the same technical effect, and are not repeated here in order to avoid repetition.
[0149] The storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
[0150] The above are preferred implementations of the embodiments of the present invention. It should be pointed out that for those skilled in the art, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and Retouching should also be regarded as the protection scope of the present invention.
PUM


Description & Claims & Application Information
We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.