CN115884185A - Terminal data uplink method, device and related equipment - Google Patents

Terminal data uplink method, device and related equipment Download PDF

Info

Publication number
CN115884185A
CN115884185A CN202111134132.XA CN202111134132A CN115884185A CN 115884185 A CN115884185 A CN 115884185A CN 202111134132 A CN202111134132 A CN 202111134132A CN 115884185 A CN115884185 A CN 115884185A
Authority
CN
China
Prior art keywords
data
terminal
command
block chain
sim card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111134132.XA
Other languages
Chinese (zh)
Inventor
王敏
习熹
柳耀勇
孙东昱
肖青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile IoT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202111134132.XA priority Critical patent/CN115884185A/en
Publication of CN115884185A publication Critical patent/CN115884185A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a terminal data uplink method, a device and related equipment, and relates to the technical field of communication, wherein the terminal data uplink method comprises the following steps: receiving a service data uplink request, wherein the service data uplink request is a request sent to the SIM card by a terminal in response to receiving a first operation; and responding to the service data uplink request, and sending a first command to the terminal based on a data transmission protocol, wherein the first command is used for establishing a communication connection relation among the SIM card, the terminal and a block chain platform. According to the embodiment of the invention, the SIM card is used for sending the first command to the terminal to establish the communication connection relation among the terminal, the SIM card and the block chain platform, so that the terminal equipment is prevented from directly establishing the communication connection relation with the block chain platform, and the risk of leakage of the communication information of the terminal is reduced.

Description

