WO2021239105A1 - Data pushing method, apparatus, device, and system - Google Patents

Data pushing method, apparatus, device, and system Download PDF

Info

Publication number
WO2021239105A1
WO2021239105A1 PCT/CN2021/096729 CN2021096729W WO2021239105A1 WO 2021239105 A1 WO2021239105 A1 WO 2021239105A1 CN 2021096729 W CN2021096729 W CN 2021096729W WO 2021239105 A1 WO2021239105 A1 WO 2021239105A1
Authority
WO
WIPO (PCT)
Prior art keywords
blockchain
business data
information
data
logistics platform
Prior art date
Application number
PCT/CN2021/096729
Other languages
French (fr)
Chinese (zh)
Inventor
曲正云
朱永春
陈锐发
张文强
杨振宇
刘屹东
Original Assignee
支付宝(杭州)信息技术有限公司
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 支付宝(杭州)信息技术有限公司 filed Critical 支付宝(杭州)信息技术有限公司
Publication of WO2021239105A1 publication Critical patent/WO2021239105A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0838Historical data

Definitions

  • Data is one of the basic factors for effective operation of an enterprise.
  • an enterprise In order to achieve effective maintenance of data, an enterprise is usually equipped with a centralized data management system.
  • this centralized data management system not only has the risk of data loss, but it is also difficult to interconnect data between different enterprises, thus forming data islands, which is not conducive to mining the potential value of data.
  • the purpose of the embodiments of this specification is to provide a data push method, which is applied to a first blockchain node connected to the first blockchain, including: receiving a business data push request sent by a logistics platform.
  • the service data push request includes the service data to be pushed.
  • the business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation.
  • the waybill is generated by the logistics platform based on the consignment request of the shipper.
  • Invoke the first smart contract in the first blockchain Based on the first smart contract, according to the operation information of the logistics platform stored in the first blockchain, it is determined whether the business data conforms to the preset push to the second blockchain corresponding to the resource management agency condition.
  • the embodiment of this specification provides a data push device, which is applied to a first blockchain node connected to the first blockchain, and includes: a receiving module that receives a business data push request sent by a logistics platform.
  • the service data push request includes the service data to be pushed.
  • the business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation.
  • the waybill is generated by the logistics platform based on the consignment request of the shipper.
  • the device also includes a first determining module, which invokes the first smart contract in the first blockchain.
  • the embodiment of this specification provides a data push device, which is applied to a first blockchain node connected to the first blockchain, and includes: a receiving module that receives a business data push request sent by a logistics platform.
  • the service data push request includes the service data to be pushed.
  • the business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation.
  • the waybill is generated by the logistics platform based on the consignment request of the shipper.
  • the device also includes a determination module, which invokes the first smart contract in the first blockchain.
  • the embodiment of this specification provides a data push system, including: a logistics platform, a first blockchain, and a second blockchain corresponding to a resource management institution.
  • the logistics platform generates a waybill based on the consignment request of the shipper. And, generating business data to be pushed based on the relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation.
  • a business data push request is generated.
  • the first blockchain node connected to the first blockchain receives the service data push request sent by the logistics platform. Invoke the first smart contract in the first blockchain.
  • the operational information of the logistics platform stored in the first blockchain it is determined whether the business data meets the pre-determined push to the second blockchain corresponding to the resource management institution. Set the push conditions. If so, push the business data to the second blockchain node in the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain.
  • the second blockchain node connected to the second blockchain saves the business data in the second blockchain. Invoke the second smart contract in the second blockchain. Perform resource collection processing according to the business data based on the second smart contract.
  • the embodiment of this specification provides a data push system, including: a logistics platform, a first blockchain, a resource management institution, and a second blockchain.
  • the logistics platform generates a waybill based on the consignment request of the shipper. And, generating business data to be pushed based on the relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation.
  • a business data push request is generated.
  • the first blockchain node connected to the first blockchain receives the service data push request sent by the logistics platform. Invoke the first smart contract in the first blockchain.
  • the operational information of the logistics platform stored in the first blockchain it is determined whether the business data meets the pre-determined push to the second blockchain corresponding to the resource management institution. Set the push conditions. If yes, push the business data to the resource management agency.
  • the resource management institution receives the business data pushed by the first blockchain node.
  • the business data is stored in the second blockchain, and resource collection processing is performed based on the business data.
  • the embodiment of the present specification provides a data push device including a processor and a memory arranged to store computer-executable instructions.
  • the processor receives the business data push request sent by the logistics platform.
  • the service data push request includes the service data to be pushed.
  • the business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation.
  • the waybill is generated by the logistics platform based on the consignment request of the shipper. Invoke the first smart contract in the first blockchain.
  • the business data conforms to the preset push to the second blockchain corresponding to the resource management agency condition. If so, push the business data to the second blockchain node in the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain. So that the second blockchain node saves the business data in the second blockchain, and performs resource collection processing based on the business data based on the second smart contract in the second blockchain.
  • the embodiment of the present specification provides a data push device including a processor and a memory arranged to store computer-executable instructions.
  • the processor receives the business data push request sent by the logistics platform.
  • the service data push request includes the service data to be pushed.
  • the business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation.
  • the waybill is generated by the logistics platform based on the consignment request of the shipper. Invoke the first smart contract in the first blockchain.
  • the business data conforms to the preset push to the second blockchain corresponding to the resource management agency condition. If yes, push the business data to the resource management agency. In order to enable the resource management agency to save the business data in the second blockchain, and enable the resource management agency to perform resource collection processing based on the business data.
  • the embodiments of this specification provide a storage medium for storing computer-executable instructions.
  • the computer executable instructions When executed by the processor, they receive a business data push request sent by the logistics platform.
  • the service data push request includes the service data to be pushed.
  • the business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation.
  • the waybill is generated by the logistics platform based on the consignment request of the shipper.
  • Invoke the first smart contract in the first blockchain Based on the first smart contract, according to the operation information of the logistics platform stored in the first blockchain, it is determined whether the business data conforms to the preset push to the second blockchain corresponding to the resource management agency condition.
  • the embodiments of this specification provide a storage medium for storing computer-executable instructions.
  • the computer executable instructions When executed by the processor, they receive a business data push request sent by the logistics platform.
  • the service data push request includes the service data to be pushed.
  • the business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation.
  • the waybill is generated by the logistics platform based on the consignment request of the shipper.
  • Invoke the first smart contract in the first blockchain Based on the first smart contract, according to the operation information of the logistics platform stored in the first blockchain, it is determined whether the business data conforms to the preset push to the second blockchain corresponding to the resource management agency condition. If yes, push the business data to the resource management agency. In order to enable the resource management agency to save the business data in the second blockchain, and enable the resource management agency to perform resource collection processing based on the business data.
  • FIG. 2 is a schematic diagram of the first flow of a data push method provided by an embodiment of this specification
  • FIG. 3 is a schematic diagram of the second flow of a data push method provided by an embodiment of this specification.
  • FIG. 5 is a schematic diagram of a fourth flow of a data pushing method provided by an embodiment of this specification.
  • FIG. 7 is a schematic diagram of a sixth flow of a data pushing method provided by an embodiment of this specification.
  • FIG. 9 is a schematic diagram of the seventh flow of a data pushing method provided by an embodiment of this specification.
  • FIG. 10 is a schematic diagram of the eighth flow of a data pushing method provided by an embodiment of this specification.
  • FIG. 11 is a schematic diagram of the first module composition of a data push device provided by an embodiment of this specification.
  • FIG. 12 is a schematic diagram of the composition of a second type of module of a cross-data pushing device provided by an embodiment of this specification.
  • FIG. 13 is a schematic diagram of the first composition of a data push system provided by an embodiment of this specification.
  • FIG. 14 is a schematic diagram of the second composition of a data push system provided by an embodiment of this specification.
  • Figure 1 is a schematic diagram of an application scenario of a data push method provided by an embodiment of this specification.
  • the scenario includes: a logistics platform, a first blockchain node connected to the first blockchain, and a first blockchain node connected to the first blockchain.
  • the operation information of the logistics platform is stored in the first blockchain.
  • the resource management organization has deployed node equipment, which is connected to the second blockchain, which is the second blockchain node; that is, the resource management organization acts as a node connected to the second blockchain and performs on-chain operations. Relevant management operations of the resource, and save the relevant information of the resource management operation in the second blockchain.
  • the second block chain node saves the received business data in the second block chain, and sends the reception success message to the first block chain node, so that the first block chain node sends the push success message to the logistics platform; And, the second block chain node invokes the second smart contract in the second block chain, and performs resource collection processing according to the business data based on the second smart contract.
  • the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
  • Fig. 2 is a schematic flowchart of a data push method provided by an embodiment of this specification.
  • the method in Fig. 2 can be executed by the first blockchain node in Fig. 1. As shown in Fig.
  • the method includes the following steps: S102: Receive a business data push request sent by the logistics platform, where the business data push request includes business data to be pushed, and the business data is related information of the logistics platform based on at least one waybill that is in a transportation termination state and the shipper does not provide resources required for transportation
  • the waybill is generated by the logistics platform based on the shipper’s consignment request; specifically, the logistics platform receives the consignment request sent by the shipper, generates the consignment note based on the consignment information in the consignment request, and determines the carrier of the consignment note.
  • the consignment information includes The cargo information, departure location information, delivery location information, etc. of the cargo to be consigned.
  • Step S104 Invoke the first smart contract in the first blockchain, and based on the first smart contract, determine whether the business data conforms to the second area corresponding to the resource management agency according to the operation information of the logistics platform stored in the first blockchain
  • the preset push conditions for the blockchain to push includes the logistics information of each waybill of the logistics platform, the credit information of the logistics platform, the push record information of the pushed business data, and the white list record information of the whitelisted users.
  • Logistics information includes the departure location information, departure time information, delivery location information, delivery time information of the waybill, user information of the carrier (such as name, mobile phone number, etc.), identification information of the means of transportation (such as license plate number), etc.;
  • the information includes the number of credits, the start time of the credit, and the expiration time of the credit, etc.
  • Whitelisted users are users determined by the resource management agency based on the user information of the candidate whitelisted users sent by the logistics platform after the credit evaluation process.
  • Step S106 if yes, push the business data to the second blockchain node in the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain, so that the second blockchain
  • the node saves the business data in the second blockchain, and performs resource collection and processing according to the business data based on the second smart contract in the second blockchain.
  • the business data is billing data
  • the first identification information included in the business data is billing identification information
  • the transportation required resources not provided by the shipper are shipping costs
  • each shipping fee in the billing data is the receivable of the logistics platform Accounts
  • the logistics platform pushes the accounts receivable of the logistics platform to the second blockchain node through the first blockchain node, so that the second blockchain node can perform financing processing, so that the freight platform can get a certain amount of financing payment.
  • the first blockchain node when the first blockchain node receives the business data push request sent by the logistics platform, if it is determined that the business data to be pushed meets the preset push conditions according to the operational information of the logistics platform stored in the first blockchain , The business data is pushed to the second blockchain node of the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain, so that the second blockchain node saves the business data to In the second blockchain, resource collection processing is performed.
  • the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; further, the cross-chain transmission of data not only breaks the data
  • the isolated island realizes the interconnection and intercommunication of data, and can maximize the utilization of the business data of the logistics platform, so as to fully realize the value of the data.
  • the first preset condition includes one or more of the following: the shipper is a whitelisted user, and the status of the business data is valid; step S1044, if yes, then It is determined that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution.
  • step S1042 based on the first smart contract and based on the operation information of the logistics platform stored in the first blockchain, determining that the shipper is a whitelisted user includes: determining based on the first smart contract according to the business data The first digital identity information of the shipper and the second digital identity of the logistics platform included are the associated whitelist record information queried from the first blockchain; if so, it is determined that the shipper is a whitelist user.
  • the whitelist record information is the information generated when the first blockchain node receives the user information of the whitelisted user sent by the second blockchain node; specifically, the logistics platform determines the candidate based on the historical waybill situation of each shipper Whitelist users, and send the user information of the candidate whitelist users to the second blockchain node; the second blockchain node performs credit evaluation on each candidate whitelist user according to the preset evaluation mechanism to determine the final whitelist User, and send the user information of the determined whitelist user to the first blockchain node; the first blockchain node generates whitelist record information according to the received user information of the whitelist user, and saves the whitelist record information to In the first blockchain.
  • step S1042 based on the first smart contract, determining that the status of the business data is valid according to the operation information of the logistics platform stored in the first blockchain includes: based on the first smart contract according to the first zone The operation information of the logistics platform stored in the blockchain determines whether the business data meets the second preset condition; if so, it is determined that the status of the business data is valid.
  • the second preset condition includes one or more of the following: based on the first smart contract according to the first identification information included in the business data, the associated resource transfer success information is not queried from the first blockchain, and the resource transfer success information In order to confirm that the shipper provides the information saved when the resource required for transportation is provided; based on the first smart contract according to the first identification information included in the business data, the associated push record information is not queried from the first blockchain, and the push record information is Determine the information generated when the business data push is successful; based on the first smart contract, query the associated credit record information from the first blockchain according to the second digital identity information of the freight platform included in the business information, and obtain credit from the credit record information Expiration time, and determine that the data expiration time included in the business data is within the obtained credit expiration time, and the credit record information is the information generated by the first blockchain node based on the credit result information sent by the second blockchain node, The credit result information is the information generated after the credit processing of the second blockchain node based on the credit request of the logistics platform is
  • step S104 includes the following steps S104-2 to S104-10: step S104-2, Call the first smart contract in the first blockchain to determine whether the first digital identity information of the shipper and the second digital identity of the logistics platform included in the business data based on the first smart contract can be queried from the first blockchain If the associated whitelist record information is yes, then perform step S104-4, otherwise send request failure information to the logistics platform; step S104-4, determine based on the first smart contract according to the first identification information included in the business data from the first blockchain If the associated resource transfer success information is queried, if yes, perform step S104-6, otherwise, send request failure information to the logistics platform; step S104-6, determine whether the first identification information included in the business data is based on the first smart contract from the first Whether the associated push record information is queried in the blockchain, step S104-8 is executed, otherwise, the request failure information is sent to the logistics platform; step S104
  • the digital identity information queries the associated credit record information from the first blockchain; step S104-10, obtains the credit expiration time from the queried credit record information, and determines whether the data expiration time included in the business data is being obtained If it is within the credit expiration time, it is determined that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution; otherwise, the request failure information is sent to the logistics platform.
  • step S104-2 to step S104-10 is not limited to the aforementioned order, and can be interchanged with each other.
  • the trouble caused by factors such as the shipper’s credit difference is avoided.
  • the resource transfer success information is queried, it is determined whether the shipper has provided the resources required for transportation of the corresponding waybill. Only when the shipper does not provide the resources required for transportation, the second blockchain node can perform resources based on business data Collection and processing. By determining whether the push record information is queried, the repeated push of business data is avoided.
  • step S104 determines the pass rate of at least one waybill associated with the business data; specifically, as shown in FIG. 6, step S105-2 includes: step S105-22, according to the business data including The identification information of the waybill is to query the associated waybill verification record information from the first blockchain.
  • the information generated is a third party such as a freight trajectory supervisory agency; specifically, a positioning device is installed in the carrier's transportation means, which collects the position information of the transportation means in real time, and sends the collected position information to the freight trajectory supervisory mechanism.
  • the logistics platform receives the logistics information at each stage of the waybill sent by the shipper and/or the carrier, and sends the logistics information to the first blockchain node so that the first blockchain node saves the logistics information in the first area In the block chain; when the first block chain node determines that the waybill is in the transportation termination state according to the received logistics information, obtains the location information of the corresponding transportation means from the freight trajectory supervision agency, and combines the obtained location information with the stored logistics information If the matching is successful, the waybill verification record information is generated based on the first status information that has passed the verification and the waybill identification information, and if the matching fails, the waybill verification record information is generated based on the second state information and the waybill identification that have not passed the verification.
  • the verification method of the waybill is not limited to the above methods, which can be set according to the needs in the actual application.
  • Step S105-24 Determine the first quantity of the waybill passed the verification process according to the waybill verification record information; specifically, obtain the status information from the waybill record information, and count the status information as the quantity of the first status information, and the counted quantity Determined as the first quantity of the waybill passed through the verification process.
  • the first quantity is divided by the second quantity, and the result of the calculation is determined as the pass rate of the waybill.
  • Step S105-4 store the business data and the determined pass rate in the first blockchain; corresponding to step S105-2 and step S105-4, step S106 includes the following step S106-4: step S106-4, Based on the cross-chain transmission channel of the first block chain and the second block chain, the business data and pass rate are pushed to the second block chain node in the second block chain, so that the second block chain node can transfer the business
  • step S106-4 Based on the cross-chain transmission channel of the first block chain and the second block chain, the business data and pass rate are pushed to the second block chain node in the second block chain, so that the second block chain node can transfer the business
  • the data and the pass rate are stored in the second blockchain, and resource collection and processing are performed based on the business data based on the second smart contract in the second blockchain.
  • Step S112 Send push success information to the logistics platform.
  • the shipper When the shipper provides the resources required for transportation, the shipper sends a resource transfer request to the second blockchain node, and the second blockchain node performs resource transfer processing according to the resource transfer request, that is, from the resource account of the shipper to the resources of the logistics platform Resources required for account transfer and transportation.
  • the second blockchain node In order to enable the first blockchain node to determine whether the business data meets the preset pushing conditions based on the result of the resource transfer when the subsequent business data is pushed, the second blockchain node sends the processing result information of the resource transfer processing to the first area Block chain node.
  • the method may further include: receiving the resource transfer success information sent by the resource management institution based on the cross-chain transmission channel, and storing the received resource transfer success information in association with the first identification information in the service data To the first blockchain.
  • the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
  • the resource management agency acts as the second blockchain node of the second blockchain and performs processing such as resource collection on the chain based on the received business data.
  • the resource management agency as the second blockchain node of the second blockchain, can also perform processing such as resource collection under the chain when receiving business data, and save the processing result information to the second blockchain.
  • the resource management institution may not be a node in the second blockchain.
  • the application scenarios of the data push method include: logistics platform, resource management institution, access The first blockchain node of the first blockchain, and the second blockchain node connected to the second blockchain.
  • FIG. 9 is a schematic flowchart of another data push method provided by an embodiment of this specification.
  • the method in FIG. 9 can be executed by the first blockchain node in FIG. 8.
  • the method includes the following steps: Step S202: Receive a business data push request sent by the logistics platform.
  • the business data push request includes the business data to be pushed.
  • the business data is related to the logistics platform based on at least one waybill that is in a transportation terminated state and the shipper has not provided the resources required for transportation.
  • step S204 call the first smart contract in the first blockchain, and save it in the first blockchain based on the first smart contract To determine whether the business data meets the preset push conditions for pushing to the second blockchain corresponding to the resource management agency; step S206, if yes, push the business data to the resource management agency to enable resource management
  • the organization saves the business data in the second blockchain and enables the resource management organization to collect and process resources based on the business data.
  • step S202 to step S204 is similar to the implementation process of step S102 to step S104, which can be referred to the foregoing related description; the difference is that the first blockchain node performs data interaction with the resource management structure, that is, the resource management organization will The user information and credit result information of the whitelisted users are sent to the first blockchain node. And, when the resource management institution receives the business data, it sends the business data to the second blockchain node, so that the second blockchain node saves the business data in the second blockchain.
  • step S206 when the resource management institution receives the business data, it sends the reception success message to the first blockchain node.
  • step S206 it further includes: step S208, receiving the information sent by the resource management institution Step S210, generate push success record information based on the business data, and save the push success record information in the first blockchain; Step S212, send push success information to the logistics platform.
  • the first blockchain node when the first blockchain node receives the business data push request sent by the logistics platform, if it is determined that the business data to be pushed meets the preset push conditions according to the operational information of the logistics platform stored in the first blockchain , Then push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain, and performs resource collection and processing based on the business data.
  • the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; and the resource management agency acts as a transit to realize the cross-chain transmission of data And interconnection, effectively breaking the data island, can maximize the use of logistics platform business data, so as to fully realize the value of data.
  • FIG. 11 is a schematic diagram of the module composition of a data push device provided by an embodiment of this specification. The device is used to execute the data push method described in FIG. 2 to FIG. 7. As shown in FIG.
  • the device includes: a receiving module 301 that receives A business data push request sent by a logistics platform, the business data push request includes business data to be pushed, and the business data is based on the logistics platform at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation
  • the waybill is generated by the logistics platform based on the shipper’s consignment request;
  • the first determining module 302 calls the first smart contract in the first blockchain, based on the first A smart contract determines whether the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution according to the operational information of the logistics platform stored in the first blockchain; push module 303.
  • the data push device When the data push device provided in the embodiment of this specification receives a business data push request sent by a logistics platform, if it is determined that the business data to be pushed meets the preset pushing conditions according to the operational information of the logistics platform stored in the first blockchain, then Push the business data to the second blockchain node of the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain, so that the second blockchain node can save the business data to the second blockchain.
  • resource collection and processing are performed.
  • the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
  • the first determining module 302 determines whether the business data meets a first preset condition based on the first smart contract and the operation information of the logistics platform stored in the first blockchain ,
  • the first preset condition includes one or more of the following: the shipper is a whitelisted user, and the status of the business data is valid; if so, it is determined that the business data meets the requirements corresponding to the resource management agency The preset pushing conditions for pushing on the second blockchain.
  • the business data includes: the first data identity information of the shipper and the second digital identity information of the logistics platform; the first determination module 302 determines that the first smart contract is based on the Whether the first digital identity information and the second digital identity query the associated whitelist record information from the first blockchain, the whitelist record information is received from the second blockchain node The information generated when the user information of the whitelisted user is whitelisted; the whitelisted user is determined by the second blockchain node based on the user information of the candidate whitelisted user sent by the logistics platform after the credit evaluation process User; if yes, it is determined that the shipper is a whitelisted user.
  • the service data includes: first identification information, expiration time information, and second digital identity information of the logistics platform; the first determination module 302, based on the first smart contract, according to the first The operation information of the logistics platform stored in a blockchain determines whether the business data meets a second preset condition, and the second preset condition includes one or more of the following: based on the first The smart contract does not find the associated resource transfer success information from the first blockchain based on the first identification information, and the resource transfer success information is used when determining that the shipper provides the resources required for transportation.
  • the device further includes a second determining module; the second determining module determines in the first determining module 302 that the business data conforms to the preset of pushing to the second blockchain corresponding to the resource management institution After pushing the conditions, determine the pass rate of at least one of the waybills associated with the service data; and store the service data and the pass rate in association with the first blockchain; correspondingly, the The pushing module 303 pushes the business data and the pass rate to the second blockchain node in the second blockchain.
  • the business data includes: at least one waybill identification information of the waybill; the second determining module queries the associated waybill verification record information from the first blockchain according to the waybill identification information,
  • the waybill verification record information is information generated after the validity of the waybill is verified based on the shipping data provided by a third party when it is determined that the corresponding waybill is in the transportation termination state; and, according to the waybill verification record information, The first quantity of the waybill passed through the verification process is determined; and the pass rate of the waybill is calculated according to the first quantity and the second quantity of the waybill associated with the business data.
  • the device further includes: a generating module and a first sending module; the receiving module 301 pushes the business data to the second block in the second blockchain in the pushing module 303 After the chain node, the receiving success information sent by the second blockchain node is received based on the cross-chain transmission channel; the generating module generates push success record information based on the business data; and saves the push success record information To the first blockchain; the first sending module sends push success information to the logistics platform.
  • a generating module and a first sending module the receiving module 301 pushes the business data to the second block in the second blockchain in the pushing module 303 After the chain node, the receiving success information sent by the second blockchain node is received based on the cross-chain transmission channel; the generating module generates push success record information based on the business data; and saves the push success record information To the first blockchain; the first sending module sends push success information to the logistics platform.
  • the device further includes a saving module; after the pushing module 303 pushes the business data to the second blockchain node in the second blockchain, the receiving module 301 is based on the The cross-chain transmission channel receives the resource transfer success information sent by the second blockchain node, and the resource transfer success information is sent based on the resource transfer process of transferring the resources required for transportation from the consignment to the logistics platform; The storage module associates and saves the resource transfer success information and the first identification information in the service data in the first blockchain.
  • the device further includes: a second sending module; the second sending module, if the first determining module 302 determines that the service data does not comply with the push to the second blockchain corresponding to the resource management institution If the preset push condition is set, the request failure information is sent to the logistics platform.
  • the data push device When the data push device provided in the embodiment of this specification receives a business data push request sent by a logistics platform, if it is determined that the business data to be pushed meets the preset pushing conditions according to the operational information of the logistics platform stored in the first blockchain, then Push the business data to the second blockchain node of the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain, so that the second blockchain node can save the business data to the second blockchain.
  • resource collection and processing are performed.
  • the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
  • FIG. 12 is a schematic diagram of the module composition of another data pushing device provided by an embodiment of this specification. The device is used to execute the data pushing method described in FIG. 9 and FIG. 10. As shown in FIG. 12
  • the device includes: a receiving module 401, Receive a business data push request sent by a logistics platform, where the business data push request includes business data to be pushed, and the business data is based on at least one of the logistics platform’s data being in a transportation termination state and the shipper has not provided the resources required for transportation
  • the relevant information of the waybill is generated; the waybill is generated by the logistics platform based on the consignment request of the shipper;
  • the first determining module 402 calls the first smart contract in the first blockchain, based on the The first smart contract determines whether the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution according to the operation information of the logistics platform stored in the first blockchain; Module 403, if the determination result of the determining module is yes, push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain , And enable the resource management agency to perform resource collection processing based on the business data.
  • the data push device When the data push device provided in the embodiment of this specification receives a business data push request sent by a logistics platform, if it is determined that the business data to be pushed meets the preset pushing conditions according to the operational information of the logistics platform stored in the first blockchain, then Push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain, and performs resource collection and processing based on the business data.
  • the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; and the resource management agency acts as a transit to realize the cross-chain transmission of data And interconnection, effectively breaking the data island, can maximize the use of logistics platform business data, so as to fully realize the value of data.
  • the first determining module 402 determines whether the business data meets a first preset condition according to the operation information of the logistics platform stored in the first blockchain ,
  • the first preset condition includes one or more of the following: the shipper is a whitelisted user, and the status of the business data is valid; if so, it is determined that the business data meets the requirements corresponding to the resource management agency The preset pushing conditions for pushing on the second blockchain.
  • the business data includes: the first data identity information of the shipper and the second digital identity information of the logistics platform; the first determination module 402 determines that the first smart contract is based on the Whether the first digital identity information and the second digital identity query the associated whitelist record information from the first blockchain, the whitelist record information is the whitelist sent by the resource management agency The information generated when the user's user information is generated; the whitelisted user is the user determined by the resource management agency based on the user information of the candidate whitelisted user sent by the logistics platform after the credit evaluation process; if it is, it is determined The shipper is a whitelisted user.
  • the service data includes: first identification information, expiration time information, and second digital identity information of the logistics platform; the first determination module 402 is based on the first smart contract and according to the first The operation information of the logistics platform stored in a blockchain determines whether the business data meets a second preset condition, and the second preset condition includes one or more of the following: based on the first The smart contract does not find the associated resource transfer success information from the first blockchain based on the first identification information, and the resource transfer success information is used when determining that the shipper provides the resources required for transportation.
  • the associated push record information is not queried from the first blockchain, and the push record information is when it is determined that the business data push is successful Generated information; based on the first smart contract according to the second digital identity information, query the associated credit record information from the first blockchain, obtain the credit expiration time from the credit record information, and It is determined that the data expiry time is within the credit expiration time, the credit record information is information generated based on the credit result information sent by the resource management institution, and the credit result information is based on the resource management institution
  • the credit request of the logistics platform is the information generated after successful credit processing; if it is, it is determined that the status of the business data is valid.
  • the device further includes a saving module; the receiving module 401, after the pushing module 403 pushes the business data to the second blockchain node in the second blockchain, receives the The resource transfer success information sent by the second blockchain node, the resource transfer success information is sent based on the resource transfer process of transferring the resources required for transportation from the consignment to the logistics platform; the saving module The resource transfer success information is associated with the first identification information in the service data and stored in the first blockchain.
  • the device further includes: a second sending module; the second sending module, if the first determining module 402 determines that the service data does not comply with the push to the second blockchain corresponding to the resource management institution If the preset push condition is set, the request failure information is sent to the logistics platform.
  • the data push device When the data push device provided in the embodiment of this specification receives a business data push request sent by a logistics platform, if it is determined that the business data to be pushed meets the preset pushing conditions according to the operational information of the logistics platform stored in the first blockchain, then Push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain, and performs resource collection and processing based on the business data.
  • the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; and the resource management agency acts as a transit to realize the cross-chain transmission of data And interconnection, effectively breaking the data island, can maximize the use of logistics platform business data, so as to fully realize the value of data.
  • FIG. 13 is a schematic diagram of the composition of a data push system provided by an embodiment of the specification. As shown in FIG.
  • the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
  • Figure 14 is a schematic diagram of the composition of a data push system provided by an embodiment of this specification.
  • the system includes: a logistics platform 601, a first blockchain 602, a resource management agency 603, and a second blockchain 604
  • the logistics platform 601 generates a waybill based on the shipper’s consignment request; and, based on the relevant information of at least one waybill that is in the transportation termination state and the shipper has not provided the resources required for transportation, generates the business data to be pushed;
  • the business data to be pushed, a business data push request is generated, and the business data push request is sent to the first blockchain node of the first blockchain 602; the first block of the first blockchain 602
  • the chain node receives the business data push request sent by the logistics platform 601; calls the first smart contract in the first blockchain 602, based on the first smart contract according to the
  • the first blockchain node when the first blockchain node receives the business data push request sent by the logistics platform, if it is determined that the business data to be pushed conforms to the operational information of the logistics platform stored in the first blockchain
  • the preset push conditions are to push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain, and performs resource collection and processing based on the business data.
  • an embodiment of this specification also provides a data pushing device, which is used to execute the above data pushing method.
  • the data push device may have relatively large differences due to different configurations or performances, and may include one or more processors 701 and a memory 702.
  • the memory 702 may store one or more storage applications or data.
  • the memory 702 may be short-term storage or persistent storage.
  • the application program stored in the memory 702 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions in the data pushing device.
  • the processor 701 may be configured to communicate with the memory 702, and execute a series of computer-executable instructions in the memory 702 on the data pushing device.
  • the data push device may also include one or more power sources 703, one or more wired or wireless network interfaces 704, one or more input and output interfaces 705, one or more keyboards 706, and so on.
  • the data push device includes a memory and one or more programs, one or more programs are stored in the memory, and one or more programs may include one or more modules, and each Each module may include a series of computer-executable instructions in the data push device, and is configured to be executed by one or more processors.
  • the one or more programs include computer-executable instructions for performing the following: A business data push request, the business data push request includes business data to be pushed, and the business data is based on the logistics platform based on at least one waybill that is in a transportation terminated state and the shipper has not provided the resources required for transportation.
  • the data push device When the data push device provided in the embodiment of this specification receives the business data push request sent by the logistics platform, if it is determined that the business data to be pushed meets the preset pushing conditions according to the operational information of the logistics platform stored in the first blockchain, then Push the business data to the second blockchain node of the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain, so that the second blockchain node can save the business data to the second blockchain.
  • resource collection and processing are performed.
  • the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
  • the business data when the computer-executable instructions are executed, includes: first identification information, expiration time information, and second digital identity information of the logistics platform; based on the first smart contract according to the The operation information of the logistics platform stored in the first blockchain and determining that the status of the business data is valid includes: based on the first smart contract according to the logistics platform stored in the first blockchain
  • the associated resource transfer success information is not queried in the first blockchain, and the resource transfer success information is the information saved when it is determined that the shipper provides the resources required for transportation; based on the first smart contract
  • the first identification information does not find associated push record information from the first blockchain, and the push record information is information generated when it is determined that the business data push is successful; based on the first smart contract
  • query the associated credit record information from the first blockchain obtain the credit expiration time from the credit record
  • the method further includes: determining that the business data is associated The pass rate of at least one of the air waybills; store the business data and the pass rate in association with the first blockchain; push the business data to the second block in the second blockchain Two blockchain nodes, including: pushing the business data and the pass rate to a second blockchain node in the second blockchain.
  • the service data includes: at least one waybill identification information of the waybill; and the determining the pass rate of the at least one waybill associated with the service data includes: According to the identification information of the waybill, the associated waybill verification record information is queried from the first blockchain.
  • the waybill verification record information is to determine that the corresponding waybill is in the state of transportation termination, the freight data provided by the third party The information generated after the validity of the waybill is verified and processed; the first quantity of the waybill passed through the verification process is determined according to the verification record information of the waybill; the waybill associated with the business data according to the first quantity Calculate the passing rate of the air waybill.
  • the method further includes: receiving based on the cross-chain transmission channel The receiving success information sent by the second blockchain node; generating push success record information according to the business data; saving the push success record information in the first blockchain; sending pushes to the logistics platform Success message.
  • the method further includes: receiving based on the cross-chain transmission channel The resource transfer success information sent by the second blockchain node, the resource transfer success information is sent based on the resource transfer process of transferring the resources required for transportation from the consignment to the logistics platform; transferring the resources The success information is associated with the first identification information in the business data and stored in the first blockchain.
  • the method further includes: if it is determined that the business data does not meet the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution, sending the The logistics platform sends the request failure information.
  • the one or more programs include computer-executable instructions for performing the following:
  • the business data push request includes the business data to be pushed, and the business data is related information of the logistics platform based on at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation
  • the waybill is generated by the logistics platform based on the shipper’s consignment request;
  • the first smart contract in the first blockchain is invoked, based on the first smart contract according to the first area
  • the operation information of the logistics platform stored in the blockchain determines whether the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency; if so, the business data is pushed to all The resource management agency, so that the resource management agency saves the business data in the second blockchain, and enables the resource management agency to perform resource collection processing based on the business data.
  • the first smart contract is based on the operation information of the logistics platform stored in the first blockchain to determine whether the business data conforms to the resource
  • the preset pushing conditions for pushing on the second blockchain corresponding to the management agency include: determining the business data based on the first smart contract according to the operation information of the logistics platform stored in the first blockchain Whether the first preset condition is met, the first preset condition includes one or more of the following: the shipper is a whitelisted user, and the status of the service data is valid; if so, the service data is determined Meet the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency.
  • the method further includes: determining that the business data is associated At least one pass rate of the waybill; storing the business data and the pass rate in association with the first blockchain; pushing the business data to the resource management agency includes: The service data and the pass rate are pushed to the resource management agency.
  • the data push device When the data push device provided in the embodiment of this specification receives the business data push request sent by the logistics platform, if it is determined that the business data to be pushed meets the preset pushing conditions according to the operational information of the logistics platform stored in the first blockchain, then Push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain, and performs resource collection and processing based on the business data.
  • the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; and the resource management agency acts as a transit to realize the cross-chain transmission of data And interconnection, effectively breaking the data island, can maximize the use of logistics platform business data, so as to fully realize the value of data.
  • the embodiment of the data push device in this specification is based on the same inventive concept as the embodiment of the data push method in this specification. Therefore, the specific implementation of this embodiment can refer to the implementation of the corresponding data push method mentioned above, and the repetition will not be repeated here. .
  • the embodiment of this specification also provides a storage medium for storing computer-executable instructions.
  • the storage medium may be a U disk or an optical disk. , Hard disk, etc.
  • the computer executable instructions stored in the storage medium are executed by the processor, the following process can be realized: receiving the business data push request sent by the logistics platform, the business data pushing request includes the business data to be pushed, The business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation; the waybill is generated by the logistics platform based on the consignment request of the shipper ; Invoke the first smart contract in the first block chain, and determine whether the business data conforms to the direction based on the first smart contract according to the operational information of the logistics platform stored in the first block chain The second block chain corresponding to the resource management agency pushes the preset pushing conditions; if yes, push
  • the computer-executable instructions stored in the storage medium provided in the embodiments of this specification When executed by the processor, they receive the business data push request sent by the logistics platform. If the operation information of the logistics platform stored in the first blockchain is determined to be pushed If the business data meets the preset push conditions, the business data will be pushed to the second block chain node of the second block chain based on the cross-chain transmission channel of the first block chain and the second block chain, so that the second block chain The chain node saves the business data in the second blockchain and performs resource collection processing.
  • the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
  • the first smart contract based on the operation information of the logistics platform stored in the first blockchain determines the Whether the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency includes: operating the logistics platform stored in the first blockchain based on the first smart contract Information to determine whether the service data meets a first preset condition, the first preset condition includes one or more of the following: the shipper is a whitelisted user, and the status of the service data is valid; if so , It is determined that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency.
  • the business data includes: the first data identity information of the shipper and the second digital identity information of the logistics platform;
  • the first smart contract determines that the shipper is a whitelist user based on the operation information of the logistics platform stored in the first blockchain, including: determining that the first smart contract is based on the first number Whether the identity information and the second digital identity query the associated whitelist record information from the first blockchain, the whitelist record information is the whitelist user who received the whitelist sent by the second blockchain node
  • the whitelisted user is the user determined by the second blockchain node based on the user information of the candidate whitelisted user sent by the logistics platform after the credit evaluation process; if yes, It is determined that the shipper is a whitelisted user.
  • the service data includes: at least one of the waybill identification information of the waybill;
  • the passing rate of the waybill includes: querying the associated waybill verification record information from the first blockchain according to the waybill identification information.
  • the waybill verification record information is based on the third party when it is determined that the corresponding waybill is in the transportation termination state.
  • the provided shipping data is the information generated after the validity of the air waybill is verified; according to the information of the air waybill verification record, the first quantity of the waybill passed the verification process is determined; according to the first quantity and the The second quantity of the waybill associated with the business data is used to calculate the passing rate of the waybill.
  • the method further includes: The cross-chain transmission channel receives the reception success information sent by the second blockchain node; generates push success record information according to the business data; saves the push success record information in the first blockchain; Send push success information to the logistics platform.
  • the method further includes: The cross-chain transmission channel receives the resource transfer success information sent by the second blockchain node, and the resource transfer success information is based on the resource transfer process of transferring the resources required for transportation from the consignment to the logistics platform Send; associate the resource transfer success information with the first identification information in the service data and save to the first blockchain.
  • the method further includes: if it is determined that the business data does not conform to the preset push to the second blockchain corresponding to the resource management institution Push conditions, then send request failure information to the logistics platform.
  • the computer-executable instructions stored in the storage medium provided in the embodiments of this specification When executed by the processor, they receive the business data push request sent by the logistics platform. If the operation information of the logistics platform stored in the first blockchain is determined to be pushed If the business data meets the preset push conditions, the business data will be pushed to the second block chain node of the second block chain based on the cross-chain transmission channel of the first block chain and the second block chain, so that the second block chain The chain node saves the business data in the second blockchain and performs resource collection processing.
  • the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
  • the storage medium may be a U disk, an optical disk, a hard disk, etc.
  • the computer executable instructions stored in the storage medium can realize the following process when being executed by the processor: receiving the business data push sent by the logistics platform Request, the service data push request includes the service data to be pushed, and the service data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation terminated state and the shipper has not provided the resources required for transportation;
  • the waybill is generated by the logistics platform based on the consignment request of the shipper;
  • the first smart contract in the first blockchain is invoked, based on the first smart contract and stored in the first blockchain
  • the operational information of the logistics platform it is determined whether the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency; if so, the business data is pushed to the resource management agency , So that the resource management agency saves the business data in the second blockchain, and enables the resource management agency to perform resource collection processing based on the business
  • the first smart contract based on the operation information of the logistics platform stored in the first blockchain determines the Whether the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency includes: operating the logistics platform stored in the first blockchain based on the first smart contract Information to determine whether the service data meets a first preset condition, the first preset condition includes one or more of the following: the shipper is a whitelisted user, and the status of the service data is valid; if so , It is determined that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution.
  • the method further includes: determining The pass rate of at least one of the waybills associated with the service data; store the service data and the pass rate in association with the first blockchain; the push the service data to the resource
  • the management organization includes: pushing the business data and the pass rate to the resource management organization.
  • the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; and the resource management agency acts as a transit to realize the cross-chain transmission of data And interconnection, effectively breaking the data island, can maximize the use of logistics platform business data, so as to fully realize the value of data.
  • a Programmable Logic Device (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user's programming of the device.
  • HDL Hardware Description Language
  • the controller can be implemented in any suitable manner.
  • the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) executable by the (micro)processor. , Logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers.
  • controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as a part of the memory control logic.
  • controllers in addition to implementing the controller in a purely computer-readable program code manner, it is completely possible to program the method steps to make the controller use logic gates, switches, application specific integrated circuits, programmable logic controllers, and embedded logic.
  • the same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure within the hardware component. Or even, the device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component.
  • a typical implementation device is a computer.
  • the computer may be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
  • These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • the memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM).
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • Information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.

Abstract

A data pushing method, apparatus, device, and system. The method comprises: a first blockchain node of a first blockchain receives a service data pushing request transmitted by a logistics platform; invoke a first smart contract in the first blockchain, and according to the first smart contract and the operation information of the logistics platform saved in the first blockchain, determine whether service data in the service data pushing request meets a preset pushing condition for pushing to a second blockchain corresponding to a resource management mechanism; if yes, according to a cross-chain transmission channel of the first blockchain and the second blockchain, push the service data to a second blockchain node in the second blockchain, so that the second blockchain node saves the service data in the second blockchain and according to the service data, performs resource collection.

Description

数据推送方法、装置、设备及系统Data push method, device, equipment and system 技术领域Technical field
本文件涉及数据处理技术领域,尤其涉及一种数据推送方法、装置、设备及系统。This document relates to the field of data processing technology, in particular to a data push method, device, equipment and system.
背景技术Background technique
数据是企业得以有效运作的基本因素之一,为了实现数据的有效维护,企业通常会配备中心化的数据管理系统。然而,该中心化的数据管理系统,不仅存在数据丢失的风险,而且不同的企业之间难以进行数据的互联互通,从而形成了数据孤岛,不利于挖掘数据的潜在价值。Data is one of the basic factors for effective operation of an enterprise. In order to achieve effective maintenance of data, an enterprise is usually equipped with a centralized data management system. However, this centralized data management system not only has the risk of data loss, but it is also difficult to interconnect data between different enterprises, thus forming data islands, which is not conducive to mining the potential value of data.
发明内容Summary of the invention
本说明书实施例的目的是提供一种数据推送方法,应用于接入第一区块链的第一区块链节点,包括:接收物流平台发送的业务数据推送请求。所述业务数据推送请求包括待推送的业务数据。所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成。所述运单为所述物流平台基于所述托运方的托运请求所生成。调用所述第一区块链中的第一智能合约。基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件。若是,则基于所述第一区块链与所述第二区块链的跨链传输通道,将所述业务数据推送至所述第二区块链中的第二区块链节点。以使所述第二区块链节点将所述业务数据保存至第二区块链中,并基于所述第二区块链中的第二智能合约根据所述业务数据进行资源收集处理。The purpose of the embodiments of this specification is to provide a data push method, which is applied to a first blockchain node connected to the first blockchain, including: receiving a business data push request sent by a logistics platform. The service data push request includes the service data to be pushed. The business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation. The waybill is generated by the logistics platform based on the consignment request of the shipper. Invoke the first smart contract in the first blockchain. Based on the first smart contract, according to the operation information of the logistics platform stored in the first blockchain, it is determined whether the business data conforms to the preset push to the second blockchain corresponding to the resource management agency condition. If so, push the business data to the second blockchain node in the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain. So that the second blockchain node saves the business data in the second blockchain, and performs resource collection processing based on the business data based on the second smart contract in the second blockchain.
本说明书实施例提供了一种数据推送方法,应用于接入第一区块链的第一区块链节点,包括:接收物流平台发送的业务数据推送请求。所述业务数据推送请求包括待推送的业务数据。所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成。所述运单为所述物流平台基于所述托运方的托运请求所生成。调用所述第一区块链中的第一智能合约。基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件。若是,则将所述业务数据推送至所述资源管理机构。以使所述资源管理机构将所述业务数据保存至所述第二区块链 中,并使所述资源管理机构基于所述业务数据进行资源收集处理。The embodiment of this specification provides a data push method, which is applied to a first blockchain node connected to the first blockchain, and includes: receiving a business data push request sent by a logistics platform. The service data push request includes the service data to be pushed. The business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation. The waybill is generated by the logistics platform based on the consignment request of the shipper. Invoke the first smart contract in the first blockchain. Based on the first smart contract, according to the operation information of the logistics platform stored in the first blockchain, it is determined whether the business data conforms to the preset push to the second blockchain corresponding to the resource management agency condition. If yes, push the business data to the resource management agency. In order to enable the resource management agency to save the business data in the second blockchain, and enable the resource management agency to perform resource collection processing based on the business data.
本说明书实施例提供了一种数据推送装置,应用于接入第一区块链的第一区块链节点,包括:接收模块,其接收物流平台发送的业务数据推送请求。所述业务数据推送请求包括待推送的业务数据。所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成。所述运单为所述物流平台基于所述托运方的托运请求所生成。该装置还包括第一确定模块,其调用所述第一区块链中的第一智能合约。基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件。该装置还包括推送模块,其若所述确定模块的确定结果为是,则基于所述第一区块链与所述第二区块链的跨链传输通道,将所述业务数据推送至所述第二区块链中的第二区块链节点。以使所述第二区块链节点将所述业务数据保存至第二区块链中,并基于所述第二区块链中的第二智能合约根据所述业务数据进行资源收集处理。The embodiment of this specification provides a data push device, which is applied to a first blockchain node connected to the first blockchain, and includes: a receiving module that receives a business data push request sent by a logistics platform. The service data push request includes the service data to be pushed. The business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation. The waybill is generated by the logistics platform based on the consignment request of the shipper. The device also includes a first determining module, which invokes the first smart contract in the first blockchain. Based on the first smart contract, according to the operation information of the logistics platform stored in the first blockchain, it is determined whether the business data conforms to the preset push to the second blockchain corresponding to the resource management agency condition. The device also includes a push module, which, if the determination result of the determination module is yes, pushes the business data to all based on the cross-chain transmission channel of the first block chain and the second block chain. The second blockchain node in the second blockchain. So that the second blockchain node saves the business data in the second blockchain, and performs resource collection processing based on the business data based on the second smart contract in the second blockchain.
本说明书实施例提供了一种数据推送装置,应用于接入第一区块链的第一区块链节点,包括:接收模块,其接收物流平台发送的业务数据推送请求。所述业务数据推送请求包括待推送的业务数据。所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成。所述运单为所述物流平台基于所述托运方的托运请求所生成。该装置还包括确定模块,其调用所述第一区块链中的第一智能合约。基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件。该装置还包括推送模块,其若所述确定模块的确定结果为是,则将所述业务数据推送至所述资源管理机构。以使所述资源管理机构将所述业务数据保存至所述第二区块链中,并使所述资源管理机构基于所述业务数据进行资源收集处理。The embodiment of this specification provides a data push device, which is applied to a first blockchain node connected to the first blockchain, and includes: a receiving module that receives a business data push request sent by a logistics platform. The service data push request includes the service data to be pushed. The business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation. The waybill is generated by the logistics platform based on the consignment request of the shipper. The device also includes a determination module, which invokes the first smart contract in the first blockchain. Based on the first smart contract, according to the operation information of the logistics platform stored in the first blockchain, it is determined whether the business data conforms to the preset push to the second blockchain corresponding to the resource management agency condition. The device also includes a push module, which pushes the business data to the resource management institution if the determination result of the determination module is yes. In order to enable the resource management agency to save the business data in the second blockchain, and enable the resource management agency to perform resource collection processing based on the business data.
本说明书实施例提供了一种数据推送系统,包括:物流平台、第一区块链、资源管理机构对应的第二区块链。所述物流平台,基于托运方的托运请求生成运单。以及,基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息,生成待推送的业务数据。根据所述待推送的业务数据,生成业务数据推送请求。向接入所述第一区块链的第一区块链节点发送所述业务数据推送请求。接入所述第一区块链的第一区块链节点接收所述物流平台发送的所述业务数据推送请求。调用所述第一区块链中的第一智能合约。基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向所述资源管理机构对应的第二区块链进行推送的 预设推送条件。若是,则基于所述第一区块链与所述第二区块链的跨链传输通道,将所述业务数据推送至所述第二区块链中的第二区块链节点。接入所述第二区块链的所述第二区块链节点,将所述业务数据保存至所述第二区块链中。调用所述第二区块链中的第二智能合约。基于所述第二智能合约根据所述业务数据进行资源收集处理。The embodiment of this specification provides a data push system, including: a logistics platform, a first blockchain, and a second blockchain corresponding to a resource management institution. The logistics platform generates a waybill based on the consignment request of the shipper. And, generating business data to be pushed based on the relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation. According to the business data to be pushed, a business data push request is generated. Send the service data push request to the first blockchain node that accesses the first blockchain. The first blockchain node connected to the first blockchain receives the service data push request sent by the logistics platform. Invoke the first smart contract in the first blockchain. Based on the first smart contract, according to the operational information of the logistics platform stored in the first blockchain, it is determined whether the business data meets the pre-determined push to the second blockchain corresponding to the resource management institution. Set the push conditions. If so, push the business data to the second blockchain node in the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain. The second blockchain node connected to the second blockchain saves the business data in the second blockchain. Invoke the second smart contract in the second blockchain. Perform resource collection processing according to the business data based on the second smart contract.
本说明书实施例提供了一种数据推送系统,包括:物流平台、第一区块链、资源管理机构、第二区块链。所述物流平台,基于托运方的托运请求生成运单。以及,基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息,生成待推送的业务数据。根据所述待推送的业务数据,生成业务数据推送请求。向接入所述第一区块链的第一区块链节点发送所述业务数据推送请求。接入所述第一区块链的第一区块链节点接收所述物流平台发送的所述业务数据推送请求。调用所述第一区块链中的第一智能合约。基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向所述资源管理机构对应的第二区块链进行推送的预设推送条件。若是,则将所述业务数据推送至所述资源管理机构。所述资源管理机构,接收所述第一区块链节点推送的所述业务数据。将所述业务数据保存至所述第二区块链中,并基于所述业务数据进行资源收集处理。The embodiment of this specification provides a data push system, including: a logistics platform, a first blockchain, a resource management institution, and a second blockchain. The logistics platform generates a waybill based on the consignment request of the shipper. And, generating business data to be pushed based on the relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation. According to the business data to be pushed, a business data push request is generated. Send the service data push request to the first blockchain node that accesses the first blockchain. The first blockchain node connected to the first blockchain receives the service data push request sent by the logistics platform. Invoke the first smart contract in the first blockchain. Based on the first smart contract, according to the operational information of the logistics platform stored in the first blockchain, it is determined whether the business data meets the pre-determined push to the second blockchain corresponding to the resource management institution. Set the push conditions. If yes, push the business data to the resource management agency. The resource management institution receives the business data pushed by the first blockchain node. The business data is stored in the second blockchain, and resource collection processing is performed based on the business data.
本说明书实施例提供了一种数据推送设备,包括处理器以及被安排成存储计算机可执行指令的存储器。所述计算机可执行指令在被执行时使所述处理器接收物流平台发送的业务数据推送请求。所述业务数据推送请求包括待推送的业务数据。所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成。所述运单为所述物流平台基于所述托运方的托运请求所生成。调用所述第一区块链中的第一智能合约。基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件。若是,则基于所述第一区块链与所述第二区块链的跨链传输通道,将所述业务数据推送至所述第二区块链中的第二区块链节点。以使所述第二区块链节点将所述业务数据保存至第二区块链中,并基于所述第二区块链中的第二智能合约根据所述业务数据进行资源收集处理。The embodiment of the present specification provides a data push device including a processor and a memory arranged to store computer-executable instructions. When the computer-executable instructions are executed, the processor receives the business data push request sent by the logistics platform. The service data push request includes the service data to be pushed. The business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation. The waybill is generated by the logistics platform based on the consignment request of the shipper. Invoke the first smart contract in the first blockchain. Based on the first smart contract, according to the operation information of the logistics platform stored in the first blockchain, it is determined whether the business data conforms to the preset push to the second blockchain corresponding to the resource management agency condition. If so, push the business data to the second blockchain node in the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain. So that the second blockchain node saves the business data in the second blockchain, and performs resource collection processing based on the business data based on the second smart contract in the second blockchain.
本说明书实施例提供了一种数据推送设备,包括处理器以及被安排成存储计算机可执行指令的存储器。所述计算机可执行指令在被执行时使所述处理器接收物流平台发送的业务数据推送请求。所述业务数据推送请求包括待推送的业务数据。所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的 相关信息所生成。所述运单为所述物流平台基于所述托运方的托运请求所生成。调用所述第一区块链中的第一智能合约。基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件。若是,则将所述业务数据推送至所述资源管理机构。以使所述资源管理机构将所述业务数据保存至所述第二区块链中,并使所述资源管理机构基于所述业务数据进行资源收集处理。The embodiment of the present specification provides a data push device including a processor and a memory arranged to store computer-executable instructions. When the computer-executable instructions are executed, the processor receives the business data push request sent by the logistics platform. The service data push request includes the service data to be pushed. The business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation. The waybill is generated by the logistics platform based on the consignment request of the shipper. Invoke the first smart contract in the first blockchain. Based on the first smart contract, according to the operation information of the logistics platform stored in the first blockchain, it is determined whether the business data conforms to the preset push to the second blockchain corresponding to the resource management agency condition. If yes, push the business data to the resource management agency. In order to enable the resource management agency to save the business data in the second blockchain, and enable the resource management agency to perform resource collection processing based on the business data.
本说明书实施例提供了一种存储介质,用于存储计算机可执行指令。所述计算机可执行指令在被处理器执行时接收物流平台发送的业务数据推送请求。所述业务数据推送请求包括待推送的业务数据。所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成。所述运单为所述物流平台基于所述托运方的托运请求所生成。调用所述第一区块链中的第一智能合约。基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件。若是,则基于所述第一区块链与所述第二区块链的跨链传输通道,将所述业务数据推送至所述第二区块链中的第二区块链节点。以使所述第二区块链节点将所述业务数据保存至第二区块链中,并基于所述第二区块链中的第二智能合约根据所述业务数据进行资源收集处理。The embodiments of this specification provide a storage medium for storing computer-executable instructions. When the computer executable instructions are executed by the processor, they receive a business data push request sent by the logistics platform. The service data push request includes the service data to be pushed. The business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation. The waybill is generated by the logistics platform based on the consignment request of the shipper. Invoke the first smart contract in the first blockchain. Based on the first smart contract, according to the operation information of the logistics platform stored in the first blockchain, it is determined whether the business data conforms to the preset push to the second blockchain corresponding to the resource management agency condition. If so, push the business data to the second blockchain node in the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain. So that the second blockchain node saves the business data in the second blockchain, and performs resource collection processing based on the business data based on the second smart contract in the second blockchain.
本说明书实施例提供了一种存储介质,用于存储计算机可执行指令。所述计算机可执行指令在被处理器执行时接收物流平台发送的业务数据推送请求。所述业务数据推送请求包括待推送的业务数据。所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成。所述运单为所述物流平台基于所述托运方的托运请求所生成。调用所述第一区块链中的第一智能合约。基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件。若是,则将所述业务数据推送至所述资源管理机构。以使所述资源管理机构将所述业务数据保存至所述第二区块链中,并使所述资源管理机构基于所述业务数据进行资源收集处理。The embodiments of this specification provide a storage medium for storing computer-executable instructions. When the computer executable instructions are executed by the processor, they receive a business data push request sent by the logistics platform. The service data push request includes the service data to be pushed. The business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation. The waybill is generated by the logistics platform based on the consignment request of the shipper. Invoke the first smart contract in the first blockchain. Based on the first smart contract, according to the operation information of the logistics platform stored in the first blockchain, it is determined whether the business data conforms to the preset push to the second blockchain corresponding to the resource management agency condition. If yes, push the business data to the resource management agency. In order to enable the resource management agency to save the business data in the second blockchain, and enable the resource management agency to perform resource collection processing based on the business data.
附图说明Description of the drawings
图1为本说明书实施例提供的一种数据推送方法的第一种场景示意图;FIG. 1 is a schematic diagram of the first scenario of a data pushing method provided by an embodiment of this specification;
图2为本说明书实施例提供的一种数据推送方法的第一种流程示意图;2 is a schematic diagram of the first flow of a data push method provided by an embodiment of this specification;
图3为本说明书实施例提供的一种数据推送方法的第二种流程示意图;FIG. 3 is a schematic diagram of the second flow of a data push method provided by an embodiment of this specification;
图4为本说明书实施例提供的一种数据推送方法的第三种流程示意图;4 is a schematic diagram of a third process of a data push method provided by an embodiment of this specification;
图5为本说明书实施例提供的一种数据推送方法的第四种流程示意图;FIG. 5 is a schematic diagram of a fourth flow of a data pushing method provided by an embodiment of this specification;
图6为本说明书实施例提供的一种数据推送方法的第五种流程示意图;6 is a schematic diagram of the fifth flow of a data push method provided by an embodiment of this specification;
图7为本说明书实施例提供的一种数据推送方法的第六种流程示意图;FIG. 7 is a schematic diagram of a sixth flow of a data pushing method provided by an embodiment of this specification;
图8为本说明书实施例提供的一种数据推送方法的第二种场景示意图;FIG. 8 is a schematic diagram of a second scenario of a data push method provided by an embodiment of this specification;
图9为本说明书实施例提供的一种数据推送方法的第七种流程示意图;FIG. 9 is a schematic diagram of the seventh flow of a data pushing method provided by an embodiment of this specification;
图10为本说明书实施例提供的一种数据推送方法的第八种流程示意图;10 is a schematic diagram of the eighth flow of a data pushing method provided by an embodiment of this specification;
图11为本说明书实施例提供的一种数据推送装置的第一种模块组成示意图;FIG. 11 is a schematic diagram of the first module composition of a data push device provided by an embodiment of this specification;
图12为本说明书实施例提供的一种跨数据推送装置的第二种模块组成示意图;FIG. 12 is a schematic diagram of the composition of a second type of module of a cross-data pushing device provided by an embodiment of this specification;
图13为本说明书实施例提供的一种数据推送系统的第一种组成示意图;FIG. 13 is a schematic diagram of the first composition of a data push system provided by an embodiment of this specification;
图14为本说明书实施例提供的一种数据推送系统的第二种组成示意图;14 is a schematic diagram of the second composition of a data push system provided by an embodiment of this specification;
图15为本说明书实施例提供的一种数据推送设备的结构示意图。FIG. 15 is a schematic structural diagram of a data pushing device provided by an embodiment of this specification.
具体实施方式Detailed ways
图1为本说明书实施例提供的一种数据推送方法的应用场景示意图,如图1所示,该场景包括:物流平台、接入第一区块链的第一区块链节点、接入第二区块链的第二区块链节点。物流平台的运营信息保存于第一区块链中。资源管理机构部署有节点设备,该节点设备接入第二区块链,即为第二区块链节点;也就是说,资源管理机构作为接入第二区块链的节点,在链上进行资源的相关管理操作,并将资源管理操作的相关信息保存至第二区块链中。Figure 1 is a schematic diagram of an application scenario of a data push method provided by an embodiment of this specification. As shown in Figure 1, the scenario includes: a logistics platform, a first blockchain node connected to the first blockchain, and a first blockchain node connected to the first blockchain. The second blockchain node of the second blockchain. The operation information of the logistics platform is stored in the first blockchain. The resource management organization has deployed node equipment, which is connected to the second blockchain, which is the second blockchain node; that is, the resource management organization acts as a node connected to the second blockchain and performs on-chain operations. Relevant management operations of the resource, and save the relevant information of the resource management operation in the second blockchain.
具体的,物流平台基于托运方的托运请求生成运单,基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息,生成待推送的业务数据。物流平台根据待推送的业务数据,生成业务数据推送请求,向接入第一区块链的第一区块链节点发送业务数据推送请求。第一区块链节点接收到物流平台发送的业务数据推送请求时,调用第一区块链中的第一智能合约,基于第一智能合约根据第一区块链中保存的物流平台的运营信息,确定待推送的业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件。若是,则基于第一区块链与第二区块链的跨链传输通道,将业务数据推送至第二区块链中的第二区块链节点。第二区块链节点,将接收到的业务数据保 存至第二区块链中,向第一区块链节点发送接收成功信息,以使第一区块链节点向物流平台发送推送成功信息;以及,第二区块链节点调用第二区块链中的第二智能合约,基于第二智能合约根据业务数据进行资源收集处理。由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;通过数据的跨链传输,不仅打破了数据孤岛,实现了数据的互联互通,而且能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。Specifically, the logistics platform generates a waybill based on the consignment request of the shipper, and generates the business data to be pushed based on the relevant information of at least one waybill that is in the transportation termination state and the shipper has not provided the resources required for transportation. The logistics platform generates a business data push request based on the business data to be pushed, and sends the business data push request to the first blockchain node connected to the first blockchain. When the first blockchain node receives the business data push request sent by the logistics platform, it calls the first smart contract in the first blockchain, based on the first smart contract according to the operational information of the logistics platform stored in the first blockchain To determine whether the business data to be pushed meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution. If yes, push the business data to the second blockchain node in the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain. The second block chain node saves the received business data in the second block chain, and sends the reception success message to the first block chain node, so that the first block chain node sends the push success message to the logistics platform; And, the second block chain node invokes the second smart contract in the second block chain, and performs resource collection processing according to the business data based on the second smart contract. As a result, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
基于上述应用场景架构,本说明书实施例提供了一种数据推送方法。图2为本说明书实施例提供的一种数据推送方法的流程示意图,图2中的方法能够由图1中的第一区块链节点执行,如图2所示,该方法包括以下步骤:步骤S102,接收物流平台发送的业务数据推送请求,业务数据推送请求包括待推送的业务数据,业务数据为物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;运单为物流平台基于托运方的托运请求所生成;具体地,物流平台接收托运方发送的托运请求,根据托运请求中的托运信息生成运单,并确定该运单的承运方,托运信息包括待托运货物的货物信息、起运地点信息、送达地点信息等。并由承运方将运单的待托运货物从起运地点运送至送达地点。同时,托运方向物流平台提供运输待托运货物所需的资源。当物流平台确定待托运货物运送至送达地点时,确定相应的运单处于运输终止状态,并基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息,生成待推送的业务数据,根据业务数据生成业务数据推送请求,并将业务数据推送请求发送给第一区块链中的第一区块链节点。运单的相关信息包括运单标识信息、运输托运物所需资源的数量等。业务数据包括第一标识信息、关联的每个运单的运单标识信息、每个运单的运输所需资源的数量、每个运单的托运方的第一数字身份信息、物流平台的第二数字身份信息等。业务数据如账单数据等;资源可为实体资源,如货币等,还可为虚拟资源,如电子货币、积分等;数字身份信息如DID(英文全称:Decentralized Identifiers,中文全称:分布式身份标识)。Based on the foregoing application scenario architecture, the embodiment of this specification provides a data push method. Fig. 2 is a schematic flowchart of a data push method provided by an embodiment of this specification. The method in Fig. 2 can be executed by the first blockchain node in Fig. 1. As shown in Fig. 2, the method includes the following steps: S102: Receive a business data push request sent by the logistics platform, where the business data push request includes business data to be pushed, and the business data is related information of the logistics platform based on at least one waybill that is in a transportation termination state and the shipper does not provide resources required for transportation The waybill is generated by the logistics platform based on the shipper’s consignment request; specifically, the logistics platform receives the consignment request sent by the shipper, generates the consignment note based on the consignment information in the consignment request, and determines the carrier of the consignment note. The consignment information includes The cargo information, departure location information, delivery location information, etc. of the cargo to be consigned. And the carrier will transport the goods to be consigned on the waybill from the place of departure to the place of delivery. At the same time, the consignor provides the logistics platform with the resources needed to transport the goods to be consigned. When the logistics platform determines that the cargo to be consigned is delivered to the delivery location, it determines that the corresponding waybill is in the transportation termination state, and generates the to-be-push based on the relevant information of at least one waybill that is in the transportation termination state and the shipper has not provided the resources required for transportation According to the business data, a business data push request is generated according to the business data, and the business data push request is sent to the first blockchain node in the first blockchain. The relevant information of the waybill includes the identification information of the waybill, the quantity of resources required to transport the consignment, etc. The business data includes the first identification information, the identification information of the waybill of each associated waybill, the number of resources required for the transportation of each waybill, the first digital identity information of the shipper of each waybill, and the second digital identity information of the logistics platform. Wait. Business data such as billing data, etc.; resources can be physical resources, such as currency, etc., or virtual resources, such as electronic currency, points, etc.; digital identity information such as DID (full English name: Decentralized Identifiers, full Chinese name: distributed identity) .
步骤S104,调用第一区块链中的第一智能合约,基于第一智能合约根据第一区块链中保存的物流平台的运营信息,确定业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件。运营信息包括物流平台的各运单的物流信息、物流平台的授信信息、已推送的业务数据的推送记录信息、白名单用户的白名单记录信息等。物流信息包括运单的起运地点信息、起运时间信息、送达地点信息、送达时间信息、承运方的用户信息(如姓名、手机号码等)、运输工具的标识信息(如车牌号码)等;授信信息包括授信数量、授信起始时间、授信到期时间等。白名单用户为资源管理机构基于物 流平台发送的候选白名单用户的用户信息,进行信用评估处理之后所确定的用户。Step S104: Invoke the first smart contract in the first blockchain, and based on the first smart contract, determine whether the business data conforms to the second area corresponding to the resource management agency according to the operation information of the logistics platform stored in the first blockchain The preset push conditions for the blockchain to push. Operational information includes the logistics information of each waybill of the logistics platform, the credit information of the logistics platform, the push record information of the pushed business data, and the white list record information of the whitelisted users. Logistics information includes the departure location information, departure time information, delivery location information, delivery time information of the waybill, user information of the carrier (such as name, mobile phone number, etc.), identification information of the means of transportation (such as license plate number), etc.; The information includes the number of credits, the start time of the credit, and the expiration time of the credit, etc. Whitelisted users are users determined by the resource management agency based on the user information of the candidate whitelisted users sent by the logistics platform after the credit evaluation process.
步骤S106,若是,则基于第一区块链与第二区块链的跨链传输通道,将业务数据推送至第二区块链中的第二区块链节点,以使第二区块链节点将业务数据保存至第二区块链中,并基于第二区块链中的第二智能合约根据业务数据进行资源收集处理。Step S106, if yes, push the business data to the second blockchain node in the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain, so that the second blockchain The node saves the business data in the second blockchain, and performs resource collection and processing according to the business data based on the second smart contract in the second blockchain.
具体的,若确定业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件,则调用预设接口,以通过第一区块链与第二区块链的跨链传输通道,将业务数据推送至第二区块链中的第二区块链节点。当第二区块链节点接收到业务数据时,将业务数据保存至第二区块链中,并调用第二区块链中的第二智能合约,基于第二智能合约根据业务数据进行资源收集处理。跨链传输通道即根据相关协议所构建的通信链路,同时定义相关接口,通过调用该接口即可实现数据的跨链传输。进一步的,若确定业务数据不符合向资源管理机构对应的第二区块链进行推送的预设推送条件,则向物流平台发送请求失败信息。Specifically, if it is determined that the business data meets the preset push conditions for pushing to the second blockchain corresponding to the resource management agency, the preset interface is called to pass the cross-chain transmission between the first blockchain and the second blockchain Channel, push business data to the second blockchain node in the second blockchain. When the second blockchain node receives the business data, it saves the business data in the second blockchain, and calls the second smart contract in the second blockchain, and collects resources based on the second smart contract based on the business data deal with. The cross-chain transmission channel is the communication link constructed according to the relevant protocol, and the relevant interface is defined at the same time, and the cross-chain transmission of data can be realized by calling the interface. Further, if it is determined that the business data does not meet the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution, then the request failure information is sent to the logistics platform.
作为示例,业务数据为账单数据,业务数据包括的第一标识信息为账单标识信息,托运方未提供的运输所需资源为托运费用,那么账单数据中的各托运费用即为物流平台的应收账款,物流平台通过第一区块链节点将物流平台的应收账款推送给第二区块链节点,以使第二区块链节点进行融资处理,从而货运平台可得到一定数额的融资款。As an example, the business data is billing data, the first identification information included in the business data is billing identification information, and the transportation required resources not provided by the shipper are shipping costs, then each shipping fee in the billing data is the receivable of the logistics platform Accounts, the logistics platform pushes the accounts receivable of the logistics platform to the second blockchain node through the first blockchain node, so that the second blockchain node can perform financing processing, so that the freight platform can get a certain amount of financing payment.
本说明书实施例中,第一区块链节点接收到物流平台发送的业务数据推送请求时,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设推送条件,则基于第一区块链与第二区块链的跨链传输通道将业务数据推送至第二区块链的第二区块链节点,以使第二区块链节点将业务数据保存至第二区块链中,并进行资源收集处理。由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;进一步的,通过数据的跨链传输,不仅打破了数据孤岛,实现了数据的互联互通,而且能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。In the embodiment of this specification, when the first blockchain node receives the business data push request sent by the logistics platform, if it is determined that the business data to be pushed meets the preset push conditions according to the operational information of the logistics platform stored in the first blockchain , The business data is pushed to the second blockchain node of the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain, so that the second blockchain node saves the business data to In the second blockchain, resource collection processing is performed. Therefore, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; further, the cross-chain transmission of data not only breaks the data The isolated island realizes the interconnection and intercommunication of data, and can maximize the utilization of the business data of the logistics platform, so as to fully realize the value of the data.
为了避免物流平台提供错误的、虚假的、不合理的业务数据,本说明书实施例中,第一区块链节点在接收到业务数据推送请求时,基于智能合约对待推送的业务数据进行验证。具体的,如图3所示,步骤S104包括以下步骤S1042和步骤S1044:步骤S1042,调用第一区块链中的第一智能合约,基于第一智能合约根据第一区块链中保存的物流平台的运营信息,确定业务数据是否满足第一预设条件,第一预设条件包括以下中的一项或多项:托运方为白名单用户、业务数据的状态有效;步骤S1044,若是,则确定业务 数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件。In order to prevent the logistics platform from providing erroneous, false, and unreasonable business data, in the embodiment of this specification, when the first blockchain node receives the business data push request, it verifies the business data to be pushed based on the smart contract. Specifically, as shown in Figure 3, step S104 includes the following steps S1042 and S1044: step S1042, invoking the first smart contract in the first blockchain, based on the first smart contract according to the logistics stored in the first blockchain The operation information of the platform determines whether the business data meets the first preset condition. The first preset condition includes one or more of the following: the shipper is a whitelisted user, and the status of the business data is valid; step S1044, if yes, then It is determined that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution.
与上述步骤S1042和步骤S1044对应的,如图3所示,步骤S106包括以下步骤S1062:步骤S1062,基于第一区块链与第二区块链的跨链传输通道,将业务数据推送至第二区块链中的第二区块链节点,以使第二区块链节点将业务数据保存至第二区块链中,并基于第二区块链中的第二智能合约根据业务数据进行资源收集处理。Corresponding to the above steps S1042 and S1044, as shown in Figure 3, step S106 includes the following step S1062: Step S1062, based on the cross-chain transmission channel of the first block chain and the second block chain, push business data to the second block Second block chain node in the second block chain, so that the second block chain node saves the business data in the second block chain, and performs according to the business data based on the second smart contract in the second block chain Resource collection and processing.
进一步的,本说明书实施例中,步骤S1042中基于第一智能合约根据第一区块链中保存的物流平台的运营信息,确定托运方为白名单用户包括:确定基于第一智能合约根据业务数据包括的托运方的第一数字身份信息和物流平台的第二数字身份从第一区块链中是否查询到关联的白名单记录信息;若是,则确定托运方是白名单用户。白名单记录信息为第一区块链节点接收到第二区块链节点发送的白名单用户的用户信息时所生成的信息;具体而言,物流平台根据各托运方的历史运单情况,确定候选白名单用户,并将候选白名单用户的用户信息发送给第二区块链节点;第二区块链节点根据预设的评估机制对各候选白名单用户进行信用评估处理,确定最终的白名单用户,并将确定的白名单用户的用户信息发送给第一区块链节点;第一区块链节点根据接收到的白名单用户的用户信息生成白名单记录信息,将白名单记录信息保存至第一区块链中。Further, in the embodiment of the present specification, in step S1042, based on the first smart contract and based on the operation information of the logistics platform stored in the first blockchain, determining that the shipper is a whitelisted user includes: determining based on the first smart contract according to the business data The first digital identity information of the shipper and the second digital identity of the logistics platform included are the associated whitelist record information queried from the first blockchain; if so, it is determined that the shipper is a whitelist user. The whitelist record information is the information generated when the first blockchain node receives the user information of the whitelisted user sent by the second blockchain node; specifically, the logistics platform determines the candidate based on the historical waybill situation of each shipper Whitelist users, and send the user information of the candidate whitelist users to the second blockchain node; the second blockchain node performs credit evaluation on each candidate whitelist user according to the preset evaluation mechanism to determine the final whitelist User, and send the user information of the determined whitelist user to the first blockchain node; the first blockchain node generates whitelist record information according to the received user information of the whitelist user, and saves the whitelist record information to In the first blockchain.
进一步的,本说明书实施例中,步骤S1042中基于第一智能合约根据第一区块链中保存的物流平台的运营信息,确定业务数据的状态有效,包括:基于第一智能合约根据第一区块链中保存的物流平台的运营信息,确定业务数据是否满足第二预设条件;若是,则确定业务数据的状态有效。第二预设条件包括以下中的一项或多项:基于第一智能合约根据业务数据包括的第一标识信息从第一区块链中未查询到关联的资源转移成功信息,资源转移成功信息为确定托运方提供了运输所需资源时所保存的信息;基于第一智能合约根据业务数据包括的第一标识信息从第一区块链中未查询到关联的推送记录信息,推送记录信息为确定业务数据推送成功时所生成的信息;基于第一智能合约根据业务信息包括的货运平台的第二数字身份信息从第一区块链中查询关联的授信记录信息,从授信记录信息中获取授信到期时间,并确定业务数据包括的数据到期时间在获取的授信到期时间以内,授信记录信息为第一区块链节点基于第二区块链节点发送的授信结果信息所生成的信息,授信结果信息为第二区块链节点基于物流平台的授信请求,进行授信处理成功之后所生成的信息。Further, in the embodiment of the present specification, in step S1042, based on the first smart contract, determining that the status of the business data is valid according to the operation information of the logistics platform stored in the first blockchain includes: based on the first smart contract according to the first zone The operation information of the logistics platform stored in the blockchain determines whether the business data meets the second preset condition; if so, it is determined that the status of the business data is valid. The second preset condition includes one or more of the following: based on the first smart contract according to the first identification information included in the business data, the associated resource transfer success information is not queried from the first blockchain, and the resource transfer success information In order to confirm that the shipper provides the information saved when the resource required for transportation is provided; based on the first smart contract according to the first identification information included in the business data, the associated push record information is not queried from the first blockchain, and the push record information is Determine the information generated when the business data push is successful; based on the first smart contract, query the associated credit record information from the first blockchain according to the second digital identity information of the freight platform included in the business information, and obtain credit from the credit record information Expiration time, and determine that the data expiration time included in the business data is within the obtained credit expiration time, and the credit record information is the information generated by the first blockchain node based on the credit result information sent by the second blockchain node, The credit result information is the information generated after the credit processing of the second blockchain node based on the credit request of the logistics platform is successful.
在一个具体的实施例中,确定业务数据是否符合预设推送条件包括以上各项,相应的,如图4所示,步骤S104包括以下步骤S104-2至步骤S104-10:步骤S104-2,调用 第一区块链中的第一智能合约,确定基于第一智能合约根据业务数据包括的托运方的第一数字身份信息和物流平台的第二数字身份从第一区块链中是否查询到关联的白名单记录信息,是则执行步骤S104-4,否则发送请求失败信息给物流平台;步骤S104-4,确定基于第一智能合约根据业务数据包括的第一标识信息从第一区块链中是否查询到关联的资源转移成功信息,是则执行步骤S104-6,否则发送请求失败信息给物流平台;步骤S104-6,确定基于第一智能合约根据业务数据包括的第一标识信息从第一区块链中是否查询到关联的推送记录信息,是则执行步骤S104-8,否则发送请求失败信息给物流平台;步骤S104-8,基于第一智能合约根据业务信息包括的货运平台的第二数字身份信息从第一区块链中查询关联的授信记录信息;步骤S104-10,从查询到的授信记录信息中获取授信到期时间,并确定业务数据包括的数据到期时间是否在获取的授信到期时间以内,是则确定业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件;否则发送请求失败信息给物流平台。In a specific embodiment, determining whether the service data meets the preset push conditions includes the above items. Correspondingly, as shown in FIG. 4, step S104 includes the following steps S104-2 to S104-10: step S104-2, Call the first smart contract in the first blockchain to determine whether the first digital identity information of the shipper and the second digital identity of the logistics platform included in the business data based on the first smart contract can be queried from the first blockchain If the associated whitelist record information is yes, then perform step S104-4, otherwise send request failure information to the logistics platform; step S104-4, determine based on the first smart contract according to the first identification information included in the business data from the first blockchain If the associated resource transfer success information is queried, if yes, perform step S104-6, otherwise, send request failure information to the logistics platform; step S104-6, determine whether the first identification information included in the business data is based on the first smart contract from the first Whether the associated push record information is queried in the blockchain, step S104-8 is executed, otherwise, the request failure information is sent to the logistics platform; step S104-8, based on the first smart contract according to the first smart contract of the freight platform included in the business information 2. The digital identity information queries the associated credit record information from the first blockchain; step S104-10, obtains the credit expiration time from the queried credit record information, and determines whether the data expiration time included in the business data is being obtained If it is within the credit expiration time, it is determined that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution; otherwise, the request failure information is sent to the logistics platform.
需要指出的是,步骤S104-2至步骤S104-10的执行顺序不限为上述顺序,可彼此互换。通过对托运方是否为白名单用户进行核验,避免了因托运方信用差等因素而带来的麻烦。通过确定是否查询到资源转移成功信息,以确定托运方是否提供了相应运单的运输所需资源,只有在托运方未提供运输所需资源时,第二区块链节点才可基于业务数据进行资源收集处理。通过确定是否查询到推送记录信息,避免了业务数据的重复推送。通过确定业务数据包括的数据到期时间是否在获取的授信到期时间以内,以确定物流平台是否有权限推送业务数据以进行资源收集处理,从而避免了因数据到期时间不在获取的授信到期时间以内而进行的无用推送。It should be pointed out that the execution order of step S104-2 to step S104-10 is not limited to the aforementioned order, and can be interchanged with each other. By verifying whether the shipper is a whitelist user, the trouble caused by factors such as the shipper’s credit difference is avoided. By determining whether the resource transfer success information is queried, it is determined whether the shipper has provided the resources required for transportation of the corresponding waybill. Only when the shipper does not provide the resources required for transportation, the second blockchain node can perform resources based on business data Collection and processing. By determining whether the push record information is queried, the repeated push of business data is avoided. By determining whether the data expiration time included in the business data is within the obtained credit expiration time, to determine whether the logistics platform has the authority to push business data for resource collection and processing, thereby avoiding the credit expiration due to the data expiration time not being obtained Useless push within time.
为了避免使业务数据被篡改,以及使第二区块链节点能够知晓业务数据所关联的至少一个运单的执行情况,本说明书实施例中,如图5所示,步骤S104中若确定业务数据符合预设推送条件,还包括:步骤S105-2,确定业务数据所关联的至少一个运单的通过率;具体的,如图6所示,步骤S105-2包括:步骤S105-22,根据业务数据包括的运单标识信息从第一区块链中查询关联的运单核验记录信息,运单核验记录信息为确定相应的运单处于运输终止状态时,基于第三方提供的货运数据对运单的有效性进行核验处理之后所生成的信息,第三方如货运轨迹监管机构;具体而言,承运方的运输工具中设置有定位装置,该定位装置实时采集运输工具的位置信息,并将采集的位置信息发送给货运轨迹监管机构。物流平台接收托运方和/或承运方发送的运单在各阶段的物流信息,并将该物流信息发送给第一区块链节点,以使第一区块链节点将物流信息保存至第一区块链中;当第一区块链节点根据接收到的物流信息确定运单处于运输终止状态时,从货 运轨迹监管机构获取相应的运输工具的位置信息,并将获取的位置信息与保存的物流信息中的位置信息进行匹配,若匹配成功,则根据表征核验通过的第一状态信息和运单标识信息等生成运单核验记录信息,若匹配失败,则根据表征核验未通过的第二状态信息和运单标识信息等生成运单核验记录信息,并将生成的运单记录信息保存至第一区块链中。以及,在确定业务数据符合预设推送条件时,根据业务数据包括的运单标识信息从第一区块链中查询关联的运单核验记录信息。需要指出的,运单的核验方式不限为上述方式,其可在实际应用中根据需要自行设定。In order to prevent the business data from being tampered with, and to enable the second blockchain node to know the execution status of at least one waybill associated with the business data, in the embodiment of this specification, as shown in FIG. 5, if it is determined in step S104 that the business data conforms to The preset push conditions further include: step S105-2, determining the pass rate of at least one waybill associated with the business data; specifically, as shown in FIG. 6, step S105-2 includes: step S105-22, according to the business data including The identification information of the waybill is to query the associated waybill verification record information from the first blockchain. When the waybill verification record information is to confirm that the corresponding waybill is in the state of transportation termination, after the validity of the waybill is verified and processed based on the shipping data provided by the third party The information generated is a third party such as a freight trajectory supervisory agency; specifically, a positioning device is installed in the carrier's transportation means, which collects the position information of the transportation means in real time, and sends the collected position information to the freight trajectory supervisory mechanism. The logistics platform receives the logistics information at each stage of the waybill sent by the shipper and/or the carrier, and sends the logistics information to the first blockchain node so that the first blockchain node saves the logistics information in the first area In the block chain; when the first block chain node determines that the waybill is in the transportation termination state according to the received logistics information, obtains the location information of the corresponding transportation means from the freight trajectory supervision agency, and combines the obtained location information with the stored logistics information If the matching is successful, the waybill verification record information is generated based on the first status information that has passed the verification and the waybill identification information, and if the matching fails, the waybill verification record information is generated based on the second state information and the waybill identification that have not passed the verification. Information, etc., generate waybill verification record information, and save the generated waybill record information in the first blockchain. And, when it is determined that the business data meets the preset pushing conditions, the associated waybill verification record information is inquired from the first blockchain according to the waybill identification information included in the business data. It should be pointed out that the verification method of the waybill is not limited to the above methods, which can be set according to the needs in the actual application.
步骤S105-24,根据运单核验记录信息,确定核验处理通过的运单的第一数量;具体的,从运单记录信息中获取状态信息,并统计状态信息为第一状态信息的数量,将统计的数量确定为核验处理通过的运单的第一数量。Step S105-24: Determine the first quantity of the waybill passed the verification process according to the waybill verification record information; specifically, obtain the status information from the waybill record information, and count the status information as the quantity of the first status information, and the counted quantity Determined as the first quantity of the waybill passed through the verification process.
步骤S105-26,根据第一数量和业务数据关联的运单的第二数量计算运单的通过率。Steps S105-26: Calculate the passing rate of the waybill according to the first quantity and the second quantity of the waybill associated with the business data.
具体的,将第一数量与第二数量进行相除运算,将运算结果确定为运单的通过率。例如第一数量为8,第二数量为10,通过率=8/10=80%。Specifically, the first quantity is divided by the second quantity, and the result of the calculation is determined as the pass rate of the waybill. For example, the first number is 8, the second number is 10, and the pass rate=8/10=80%.
步骤S105-4,将业务数据和确定的通过率关联保存至第一区块链中;与步骤S105-2和步骤S105-4对应的,步骤S106包括以下步骤S106-4:步骤S106-4,基于第一区块链与第二区块链的跨链传输通道,将业务数据和通过率推送至第二区块链中的第二区块链节点,以使第二区块链节点将业务数据和通过率保存至第二区块链中,并基于第二区块链中的第二智能合约根据业务数据进行资源收集处理。Step S105-4, store the business data and the determined pass rate in the first blockchain; corresponding to step S105-2 and step S105-4, step S106 includes the following step S106-4: step S106-4, Based on the cross-chain transmission channel of the first block chain and the second block chain, the business data and pass rate are pushed to the second block chain node in the second block chain, so that the second block chain node can transfer the business The data and the pass rate are stored in the second blockchain, and resource collection and processing are performed based on the business data based on the second smart contract in the second blockchain.
通过将业务数据保存至区块链中,避免了因业务数据丢失或被篡改而造成的损失,通过计算业务数据关联的运单的通过率,并发送给第二区块链节点,使得第二区块链能够清楚的了解到运单的执行情况,从而基于业务数据进行资源收集处理。By storing the business data in the blockchain, the loss caused by the loss or tampering of the business data is avoided. The pass rate of the waybill associated with the business data is calculated and sent to the second blockchain node to make the second zone The blockchain can clearly understand the execution of the waybill, so as to collect and process resources based on business data.
进一步的,为了使第一区块链节点知晓业务数据推送成功,本说明书实施例中,当第二区块链节点接收到业务数据时,向第一区块链节点发送接收成功信息,相应的,如图7所示,步骤S106之后还包括:步骤S108,基于跨链传输通道接收第二区块链节点发送的接收成功信息;步骤S110,根据业务数据生成推送成功记录信息,将推送成功记录信息保存至第一区块链中;具体的,将业务数据包括的第一标识信息和表征推送成功的状态信息关联记录,并将记录的信息确定为推送成功记录信息,将推送成功记录信息保存至第一区块链中。通过将推送成功记录信息保存至第一区块链中,能够在后续基于该推送成功记录信息避免业务数据的重复推送。Further, in order to make the first blockchain node aware of the successful push of the service data, in the embodiment of this specification, when the second blockchain node receives the service data, it sends the reception success information to the first blockchain node, and the corresponding As shown in FIG. 7, after step S106, it further includes: step S108, receiving the reception success information sent by the second blockchain node based on the cross-chain transmission channel; step S110, generating push success record information based on the business data, and the push success record The information is stored in the first blockchain; specifically, the first identification information included in the business data and the status information that characterizes the successful push are recorded in association, and the recorded information is determined as the push success record information, and the push success record information is saved To the first blockchain. By storing the push success record information in the first blockchain, it is possible to avoid repeated pushes of business data based on the push success record information later.
步骤S112,向物流平台发送推送成功信息。Step S112: Send push success information to the logistics platform.
当托运方提供运输所需资源时,托运方向第二区块链节点发送资源转移请求,第二区块链节点根据资源转移请求进行资源转移处理,即从托运方的资源账户向物流平台的资源账户转移运输所需资源。为了使第一区块链节点在后续的业务数据推送时,能够基于资源转移结果确定业务数据是否符合预设推送条件,第二区块链节点将资源转移处理的处理结果信息发送给第一区块链节点。与之对应的,步骤S108之后,还可包括:基于跨链传输通道接收资源管理机构发送的资源转移成功信息,将接收到的资源转移成功信息与所述业务数据中的第一标识信息关联保存至所述第一区块链中。When the shipper provides the resources required for transportation, the shipper sends a resource transfer request to the second blockchain node, and the second blockchain node performs resource transfer processing according to the resource transfer request, that is, from the resource account of the shipper to the resources of the logistics platform Resources required for account transfer and transportation. In order to enable the first blockchain node to determine whether the business data meets the preset pushing conditions based on the result of the resource transfer when the subsequent business data is pushed, the second blockchain node sends the processing result information of the resource transfer processing to the first area Block chain node. Correspondingly, after step S108, the method may further include: receiving the resource transfer success information sent by the resource management institution based on the cross-chain transmission channel, and storing the received resource transfer success information in association with the first identification information in the service data To the first blockchain.
第一区块链节点接收到物流平台发送的业务数据推送请求时,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设推送条件,则基于第一区块链与第二区块链的跨链传输通道将业务数据推送至第二区块链的第二区块链节点,以使第二区块链节点将业务数据保存至第二区块链中,并进行资源收集处理。由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;通过数据的跨链传输,不仅打破了数据孤岛,实现了数据的互联互通,而且能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。When the first blockchain node receives the business data push request sent by the logistics platform, if it is determined that the business data to be pushed meets the preset push conditions according to the operational information of the logistics platform stored in the first blockchain, it is based on the first zone The cross-chain transmission channel between the block chain and the second block chain pushes business data to the second block chain node of the second block chain, so that the second block chain node saves the business data to the second block chain , And carry out resource collection and processing. As a result, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
以上为资源管理机构作为第二区块链的第二区块链节点,基于接收到的业务数据在链上进行资源收集等处理的过程。本说明书实施例中,资源管理机构作为第二区块链的第二区块链节点,还可在接收到业务数据时,在链下进行资源收集等处理,并将处理结果信息保存至第二区块链中。进一步的,本说明书实施例中,资源管理机构还可不是第二区块链中的节点,相应的,如图8所示,数据推送方法的应用场景包括:物流平台、资源管理机构、接入第一区块链的第一区块链节点、接入第二区块链的第二区块链节点。当第一区块链节点接收到物流平台发送的业务数据推送请求时,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设推送条件,则将业务数据推送给资源管理机构;资源管理机构接收到业务数据时,向第一区块链节点发送接收成功信息,以使第一区块链节点向物流平台发送推送成功信息;以及,资源管理机构将业务数据发送给第二区块链节点,以使第二区块链节点将业务数据保存至第二区块链中;资源管理机构基于接收到的业务数据进行资源收集处理,并将处理结果信息发送给第二区块链节点,以使第二区块链节点将处理结果信息保存至第二区块链中。由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;且资源管理机构作为中转,实现了数据的跨链传输和互联互通,有效的 打破了数据孤岛,能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。The above is the process in which the resource management agency acts as the second blockchain node of the second blockchain and performs processing such as resource collection on the chain based on the received business data. In the embodiment of this specification, the resource management agency, as the second blockchain node of the second blockchain, can also perform processing such as resource collection under the chain when receiving business data, and save the processing result information to the second blockchain. In the blockchain. Further, in the embodiment of this specification, the resource management institution may not be a node in the second blockchain. Correspondingly, as shown in Figure 8, the application scenarios of the data push method include: logistics platform, resource management institution, access The first blockchain node of the first blockchain, and the second blockchain node connected to the second blockchain. When the first blockchain node receives the business data push request sent by the logistics platform, if it is determined that the business data to be pushed meets the preset pushing conditions according to the operational information of the logistics platform stored in the first blockchain, the business data Push to the resource management organization; when the resource management organization receives the business data, it sends the reception success information to the first blockchain node so that the first blockchain node sends the push success information to the logistics platform; and the resource management organization transfers the business The data is sent to the second blockchain node so that the second blockchain node saves the business data in the second blockchain; the resource management agency performs resource collection and processing based on the received business data, and sends the processing result information Give the second blockchain node so that the second blockchain node saves the processing result information in the second blockchain. As a result, the storage of operating information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; and the resource management agency acts as a transit to realize the cross-chain transmission of data And interconnection, effectively breaking the data island, can maximize the use of logistics platform business data, so as to fully realize the value of data.
基于图8所示的应用场景架构,本说明书实施例还提供了另一种数据推送方法。图9为本说明书实施例提供的另一种数据推送方法的流程示意图,图9中的方法能够由图8中的第一区块链节点执行,如图9所示,该方法包括以下步骤:步骤S202,接收物流平台发送的业务数据推送请求,业务数据推送请求包括待推送的业务数据,业务数据为物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;运单为所述物流平台基于所述托运方的托运请求所生成;步骤S204,调用第一区块链中的第一智能合约,基于第一智能合约根据第一区块链中保存的物流平台的运营信息,确定业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件;步骤S206,若是,则将业务数据推送至资源管理机构,以使资源管理机构将业务数据保存至第二区块链中,并使资源管理机构基于业务数据进行资源收集处理。Based on the application scenario architecture shown in FIG. 8, the embodiment of this specification also provides another data push method. FIG. 9 is a schematic flowchart of another data push method provided by an embodiment of this specification. The method in FIG. 9 can be executed by the first blockchain node in FIG. 8. As shown in FIG. 9, the method includes the following steps: Step S202: Receive a business data push request sent by the logistics platform. The business data push request includes the business data to be pushed. The business data is related to the logistics platform based on at least one waybill that is in a transportation terminated state and the shipper has not provided the resources required for transportation. Information is generated; the waybill is generated by the logistics platform based on the consignment request of the shipper; step S204, call the first smart contract in the first blockchain, and save it in the first blockchain based on the first smart contract To determine whether the business data meets the preset push conditions for pushing to the second blockchain corresponding to the resource management agency; step S206, if yes, push the business data to the resource management agency to enable resource management The organization saves the business data in the second blockchain and enables the resource management organization to collect and process resources based on the business data.
步骤S202至步骤S204的实现过程与前述步骤S102至步骤S104的实现过程相似,可参见前述相关描述;不同之处在于,第一区块链节点与资源管理结构进行数据交互,即资源管理机构将白名单用户的用户信息、授信结果信息等发送给第一区块链节点。以及,当资源管理机构接收到业务数据时,将业务数据发送给第二区块链节点,以使第二区块链节点将业务数据保存至第二区块链中。The implementation process of step S202 to step S204 is similar to the implementation process of step S102 to step S104, which can be referred to the foregoing related description; the difference is that the first blockchain node performs data interaction with the resource management structure, that is, the resource management organization will The user information and credit result information of the whitelisted users are sent to the first blockchain node. And, when the resource management institution receives the business data, it sends the business data to the second blockchain node, so that the second blockchain node saves the business data in the second blockchain.
本说明书实施例中,资源管理机构接收到业务数据时,向第一区块链节点发送接收成功信息,相应的,如图10所示,步骤S206之后还包括:步骤S208,接收资源管理机构发送的接收成功信息;步骤S210,根据业务数据生成推送成功记录信息,将推送成功记录信息保存至第一区块链中;步骤S212,向物流平台发送推送成功信息。In the embodiment of this specification, when the resource management institution receives the business data, it sends the reception success message to the first blockchain node. Correspondingly, as shown in FIG. 10, after step S206, it further includes: step S208, receiving the information sent by the resource management institution Step S210, generate push success record information based on the business data, and save the push success record information in the first blockchain; Step S212, send push success information to the logistics platform.
本说明书实施例中,当托运方向第二区块链节点发送资源转移请求以提供运输所需资源时,第二区块链节点根据资源转移请求进行资源转移处理,即从托运方的资源账户向物流平台的资源账户转移运输所需资源。为了使第一区块链节点在后续的业务数据推送时,能够基于该资源转移结果确定业务数据是否符合预设推送条件,本说明书实施例中,步骤S208之后,还可包括:接收资源管理机构发送的资源转移成功信息,将接收到的资源转移成功信息与业务数据中的第一标识信息关联保存至第一区块链中。In the embodiment of this specification, when the shipper sends a resource transfer request to the second blockchain node to provide resources required for transportation, the second blockchain node performs resource transfer processing according to the resource transfer request, that is, from the shipper’s resource account to The resource account of the logistics platform transfers the resources required for transportation. In order to enable the first blockchain node to determine whether the business data meets the preset pushing conditions based on the result of the resource transfer when the subsequent business data is pushed, in the embodiment of this specification, after step S208, it may further include: receiving a resource management agency The sent resource transfer success information associates the received resource transfer success information with the first identification information in the service data and saves it in the first blockchain.
本说明书实施例中,第一区块链节点接收到物流平台发送的业务数据推送请求时,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设推送条件,则将业务数据推送至资源管理机构,以使资源管理机构将业务数据保存至第二区块链中,并基于业务数据进行资源收集处理。由此,基于区块链进行运营信息以及业务 数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;并且资源管理机构作为中转,实现了数据的跨链传输和互联互通,有效的打破了数据孤岛,能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。In the embodiment of this specification, when the first blockchain node receives the business data push request sent by the logistics platform, if it is determined that the business data to be pushed meets the preset push conditions according to the operational information of the logistics platform stored in the first blockchain , Then push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain, and performs resource collection and processing based on the business data. As a result, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; and the resource management agency acts as a transit to realize the cross-chain transmission of data And interconnection, effectively breaking the data island, can maximize the use of logistics platform business data, so as to fully realize the value of data.
对应上述图2至图7描述的数据推送方法,基于相同的技术构思,本说明书实施例还提供一种数据推送装置。图11为本说明书实施例提供的一种数据推送装置的模块组成示意图,该装置用于执行图2至图7描述的数据推送方法,如图11所示,该装置包括:接收模块301,接收物流平台发送的业务数据推送请求,所述业务数据推送请求包括待推送的业务数据,所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;所述运单为所述物流平台基于所述托运方的托运请求所生成;第一确定模块302,调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件;推送模块303,若所述确定模块的确定结果为是,则基于所述第一区块链与所述第二区块链的跨链传输通道,将所述业务数据推送至所述第二区块链中的第二区块链节点,以使所述第二区块链节点将所述业务数据保存至第二区块链中,并基于所述第二区块链中的第二智能合约根据所述业务数据进行资源收集处理。Corresponding to the data pushing method described in FIGS. 2 to 7 above, based on the same technical concept, the embodiment of the present specification also provides a data pushing device. FIG. 11 is a schematic diagram of the module composition of a data push device provided by an embodiment of this specification. The device is used to execute the data push method described in FIG. 2 to FIG. 7. As shown in FIG. 11, the device includes: a receiving module 301 that receives A business data push request sent by a logistics platform, the business data push request includes business data to be pushed, and the business data is based on the logistics platform at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation The waybill is generated by the logistics platform based on the shipper’s consignment request; the first determining module 302 calls the first smart contract in the first blockchain, based on the first A smart contract determines whether the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution according to the operational information of the logistics platform stored in the first blockchain; push module 303. If the determination result of the determining module is yes, push the business data to the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain The second block chain node in the second block chain, so that the second block chain node saves the business data in the second block chain, and based on the second smart contract in the second block chain according to the The business data is collected and processed.
本说明书实施例提供的数据推送装置,接收到物流平台发送的业务数据推送请求时,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设推送条件,则基于第一区块链与第二区块链的跨链传输通道将业务数据推送至第二区块链的第二区块链节点,以使第二区块链节点将业务数据保存至第二区块链中,并进行资源收集处理。由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;通过数据的跨链传输,不仅打破了数据孤岛,实现了数据的互联互通,而且能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。When the data push device provided in the embodiment of this specification receives a business data push request sent by a logistics platform, if it is determined that the business data to be pushed meets the preset pushing conditions according to the operational information of the logistics platform stored in the first blockchain, then Push the business data to the second blockchain node of the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain, so that the second blockchain node can save the business data to the second blockchain. In the blockchain, resource collection and processing are performed. As a result, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
可选地,所述第一确定模块302,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否满足第一预设条件,所述第一预设条件包括以下中的一项或多项:所述托运方为白名单用户、所述业务数据的状态有效;若是,则确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件。Optionally, the first determining module 302 determines whether the business data meets a first preset condition based on the first smart contract and the operation information of the logistics platform stored in the first blockchain , The first preset condition includes one or more of the following: the shipper is a whitelisted user, and the status of the business data is valid; if so, it is determined that the business data meets the requirements corresponding to the resource management agency The preset pushing conditions for pushing on the second blockchain.
可选地,所述业务数据包括:所述托运方的第一数据身份信息和所述物流平台的第 二数字身份信息;所述第一确定模块302,确定基于所述第一智能合约根据所述第一数字身份信息和所述第二数字身份从所述第一区块链中是否查询到关联的白名单记录信息,所述白名单记录信息为接收到所述第二区块链节点发送的白名单用户的用户信息时所生成的信息;所述白名单用户为所述第二区块链节点基于所述物流平台发送的候选白名单用户的用户信息,进行信用评估处理之后所确定的用户;若是,则确定所述托运方是白名单用户。Optionally, the business data includes: the first data identity information of the shipper and the second digital identity information of the logistics platform; the first determination module 302 determines that the first smart contract is based on the Whether the first digital identity information and the second digital identity query the associated whitelist record information from the first blockchain, the whitelist record information is received from the second blockchain node The information generated when the user information of the whitelisted user is whitelisted; the whitelisted user is determined by the second blockchain node based on the user information of the candidate whitelisted user sent by the logistics platform after the credit evaluation process User; if yes, it is determined that the shipper is a whitelisted user.
可选地,所述业务数据包括:第一标识信息、到期时间信息、所述物流平台的第二数字身份信息;所述第一确定模块302,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否满足第二预设条件,所述第二预设条件包括以下中的一项或多项:基于所述第一智能合约根据所述第一标识信息从所述第一区块链中未查询到关联的资源转移成功信息,所述资源转移成功信息为确定所述托运方提供了所述运输所需资源时所保存的信息;基于所述第一智能合约根据所述第一标识信息从所述第一区块链中未查询到关联的推送记录信息,所述推送记录信息为确定所述业务数据推送成功时所生成的信息;基于所述第一智能合约根据所述第二数字身份信息从所述第一区块链中查询关联的授信记录信息,从所述授信记录信息中获取授信到期时间,并确定所述数据到期时间在所述授信到期时间以内,所述授信记录信息为基于所述第二区块链节点发送的授信结果信息所生成的信息,所述授信结果信息为所述第二区块链节点基于所述物流平台的授信请求,进行授信处理成功之后所生成的信息;若是,则确定所述业务数据的状态有效。Optionally, the service data includes: first identification information, expiration time information, and second digital identity information of the logistics platform; the first determination module 302, based on the first smart contract, according to the first The operation information of the logistics platform stored in a blockchain determines whether the business data meets a second preset condition, and the second preset condition includes one or more of the following: based on the first The smart contract does not find the associated resource transfer success information from the first blockchain based on the first identification information, and the resource transfer success information is used when determining that the shipper provides the resources required for transportation. Stored information; based on the first smart contract according to the first identification information, the associated push record information is not queried from the first blockchain, and the push record information is when it is determined that the business data push is successful Generated information; based on the first smart contract according to the second digital identity information, query the associated credit record information from the first blockchain, obtain the credit expiration time from the credit record information, and It is determined that the data expiration time is within the credit expiration time, the credit record information is information generated based on the credit result information sent by the second blockchain node, and the credit result information is the first Second, the blockchain node performs the information generated after the credit processing is successful based on the credit request of the logistics platform; if it is, it is determined that the status of the business data is valid.
可选地,所述装置还包括第二确定模块;所述第二确定模块在所述第一确定模块302确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件之后,确定所述业务数据所关联的至少一个所述运单的通过率;以及,将所述业务数据和所述通过率关联保存至所述第一区块链中;相应的,所述推送模块303,将所述业务数据和所述通过率推送至所述第二区块链中的第二区块链节点。Optionally, the device further includes a second determining module; the second determining module determines in the first determining module 302 that the business data conforms to the preset of pushing to the second blockchain corresponding to the resource management institution After pushing the conditions, determine the pass rate of at least one of the waybills associated with the service data; and store the service data and the pass rate in association with the first blockchain; correspondingly, the The pushing module 303 pushes the business data and the pass rate to the second blockchain node in the second blockchain.
可选地,所述业务数据包括:至少一个所述运单的运单标识信息;所述第二确定模块,根据所述运单标识信息从所述第一区块链中查询关联的运单核验记录信息,所述运单核验记录信息为确定相应的运单处于运输终止状态时,基于第三方提供的货运数据对所述运单的有效性进行核验处理之后所生成的信息;以及,根据所述运单核验记录信息,确定所述核验处理通过的运单的第一数量;根据所述第一数量和所述业务数据关联的所述运单的第二数量,计算所述运单的通过率。Optionally, the business data includes: at least one waybill identification information of the waybill; the second determining module queries the associated waybill verification record information from the first blockchain according to the waybill identification information, The waybill verification record information is information generated after the validity of the waybill is verified based on the shipping data provided by a third party when it is determined that the corresponding waybill is in the transportation termination state; and, according to the waybill verification record information, The first quantity of the waybill passed through the verification process is determined; and the pass rate of the waybill is calculated according to the first quantity and the second quantity of the waybill associated with the business data.
可选地,所述装置还包括:生成模块和第一发送模块;所述接收模块301,在所述推送模块303将所述业务数据推送至所述第二区块链中的第二区块链节点之后,基于所述跨链传输通道接收所述第二区块链节点发送的接收成功信息;所述生成模块,根据所述业务数据生成推送成功记录信息;将所述推送成功记录信息保存至所述第一区块链中;所述第一发送模块,向所述物流平台发送推送成功信息。Optionally, the device further includes: a generating module and a first sending module; the receiving module 301 pushes the business data to the second block in the second blockchain in the pushing module 303 After the chain node, the receiving success information sent by the second blockchain node is received based on the cross-chain transmission channel; the generating module generates push success record information based on the business data; and saves the push success record information To the first blockchain; the first sending module sends push success information to the logistics platform.
可选地,所述装置还包括保存模块;所述接收模块301在所述推送模块303将所述业务数据推送至所述第二区块链中的第二区块链节点之后,基于所述跨链传输通道接收所述第二区块链节点发送的资源转移成功信息,所述资源转移成功信息基于从所述托运方向所述物流平台转移所述运输所需资源的资源转移处理所发送;所述保存模块,将所述资源转移成功信息与所述业务数据中的第一标识信息关联保存至所述第一区块链中。Optionally, the device further includes a saving module; after the pushing module 303 pushes the business data to the second blockchain node in the second blockchain, the receiving module 301 is based on the The cross-chain transmission channel receives the resource transfer success information sent by the second blockchain node, and the resource transfer success information is sent based on the resource transfer process of transferring the resources required for transportation from the consignment to the logistics platform; The storage module associates and saves the resource transfer success information and the first identification information in the service data in the first blockchain.
可选地,所述装置还包括:第二发送模块;所述第二发送模块,若所述第一确定模块302确定所述业务数据不符合向资源管理机构对应的第二区块链进行推送的预设推送条件,则向所述物流平台发送请求失败信息。Optionally, the device further includes: a second sending module; the second sending module, if the first determining module 302 determines that the service data does not comply with the push to the second blockchain corresponding to the resource management institution If the preset push condition is set, the request failure information is sent to the logistics platform.
本说明书实施例提供的数据推送装置,接收到物流平台发送的业务数据推送请求时,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设推送条件,则基于第一区块链与第二区块链的跨链传输通道将业务数据推送至第二区块链的第二区块链节点,以使第二区块链节点将业务数据保存至第二区块链中,并进行资源收集处理。由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;通过数据的跨链传输,不仅打破了数据孤岛,实现了数据的互联互通,而且能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。When the data push device provided in the embodiment of this specification receives a business data push request sent by a logistics platform, if it is determined that the business data to be pushed meets the preset pushing conditions according to the operational information of the logistics platform stored in the first blockchain, then Push the business data to the second blockchain node of the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain, so that the second blockchain node can save the business data to the second blockchain. In the blockchain, resource collection and processing are performed. As a result, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
需要说明的是,本说明书中关于数据推送装置的实施例与本说明书中关于数据推送方法的实施例基于同一发明构思,因此该实施例的具体实施可参见前述对应的数据推送方法的实施,重复之处不再赘述。It should be noted that the embodiment of the data pushing device in this specification and the embodiment of the data pushing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding data pushing method mentioned above, repeat I won’t go into details here.
进一步的,对应上述图9和图10描述的数据推送方法,基于相同的技术构思,本说明书实施例还提供了另一种数据推送装置。图12为本说明书实施例提供的另一种数据推送装置的模块组成示意图,该装置用于执行图9和图10描述的数据推送方法,如图12所示,该装置包括:接收模块401,接收物流平台发送的业务数据推送请求,所述业务数据推送请求包括待推送的业务数据,所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;所述运单为 所述物流平台基于所述托运方的托运请求所生成;第一确定模块402,调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件;推送模块403,若所述确定模块的确定结果为是,则将所述业务数据推送至所述资源管理机构,以使所述资源管理机构将所述业务数据保存至所述第二区块链中,并使所述资源管理机构基于所述业务数据进行资源收集处理。Further, corresponding to the data pushing method described in FIG. 9 and FIG. 10, based on the same technical concept, the embodiment of the present specification also provides another data pushing device. FIG. 12 is a schematic diagram of the module composition of another data pushing device provided by an embodiment of this specification. The device is used to execute the data pushing method described in FIG. 9 and FIG. 10. As shown in FIG. 12, the device includes: a receiving module 401, Receive a business data push request sent by a logistics platform, where the business data push request includes business data to be pushed, and the business data is based on at least one of the logistics platform’s data being in a transportation termination state and the shipper has not provided the resources required for transportation The relevant information of the waybill is generated; the waybill is generated by the logistics platform based on the consignment request of the shipper; the first determining module 402 calls the first smart contract in the first blockchain, based on the The first smart contract determines whether the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution according to the operation information of the logistics platform stored in the first blockchain; Module 403, if the determination result of the determining module is yes, push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain , And enable the resource management agency to perform resource collection processing based on the business data.
本说明书实施例提供的数据推送装置,接收到物流平台发送的业务数据推送请求时,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设推送条件,则将业务数据推送至资源管理机构,以使资源管理机构将业务数据保存至第二区块链中,并基于业务数据进行资源收集处理。由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;并且资源管理机构作为中转,实现了数据的跨链传输和互联互通,有效的打破了数据孤岛,能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。When the data push device provided in the embodiment of this specification receives a business data push request sent by a logistics platform, if it is determined that the business data to be pushed meets the preset pushing conditions according to the operational information of the logistics platform stored in the first blockchain, then Push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain, and performs resource collection and processing based on the business data. As a result, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; and the resource management agency acts as a transit to realize the cross-chain transmission of data And interconnection, effectively breaking the data island, can maximize the use of logistics platform business data, so as to fully realize the value of data.
可选地,所述第一确定模块402,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否满足第一预设条件,所述第一预设条件包括以下中的一项或多项:所述托运方为白名单用户、所述业务数据的状态有效;若是,则确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件。Optionally, the first determining module 402, based on the first smart contract, determines whether the business data meets a first preset condition according to the operation information of the logistics platform stored in the first blockchain , The first preset condition includes one or more of the following: the shipper is a whitelisted user, and the status of the business data is valid; if so, it is determined that the business data meets the requirements corresponding to the resource management agency The preset pushing conditions for pushing on the second blockchain.
可选地,所述业务数据包括:所述托运方的第一数据身份信息和所述物流平台的第二数字身份信息;所述第一确定模块402,确定基于所述第一智能合约根据所述第一数字身份信息和所述第二数字身份从所述第一区块链中是否查询到关联的白名单记录信息,所述白名单记录信息为接收到所述资源管理机构发送的白名单用户的用户信息时所生成的信息;所述白名单用户为所述资源管理机构基于所述物流平台发送的候选白名单用户的用户信息,进行信用评估处理之后所确定的用户;若是,则确定所述托运方是白名单用户。Optionally, the business data includes: the first data identity information of the shipper and the second digital identity information of the logistics platform; the first determination module 402 determines that the first smart contract is based on the Whether the first digital identity information and the second digital identity query the associated whitelist record information from the first blockchain, the whitelist record information is the whitelist sent by the resource management agency The information generated when the user's user information is generated; the whitelisted user is the user determined by the resource management agency based on the user information of the candidate whitelisted user sent by the logistics platform after the credit evaluation process; if it is, it is determined The shipper is a whitelisted user.
可选地,所述业务数据包括:第一标识信息、到期时间信息、所述物流平台的第二数字身份信息;所述第一确定模块402,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否满足第二预设条件,所述第二预设条件包括以下中的一项或多项:基于所述第一智能合约根据所述第一标识信息从所述第一区块链中未查询到关联的资源转移成功信息,所述资源转移成功信息为确定所述 托运方提供了所述运输所需资源时所保存的信息;基于所述第一智能合约根据所述第一标识信息从所述第一区块链中未查询到关联的推送记录信息,所述推送记录信息为确定所述业务数据推送成功时所生成的信息;基于所述第一智能合约根据所述第二数字身份信息从所述第一区块链中查询关联的授信记录信息,从所述授信记录信息中获取授信到期时间,并确定所述数据到期时间在所述授信到期时间以内,所述授信记录信息为基于所述资源管理机构发送的授信结果信息所生成的信息,所述授信结果信息为所述资源管理机构基于所述物流平台的授信请求,进行授信处理成功之后所生成的信息;若是,则确定所述业务数据的状态有效。Optionally, the service data includes: first identification information, expiration time information, and second digital identity information of the logistics platform; the first determination module 402 is based on the first smart contract and according to the first The operation information of the logistics platform stored in a blockchain determines whether the business data meets a second preset condition, and the second preset condition includes one or more of the following: based on the first The smart contract does not find the associated resource transfer success information from the first blockchain based on the first identification information, and the resource transfer success information is used when determining that the shipper provides the resources required for transportation. Stored information; based on the first smart contract according to the first identification information, the associated push record information is not queried from the first blockchain, and the push record information is when it is determined that the business data push is successful Generated information; based on the first smart contract according to the second digital identity information, query the associated credit record information from the first blockchain, obtain the credit expiration time from the credit record information, and It is determined that the data expiry time is within the credit expiration time, the credit record information is information generated based on the credit result information sent by the resource management institution, and the credit result information is based on the resource management institution The credit request of the logistics platform is the information generated after successful credit processing; if it is, it is determined that the status of the business data is valid.
可选地,所述装置还包括第二确定模块;所述第二确定模块在所述第一确定模块402确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件之后,确定所述业务数据所关联的至少一个所述运单的通过率;以及,将所述业务数据和所述通过率关联保存至所述第一区块链中;相应的,所述推送模块403,将所述业务数据和所述通过率推送至所述第二区块链中的第二区块链节点。Optionally, the device further includes a second determining module; the second determining module determines in the first determining module 402 that the business data conforms to the preset of pushing to the second blockchain corresponding to the resource management institution After pushing the conditions, determine the pass rate of at least one of the waybills associated with the service data; and store the service data and the pass rate in association with the first blockchain; correspondingly, the The pushing module 403 pushes the business data and the pass rate to the second blockchain node in the second blockchain.
可选地,所述业务数据包括至少一个所述运单的运单标识信息;所述第二确定模块,根据所述运单标识信息从所述第一区块链中查询关联的运单核验记录信息,所述运单核验记录信息为确定相应的运单处于运输终止状态时,基于第三方提供的货运数据对所述运单的有效性进行核验处理之后所生成的信息;以及,根据所述运单核验记录信息,确定所述核验处理通过的运单的第一数量;根据所述第一数量和所述业务数据关联的所述运单的第二数量,计算所述运单的通过率。Optionally, the business data includes at least one waybill identification information of the waybill; the second determining module queries the associated waybill verification record information from the first blockchain according to the waybill identification information, so The waybill verification record information is the information generated after verifying the validity of the waybill based on the shipping data provided by a third party when it is determined that the corresponding waybill is in the transportation termination state; and, based on the waybill verification record information, it is determined The first quantity of the waybill passed through the verification process; and the pass rate of the waybill is calculated according to the first quantity and the second quantity of the waybill associated with the business data.
可选地,所述装置还包括生成模块和第一发送模块;所述接收模块401,在所述推送模块403将所述业务数据推送至所述第二区块链中的第二区块链节点之后,接收所述第二区块链节点发送的接收成功信息;所述生成模块,根据所述业务数据生成推送成功记录信息;将所述推送成功记录信息保存至所述第一区块链中;所述第一发送模块,向所述物流平台发送推送成功信息。Optionally, the device further includes a generating module and a first sending module; the receiving module 401 pushes the business data to the second blockchain in the second blockchain in the pushing module 403 After the node, receive the reception success information sent by the second blockchain node; the generation module generates push success record information according to the business data; save the push success record information to the first blockchain In; the first sending module, sending push success information to the logistics platform.
可选地,所述装置还包括保存模块;所述接收模块401,在所述推送模块403将所述业务数据推送至所述第二区块链中的第二区块链节点之后,接收所述第二区块链节点发送的资源转移成功信息,所述资源转移成功信息基于从所述托运方向所述物流平台转移所述运输所需资源的资源转移处理所发送;所述保存模块,将所述资源转移成功信息与所述业务数据中的第一标识信息关联保存至所述第一区块链中。Optionally, the device further includes a saving module; the receiving module 401, after the pushing module 403 pushes the business data to the second blockchain node in the second blockchain, receives the The resource transfer success information sent by the second blockchain node, the resource transfer success information is sent based on the resource transfer process of transferring the resources required for transportation from the consignment to the logistics platform; the saving module The resource transfer success information is associated with the first identification information in the service data and stored in the first blockchain.
可选地,所述装置还包括:第二发送模块;所述第二发送模块,若所述第一确定模 块402确定所述业务数据不符合向资源管理机构对应的第二区块链进行推送的预设推送条件,则向所述物流平台发送请求失败信息。Optionally, the device further includes: a second sending module; the second sending module, if the first determining module 402 determines that the service data does not comply with the push to the second blockchain corresponding to the resource management institution If the preset push condition is set, the request failure information is sent to the logistics platform.
本说明书实施例提供的数据推送装置,接收到物流平台发送的业务数据推送请求时,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设推送条件,则将业务数据推送至资源管理机构,以使资源管理机构将业务数据保存至第二区块链中,并基于业务数据进行资源收集处理。由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;并且资源管理机构作为中转,实现了数据的跨链传输和互联互通,有效的打破了数据孤岛,能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。When the data push device provided in the embodiment of this specification receives a business data push request sent by a logistics platform, if it is determined that the business data to be pushed meets the preset pushing conditions according to the operational information of the logistics platform stored in the first blockchain, then Push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain, and performs resource collection and processing based on the business data. As a result, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; and the resource management agency acts as a transit to realize the cross-chain transmission of data And interconnection, effectively breaking the data island, can maximize the use of logistics platform business data, so as to fully realize the value of data.
需要说明的是,本说明书中关于数据推送装置的实施例与本说明书中关于数据推送方法的实施例基于同一发明构思,因此该实施例的具体实施可参见前述对应的数据推送方法的实施,重复之处不再赘述。It should be noted that the embodiment of the data pushing device in this specification and the embodiment of the data pushing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding data pushing method mentioned above, repeat I won’t go into details here.
进一步的,对应上述图2至图7描述的数据推送方法,基于相同的技术构思,本说明书实施例还提供一种数据推送系统。图13为本说明书实施例提供的一种数据推送系统的组成示意图,如图13所示,该系统包括:物流平台501、第一区块链502、资源管理机构对应的第二区块链503;所述物流平台501,基于托运方的托运请求生成运单;以及,基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息,生成待推送的业务数据;根据所述待推送的业务数据,生成业务数据推送请求,向所述第一区块链502的第一区块链节点发送所述业务数据推送请求;所述第一区块链502的第一区块链节点,接收所述物流平台501发送的所述业务数据推送请求;调用所述第一区块链502中的第一智能合约,基于所述第一智能合约根据所述第一区块链502中保存的所述物流平台501的运营信息,确定所述业务数据是否符合向所述第二区块链503进行推送的预设推送条件;若是,则基于所述第一区块链501与所述第二区块链503的跨链传输通道,将所述业务数据推送至所述第二区块链503中的第二区块链节点;所述第二区块链503的所述第二区块链节点,将所述业务数据保存至所述第二区块链503中,调用所述第二区块链503中的第二智能合约,基于所述第二智能合约根据所述业务数据进行资源收集处理。Further, corresponding to the data push method described in FIG. 2 to FIG. 7, based on the same technical concept, the embodiment of the present specification also provides a data push system. FIG. 13 is a schematic diagram of the composition of a data push system provided by an embodiment of the specification. As shown in FIG. 13, the system includes: a logistics platform 501, a first blockchain 502, and a second blockchain 503 corresponding to a resource management institution The logistics platform 501 generates a waybill based on the shipper’s consignment request; and, based on the relevant information of at least one waybill that is in a transportation terminated state and the shipper has not provided the resources required for transportation, generates the business data to be pushed; The business data to be pushed, a business data push request is generated, and the business data push request is sent to the first blockchain node of the first blockchain 502; the first block of the first blockchain 502 The chain node receives the business data push request sent by the logistics platform 501; calls the first smart contract in the first blockchain 502, based on the first smart contract according to the first blockchain 502 The operation information of the logistics platform 501 stored in the, determines whether the business data meets the preset pushing conditions for pushing to the second blockchain 503; if so, based on the first blockchain 501 and the The cross-chain transmission channel of the second blockchain 503 pushes the business data to the second blockchain node in the second blockchain 503; the second blockchain node of the second blockchain 503 The blockchain node saves the business data in the second blockchain 503, calls the second smart contract in the second blockchain 503, and based on the second smart contract according to the business data Perform resource collection and processing.
本说明书实施例提供的数据推送系统,第一区块链节点接收到物流平台发送的业务数据推送请求时,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设推送条件,则基于第一区块链与第二区块链的跨链传输通道将业务数据推送 至第二区块链的第二区块链节点,以使第二区块链节点将业务数据保存至第二区块链中,并进行资源收集处理。由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;通过数据的跨链传输,不仅打破了数据孤岛,实现了数据的互联互通,而且能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。In the data push system provided by the embodiment of this specification, when the first blockchain node receives the business data push request sent by the logistics platform, if it is determined that the business data to be pushed conforms to the operational information of the logistics platform stored in the first blockchain The preset push condition is to push the business data to the second blockchain node of the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain, so that the second blockchain node will The business data is stored in the second blockchain, and resources are collected and processed. As a result, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
需要说明的是,本说明书中关于数据推送系统的实施例与本说明书中关于数据推送方法的实施例基于同一发明构思,因此该实施例的具体实施可参见前述对应的数据推送方法的实施,重复之处不再赘述。It should be noted that the embodiment of the data push system in this specification and the embodiment of the data push method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding data push method mentioned above, repeat I won’t go into details here.
进一步的,对应上述图9至图10描述的数据推送方法,基于相同的技术构思,本说明书实施例还提供一种数据推送系统。图14为本说明书实施例提供的一种数据推送系统的组成示意图,如图14所示,该系统包括:物流平台601、第一区块链602、资源管理机构603、第二区块链604;所述物流平台601,基于托运方的托运请求生成运单;以及,基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息,生成待推送的业务数据;根据所述待推送的业务数据,生成业务数据推送请求,向所述第一区块链602的第一区块链节点发送所述业务数据推送请求;所述第一区块链602的第一区块链节点,接收所述物流平台601发送的所述业务数据推送请求;调用所述第一区块链602中的第一智能合约,基于所述第一智能合约根据所述第一区块链602中保存的所述物流平台601的运营信息,确定所述业务数据是否符合向所述资源管理机构603对应的第二区块链604进行推送的预设推送条件;若是,则将所述业务数据推送至所述资源管理机构603;所述资源管理机构603,接收所述第一区块链节点推送的所述业务数据,将所述业务数据保存至所述第二区块链604中,并基于所述业务数据进行资源收集处理。Further, corresponding to the data push method described in FIG. 9 to FIG. 10, based on the same technical concept, the embodiment of this specification also provides a data push system. Figure 14 is a schematic diagram of the composition of a data push system provided by an embodiment of this specification. As shown in Figure 14, the system includes: a logistics platform 601, a first blockchain 602, a resource management agency 603, and a second blockchain 604 The logistics platform 601 generates a waybill based on the shipper’s consignment request; and, based on the relevant information of at least one waybill that is in the transportation termination state and the shipper has not provided the resources required for transportation, generates the business data to be pushed; The business data to be pushed, a business data push request is generated, and the business data push request is sent to the first blockchain node of the first blockchain 602; the first block of the first blockchain 602 The chain node receives the business data push request sent by the logistics platform 601; calls the first smart contract in the first blockchain 602, based on the first smart contract according to the first blockchain 602 The operation information of the logistics platform 601 stored in the, it is determined whether the business data meets the preset pushing conditions for pushing to the second blockchain 604 corresponding to the resource management institution 603; if so, the business data Push to the resource management agency 603; the resource management agency 603 receives the business data pushed by the first blockchain node, saves the business data in the second blockchain 604, and Perform resource collection processing based on the business data.
本说明书实施例提供的数据推送系统,第一区块链节点接收到物流平台发送的业务数据推送请求时,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设推送条件,则将业务数据推送至资源管理机构,以使资源管理机构将业务数据保存至第二区块链中,并基于业务数据进行资源收集处理。由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;并且资源管理机构作为中转,实现了数据的跨链传输和互联互通,有效的打破了数据孤岛,能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。In the data push system provided by the embodiment of this specification, when the first blockchain node receives the business data push request sent by the logistics platform, if it is determined that the business data to be pushed conforms to the operational information of the logistics platform stored in the first blockchain The preset push conditions are to push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain, and performs resource collection and processing based on the business data. As a result, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; and the resource management agency acts as a transit to realize the cross-chain transmission of data And interconnection, effectively breaking the data island, can maximize the use of logistics platform business data, so as to fully realize the value of data.
需要说明的是,本说明书中关于数据推送系统的实施例与本说明书中关于数据推送 方法的实施例基于同一发明构思,因此该实施例的具体实施可参见前述对应的数据推送方法的实施,重复之处不再赘述。It should be noted that the embodiment of the data push system in this specification and the embodiment of the data push method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding data push method mentioned above, repeat I won’t go into details here.
进一步地,对应上述描述的数据推送方法,基于相同的技术构思,本说明书实施例还提供一种数据推送设备,该设备用于执行上述的数据推送方法,图15为本说明书实施例提供的一种数据推送设备的结构示意图。Further, corresponding to the data pushing method described above, based on the same technical concept, an embodiment of this specification also provides a data pushing device, which is used to execute the above data pushing method. A schematic diagram of the structure of a data push device.
如图15所示,数据推送设备可因配置或性能不同而产生比较大的差异,可包括一个或一个以上的处理器701和存储器702,存储器702中可存储有一个或一个以上存储应用程序或数据。存储器702可是短暂存储或持久存储。存储在存储器702的应用程序可包括一个或一个以上模块(图示未示出),每个模块可包括数据推送设备中的一系列计算机可执行指令。更进一步地,处理器701可设置为与存储器702通信,在数据推送设备上执行存储器702中的一系列计算机可执行指令。数据推送设备还可包括一个或一个以上电源703,一个或一个以上有线或无线网络接口704,一个或一个以上输入输出接口705,一个或一个以上键盘706等。As shown in Figure 15, the data push device may have relatively large differences due to different configurations or performances, and may include one or more processors 701 and a memory 702. The memory 702 may store one or more storage applications or data. The memory 702 may be short-term storage or persistent storage. The application program stored in the memory 702 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions in the data pushing device. Furthermore, the processor 701 may be configured to communicate with the memory 702, and execute a series of computer-executable instructions in the memory 702 on the data pushing device. The data push device may also include one or more power sources 703, one or more wired or wireless network interfaces 704, one or more input and output interfaces 705, one or more keyboards 706, and so on.
在一个具体的实施例中,数据推送设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可包括一个或一个以上模块,且每个模块可包括对数据推送设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:接收物流平台发送的业务数据推送请求,所述业务数据推送请求包括待推送的业务数据,所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;所述运单为所述物流平台基于所述托运方的托运请求所生成;调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件;若是,则基于所述第一区块链与所述第二区块链的跨链传输通道,将所述业务数据推送至所述第二区块链中的第二区块链节点,以使所述第二区块链节点将所述业务数据保存至第二区块链中,并基于所述第二区块链中的第二智能合约根据所述业务数据进行资源收集处理。In a specific embodiment, the data push device includes a memory and one or more programs, one or more programs are stored in the memory, and one or more programs may include one or more modules, and each Each module may include a series of computer-executable instructions in the data push device, and is configured to be executed by one or more processors. The one or more programs include computer-executable instructions for performing the following: A business data push request, the business data push request includes business data to be pushed, and the business data is based on the logistics platform based on at least one waybill that is in a transportation terminated state and the shipper has not provided the resources required for transportation. Generated; the waybill is generated by the logistics platform based on the shipper’s consignment request; calling the first smart contract in the first blockchain, based on the first smart contract according to the first block The operation information of the logistics platform stored in the chain determines whether the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution; if so, based on the first blockchain and The cross-chain transmission channel of the second blockchain pushes the business data to the second blockchain node in the second blockchain, so that the second blockchain node transfers the business The data is stored in the second blockchain, and resource collection processing is performed according to the business data based on the second smart contract in the second blockchain.
本说明书实施例提供的数据推送设备,接收到物流平台发送的业务数据推送请求时,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设推送条件,则基于第一区块链与第二区块链的跨链传输通道将业务数据推送至第二区块链的第二区块链节点,以使第二区块链节点将业务数据保存至第二区块链中,并进行资源收 集处理。由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;通过数据的跨链传输,不仅打破了数据孤岛,实现了数据的互联互通,而且能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。When the data push device provided in the embodiment of this specification receives the business data push request sent by the logistics platform, if it is determined that the business data to be pushed meets the preset pushing conditions according to the operational information of the logistics platform stored in the first blockchain, then Push the business data to the second blockchain node of the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain, so that the second blockchain node can save the business data to the second blockchain. In the blockchain, resource collection and processing are performed. As a result, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
可选地,计算机可执行指令在被执行时,所述基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件,包括:基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否满足第一预设条件,所述第一预设条件包括以下中的一项或多项:所述托运方为白名单用户、所述业务数据的状态有效;若是,则确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件。Optionally, when the computer-executable instructions are executed, the first smart contract is based on the operation information of the logistics platform stored in the first blockchain to determine whether the business data conforms to the resource The preset pushing conditions for pushing on the second blockchain corresponding to the management agency include: determining the business data based on the first smart contract according to the operation information of the logistics platform stored in the first blockchain Whether the first preset condition is met, the first preset condition includes one or more of the following: the shipper is a whitelisted user, and the status of the service data is valid; if so, the service data is determined Meet the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency.
可选地,计算机可执行指令在被执行时,所述业务数据包括:所述托运方的第一数据身份信息和所述物流平台的第二数字身份信息;基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述托运方为白名单用户,包括:确定基于所述第一智能合约根据所述第一数字身份信息和所述第二数字身份从所述第一区块链中是否查询到关联的白名单记录信息,所述白名单记录信息为接收到所述第二区块链节点发送的白名单用户的用户信息时所生成的信息;所述白名单用户为所述第二区块链节点基于所述物流平台发送的候选白名单用户的用户信息,进行信用评估处理之后所确定的用户;若是,则确定所述托运方是白名单用户。Optionally, when the computer-executable instructions are executed, the business data includes: the first data identity information of the shipper and the second digital identity information of the logistics platform; The operation information of the logistics platform stored in the first blockchain and determining that the shipper is a whitelisted user includes: determining based on the first smart contract according to the first digital identity information and the second Whether the digital identity finds the associated whitelist record information from the first blockchain, the whitelist record information is generated when the user information of the whitelisted user sent by the second blockchain node is received Information; the whitelisted user is the user determined by the second blockchain node based on the user information of the candidate whitelisted user sent by the logistics platform after the credit evaluation process; if so, it is determined that the shipper is Whitelist users.
可选地,计算机可执行指令在被执行时,所述业务数据包括:第一标识信息、到期时间信息、所述物流平台的第二数字身份信息;基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据的状态有效,包括:基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否满足第二预设条件,所述第二预设条件包括以下中的一项或多项:基于所述第一智能合约根据所述第一标识信息从所述第一区块链中未查询到关联的资源转移成功信息,所述资源转移成功信息为确定所述托运方提供了所述运输所需资源时所保存的信息;基于所述第一智能合约根据所述第一标识信息从所述第一区块链中未查询到关联的推送记录信息,所述推送记录信息为确定所述业务数据推送成功时所生成的信息;基于所述第一智能合约根据所述第二数字身份信息从所述第一区块链中查询关联的授信记录信息,从所述授信记录信息中获取授信到期时间,并确定所述数据到期时间在所述授 信到期时间以内,所述授信记录信息为基于所述第二区块链节点发送的授信结果信息所生成的信息,所述授信结果信息为所述第二区块链节点基于所述物流平台的授信请求,进行授信处理成功之后所生成的信息;若是,则确定所述业务数据的状态有效。Optionally, when the computer-executable instructions are executed, the business data includes: first identification information, expiration time information, and second digital identity information of the logistics platform; based on the first smart contract according to the The operation information of the logistics platform stored in the first blockchain and determining that the status of the business data is valid includes: based on the first smart contract according to the logistics platform stored in the first blockchain Operating information to determine whether the business data meets a second preset condition, the second preset condition includes one or more of the following: based on the first smart contract and according to the first identification information from the The associated resource transfer success information is not queried in the first blockchain, and the resource transfer success information is the information saved when it is determined that the shipper provides the resources required for transportation; based on the first smart contract The first identification information does not find associated push record information from the first blockchain, and the push record information is information generated when it is determined that the business data push is successful; based on the first smart contract According to the second digital identity information, query the associated credit record information from the first blockchain, obtain the credit expiration time from the credit record information, and determine that the data expiration time is when the credit is reached Within the period of time, the credit record information is information generated based on the credit result information sent by the second blockchain node, and the credit result information is the credit granted by the second blockchain node based on the logistics platform Request, information generated after successful credit processing; if so, it is determined that the status of the business data is valid.
可选地,计算机可执行指令在被执行时,确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件之后,还包括:确定所述业务数据所关联的至少一个所述运单的通过率;将所述业务数据和所述通过率关联保存至所述第一区块链中;所述将所述业务数据推送至所述第二区块链中的第二区块链节点,包括:将所述业务数据和所述通过率推送至所述第二区块链中的第二区块链节点。Optionally, when the computer-executable instructions are executed, after determining that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency, the method further includes: determining that the business data is associated The pass rate of at least one of the air waybills; store the business data and the pass rate in association with the first blockchain; push the business data to the second block in the second blockchain Two blockchain nodes, including: pushing the business data and the pass rate to a second blockchain node in the second blockchain.
可选地,计算机可执行指令在被执行时,所述业务数据包括:至少一个所述运单的运单标识信息;所述确定所述业务数据所关联的至少一个所述运单的通过率,包括:根据所述运单标识信息从所述第一区块链中查询关联的运单核验记录信息,所述运单核验记录信息为确定相应的运单处于运输终止状态时,基于第三方提供的货运数据对所述运单的有效性进行核验处理之后所生成的信息;根据所述运单核验记录信息,确定所述核验处理通过的运单的第一数量;根据所述第一数量和所述业务数据关联的所述运单的第二数量,计算所述运单的通过率。Optionally, when the computer-executable instructions are executed, the service data includes: at least one waybill identification information of the waybill; and the determining the pass rate of the at least one waybill associated with the service data includes: According to the identification information of the waybill, the associated waybill verification record information is queried from the first blockchain. When the waybill verification record information is to determine that the corresponding waybill is in the state of transportation termination, the freight data provided by the third party The information generated after the validity of the waybill is verified and processed; the first quantity of the waybill passed through the verification process is determined according to the verification record information of the waybill; the waybill associated with the business data according to the first quantity Calculate the passing rate of the air waybill.
可选地,计算机可执行指令在被执行时,所述将所述业务数据推送至所述第二区块链中的第二区块链节点之后,还包括:基于所述跨链传输通道接收所述第二区块链节点发送的接收成功信息;根据所述业务数据生成推送成功记录信息;将所述推送成功记录信息保存至所述第一区块链中;向所述物流平台发送推送成功信息。Optionally, when the computer-executable instructions are executed, after pushing the business data to the second blockchain node in the second blockchain, the method further includes: receiving based on the cross-chain transmission channel The receiving success information sent by the second blockchain node; generating push success record information according to the business data; saving the push success record information in the first blockchain; sending pushes to the logistics platform Success message.
可选地,计算机可执行指令在被执行时,所述将所述业务数据推送至所述第二区块链中的第二区块链节点之后,还包括:基于所述跨链传输通道接收所述第二区块链节点发送的资源转移成功信息,所述资源转移成功信息基于从所述托运方向所述物流平台转移所述运输所需资源的资源转移处理所发送;将所述资源转移成功信息与所述业务数据中的第一标识信息关联保存至所述第一区块链中。Optionally, when the computer-executable instructions are executed, after pushing the business data to the second blockchain node in the second blockchain, the method further includes: receiving based on the cross-chain transmission channel The resource transfer success information sent by the second blockchain node, the resource transfer success information is sent based on the resource transfer process of transferring the resources required for transportation from the consignment to the logistics platform; transferring the resources The success information is associated with the first identification information in the business data and stored in the first blockchain.
可选地,计算机可执行指令在被执行时,所述方法还包括:若确定所述业务数据不符合向资源管理机构对应的第二区块链进行推送的预设推送条件,则向所述物流平台发送请求失败信息。Optionally, when the computer-executable instructions are executed, the method further includes: if it is determined that the business data does not meet the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution, sending the The logistics platform sends the request failure information.
本说明书实施例提供的数据推送设备,接收到物流平台发送的业务数据推送请求时,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设 推送条件,则基于第一区块链与第二区块链的跨链传输通道将业务数据推送至第二区块链的第二区块链节点,以使第二区块链节点将业务数据保存至第二区块链中,并进行资源收集处理。由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;通过数据的跨链传输,不仅打破了数据孤岛,实现了数据的互联互通,而且能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。When the data push device provided in the embodiment of this specification receives the business data push request sent by the logistics platform, if it is determined that the business data to be pushed meets the preset pushing conditions according to the operational information of the logistics platform stored in the first blockchain, then Push the business data to the second blockchain node of the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain, so that the second blockchain node can save the business data to the second blockchain. In the blockchain, resource collection and processing are performed. As a result, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
在另一个具体的实施例中,数据推送设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可包括一个或一个以上模块,且每个模块可包括对数据推送设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:接收物流平台发送的业务数据推送请求,所述业务数据推送请求包括待推送的业务数据,所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;所述运单为所述物流平台基于所述托运方的托运请求所生成;调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件;若是,则将所述业务数据推送至所述资源管理机构,以使所述资源管理机构将所述业务数据保存至所述第二区块链中,并使所述资源管理机构基于所述业务数据进行资源收集处理。In another specific embodiment, the data push device includes a memory and one or more programs, wherein one or more programs are stored in the memory, and the one or more programs may include one or more modules, and Each module may include a series of computer-executable instructions in the data push device, and is configured to be executed by one or more processors. The one or more programs include computer-executable instructions for performing the following: The business data push request includes the business data to be pushed, and the business data is related information of the logistics platform based on at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation The waybill is generated by the logistics platform based on the shipper’s consignment request; the first smart contract in the first blockchain is invoked, based on the first smart contract according to the first area The operation information of the logistics platform stored in the blockchain determines whether the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency; if so, the business data is pushed to all The resource management agency, so that the resource management agency saves the business data in the second blockchain, and enables the resource management agency to perform resource collection processing based on the business data.
可选地,计算机可执行指令在被执行时,所述基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件,包括:基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否满足第一预设条件,所述第一预设条件包括以下中的一项或多项:所述托运方为白名单用户、所述业务数据的状态有效;若是,则确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件。Optionally, when the computer-executable instructions are executed, the first smart contract is based on the operation information of the logistics platform stored in the first blockchain to determine whether the business data conforms to the resource The preset pushing conditions for pushing on the second blockchain corresponding to the management agency include: determining the business data based on the first smart contract according to the operation information of the logistics platform stored in the first blockchain Whether the first preset condition is met, the first preset condition includes one or more of the following: the shipper is a whitelisted user, and the status of the service data is valid; if so, the service data is determined Meet the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency.
可选地,计算机可执行指令在被执行时,确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件之后,还包括:确定所述业务数据所关联的至少一个所述运单的通过率;将所述业务数据和所述通过率关联保存至所述第一区块链中;所述将所述业务数据推送至所述资源管理机构,包括:将所述业务数据和所述通过率推送至所述资源管理机构。Optionally, when the computer-executable instructions are executed, after determining that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency, the method further includes: determining that the business data is associated At least one pass rate of the waybill; storing the business data and the pass rate in association with the first blockchain; pushing the business data to the resource management agency includes: The service data and the pass rate are pushed to the resource management agency.
本说明书实施例提供的数据推送设备,接收到物流平台发送的业务数据推送请求时,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设推送条件,则将业务数据推送至资源管理机构,以使资源管理机构将业务数据保存至第二区块链中,并基于业务数据进行资源收集处理。由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;并且资源管理机构作为中转,实现了数据的跨链传输和互联互通,有效的打破了数据孤岛,能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。When the data push device provided in the embodiment of this specification receives the business data push request sent by the logistics platform, if it is determined that the business data to be pushed meets the preset pushing conditions according to the operational information of the logistics platform stored in the first blockchain, then Push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain, and performs resource collection and processing based on the business data. As a result, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; and the resource management agency acts as a transit to realize the cross-chain transmission of data And interconnection, effectively breaking the data island, can maximize the use of logistics platform business data, so as to fully realize the value of data.
本说明书中关于数据推送设备的实施例与本说明书中关于数据推送方法的实施例基于同一发明构思,因此该实施例的具体实施可参见前述对应的数据推送方法的实施,重复之处不再赘述。The embodiment of the data push device in this specification is based on the same inventive concept as the embodiment of the data push method in this specification. Therefore, the specific implementation of this embodiment can refer to the implementation of the corresponding data push method mentioned above, and the repetition will not be repeated here. .
对应上述描述的数据推送方法,基于相同的技术构思,本说明书实施例还提供了一种存储介质,用于存储计算机可执行指令,一个具体的实施例中,该存储介质可为U盘、光盘、硬盘等,该存储介质存储的计算机可执行指令在被处理器执行时,能实现以下流程:接收物流平台发送的业务数据推送请求,所述业务数据推送请求包括待推送的业务数据,所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;所述运单为所述物流平台基于所述托运方的托运请求所生成;调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件;若是,则基于所述第一区块链与所述第二区块链的跨链传输通道,将所述业务数据推送至所述第二区块链中的第二区块链节点,以使所述第二区块链节点将所述业务数据保存至第二区块链中,并基于所述第二区块链中的第二智能合约根据所述业务数据进行资源收集处理。Corresponding to the data push method described above, based on the same technical concept, the embodiment of this specification also provides a storage medium for storing computer-executable instructions. In a specific embodiment, the storage medium may be a U disk or an optical disk. , Hard disk, etc., when the computer executable instructions stored in the storage medium are executed by the processor, the following process can be realized: receiving the business data push request sent by the logistics platform, the business data pushing request includes the business data to be pushed, The business data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation termination state and the shipper has not provided the resources required for transportation; the waybill is generated by the logistics platform based on the consignment request of the shipper ; Invoke the first smart contract in the first block chain, and determine whether the business data conforms to the direction based on the first smart contract according to the operational information of the logistics platform stored in the first block chain The second block chain corresponding to the resource management agency pushes the preset pushing conditions; if yes, push the business data to the cross-chain transmission channel based on the first block chain and the second block chain The second block chain node in the second block chain, so that the second block chain node saves the business data in the second block chain, and based on the second block chain The second smart contract performs resource collection processing based on the business data.
本说明书实施例提供的存储介质存储的计算机可执行指令在被处理器执行时,接收物流平台发送的业务数据推送请求,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设推送条件,则基于第一区块链与第二区块链的跨链传输通道将业务数据推送至第二区块链的第二区块链节点,以使第二区块链节点将业务数据保存至第二区块链中,并进行资源收集处理。由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;通过数据的跨链传输,不仅打破了数据孤岛,实现了数据的互联互通,而且能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。When the computer-executable instructions stored in the storage medium provided in the embodiments of this specification are executed by the processor, they receive the business data push request sent by the logistics platform. If the operation information of the logistics platform stored in the first blockchain is determined to be pushed If the business data meets the preset push conditions, the business data will be pushed to the second block chain node of the second block chain based on the cross-chain transmission channel of the first block chain and the second block chain, so that the second block chain The chain node saves the business data in the second blockchain and performs resource collection processing. As a result, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件,包括:基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否满足第一预设条件,所述第一预设条件包括以下中的一项或多项:所述托运方为白名单用户、所述业务数据的状态有效;若是,则确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the first smart contract based on the operation information of the logistics platform stored in the first blockchain determines the Whether the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency includes: operating the logistics platform stored in the first blockchain based on the first smart contract Information to determine whether the service data meets a first preset condition, the first preset condition includes one or more of the following: the shipper is a whitelisted user, and the status of the service data is valid; if so , It is determined that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述业务数据包括:所述托运方的第一数据身份信息和所述物流平台的第二数字身份信息;基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述托运方为白名单用户,包括:确定基于所述第一智能合约根据所述第一数字身份信息和所述第二数字身份从所述第一区块链中是否查询到关联的白名单记录信息,所述白名单记录信息为接收到所述第二区块链节点发送的白名单用户的用户信息时所生成的信息;所述白名单用户为所述第二区块链节点基于所述物流平台发送的候选白名单用户的用户信息,进行信用评估处理之后所确定的用户;若是,则确定所述托运方是白名单用户。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the business data includes: the first data identity information of the shipper and the second digital identity information of the logistics platform; The first smart contract determines that the shipper is a whitelist user based on the operation information of the logistics platform stored in the first blockchain, including: determining that the first smart contract is based on the first number Whether the identity information and the second digital identity query the associated whitelist record information from the first blockchain, the whitelist record information is the whitelist user who received the whitelist sent by the second blockchain node The whitelisted user is the user determined by the second blockchain node based on the user information of the candidate whitelisted user sent by the logistics platform after the credit evaluation process; if yes, It is determined that the shipper is a whitelisted user.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述业务数据包括:第一标识信息、到期时间信息、所述物流平台的第二数字身份信息;基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据的状态有效,包括:基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否满足第二预设条件,所述第二预设条件包括以下中的一项或多项:基于所述第一智能合约根据所述第一标识信息从所述第一区块链中未查询到关联的资源转移成功信息,所述资源转移成功信息为确定所述托运方提供了所述运输所需资源时所保存的信息;基于所述第一智能合约根据所述第一标识信息从所述第一区块链中未查询到关联的推送记录信息,所述推送记录信息为确定所述业务数据推送成功时所生成的信息;基于所述第一智能合约根据所述第二数字身份信息从所述第一区块链中查询关联的授信记录信息,从所述授信记录信息中获取授信到期时间,并确定所述数据到期时间在所述授信到期时间以内,所述授信记录信息为基于所述第二区块链节点发送的授信结果信息所生成的信息,所述授信结果信息为所述第二区块链节点基于所述物流平台的授信请求,进行授信处理成功之后所生成的信息;若是,则确定所述业务数据的状态有效。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the service data includes: first identification information, expiration time information, and second digital identity information of the logistics platform; based on the The first smart contract determines that the status of the business data is valid according to the operational information of the logistics platform stored in the first blockchain, including: based on the first smart contract according to the first blockchain The stored operation information of the logistics platform determines whether the business data meets a second preset condition, and the second preset condition includes one or more of the following: based on the first smart contract according to the The first identification information does not find the associated resource transfer success information from the first blockchain, and the resource transfer success information is the information saved when it is determined that the shipper provides the resources required for transportation; The first smart contract does not find associated push record information from the first blockchain according to the first identification information, and the push record information is information generated when it is determined that the business data push is successful; Based on the first smart contract and according to the second digital identity information, the associated credit record information is inquired from the first blockchain, the credit expiration time is obtained from the credit record information, and the date of the data is determined The expiration time is within the credit expiration time, the credit record information is information generated based on the credit result information sent by the second blockchain node, and the credit result information is the second blockchain node Based on the credit request of the logistics platform, the information generated after the credit processing is successful; if so, it is determined that the status of the business data is valid.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件之后,还包括:确定所述业务数据所关联的至少一个所述运单的通过率;将所述业务数据和所述通过率关联保存至所述第一区块链中;所述将所述业务数据推送至所述第二区块链中的第二区块链节点,包括:将所述业务数据和所述通过率推送至所述第二区块链中的第二区块链节点。Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, after determining that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution, the method further includes: determining The pass rate of at least one of the air waybills associated with the service data; store the service data and the pass rate in association with the first blockchain; and push the service data to the first blockchain; 2. The second block chain node in the block chain includes: pushing the business data and the pass rate to the second block chain node in the second block chain.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述业务数据包括:至少一个所述运单的运单标识信息;所述确定所述业务数据所关联的至少一个所述运单的通过率,包括:根据所述运单标识信息从所述第一区块链中查询关联的运单核验记录信息,所述运单核验记录信息为确定相应的运单处于运输终止状态时,基于第三方提供的货运数据对所述运单的有效性进行核验处理之后所生成的信息;根据所述运单核验记录信息,确定所述核验处理通过的运单的第一数量;根据所述第一数量和所述业务数据关联的所述运单的第二数量,计算所述运单的通过率。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the service data includes: at least one of the waybill identification information of the waybill; The passing rate of the waybill includes: querying the associated waybill verification record information from the first blockchain according to the waybill identification information. The waybill verification record information is based on the third party when it is determined that the corresponding waybill is in the transportation termination state. The provided shipping data is the information generated after the validity of the air waybill is verified; according to the information of the air waybill verification record, the first quantity of the waybill passed the verification process is determined; according to the first quantity and the The second quantity of the waybill associated with the business data is used to calculate the passing rate of the waybill.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述将所述业务数据推送至所述第二区块链中的第二区块链节点之后,还包括:基于所述跨链传输通道接收所述第二区块链节点发送的接收成功信息;根据所述业务数据生成推送成功记录信息;将所述推送成功记录信息保存至所述第一区块链中;向所述物流平台发送推送成功信息。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, after pushing the business data to the second blockchain node in the second blockchain, the method further includes: The cross-chain transmission channel receives the reception success information sent by the second blockchain node; generates push success record information according to the business data; saves the push success record information in the first blockchain; Send push success information to the logistics platform.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述将所述业务数据推送至所述第二区块链中的第二区块链节点之后,还包括:基于所述跨链传输通道接收所述第二区块链节点发送的资源转移成功信息,所述资源转移成功信息基于从所述托运方向所述物流平台转移所述运输所需资源的资源转移处理所发送;将所述资源转移成功信息与所述业务数据中的第一标识信息关联保存至所述第一区块链中。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, after pushing the business data to the second blockchain node in the second blockchain, the method further includes: The cross-chain transmission channel receives the resource transfer success information sent by the second blockchain node, and the resource transfer success information is based on the resource transfer process of transferring the resources required for transportation from the consignment to the logistics platform Send; associate the resource transfer success information with the first identification information in the service data and save to the first blockchain.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述方法还包括:若确定所述业务数据不符合向资源管理机构对应的第二区块链进行推送的预设推送条件,则向所述物流平台发送请求失败信息。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the method further includes: if it is determined that the business data does not conform to the preset push to the second blockchain corresponding to the resource management institution Push conditions, then send request failure information to the logistics platform.
本说明书实施例提供的存储介质存储的计算机可执行指令在被处理器执行时,接收物流平台发送的业务数据推送请求,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设推送条件,则基于第一区块链与第二区块链的跨链传输通道将业务数据推送至第二区块链的第二区块链节点,以使第二区块链节点将业务数 据保存至第二区块链中,并进行资源收集处理。由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;通过数据的跨链传输,不仅打破了数据孤岛,实现了数据的互联互通,而且能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。When the computer-executable instructions stored in the storage medium provided in the embodiments of this specification are executed by the processor, they receive the business data push request sent by the logistics platform. If the operation information of the logistics platform stored in the first blockchain is determined to be pushed If the business data meets the preset push conditions, the business data will be pushed to the second block chain node of the second block chain based on the cross-chain transmission channel of the first block chain and the second block chain, so that the second block chain The chain node saves the business data in the second blockchain and performs resource collection processing. As a result, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; through the cross-chain transmission of data, not only does the data silos break down, but also In order to realize the interconnection and intercommunication of data, the business data of the logistics platform can be maximized, so as to fully realize the value of data.
另一个具体的实施例中,该存储介质可为U盘、光盘、硬盘等,该存储介质存储的计算机可执行指令在被处理器执行时,能实现以下流程:接收物流平台发送的业务数据推送请求,所述业务数据推送请求包括待推送的业务数据,所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;所述运单为所述物流平台基于所述托运方的托运请求所生成;调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件;若是,则将所述业务数据推送至所述资源管理机构,以使所述资源管理机构将所述业务数据保存至所述第二区块链中,并使所述资源管理机构基于所述业务数据进行资源收集处理。In another specific embodiment, the storage medium may be a U disk, an optical disk, a hard disk, etc., and the computer executable instructions stored in the storage medium can realize the following process when being executed by the processor: receiving the business data push sent by the logistics platform Request, the service data push request includes the service data to be pushed, and the service data is generated by the logistics platform based on relevant information of at least one waybill that is in a transportation terminated state and the shipper has not provided the resources required for transportation; The waybill is generated by the logistics platform based on the consignment request of the shipper; the first smart contract in the first blockchain is invoked, based on the first smart contract and stored in the first blockchain According to the operational information of the logistics platform, it is determined whether the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency; if so, the business data is pushed to the resource management agency , So that the resource management agency saves the business data in the second blockchain, and enables the resource management agency to perform resource collection processing based on the business data.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件,包括:基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否满足第一预设条件,所述第一预设条件包括以下中的一项或多项:所述托运方为白名单用户、所述业务数据的状态有效;若是,则确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the first smart contract based on the operation information of the logistics platform stored in the first blockchain determines the Whether the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency includes: operating the logistics platform stored in the first blockchain based on the first smart contract Information to determine whether the service data meets a first preset condition, the first preset condition includes one or more of the following: the shipper is a whitelisted user, and the status of the service data is valid; if so , It is determined that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件之后,还包括:确定所述业务数据所关联的至少一个所述运单的通过率;将所述业务数据和所述通过率关联保存至所述第一区块链中;所述将所述业务数据推送至所述资源管理机构,包括:将所述业务数据和所述通过率推送至所述资源管理机构。Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, after determining that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution, the method further includes: determining The pass rate of at least one of the waybills associated with the service data; store the service data and the pass rate in association with the first blockchain; the push the service data to the resource The management organization includes: pushing the business data and the pass rate to the resource management organization.
本说明书实施例提供的存储介质存储的计算机可执行指令在被处理器执行时,接收到物流平台发送的业务数据推送请求时,若根据第一区块链中保存的物流平台的运营信息确定待推送的业务数据符合预设推送条件,则将业务数据推送至资源管理机构,以使资源管理机构将业务数据保存至第二区块链中,并基于业务数据进行资源收集处理。 由此,基于区块链进行运营信息以及业务数据等的存储,确保了数据的真实性和有效性,有效的避免了数据丢失的风险;并且资源管理机构作为中转,实现了数据的跨链传输和互联互通,有效的打破了数据孤岛,能够使物流平台的业务数据等被最大化利用,从而充分实现数据价值。When the computer-executable instructions stored in the storage medium provided in the embodiments of this specification are executed by the processor, and when the business data push request sent by the logistics platform is received, if the operating information of the logistics platform stored in the first blockchain is determined to be pending When the pushed business data meets the preset pushing conditions, the business data is pushed to the resource management agency, so that the resource management agency saves the business data in the second blockchain, and performs resource collection and processing based on the business data. As a result, the storage of operational information and business data based on the blockchain ensures the authenticity and validity of the data, and effectively avoids the risk of data loss; and the resource management agency acts as a transit to realize the cross-chain transmission of data And interconnection, effectively breaking the data island, can maximize the use of logistics platform business data, so as to fully realize the value of data.
需要说明的是,本说明书中关于存储介质的实施例与本说明书中关于数据推送方法的实施例基于同一发明构思,因此该实施例的具体实施可参见前述对应的数据推送方法的实施,重复之处不再赘述。It should be noted that the embodiment of the storage medium in this specification and the embodiment of the data push method in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the corresponding data push method mentioned above, and repeat the same. I won't repeat it here.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可按照不同于实施例中的顺序来执行并且仍然可实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than in the embodiments and still achieve desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown in order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
在20世纪90年代,对于一个技术的改进可很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言 稍作逻辑编程并编程到集成电路中,就可很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, the improvement of a technology can be clearly distinguished between hardware improvements (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) and software improvements (improvements in method flow). However, with the development of technology, the improvement of many methods and procedures of today can be regarded as the direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by the hardware entity module. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user's programming of the device. It is programmed by the designer to "integrate" a digital system on a piece of PLD, without having to ask the chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly realized by using "logic compiler" software, which is similar to the software compiler used in program development and writing, but before compilation The original code must also be written in a specific programming language, which is called Hardware Description Language (HDL), and there is not only one type of HDL, but many types, such as ABEL (Advanced Boolean Expression Language) , AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description), etc., currently most commonly used It is VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be clear to those skilled in the art that just a little bit of logic programming of the method flow in the above-mentioned hardware description languages and programming into an integrated circuit can easily obtain the hardware circuit that implements the logic method flow.
控制器可按任何适当的方式实现,例如,控制器可采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可视为硬件部件内的结构。或者甚至,可将用于实现各种功能的装置视为既可是实现方法的软件模块又可是硬件部件内的结构。The controller can be implemented in any suitable manner. For example, the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) executable by the (micro)processor. , Logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers. Examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as a part of the memory control logic. Those skilled in the art also know that, in addition to implementing the controller in a purely computer-readable program code manner, it is completely possible to program the method steps to make the controller use logic gates, switches, application specific integrated circuits, programmable logic controllers, and embedded logic. The same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure within the hardware component. Or even, the device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component.
上述实施例阐明的系统、装置、模块或单元,具体可由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules, or units explained in the foregoing embodiments may be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书实施例时可把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described separately. Of course, when implementing the embodiments of this specification, the functions of each unit may be implemented in the same one or more software and/or hardware.
本领域内的技术人员应明白,本说明书实施例可提供为方法、系统或计算机程序产品。因此,本说明书实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of this specification can be provided as methods, systems or computer program products. Therefore, the embodiments of this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
本说明书是参照根据本说明书实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多 个方框中指定的功能的装置。This specification is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are used to generate It is a device that implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, the computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可由任何方法或技术来实现信息存储。信息可是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or equipment including a series of elements includes not only those elements, but also Other elements that are not explicitly listed, or include elements inherent to such processes, methods, commodities, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity or equipment that includes the element.
本说明书实施例可在由计算机执行的计算机可执行指令的一般上下文中描述, 例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可在分布式计算环境中实践本说明书的实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可位于包括存储设备在内的本地和远程计算机存储介质中。The embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The embodiments of this specification can also be practiced in distributed computing environments. In these distributed computing environments, tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
以上所述仅为本文件的实施例而已,并不用于限制本文件。对于本领域技术人员来说,本文件可有各种更改和变化。凡在本文件的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本文件的权利要求范围之内。The above descriptions are only examples of this document, and are not intended to limit this document. For those skilled in the art, this document may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this document shall be included in the scope of the claims of this document.

Claims (22)

  1. 一种数据推送方法,应用于接入第一区块链的第一区块链节点,包括:A data push method, applied to a first blockchain node connected to the first blockchain, includes:
    接收物流平台发送的业务数据推送请求,所述业务数据推送请求包括待推送的业务数据,所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;所述运单为所述物流平台基于所述托运方的托运请求所生成;Receive a business data push request sent by a logistics platform, where the business data push request includes business data to be pushed, and the business data is based on at least one of the logistics platform’s data being in a transportation termination state and the shipper has not provided the resources required for transportation The relevant information of the waybill is generated; the waybill is generated by the logistics platform based on the consignment request of the shipper;
    调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件;Invoke the first smart contract in the first blockchain, and based on the first smart contract, determine whether the business data conforms to the resource resource based on the operation information of the logistics platform stored in the first blockchain The preset pushing conditions for pushing on the second blockchain corresponding to the management agency;
    若是,则基于所述第一区块链与所述第二区块链的跨链传输通道,将所述业务数据推送至所述第二区块链中的第二区块链节点,以使所述第二区块链节点将所述业务数据保存至第二区块链中,并基于所述第二区块链中的第二智能合约根据所述业务数据进行资源收集处理。If yes, push the business data to the second blockchain node in the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain, so that The second blockchain node saves the business data in a second blockchain, and performs resource collection processing according to the business data based on a second smart contract in the second blockchain.
  2. 根据权利要求1所述的方法,所述基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件,包括:The method according to claim 1, wherein the first smart contract is based on the operation information of the logistics platform stored in the first blockchain to determine whether the business data conforms to the corresponding resource management agency The preset pushing conditions for pushing on the second blockchain include:
    基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否满足第一预设条件,所述第一预设条件包括以下中的一项或多项:所述托运方为白名单用户、所述业务数据的状态有效;Based on the first smart contract, it is determined whether the business data meets a first preset condition according to the operation information of the logistics platform stored in the first blockchain, and the first preset condition includes the following One or more items: the shipper is a whitelisted user, and the status of the business data is valid;
    若是,则确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件。If so, it is determined that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency.
  3. 根据权利要求2所述的方法,所述业务数据包括所述托运方的第一数据身份信息和所述物流平台的第二数字身份信息;基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述托运方为白名单用户,包括:The method according to claim 2, wherein the business data includes the first data identity information of the shipper and the second digital identity information of the logistics platform; based on the first smart contract according to the first block The operation information of the logistics platform stored in the chain, and the shipper is determined to be a whitelisted user, including:
    确定基于所述第一智能合约根据所述第一数字身份信息和所述第二数字身份从所述第一区块链中是否查询到关联的白名单记录信息,所述白名单记录信息为接收到所述第二区块链节点发送的白名单用户的用户信息时所生成的信息;所述白名单用户为所述第二区块链节点基于所述物流平台发送的候选白名单用户的用户信息,进行信用评估处理之后所确定的用户;Determine whether the associated whitelist record information is queried from the first blockchain based on the first smart contract according to the first digital identity information and the second digital identity, and the whitelist record information is received Information generated when reaching the user information of the whitelisted user sent by the second blockchain node; the whitelisted user is the user of the candidate whitelisted user sent by the second blockchain node based on the logistics platform Information, users identified after credit evaluation processing;
    若是,则确定所述托运方是白名单用户。If yes, it is determined that the shipper is a whitelisted user.
  4. 根据权利要求2所述的方法,所述业务数据包括第一标识信息、到期时间信息、 所述物流平台的第二数字身份信息;基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据的状态有效,包括:The method according to claim 2, wherein the service data includes first identification information, expiration time information, and second digital identity information of the logistics platform; based on the first smart contract and according to the first blockchain The operation information of the logistics platform stored in the, determining that the status of the business data is valid, includes:
    基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否满足第二预设条件,所述第二预设条件包括以下中的一项或多项:Based on the first smart contract, it is determined whether the business data meets a second preset condition according to the operation information of the logistics platform stored in the first blockchain, and the second preset condition includes the following One or more:
    基于所述第一智能合约根据所述第一标识信息从所述第一区块链中未查询到关联的资源转移成功信息,所述资源转移成功信息为确定所述托运方提供了所述运输所需资源时所保存的信息;Based on the first smart contract, the associated resource transfer success information is not queried from the first blockchain according to the first identification information, and the resource transfer success information is used to determine that the shipper provides the transportation Information saved when resources are needed;
    基于所述第一智能合约根据所述第一标识信息从所述第一区块链中未查询到关联的推送记录信息,所述推送记录信息为确定所述业务数据推送成功时所生成的信息;Based on the first smart contract, the associated push record information is not queried from the first blockchain based on the first identification information, and the push record information is information generated when it is determined that the business data push is successful ;
    基于所述第一智能合约根据所述第二数字身份信息从所述第一区块链中查询关联的授信记录信息,从所述授信记录信息中获取授信到期时间,并确定所述数据到期时间在所述授信到期时间以内,所述授信记录信息为基于所述第二区块链节点发送的授信结果信息所生成的信息,所述授信结果信息为所述第二区块链节点基于所述物流平台的授信请求,进行授信处理成功之后所生成的信息;Based on the first smart contract and according to the second digital identity information, the associated credit record information is inquired from the first blockchain, the credit expiration time is obtained from the credit record information, and the date of the data is determined The expiration time is within the credit expiration time, the credit record information is information generated based on the credit result information sent by the second blockchain node, and the credit result information is the second blockchain node Information generated after successful credit processing based on the credit request of the logistics platform;
    若是,则确定所述业务数据的状态有效。If yes, it is determined that the status of the service data is valid.
  5. 根据权利要求1所述的方法,确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件之后,还包括:The method according to claim 1, after determining that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency, further comprising:
    确定所述业务数据所关联的至少一个所述运单的通过率;Determining the pass rate of at least one of the air waybills associated with the business data;
    将所述业务数据和所述通过率关联保存至所述第一区块链中;Store the business data and the pass rate in association with the first blockchain;
    所述将所述业务数据推送至所述第二区块链中的第二区块链节点,包括:The pushing the business data to the second blockchain node in the second blockchain includes:
    将所述业务数据和所述通过率推送至所述第二区块链中的第二区块链节点。Push the business data and the pass rate to the second blockchain node in the second blockchain.
  6. 根据权利要求5所述的方法,所述业务数据包括至少一个所述运单的运单标识信息;所述确定所述业务数据所关联的至少一个所述运单的通过率,包括:The method according to claim 5, wherein the service data includes at least one waybill identification information of the waybill; and the determining the pass rate of the at least one waybill associated with the service data includes:
    根据所述运单标识信息从所述第一区块链中查询关联的运单核验记录信息,所述运单核验记录信息为确定相应的运单处于运输终止状态时,基于第三方提供的货运数据对所述运单的有效性进行核验处理之后所生成的信息;According to the identification information of the waybill, the associated waybill verification record information is queried from the first blockchain. When the waybill verification record information is to determine that the corresponding waybill is in the state of transportation termination, the freight data provided by the third party Information generated after the validity of the waybill is verified and processed;
    根据所述运单核验记录信息,确定所述核验处理通过的运单的第一数量;Determine the first quantity of the waybill passed through the verification process according to the verification record information of the waybill;
    根据所述第一数量和所述业务数据关联的所述运单的第二数量,计算所述运单的通过率。Calculate the passing rate of the waybill according to the first quantity and the second quantity of the waybill associated with the business data.
  7. 根据权利要求1所述的方法,所述将所述业务数据推送至所述第二区块链中的第二区块链节点之后,还包括:The method according to claim 1, after pushing the business data to a second blockchain node in the second blockchain, the method further comprises:
    基于所述跨链传输通道接收所述第二区块链节点发送的接收成功信息;Receiving the reception success information sent by the second blockchain node based on the cross-chain transmission channel;
    根据所述业务数据生成推送成功记录信息;Generating push success record information according to the business data;
    将所述推送成功记录信息保存至所述第一区块链中;Save the push success record information in the first blockchain;
    向所述物流平台发送推送成功信息。Send push success information to the logistics platform.
  8. 根据权利要求1所述的方法,所述将所述业务数据推送至所述第二区块链中的第二区块链节点之后,还包括:The method according to claim 1, after pushing the business data to a second blockchain node in the second blockchain, the method further comprises:
    基于所述跨链传输通道接收所述第二区块链节点发送的资源转移成功信息,所述资源转移成功信息基于从所述托运方向所述物流平台转移所述运输所需资源的资源转移处理所发送;Based on the cross-chain transmission channel receiving the resource transfer success information sent by the second blockchain node, the resource transfer success information is based on the resource transfer process of transferring the resources required for transportation from the consignment to the logistics platform Sent
    将所述资源转移成功信息与所述业务数据中的第一标识信息关联保存至所述第一区块链中。The resource transfer success information is associated with the first identification information in the service data and stored in the first blockchain.
  9. 根据权利要求1-8任一项所述的方法,还包括:The method according to any one of claims 1-8, further comprising:
    若确定所述业务数据不符合向资源管理机构对应的第二区块链进行推送的预设推送条件,则向所述物流平台发送请求失败信息。If it is determined that the business data does not meet the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency, sending request failure information to the logistics platform.
  10. 一种数据推送方法,应用于第一区块链的第一区块链节点,包括:A data push method, applied to the first blockchain node of the first blockchain, includes:
    接收物流平台发送的业务数据推送请求,所述业务数据推送请求包括待推送的业务数据,所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;所述运单为所述物流平台基于所述托运方的托运请求所生成;Receive a business data push request sent by a logistics platform, where the business data push request includes business data to be pushed, and the business data is based on at least one of the logistics platform’s data being in a transportation termination state and the shipper has not provided the resources required for transportation The relevant information of the waybill is generated; the waybill is generated by the logistics platform based on the consignment request of the shipper;
    调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件;Invoke the first smart contract in the first blockchain, and based on the first smart contract, determine whether the business data conforms to the resource resource based on the operation information of the logistics platform stored in the first blockchain The preset pushing conditions for pushing on the second blockchain corresponding to the management agency;
    若是,则将所述业务数据推送至所述资源管理机构,以使所述资源管理机构将所述业务数据保存至所述第二区块链中,并使所述资源管理机构基于所述业务数据进行资源收集处理。If yes, push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain, and makes the resource management agency based on the business Data is collected and processed by resources.
  11. 根据权利要求10所述的方法,所述基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件,包括:The method of claim 10, wherein the first smart contract is based on the operation information of the logistics platform stored in the first blockchain to determine whether the business data conforms to the corresponding resource management agency The preset pushing conditions for pushing on the second blockchain include:
    基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否满足第一预设条件,所述第一预设条件包括以下中的一项或多项:所述托运方为白名单用户、所述业务数据的状态有效;Based on the first smart contract, it is determined whether the business data meets a first preset condition according to the operation information of the logistics platform stored in the first blockchain, and the first preset condition includes the following One or more items: the shipper is a whitelisted user, and the status of the business data is valid;
    若是,则确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件。If so, it is determined that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency.
  12. 根据权利要求11所述的方法,确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件之后,还包括:The method according to claim 11, after determining that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency, further comprising:
    确定所述业务数据所关联的至少一个所述运单的通过率;Determining the pass rate of at least one of the air waybills associated with the business data;
    将所述业务数据和所述通过率关联保存至所述第一区块链中;Store the business data and the pass rate in association with the first blockchain;
    所述将所述业务数据推送至所述资源管理机构,包括:The pushing of the business data to the resource management institution includes:
    将所述业务数据和所述通过率推送至所述资源管理机构。Push the business data and the pass rate to the resource management agency.
  13. 一种数据推送装置,应用于第一区块链的第一区块链节点,包括:A data push device, applied to the first blockchain node of the first blockchain, includes:
    接收模块,接收物流平台发送的业务数据推送请求,所述业务数据推送请求包括待推送的业务数据,所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;所述运单为所述物流平台基于所述托运方的托运请求所生成;The receiving module receives a business data push request sent by a logistics platform, the business data push request includes business data to be pushed, and the business data is based on the logistics platform at least one being in a transportation termination state and the shipper has not provided a transportation station The relevant information of the waybill that requires resources is generated; the waybill is generated by the logistics platform based on the consignment request of the shipper;
    第一确定模块,调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件;The first determining module, which invokes the first smart contract in the first block chain, and determines the business based on the first smart contract according to the operation information of the logistics platform stored in the first block chain Whether the data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency;
    推送模块,若所述确定模块的确定结果为是,则基于所述第一区块链与所述第二区块链的跨链传输通道,将所述业务数据推送至所述第二区块链中的第二区块链节点,以使所述第二区块链节点将所述业务数据保存至第二区块链中,并基于所述第二区块链中的第二智能合约根据所述业务数据进行资源收集处理。Push module, if the determination result of the determination module is yes, push the business data to the second block based on the cross-chain transmission channel of the first block chain and the second block chain The second block chain node in the chain, so that the second block chain node saves the business data in the second block chain, and based on the second smart contract in the second block chain according to The business data is processed for resource collection.
  14. 根据权利要求13所述的装置,The device according to claim 13,
    所述第一确定模块,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否满足第一预设条件,所述第一预设条件包括以下中的一项或多项:所述托运方为白名单用户、所述业务数据的状态有效;The first determining module determines whether the business data meets a first preset condition based on the first smart contract according to the operation information of the logistics platform stored in the first blockchain. The preset conditions include one or more of the following: the shipper is a whitelisted user, and the status of the business data is valid;
    若是,则确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件。If so, it is determined that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency.
  15. 根据权利要求13所述的装置,所述装置还包括:第二确定模块;The device according to claim 13, further comprising: a second determining module;
    所述第二确定模块,在所述第一确定模块确定所述业务数据符合向资源管理机构对应的第二区块链进行推送的预设推送条件之后,确定所述业务数据所关联的至少一个所述运单的通过率;将所述业务数据和所述通过率关联保存至所述第一区块链中;The second determining module, after the first determining module determines that the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution, determines at least one item associated with the business data The passing rate of the waybill; storing the business data and the passing rate in the first blockchain in association;
    所述推送模块,将所述业务数据和所述通过率推送至所述第二区块链中的第二区块 链节点。The pushing module pushes the business data and the pass rate to the second blockchain node in the second blockchain.
  16. 一种数据推送装置,应用于第一区块链的第一区块链节点,包括:A data push device, applied to the first blockchain node of the first blockchain, includes:
    接收模块,接收物流平台发送的业务数据推送请求,所述业务数据推送请求包括待推送的业务数据,所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;所述运单为所述物流平台基于所述托运方的托运请求所生成;The receiving module receives a business data push request sent by a logistics platform, the business data push request includes business data to be pushed, and the business data is based on the logistics platform at least one being in a transportation termination state and the shipper has not provided a transportation station The relevant information of the waybill that requires resources is generated; the waybill is generated by the logistics platform based on the consignment request of the shipper;
    第一确定模块,调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件;The first determining module, which invokes the first smart contract in the first block chain, and determines the business based on the first smart contract according to the operation information of the logistics platform stored in the first block chain Whether the data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management agency;
    推送模块,若所述确定模块的确定结果为是,则将所述业务数据推送至所述资源管理机构,以使所述资源管理机构将所述业务数据保存至所述第二区块链中,并使所述资源管理机构基于所述业务数据进行资源收集处理。Push module, if the determination result of the determination module is yes, push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain , And enable the resource management agency to perform resource collection processing based on the business data.
  17. 一种数据推送系统,包括物流平台、第一区块链、资源管理机构对应的第二区块链;A data push system, including a logistics platform, a first block chain, and a second block chain corresponding to a resource management institution;
    所述物流平台,基于托运方的托运请求生成运单;以及,基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息,生成待推送的业务数据;根据所述待推送的业务数据,生成业务数据推送请求,向所述第一区块链的第一区块链节点发送所述业务数据推送请求;The logistics platform generates a waybill based on the consignment request of the shipper; and generates the business data to be pushed based on the relevant information of at least one waybill that is in the transportation termination state and the shipper has not provided the resources required for transportation; The pushed business data, generate a business data push request, and send the business data push request to the first blockchain node of the first blockchain;
    所述第一区块链的第一区块链节点,接收所述物流平台发送的所述业务数据推送请求;调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向所述资源管理机构对应的第二区块链进行推送的预设推送条件;若是,则基于所述第一区块链与所述第二区块链的跨链传输通道,将所述业务数据推送至所述第二区块链中的第二区块链节点;The first blockchain node of the first blockchain receives the service data push request sent by the logistics platform; calls the first smart contract in the first blockchain, based on the first smart According to the operation information of the logistics platform stored in the first blockchain, the contract determines whether the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution; if so, Pushing the business data to the second blockchain node in the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain;
    所述第二区块链的所述第二区块链节点,将所述业务数据保存至所述第二区块链中,调用所述第二区块链中的第二智能合约,基于所述第二智能合约根据所述业务数据进行资源收集处理。The second block chain node of the second block chain saves the business data in the second block chain, and calls the second smart contract in the second block chain, based on all The second smart contract performs resource collection processing according to the business data.
  18. 一种数据推送系统,包括物流平台、第一区块链、资源管理机构、第二区块链;A data push system, including a logistics platform, a first blockchain, a resource management institution, and a second blockchain;
    所述物流平台,基于托运方的托运请求生成运单;以及,基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息,生成待推送的业务数据;根据所述待推送的业务数据,生成业务数据推送请求,向接入所述第一区块链的第一区块链节点发送所述业务数据推送请求;The logistics platform generates a waybill based on the consignment request of the shipper; and generates the business data to be pushed based on the relevant information of at least one waybill that is in the transportation termination state and the shipper has not provided the resources required for transportation; The pushed business data, generate a business data push request, and send the business data push request to a first blockchain node that is connected to the first blockchain;
    所述第一区块链的第一区块链节点,接收所述物流平台发送的所述业务数据推送请求;调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向所述资源管理机构对应的第二区块链进行推送的预设推送条件;若是,则将所述业务数据推送至所述资源管理机构;The first blockchain node of the first blockchain receives the service data push request sent by the logistics platform; calls the first smart contract in the first blockchain, based on the first smart According to the operation information of the logistics platform stored in the first blockchain, the contract determines whether the business data meets the preset pushing conditions for pushing to the second blockchain corresponding to the resource management institution; if so, Then push the business data to the resource management agency;
    所述资源管理机构,接收所述第一区块链节点推送的所述业务数据,将所述业务数据保存至所述第二区块链中,并基于所述业务数据进行资源收集处理。The resource management institution receives the business data pushed by the first blockchain node, saves the business data in the second blockchain, and performs resource collection processing based on the business data.
  19. 一种数据推送设备,包括处理器以及被安排成存储计算机可执行指令的存储器,所述计算机可执行指令在被执行时使所述处理器:A data push device includes a processor and a memory arranged to store computer-executable instructions, the computer-executable instructions, when executed, cause the processor to:
    接收物流平台发送的业务数据推送请求,所述业务数据推送请求包括待推送的业务数据,所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;所述运单为所述物流平台基于所述托运方的托运请求所生成;Receive a business data push request sent by a logistics platform, where the business data push request includes business data to be pushed, and the business data is based on at least one of the logistics platform’s data being in a transportation termination state and the shipper has not provided the resources required for transportation The relevant information of the waybill is generated; the waybill is generated by the logistics platform based on the consignment request of the shipper;
    调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件;Invoke the first smart contract in the first blockchain, and based on the first smart contract, determine whether the business data conforms to the resource resource based on the operation information of the logistics platform stored in the first blockchain The preset pushing conditions for pushing on the second blockchain corresponding to the management agency;
    若是,则基于所述第一区块链与所述第二区块链的跨链传输通道,将所述业务数据推送至所述第二区块链中的第二区块链节点,以使所述第二区块链节点将所述业务数据保存至第二区块链中,并基于所述第二区块链中的第二智能合约根据所述业务数据进行资源收集处理。If yes, push the business data to the second blockchain node in the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain, so that The second blockchain node saves the business data in a second blockchain, and performs resource collection processing according to the business data based on a second smart contract in the second blockchain.
  20. 一种数据推送设备,包括处理器以及被安排成存储计算机可执行指令的存储器,所述计算机可执行指令在被执行时使所述处理器:A data push device includes a processor and a memory arranged to store computer-executable instructions, the computer-executable instructions, when executed, cause the processor to:
    接收物流平台发送的业务数据推送请求,所述业务数据推送请求包括待推送的业务数据,所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;所述运单为所述物流平台基于所述托运方的托运请求所生成;Receive a business data push request sent by a logistics platform, where the business data push request includes business data to be pushed, and the business data is based on at least one of the logistics platform’s data being in a transportation termination state and the shipper has not provided the resources required for transportation The relevant information of the waybill is generated; the waybill is generated by the logistics platform based on the consignment request of the shipper;
    调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件;Invoke the first smart contract in the first blockchain, and based on the first smart contract, determine whether the business data conforms to the resource resource based on the operation information of the logistics platform stored in the first blockchain The preset pushing conditions for pushing on the second blockchain corresponding to the management agency;
    若是,则将所述业务数据推送至所述资源管理机构,以使所述资源管理机构将所述业务数据保存至所述第二区块链中,并使所述资源管理机构基于所述业务数据进行资源 收集处理。If yes, push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain, and makes the resource management agency based on the business Data is collected and processed by resources.
  21. 一种存储介质,用于存储计算机可执行指令,所述计算机可执行指令在被处理器执行时实现以下流程:A storage medium for storing computer-executable instructions, which, when executed by a processor, implement the following processes:
    接收物流平台发送的业务数据推送请求,所述业务数据推送请求包括待推送的业务数据,所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;所述运单为所述物流平台基于所述托运方的托运请求所生成;Receive a business data push request sent by a logistics platform, where the business data push request includes business data to be pushed, and the business data is based on at least one of the logistics platform’s data being in a transportation termination state and the shipper has not provided the resources required for transportation The relevant information of the waybill is generated; the waybill is generated by the logistics platform based on the consignment request of the shipper;
    调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件;Invoke the first smart contract in the first blockchain, and based on the first smart contract, determine whether the business data conforms to the resource resource based on the operation information of the logistics platform stored in the first blockchain The preset pushing conditions for pushing on the second blockchain corresponding to the management agency;
    若是,则基于所述第一区块链与所述第二区块链的跨链传输通道,将所述业务数据推送至所述第二区块链中的第二区块链节点,以使所述第二区块链节点将所述业务数据保存至第二区块链中,并基于所述第二区块链中的第二智能合约根据所述业务数据进行资源收集处理。If yes, push the business data to the second blockchain node in the second blockchain based on the cross-chain transmission channel of the first blockchain and the second blockchain, so that The second blockchain node saves the business data in a second blockchain, and performs resource collection processing according to the business data based on a second smart contract in the second blockchain.
  22. 一种存储介质,用于存储计算机可执行指令,所述计算机可执行指令在被处理器执行时实现以下流程:A storage medium for storing computer-executable instructions, which, when executed by a processor, implement the following processes:
    接收物流平台发送的业务数据推送请求,所述业务数据推送请求包括待推送的业务数据,所述业务数据为所述物流平台基于至少一个处于运输终止状态、且托运方未提供运输所需资源的运单的相关信息所生成;所述运单为所述物流平台基于所述托运方的托运请求所生成;Receive a business data push request sent by a logistics platform, where the business data push request includes business data to be pushed, and the business data is based on at least one of the logistics platform’s data being in a transportation termination state and the shipper has not provided the resources required for transportation The relevant information of the waybill is generated; the waybill is generated by the logistics platform based on the consignment request of the shipper;
    调用所述第一区块链中的第一智能合约,基于所述第一智能合约根据所述第一区块链中保存的所述物流平台的运营信息,确定所述业务数据是否符合向资源管理机构对应的第二区块链进行推送的预设推送条件;Invoke the first smart contract in the first blockchain, and based on the first smart contract, determine whether the business data conforms to the resource resource based on the operation information of the logistics platform stored in the first blockchain The preset pushing conditions for pushing on the second blockchain corresponding to the management agency;
    若是,则将所述业务数据推送至所述资源管理机构,以使所述资源管理机构将所述业务数据保存至所述第二区块链中,并使所述资源管理机构基于所述业务数据进行资源收集处理。If yes, push the business data to the resource management agency, so that the resource management agency saves the business data in the second blockchain, and makes the resource management agency based on the business Data is collected and processed by resources.
PCT/CN2021/096729 2020-05-29 2021-05-28 Data pushing method, apparatus, device, and system WO2021239105A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010478314.8 2020-05-29
CN202010478314.8A CN111414436B (en) 2020-05-29 2020-05-29 Data pushing method, device, equipment and system

Publications (1)

Publication Number Publication Date
WO2021239105A1 true WO2021239105A1 (en) 2021-12-02

Family

ID=71495101

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/096729 WO2021239105A1 (en) 2020-05-29 2021-05-28 Data pushing method, apparatus, device, and system

Country Status (2)

Country Link
CN (1) CN111414436B (en)
WO (1) WO2021239105A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414436B (en) * 2020-05-29 2023-08-04 支付宝(杭州)信息技术有限公司 Data pushing method, device, equipment and system
CN111383106B (en) * 2020-05-29 2020-12-01 支付宝(杭州)信息技术有限公司 Credit processing method, device, equipment and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844978A (en) * 2017-11-30 2018-03-27 中链科技有限公司 A kind of staple commodities transaction processing method and system based on block chain
CN109685648A (en) * 2018-12-28 2019-04-26 中国工商银行股份有限公司 Processing method, processing system and the supply chain financial platform of digital certificate
CN110288481A (en) * 2019-06-28 2019-09-27 深圳前海微众银行股份有限公司 A kind of method and device of the assets circulation based on block catenary system
CN111414436A (en) * 2020-05-29 2020-07-14 支付宝(杭州)信息技术有限公司 Data pushing method, device, equipment and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301536B (en) * 2017-06-12 2019-07-12 腾讯科技(深圳)有限公司 Resource transfers method and device
US20190318353A1 (en) * 2018-04-12 2019-10-17 Bank Of America Corporation Real time data processing platform for resources on delivery interactions
CN109785136A (en) * 2019-01-30 2019-05-21 北京京东尚科信息技术有限公司 A kind of transaction processing method of block chain, client and block chain network
CN110310204A (en) * 2019-06-21 2019-10-08 成都积微物联集团股份有限公司 Based on the financing by accounts receivable management system and method for block chain in supply chain industry
CN110490728B (en) * 2019-07-30 2021-03-19 创新先进技术有限公司 Transaction and transaction supervision method, device and equipment based on block chain
CN110599079A (en) * 2019-08-01 2019-12-20 北京京东振世信息技术有限公司 Logistics physical object handover method, platform and storage medium based on block chain
CN110442652B (en) * 2019-08-15 2021-09-21 腾讯科技(深圳)有限公司 Cross-chain data processing method and device based on block chain
CN110995521B (en) * 2020-03-03 2021-02-19 支付宝(杭州)信息技术有限公司 Service providing method, device, equipment and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844978A (en) * 2017-11-30 2018-03-27 中链科技有限公司 A kind of staple commodities transaction processing method and system based on block chain
CN109685648A (en) * 2018-12-28 2019-04-26 中国工商银行股份有限公司 Processing method, processing system and the supply chain financial platform of digital certificate
CN110288481A (en) * 2019-06-28 2019-09-27 深圳前海微众银行股份有限公司 A kind of method and device of the assets circulation based on block catenary system
CN111414436A (en) * 2020-05-29 2020-07-14 支付宝(杭州)信息技术有限公司 Data pushing method, device, equipment and system

Also Published As

Publication number Publication date
CN111414436A (en) 2020-07-14
CN111414436B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
WO2021239089A1 (en) Transaction processing method, apparatus, device and system
WO2021239090A1 (en) Credit granting processing method, apparatus, device and system
WO2021239105A1 (en) Data pushing method, apparatus, device, and system
TWI737818B (en) Business processing method and device
CN111382980B (en) Logistics management method, device, equipment and system based on block chain
CN110992038B (en) Transaction processing method, device and equipment
CN110515965B (en) Business document processing method and device, computer equipment and storage medium
EP3964995A1 (en) Data processing methods, apparatuses, and devices
WO2021259147A1 (en) Block chain-based resource transfer method, apparatus and device
CN110992188B (en) Transaction processing method, device and equipment
WO2021254260A1 (en) Blockchain-based lease processing method, apparatus, device and system
CN111899008B (en) Resource transfer method, device, equipment and system
JP2020528191A (en) Virtual card opening method and system, payment system, and card issuing system
CN110992040A (en) Transaction processing method, device and equipment
WO2020019892A1 (en) Bookkeeping method and device, and integrated transaction and finance system
CN108647950A (en) A kind of transfer request processing method, device and equipment
TW201933812A (en) Data processing method, apparatus and device
CN113222667A (en) Equity sharing processing method and device
CN109598603B (en) Account opening task processing method and account opening service system
CN111324645B (en) Block chain data processing method and device
CN113643030A (en) Transaction processing method, device and equipment
WO2021208760A1 (en) Information publishing method, apparatus and device, and medium
CN115146316A (en) Cross-system data access method, device, equipment and medium
US20110247008A1 (en) System and method for federated services
CN111985919B (en) Payment data processing method and device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21813297

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21813297

Country of ref document: EP

Kind code of ref document: A1