Data transmission method based on block chain and related device
By using the data transmission method based on blockchain -based data, the problem of security and integrity during the data transmission process is solved, and safe and reliable data transmission is achieved.
Patent Information
- Application Number
- CN202411250605.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2025-01-24
AI Technical Summary
How to safely transmit data between different intranets to ensure the security and integrity of the data during transmission.
Adopt the blockchain -based data transmission method, the data exchange platform of the sender is extracted from the sending business system, encoded and transmitted it to the data exchange platform of the receiver through the network gate, encoded data upload to the blockchain, and the receiver was in the blockchain. After the blockchain is verified, the data is sent to the receiving business system.
It realizes data transmission between different intranets, ensures the security and integrity of data during transmission, and avoids data leakage and tampering.
Smart Images

Figure CN119363365A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of blockchain technology, and in particular to a blockchain-based data transmission method and related devices. Background Art
[0002] With the development of information security technology, many units have adopted corporate intranets, so that the business systems of the units can only run in the intranet to ensure the security of data in the business systems. However, in reality, data between multiple units needs to be exchanged, for example, between superior and subordinate units, the subordinate unit needs to send data to the superior unit for review. Therefore, how to solve the data transmission between business systems in different intranets and ensure the security of the data received by the receiver is one of the problems that need to be solved urgently. Summary of the invention
[0003] The main technical problem solved by this application is to provide a blockchain-based data transmission method and related devices, which can transmit data in the sending business system of the sender's intranet to the receiving business system of the receiver's intranet and ensure the security of the data received by the receiver.
[0004] To solve the above technical problems, the first aspect of the present application provides a blockchain-based data transmission method, the method comprising: the sender's data exchange platform extracts the data to be transmitted from the sending business system in the sender's intranet; encodes the data to be transmitted to obtain the encoded data of the data to be transmitted; transmits the data to be transmitted to the receiver's data exchange platform through the network gateway, and uploads the encoded data to the blockchain; wherein the receiver's data exchange platform is used to send the data to be transmitted to the receiving business system in the receiver's intranet when the data to be transmitted is verified by the encoded data on the blockchain.
[0005] In order to solve the above technical problems, the second aspect of the present application provides a data transmission method based on blockchain, which includes: the data exchange platform of the receiving party receives the data to be transmitted transmitted by the data exchange platform of the sending party through the network gate; obtains the coded data corresponding to the data to be transmitted from the blockchain; verifies the data to be transmitted based on the coded data; in response to the verification being passed, sends the received data to be transmitted to the receiving business system in the receiving party's intranet
[0006] To solve the above technical problems, the third aspect of the present application provides a data transmission system, which includes a sender and a receiver; both the sender's intranet and the receiver's intranet are deployed with a data exchange platform, the sender's intranet is also deployed with a sending business system, the sender's data exchange platform can communicate with the sending business system, and the sender's data exchange platform is used to execute the method provided by the first aspect above; the receiver's intranet is also deployed with a receiving business system, the receiver's data exchange platform can communicate with the receiving business system, and the receiver's data exchange platform is used to execute the method provided by the second aspect above; the sender's data exchange platform and the receiver's data exchange platform can transmit the data to be transmitted through the network switch.
[0007] To solve the above technical problems, the fourth aspect of the present application provides a blockchain-based data transmission device, which includes: an extraction module, an encoding module and a transmission module, the extraction module is used to extract the data to be transmitted from the sending business system in the sender's intranet; the encoding module is used to encode the data to be transmitted to obtain the encoded data of the data to be transmitted; the transmission module is used to transmit the data to be transmitted to the data exchange platform of the recipient through the network gate, and upload the encoded data to the blockchain; wherein the data exchange platform of the recipient is used to send the data to be transmitted to the receiving business system in the recipient's intranet when the data to be transmitted is verified by the encoded data on the blockchain.
[0008] To solve the above technical problems, the fifth aspect of the present application provides a blockchain-based data transmission device, which includes: a receiving module, an acquisition module, a verification module and a sending module, the receiving module is used to receive the data to be transmitted transmitted by the sender's data exchange platform through the network gate; the acquisition module is used to obtain the encoded data corresponding to the data to be transmitted from the blockchain; the verification module is used to verify the data to be transmitted based on the encoded data; the sending module is used to send the received data to be transmitted to the receiving business system in the receiving party's intranet in response to the verification being passed.
[0009] To solve the above technical problems, the sixth aspect of the present application provides an electronic device, which includes a memory and a processor, the memory stores program instructions, and the processor is used to execute the program instructions to implement the method provided in the first or second aspect above.
[0010] To solve the above technical problems, the seventh aspect of the present application provides a computer-readable storage medium, which is used to store program instructions, and the program instructions can be executed to implement the method provided by the first aspect or the second aspect above.
[0011] The beneficial effects of the present application are as follows: Different from the prior art, the sender and the receiver of the present application both deploy data exchange platforms, the sender's data exchange platform extracts the data to be transmitted from the sending business system in the sender's intranet, encodes the data to be transmitted, and obtains the encoded data of the data to be transmitted; transmits the data to be transmitted to the receiver's data exchange platform through the network gate, and uploads the encoded data to the blockchain; the receiver's data exchange platform is used to send the data to be transmitted to the receiving business system in the receiver's intranet when the encoded data on the blockchain verifies the data to be transmitted. The data of the sending business system is transmitted to the receiving business system through the sender's data exchange platform and the receiver's data exchange platform, so as to realize data transmission between at least two business systems in different intranets. Furthermore, based on the verification of the data to be transmitted by the encoded data on the blockchain, the security of the data entering the receiving business system can be guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 This is a flowchart of an implementation method of a blockchain-based data transmission method provided by the present application;
[0013] Figure 2 It is a schematic diagram of the framework structure of an implementation method of the sender and the receiver in this application;
[0014] Figure 3 It is a flowchart of another implementation method of the blockchain-based data transmission method provided by the present application;
[0015] Figure 4 It is a schematic diagram of the framework structure of an implementation method of the sender, the intermediate management party and the receiver in this application;
[0016] Figure 5 It is a flowchart of another implementation method of the blockchain-based data transmission method provided by the present application;
[0017] Figure 6 It is a schematic diagram of the framework structure of an implementation method of a data transmission system provided by the present application;
[0018] Figure 7 This is a schematic diagram of the framework structure of an implementation method of a blockchain-based data transmission device provided by the present application;
[0019] Figure 8 This is a schematic diagram of the framework structure of another embodiment of the blockchain-based data transmission device provided by the present application;
[0020] Fig. 9 It is a schematic diagram of the framework structure of an embodiment of an electronic device provided by the present application;
[0021] Fig.10It is a schematic diagram of the framework structure of an implementation scheme of a computer-readable storage medium provided in this application. DETAILED DESCRIPTION
[0022] The following is a clear and complete description of the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0023] It should be noted that in the embodiments of the present application, there are descriptions involving "first", "second", etc., which are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features.
[0024] In the description of the application, the meaning of "multiple" is at least two, for example, two, three, etc., unless otherwise clearly and specifically limited. In the embodiment of the present application, all directional indications (such as up, down, left, right, front, back ...) are only used to explain the relative position relationship, motion conditions, etc. between the components under a certain specific posture (as shown in the drawings). If the specific posture changes, the directional indication also changes accordingly. In addition, the terms "including" and "having" and any of their deformations are intended to cover non-exclusive inclusions. For example, the process, method, system, product or equipment comprising a series of steps or units is not limited to the steps or units listed, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or equipment.
[0025] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0026] Please refer to Figure 1 and Figure 2 , Figure 1 This is a flowchart of an implementation method of a blockchain-based data transmission method provided by this application. Figure 2 It is a schematic diagram of the framework structure of an implementation method of the sender and the receiver in this application; the method includes:
[0027] S11: The data exchange platform of the sender extracts the data to be transmitted from the sending business system in the sender's intranet.
[0028] This implementation manner may be executed by a data exchange platform of the sender, and the data exchange platform transmits the data to be transmitted of the sender to the receiver.
[0029] In one embodiment, the data exchange platform may be a software or system, or a collection of multiple systems or software, which can communicate with the sending business system in the sender's intranet to extract the data to be transmitted in the sending business system. The sender's data exchange platform may be deployed in the sender's intranet or in the sender's extranet. The sender's data exchange platform may extract the data to be transmitted from the sending business system in response to the request of the sending business system; the sender's data exchange platform may also actively extract the data to be transmitted from the sending business system in response to user instructions. The data to be transmitted may be the business data generated by the sending business system.
[0030] In a specific embodiment, the data exchange platform of the sender is deployed in the intranet of the sender. The data exchange platform of the sender extracts the data to be transmitted from the sending business system in response to the request of the sending business system. Specifically, the sending business system calls the interface of the data exchange platform of the sender, and transmits the execution JOB parameters to the data exchange platform of the sender through the interface. The data exchange platform of the sender extracts the data to be transmitted from the sending business system based on the execution JOB parameters. The JOB parameters include: the name of the job, the type of the job, the specific action of the job, the start time of the job, the repetition interval of the job, the end time of the job, whether the job is automatically deleted after completion, whether the job is enabled, whether an event is triggered when the job status changes, and the scheduling rules of the job. The JOB parameters can control the execution time, frequency, and input parameters of the job to ensure that the job can be executed according to predetermined rules and conditions. The data to be transmitted can be structured data or unstructured data.
[0031] The sender and the participant may be two organizations or institutions or agencies or units with a certain association relationship, and the association relationship may be an association between organizations or institutions or agencies or units, or an association between businesses. For example, the sender and the participant are in a superior-subordinate relationship, the sender and the participant belong to the same superior organization, the sender and the participant both process the same business, and the business of the sender or the participant depends on the business data of the other party. Understandably, the sender and the participant are different.
[0032] S12: Encode the data to be transmitted to obtain encoded data of the data to be transmitted.
[0033] In one embodiment, the data to be transmitted may be processed to obtain unique coded data of the data to be transmitted. For example, the data to be transmitted may be encoded in any manner such as binary encoding, decimal encoding, ASCII encoding, Unicode encoding, etc. to obtain coded data.
[0034] In a specific implementation, a hash operation may be performed on the data to be transmitted, and the obtained hash value may be used as the encoding data of the data to be transmitted.
[0035] S13: The data to be transmitted is transmitted to the data exchange platform of the recipient through the gateway, and the encoded data is uploaded to the blockchain.
[0036] In one embodiment, the data exchange platform of the sender transmits the data to be transmitted to the data exchange platform of the receiver through the network gate, and uploads the encoded data to the blockchain. The data exchange platform of the receiver is used to send the data to be transmitted to the receiving business system in the receiver's intranet when the encoded data on the blockchain verifies the data to be transmitted. The step of verifying the data to be transmitted can be performed by the data exchange platform of the receiver or by other nodes in the blockchain. Among them, the sender and the participant can be a participating node in the blockchain or not a participating node in the blockchain.
[0037] It can be understood that in other embodiments, the encoded data can also be uploaded to the blockchain by the sending business system, that is, after the sender's data exchange platform obtains the encoded data, it sends the encoded data to the sending business system, and the sending business system further uploads the encoded data to the blockchain.
[0038] Among them, the network gate is an information security device that uses a solid-state switch read-write medium with multiple control functions and can connect two independent host systems. Since the two independent host systems are isolated by the network gate, there is no physical connection, logical connection, or information transmission protocol for communication between the systems, and there is no information exchange based on the protocol, but only non-protocol ferrying in the form of data files. Therefore, the network gate physically isolates and blocks all network connections that have potential attacks on the intranet, making it impossible for external attackers to directly invade, attack, or destroy the intranet, thus ensuring the security of the internal host.
[0039] In a specific embodiment, Figure 2As shown, the data exchange platform of the sender sends the data to be transmitted to the first network gate via the front-end processor of the sender, and the first network gate sends the data to be transmitted to the data exchange platform of the receiver via the front-end processor of the receiver. In other words, the data to be transmitted first reaches the front-end processor of the sender from the data exchange platform of the sender located at the back end. The front-end processor can be a device or system located at the front end. The front-end processor of the sender sends the data to be transmitted to the front-end processor of the receiver through the first network gate. The front-end processor of the receiver can perform preliminary processing and analysis on the received data, and forward the processed data to the data exchange platform of the receiver located at the back end. Among them, the data exchange platform of the sender and the front-end processor of the sender are both located in the intranet of the sender, and the data exchange platform of the receiver and the front-end processor of the receiver are both located in the intranet of the receiver.
[0040] In the above method, both the sender and the receiver deploy data exchange platforms. The sender's data exchange platform extracts the data to be transmitted from the sending business system in the sender's intranet, encodes the data to be transmitted, and obtains the encoded data of the data to be transmitted; transmits the data to be transmitted to the receiver's data exchange platform through the network gate, and uploads the encoded data to the blockchain; the receiver's data exchange platform is used to send the data to be transmitted to the receiving business system in the receiver's intranet when the encoded data on the blockchain verifies the data to be transmitted. The data of the sending business system is transmitted to the receiving business system through the sender's data exchange platform and the receiver's data exchange platform, so as to realize data transmission between at least two business systems in different intranets. Furthermore, the verification of the data to be transmitted based on the encoded data on the blockchain can ensure the security of the data entering the receiving business system.
[0041] In the above-mentioned implementation manner, the plaintext data of the data to be transmitted is transmitted to the data exchange platform of the recipient through the network gate. In other implementation manners, considering the possibility of leakage of the plaintext data, in order to further improve data security, the data to be transmitted can be encrypted before being transmitted to the data exchange platform of the recipient through the network gate to obtain ciphertext data, and the ciphertext data can be transmitted to the data exchange platform of the recipient through the network gate. It can be understood that in other implementation manners, the encoded data can also be transmitted to the data exchange platform of the recipient. In a specific implementation manner, the data to be transmitted and the encoded data can be encrypted together to obtain ciphertext data. The ciphertext data is transmitted to the data exchange platform of the recipient through the network gate. Among them, the encryption can be performed using the national secret SM2 algorithm with a private key.
[0042] Since the sender and the receiver use different systems, the data formats used by the two may be different. Therefore, in one embodiment, after the data exchange platform of the sender extracts the data to be transmitted from the sending business system in the sender's intranet, it can perform preset processing on the data to be transmitted to obtain the final data to be transmitted; wherein the preset processing includes classification and / or format conversion. Among them, the classification and summary can classify and summarize the data to be transmitted according to the data type and / or the time when the data is generated. It can be understood that in other embodiments, after the data to be transmitted is transmitted to the data exchange platform of the receiver through the network gate, the data exchange platform of the receiver can perform preset processing on the data to be transmitted, and after the data to be transmitted is verified, the preset processed data to be transmitted is sent to the receiving business system in the receiver's intranet.
[0043] In one embodiment, the data exchange platform of the sender can also monitor the entire process of data transmission, for example, monitor the target process, the target process includes at least one of the extraction process and the encoding process, the extraction process is the process in which the data exchange platform of the sender extracts the data to be transmitted from the sending business system in the sender's intranet, and the encoding process is the process of encoding the data to be transmitted and obtaining the encoded data of the data to be transmitted. In response to monitoring the existence of an abnormality in the target process, an operation corresponding to the abnormality is performed; and / or, in response to the number of abnormalities generated in the same target process exceeding a threshold, an early warning is issued. For example, if the extraction process is abnormal more than 3 times, an early warning message can be generated and displayed on the front end to remind the user.
[0044] Wherein, when the target process is an extraction process, monitoring the target process to have an abnormality may include monitoring that the data to be transmitted is not extracted or that erroneous data to be transmitted is extracted. When the target process is an encoding process, monitoring the target process to have an abnormality may include monitoring that the encoded data is not obtained or that the encoded data is incorrect, wherein the encoding data error includes but is not limited to the format of the encoded data being different from the preset format. It can be understood that the above-mentioned monitoring of the target process to have an abnormality is only exemplary, and in other embodiments, it may also be other situations, which can be set by the user according to the specific situation.
[0045] Please refer to Figure 3 and Figure 4 , Figure 3 It is a flowchart of another implementation method of the blockchain-based data transmission method provided by this application. Figure 4 It is a schematic diagram of the framework structure of an implementation method of a sender, an intermediate management party and a receiver in this application. The method includes:
[0046] S31: The data exchange platform of the sender extracts the data to be transmitted from the sending business system in the sender's intranet.
[0047] S32: Encode the data to be transmitted to obtain encoded data of the data to be transmitted.
[0048] Among them, for the specific implementation of steps S31 and S32, please refer to steps S11 and S12 in the first implementation of the blockchain-based data transmission method provided in this application, which will not be repeated here.
[0049] S33: The data to be transmitted is transmitted to the intermediate management party through the network gate, and the data exchange platform of the intermediate management party transmits the data to be transmitted to the data exchange platform of the recipient through the network gate, and uploads the encoded data to the blockchain.
[0050] In one embodiment, in addition to the sender and the receiver, an intermediate management party is also included. The intermediate management party may be the superior of the sender and the receiver, or may be at the same level as the sender or the receiver, or may have a business relationship with the sender or the receiver. In a specific embodiment, taking the example that the intermediate management party may be the superior of the sender and the receiver, the sender may first send the data to be transmitted to the intermediate management party, which may review the data before sending it to the receiver. It can be understood that there may be one or more receivers, and multiple receivers may be selected by the intermediate management party from multiple candidate parties.
[0051] The data exchange platform of the sender transmits the data to be transmitted to the data exchange platform of the intermediate management party through the network gate, and the data exchange platform of the intermediate management party transmits the data to be transmitted to the data exchange platform of the receiver through the network gate. The data exchange platform of the sender can upload the coded data to the blockchain. The data exchange platform of the intermediate management party receives the data to be transmitted, and can encode the received data to be transmitted using the same encoding method, and upload the obtained coded data to the blockchain. It can be understood that the data exchange platform of the intermediate management party can obtain the coded data uploaded by the data exchange platform of the sender from the blockchain and compare it with the coded data obtained by itself. If they are consistent, the received data to be transmitted will be forwarded to the data exchange platform of the receiver.
[0052] The receiving party's data exchange platform can also encode the received data to be transmitted and upload the obtained encoded data to the blockchain. All participants upload the encoded data to the blockchain, and data traceability can also be achieved.
[0053] In one embodiment, the intermediate manager can also serve as a receiver, that is, after the data exchange platform of the intermediate manager receives the data to be transmitted, it determines whether the intermediate manager is the receiver. If so, when the data to be transmitted is verified based on the encoded data on the blockchain, the data to be transmitted is sent to the intermediate business system in the intranet of the intermediate manager.
[0054] In a specific embodiment, Figure 4As shown, the data to be transmitted first reaches the front-end processor of the sender from the data exchange platform of the sender located at the back end, and the front-end processor of the sender sends the data to be transmitted to the first front-end processor of the intermediate management party through the first network gate, and the first front-end processor of the intermediate management party forwards the data to be transmitted to the data exchange platform of the intermediate management party located at the back end, and the data exchange platform of the intermediate management party determines whether it is the receiver, and if not, the data to be transmitted is sent to the second front-end processor of the intermediate management party, and the second front-end processor of the intermediate management party sends the data to be transmitted to the front-end processor of the receiver, and the front-end processor of the receiver can perform preliminary processing and analysis on the received data, and forward the processed data to the data exchange platform of the receiver located at the back end. Among them, the data exchange platform of the sender and the front-end processor of the sender are both located in the intranet of the sender, the data exchange platform of the receiver and the front-end processor of the receiver are both located in the intranet of the receiver, and the front-end processor of the intermediate management party and the data exchange platform of the intermediate management party are both located in the intranet of the intermediate management party. It can be understood that the front-end processors mentioned in this embodiment can selectively perform preliminary processing and analysis on the received data.
[0055] It can be understood that the data exchange platform of the intermediate management party and the data exchange platform of the receiving party and the data exchange platform of the sending party have the same function, that is, the data exchange platform can perform preset processing on the data to be transmitted and monitor the target process. The data exchange platform of each participant can include three modules. The first module is used to store and unstore the data to be transmitted and to put the encoded data on the chain, wherein storage or unloading means entering the database corresponding to the data exchange platform or extracting it from the database. The second module is used for the transmission and encryption and decryption of the data to be transmitted. The third module is used to monitor the execution process of the first module and the second model. The data exchange platform introduced in this application can open up the data channels between various units and departments, further improve the level of informatization, integrate resources, and operate more efficiently. Provide full-process support for data extraction, packaging, encryption and decryption, transmission, and storage, and provide full-link monitoring function for data packet flow to help operation and maintenance personnel locate the data packet transmission process and status in time.
[0056] See also Figure 5 , Figure 5 It is a flowchart of another implementation method of the blockchain-based data transmission method provided by this application.
[0057] S51: The data exchange platform of the receiving party receives the data to be transmitted which is transmitted by the data exchange platform of the sending party through the network gate.
[0058] This implementation is executed by the data exchange platform of the receiving party, and the data exchange platform of the receiving party receives the data to be transmitted by the data exchange platform of the sending party through the network gate. Specifically, the data exchange platform of the sending party sends the data to be transmitted to the front-end processor of the sending party, and the front-end processor of the sending party transmits the data to be transmitted to the front-end processor of the receiving party through the network gate, and the front-end processor of the receiving party sends the data to be transmitted to the data exchange platform of the receiving party. It can be understood that the front-end processor of the receiving party can perform preliminary processing and analysis on the data to be transmitted before sending it to the data exchange platform of the receiving party.
[0059] For the specific execution steps of the data exchange platform of the sender, please refer to the aforementioned embodiment and will not be repeated here.
[0060] S52: Obtain the encoded data corresponding to the data to be transmitted from the blockchain.
[0061] In one embodiment, the coded data corresponding to the data to be transmitted may be obtained by encoding the data to be transmitted by the data exchange platform of the receiving party and uploaded to the blockchain. In other embodiments, the coded data corresponding to the data to be transmitted may be obtained by encoding the data to be transmitted by the data exchange platform of the intermediate management party and uploaded to the blockchain.
[0062] S53: Verify the data to be transmitted based on the encoded data.
[0063] In one embodiment, the data exchange platform of the receiving party can encode the received data to be transmitted to obtain the data to be verified corresponding to the data to be transmitted; determine whether the data to be verified and the encoded data are the same, and in response to the data to be verified and the encoded data being the same, determine that the verification of the data to be transmitted is passed.
[0064] In a specific implementation, the encoded data corresponding to the data to be transmitted in the blockchain is the target hash value. The data exchange platform of the recipient can perform a hash operation on the received data to be transmitted to obtain the hash value to be verified, and determine whether the hash value to be verified is the same as the target hash value. If they are the same, it is determined that the data to be transmitted has been verified; if they are the same, it is determined that the data to be transmitted has not been verified.
[0065] It is understandable that in other embodiments, the data to be transmitted may not be verified by the data exchange platform of the receiving party, and other nodes may be introduced to send the data to be verified to other nodes, and the other nodes obtain the encoded data on the blockchain and compare the encoded data with the data to be verified. If the comparison is consistent, it is determined that the verification is passed, and if the comparison is inconsistent, it is determined that the verification is not passed. The verification result is sent to the data exchange platform of the receiving party.
[0066] S54: In response to the verification being successful, the received data to be transmitted is sent to a receiving service system in the receiving party's intranet.
[0067] If the verification is successful, it means that the data to be transmitted received by the data exchange platform of the receiver is the same as the data to be transmitted in the sending business system of the sender, which means that the data to be transmitted received by the data exchange platform of the receiver has not been tampered with and the data is safe. Therefore, the safe data to be transmitted is sent to the receiving business system in the receiving party's intranet. In this way, the data security in the receiving business system can be guaranteed.
[0068] See also Figure 6 , Figure 6 It is a schematic diagram of the framework structure of an implementation scheme of a data transmission system provided in this application.
[0069] The data transmission system 60 includes a sender 61 and a receiver 62. Both the sender's intranet and the receiver's intranet are deployed with data exchange platforms. The sender's intranet is also deployed with a sending business system 611. The sender's data exchange platform 612 can communicate with the sending business system 611. The sender's data exchange platform 612 is used to execute the relevant steps in the method embodiment. Please refer to the aforementioned method embodiment for details, which will not be repeated here. The receiver's intranet is also deployed with a receiving business system 621. The receiver's data exchange platform 622 can communicate with the receiving business system 621. The receiver's data exchange platform 622 is used to execute the relevant steps in the method embodiment. Please refer to the aforementioned method embodiment for details, which will not be repeated here. The sender's data exchange platform 612 and the receiver's data exchange platform 622 can transmit the data to be transmitted through the network switch.
[0070] The data transmission system provided in this application uses high-performance transmission - 10 Gigabit optical switches to support various measures such as massive small and large file transmission, intelligent breakpoint resumption, file intelligent segmentation transmission, file transmission priority control, etc., which can complete the flow of case information between units in a short time, thereby greatly improving the timeliness of case handling.
[0071] See also Figure 7 , Figure 7 It is a schematic diagram of the framework structure of an implementation scheme of a blockchain-based data transmission device provided in this application.
[0072] The data transmission device in this embodiment is called a first data transmission device 70. The first data transmission device 70 includes an extraction module 71, an encoding module 72 and a transmission module 73. The extraction module 71 is used to extract the data to be transmitted from the sending business system in the sender's intranet; the encoding module 72 is used to encode the data to be transmitted to obtain the encoded data of the data to be transmitted; the transmission module 73 is used to transmit the data to be transmitted to the data exchange platform of the recipient through the network switch, and upload the encoded data to the blockchain; wherein the data exchange platform of the recipient is used to send the data to be transmitted to the receiving business system in the recipient's intranet when the data to be transmitted is verified by the encoded data on the blockchain.
[0073] In one embodiment, the first data transmission device 70 also includes an encryption module, which is used to encrypt the data to be transmitted to obtain ciphertext data, or to encrypt the data to be transmitted and the encoded data to obtain ciphertext data before transmitting the data to be transmitted through the network gate to the data exchange platform of the recipient. The transmission module 73 is used to transmit the ciphertext data to the data exchange platform of the recipient through the network gate.
[0074] In one embodiment, the transmission module 73 is further used to transmit the data to be transmitted to the intermediate management party through the network gate, so that the data exchange platform of the intermediate management party transmits the data to be transmitted to the data exchange platform of the recipient through the network gate.
[0075] In one embodiment, the recipient is selected by the intermediate management party from a plurality of candidate parties.
[0076] In one implementation, the data exchange platform of the sender sends the data to be transmitted to the gateway via the front-end processor of the sender; the gateway sends the data to be transmitted to the data exchange platform of the receiver via the front-end processor of the receiver.
[0077] In one implementation, the encoding module 72 is further configured to perform a hash operation on the data to be transmitted to obtain encoded data of the data to be transmitted.
[0078] In one embodiment, the first data transmission device 70 also includes a preprocessing module, which is used to perform preset processing on the data to be transmitted after the sender's data exchange platform extracts the data to be transmitted from the sending business system in the sender's intranet to obtain the final data to be transmitted; wherein the preset processing includes classification aggregation and / or format conversion.
[0079] In one embodiment, the first data transmission device 70 also includes a monitoring module, which is used to monitor the target process, the target process including at least one of an extraction process and an encoding process; in response to monitoring an abnormality in the target process, executing an operation corresponding to the abnormality; and / or, in response to the number of abnormalities generated in the same target process exceeding a threshold, issuing an early warning.
[0080] See also Figure 8 , Figure 8 This is a schematic diagram of the framework structure of another embodiment of the blockchain-based data transmission device provided in this application.
[0081] The data transmission device in this embodiment is called a second data transmission device 80, and the second data transmission device 80 includes a receiving module 81, an acquisition module 82, a verification module 83 and a sending module 84. The receiving module 81 is used to receive the data to be transmitted transmitted by the sender's data exchange platform through the network gate; the acquisition module 82 is used to obtain the encoded data corresponding to the data to be transmitted from the blockchain; the verification module 83 is used to verify the data to be transmitted based on the encoded data; the sending module 84 is used to send the received data to be transmitted to the receiving business system in the receiving party's intranet in response to the verification being passed.
[0082] In one embodiment, the verification module 83 is further used to encode the data to be transmitted to obtain data to be verified corresponding to the data to be transmitted; in response to the data to be verified being identical to the encoded data, it is determined that the data to be transmitted has been verified.
[0083] See also Fig. 9 , Fig. 9 It is a schematic diagram of the framework structure of an embodiment of an electronic device provided in the present application.
[0084] The electronic device 90 includes a memory 91 and a processor 92 coupled to each other, the memory 91 stores program instructions, and the processor 92 is used to execute the program instructions stored in the memory 91 to implement the steps of any of the above method implementations. In a specific implementation scenario, the electronic device 90 may include, but is not limited to: a microcomputer, a server, and in addition, the electronic device 90 may also include a mobile device such as a laptop computer and a tablet computer, which is not limited here.
[0085] Specifically, the processor 92 is used to control itself and the memory 91 to implement the steps of any of the above-mentioned method implementation methods. The processor 92 can also be called a CPU (Central Processing Unit). The processor 92 may be an integrated circuit chip with signal processing capabilities. The processor 92 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 92 can be implemented by an integrated circuit chip.
[0086] See also Fig.10 , Fig.10 It is a schematic diagram of the framework structure of an implementation scheme of a computer-readable storage medium provided in this application.
[0087] The computer-readable storage medium 100 stores program instructions 101. When the program instructions 101 are executed by a processor, they are used to implement the steps of any of the above method implementations.
[0088] The computer-readable storage medium 100 may specifically be a medium that can store computer programs, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or may be a server that stores the computer program. The server may send the stored computer program to other devices for execution, or may also execute the stored computer program itself.
[0089] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0090] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0091] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0092] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0093] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0094] If the technical solution of this application involves personal information, the product using the technical solution of this application has clearly informed the personal information processing rules and obtained the individual's voluntary consent before processing the personal information. If the technical solution of this application involves sensitive personal information, the product using the technical solution of this application has obtained the individual's separate consent before processing the sensitive personal information, and at the same time meets the "explicit consent" requirement. For example, on personal information collection devices such as cameras, clear and prominent signs are set to inform that the personal information collection scope has been entered and personal information will be collected. If the individual voluntarily enters the collection scope, it is deemed that he or she agrees to the collection of his or her personal information; or on the device that processes personal information, the personal information processing rules are notified by obvious signs / information, and the individual's authorization is obtained through pop-up information or by asking the individual to upload his or her personal information; among them, the personal information processing rules may include information such as the personal information processor, the purpose of personal information processing, the processing method, and the type of personal information processed.
[0095] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A data transmission method based on blockchain, characterized in that: include: The data exchange platform of the sender extracts the data to be transmitted from the sending business system in the sender's intranet; Encoding the data to be transmitted to obtain encoded data of the data to be transmitted; Transmitting the data to be transmitted to the data exchange platform of the recipient through the gateway, and uploading the encoded data to the blockchain; Among them, the data exchange platform of the recipient is used to send the data to be transmitted to the receiving business system in the recipient's intranet when the data to be transmitted is verified based on the encoded data on the blockchain.
2. The method according to claim 1, characterized in that: Before transmitting the data to be transmitted to the data exchange platform of the receiving party through the network gate, the method further includes: Encrypting the data to be transmitted to obtain ciphertext data, or encrypting the data to be transmitted and the encoded data to obtain ciphertext data; The step of transmitting the data to be transmitted to the data exchange platform of the receiving party through the network gate includes: The encrypted data is transmitted to the data exchange platform of the recipient through the network gate.
3. The method according to claim 1, characterized in that The step of transmitting the data to be transmitted to the data exchange platform of the receiving party through the network gate also includes: The data to be transmitted is transmitted to the intermediate management party through the network gate, so that the data exchange platform of the intermediate management party transmits the data to be transmitted to the data exchange platform of the receiving party through the network gate.
4. The method according to claim 3, characterized in that The receiving party is selected by the intermediate management party from a plurality of candidate parties.
5. The method according to claim 1 or 3, characterized in that: The data exchange platform of the sender sends the data to be transmitted to the network gate via the front-end processor of the sender; The network gate sends the data to be transmitted to the data exchange platform of the receiver via the front-end processor of the receiver.
6. The method according to claim 1, characterized in that The step of encoding the data to be transmitted to obtain encoded data of the data to be transmitted includes: A hash operation is performed on the data to be transmitted to obtain encoded data of the data to be transmitted.
7. The method according to claim 1, characterized in that After the data exchange platform of the sender extracts the data to be transmitted from the sending service system in the intranet of the sender, the method further includes: The data to be transmitted is subjected to preset processing to obtain the final data to be transmitted; wherein the preset processing includes classification aggregation and / or format conversion.
8. The method according to claim 1, characterized in that The method further comprises: monitoring a target process, wherein the target process includes at least one of the extraction process and the encoding process; In response to monitoring that an abnormality exists in the target process, an operation corresponding to the abnormality is executed; and / or, in response to the number of times the abnormality occurs in the same target process exceeding a threshold, an early warning is issued.
9. A data transmission method based on blockchain, characterized in that: include: The data exchange platform of the receiving party receives the data to be transmitted transmitted by the data exchange platform of the sending party through the network gate; Obtaining encoded data corresponding to the data to be transmitted from the blockchain; verifying the data to be transmitted based on the encoded data; In response to the verification being passed, the received data to be transmitted is sent to a receiving service system in the receiving party's intranet.
10. The method according to claim 9, characterized in that The verifying the data to be transmitted based on the encoded data includes: Encoding the data to be transmitted to obtain data to be verified corresponding to the data to be transmitted; In response to the data to be verified being identical to the encoded data, it is determined that the data to be transmitted passes verification.
11. A data transmission system, characterized in that: The system includes a sender and a receiver; Both the sender's intranet and the receiver's intranet are deployed with a data exchange platform, the sender's intranet is also deployed with a sending business system, the sender's data exchange platform can communicate with the sending business system, and the sender's data exchange platform is used to execute the method described in any one of claims 1 to 8; The receiving party's intranet is also deployed with a receiving business system, the receiving party's data exchange platform can communicate with the receiving business system, and the receiving party's data exchange platform is used to execute the method described in any one of claims 9-10; The data exchange platform of the sender and the data exchange platform of the receiver can transmit the data to be transmitted through the network gate.
12. A data transmission device based on blockchain, characterized in that: include: An extraction module is used to extract the data to be transmitted from the sending business system in the sender's intranet; An encoding module, used for encoding the data to be transmitted to obtain encoded data of the data to be transmitted; A transmission module, used to transmit the data to be transmitted to the data exchange platform of the recipient through the network gate, and upload the encoded data to the blockchain; Among them, the data exchange platform of the recipient is used to send the data to be transmitted to the receiving business system in the recipient's intranet when the data to be transmitted is verified based on the encoded data on the blockchain.
13. A data transmission device based on blockchain, characterized in that: include: A receiving module, used for receiving the data to be transmitted transmitted by the data exchange platform of the sender through the network gate; An acquisition module, used to acquire the encoded data corresponding to the data to be transmitted from the blockchain; A verification module, used for verifying the data to be transmitted based on the encoded data; The sending module is used to send the received data to be transmitted to the receiving business system in the receiving party's intranet in response to the verification being passed.
14. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory stores program instructions, and the processor is configured to execute the program instructions to implement the method according to any one of claims 1 to 10.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program instructions, and the program instructions can be executed to implement the method according to any one of claims 1 to 10.