CN115277686B - Data transmission method, device, equipment and computer storage medium - Google Patents

Data transmission method, device, equipment and computer storage medium Download PDF

Info

Publication number
CN115277686B
CN115277686B CN202110480859.7A CN202110480859A CN115277686B CN 115277686 B CN115277686 B CN 115277686B CN 202110480859 A CN202110480859 A CN 202110480859A CN 115277686 B CN115277686 B CN 115277686B
Authority
CN
China
Prior art keywords
blockchain
service
service data
data
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110480859.7A
Other languages
Chinese (zh)
Other versions
CN115277686A (en
Inventor
史远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Liaoning Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Liaoning Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Group Liaoning Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110480859.7A priority Critical patent/CN115277686B/en
Publication of CN115277686A publication Critical patent/CN115277686A/en
Application granted granted Critical
Publication of CN115277686B publication Critical patent/CN115277686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The application discloses a data transmission method, a device, equipment and a computer storage medium, which are applied to a service processing system. The method comprises the following steps: transmitting the first service data to a first blockchain node connected with the first background server under the condition that the first background server generates the first service data; the first block link point transmits first service data to block chain nodes except the first block chain node in the plurality of block chain nodes, and enables a block chain network to carry out uplink processing on the first service data; the second block link transmits the first service data which is uplink to the second background server, so that the second background server performs service processing based on the first service data. According to the data transmission method provided by the embodiment of the application, the data loss in the server caused by the breakdown of any server can be avoided, and the traceability of the data in the collaborative business processing system is improved.

Description

Data transmission method, device, equipment and computer storage medium
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a data transmission method, apparatus, device, and computer storage medium.
Background
Currently, in some multi-system collaboration scenarios, data interaction between systems is mostly implemented by using a data interface. Such as some long flows, it is necessary to implement the association of data between multiple systems through hundreds of intersecting interfaces.
Aiming at the existing cross-interface type multi-system cooperation mode, each system is only responsible for sending and receiving data meeting the service demands of both parties, and under the condition that any one system is crashed, historical data in the system can be lost, so that the existing multi-system cooperation mode has lower traceability on the data.
Disclosure of Invention
The embodiment of the application provides a data transmission method, a device, equipment and a computer storage medium, which can upload interactive data of each system in a plurality of systems to a blockchain system, avoid the loss of historical data and promote the traceability of a multi-system cooperation mode to data.
In a first aspect, an embodiment of the present application provides a data transmission method, applied to a service processing system, where the service processing system includes a blockchain network and N background servers, where the blockchain network includes a plurality of blockchain nodes, the N background servers are servers that process different services in a service flow, and the N background servers are respectively connected with N blockchain link points in the plurality of blockchain nodes in a one-to-one correspondence manner, and N is an integer greater than 1, where the method includes:
Under the condition that a first background server generates first service data, the first background server transmits the first service data to a first blockchain node connected with the first background server, wherein the first background server is any server in the N background servers;
The first blockchain link point transmits the first service data to blockchain nodes except the first blockchain node in the plurality of blockchain nodes, and enables the blockchain network to perform uplink processing on the first service data;
The second block chain link transmits the first service data of the uplink to a second background server so that the second background server performs service processing based on the first service data, wherein the second block chain node is a block chain node connected with the second background server, the second background server is used for processing a first service in the service flow, and the first service is the next service of the service processed by the first background server.
In a second aspect, an embodiment of the present application provides a data transmission device, applied to a service processing system, where the service processing system includes a blockchain network and N background servers, the blockchain network includes a plurality of blockchain nodes, the N background servers are servers that process different services in a service flow, and the N background servers are respectively connected with N blockchain link points in the plurality of blockchain nodes in a one-to-one correspondence manner, where N is an integer greater than 1, and the device includes:
The first transmission module is used for transmitting the first service data to a first blockchain node connected with a first background server under the condition that the first background server generates the first service data, wherein the first background server is any one of the N background servers;
the second transmission module is used for transmitting the first service data to a blockchain node except the first blockchain node in the plurality of blockchain nodes by the first blockchain link point, and enabling the blockchain network to perform uplink processing on the first service data;
and the third transmission module is used for transmitting the first service data which is uplink to the second background server by the second block chain link point so that the second background server performs service processing based on the first service data, wherein the second block chain node is a block chain node connected with the second background server, the second background server is used for processing a first service in the service flow, and the first service is the next service of the service processed by the first background server.
In a third aspect, an embodiment of the present application provides a data transmission apparatus, including:
A processor and a memory storing computer program instructions;
The processor, when executing the computer program instructions, implements a data transmission method as described in any of the above embodiments.
In a fourth aspect, embodiments of the present application provide a computer storage medium having stored thereon computer program instructions which, when executed by a processor, implement a data transmission method according to any of the above embodiments.
The data transmission method, the device, the equipment and the computer storage medium are applied to a service processing system, the service processing system comprises a block chain network and N background servers, the block chain network comprises a plurality of block chain nodes, the N background servers are respectively and correspondingly connected with the N block chain link points in the plurality of block chain nodes one by one, and the first background server can transmit the first service data to the first block chain nodes connected with the first background server under the condition that the first background server generates the first service data and enable the block chain network to carry out uplink processing on the first service data; the second block link transmits the first service data which is uplink to the second background server, so that the second background server performs service processing based on the first service data. Therefore, the data transmission method can upload the service data generated by N background services to the corresponding blockchain nodes, and uplink all the service data through the blockchain network, so that the data loss in the server caused by the breakdown of any server can be avoided, and the traceability of the data in the collaborative service processing system is improved.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present application, the drawings that are needed to be used in the embodiments of the present application will be briefly described, and it is possible for a person skilled in the art to obtain other drawings according to these drawings without inventive effort.
FIG. 1 is a system architecture diagram of a prior art government enterprise private line opening process;
fig. 2 is a system configuration diagram of a service transmission system according to an embodiment of the present application;
FIG. 3 is a block chain node block diagram provided by one embodiment of the present application;
fig. 4 is a flow chart of a data transmission method according to an embodiment of the present application;
FIG. 5 is a flow chart illustrating a data transmission method according to an embodiment of the present application
Fig. 6 is a system architecture diagram of a specific application scenario of a service processing system according to an embodiment of the present application;
fig. 7 is a flowchart of a specific application scenario of a data transmission method according to an embodiment of the present application;
Fig. 8 is a schematic structural diagram of a data transmission device according to another embodiment of the present application;
fig. 9 is a schematic structural diagram of a data transmission device according to still another embodiment of the present application.
Detailed Description
Features and exemplary embodiments of various aspects of the present application will be described in detail below, and in order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail below with reference to the accompanying drawings and the detailed embodiments. It should be understood that the particular embodiments described herein are meant to be illustrative of the application only and not limiting. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the application by showing examples of the application.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In order to facilitate the detailed explanation of the technical scheme of the data transmission method of the application, it is required to be explained that in the existing multi-system collaboration scene, data interaction among the systems is mostly realized by adopting a data interface mode.
As shown in fig. 1, the system architecture diagram of the government-enterprise private line opening flow generally requires hundreds of cross interfaces for implementing the construction of the collaboration architecture. When a foreground light application system (i.e., a foreground server) needs to be built in a business foreground, a plurality of data interaction interfaces need to be developed between the foreground light application system and each background business system (i.e., a background server), and due to the complexity of data interaction, the background business systems and the foreground light application systems must be mutually connected through tight interfaces in a crossing way, so single-point faults easily occur, and maintainability is reduced.
Moreover, from the aspect of the robustness of the whole collaboration framework, if any background service system temporarily leaves the service, the function of the collaboration framework is lost, and after some historical data query interfaces with higher real-time requirements temporarily leave the service, the interfaces are in an unavailable state, so that the functions are completely lost.
Thus, in order to solve the above technical problem, a concept of a technological platform is proposed, that is, integrating and packaging the capability of using cloud or other infrastructure, and the capability of applying various technological middleware. Filtering out technical details, providing a simple and consistent capability interface of an application technology infrastructure which is easy to use, and helping to quickly construct a foreground and a business center and a data center.
Based on the technical background concept, the technical middleware can be utilized to integrate public service capability, associated service data of a background service system can be directly obtained downwards, filtering and integrating capability of data and service data association relation is provided for a foreground light application system upwards, and construction of a foreground and background collaboration framework can be effectively improved.
In addition, in the scenario of multi-system collaboration as shown in fig. 1, each system only sends and receives data meeting the service needs of both parties, so that the system often discards the association relationship and change record of the self-considered useless data, and in the event of any system crash, the historical data in the system is lost, so that the traceability of the existing multi-system collaboration mode for the data is low.
At this time, the blockchain technology is taken as a decentralised distributed database, is essentially a shared database, and stores data or information therein, and has the characteristics of ' non-falsifiability ', ' whole trace ', ' traceability ', ' disclosure transparency ', collective maintenance ' and the like. Based on these features, the blockchain technique can be applied to any scene requiring traceable, tamper-proof or falsified-proof data records.
Therefore, in order to solve the technical problems of complexity of a system architecture in a multi-system cooperation scene, low data traceability in a data transmission process and the like, the embodiment of the application provides a data transmission method, a device, equipment and a computer storage medium based on characteristics of a technology in a middle station and a blockchain technology.
The data transmission method provided by the embodiment of the application is applied to a service processing system. Fig. 2 is a system configuration diagram of a service transmission system according to an embodiment of the present application. As shown in fig. 2, the service processing system includes a blockchain network, a foreground server, and N background servers, where N is an integer greater than 1.
The foreground server: typically, the front-end user oriented one or more servers, and the front-end server mainly presents and analyzes data and provides application functions of a data consumption hierarchy for users. The foreground server is characterized in that data are read and written to the blockchain node, and the read data are far larger than the written data, and even the blockchain node is output to the foreground server in a unidirectional way. The foreground server can directly read and write a Key value database (Key-value database, KV database) of the blockchain node through an application layer in the blockchain node without deploying a relational database.
Block chain network: the blockchain network comprises a plurality of blockchain nodes, and the blockchain nodes are connected with a foreground server and N background servers. In the block chain network, all block chain link points synchronize the full uplink data, the block chain link points are directly in butt joint with a foreground light application system and a background service system, meanwhile, the block chain nodes realize the interconnection of the block chain network through a Peer-to-Peer (P2P) network and bear the throughput of the foreground service data and the background service data. The block chain nodes can realize telescopic deployment according to the actual needs of the foreground server and the background server, and can finish data on-demand chaining and on-demand consumption on the basis of not damaging the original system cooperation mode; because complex cross interface development is not needed, the foreground server can directly pass through the block chain node throughput data, and in order to ensure the stability and the safety of the block chain network, the block chain node of the foreground server needs to pass through the safety certification of the node safety module when accessing the block chain network, so that the rapid deployment and the application of the foreground server can be realized.
The background server: the background server is mainly used for daily maintenance of resources and service data, is characterized in that data written into a blockchain node is far larger than read data, even single-phase output from the background server to the blockchain node is realized, and the background server is generally used for deploying a relational database for storing massive basic data. The background server can also realize data interaction through the blockchain network, and particularly when the end-to-end association of the data of the cross-background business system is required to be realized, the blockchain network can realize the capabilities of data such as repudiation, tamper resistance, traceability and the like.
In the service transmission system, N background servers are respectively connected with N block chain nodes in a block chain network in a one-to-one correspondence manner, and can upload service data generated by the background servers to the block chain nodes and finish uplink processing; the foreground server can also access the blockchain network through the blockchain node arranged on the foreground server, and read the service data of N background servers from the blockchain node.
Specifically, FIG. 3 illustrates a block chain node block diagram according to one embodiment of the present application. As shown in fig. 3, a blockchain node may include an application layer, a contract layer, an incentive layer, a consensus layer, a network layer, and a data layer.
Application layer: the system can be a read-write engine of the uplink data integrated for the block chain node and a read-write channel established with a background server. The read-write channel can be a state transfer application program interface (REpresentational STATE TRANSFER Application Program Interface, RESTful API) for realizing the data interaction between the blockchain node application layer and the background server; or the read-write channel can also be a trigger arranged in the background server and the block chain node database, and when the field value or the change occurs in the background server or the block chain node database, the trigger informs the read-write engine of the node of the change condition of the data so as to realize the interaction of the data. The application layer provides digital authentication service of the block chain link point to the block chain network, and the joining or reconnection of the trusted node is realized through digital signature verification.
Contract layer: the method can adopt the mode of automatic synchronization of all block chain link points in a block chain network to realize the visual configuration of the uplink data screening contract template, and can carry out compliance screening on the uplink data to realize the on-demand uplink of user service data.
Excitation layer: the statistics are generally used for counting the uplink data of each background server, and the statistics result can be used for providing workload evidence for the suppliers of the background servers, such as stimulating the suppliers to provide more data services in a point mode.
Consensus layer: the consensus mechanism may be implemented using a practical bayer fault tolerance mechanism (PRACTICAL BYZANTINE FAULT TOLERANCE, PBFT) or a consensus algorithm (e.g., RAFT algorithm, etc.).
Network layer: the distributed network interconnection may be implemented by using a P2P network of protocols such as Gossip (a protocol that is decentralised, fault tolerant and ensures final consistency).
Data layer: leveldb (i.e., a persistent stand-alone database of google open source) may be employed to enable the storage of blockchain data.
Based on the above-described service processing system of the present application, a data transmission method applied to the service processing system provided by the embodiment of the present application is first described below. Fig. 4 is a schematic flow chart of a data transmission method according to an embodiment of the present application. As shown in fig. 4, the method comprises the following steps:
step 401, in the case that a first background server generates first service data, the first background server transmits the first service data to a first blockchain node connected with the first background server, where the first background server is any one of the N background servers;
Step 402, the first blockchain node transmits the first service data to blockchain nodes except the first blockchain node in the plurality of blockchain nodes, and enables the blockchain network to perform uplink processing on the first service data;
In step 403, the second blockchain node transmits the first service data of the uplink to the second background server, so that the second background server performs service processing based on the first service data, where the second blockchain node is a blockchain node connected to the second background server, and the second background server is used to process a first service in the service flow, and the first service is a next service of the service processed by the first background server.
Based on the first service data, under the condition that the first background server generates the first service data, the first background server transmits the first service data to a first blockchain node connected with the first background server, and enables the blockchain network to perform uplink processing on the first service data; the second block link transmits the first service data which is uplink to the second background server, so that the second background server performs service processing based on the first service data. Therefore, the data transmission method can upload the service data generated by N background services to the corresponding blockchain nodes, and uplink all the service data through the blockchain network, so that the data loss in the server caused by the breakdown of any server can be avoided, and the traceability of the data in the collaborative service processing system is improved.
In step 401, the first background server generates first service data and transmits the first service data to a first blockchain node connected thereto.
The first background server may be any one of N background servers, and the first background server may be configured to process a service in a service flow, and generate first service data.
In addition, the first blockchain node is a blockchain node deployed in the first background server, and the first blockchain node may be used for receiving service data transmitted by the first background server and transmitting the service data to the first background server.
It should be noted that, the first background server may implement data interaction with the first block link point application layer through a RESTful API interface; or the first background server can also be a trigger deployed in a database of the first background server and the first blockchain node to realize data interaction. In addition, the manner of implementing the data interaction between the first background server and the first blockchain node may be by other manners, which are not limited herein.
Similarly, in the implementation of the present application, the manner in which the N background servers and the blockchain nodes corresponding to the N background servers implement data interaction may be the same as the manner in which the first background server and the first blockchain node implement data interaction, which is not described in detail herein.
In addition, in the embodiment of the present application, the first background server may further generate a unique identifier, where the unique identifier may be an identifier indicating a service flow, and the first background server sends the unique identifier to the first blockchain node. In the first blockchain node, the unique identification code may be used as an identifier to store the first service data.
Specifically, the first background server generates a unique identification code, and the unique identification code is used for identifying the business process;
the first background server sends the unique identification code to the first blockchain node.
Based on the unique identification code, the first background server generates the unique identification code and stores the first service data in the first blockchain node by taking the unique identification code as an identification, so that the service data in the blockchain node can be conveniently distinguished based on the unique identification code.
In step 402, the first blockchain node transmits the first service data to blockchain nodes other than the first blockchain node in the blockchain network, and causes the blockchain network to perform uplink processing on the first service data.
The plurality of block link points in the block chain network can be interconnected through a P2P protocol of a network layer in each block chain node, so that the first block chain node can transmit the first service data to all block chain nodes in the block chain network.
In addition, the block chain network performs the uplink processing on the first service data, which may be that after the first service data is checked by an administrator, the block chain network performs the uplink processing on the checked first service data; the blockchain network may perform uplink processing on the first service data if the first service data meets a preset uplink condition.
In the step 403, the second blockchain node deployed on the second background server may upload the uplink first service data to the second background server, and the second background server may perform service processing based on the first service data.
The second background server may be a server for processing a first service in the service flow, and the first service may be a next service of the services processed by the first background server in the service flow.
In addition, the second background server performs service processing based on the first service data, and may process the first service based on the acquired first service data and generate second service data.
Specifically, after the second block link transmits the first service data of the uplink to the second background server, the method further includes:
Transmitting the second service data to the second blockchain node by the second background server under the condition that the second background server generates the second service data;
the second blockchain link point transmits the second service data to blockchain nodes except the second blockchain node in the plurality of blockchain nodes, and enables the blockchain network to perform uplink processing on the second service data.
Based on the method, the second background server transmits the generated second service data to the second block chain node and performs uplink processing on the second service data by the block chain network, so that the loss of the second service data can be avoided, and the second service data can be prevented from being tampered and the like.
When the N background servers process different services in the service flow, respectively generating a plurality of different service data, and uploading the generated plurality of different service data to N corresponding blockchain nodes by the N background servers to enable the blockchain network to perform uplink processing on the service data in the N blockchain nodes. The manner in which the blockchain network performs uplink processing on the service data in the N blockchain nodes may be the same as the manner in which the blockchain network performs uplink processing on the first service data, which is not described herein.
After the blockchain network performs uplink processing on the service data in the N blockchain nodes, each of the plurality of blockchain nodes contains the service data generated by the N background servers. Therefore, the N background servers can acquire service data except the service data generated by the background servers from the corresponding block chain nodes in the service flow.
Specifically, the obtaining, by the first background server, the data in the first blockchain node may include the following steps:
uploading the generated plurality of service data to the N blockchain nodes by the N background servers respectively, and sending a first request for acquiring the service data in the first blockchain node to the first blockchain link node by the first background server under the condition that the blockchain network carries out uplink processing on the plurality of service data, wherein the data in the first blockchain node comprises the service data generated by the N background servers;
The first block link point transmits traffic data other than the first traffic data to the first background server in response to the first request.
Based on the above, the plurality of service data generated by the N background servers are subjected to uplink processing, so that the plurality of blockchain nodes comprise the plurality of service data, and then the N background servers can read the service data generated by other background servers, so that data interaction among the N background servers can be realized.
Or the first background server acquires the data in the first block chain node, or the first block chain node sends the service data to the first background server according to a preset data transmission rule. For example, the preset data transmission rule is that the first background server only can acquire the service data of the second background server, and then the service data of the second background server can be directly transmitted to the first background server when the service data of the second background server in the first blockchain node is changed.
It should be noted that, the manner in which any one of the N background servers obtains service data except the service data generated by its own background server from the corresponding block link point may be the same as the manner in which the first background server obtains the data in the first block chain node, which is not described herein.
In addition, as can be seen from the above description, the first background server may further generate a unique identifier for identifying the service flow, and transmit the unique identifier to the first blockchain node, and in the first blockchain node, the first service data may be stored with the unique identifier as an identifier.
Similarly, the first blockchain node transmits the unique identifier to blockchain nodes other than the first blockchain node in the plurality of blockchain nodes, that is, each of the plurality of blockchain nodes in the blockchain network includes the unique identifier. At this time, in the N blockchain nodes, the unique identifier may be used as an identifier, and the service data transmitted to the corresponding blockchain node by the N background servers may be stored. After the blockchain network performs uplink processing on the service data in the plurality of blockchain nodes, the unique identification code can be used as an identification to store the plurality of service data in the corresponding service flow.
Specifically, the first background server generates a unique identification code, and the unique identification code is used for identifying the business process;
the first background server sends the unique identification code to the first blockchain node;
The first blockchain node transmits the unique identification code to blockchain nodes of the plurality of blockchain nodes other than the first blockchain node to enable a plurality of business data of the plurality of blockchain nodes to correspond to the unique identification code.
Based on the method, the plurality of business data in the business process are stored in the plurality of blockchain nodes by taking the unique identification code as the identification, and the data needed in the blockchain nodes can be read based on the unique identification code, so that the method is more convenient and quick.
According to the data transmission method provided by the embodiment of the application, in the applied service processing system, after the block chain network carries out uplink processing on service data in a plurality of block chain nodes, each block chain node contains the same service data.
Therefore, the foreground server can also acquire the service data generated by the N background servers from the corresponding blockchain nodes. The manner in which the foreground server reads the service data deployed in the own blockchain node may be that the foreground server sends a service data reading request to the blockchain node deployed in the foreground server, and the blockchain node deployed in the foreground server responds to the reading request and sends the requested service data to the foreground server.
Specifically, fig. 5 shows a further flow chart of a data transmission method according to an embodiment of the present application. As shown in fig. 5, the foreground server is connected to a third blockchain node, where the third blockchain node is a node other than the N blockchain nodes in the plurality of blockchain nodes, and the method further includes the following steps:
Step 501, the foreground server sends a service data reading request to the third blockchain node, where the service data reading request carries indication information for indicating service data of the N background servers;
Step 502, the third block link point responds to the service data reading request and sends the service data indicated by the indication information to the foreground server.
Based on the method, the foreground server can access the blockchain network through the blockchain node deployed on the foreground server, and then can read data generated by N background service systems from the blockchain node, so that a data interface between the foreground server and the background server in the service processing system can be simplified, and the problem that the required data cannot be read due to the fact that the data is lost caused by the failure of the background server can be avoided.
The read request may further include a unique identifier of the service flow, and the third blockchain node may send service data to the foreground server according to the unique identifier.
In addition, before the foreground server sends the service data reading request to the third blockchain node, the third blockchain node needs to be authenticated by the blockchain node with the authentication service function in the blockchain network before the third blockchain node can be accessed to the blockchain network.
Specifically, before the foreground server sends the service data reading request to the third blockchain node, the method further includes:
the third blockchain node sends request information for requesting to access the blockchain network and a digital signature of the third blockchain node to a fourth blockchain link node, wherein the fourth blockchain node is a preset blockchain node with an authentication service function, the fourth blockchain node is any one of the N blockchain nodes, and the digital signature is used for indicating identity verification information of the third blockchain node;
and the fourth blockchain node responds to the request information, verifies the digital signature and accesses the third blockchain node to the blockchain network under the condition that the digital signature passes the verification.
Based on this, the third blockchain node sends request information requesting access to the blockchain network and a digital signature of the third blockchain node to the fourth blockchain node, and the third blockchain node is accessed to the blockchain network if the fourth blockchain node passes authentication. Therefore, the data security in the data transmission process can be improved, and the data is prevented from being acquired by the foreground server which is not in compliance with the regulations.
The fourth blockchain node may be any one of N blockchain nodes corresponding to the N background servers, a target address may be configured for the fourth blockchain node in advance, the third blockchain node may locate the fourth blockchain node based on the target address, and send request information requesting to access the blockchain network and digital signature information to the fourth blockchain node.
In addition, the verifying the digital signature by the fourth blockchain node may be that after obtaining a decryption public key corresponding to the third blockchain node, the digital signature is decrypted, and then the decrypted digital signature and the signature information of the third blockchain node that is pre-configured are compared and verified.
Specifically, the verifying the digital signature by the fourth blockchain node in response to the request information may include:
the fourth blockchain node obtains a decryption public key of the third blockchain node;
decrypting the digital signature by the fourth blockchain node based on the decryption public key;
And confirming that the digital signature passes verification under the condition that the decrypted digital signature is matched with the pre-configured signature information.
Based on the above, the digital signature is decrypted by the decryption public key corresponding to the third blockchain node, and if the decrypted digital signature and the pre-configured signature information match, the digital signature verification is confirmed to pass. Thus, the access of the foreground server which is not in accordance with the regulations to the blockchain network through the blockchain link point can be avoided.
The pre-configured signature information may be signature information of a blockchain node that is pre-configured in the blockchain network to allow access, and may be considered to allow access to a third blockchain link point when the decrypted digital signature is identical to the pre-configured signature information.
Or the above-mentioned way that the foreground server reads the service data in the blockchain node may be that the service data required by the foreground server is preset, and when the data in the blockchain node in the blockchain network is changed or the data is newly added, the blockchain node actively transmits the changed data or the newly added data meeting the preset service data required by the foreground server to the foreground server.
It should be noted that, the data transmission method provided in the embodiment of the present application may implement data interaction between N background servers and the foreground server through a blockchain node in a blockchain network, but for a service with a relatively high real-time requirement of data in a service flow, the data transmission may also be implemented by connecting N background servers through a cross interface, and at the same time, service data generated by the N background servers are uploaded to blockchain nodes deployed in the N background servers, so that the blockchain network performs uplink processing on the service data, thereby avoiding delay data transmission and data loss.
To better describe the whole scheme, fig. 6 shows a system architecture diagram of a specific application scenario of a service processing system according to an embodiment of the present application.
As shown in fig. 6, the service processing system includes a blockchain layer (i.e., a blockchain network), a government and enterprise private line opening process (i.e., N background servers), and a government and enterprise service full life cycle management platform (i.e., a foreground server). Specifically:
the special government and enterprise line opening flow (namely N background servers): the flow system consists of four background service systems (namely four background servers) which are respectively used for cooperatively cooperating with a stone-ordering system (resource pre-coverage management system), an order system, comprehensive resources and an engineering construction management system (ENGINEERING CONSTRUCTION MANAGEMENT SYSTEM, ECMS) to finish closed-loop management of dozens of links such as resource coverage pre-investigation, order initiation, engineering construction, integrated quick opening and the like of government enterprise service points.
Blockchain layer (i.e., blockchain network): the block chain nodes (namely N block chain nodes in the block chain network) can be respectively deployed on four background service systems and the government enterprise service full life cycle management platform (namely a foreground server), the four background service systems can push end-to-end associated data required by the government enterprise service full life cycle management platform to the block chain nodes to be subjected to compliance checking and then to be uplink, and the four background service systems are synchronized through the block chain P2P network full life cycle management platform, and all the block chain nodes respectively store full data (namely service data generated by the four background servers).
Government enterprise business full life cycle management platform (i.e. foreground server): the system can directly collect the data required by the block data in the block chain node (third block chain node) deployed on the system server, and transmit the data to the service upper layer application to realize the functions of end-to-end ring node monitoring, link related data transverse and longitudinal analysis and the like of the opening flow of the special line of the government enterprise.
For the service processing system in the specific application scenario shown in fig. 6, fig. 7 is a schematic flow chart of the specific application scenario of the data transmission method according to an embodiment of the present application.
As shown in fig. 7, the method specifically comprises the following steps:
In step 701, the four background service systems transmit the generated service data to the corresponding blockchain nodes.
For example, (1) a point stone forming (i.e. a first background server) determines, through a resource pre-coverage survey function, that a group user named "K11 shopping art center" points as sample information (i.e. first business data):
group user point name: k11 shopping art center
Standard address: shenyang city and flat urban area exposition road 2A 1 Shenyang K11 shopping art center A seat 1 unit 1 building 1
Coordinates: 123.43776905303956 41.75073121248109
Resource coverage status: thick cover
Simultaneously generating a unique identification code (Universally Unique Identifier, UUID) for said information:
UUID:96b5affb-df8b-4936-9a34-17a2ef064bcc
The data is uniquely identified by a UUID to form a record that is stored in the blockchain node (i.e., the first blockchain node).
(2) According to the opening flow definition of the special line of the government and enterprise, the order system (namely the second background server) receives data generated by the stone-ordering and money-making through an interface and generates the following sample information (namely the second service data):
Special line type: data special line
Dedicated line bandwidth: 100M of
The access mode is as follows: packet transport network (Packet Transport Network, PTN)
The data are expressed in UUID:96b5affb-df8b-4936-9a34-17a2ef064bcc is a unique identifier (i.e., unique identification code) that forms a record that is stored in the data block of the blockchain node.
(3) According to the opening flow definition of the special line of the government and enterprise, the comprehensive resource system receives the data pushed by the order system through the interface, and generates the following sample information:
Opening a scheduling list number: 10006286
Charging number: 890058620899
The data takes UUID 96b5affb-df8b-4936-9a34-17a2ef064bcc as unique identification to form a record which is stored in a data block of the blockchain node
(4) If the point location is judged to be "no coverage" by the point stone diagenesis (resource pre-coverage management system), the ECMS receives data pushed by the point stone diagenesis through an interface according to the opening flow definition of the special line of the government and enterprise, and the following sample information is generated:
single engineering identity number (Identity Document, ID): 40023986280
Single engineering completion time: 2020-5-18
The data are expressed as UUID:96b5affb-df8b-4936-9a34-17a2ef064bcc
For unique identification, a record is formed for storage in the data block of the blockchain node.
In step 702, the blockchain network performs uplink processing on traffic data on four blockchain nodes.
Specifically, blockchain nodes deployed on four background business systems synchronize blockchain node data throughout the network.
In step 703, the blockchain node (i.e., the third blockchain node) of the foreground light application (i.e., the foreground server) requests access to the blockchain network from the node with authentication service function (i.e., the fourth blockchain node).
Specifically, the blockchain node deployed on the government enterprise business full life cycle management platform sends a digital signature (encrypted by a private key thereof) and an access blockchain network request to the node with the authentication service function by configuring a target IP address (target address).
Typically, a node with authentication service function (i.e. a fourth blockchain node) is deployed on a service system (i.e. a first background server) generating a unique identifier of data, and is deployed on a stone-ordering system.
Step 704, the node with authentication service function authenticates the access request using a digital signature mechanism.
Specifically, the blockchain node on the deployment point stone system decrypts and verifies the digital signature by the public key of the blockchain node deployed on the government enterprise business full life cycle management platform.
Step 705, if the authentication fails, refusing the foreground light application block link point access request. Specifically, the blockchain node on the deployment point stone system refuses the blockchain network access request of the blockchain node deployed on the government enterprise business full life cycle management platform.
If the verification is successful, the blockchain point of the foreground light application system accesses the blockchain network through the P2P protocol in step 706.
Specifically, a blockchain node on a government enterprise business full life cycle management platform accesses a blockchain network through a P2P protocol.
In step 707, the blockchain node (i.e., the third blockchain node) of the foreground light application synchronizes the full amount of data that is uplink.
Specifically: the block chain nodes on the government enterprise business full life cycle management platform synchronize full volume block data through the block chain network.
In step 708, the foreground light application system reads data from the data blocks of the blockchain node as needed (i.e., traffic data required by the foreground server is preset).
Specifically: and the government enterprise business full life cycle management platform reads and writes required data from the block link points according to business requirements.
For example, presenting a standard eleven-level address for the group user roll call K11 shopping mall, line bandwidth, billing number, and single project completion time, may be accomplished by a UUID attached to the K11 shopping mall: 96b5affb-df8b-4936-9a34-17a2ef064bcc, the acquisition data is as follows:
group user point name: k11 shopping art center
UUID:96b5affb-df8b-4936-9a34-17a2ef064bcc
Standard address: shenyang city and flat urban area exposition road 2A 1 Shenyang K11 shopping art center A seat 1 unit 1 building 1
Dedicated line bandwidth: 100M of
Charging number: 890058620899
Single engineering completion time: 2020-5-18
The data is presented through page formatting of the government enterprise business full life cycle management platform, and related data can be extracted through UUID (i.e. unique identification code) according to any one field or a plurality of fields to carry out data change and multidimensional analysis of a plurality of records.
For another example, when the user needs to enter data in the government enterprise business full life cycle management platform and transfer the data to the point stone diagenetic system, the group user point name is as follows: the point location of the K11 shopping art center is added with the current state value, and the state value can be calculated by: the renewed charge is attached to the UUID (i.e., unique identification code): 96b5affb-df8b-4936-9a34-17a2ef064bcc and stores the record to the data block by means of an application program interface (Application Program Interface, API) or by direct reading and writing of KV databases. After the block chain link point network is synchronized, the block chain nodes integrated by the stone-pointing and gold-forming system monitor that the block data are changed, find out the data record, and store the extracted state value into a relational database. (i.e., the traffic data of the first blockchain node is changed, the changed traffic data is actively transmitted to the first background server).
For another example, when a user needs to count a single project with PTN access that has been completed between 5 months and 6 months in 2019 on a government enterprise business full lifecycle management platform (i.e., a foreground server). Firstly, screening out a finished single project from 5 months to 6 months in 2019 from block data in a third block chain node; and then extracting UUIDs of all the screened single projects. And finally, searching all the data with PTN access modes through the extracted UUID.
Fig. 8 is a schematic structural diagram of a data transmission device according to an embodiment of the present application. As shown in fig. 8, a data transmission device 800 is applied to a service processing system, where the service processing system includes a blockchain network and N background servers, the blockchain network includes a plurality of blockchain nodes, the N background servers are servers for processing different services in a service flow, and the N background servers are respectively connected with N blockchain link points in the plurality of blockchain nodes in a one-to-one correspondence manner, and N is an integer greater than 1, where the device includes:
a first transmission module 801, configured to, when a first background server generates first service data, transmit the first service data to a first blockchain node connected to the first background server, where the first background server is any one of the N background servers;
A second transmission module 802, configured to transmit the first service data to a blockchain node other than the first blockchain node in the plurality of blockchain nodes by using the first blockchain node, and enable the blockchain network to perform uplink processing on the first service data;
And the third transmission module 803 is configured to transmit the first service data of the uplink to a second background server by using a second block link point, so that the second background server performs service processing based on the first service data, where the second block link point is a block link point connected to the second background server, and the second background server is configured to process a first service in the service flow, and the first service is a next service of the service processed by the first background server.
In the data transmission device provided by the embodiment of the application, under the condition that the first background server generates the first service data, the first background server transmits the first service data to the first block chain node connected with the first background server, and the block chain network performs uplink processing on the first service data; the second block link transmits the first service data which is uplink to the second background server, so that the second background server performs service processing based on the first service data. Therefore, the data transmission method can upload the service data generated by N background services to the corresponding blockchain nodes, and uplink all the service data through the blockchain network, so that the data loss in the server caused by the breakdown of any server can be avoided, and the traceability of the data in the collaborative service processing system is improved.
Optionally, the apparatus 800 further includes:
Transmitting the second service data to the second blockchain node by the second background server under the condition that the second background server generates the second service data;
the second blockchain link point transmits the second service data to blockchain nodes except the second blockchain node in the plurality of blockchain nodes, and enables the blockchain network to perform uplink processing on the second service data.
Based on the method, the second background server transmits the generated second service data to the second block chain node and performs uplink processing on the second service data by the block chain network, so that the loss of the second service data can be avoided, and the second service data can be prevented from being tampered and the like.
Optionally, the apparatus 800 further includes:
The foreground server sends a service data reading request to the third blockchain node, wherein the service data reading request carries indication information for indicating service data of the N background servers;
And the third block link point responds to the service data reading request and sends the service data indicated by the indication information to the foreground server.
Based on the method, the foreground server can access the blockchain network through the blockchain node deployed on the foreground server, and then can read data generated by N background service systems from the blockchain node, so that a data interface between the foreground server and the background server in the service processing system can be simplified, and the problem that the required data cannot be read due to the fact that the data is lost caused by the failure of the background server can be avoided.
Optionally, the apparatus 800 further includes:
the third blockchain node sends request information for requesting to access the blockchain network and a digital signature of the third blockchain node to a fourth blockchain link node, wherein the fourth blockchain node is a preset blockchain node with an authentication service function, the fourth blockchain node is any one of the N blockchain nodes, and the digital signature is used for indicating identity verification information of the third blockchain node;
and the fourth blockchain node responds to the request information, verifies the digital signature and accesses the third blockchain node to the blockchain network under the condition that the digital signature passes the verification.
Based on this, the third blockchain node sends request information requesting access to the blockchain network and a digital signature of the third blockchain node to the fourth blockchain node, and the third blockchain node is accessed to the blockchain network if the fourth blockchain node passes authentication. Therefore, the data security in the data transmission process can be improved, and the data is prevented from being acquired by the foreground server which is not in compliance with the regulations.
Optionally, the apparatus 800 further includes:
the fourth blockchain node obtains a decryption public key of the third blockchain node;
decrypting the digital signature by the fourth blockchain node based on the decryption public key;
And confirming that the digital signature passes verification under the condition that the decrypted digital signature is matched with the pre-configured signature information.
Based on the above, the digital signature is decrypted by the decryption public key corresponding to the third blockchain node, and if the decrypted digital signature and the pre-configured signature information match, the digital signature verification is confirmed to pass. Thus, the access of the foreground server which is not in accordance with the regulations to the blockchain network through the blockchain link point can be avoided.
Optionally, the apparatus 800 further includes:
Uploading the generated plurality of service data to the N blockchain nodes by the N background servers respectively, and sending a first request for acquiring the service data in the first blockchain node to the first blockchain link node by the first background server under the condition that the blockchain network carries out uplink processing on the plurality of service data, wherein the service data in the first blockchain node comprises the service data generated by the N background servers;
The first block link point transmits traffic data other than the first traffic data to the first background server in response to the first request.
Based on the above, the plurality of service data generated by the N background servers are subjected to uplink processing, so that the plurality of blockchain nodes comprise the plurality of service data, and then the N background servers can read the service data generated by other background servers, so that data interaction among the N background servers can be realized.
Optionally, the apparatus 800 further includes:
the first background server generates a unique identification code, and the unique identification code is used for identifying the business process;
the first background server sends the unique identification code to the first blockchain node;
The first blockchain node transmits the unique identification code to blockchain nodes of the plurality of blockchain nodes other than the first blockchain node to enable a plurality of business data of the plurality of blockchain nodes to correspond to the unique identification code.
Based on the method, the plurality of business data in the business process are stored in the plurality of blockchain nodes by taking the unique identification code as the identification, and the data needed in the blockchain nodes can be read based on the unique identification code, so that the method is more convenient and quick.
The data transmission device provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 4, and in order to avoid repetition, a description is omitted here.
Fig. 9 shows a schematic hardware structure of a data transmission device according to an embodiment of the present application.
A processor 901 may be included in a data transmission device as well as a memory 902 in which computer program instructions are stored.
In particular, the processor 901 may include a Central Processing Unit (CPU), or an Application SPECIFIC INTEGRATED Circuit (ASIC), or may be configured as one or more integrated circuits that implement embodiments of the present application.
Memory 902 may include mass storage for data or instructions. By way of example, and not limitation, memory 902 may comprise a hard disk drive (HARD DISK DRIVE, HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) drive, or a combination of two or more of the foregoing. The memory 902 may include removable or non-removable (or fixed) media, where appropriate. The memory 902 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 902 is a non-volatile solid state memory.
The memory may include Read Only Memory (ROM), random Access Memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical/tangible memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors) it is operable to perform the operations described with reference to a method in accordance with an aspect of the application.
The processor 901 implements any one of the data transmission methods of the above embodiments by reading and executing computer program instructions stored in the memory 902.
In one example, the data transmission device may also include a communication interface 903 and a bus 910. As shown in fig. 9, the processor 901, the memory 902, and the communication interface 903 are connected to each other via a bus 910, and communicate with each other.
The communication interface 903 is mainly used to implement communication between each module, device, unit, and/or apparatus in the embodiment of the present application.
Bus 910 includes hardware, software, or both that couple components of the data transfer device to each other. By way of example, and not limitation, the buses may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a micro channel architecture (MCa) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus, or a combination of two or more of the above. Bus 710 may include one or more buses, where appropriate. Although embodiments of the application have been described and illustrated with respect to a particular bus, the application contemplates any suitable bus or interconnect.
The data transmission device may perform the data transmission method according to the embodiment of the present application based on the block link points, thereby implementing the data transmission method and apparatus described in connection with fig. 4 and 8.
In addition, in combination with the data transmission method in the above embodiment, the embodiment of the present application may be implemented by providing a computer storage medium. The computer storage medium has stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the data transmission methods of the above embodiments.
It should be understood that the application is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. The method processes of the present application are not limited to the specific steps described and shown, but various changes, modifications and additions, or the order between steps may be made by those skilled in the art after appreciating the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. The present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
Aspects of the present application are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to being, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware which performs the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In the foregoing, only the specific embodiments of the present application are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present application is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present application, and they should be included in the scope of the present application.

Claims (8)

1. The data transmission method is characterized by being applied to a service processing system, wherein the service processing system comprises a blockchain network and N background servers, the blockchain network comprises a plurality of blockchain nodes, the N background servers are servers for processing different services in a service flow, the N background servers are respectively connected with N blockchain link points in the blockchain nodes in a one-to-one correspondence manner, and the N is an integer larger than 1, and the method comprises the following steps:
Under the condition that a first background server generates first service data, the first background server transmits the first service data to a first blockchain node connected with the first background server, wherein the first background server is any server in the N background servers;
The first blockchain link point transmits the first service data to blockchain nodes except the first blockchain node in the plurality of blockchain nodes, and enables the blockchain network to perform uplink processing on the first service data;
The second block chain link transmits the first service data of the uplink to a second background server so that the second background server performs service processing based on the first service data, wherein the second block chain node is a block chain node connected with the second background server, and the second background server is used for processing a first service in the service flow, and the first service is the next service of the service processed by the first background server;
the service processing system further includes a foreground server, the foreground server is connected with a third blockchain link point, the third blockchain node is a node except the N blockchain nodes in the plurality of blockchain nodes, and the method further includes:
The foreground server sends a service data reading request to the third blockchain node, wherein the service data reading request carries indication information for indicating service data of the N background servers;
the third block link point responds to the service data reading request and sends the service data indicated by the indication information to the foreground server;
before the foreground server sends a service data reading request to the third blockchain node, the method further comprises:
the third blockchain node sends request information for requesting to access the blockchain network and a digital signature of the third blockchain node to a fourth blockchain link node, wherein the fourth blockchain node is a preset blockchain node with an authentication service function, the fourth blockchain node is any one of the N blockchain nodes, and the digital signature is used for indicating identity verification information of the third blockchain node;
and the fourth blockchain node responds to the request information, verifies the digital signature and accesses the third blockchain node to the blockchain network under the condition that the digital signature passes the verification.
2. The data transmission method according to claim 1, wherein after the second block link transmits the first service data that is uplink to the second background server, the method further comprises:
Transmitting the second service data to the second blockchain node by the second background server under the condition that the second background server generates the second service data;
the second blockchain link point transmits the second service data to blockchain nodes except the second blockchain node in the plurality of blockchain nodes, and enables the blockchain network to perform uplink processing on the second service data.
3. The data transmission method of claim 1, wherein the fourth blockchain node verifying the digital signature in response to the request information comprises:
the fourth blockchain node obtains a decryption public key of the third blockchain node;
decrypting the digital signature by the fourth blockchain node based on the decryption public key;
And confirming that the digital signature passes verification under the condition that the decrypted digital signature is matched with the pre-configured signature information.
4. The data transmission method according to claim 1, characterized in that the method further comprises:
Uploading the generated plurality of service data to the N blockchain nodes by the N background servers respectively, and sending a first request for acquiring the service data in the first blockchain node to the first blockchain link node by the first background server under the condition that the blockchain network carries out uplink processing on the plurality of service data, wherein the service data in the first blockchain node comprises the service data generated by the N background servers;
The first block link point transmits traffic data other than the first traffic data to the first background server in response to the first request.
5. The data transmission method according to claim 1, characterized in that the method further comprises:
the first background server generates a unique identification code, and the unique identification code is used for identifying the business process;
the first background server sends the unique identification code to the first blockchain node;
The first blockchain node transmits the unique identification code to blockchain nodes of the plurality of blockchain nodes other than the first blockchain node to enable a plurality of business data of the plurality of blockchain nodes to correspond to the unique identification code.
6. The utility model provides a data transmission device, its characterized in that is applied to business processing system, business processing system includes blockchain network and N backstage server, the blockchain network includes a plurality of blockchain nodes, N backstage server is the server of handling different business in the business process, and N backstage server respectively with the N blockchain link point one-to-one connection in a plurality of blockchain nodes, N is the integer greater than 1, the device includes:
The first transmission module is used for transmitting the first service data to a first blockchain node connected with a first background server under the condition that the first background server generates the first service data, wherein the first background server is any one of the N background servers;
the second transmission module is used for transmitting the first service data to a blockchain node except the first blockchain node in the plurality of blockchain nodes by the first blockchain link point, and enabling the blockchain network to perform uplink processing on the first service data;
The third transmission module is used for transmitting the first service data which is uplink to the second background server by the second block chain link point so that the second background server performs service processing based on the first service data, wherein the second block chain node is a block chain node connected with the second background server, and the second background server is used for processing a first service in the service flow, and the first service is the next service of the service processed by the first background server;
the service processing system further includes a foreground server, the foreground server is connected with a third blockchain link point, the third blockchain node is a node except the N blockchain nodes in the plurality of blockchain nodes, and the apparatus further includes:
a first sending module, configured to send, by the foreground server, a service data reading request to the third blockchain node, where the service data reading request carries indication information for indicating service data of the N background servers;
The second sending module is used for responding to the service data reading request by the third block link point and sending the service data indicated by the indication information to the foreground server;
before the foreground server sends a service data reading request to the third blockchain node, the method further comprises:
A third sending module, configured to send, to a fourth blockchain node, request information for requesting to access the blockchain network and a digital signature of the third blockchain node, where the fourth blockchain node is a preset blockchain node having an authentication service function, and the fourth blockchain node is any one of the N blockchain nodes, and the digital signature is used to indicate authentication information of the third blockchain node;
And the verification module is used for responding to the request information by the fourth blockchain node, verifying the digital signature and accessing the third blockchain node to the blockchain network under the condition that the verification is passed.
7. A data transmission apparatus, the apparatus comprising: a processor and a memory storing computer program instructions;
The processor, when executing the computer program instructions, implements a data transmission method as claimed in any one of claims 1-5.
8. A computer storage medium having stored thereon computer program instructions which, when executed by a processor, implement the data transmission method of any of claims 1-5.
CN202110480859.7A 2021-04-30 2021-04-30 Data transmission method, device, equipment and computer storage medium Active CN115277686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110480859.7A CN115277686B (en) 2021-04-30 2021-04-30 Data transmission method, device, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110480859.7A CN115277686B (en) 2021-04-30 2021-04-30 Data transmission method, device, equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN115277686A CN115277686A (en) 2022-11-01
CN115277686B true CN115277686B (en) 2024-04-19