Terminal data uplink method, device and related equipment
Technical Field
The embodiment of the invention relates to the technical field of wireless communication, in particular to a terminal data uplink method, a device and related equipment.
Background
The block-chain technique is a communication technique widely used in the terminal service data uplink. In the prior art, a blockchain application control terminal is usually used to enable a Subscriber Identity Module (SIM) card to access the internet through a communication Module, so as to complete information interaction. However, in the prior art, terminal communication needs to access the internet through a communication module, and there is a possibility that an access address stored in the communication module is modified, so that the SIM card is in network connection with a counterfeit node platform, which causes a high risk of information leakage.
Therefore, the problem that the risk of leakage of terminal communication information is high exists in the prior art.
Disclosure of Invention
The embodiment of the invention provides a terminal data uplink method, a device and related equipment, which are used for solving the problem of higher risk of leakage of terminal communication information in the prior art.
In order to solve the problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a terminal data uplink method, which is performed by an SIM card, and the method includes:
receiving a service data uplink request, wherein the service data uplink request is a request sent to the SIM card by a terminal in response to receiving a first operation;
and responding to the service data uplink request, and sending a first command to the terminal based on a data transmission protocol, wherein the first command is used for establishing a communication connection relation among the SIM card, the terminal and a block chain platform.
In a second aspect, an embodiment of the present invention further provides a terminal data uplink method, which is performed by a terminal, and the method includes:
sending a service data uplink request to an SIM card, wherein the service data uplink request is a request sent to the SIM card by the terminal in response to a received first operation;
receiving a first command, wherein the first command is sent to the terminal by the SIM card in response to the service data uplink request based on a data transmission protocol, and the first command is used for establishing a communication connection relationship among the SIM card, the terminal and a block chain platform;
and establishing a communication connection relation among the SIM card, the terminal and the block chain platform based on a data transmission protocol according to the first command.
In a third aspect, an embodiment of the present invention further provides a terminal data uplink method, which is performed by a block chain platform, and the method includes:
receiving a second command, wherein the second command is a command sent by a terminal to a node address, and the second command is used for requesting the block chain platform to establish a communication connection relationship with the terminal;
and responding to the received second command, and establishing a communication connection relation between the terminal and the block chain platform based on a preset communication transmission protocol of a protocol adaptation system and the terminal.
In a fourth aspect, an embodiment of the present invention further provides a terminal data uplink apparatus, including:
a first receiving module, configured to receive a service data uplink request, where the service data uplink request is a request sent to an SIM card by a terminal in response to receiving a first operation;
a first sending module, configured to send a first command to the terminal based on a data transmission protocol in response to the service data uplink request, where the first command is used to establish a communication connection relationship among the SIM card, the terminal, and a block chain platform.
In a fifth aspect, an embodiment of the present invention further provides another terminal data uplink apparatus, including:
a first sending module, configured to send a service data uplink request to an SIM card, where the service data uplink request is a request sent by the terminal to the SIM card in response to a received first operation;
a first receiving module, configured to receive a first command, where the first command is sent by the SIM card to the terminal based on a data transmission protocol in response to the service data uplink request, and the first command is used to establish a communication connection relationship among the SIM card, the terminal, and a block chain platform;
and the first communication module is used for establishing the communication connection relation among the SIM card, the terminal and the block chain platform based on a data transmission protocol according to the first command.
In a sixth aspect, an embodiment of the present invention further provides another terminal data uplink apparatus, including:
a first receiving module, configured to receive a second command, where the second command is a command sent by a terminal to a node address, and the second command is used to request a blockchain platform to establish a communication connection relationship with the terminal;
and the first communication module is used for responding to the received second command and establishing a communication connection relation between the terminal and the block chain platform based on a preset communication transmission protocol of a protocol adaptation system and the terminal.
In a seventh aspect, an embodiment of the present invention further provides a communication device, including: a transceiver, a memory, a processor, and a program stored on the memory and executable on the processor; wherein the processor is configured to read a program in the memory to implement the steps of the method according to the first aspect; or, implementing the steps in the method according to the second aspect; or implementing the steps in the method according to the aforementioned third aspect.
In an eighth aspect, the embodiment of the present invention further provides a readable storage medium, for storing a program, where the program, when executed by a processor, implements the steps in the method according to the foregoing first aspect; or, implementing the steps in the method according to the second aspect; or implementing the steps in the method according to the aforementioned third aspect.
In the embodiment of the invention, the SIM card is used for sending the first command to the terminal to establish the communication connection relation among the terminal, the SIM card and the block chain platform, so that the condition that the terminal equipment directly establishes the communication connection relation with the block chain platform is avoided, the butt joint and application complexity of the block chain application control terminal business data uplink and the transformation cost and research and development investment of terminal scheme merchants and modules are effectively reduced, the software and hardware of the control terminal can be modified in zero or few ways, the complete business data uplink flow is realized, and meanwhile, the terminal communication information leakage risk is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a method for uplink of terminal data performed by a SIM card according to an embodiment of the present invention;
fig. 2 is a second flowchart of a method for uplink of terminal data performed by a SIM card according to an embodiment of the present invention;
fig. 3 is a flowchart of a terminal data uplink method executed by a terminal according to an embodiment of the present invention;
fig. 4 is a second flowchart of a terminal data uplink method performed by a terminal according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for uplink of terminal data performed by a block chain platform according to an embodiment of the present invention;
fig. 6 is a second flowchart of a method for uplink data transmission of a terminal performed by a block chain platform according to an embodiment of the present invention;
fig. 7 is a diagram illustrating a method for uplink transmission of data in a terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an apparatus for uplink data in a terminal according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a second apparatus for uplink data of a terminal according to an embodiment of the present invention;
fig. 10 is a schematic diagram of another terminal data uplink device according to an embodiment of the present invention;
fig. 11 is a schematic diagram of another second apparatus for uplink data of a terminal according to another embodiment of the present invention;
fig. 12 is a schematic diagram of another terminal uplink data device according to another embodiment of the present invention;
fig. 13 is a schematic diagram of another second apparatus for uplink data of a terminal according to another embodiment of the present invention;
fig. 14 is a communication apparatus of a terminal data uplink device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a terminal data uplink method executed by a SIM card according to an embodiment of the present invention, where the method includes:
s101, receiving a service data uplink request, wherein the service data uplink request is a request sent to the SIM card by a terminal after responding to the first operation;
the terminals are mostly control execution devices or sensing units in the field of internet of things, are responsible for an initiator of a business data processing flow in the whole system, and provide original data service for a target link object. The terminal may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or a vehicle-mounted Device.
The first operation is a business operation performed by a user or an operator on the terminal, for example, a transaction operation is performed. At this time, in the case that the first operation is that the user or the operator completes a transaction on the terminal, the terminal responds to the first operation and sends the content of the transaction operation to the SIM card by means of a service data uplink request.
The SIM, i.e. the subscriber identity module, is essentially a UICC card (universal integrated circuit card). The main function of the system is to provide identification information and stored data when the mobile terminal device communicates with the network, and to complete the whole process of identification authentication and information interaction under the safe condition, i.e. under the condition that the Personal Identification Number (PIN) and the authentication key are correct.
The SIM card is a special application of a security chip, and generally requires to have the protection capability of hardware attack, the security level requirement reaches EAL4+ (the evaluation level of the information technology security evaluation criterion) and is divided into 7 levels, and EAL4+ is the security level of EAL4 and above), so that the security of data stored in the SIM card can be effectively guaranteed, and malicious tampering can be prevented.
S102, responding to the service data uplink request, and sending a first command to the terminal based on a data transmission protocol, wherein the first command is used for establishing a communication connection relationship among the SIM card, the terminal and a block chain platform.
The first command is a command which is realized by depending on the active command function of the SIM card and is sent to the terminal based on a data transmission protocol to request the cellular communication module to establish basic network communication service with the block chain platform. For example, after receiving a service data uplink request, the SIM card responds to the service data uplink request and sends a first command to the terminal by using an active command function based on a data transmission protocol, so that the terminal can establish a communication connection relationship with the blockchain platform through the first command.
The cellular communication module provides the connection capability of a cellular network for the terminal, realizes basic data communication service, receives an instruction request of a control terminal, initiates service processes such as service data safety processing and the like, and sends a data message to a target link object.
The block chain is a public distributed shared database, and has the characteristics of decentralization, non-tamper property, auditability, anonymity, independence and the like. The block chain utilizes technologies such as a consensus mechanism, an intelligent contract and asymmetric encryption, can realize the falsification prevention, the forgery prevention and the traceability of information in the processes of information storage, sharing and the like, and comprises a data layer, a network layer, a consensus layer, an intelligent contract layer and an application layer framework.
In the embodiment, the SIM card is used for sending the first command to the terminal to establish the communication connection relation among the terminal, the SIM card and the block chain platform, so that the terminal equipment is prevented from directly establishing the communication connection relation with the block chain platform, and the risk of leakage of the communication information of the terminal is reduced.
Specifically, a first command is sent to a cellular communication module of the terminal through the SIM card, and the cellular communication module establishes a communication connection relation with the block chain platform after receiving the first command, so that the network access and authentication functions of a cellular network are realized, the legal access of the terminal to a cellular base station is guaranteed, and reliable internet communication service is provided.
As an alternative implementation manner, referring to fig. 2, fig. 2 is a second flowchart of a terminal data uplink method executed by a SIM card according to an embodiment of the present invention, where after the first command is sent to the terminal based on a data transmission protocol, the method includes:
s103, calculating and format converting the business data uplink request based on a preset block chain application to obtain a safety message;
the blockchain application is a module which is arranged in the SIM card and provides encryption service, and the risk of hardware attack and the risk of leakage in the encryption operation process are reduced through a high-security hardware environment and a high-security storage operation environment based on the SIM card. Therefore, encryption service can be provided for blockchain application by depending on the security environment of the SIM card, and the establishment of a secure and credible communication connection relation is realized by adopting a service based on the encryption service, so that the confidentiality and the legality in the data transmission process are ensured.
And S104, based on the data transmission protocol, sending the safety message to the block chain platform according to the communication connection relation.
In the embodiment, by using the blockchain application and using the high-security hardware environment and the high-security storage and operation environment of the SIM card, the risk of hardware attack and the risk of data leakage can be effectively reduced, so that the terminal and the blockchain platform can establish a secure and reliable communication connection relationship.
As an alternative embodiment, the blockchain application includes a security algorithm, a random number, an anti-replay factor counter, and a data processing algorithm;
the calculating and format converting the service data uplink request based on the preset block chain application to obtain a safety message comprises:
based on the random number and the anti-replay factor counter, performing data format conversion on the service data uplink request by using the data processing algorithm to obtain first intermediate data;
processing the first intermediate data based on the security algorithm to obtain second intermediate data;
and based on the random number, the anti-replay factor counter processes the second intermediate data by using the data processing algorithm to obtain the safety message.
In the embodiment, the random number and the anti-replay factor counter are used, so that the block chain platform can identify replay attack, and illegal equipment is prevented from cheating the system to acquire data.
After the block chain platform receives the security messages sent by the multiple SIM cards, for example, after the block chain platform receives the first message and the second message with the same content, the block chain platform obtains the random number and the anti-replay factor counter by parsing the first message and the second message, and when the random number and the anti-replay factor counter of the first message are the same as those of the second message, the first message and the second message are determined to be the same message, and the terminal sending the second message cannot be determined to be a legal device, and does not perform other processing or storage on the second message.
Wherein the random number and the anti-replay factor counter are generated for the SIM card itself. The SIM card can enhance the security intensity of data by processing and format conversion twice on the service data uplink request by using a hash function based on a random number and a replay prevention factor counter. Similarly, the block chain platform receiving the security message needs to perform two processing and format conversion on the security message to obtain the random number and the anti-replay factor counter, so that data content is prevented from being leaked after the terminal is accessed to other block chain platforms.
As an alternative embodiment, the security algorithm includes key agreement, key dispersion, encryption algorithm and signature algorithm, and the second intermediate data includes encryption data, signature data and anti-replay factor;
the processing the first intermediate data based on the security algorithm to obtain second intermediate data comprises:
processing the first intermediate data based on the key agreement, the key dispersion and the signature algorithm to obtain the signature data;
processing the first intermediate data based on the encryption algorithm to obtain the encrypted data;
the anti-replay factor is obtained based on the random number and an anti-replay factor counter.
In the embodiment, by depending on the security key storage and operation environment of the SIM card, the security and credibility of the whole service data processing and reporting process can be ensured, and an attacker is prevented from sniffing and counterfeiting; the protected information can be effectively prevented from being stolen after the security message is leaked through the encrypted data.
The signature data is a signature key, the signature key is a section of digital string which is generated by the SIM card and cannot be forged, and the authenticity of the transmitted information can be proved. The integrity of the signature key is easy to verify, so that the safety and the reliability of the service data can be guaranteed through the signature key.
The signature Key calculation may support, but is not limited to, an international or national cryptographic algorithm, a symmetric or asymmetric Key, a PKI (Public Key Infrastructure) certificate service, and the like, and the specifically used signature Key may be negotiated and selected with the blockchain platform. The signature key calculation is carried out in the secure hardware environment and the storage operation environment of the SIM card, so that the security of the signature key stored in the SIM card and the security of the service data processing flow operated in the SIM card can be effectively guaranteed.
Referring to fig. 3, fig. 3 is a flowchart of a terminal data uplink method executed by a terminal according to an embodiment of the present invention, where the method includes:
s201, sending a service data uplink request to an SIM card, wherein the service data uplink request is a request sent to the SIM card by the terminal in response to a received first operation;
s202, receiving a first command, wherein the first command is sent to the terminal by the SIM card in response to the service data uplink request based on a data transmission protocol, and the first command is used for establishing a communication connection relationship among the SIM card, the terminal and a block chain platform;
s203, establishing a communication connection relation among the SIM card, the terminal and the block chain platform based on a data transmission protocol according to the first command.
In the embodiment, the terminal establishes the communication connection relationship among the SIM card, the terminal and the block chain platform through the first command sent by the SIM card, so that the terminal is prevented from directly establishing the communication connection relationship with the block chain platform, the terminal is prevented from being attacked and accessed to an illegal block chain platform, and the risk of information leakage is reduced.
The data transmission protocol of the terminal, the data transmission protocol of the SIM card and the data transmission protocol of the block chain platform are consistent, and the communication connection relation among the SIM card, the terminal and the block chain platform can be established based on a first command sent by the SIM card.
As an optional implementation manner, the data transmission protocol is a Bearer Independent Protocol (BIP), and the establishing, according to the first command and based on the data transmission protocol, a communication connection relationship between the terminal and the block chain platform includes:
establishing a communication connection relation with the SIM card based on an independent bearer protocol;
analyzing the first command to obtain a node address of the block chain platform;
sending a second command to the node address, wherein the second command is used for requesting the blockchain platform to establish a communication connection relationship with the terminal;
and establishing a communication connection relation among the SIM card, the terminal and the block chain platform based on the independent bearer protocol and a protocol adaptation system preset by the block chain platform.
In this embodiment, since the SIM card is required to actively send a command for establishing a communication connection relationship, a BIP technology is adopted, wherein the BIP technology increases the new active operation capability of the SIM card based on the original passive operation mode of the SIM card, that is, allows applications and services in the SIM card to actively interact with the cellular terminal.
In the conventional technology, an asymmetric master-slave relationship exists between the summary terminal and the SIM card, that is, the SIM card can only passively receive and execute the instruction of the mobile phone, and the mobile phone is in an absolute active control position. Any action can only be initiated by the handset and responded to by the SIM card. And the use of BIP technology can allow the SIM card to perform data Transmission between a remote server and a TCP/IP (Transmission Control Protocol/Internet Protocol).
Among them, the BIP technology supports five active commands of opening a connection (OPEN CHANNEL), closing a connection (CLOSE CHANNEL), acquiring a connection state (GET CHANNEL STATUS), receiving DATA (RECEIVE DATA), and transmitting DATA (SEND DATA). In this embodiment, the first command sent by the SIM card to the terminal belongs to a connection opening command, and the terminal can establish a communication connection relationship between the terminal and the blockchain platform based on the BIP after receiving the connection opening command. After the communication connection relationship is established between the terminal and the block chain platform, the SIM card can send a safety message to the block chain platform through the communication connection relationship.
And after the terminal sends the second command to the block chain platform, the block chain platform adapts the BIP technology according to the protocol adaptation system, and then establishes a communication connection relation between the terminal and the block chain platform according to the second command.
In addition, the BIP technology can improve the transmission efficiency and stability between the terminal and the block chain platform, and is beneficial to realizing the transmission of high-speed mobile data service, so that the transmission of various service data becomes easier and faster.
In addition, aiming at different terminals, the terminal can be quickly accessed into the block chain link point platform by replacing the SIM card supporting the block chain application, the butt joint and application complexity of the block chain application control terminal service data uplink and the transformation cost and research and development investment of terminal scheme business and modules are effectively reduced, the software and hardware of the control terminal can be modified to zero or extremely few, and the complete service data uplink process is realized.
As an alternative implementation manner, please refer to fig. 4, where fig. 4 is a second flowchart of a terminal data uplink method executed by a terminal according to an embodiment of the present invention, and after the communication connection relationship among the subscriber identity module card, the terminal, and the block chain platform is established based on a data transmission protocol, the method includes:
s204, receiving a safety message based on the communication connection relation, wherein the safety message is data obtained by the SIM card responding to the received service data uplink request and performing calculation and format conversion on the service data uplink request;
s205, sending the safety message to the block chain platform.
In this embodiment, the SIM card sends the security message to the blockchain platform through the communication connection between the terminal and the blockchain platform. And after the block chain platform receives the safety message, responding to the safety message, and sending a data receiving command to the SIM card to complete the information transmission process.
Referring to fig. 5, fig. 5 is a flowchart of a method for uplink data transmission of a terminal performed by a block chain platform according to an embodiment of the present invention, where the method includes:
s301, receiving a second command, wherein the second command is a command sent by a terminal to a node address, and the second command is used for requesting the blockchain platform to establish a communication connection relationship with the terminal;
s302, responding to the received second command, and establishing a communication connection relation between the terminal and the block chain platform based on a preset communication transmission protocol of a protocol adaptation system and the terminal.
In this embodiment, a communication connection relationship between the terminal and the blockchain platform is established through a protocol adaptation system of the blockchain platform, so as to implement communication connection between the blockchain platform and the terminal.
The Protocol adaptation system of the block chain platform provides a lightweight underlying communication data Protocol-based service for uplink security service data, including but not limited to TCP (Transmission Control Protocol), UDP (User Datagram Protocol), coAP (Constrained Application Protocol), and the like. In this embodiment, the communication connection relationship between the terminal and the blockchain platform is realized through the BIP technology, the service data secure uplink process is completed, and the direct establishment of the terminal and the docking between blockchain platforms are avoided, so that the risk of information leakage is reduced.
Compared with the prior art, the protocol adaptation system is converted into a complex HTTP protocol service to communicate with the service platform, so that the data flow, the system response delay, the system power consumption, the hardware resource consumption and the like in the whole process are reduced
As an alternative implementation, please refer to fig. 6, where fig. 6 is a second flowchart of a method for uplink of terminal data performed by a blockchain platform according to an embodiment of the present invention, and after establishing a communication connection relationship between the terminal and the blockchain platform, the method further includes:
s303, receiving a safety message according to the communication connection relation, wherein the safety message is obtained by calculating and converting a business data uplink request by an SIM card based on a preset block chain application;
s304, analyzing the safety message based on a preset safety service system to obtain a random number, a replay prevention factor counter, a signature key and decryption data;
s305, judging whether the safety message is from legal terminal data or not based on a signature key;
s306, under the condition that the safety message comes from legal terminal data, processing and storing the random number, the anti-replay factor counter and the decrypted data.
In this embodiment, since the security packet is obtained by performing data conversion and calculation twice in the SIM card, the corresponding parsing and data conversion processes need to be performed on the security packet in the blockchain platform to obtain the random number, the anti-replay factor counter, the signature key, and the decrypted data.
The safety service system is used for providing key management service, safety authentication service and the like and verifying the safety and credibility of the business data information of the uplink. In order to prevent the illegal equipment from connecting the block chain platform to acquire data, the security service system judges whether the security message is from the legal equipment by using the signature key, so that the security and credibility of the whole service data processing and reporting process can be guaranteed by depending on the security key storage and operation environment of the SIM, and the block chain platform is prevented from being attacked or counterfeited.
As an optional implementation, the processing and storing the random number, the anti-replay factor counter, and the decrypted data based on a preset data processing and storing system includes:
determining whether the secure message belongs to a duplicate message based on the nonce and the anti-replay factor counter;
and processing and storing the decrypted data based on a preset data processing and storing system under the condition that the safety message does not belong to the repeated message.
In the embodiment, replay attack can be prevented through the random number and the replay-resistant factor counter, and the decrypted data which is not attacked by replay is processed and stored through the data processing and storing system, so that the risk of information leakage is reduced.
The data processing and storing system provides data processing and storing processes after the service data is linked up after the credibility verification, and the processes include but are not limited to data packaging, consensus completion, contract processing and the like. The data processing and storing system can realize the credible acquisition of business data, for example, certain transaction data can be acquired based on the credible acquisition on a block chain platform.
Referring to fig. 7, fig. 7 is a schematic diagram of a terminal data uplink method according to an embodiment of the present invention. The data uplink method provided by the embodiment of the present invention is consistent with the schematic diagram shown in fig. 7.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an apparatus 400 for uplink data transmission of a terminal according to an embodiment of the present invention, where the apparatus 400 for uplink data transmission of a terminal includes:
a first receiving module 401, configured to receive a service data uplink request, where the service data uplink request is a request sent by a terminal to a subscriber identity module card in response to receiving a first operation;
a first sending module 402, configured to send a first command to the terminal based on a data transmission protocol in response to the service data uplink request, where the first command is used to establish a communication connection relationship among the subscriber identity module card, the terminal, and a block chain platform.
As an alternative embodiment, referring to fig. 9, fig. 9 is a schematic structural diagram of a second terminal data uplink apparatus 400 according to an embodiment of the present invention, where the terminal data uplink apparatus 400 further includes:
a first processing module 403, configured to perform calculation and format conversion on the service data uplink request based on a preset block chain application, so as to obtain a security message;
a second sending module 404, configured to send the security packet to the blockchain platform according to the communication connection relationship based on the data transmission protocol.
As an alternative embodiment, the blockchain application includes a security algorithm, a random number, an anti-replay factor counter, and a data processing algorithm;
the first processing module comprises:
a first processing unit, configured to perform data format conversion on the service data uplink request by using the data processing algorithm based on the random number and the anti-replay factor counter, so as to obtain first intermediate data;
the second processing unit is used for processing the first intermediate data based on the security algorithm to obtain second intermediate data;
and the third processing unit is used for processing the second intermediate data by using the data processing algorithm based on the random number and the anti-replay factor counter to obtain the safety message.
As an alternative embodiment, the security algorithm includes key agreement, key dispersion, encryption algorithm and signature algorithm, and the second intermediate data includes encryption data, signature data and anti-replay factor;
the second processing unit includes:
a fourth processing unit, configured to process the first intermediate data based on the key agreement, the key distribution, and the signature algorithm, to obtain the signature data;
a fifth processing unit, configured to process the first intermediate data based on the encryption algorithm to obtain the encrypted data;
a sixth processing unit for obtaining the anti-replay factor based on the random number and an anti-replay factor counter.
The terminal data uplink apparatus 400 can implement each process executed by the SIM card in the above method embodiments, and can achieve the same technical effect, and is not described herein again to avoid repetition.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a terminal data uplink device 500 according to an embodiment of the present invention, where the terminal data uplink device 500 includes:
a first sending module 501, configured to send a service data uplink request to a subscriber identity module card, where the service data uplink request is a request sent by the terminal to the subscriber identity module card in response to a received first operation;
a first receiving module 502, configured to receive a first command, where the first command is a first command sent by the sim card to the terminal based on a data transmission protocol in response to the service data uplink request, and the first command is used to establish a communication connection relationship among the sim card, the terminal, and a block chain platform;
a first communication module 503, configured to establish a communication connection relationship among the sim card, the terminal, and the blockchain platform based on a data transmission protocol according to the first command.
As an optional implementation manner, the data transmission protocol is an independent bearer protocol, and the first communication module includes:
the first communication unit is used for establishing a communication connection relation with the user identification module card based on an independent bearer protocol;
the second communication unit is used for analyzing the first command to obtain the node address of the block chain platform;
a third communication unit, configured to send a second command to the node address, where the second command is used to request the blockchain platform to establish a communication connection relationship with the terminal;
and the fourth communication unit is used for establishing the communication connection relation among the SIM card, the terminal and the block chain platform based on the independent bearer protocol and a protocol adaptation system preset by the block chain platform.
As an alternative embodiment, referring to fig. 11, fig. 11 is a schematic structural diagram of another terminal data uplink device 500 according to another embodiment of the present invention, where the terminal data uplink device 500 further includes:
a second receiving module 504, configured to receive a security message based on the communication connection relationship, where the security message is data obtained by the subscriber identity module card performing calculation and format conversion on the service data uplink request in response to receiving the service data uplink request;
a second sending module 505, configured to send the security packet to the blockchain platform.
The terminal data uplink apparatus 500 can implement each process executed by the terminal in the above method embodiments, and achieve the same technical effect, and is not described herein again to avoid repetition.
Referring to fig. 12, fig. 12 is a schematic structural diagram of an apparatus 600 for uplink transmission of terminal data, where the apparatus 600 for uplink transmission of terminal data includes:
a first receiving module 601, configured to receive a second command, where the second command is a command sent by a terminal to a node address, and the second command is used to request a blockchain platform to establish a communication connection relationship with the terminal;
a first communication module 602, configured to, in response to the received second command, establish a communication connection relationship between the terminal and the blockchain platform based on a preset communication transmission protocol between a protocol adaptation system and the terminal.
As an alternative embodiment, referring to fig. 13, fig. 13 is a schematic structural diagram of another terminal data uplink apparatus 600 according to another embodiment of the present invention, where the terminal data uplink apparatus 600 further includes:
a second receiving module 603, configured to receive a security message according to the communication connection relationship, where the security message is obtained by calculating and format converting a service data uplink request based on a preset block chain application by a subscriber identity module card;
a first processing module 604, configured to analyze the secure packet based on a preset security service system, to obtain a random number, a replay protection factor counter, a signature key, and decrypted data;
a determining module 605, configured to determine whether the security packet is from the legal terminal data based on the signature key;
a second processing module 606, configured to process and store the decrypted data based on a preset data processing and storage system when the security packet is from the legal terminal data.
As an optional implementation, the second processing module includes:
a sixth processing unit, configured to determine whether the secure packet message belongs to a duplicate message based on the random number and the anti-replay factor counter;
and the seventh processing unit is used for processing and storing the decrypted data based on a preset data processing and storing system under the condition that the safety message does not belong to the repeated message.
The terminal data uplink device 600 can implement each process executed by the block chain network in the method embodiment, and can achieve the same technical effect, and for avoiding repetition, the description is omitted here.
Referring to fig. 14, an embodiment of the present invention further provides a communication device. Referring to fig. 14, the communication device may include a bus 701, a transceiver 702, an antenna 703, a bus interface 704, a processor 705, and a memory 706, wherein:
when the communication device is an SIM card, the processor 701 may execute the program to implement any steps executed by the SIM card in the foregoing method embodiments and achieve the same beneficial effects, which are not described herein again;
when the communication device is a terminal, the program may be executed by the processor 701 to implement any steps executed by the terminal in the above method embodiments and achieve the same beneficial effects, which are not described herein again;
in the case that the communication device is a blockchain platform, when the program is executed by the processor 701, any step executed by the blockchain platform in the above method embodiments may be implemented and the same beneficial effect may be achieved, which is not described herein again.
In fig. 14, a bus architecture (represented by the bus 701), the bus 701 may include any number of interconnected buses and bridges, with the bus 701 linking various circuits including one or more processors, represented by the processor 705, and memory, represented by the memory 706. The bus 701 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 704 provides an interface between the bus 701 and the transceiver 702. The transceiver 702 may be one element or multiple elements, such as multiple receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. Data processed by processor 705 is transmitted over a wireless medium through antenna 703, which antenna 703 further receives data and transmits data to processor 705.
The processor 705 is responsible for managing the bus 701 and general processing, and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 706 may be used for storing data used by processor 705 in performing operations.
Optionally, the processor 705 may be a CPU, ASIC, FPGA or CPLD.
Those skilled in the art will appreciate that all or part of the steps of the method according to the above embodiments may be implemented by hardware associated with program instructions, and the program may be stored in a readable medium. An embodiment of the present invention further provides 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 computer program may implement any step in the method embodiment corresponding to fig. 1 or fig. 2; or, implementing any step in the method embodiments corresponding to fig. 3 or fig. 4; or, any step in the method embodiments corresponding to fig. 5 or fig. 6 may be implemented, and the same technical effect may be achieved, and is not described herein again to avoid repetition.
The storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present application may be substantially or partially embodied in the form of a software product, which is stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (e.g. a mobile phone, a computer, a server, an air conditioner, or a second terminal device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (22)

1. A terminal data uplink method performed by a SIM card, the method comprising:
receiving a service data uplink request, wherein the service data uplink request is a request sent to the SIM card by a terminal in response to receiving a first operation;
and responding to the service data uplink request, and sending a first command to the terminal based on a data transmission protocol, wherein the first command is used for establishing a communication connection relation among the SIM card, the terminal and a block chain platform.
2. The method of claim 1, wherein after sending the first command to the terminal based on a data transfer protocol, the method further comprises:
calculating and format converting the service data uplink request based on a preset block chain application to obtain a safety message;
and sending the safety message to the block chain platform according to the communication connection relation based on the data transmission protocol.
3. The method of claim 2, wherein the blockchain application comprises a security algorithm, a random number, an anti-replay factor counter, and a data processing algorithm;
the calculating and format converting the service data uplink request based on the preset block chain application to obtain a safety message comprises:
based on the random number and the anti-replay factor counter, performing data format conversion on the service data uplink request by using the data processing algorithm to obtain first intermediate data;
processing the first intermediate data based on the security algorithm to obtain second intermediate data;
and based on the random number, the anti-replay factor counter processes the second intermediate data by using the data processing algorithm to obtain the safety message.
4. The method of claim 3, wherein the security algorithm comprises key agreement, key dispersion, encryption algorithm, and signature algorithm, and the second intermediate data comprises encryption data, signature data, and anti-replay factor;
the processing the first intermediate data based on the security algorithm to obtain second intermediate data comprises:
processing the first intermediate data based on the key agreement, the key dispersion and the signature algorithm to obtain the signature data;
processing the first intermediate data based on the encryption algorithm to obtain the encrypted data;
the anti-replay factor is obtained based on the random number and an anti-replay factor counter.
5. A terminal data uplink method performed by a terminal, the method comprising:
sending a service data uplink request to an SIM card, wherein the service data uplink request is a request sent to the SIM card by the terminal in response to a received first operation;
receiving a first command, wherein the first command is that the SIM card responds to the service data uplink request and sends the first command to the terminal based on a data transmission protocol, and the first command is used for establishing a communication connection relationship among the SIM card, the terminal and a block chain platform;
and establishing a communication connection relation among the SIM card, the terminal and the block chain platform based on a data transmission protocol according to the first command.
6. The method according to claim 5, wherein the data transfer protocol is an independent bearer protocol, and the establishing the communication connection with the blockchain platform based on the data transfer protocol according to the first command comprises:
establishing a communication connection relation with the SIM card based on an independent bearer protocol;
analyzing the first command to obtain a node address of the block chain platform;
sending a second command to the node address, wherein the second command is used for requesting the block chain platform to establish a communication connection relation with the terminal;
and establishing a communication connection relation among the SIM card, the terminal and the block chain platform based on the independent bearer protocol and a protocol adaptation system preset by the block chain platform.
7. The method according to claim 5, wherein after establishing the communication connection relationship among the SIM card, the terminal and the blockchain platform based on a data transmission protocol, the method comprises:
receiving a safety message based on the communication connection relation, wherein the safety message is data obtained by the SIM card responding to the received business data uplink request and calculating and converting the format of the business data uplink request;
and sending the safety message to the block chain platform.
8. A terminal data uplink method performed by a block chain platform, the method comprising:
receiving a second command, wherein the second command is a command sent by a terminal to a node address, and the second command is used for requesting the blockchain platform to establish a communication connection relationship with the terminal;
and responding to the received second command, and establishing a communication connection relation between the terminal and the block chain platform based on a preset communication transmission protocol of a protocol adaptation system and the terminal.
9. The method of claim 8, wherein after establishing the communication connection between the terminal and the blockchain platform, the method further comprises:
receiving a safety message according to the communication connection relation, wherein the safety message is obtained by calculating and converting a business data uplink request by an SIM card based on a preset block chain application;
analyzing the safety message based on a preset safety service system to obtain a random number, a replay prevention factor counter, signature data and decryption data;
judging whether the safety message is from legal terminal data or not based on the signature data;
and under the condition that the safety message comes from legal terminal data, processing and storing the random number, the anti-replay factor counter and the decrypted data.
10. The method of claim 9, wherein the processing and storing the random number, the anti-replay factor counter, and the decrypted data based on a preset-based data processing and storage system comprises:
determining whether the secure message belongs to a duplicate message based on the nonce and the anti-replay factor counter;
and processing and storing the decrypted data based on a preset data processing and storing system under the condition that the safety message does not belong to the repeated message.
11. An apparatus for uplink data of a terminal, comprising:
a first receiving module, configured to receive a service data uplink request, where the service data uplink request is a request sent to an SIM card by a terminal in response to receiving a first operation;
a first sending module, configured to send a first command to the terminal based on a data transmission protocol in response to the service data uplink request, where the first command is used to establish a communication connection relationship among the SIM card, the terminal, and a block chain platform.
12. The apparatus of claim 11, further comprising:
the first processing module is used for calculating and converting the uplink service data request based on a preset block chain application to obtain a safety message;
and the second sending module is used for sending the safety message to the block chain platform according to the communication connection relation based on the data transmission protocol.
13. The apparatus of claim 12, wherein the blockchain application comprises a security algorithm, a random number, an anti-replay factor counter, and a data processing algorithm;
the first processing module comprises:
a first processing unit, configured to perform data format conversion on the service data uplink request by using the data processing algorithm based on the random number and the anti-replay factor counter, so as to obtain first intermediate data;
the second processing unit is used for processing the first intermediate data based on the security algorithm to obtain second intermediate data;
and the third processing unit is used for processing the second intermediate data by using the data processing algorithm based on the random number and the anti-replay factor counter to obtain the safety message.
14. The apparatus of claim 13, wherein the security algorithm comprises a key agreement, a key distribution, an encryption algorithm, and a signature algorithm, and wherein the second intermediate data comprises encryption data, signature data, and an anti-replay factor;
the second processing unit includes:
a fourth processing unit, configured to process the first intermediate data based on the key agreement, the key dispersion, and the signature algorithm, to obtain the signature data;
a fifth processing unit, configured to process the first intermediate data based on the encryption algorithm to obtain the encrypted data;
a sixth processing unit for obtaining the anti-replay factor based on the random number and an anti-replay factor counter.
15. An uplink apparatus for a terminal, comprising:
a first sending module, configured to send a service data uplink request to an SIM card, where the service data uplink request is a request sent to the SIM card by the terminal in response to a received first operation;
a first receiving module, configured to receive a first command, where the first command is a first command sent by the SIM card to the terminal based on a data transmission protocol in response to the service data uplink request, and the first command is used to establish a communication connection relationship among the SIM card, the terminal, and a block chain platform;
and the first communication module is used for establishing the communication connection relation among the SIM card, the terminal and the block chain platform based on a data transmission protocol according to the first command.
16. The apparatus of claim 15, wherein the data transmission protocol is an independent bearer protocol, and wherein the first communication module comprises:
the first communication unit is used for establishing a communication connection relation with the SIM card based on an independent bearer protocol;
the second communication unit is used for analyzing the first command to obtain the node address of the block chain platform;
a third communication unit, configured to send a second command to the node address, where the second command is used to request the blockchain platform to establish a communication connection relationship with the terminal;
and the fourth communication unit is used for establishing the communication connection relation among the SIM card, the terminal and the block chain platform based on the independent bearer protocol and a protocol adaptation system preset by the block chain platform.
17. The apparatus of claim 15, further comprising:
a second receiving module, configured to receive a security message based on the communication connection relationship, where the security message is obtained by the SIM card in response to receiving the service data uplink request, and performing calculation and format conversion on the service data uplink request;
and the second sending module is used for sending the safety message to the block chain platform.
18. An apparatus for uplink transmission in a terminal, comprising:
the first receiving module is used for receiving a second command, wherein the second command is a command sent by a terminal to a node address, and the second command is used for requesting a block chain platform to establish a communication connection relationship with the terminal;
and the first communication module is used for responding to the received second command and establishing a communication connection relation between the terminal and the block chain platform based on a preset communication transmission protocol of a protocol adaptation system and the terminal.
19. The apparatus of claim 18, further comprising:
a second receiving module, configured to receive a security message according to the communication connection relationship, where the security message is obtained by calculating and format converting a service data uplink request based on a preset block chain application by an SIM card;
the first processing module is used for analyzing the safety message based on a preset safety service system to obtain a random number, an anti-replay factor counter, signature data and decryption data;
the judging module is used for judging whether the safety message is from legal terminal data or not based on the signature data;
and the second processing module is used for processing and storing the decrypted data based on a preset data processing and storing system under the condition that the safety message comes from the legal terminal data.
20. The apparatus of claim 19, wherein the second processing module comprises:
a sixth processing unit, configured to determine whether the secure packet message belongs to a duplicate message based on the random number and the anti-replay factor counter;
and the seventh processing unit is used for processing and storing the decrypted data based on a preset data processing and storing system under the condition that the safety message does not belong to the repeated message.
21. A communication device, comprising: a transceiver, a memory, a processor, and a program stored on the memory and executable on the processor; the processor, configured to read a program in a memory to implement the steps in the terminal data uplink method according to any one of claims 1 to 4; or, implementing the steps in the terminal data uplink method according to any of claims 5 to 7; or, implementing the steps in the terminal data uplink method according to any of claims 8 to 10.
22. A readable storage medium for storing a program, wherein the program when executed by a processor implements the steps in the terminal data uplink method according to any of claims 1 to 4; or, implementing the steps in the terminal data uplink method according to any of claims 5 to 7; or, implementing the steps in the terminal data uplink method according to any of claims 8 to 10.
CN202111134132.XA 2021-09-27 2021-09-27 Terminal data uplink method, device and related equipment Pending CN115884185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111134132.XA CN115884185A (en) 2021-09-27 2021-09-27 Terminal data uplink method, device and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111134132.XA CN115884185A (en) 2021-09-27 2021-09-27 Terminal data uplink method, device and related equipment

Publications (1)

Publication Number Publication Date
CN115884185A true CN115884185A (en) 2023-03-31

Family

ID=85762824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111134132.XA Pending CN115884185A (en) 2021-09-27 2021-09-27 Terminal data uplink method, device and related equipment

Country Status (1)

Country Link
CN (1) CN115884185A (en)

Similar Documents

Publication Publication Date Title
KR101904177B1 (en) Data processing method and apparatus
US11432150B2 (en) Method and apparatus for authenticating network access of terminal
US20190165947A1 (en) Signatures for near field communications
US9530165B2 (en) Financial transaction system
CN103828414A (en) Security gateway communication
US10404475B2 (en) Method and system for establishing a secure communication tunnel
JP2015537476A (en) Fingerprint authentication system and fingerprint authentication method based on NFC
CN106576043A (en) Virally distributable trusted messaging
CN110266642A (en) Identity identifying method and server, electronic equipment
CN110278084B (en) eID establishing method, related device and system
CN102970135B (en) For finding method and apparatus of the shared secret without leaking non-shared secret
CN109309566B (en) Authentication method, device, system, equipment and storage medium
CN111131416A (en) Business service providing method and device, storage medium and electronic device
CN113473458B (en) Device access method, data transmission method and computer readable storage medium
JP2018519562A (en) Method and system for transaction security
CN113569263A (en) Secure processing method and device for cross-private-domain data and electronic equipment
RU2363985C2 (en) Call-based authentication, without need for knowledge of secret authentication data
EP2824603A2 (en) System and method for authenticating public keys
CN107566393A (en) A kind of dynamic rights checking system and method based on trust certificate
CN110958266A (en) Data processing method, system, computer device and storage medium
CN108900595B (en) Method, device and equipment for accessing data of cloud storage server and computing medium
Asaduzzaman et al. A security-aware near field communication architecture
CN115884185A (en) Terminal data uplink method, device and related equipment
CN113507370A (en) Forestry Internet of things equipment authorization authentication access control method based on block chain
Xu et al. Secure transfer protocol between app and device of Internet of Things

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination