Blockchain-based information processing method, blockchain system and terminal
Through the information processing method based on the blockchain, the real-name verification and association of terminals, enterprises and IoT cards are realized, which solves the problems of complex real-name registration and unreliable data of IoT cards in the existing technology, and improves the verification efficiency and security. sex.
Patent Information
- Application Number
- CN202110842759.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-26
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-07-26
AI Technical Summary
Existing real-name verification methods for IoT cards have problems such as complex offline real-name registration materials and cumbersome processes. It is difficult to register real-name registration to resale companies and actual use companies, and the reliability and timeliness of real-name registration data cannot be guaranteed.
Adopting a blockchain-based information processing method, it verifies user information, enterprise information, and IoT card information sent by the terminal, records the verification results in the blockchain system, establishes a status channel, and records interactive information according to preset rules to achieve Real-name verification and association of terminals, enterprises and IoT cards, simplifying the verification process and ensuring data cannot be tampered with and is traceable.
It simplifies the real-name verification process of IoT cards, solves the problems of difficult real-name registration and backtracking, ensures the reliability and timeliness of data, and improves transaction efficiency and security.
Smart Images

Figure CN115694852B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a blockchain-based information processing method, blockchain system and terminal. Background Art
[0002] Brief introduction to existing publicly known technologies: IoT card: IoT card is a mobile communication access service provided by the three major operators (China Mobile, China Unicom, and China Telecom) to IoT users based on the IoT private network. It is only sold to enterprises, not individuals. It uses three-network dedicated (11-digit or 13-digit) number segments and supports basic communication services such as wireless data and voice through dedicated network element equipment. It can be widely used in many fields such as mobile media, monitoring and surveillance, medical health, Internet of Vehicles, wearable devices, and smart meters. There are many sales modes for IoT cards, and secondary resales are prominent. They often have to go through multiple layers of resale before they reach the group customers who actually use them, and the chain involved is long. Due to the differences in real-name authentication and tariffs between IoT cards and mobile phone cards, some unscrupulous individuals use IoT cards for illegal scenarios such as personal mobile phone Internet access, telecommunications fraud, and online wool-pulling.
[0003] Blockchain: A distributed shared ledger and database with the characteristics of decentralization, immutability, full traceability, traceability, collective maintenance, openness and transparency. These characteristics ensure the "honesty" and "transparency" of blockchain and lay the foundation for blockchain to create trust. The rich application scenarios of blockchain are basically based on the ability of blockchain to solve the problem of information asymmetry and achieve collaborative trust and concerted action among multiple entities. Data storage is one of the largest applications of blockchain. Blockchain data storage is to store data on the blockchain to achieve the purpose of tamper-proof, traceability, and trustworthy data sources.
[0004] Real-name registration of IoT cards: As the chaos in the IoT card market worsens, the Ministry of Industry and Information Technology and operators have begun to introduce a series of new policies and measures for the IoT card market. The real-name registration of IoT cards is a new measure introduced by operators to target the fake IoT cards that are rampant in the market. IoT cards are special traffic cards launched by operators specifically for enterprises to connect to the network on hardware devices based on the IoT private network and independent network elements. They are mainly sold to the corporate market and not to individuals. Therefore, operators require all enterprises to register IoT cards with real names when opening and applying for IoT cards. In addition to regulating the chaos in the market, real-name IoT cards also make it easier for enterprises to manage IoT cards and save management costs.
[0005] In the prior art, in response to the chaos of fake IoT cards and irregular use of IoT cards in the market, the Ministry of Industry and Information Technology and operators require all enterprises to register IoT cards with real names when opening and applying for IoT cards. The usual practice is to bind the ID card chip information, user video information and card information, and upload them to the blockchain system for evidence storage, thereby realizing the real-name registration of mobile phones (SIM cards). This method has the following technical disadvantages: (1) The offline real-name registration materials are complicated and the process is cumbersome. Every time you purchase a card, you have to go through the real-name authentication process; (2) During the resale process of IoT cards, it is difficult to register the real-name registration to the resale company and the actual user company; (3) The reliability of the real-name registration data cannot be guaranteed; (4) The operator's risk control department, regulatory unit and other units that need to use the real-name registration data cannot guarantee the timeliness and consistency of the real-name data obtained. Summary of the invention
[0006] The embodiments of the present application provide a blockchain-based information processing method, a blockchain system, and a terminal to solve the drawbacks of the IoT card real-name verification method in the prior art.
[0007] In order to solve the above technical problems, this application adopts the following technical solutions:
[0008] The present application provides a blockchain-based information processing method, which is applied to a blockchain system. The method includes:
[0009] receiving a first message sent by a first terminal, wherein the first message includes user information of the first terminal and enterprise information associated with the first terminal;
[0010] Receiving a second message sent by the first terminal, wherein the second message includes user information of the first terminal and information of the IoT card to be authenticated;
[0011] Perform verification according to the first message and the second message to generate a first verification result;
[0012] The first verification result is recorded in the blockchain system, and the first verification result is sent to the first terminal.
[0013] Optionally, after receiving the first message sent by the first terminal, the method further includes:
[0014] Performing identity authentication on the first terminal and the enterprise corresponding to the enterprise information according to the user information of the first terminal and the enterprise information, and generating a second authentication result;
[0015] The second verification result is recorded in the blockchain system, and the first verification result is sent to the first terminal.
[0016] Optionally, after receiving the second message sent by the first terminal, the method further includes:
[0017] Perform identity authentication on the first terminal and the IoT card according to the user information of the first terminal and the IoT card information, and generate a third authentication result;
[0018] The third verification result is recorded in the blockchain system, and the third verification result is sent to the first terminal.
[0019] Optionally, record the verification results in the blockchain system, including:
[0020] Establishing a status channel with the first terminal;
[0021] According to the state of the state channel and according to preset rules, the interaction information between the first terminal and the blockchain system is recorded in the blockchain system.
[0022] Optionally, the preset rule includes at least one of the following:
[0023] After disconnecting the state channel with the first terminal, adding the interaction information to the blockchain system;
[0024] When the establishment duration of the state channel is greater than or equal to a preset duration, adding the interaction information to the blockchain system;
[0025] When the status channel is established, the interaction information is added to the blockchain system according to a preset period.
[0026] Optionally, the method further includes:
[0027] receiving a third message sent by the second terminal, wherein the third message includes transaction information sent by the second terminal;
[0028] Verification is performed according to the third message to generate a fourth verification result, and the fourth verification result is sent to the first terminal.
[0029] Optionally, when the second terminal is a manufacturing enterprise, the transaction information includes:
[0030] Initial warehousing request information of the transaction object sent by the second terminal;
[0031] Alternatively, when the second terminal is a dealer, the transaction information includes:
[0032] The transaction application request information sent by the second terminal, the transaction application request information carrying the seller identification of the second terminal, the buyer identification of the IoT card to be traded, and the identification information of the IoT card to be traded;
[0033] Alternatively, when the second terminal is a retailer, the transaction information includes:
[0034] The buyer's ID of the second terminal, the buyer's ID of the IoT card to be traded, and the seller's ID of another terminal.
[0035] Optionally, the method further includes:
[0036] The blockchain system receives a query request from a query system; the query request includes identification information of the IoT card to be queried or a terminal identification as a transaction subject;
[0037] According to the query request, the transaction record is obtained and sent to the query system.
[0038] The embodiment of the present application also provides a blockchain-based information processing method, which is applied to a terminal, and the method includes:
[0039] The first terminal sends a first message to the blockchain system, where the first message includes user information of the first terminal and enterprise information associated with the first terminal;
[0040] The first terminal sends a second message to the blockchain system, where the second message includes user information of the first terminal and information of the IoT card to be authenticated;
[0041] The first terminal receives a first verification result sent by the blockchain system.
[0042] Optionally, the method further includes:
[0043] The second terminal sends a third message to the blockchain system, where the third message includes transaction information sent by the second terminal;
[0044] The second terminal receives a fourth verification result sent by the blockchain system.
[0045] Optionally, when the second terminal is a manufacturing enterprise, the transaction information includes:
[0046] Initial warehousing request information of the transaction object sent by the second terminal;
[0047] Alternatively, when the second terminal is a dealer, the transaction information includes:
[0048] The transaction application request information sent by the second terminal, the transaction application request information carrying the seller identification of the second terminal, the buyer identification of the IoT card to be traded, and the identification information of the IoT card to be traded;
[0049] Alternatively, when the second terminal is a retailer, the transaction information includes:
[0050] The buyer's ID of the second terminal, the buyer's ID of the IoT card to be traded, and the seller's ID of another terminal.
[0051] The present application also provides a blockchain system, including:
[0052] A first receiving module, configured to receive a first message sent by a first terminal, wherein the first message includes user information of the first terminal and enterprise information associated with the first terminal;
[0053] A second receiving module, configured to receive a second message sent by the first terminal, wherein the second message includes user information of the first terminal and information of the IoT card to be authenticated;
[0054] A verification module, configured to perform verification according to the first message and the second message, and generate a first verification result;
[0055] The first sending module is used to record the first verification result in the blockchain system and send the first verification result to the first terminal.
[0056] The present application also provides a terminal, including:
[0057] A second sending module, configured for the first terminal to send a first message to the blockchain system, wherein the first message includes user information of the first terminal and enterprise information associated with the first terminal;
[0058] A third sending module, configured for the first terminal to send a second message to the blockchain system, wherein the second message includes user information of the first terminal and information of the IoT card to be authenticated;
[0059] The third receiving module is used for the first terminal to receive the first verification result sent by the blockchain system.
[0060] An embodiment of the present application also provides an electronic device, including a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the blockchain-based information processing method as described in any one of the above items are implemented.
[0061] An embodiment of the present application also provides a terminal, comprising a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the blockchain-based information processing method as described in any one of the above items are implemented.
[0062] An embodiment of the present application also provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps in the above-mentioned blockchain-based information processing method are implemented.
[0063] The beneficial effects of this application are:
[0064] In the above technical scheme, the method receives a first message sent by a first terminal, wherein the first message includes user information of the first terminal and enterprise information associated with the first terminal; receives a second message sent by the first terminal, wherein the second message includes user information of the first terminal and information of an IoT card to be authenticated; performs verification according to the first message and the second message to generate a first verification result, thereby realizing verification and association between the first terminal, the enterprise, and the IoT card, avoiding the drawback of the prior art that each IoT card must be authenticated with the enterprise, and simplifying the verification process; the method of the present application applies a blockchain system, and also solves the problem of difficulty in real-name registration and backtracking of IoT cards. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 One of the flowcharts of the information processing method based on blockchain provided in an embodiment of the present application is shown;
[0066] Figure 2 A schematic diagram showing an application of a blockchain system provided in an embodiment of the present application;
[0067] Figure 3 A schematic diagram showing a specific transaction process provided by an embodiment of the present application;
[0068] Figure 4 The second flowchart of the information processing method based on blockchain provided in the embodiment of the present application is shown;
[0069] Figure 5 A schematic diagram showing a module of a blockchain system provided in an embodiment of the present application;
[0070] Figure 6 A schematic diagram showing a module of a terminal provided in an embodiment of the present application;
[0071] Figure 7 A schematic diagram showing the structure of an electronic device provided in an embodiment of the present application;
[0072] Figure 8 A schematic diagram showing the structure of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0073] In order to make the technical problems, technical solutions and advantages to be solved by the application clearer, the following will be described in detail in conjunction with the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help fully understand the embodiments of the application. Therefore, it should be clear to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the application. In addition, for clarity and brevity, the description of known functions and structures has been omitted.
[0074] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0075] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0076] The real-name verification method of the IoT card in the prior art is to bind the ID card chip information, user video information and card information, and upload them to the blockchain system for evidence storage, thereby realizing the real-name registration of the mobile phone SIM card. This solution has certain limitations. First, the characteristics of the IoT card are that the one-time card opening volume is large and the resale situation is prominent. The workload of binding and uploading each card with identity information is too large. Secondly, it does not take into account the scenario where the application unit of the real-name data obtains the data. In view of the drawbacks of the real-name verification method of the IoT card in the prior art, this application provides an information processing method, blockchain system and terminal based on blockchain.
[0077] like Figure 1 As shown, an optional embodiment of the present application provides a blockchain-based information processing method, which is applied to a blockchain system, and the method includes:
[0078] Step 100, receiving a first message sent by a first terminal, wherein the first message includes user information of the first terminal and enterprise information associated with the first terminal;
[0079] In this embodiment, the user information of the first terminal includes at least the first terminal's own unique identity (ID), and may also include the first terminal's local area network address (MAC address), Internet Protocol address (IP address), the first terminal's brand and the first terminal's type, etc.; the enterprise information includes the enterprise real-name authentication materials. It should be noted that each terminal is bound to one enterprise.
[0080] Step 200, receiving a second message sent by a first terminal, wherein the second message includes user information of the first terminal and information of an IoT card to be authenticated;
[0081] Here, the IoT card information to be authenticated is a unique identification code of the IoT card information sent by the first terminal in a contact or contactless manner (such as scanning a QR code, a barcode, etc.).
[0082] Step 300, performing verification according to the first message and the second message to generate a first verification result;
[0083] In this embodiment, based on the verification of the user information of the first terminal in the first message and the second message, if the user information of the two is consistent, the first verification result generated realizes the verification and association of the terminal, the enterprise, and the Internet of Things card, that is, the real-name verification of "Internet of Things card-enterprise information" in the existing technology is improved to the real-name verification of "Internet of Things card-terminal-enterprise information", thereby simplifying the verification process.
[0084] Based on the verification of the user information of the first terminal in the first message and the second message, if the user information of the two is consistent, it is considered that the terminal sending the IoT card information to be authenticated and the terminal sending the enterprise information are not sent by the same terminal, and the first verification result generated indicates that the verification of "IoT card-terminal-enterprise information" has failed.
[0085] Step 400: Record the first verification result in the blockchain system and send the first verification result to the first terminal.
[0086] In this embodiment, each time the first verification result is generated, it is recorded in the blockchain system record. Since the blockchain system has a unified account book technology, the first verification result is recorded in the blockchain system, which solves the problem of difficulty in real-name registration and backtracking of IoT cards.
[0087] Optionally, after receiving the first message sent by the first terminal, the method further includes:
[0088] Step 210, performing identity authentication on the first terminal and the enterprise corresponding to the enterprise information according to the user information of the first terminal and the enterprise information, and generating a second authentication result;
[0089] Step 220: record the second verification result in the blockchain system, and send the first verification result to the first terminal.
[0090] In this embodiment, identity authentication is performed on the first terminal and the enterprise corresponding to the enterprise information, which is to perform real-name authentication of the terminal and the enterprise, realize binding of the terminal and the enterprise identity, realize binding of each terminal with an enterprise information, and realize that each device can trace the identity information of an enterprise.
[0091] Optionally, after receiving the second message sent by the first terminal, the method further includes:
[0092] Step 310, performing identity authentication on the first terminal and the IoT card according to the user information of the first terminal and the IoT card information, and generating a third authentication result;
[0093] Step 320: Record the third verification result in the blockchain system and send the third verification result to the first terminal.
[0094] In this embodiment, since each IoT card has been authenticated with real name when actually used, here, by identity verification of the first terminal and the IoT card, real name authentication of the first terminal and the card is performed, and then the same terminal, enterprise, and card are associated and bound, thereby realizing the real name verification of "IoT card-terminal-enterprise information" and simplifying the verification process.
[0095] like Figure 2 As shown, the above-mentioned blockchain system includes: management nodes, processing nodes, enterprise nodes, regulatory nodes, service provider nodes, and card manufacturer nodes. The above-mentioned multiple nodes constitute a decentralized service network, which is used to record the information of the IoT card circulation process and the real-name registration information as block data, forming a complete blockchain system. The above-mentioned nodes can be set as card manufacturers, operator sales departments, IoT card dealers, card-using enterprises, operator risk control departments, regulatory units, etc. as different types of user nodes according to actual needs, connected to the management node (real-name registration system), to achieve the chain of transaction data and real-name registration data, as well as the acquisition and preservation of related data.
[0096] It should be noted that the above-mentioned data receiving steps 100 and 200 can be the management node and the processing node. When the information needs to be verified (step 300, steps 210-220, steps 310-320), the first information and / or the second information can be transferred to the service provider node for verification through the processing node. When the verification is completed, the verification result is sent to the management node and the processing node. For each processing result, the blockchain system will update the unified ledger data (verification or record data) in the blockchain to the authorized nodes to ensure the full-chain data consistency of the blockchain system.
[0097] The method of the present application applies blockchain network technology to realize real-time broadcast synchronization of data, so that data application units, review units, and regulatory units can obtain full data in real time, and the obtained data is completely consistent.
[0098] In the Figure 1 or Figure 2 After verification, specifically, the verification results are recorded in the blockchain system, including:
[0099] Establishing a status channel with the first terminal;
[0100] According to the state of the state channel and according to preset rules, the interaction information between the first terminal and the blockchain system is recorded in the blockchain system.
[0101] In this embodiment, the state channel is a bidirectional channel between peers, which is used to implement peer-to-peer transactions. Using the state channel for transactions can solve the problems of long transaction delays, expensive transaction fees, and low throughput. By using the state channel for transactions, the transaction efficiency is improved, thereby improving the efficiency of adding the interactive information to the blockchain system in the future.
[0102] It should be noted that the interactive information may include but is not limited to verification result information, transaction records that have been conducted, etc. In order to save network resources, it is not necessary to add the interactive information to the blockchain system after each transaction. A rule may be pre-set, and the interactive information may be added to the blockchain system according to the preset rule.
[0103] Optionally, the preset rule includes at least one of the following:
[0104] After disconnecting the state channel with the first terminal, adding the interaction information to the blockchain system;
[0105] Here, the state channel is closed after the first terminal is disconnected from the network, and all generated interaction information is added to the blockchain system.
[0106] When the establishment duration of the state channel is greater than or equal to a preset duration, adding the interaction information to the blockchain system;
[0107] Here, after a preset time, the state channel is closed, and all generated interaction information is added to the blockchain system. The preset time can be a unified setting (for example, 10s), or different preset time can be set according to different types of business. The embodiment of the present application does not specifically limit the preset time.
[0108] When the status channel is established, the interaction information is added to the blockchain system according to a preset period.
[0109] Here, the state channel is maintained and the generated interactive information is periodically added to the blockchain system. The preset period can be a unified setting (for example, 10s), or different preset periods can be set according to different types of business. The embodiment of the present application does not specifically limit the preset period.
[0110] In an embodiment of the present application, a state channel is established between the first terminal and the network device to improve transaction efficiency, thereby improving the efficiency of adding interactive information to the blockchain system. At the same time, the interactive information is added to the blockchain system according to preset rules to save network resources.
[0111] In another optional embodiment, the method further includes:
[0112] Step 330, receiving a third message sent by the second terminal, wherein the third message includes transaction information sent by the second terminal;
[0113] Step 340: Perform verification according to the third message, generate a fourth verification result, and send the fourth verification result to the first terminal.
[0114] In this embodiment, after each transaction information is uploaded to the blockchain system and recorded as a data block, the blockchain system will record the transaction information to the relevant nodes in the blockchain network. It can be understood that Figure 2 The service provider nodes and regulatory nodes can obtain the full transaction data and real-name data in real time, and the other nodes obtain data related to themselves. Moreover, since the data is stored in the service network of the blockchain system, the data cannot be tampered with and is highly reliable.
[0115] It should be noted that IoT card transactions (sales or purchases): When an IoT card is traded, both the card sales data and the card purchase data are uploaded to the blockchain system. After the blockchain system has determined that they are correct, the blockchain system will circulate the card information. Otherwise, the transaction will be invalid and the transaction data will not be saved.
[0116] Specifically, Figure 3 As shown, when the second terminal is a manufacturing enterprise, the transaction information includes:
[0117] Initial warehousing request information of the transaction object sent by the second terminal;
[0118] In this embodiment, the manufacturing enterprise uses the second terminal to enter the "initial warehousing" function; the manufacturing enterprise uses the second terminal to obtain the unique identification code of the output IoT card through contact or contactless methods (such as scanning a QR code, barcode, etc.); the second terminal automatically obtains its own unique identity identification ID, organizes the initial warehousing request information, and the information format can be: manufacturer ID (equivalent to the identification information of the second terminal) + "production" + product identification code, packaged together as transaction information.
[0119] Alternatively, when the second terminal is a dealer, the transaction information includes:
[0120] The transaction application request information sent by the second terminal, the transaction application request information carrying the seller identification of the second terminal, the buyer identification of the IoT card to be traded, and the identification information of the IoT card to be traded;
[0121] In this embodiment, the transaction subject role uses the second terminal to enter the "transaction application" function; the transaction subject role uses the second terminal to obtain the unique identification code of the output IoT card through contact or contactless methods (such as scanning a QR code, barcode, etc.); the second terminal automatically retrieves the unique identification code of the IoT card to be traded in the database. If it exists, continue with the subsequent operations. If it does not exist, it will prompt "The product has not yet been put into storage, and the transaction application is illegal" and end the process. The second terminal will also generate purchase qualification verification information. The specific content of the information defines the unique identity ID of the security terminal of the buyer of this transaction, the unique identification code of the product to be traded, the time limit and other information. Preferably, the information is encrypted to become the final purchase qualification verification information.
[0122] Alternatively, when the second terminal is a retailer, the transaction information includes:
[0123] The buyer's ID of the second terminal, the buyer's ID of the IoT card to be traded, and the seller's ID of another terminal.
[0124] In this embodiment, the second terminal automatically verifies the purchase qualification. The specific method may be to compare the unique ID of the security terminal of the buyer of the transaction, the unique identification code of the commodity to be traded, the time limit and other information. If the verification is successful, the subsequent operation will continue. If the verification fails, it will prompt "operation is not authorized, transaction confirmation is illegal" and end the process.
[0125] Another example Figure 3As shown, optionally, the method further includes:
[0126] The blockchain system receives a query request from a query system; the query request includes identification information of the IoT card to be queried or a terminal identification as a transaction subject;
[0127] According to the query request, the transaction record is obtained and sent to the query system.
[0128] In this embodiment, the query system can be in the form of a global wide area network (WEB) application, a mobile application (APP) or a desktop client. Optionally, the query system can locally save the correspondence between the identification ID and the role name of the transaction subject, so that the traceability chain finally displayed contains the specific role name of the transaction subject. This application increases the security and traceability of transactions by using the terminal and the blockchain system to implement legal IoT card transactions, real-name verification and traceability, avoids the resale enterprise information and the real-name registration data of the final card-using enterprise in the resale process of the IoT card in the prior art, has the problems of being tamper-proof and traceable, and solves the problems of difficult real-name registration and traceability of IoT cards.
[0129] like Figure 4 As shown, the embodiment of the present application also provides a blockchain-based information processing method, which is applied to a terminal, and the method includes:
[0130] Step 500: The first terminal sends a first message to the blockchain system, where the first message includes user information of the first terminal and enterprise information associated with the first terminal.
[0131] In this embodiment, the first terminal obtains the user information of the first terminal and the enterprise information associated with the first terminal through contact or contactless means (such as scanning a QR code, barcode, etc.), and by uploading the user information and the enterprise information in a package, authentication can be performed in the blockchain system to achieve the association between the first terminal and the enterprise.
[0132] Specifically, in combination with the real-name verification of the blockchain system (first terminal): the first terminal first uses a camera to take a photo of the enterprise's real-name authentication materials, and uploads the registration device ID and the photo of the enterprise's real-name authentication materials to the blockchain system. The operator sales department digital node of the blockchain system ( Figure 2 After the service provider node of the first terminal obtains the data, the material review is carried out. After the review is passed, the enterprise real-name registration of the first terminal is completed and the result is returned to the registration device.
[0133] Step 600: The first terminal sends a second message to the blockchain system, where the second message includes user information of the first terminal and information of the IoT card to be authenticated;
[0134] Specifically, in combination with the real-name verification (IoT card) of the blockchain system: the first terminal obtains the card information of the IoT card or the IoT card of the number segment by scanning the QR code on the IoT card or the entire QR code of a number segment, and the first terminal selects the "real-name authentication" function, packages the QR code data, device ID, and business type into a data packet, and uploads the data packet to the blockchain system.
[0135] Step 700: The first terminal receives a first verification result sent by the blockchain system.
[0136] In this embodiment, the first terminal obtains the user information of the first terminal and the IoT card information to be authenticated by contact or contactless means (such as scanning a QR code, barcode, etc.), and can be authenticated in the blockchain system by uploading the user information and the IoT card information to be authenticated in a package; whether the user information of the first terminal is the same as the first terminal that uploaded the enterprise information, the first verification result determines that the association authentication of the three "IoT card-terminal-enterprise" is achieved, otherwise, the verification fails. This application indirectly realizes the association of the three "IoT card-terminal-enterprise" by binding the terminal with the enterprise information and authenticating the terminal and the card, thereby avoiding the disadvantage of the prior art that each IoT card needs to be bound to the enterprise information.
[0137] Optionally, the method further includes:
[0138] The second terminal sends a third message to the blockchain system, where the third message includes transaction information sent by the second terminal;
[0139] The second terminal receives a fourth verification result sent by the blockchain system.
[0140] Here, when it is necessary to conduct a transaction (sell or buy) with the blockchain system, the transaction information sent by the second terminal needs to be sent to the blockchain system through the second terminal, that is, during the circulation of the IoT card, the real-name information of the reselling enterprise is also uploaded to the blockchain system as process data, and the actual use enterprise must undergo real-name authentication before the card can be successfully opened; when the IoT card is trading, after the card sales data and card purchase data are uploaded to the system, the blockchain system will circulate the card information only after it is judged to be correct by the blockchain system, otherwise the transaction will be invalid and the transaction data will not be saved. The second terminal can determine whether the current transaction is successful based on the returned fourth verification result, or, based on the fourth verification result, adjust the information that needs to be changed or re-report the third information to better promote real-name transactions.
[0141] Specifically, when the second terminal is a manufacturing enterprise, the transaction information includes:
[0142] Initial warehousing request information of the transaction object sent by the second terminal;
[0143] In this embodiment, the manufacturing enterprise uses the second terminal to enter the "initial warehousing" function; the manufacturing enterprise uses the second terminal to obtain the unique identification code of the output IoT card through contact or contactless methods (such as scanning a QR code, barcode, etc.); the second terminal automatically obtains its own unique identity identification ID, organizes the initial warehousing request information, and the information format can be: manufacturer ID (equivalent to the identification information of the second terminal) + "production" + product identification code, packaged together as transaction information.
[0144] Alternatively, when the second terminal is a dealer, the transaction information includes:
[0145] The transaction application request information sent by the second terminal, the transaction application request information carrying the seller identification of the second terminal, the buyer identification of the IoT card to be traded, and the identification information of the IoT card to be traded;
[0146] In this embodiment, the second terminal applies the "transaction application" function; the second terminal obtains the unique identification code of the output IoT card by contact or contactless means (such as scanning a QR code, barcode, etc.); the second terminal automatically retrieves the unique identification code of the IoT card to be traded in the database. If it exists, continue with the subsequent operations; if it does not exist, it will prompt "The product has not yet been put into storage, and the transaction application is illegal" and end the process. The second terminal will also generate purchase qualification verification information. The specific content of the information defines the unique identity ID of the security terminal of the buyer of this transaction, the unique identification code of the product to be traded, the time limit and other information. Preferably, the information is encrypted to become the final purchase qualification verification information.
[0147] Alternatively, when the second terminal is a retailer, the transaction information includes:
[0148] The buyer's ID of the second terminal, the buyer's ID of the IoT card to be traded, and the seller's ID of another terminal.
[0149] In this embodiment, the second terminal automatically verifies the purchase qualification. The specific method may be to compare the unique ID of the security terminal of the buyer of the transaction, the unique identification code of the commodity to be traded, the time limit and other information. If the verification is successful, the subsequent operation will continue. If the verification fails, it will prompt "operation is not authorized, transaction confirmation is illegal" and end the process.
[0150] To sum up, the blockchain-based information processing method of the present application binds the terminal and enterprise information to realize the real-name registration of "terminal-enterprise information"; the IoT card information scanned and uploaded by the terminal is automatically bound to the terminal, thereby realizing the real-name authentication of the IoT card, that is, realizing the association between "IoT card-terminal-enterprise information" and simplifying the verification process; the method of the present application uses the blockchain system, and also solves the problem of difficult real-name registration and backtracking of IoT cards.
[0151] like Figure 5 As shown, the embodiment of the present application also provides a blockchain system, including:
[0152] A first receiving module 10 is used to receive a first message sent by a first terminal, where the first message includes user information of the first terminal and enterprise information associated with the first terminal;
[0153] A second receiving module 20, configured to receive a second message sent by the first terminal, wherein the second message includes user information of the first terminal and information of the IoT card to be authenticated;
[0154] A verification module 30, configured to perform verification according to the first message and the second message, and generate a first verification result;
[0155] The first sending module 40 is used to record the first verification result in the blockchain system and send the first verification result to the first terminal.
[0156] Optionally, the blockchain system further includes:
[0157] A second verification module, configured to perform identity authentication on the first terminal and the enterprise corresponding to the enterprise information according to the user information of the first terminal and the enterprise information, and generate a second verification result;
[0158] The first processing module is used to record the second verification result in the blockchain system and send the first verification result to the first terminal.
[0159] Optionally, the blockchain system further includes:
[0160] A third verification module, configured to perform identity authentication on the first terminal and the IoT card according to the user information of the first terminal and the IoT card information, and generate a third verification result;
[0161] The second processing module is used to record the third verification result in the blockchain system and send the third verification result to the first terminal.
[0162] Optionally, the first sending module 40 includes:
[0163] An establishing unit, configured to establish a status channel with the first terminal;
[0164] A recording unit is used to record the interaction information between the first terminal and the blockchain system into the blockchain system according to the state of the state channel and a preset rule.
[0165] It should be noted that the preset rule includes at least one of the following:
[0166] After disconnecting the state channel with the first terminal, adding the interaction information to the blockchain system;
[0167] When the establishment duration of the state channel is greater than or equal to a preset duration, adding the interaction information to the blockchain system;
[0168] When the status channel is established, the interaction information is added to the blockchain system according to a preset period.
[0169] Optionally, the blockchain system further includes:
[0170] A third processing module, used for a third message sent by the second terminal, wherein the third message includes transaction information sent by the second terminal;
[0171] The fourth processing module is used to perform verification according to the third message, generate a fourth verification result, and send the fourth verification result to the first terminal.
[0172] It should be noted that when the second terminal is a manufacturing enterprise, the transaction information includes:
[0173] Initial warehousing request information of the transaction object sent by the second terminal;
[0174] Alternatively, when the second terminal is a dealer, the transaction information includes:
[0175] The transaction application request information sent by the second terminal, the transaction application request information carrying the seller identification of the second terminal, the buyer identification of the IoT card to be traded, and the identification information of the IoT card to be traded;
[0176] Alternatively, when the second terminal is a retailer, the transaction information includes:
[0177] The buyer's ID of the second terminal, the buyer's ID of the IoT card to be traded, and the seller's ID of another terminal.
[0178] Optionally, the blockchain system further includes:
[0179] A fifth processing module is used for the blockchain system to receive a query request from the query system; the query request includes the identification information of the IoT card to be queried or the terminal identification as the transaction subject;
[0180] The sixth processing module is used to obtain transaction records according to the query request and send the transaction records to the query system.
[0181] like Figure 6 As shown, the embodiment of the present application also provides a terminal, including:
[0182] A second sending module 50, configured for the first terminal to send a first message to the blockchain system, wherein the first message includes user information of the first terminal and enterprise information associated with the first terminal;
[0183] A third sending module 60, configured for the first terminal to send a second message to the blockchain system, wherein the second message includes user information of the first terminal and information of the IoT card to be authenticated;
[0184] The third receiving module 70 is used for the first terminal to receive the first verification result sent by the blockchain system.
[0185] Optionally, the terminal further includes:
[0186] A fourth sending module, configured for the second terminal to send a third message to the blockchain system, wherein the third message includes transaction information sent by the second terminal;
[0187] A fourth receiving module is used for the second terminal to receive a fourth verification result sent by the blockchain system.
[0188] It should be noted that when the second terminal is a manufacturing enterprise, the transaction information includes:
[0189] Initial warehousing request information of the transaction object sent by the second terminal;
[0190] Alternatively, when the second terminal is a dealer, the transaction information includes:
[0191] The transaction application request information sent by the second terminal, the transaction application request information carrying the seller identification of the second terminal, the buyer identification of the IoT card to be traded, and the identification information of the IoT card to be traded;
[0192] Alternatively, when the second terminal is a retailer, the transaction information includes:
[0193] The buyer's ID of the second terminal, the buyer's ID of the IoT card to be traded, and the seller's ID of another terminal.
[0194] Optionally, the first terminal or the second terminal of the embodiment of the present application is a real-name registration device, including a camera module, an operation module, a data processing module, a data uplink module and a power module.
[0195] Specifically, the camera module has functions such as taking pictures and scanning QR codes; the operation module can select functions such as selling, purchasing, and real-name authentication; the data processing module is used for processing and packaging image information or QR code information; the data chain module is used to encrypt and transmit data to a designated blockchain system; and the power module is used to provide power.
[0196] In this embodiment, the real-name registration of "registration device-corporate identity" is realized by binding the registration device and the corporate identity in the blockchain network. The IoT card scanned and uploaded by the registration device and the first information and the second information uploaded by the registration device are determined to be information uploaded by the same device to determine the real-name authentication of "card-registration device-corporate identity". The real-name authentication data is uploaded to the blockchain system of the real-name registration system through the registration device for evidence storage.
[0197] The present application also provides an electronic device, such as Figure 7 As shown, it includes a memory 701, a processor 702, and a computer program stored in the memory and executable on the processor, wherein the computer program can achieve the above-mentioned when executed by the processor Figure 1 The various processes of the embodiment of the blockchain-based information processing method shown can achieve the same technical effect, and will not be repeated here to avoid repetition.
[0198] The transceiver 703 is used to receive and send data under the control of the processor 702.
[0199] Among them, Figure 7 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 702 and various circuits of memory represented by memory 702 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 703 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 702 is responsible for managing the bus architecture and general processing, and the memory 701 may store data used by the processor 702 when performing operations.
[0200] The present application also provides a terminal, such as Figure 8As shown, it includes: a processor 801, a memory 802, and a program stored in the memory 802 and executable on the processor 801, and when the program is executed by the processor 801, the steps of the air interface resource control method as described in any one of the above items are implemented.
[0201] Optionally, the terminal further includes a transceiver 803 configured to receive and send data under the control of the processor 801 .
[0202] Among them, Figure 8 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 801 and memory represented by memory 802. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides a user interface 804. The transceiver 803 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 801 is responsible for managing the bus architecture and general processing, and the memory 802 may store data used by the processor 801 when performing operations.
[0203] A readable storage medium in an embodiment of the present application stores a program or instruction thereon. When the program or instruction is executed by a processor, the steps in the blockchain-based information processing method as described above are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0204] The processor is a processor in the electronic device or terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0205] It should be further explained that the terminals described in this specification include but are not limited to smart phones, tablet computers, etc., and many of the functional components described are called modules in order to more particularly emphasize the independence of their implementation methods.
[0206] In the embodiment of the present application, module can be implemented with software so that it can be executed by various types of processors. For example, an executable code module of an identification can include one or more physical or logical blocks of computer instructions, for example, it can be constructed as an object, process or function. Nevertheless, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different positions, and when these instructions are logically combined together, it constitutes a module and realizes the specified purpose of the module.
[0207] In fact, executable code module can be a single instruction or many instructions, and can even be distributed on a plurality of different code segments, distributed among different programs, and distributed across a plurality of memory devices. Similarly, operating data can be identified in the module, and can be implemented and organized in the data structure of any appropriate type according to any appropriate form. The operating data can be collected as a single data set, or can be distributed in different locations (including on different storage devices), and can only be present on a system or network as an electronic signal at least in part.
[0208] When a module can be implemented by software, considering the level of existing hardware technology, a person skilled in the art can build a corresponding hardware circuit to implement the corresponding function of the module that can be implemented by software without considering the cost. The hardware circuit includes a conventional very large scale integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, or other discrete components. The module can also be implemented by a programmable hardware device, such as a field programmable gate array, a programmable array logic, a programmable logic device, etc.
[0209] The above exemplary embodiments are described with reference to the accompanying drawings, and many different forms and embodiments are feasible without departing from the spirit and teachings of the present application. Therefore, the present application should not be constructed as a limitation of the exemplary embodiments proposed herein. More specifically, these exemplary embodiments are provided so that the present application will be perfect and complete, and the scope of the present application will be conveyed to those who are familiar with the technology. In these figures, the component sizes and relative sizes may be exaggerated for clarity. The terms used here are only based on the purpose of describing specific exemplary embodiments and are not intended to be limiting. As used herein, unless the text clearly indicates otherwise, the singular forms "one", "an" and "the" are intended to include these multiple forms. It will be further understood that the terms "comprising" and / or "including" when used in this specification indicate the presence of the features, integers, steps, operations, components and / or components, but do not exclude the presence or increase of one or more other features, integers, steps, operations, components, components and / or their groups. Unless otherwise indicated, when stated, a range of values includes the upper and lower limits of that range and any subranges therebetween.
[0210] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles described in the present application. These improvements and modifications are also within the scope of protection of the present application.
Claims
1. A blockchain-based information processing method, characterized in that: Applied to a blockchain system, the blockchain system includes: a management node, a processing node, an enterprise node, a supervision node, a service provider node, and a card manufacturer node, and the method includes: receiving a first message sent by a first terminal, wherein the first message includes user information of the first terminal and enterprise information associated with the first terminal; Receiving a second message sent by the first terminal, wherein the second message includes user information of the first terminal and information of the IoT card to be authenticated; Verification is performed according to the first message and the second message to generate a first verification result; the first verification result identifies the verification result of "IoT card-terminal-enterprise information"; Recording the first verification result in the blockchain system, and sending the first verification result to the first terminal; Wherein, after receiving the first message sent by the first terminal, the method further includes: according to the user information of the first terminal and the enterprise information, performing identity authentication on the first terminal and the enterprise corresponding to the enterprise information, and generating a second verification result; recording the second verification result in the blockchain system, and sending the second verification result to the first terminal; and further includes: according to the user information of the first terminal and the IoT card information, performing identity authentication on the first terminal and the IoT card, and generating a third verification result; recording the third verification result in the blockchain system, and sending the third verification result to the first terminal; Among them, the first message and / or the second message is transferred to the service provider node for verification through the processing node. After the verification is completed, the verification result is sent to the management node and the processing node. Each time the processing result is processed, the blockchain system will broadcast the unified ledger data update in the blockchain to the authorized nodes.
2. The method according to claim 1, characterized in that The verification results are recorded in the blockchain system, including: Establishing a status channel with the first terminal; According to the state of the state channel and according to preset rules, the interaction information between the first terminal and the blockchain system is recorded in the blockchain system.
3. The method according to claim 2, characterized in that The preset rules include at least one of the following: After disconnecting the state channel with the first terminal, adding the interaction information to the blockchain system; When the establishment duration of the state channel is greater than or equal to a preset duration, adding the interaction information to the blockchain system; When the status channel is established, the interaction information is added to the blockchain system according to a preset period.
4. The method according to claim 1, characterized in that Also includes: receiving a third message sent by the second terminal, wherein the third message includes transaction information sent by the second terminal; Verification is performed according to the third message to generate a fourth verification result, and the fourth verification result is sent to the first terminal.
5. The method according to claim 4, characterized in that When the second terminal is a manufacturing enterprise, the transaction information includes: Initial warehousing request information of the transaction object sent by the second terminal; Alternatively, when the second terminal is a dealer, the transaction information includes: The transaction application request information sent by the second terminal, the transaction application request information carrying the seller identification of the second terminal, the buyer identification of the IoT card to be traded, and the identification information of the IoT card to be traded; Alternatively, when the second terminal is a retailer, the transaction information includes: The buyer's ID of the second terminal, the buyer's ID of the IoT card to be traded, and the seller's ID of another terminal.
6. The method according to claim 1, characterized in that The method further comprises: The blockchain system receives a query request from a query system; the query request includes identification information of the IoT card to be queried or a terminal identification as a transaction subject; According to the query request, the transaction record is obtained and sent to the query system.
7. A blockchain-based information processing method, characterized in that: Applied to a terminal, the method comprises: The first terminal sends a first message to the blockchain system, where the first message includes user information of the first terminal and enterprise information associated with the first terminal; The first terminal sends a second message to the blockchain system, where the second message includes user information of the first terminal and information of the IoT card to be authenticated; The first terminal receives a first verification result sent by the blockchain system; the first verification result identifies the verification result of "IoT card-terminal-enterprise information"; The method further includes: the second terminal sends a third message to the blockchain system, the third message including the transaction information sent by the second terminal; the second terminal receives a fourth verification result sent by the blockchain system; the second terminal determines whether the current transaction is successful based on the returned fourth verification result, or, based on the fourth verification result, adjusts the information that needs to be changed or re-reports the third information; after each piece of transaction information is uploaded to the blockchain system and recorded as a data block, the blockchain system will record the transaction information to the relevant nodes in the blockchain network.
8. The method according to claim 7, characterized in that When the second terminal is a manufacturing enterprise, the transaction information includes: Initial warehousing request information of the transaction object sent by the second terminal; Alternatively, when the second terminal is a dealer, the transaction information includes: The transaction application request information sent by the second terminal, the transaction application request information carrying the seller identification of the second terminal, the buyer identification of the IoT card to be traded, and the identification information of the IoT card to be traded; Alternatively, when the second terminal is a retailer, the transaction information includes: The buyer's ID of the second terminal, the buyer's ID of the IoT card to be traded, and the seller's ID of another terminal.
9. A blockchain system, characterized in that: The blockchain system includes: management nodes, processing nodes, enterprise nodes, regulatory nodes, service provider nodes, and card manufacturer nodes, including: A first receiving module, configured to receive a first message sent by a first terminal, wherein the first message includes user information of the first terminal and enterprise information associated with the first terminal; A second receiving module, configured to receive a second message sent by the first terminal, wherein the second message includes user information of the first terminal and information of the IoT card to be authenticated; A verification module, configured to perform verification according to the first message and the second message to generate a first verification result; the first verification result identifies the verification result of "IoT card-terminal-enterprise information"; A first sending module, configured to record the first verification result in the blockchain system and send the first verification result to the first terminal; The blockchain system further includes: a second verification module, which is used to authenticate the first terminal and the enterprise corresponding to the enterprise information according to the user information of the first terminal and the enterprise information, and generate a second verification result; a first processing module, which is used to record the second verification result in the blockchain system and send the first verification result to the first terminal; the blockchain system further includes: a third verification module, which is used to authenticate the first terminal and the IoT card according to the user information of the first terminal and the IoT card information, and generate a third verification result; the second processing module is used to record the third verification result in the blockchain system and send the third verification result to the first terminal; Among them, the first message and / or the second message is transferred to the service provider node for verification through the processing node. After the verification is completed, the verification result is sent to the management node and the processing node. Each time the processing result is processed, the blockchain system will broadcast the unified ledger data update in the blockchain to the authorized nodes.
10. A terminal, characterized in that: include: A second sending module, configured for the first terminal to send a first message to the blockchain system, wherein the first message includes user information of the first terminal and enterprise information associated with the first terminal; A third sending module, configured for the first terminal to send a second message to the blockchain system, wherein the second message includes user information of the first terminal and information of the IoT card to be authenticated; A third receiving module, configured for the first terminal to receive a first verification result sent by the blockchain system; The verification result of the first verification result identification bit "IoT card-terminal-enterprise information"; The terminal further includes: a fourth sending module, used for the second terminal to send a third message to the blockchain system, the third message including the transaction information sent by the second terminal; a fourth receiving module, used for the second terminal to receive a fourth verification result sent by the blockchain system; the second terminal determines whether the current transaction is successful based on the returned fourth verification result, or, based on the fourth verification result, adjusts the information that needs to be changed or re-reports the third information; after each piece of transaction information is uploaded to the blockchain system and recorded as a data block, the blockchain system will record the transaction information to the relevant nodes in the blockchain network.
11. An electronic device, characterized in that: It includes a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the blockchain-based information processing method as described in any one of claims 1 to 6 are implemented.
12. A terminal, characterized in that: It includes a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the blockchain-based information processing method as described in any one of claims 7 to 8 are implemented.
13. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by the processor, the steps in the blockchain-based information processing method as described in any one of claims 1 to 8 are implemented.