Family

ID=83745574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110480859.7A Active CN115277686B (en) 2021-04-30 2021-04-30 Data transmission method, device, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN115277686B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234457A (en) * 2017-12-18 2018-06-29 苏州涞泽信息科技有限公司 A kind of credible government data based on block chain shares network system and sharing method
CN109284633A (en) * 2018-10-30 2019-01-29 众安信息技术服务有限公司 Data processing method and data processing equipment for block chain network system
CN110263585A (en) * 2019-06-26 2019-09-20 腾讯科技(深圳)有限公司 Test monitoring and managing method, device, equipment and storage medium
WO2020032937A1 (en) * 2018-08-07 2020-02-13 Cisco Technology, Inc. System and method for accessing a data repository
CN111369338A (en) * 2020-02-28 2020-07-03 腾讯科技(深圳)有限公司 Data processing method and device based on block chain
CN111429254A (en) * 2020-03-19 2020-07-17 腾讯科技(深圳)有限公司 Business data processing method and device and readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RO134065A0 (en) * 2019-08-14 2020-04-30 Ingenium Blockchain Technologies S.R.L. Platform and method for connecting a blockchain engine

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234457A (en) * 2017-12-18 2018-06-29 苏州涞泽信息科技有限公司 A kind of credible government data based on block chain shares network system and sharing method
WO2020032937A1 (en) * 2018-08-07 2020-02-13 Cisco Technology, Inc. System and method for accessing a data repository
CN109284633A (en) * 2018-10-30 2019-01-29 众安信息技术服务有限公司 Data processing method and data processing equipment for block chain network system
CN110263585A (en) * 2019-06-26 2019-09-20 腾讯科技(深圳)有限公司 Test monitoring and managing method, device, equipment and storage medium
CN111369338A (en) * 2020-02-28 2020-07-03 腾讯科技(深圳)有限公司 Data processing method and device based on block chain
CN111429254A (en) * 2020-03-19 2020-07-17 腾讯科技(深圳)有限公司 Business data processing method and device and readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于区块链3.0架构的身份认证系统;李嶒;;宿州学院学报(11);全文 *
基于命名数据网络的区块链信息传输机制;刘江;霍如;李诚成;邹贵今;黄韬;刘韵洁;;通信学报(01);全文 *

Also Published As

Publication number Publication date
CN115277686A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN106549933B (en) Data transmission system and method of block chain
CN110489486B (en) Method, seed node and medium for generating block chain network
CN111523150B (en) Document editing method, device and system based on block chain
CN111381962B (en) Edge service migration method and device
CN105933374B (en) A kind of mobile terminal data backup method, system and mobile terminal
CN109299333B (en) Block chain network account book member management method, device, equipment and storage medium
CN113055176B (en) Terminal authentication method and system, terminal device, P2P verification platform and medium
CN108710681A (en) File acquisition method, device, equipment and storage medium
CN114090983A (en) Heterogeneous federated learning platform communication method and device
CN111291008A (en) Data processing method, device, system, electronic equipment and computer storage medium
CN110933112A (en) Network access authentication method, device and storage medium
CN106339623B (en) Login method and device
CN111866993B (en) Wireless local area network connection management method, device, software program and storage medium
CN115277686B (en) Data transmission method, device, equipment and computer storage medium
CN116319088B (en) Method for monitoring route node state and collecting information of Internet of things
CN112769854A (en) Security protocol authentication method and system supporting multiple kinds of digital identity information
CN111865983A (en) Block chain-based data security tracing method
CN115955358B (en) Data stream transmission system based on point-to-point communication
CN109327475B (en) Multi-layer identity authentication method, device, equipment and storage medium
CN112235290A (en) Block chain-based Internet of things equipment management method and first Internet of things equipment
CN115296826B (en) Multilateral common-pipe multi-identification space-ground integrated intelligent network-connected automobile high-safety special network system
US20140279887A1 (en) Virtual storage gate system
CN114155000A (en) Traceable concrete quality management system based on block chain
CN116186786A (en) Block chain-based service processing method and device, electronic equipment and readable medium
CN115002145B (en) Vehicle information sharing system and method based on block chain

Legal Events

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