CN111222841A - Block chain-based data distribution method and equipment and storage medium thereof - Google Patents

Block chain-based data distribution method and equipment and storage medium thereof Download PDF

Info

Publication number
CN111222841A
CN111222841A CN201911175186.3A CN201911175186A CN111222841A CN 111222841 A CN111222841 A CN 111222841A CN 201911175186 A CN201911175186 A CN 201911175186A CN 111222841 A CN111222841 A CN 111222841A
Authority
CN
China
Prior art keywords
virtual asset
service
data
account information
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911175186.3A
Other languages
Chinese (zh)
Other versions
CN111222841B (en
Inventor
蔡弋戈
秦青
王乐庆
杨晨
李琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911175186.3A priority Critical patent/CN111222841B/en
Publication of CN111222841A publication Critical patent/CN111222841A/en
Application granted granted Critical
Publication of CN111222841B publication Critical patent/CN111222841B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/10Office automation; Time management
    • G06Q10/101Collaborative creation, e.g. joint development of products or services
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The application discloses a data distribution method based on a block chain, and equipment and a storage medium thereof, wherein the method comprises the following steps: acquiring a data distribution request sent by service account information of a virtual asset receiver based on a data distribution service; acquiring first account information of the service account information of the virtual asset receiver in a service block chain; acquiring a virtual asset transaction certificate corresponding to the first account information in the service block chain based on the block node equipment; and distributing the service data corresponding to the service data identification to the service account information of the virtual asset receiver based on the virtual asset transaction voucher. By adopting the method and the system, the distribution of the business data can be realized by adopting a virtual asset transfer mode in the block chain, the settlement efficiency and the cooperation viscosity among enterprises are effectively improved, and the normal circulation of the industrial chain is further ensured.

Description

Block chain-based data distribution method and equipment and storage medium thereof
Technical Field
The present application relates to the field of internet technologies, and in particular, to a data distribution method based on a block chain, and an apparatus and a storage medium thereof.
Background
With the continuous updating and development of various industries, enterprises and the like as a part of an industrial chain need to cooperate with other enterprises to form a complete industrial chain, so as to realize win-win among the enterprises. In the existing enterprise cooperation, more assets often exist to ensure the normal cooperation flow among enterprises, however, when the settlement of a certain enterprise cannot be carried out due to the shortage of assets in an industrial chain, the downstream part of the enterprise is also influenced by the shortage of assets, although the cooperation among the enterprises always contracts to agree on the settlement period of the assets through signing contracts, the situation can not be avoided, the settlement efficiency and the cooperation viscosity among the enterprises are influenced, and the normal circulation of the industrial chain is further influenced.
Content of application
The embodiment of the application provides a data distribution method based on a block chain, and equipment and a storage medium thereof, which can effectively improve the settlement efficiency and cooperation viscosity among enterprises, and further ensure the normal circulation of an industrial chain.
An embodiment of the present application provides a data allocation method based on a block chain, including:
acquiring a data distribution request sent by service account information of a virtual asset receiver based on a data distribution service, wherein the data distribution request carries a service data identifier;
acquiring first account information of the service account information of the virtual asset receiver in a service block chain;
acquiring a virtual asset transaction certificate corresponding to the first account information in the service block chain based on the block node device, wherein the virtual asset transaction certificate comprises asset data volume of a virtual asset, the first account information and second account information of a virtual asset sender, and the second account information is account information of the virtual asset sender in the service block chain;
and distributing the service data corresponding to the service data identification to the service account information of the virtual asset receiver based on the virtual asset transaction voucher.
Before the data allocation request sent by acquiring the service account information of the virtual asset receiver based on the data allocation service, the method further includes:
the method comprises the steps of obtaining user identity data sent based on second account information of a virtual asset sender, and sending virtual asset allocation data to block node equipment in a service block chain based on the user identity data so that the block node equipment can carry out uplink storage on the virtual asset allocation data, wherein the virtual asset allocation data comprise allocation data volume of virtual assets and the second account information, and the allocation data volume is used for representing total data volume of the virtual assets allocated to the virtual asset sender.
Before the data allocation request sent by acquiring the service account information of the virtual asset receiver based on the data allocation service, the method further includes:
acquiring virtual asset transfer data sent based on second account information of a virtual asset sender, wherein the virtual asset transfer data carries asset data volume of a virtual asset, first account information of a virtual asset receiver and second account information of the virtual asset sender, and the first account information is account information of the virtual asset receiver in the service block chain;
and sending the virtual asset transfer data to block node equipment in a service block chain, wherein the virtual asset transfer data is used for the block node equipment to generate a virtual asset transaction certificate, so that the block node equipment can carry out uplink storage on the virtual asset transaction certificate.
Wherein, still include:
obtaining user signature data sent for the virtual asset transfer data based on the second account information;
the sending the virtual asset transfer data to a block node device in a service block chain, where the virtual asset transfer data is used for the block node device to generate a virtual asset transaction certificate, so that the block node device performs uplink storage on the virtual asset transaction certificate, including:
and sending the virtual asset transfer data and the user signature data to block node equipment in a service block chain, wherein the user signature data is used for verifying the virtual asset transfer data by the block node equipment, and the virtual asset transfer data is used for generating a virtual asset transaction certificate by the block node equipment after the virtual asset transfer data is successfully verified and carrying out uplink storage on the virtual asset transaction certificate.
Wherein the allocating, to the service account information of the virtual asset receiver, the service data corresponding to the service data identifier based on the virtual asset transaction credential includes:
acquiring service account information of the virtual asset sender corresponding to the second account information in the data distribution service;
when detecting that the service account information of the virtual asset sender belongs to a first account state, matching the asset data volume by adopting the required data volume of the service data corresponding to the service data identifier;
and when the asset data volume is matched with the required data volume, distributing the service data corresponding to the service data identification to the service account information of the virtual asset receiver.
Wherein, still include:
and when detecting that the service account information of the virtual asset sender belongs to a second account state, stopping distributing the service data corresponding to the service data identification to the service account information of the virtual asset receiver.
Wherein, still include:
and when the service data are distributed to the service account information of the virtual asset receiver, generating a service data distribution certificate based on the service data identifier and the first account information, and sending the service data distribution certificate to block node equipment for uplink storage.
An aspect of an embodiment of the present application provides a data distribution apparatus, including:
the system comprises a request acquisition unit, a data distribution unit and a data processing unit, wherein the request acquisition unit is used for acquiring a data distribution request sent by service account information of a virtual asset receiver based on a data distribution service, and the data distribution request carries a service data identifier;
the account information acquisition unit is used for acquiring first account information of the service account information of the virtual asset receiver in a service block chain;
a certificate obtaining unit, configured to obtain, based on a block node device, a virtual asset transaction certificate corresponding to the first account information in the service block chain, where the virtual asset transaction certificate includes an asset data amount of a virtual asset, the first account information, and second account information of a virtual asset sender, and the second account information is account information of the virtual asset sender in the service block chain;
and the data distribution unit is used for distributing the service data corresponding to the service data identification to the service account information of the virtual asset receiver based on the virtual asset transaction certificate.
Wherein, still include:
the allocation data sending unit is configured to obtain user identity data sent based on second account information of a virtual asset sender, and send virtual asset allocation data to block node equipment in a service block chain based on the user identity data, so that the block node equipment performs uplink storage on the virtual asset allocation data, where the virtual asset allocation data includes an allocation data volume of virtual assets and the second account information, and the allocation data volume is used to represent a total data volume of virtual assets allocated to the virtual asset sender.
Wherein, still include:
a transfer data obtaining unit, configured to obtain virtual asset transfer data sent based on second account information of a virtual asset sender, where the virtual asset transfer data carries an asset data amount of a virtual asset, first account information of a virtual asset receiver, and second account information of the virtual asset sender, and the first account information is account information of the virtual asset receiver in the service block chain;
a transfer data sending unit, configured to send the virtual asset transfer data to a block node device in a service block chain, where the virtual asset transfer data is used for the block node device to generate a virtual asset transaction certificate, so that the block node device performs uplink storage on the virtual asset transaction certificate.
Wherein, still include:
a signature data acquisition unit configured to acquire user signature data transmitted for the virtual asset transfer data based on the second account information;
the transfer data sending unit is specifically configured to send the virtual asset transfer data and the user signature data to a block node device in a service block chain, where the user signature data is used by the block node device to verify the virtual asset transfer data, and the virtual asset transfer data is used by the block node device to generate a virtual asset transaction certificate after the virtual asset transfer data is successfully verified, and perform uplink storage on the virtual asset transaction certificate.
Wherein the data distribution unit includes:
an information obtaining subunit, configured to obtain, in the data distribution service, service account information of the virtual asset sender corresponding to the second account information;
the data volume matching subunit is used for matching the asset data volume by adopting the required data volume of the service data corresponding to the service data identifier when the service account information of the virtual asset sender is detected to belong to a first account state;
and the data distribution subunit is used for distributing the service data corresponding to the service data identifier to the service account information of the virtual asset receiver when the asset data volume is matched with the required data volume.
Wherein the data distribution unit further comprises:
and the data processing subunit is configured to, when it is detected that the service account information of the virtual asset sender belongs to the second account state, stop allocating the service data corresponding to the service data identifier to the service account information of the virtual asset receiver.
Wherein, still include:
and the certificate sending unit is used for generating a service data distribution certificate based on the service data identifier and the first account information when the service data is distributed to the service account information of the virtual asset receiver, and sending the service data distribution certificate to the block node equipment for uplink storage.
An aspect of the embodiments of the present application provides a computer storage medium storing a computer program, the computer program comprising program instructions that, when executed by a processor, perform the above-mentioned method steps.
One aspect of the embodiments of the present application provides a computer device, including a processor, a memory, and an input/output interface;
the processor is respectively connected with the memory and the input/output interface, wherein the input/output interface is used for page interaction, the memory is used for storing program codes, and the processor is used for calling the program codes to execute the method steps.
In the embodiment of the application, the requested service data can be distributed to the service account information of the virtual asset receiver in the data distribution service based on the virtual asset transaction certificate through the virtual asset transaction certificate which is recorded in the service block chain and comprises the asset data volume of the virtual asset, the first account information of the virtual asset receiver and the second account information of the virtual asset sender, and the distribution of the service data is realized by adopting a virtual asset transfer mode in the block chain, so that the settlement efficiency and the cooperation viscosity among enterprises are effectively improved, and the normal flow transfer of an industrial chain is further ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a system architecture diagram of data distribution provided by an embodiment of the present application;
FIG. 2 is a schematic diagram of block chain construction provided by an embodiment of the present application;
fig. 3 is a schematic flowchart of a data allocation method based on a block chain according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a data allocation method based on a block chain according to an embodiment of the present application;
fig. 5 is a schematic scene diagram of a data allocation method based on a block chain according to an embodiment of the present application;
fig. 6 is a schematic scene diagram of a data allocation method based on a block chain according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a data distribution device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a data distribution device according to an embodiment of the present application;
FIG. 9 is a schematic structural diagram of a data distribution unit provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Please refer to fig. 1 to fig. 6, which are a flowchart illustrating an embodiment of a block chain-based data allocation method according to the present application.
Referring to fig. 1, a system architecture diagram for data distribution is provided according to an embodiment of the present application. As shown in fig. 1, in an implementation scenario of an industrial chain, users (users 1, 2, …, N) under the same industrial chain may represent each cooperative enterprise, user terminals (user terminals 1, 2, …, N) may represent terminal devices of each cooperative enterprise in the industrial chain, the user terminals may specifically include but are not limited to terminal devices such as a mobile phone, an electronic reader, a tablet computer, a personal computer, a vehicle-mounted device, and an electronic camera device, normal fund circulation may be implemented between the user terminals through a data distribution device, that is, distribution circulation of business data is implemented through the data distribution device, the data distribution device may specifically be a settlement service device of a third party organization such as a bank and a financial institution, and when a fund shortage occurs in a certain enterprise, the data may serve as a virtual asset sender, virtual asset circulation acquired in advance to a business block chain replaces actual business data to a virtual asset receiver, the virtual asset receiver may provide service contents such as accessories and schemes for a downstream enterprise of the enterprise in an industry chain, that is, the virtual asset receiver provides service contents such as an accessory and a scheme for the virtual asset transmitter, the virtual asset transmitter needs to pay corresponding funds to the virtual asset receiver, in order to ensure normal operation of each enterprise in the industry chain, the data distribution device may obtain, based on a data distribution service, a data distribution request sent by service account information of the virtual asset receiver, where the data distribution request carries a service data identifier, obtain first account information of the service account information of the virtual asset receiver in a service block chain, and obtain, based on a block node device (block node devices 1, 2, …, N), a virtual asset transaction credential corresponding to the first account information in the service block chain, where the virtual asset transaction credential includes a data volume, and the like of a virtual asset, The first account information and the second account information of the virtual asset sender are the account information of the virtual asset sender in the service block chain, the service data corresponding to the service data identifier is finally distributed to the service account information of the virtual asset receiver based on the virtual asset transaction certificate, the block node devices can be specifically distributed in the range of each data distribution device entity, in the implementation scenario of the industrial chain, through the virtual asset transaction certificate of the circulation uplink of the virtual asset, the third-party organization can distribute the needed corresponding funds to the business account of the virtual asset receiver in the data distribution equipment, thereby effectively avoiding the condition that the settlement between enterprises can not be carried out due to insufficient funds, the settlement efficiency and the cooperation viscosity among enterprises are improved, and the normal circulation of an industrial chain is further ensured.
Of course, in addition to being applied to an implementation scenario of an industrial chain, the system structure provided in the embodiment of the present application may also be applied to an implementation scenario of service purchase in a terminal application, and for some terminal applications, services that are converted into equivalent value through virtual currency specified in the terminal application are often required, for example: virtual currency conversion equipment props in game applications, virtual currency conversion corresponding chapters in novel applications, and the like, the virtual currency can be circulated among users, for example: the game application can have a game store transaction module, the user 1 can purchase the accessory prop from the user 2 and deduct corresponding virtual currency from the game account of the user 2 to be transferred to the game account of the user 2, at this time, the user 2 can use the obtained virtual currency to purchase the manufacturing material of the accessory prop to the game mall, and the like, the existing implementation process usually records only the virtual currency transfer process in the service equipment of the terminal application, so that the situation of malicious tampering easily exists, and the security of the recorded data cannot be ensured, by adopting the system structure of the embodiment of the application, the transfer process of the virtual asset can be stored in the service block chain to obtain the virtual asset transaction certificate, and further the user is distributed with the required service data through the virtual asset transaction certificate, because the block chain is decentralized and has the characteristics of non-tampering and traceability, so that the data security is guaranteed.
Optionally, in this embodiment of the application, the data distribution device and the block node device may be two different devices, or may be module components that execute different functions in the same device, and may be specifically set according to actual scene requirements.
Please refer to fig. 2, which provides a schematic diagram of building a block chain according to an embodiment of the present application. As shown in fig. 2, in the embodiment of the present application, a blockchain of a data distribution scenario is built, where the blockchain may include a blockchain bottom platform, a platform product service layer, and an application service layer.
The block chain underlying platform can comprise processing modules such as user management, basic service, intelligent contract and operation monitoring. The user management module is responsible for identity information management of all blockchain participants, and comprises public and private key generation maintenance (account management), key management, user real identity and blockchain address corresponding relation maintenance (authority management) and the like, and under the authorization condition, the user management module supervises and audits the transaction condition of certain real identities and provides rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node equipment and used for verifying the validity of the service request, recording the service request to storage after consensus on the valid request is completed, for a new service request, the basic service firstly performs interface adaptation analysis and authentication processing (interface adaptation), then encrypts service information (consensus management) through a consensus algorithm, transmits the service information to a shared account (network communication) completely and consistently after encryption, and performs recording and storage; the intelligent contract module is responsible for registering and issuing contracts, triggering the contracts and executing the contracts, developers can define contract logics through a certain programming language, issue the contract logics to a block chain (contract registration), call keys or other event triggering and executing according to the logics of contract clauses, complete the contract logics and simultaneously provide the function of upgrading and canceling the contracts; the operation monitoring module is mainly responsible for deployment, configuration modification, contract setting, cloud adaptation in the product release process and visual output of real-time states in product operation, such as: alarm, monitoring network conditions, monitoring node equipment health status, and the like.
The platform product service layer provides basic capability and an implementation framework of typical application, and developers can complete block chain implementation of business logic based on the basic capability. The application service layer provides the application service based on the block chain scheme for the business participants to use.
In a data distribution scene, the block node devices can be distributed in a range corresponding to an entity or can be distributed in cloud service devices, through a virtual asset transaction certificate which is recorded in a service block chain and contains asset data volume of a virtual asset, first account information of a virtual asset receiver and second account information of a virtual asset sender, requested service data can be distributed to the service account information of the virtual asset receiver in a data distribution service based on the virtual asset transaction certificate, distribution of the service data is realized by adopting a virtual asset transfer mode in the block chain, settlement efficiency and cooperation viscosity among enterprises are effectively improved, and normal flow transfer of an industry chain is further ensured.
Based on the implementation frameworks of fig. 1 and fig. 2, please refer to fig. 3 together, which provides a flow diagram of a data allocation method based on a block chain according to an embodiment of the present application. As shown in fig. 3, the method of the embodiment of the present application may include the following steps S101 to S104.
S101, acquiring a data distribution request sent by service account information of a virtual asset receiver based on a data distribution service;
specifically, the data distribution device may obtain, based on the data distribution service, a data distribution request sent by service account information of the virtual asset recipient, where the data distribution request carries a service data identifier, the data distribution service may include, but is not limited to, a fund distribution service, a game virtual article distribution service, a novel chapter opening service, and the like, the virtual asset recipient is a receiving user who has currently received a virtual asset from the virtual asset sender, the virtual asset is virtual currency information in a service block chain, the service account information is account information configured by the data distribution device to a user when the user initially registers the data distribution service, and the service account information is specifically used for logging in a terminal application corresponding to the data distribution service and activating use of each function in the terminal application, the virtual asset receiver can log in the terminal application in a user terminal based on the service account information of the virtual asset receiver, the user terminal can acquire the service data identifier of the service data requested by the virtual asset receiver in the terminal application, and send a data distribution request to the data distribution equipment based on the service account information of the virtual asset receiver, and the data distribution equipment can acquire the data distribution request sent by the user terminal based on the service account information of the virtual asset receiver and acquire the service data identifier in the data distribution request.
S102, acquiring first account information of the service account information of the virtual asset receiver in a service block chain;
specifically, the data distribution device may obtain first account information of the service account information of the virtual asset receiver in the service block chain, and optionally, the data distribution device may store in advance the service account information of each user, the account information in the service block chain, and an association relationship between the two, where the account information in the service block chain is specifically used for transferring the virtual asset in the service block chain and reading a virtual asset transaction certificate, and the like.
S103, acquiring a virtual asset transaction certificate corresponding to the first account information in the service block chain based on the block node equipment;
specifically, the data distribution device may obtain, in the service block chain, a virtual asset transaction credential corresponding to the first account information based on the block node device, where the virtual asset transaction credential includes an asset data volume of a virtual asset, the first account information, and second account information of a virtual asset sender, where the second account information is the account information of the virtual asset sender in the service block chain, and optionally, the asset data volume is used to represent a data volume of a virtual asset that needs to be currently circulated, and the virtual asset transaction credential may further include a time stamp, which is convenient for a user and a worker to determine a specific occurrence time of virtual asset transfer.
S104, distributing the service data corresponding to the service data identification to the service account information of the virtual asset receiver based on the virtual asset transaction voucher;
specifically, the data distribution device may obtain service account information of the virtual asset sender corresponding to the second account information obtained in the data distribution service, and first detect whether there is an abnormal condition in the service account information of the virtual asset sender, for example: whether a logout behavior exists or not, whether the business account information is blacklist business account information or not, and the like, when the business account information of a virtual asset sender is in a normal state, the data distribution equipment can match the asset data volume by adopting the required data volume of the business data corresponding to the business data identifier, wherein the required data volume is used for representing the data volume of the virtual asset required by the value of the business data, when the asset data volume is matched with the required data volume, the data distribution equipment can distribute the business data corresponding to the business data identifier to the business account information of the virtual asset receiver, optionally, when the business account information of the virtual asset sender is detected to have an abnormal condition, the data distribution equipment can stop distributing the business data corresponding to the business data identifier to the business account information of the virtual asset receiver, and may output a prompt to prompt the worker for further verification.
In the embodiment of the application, the requested service data can be distributed to the service account information of the virtual asset receiver in the data distribution service based on the virtual asset transaction certificate through the virtual asset transaction certificate which is recorded in the service block chain and comprises the asset data volume of the virtual asset, the first account information of the virtual asset receiver and the second account information of the virtual asset sender, and the distribution of the service data is realized by adopting a virtual asset transfer mode in the block chain, so that the settlement efficiency and the cooperation viscosity among enterprises are effectively improved, and the normal flow transfer of an industrial chain is further ensured.
Based on the implementation frameworks of fig. 1 and fig. 2, please refer to fig. 4 together, which provides a flow diagram of a data allocation method based on a block chain according to an embodiment of the present application. As shown in fig. 4, the method of the embodiment of the present application may include the following steps S201 to S212.
S201, acquiring user identity data sent based on second account information of a virtual asset sender, and sending virtual asset allocation data to block node equipment in a service block chain based on the user identity data;
specifically, the data distribution device may obtain user identity data sent based on second account information of a virtual asset sender, the service block chain may be uniformly established by an organization to which the data distribution device belongs, the second account information may specifically be account information of the virtual asset sender in the service block chain, the user identity data may specifically include, but is not limited to, one or more of a name, contact information, an asset status, a company operation status, and the like, a worker of the data distribution device may verify the user identity data of the virtual asset sender and determine an allocation data volume of virtual assets that can be allocated to the virtual asset sender after verification, where the allocation data volume is specifically used to represent a total data volume of virtual assets that can be allocated to the virtual asset sender, the data distribution equipment may send virtual asset distribution data to a block node equipment in a service block chain based on the user identity data, where the virtual asset distribution data includes a distribution data volume of a virtual asset and the second account information, and the block node equipment receives the virtual asset distribution data sent by the data distribution equipment and performs uplink storage on the virtual asset distribution data. It can be understood that, for all users in the same service block chain, the virtual asset may be requested from the organization to which the data distribution device belongs through respective user identity information, so as to facilitate subsequent use, and a specific request process may refer to a request process of the virtual asset sender.
S202, acquiring virtual asset transfer data sent based on second account information of a virtual asset sender;
specifically, the data distribution device may obtain virtual asset transfer data sent based on second account information of a virtual asset sender, where the virtual asset transfer data may carry asset data volume of a virtual asset, first account information of a virtual asset receiver, and second account information of the virtual asset sender, where the first account information is account information of the virtual asset receiver in the service block chain, and the asset data volume is used to represent data volume of a virtual asset that needs to be currently circulated, and it may be understood that a value of service data corresponding to a value of the virtual asset may be specifically set according to actual scene needs.
S203, acquiring user signature data which is sent aiming at the virtual asset transfer data based on the second account information;
specifically, the second account information of the virtual asset sender may also send user signature data when sending the virtual asset transfer data, optionally, the user terminal of the virtual asset sender may generate a target hash value of the virtual turn-to-production transfer data, and the target hash value is encrypted by adopting a user private key of a virtual asset sender pre-allocated by the service block chain, to obtain the user signature data, to send the user signature data to the data distribution device, the data distribution device may obtain user signature data sent for the virtual asset transfer data based on the second account information, the user signature data is used by a block node device to verify the virtual asset transfer data, the safety of the virtual asset transfer data in the transmission process is guaranteed, and malicious tampering of the virtual asset transfer data is prevented.
S204, sending the virtual asset transfer data to block node equipment in a service block chain;
specifically, the data distribution device may send the virtual asset transfer data to a block node device in a service block chain, where the block node device may generate a virtual asset transaction credential based on the virtual asset transfer data, optionally, the block node device may encapsulate the virtual asset transfer data and a timestamp based on a credential format set by an intelligent contract to generate a virtual asset transaction credential, and the block node device may perform uplink storage on the virtual asset transaction credential. Optionally, the data distribution device may send the virtual asset transfer data and the user signature data to the block node device, and the block node device may verify the virtual asset transfer data by using the user signature data, specifically, the block node device may decrypt the user signature data by using a user public key of the virtual asset sender to obtain the target hash value, and convert the virtual asset transfer data into a verification hash value, and when the target hash value and the verification hash value are the same, it may be determined that the virtual asset transfer data is successfully verified, that is, the virtual asset transfer data is not tampered during transmission, and the block node device may generate a virtual asset transaction credential based on the virtual asset transfer data after the virtual asset transfer data is successfully verified, it should be noted that the virtual asset transaction certificate may further include traceability information of the virtual asset, and the traceability information may specifically be a circulation record of the virtual asset before the second account information is transferred to the first account information.
S205, acquiring a data distribution request sent by the service account information of the virtual asset receiver based on the data distribution service;
specifically, the data distribution device may obtain, based on the data distribution service, a data distribution request sent by service account information of the virtual asset recipient, where the data distribution request carries a service data identifier, the data distribution service may include, but is not limited to, a fund distribution service, a game virtual article distribution service, a novel chapter opening service, and the like, the virtual asset recipient is a receiving user who has currently received a virtual asset from the virtual asset sender, the virtual asset is virtual currency information in a service block chain, the service account information is account information configured by the data distribution device to a user when the user initially registers the data distribution service, and the service account information is specifically used for logging in a terminal application corresponding to the data distribution service and activating use of each function in the terminal application, the virtual asset receiver can log in the terminal application in a user terminal based on the service account information of the virtual asset receiver, the user terminal can acquire the service data identifier of the service data requested by the virtual asset receiver in the terminal application, and send a data distribution request to the data distribution equipment based on the service account information of the virtual asset receiver, and the data distribution equipment can acquire the data distribution request sent by the user terminal based on the service account information of the virtual asset receiver and acquire the service data identifier in the data distribution request.
S206, acquiring first account information of the service account information of the virtual asset receiver in a service block chain;
specifically, the data distribution device may obtain first account information of the service account information of the virtual asset receiver in the service block chain, and optionally, the data distribution device may store in advance the service account information of each user, the account information in the service block chain, and an association relationship between the two, where the account information in the service block chain is specifically used for transferring the virtual asset in the service block chain and reading a virtual asset transaction certificate, and the like.
S207, acquiring a virtual asset transaction certificate corresponding to the first account information in the service block chain based on the block node equipment;
specifically, the data distribution device may obtain, in the service block chain, a virtual asset transaction credential corresponding to the first account information based on the block node device, where the virtual asset transaction credential includes an asset data volume of a virtual asset, the first account information, and second account information of a virtual asset sender, where the second account information is the account information of the virtual asset sender in the service block chain, and optionally, the asset data volume is used to represent a data volume of a virtual asset that needs to be currently circulated, and the virtual asset transaction credential may further include a time stamp, which is convenient for a user and a worker to determine a specific occurrence time of virtual asset transfer.
S208, acquiring service account information of the virtual asset sender corresponding to the second account information in the data distribution service;
specifically, the data distribution device may obtain service account information of the virtual asset sender corresponding to the second account information obtained in the data distribution service, and first detect whether there is an abnormal condition in the service account information of the virtual asset sender, for example: whether a logout behavior exists or not, whether the business account information is blacklist business account information or not, and the like, if the business account information of the virtual asset sender does not have an abnormal condition, determining that the business account information of the virtual asset sender belongs to a first account state, otherwise, determining that the business account information of the virtual asset sender belongs to a second account state.
S209, when detecting that the service account information of the virtual asset sender belongs to a first account state, matching the asset data volume by adopting the required data volume of the service data corresponding to the service data identifier;
specifically, when it is detected that the service account information of the virtual asset sender belongs to the first account state, that is, the service account information of the virtual asset sender is in a normal state, the data distribution device may match the asset data volume with a required data volume of service data corresponding to the service data identifier, where the required data volume is used to represent a data volume of a virtual asset required by the value of the service data.
S210, when the asset data volume is matched with the required data volume, distributing service data corresponding to the service data identification to the service account information of the virtual asset receiver;
s211, when detecting that the service account information of the virtual asset sender belongs to a second account state, stopping distributing the service data corresponding to the service data identification to the service account information of the virtual asset receiver;
specifically, when it is detected that the service account information of the virtual asset sender has an abnormal condition, the data distribution device may stop distributing the service data corresponding to the service data identifier to the service account information of the virtual asset receiver, and may output a prompt message to prompt a worker to perform further verification.
S212, when the service data are distributed to the service account information of the virtual asset receiver, generating a service data distribution certificate based on the service data identifier and the first account information, and sending the service data distribution certificate to block node equipment for uplink storage;
specifically, when the service data is allocated to the service account information of the virtual asset receiver, the data allocation device may generate a service data allocation certificate based on the service data identifier and the first account information, where the service data allocation certificate is used to indicate that the current service data has been allocated, the data allocation device may send the service data allocation certificate to the block node device, and the block node device performs uplink storage on the service data allocation certificate, so that a subsequent worker can conveniently perform verification and cancellation on the data allocation request and the service data allocation certificate.
In the embodiment of the application, the requested service data can be distributed to the service account information of the virtual asset receiver in the data distribution service based on the virtual asset transaction certificate through the virtual asset transaction certificate which is recorded in the service block chain and comprises the asset data volume of the virtual asset, the first account information of the virtual asset receiver and the second account information of the virtual asset sender, and the distribution of the service data is realized by adopting a virtual asset transfer mode in the block chain, so that the settlement efficiency and the cooperation viscosity among enterprises are effectively improved, and the normal flow transfer of an industrial chain is further ensured; the reliability of the virtual assets can be ensured through the uniform distribution of the virtual assets; the virtual asset transfer data is verified through the user signature data, so that the safety of the virtual asset transfer data in the transmission process is ensured, and the malicious tampering of the virtual asset transfer data is prevented; through the uplink storage of the business data distribution certificate, the subsequent staff can conveniently verify and cancel the data distribution request and the business data distribution certificate.
The data distribution method according to the embodiment of the present application will be described in detail below with reference to two specific implementation scenarios.
Referring to fig. 5, in the implementation scenario of the product chain as shown in fig. 5, wherein one industry chain includes the auto factory-tire factory-aluminum ingot factory-aluminum mine factory, if the auto sale situation of the auto factory is bad, it cannot pay corresponding funds to the tire factory, and at this time, the automobile factory can pay the corresponding funds according to the actual debt condition of the tire factory, the corresponding virtual money is transferred to the first account information of the tire factory based on the second account information of the service block chain, and at this time, the virtual asset transfer voucher of the virtual currency may be stored in the service block chain, and it should be noted that the virtual currency has been previously allocated from the service block chain created by a third party organization such as a bank, a financial institution, and the like in the second account information of the automobile factory, and the virtual currency may be purchased from the automobile factory to the third party organization in advance, or may be allocated to the automobile factory by the third party organization according to the actual situation of the automobile factory.
When the virtual money transferred by the automobile factory is acquired from the first account information of the tire factory, the tire factory may send a loan request to the data distribution equipment, where the loan request may carry an amount identifier of the required loan, and the data distribution equipment may further acquire virtual asset transfer vouchers of the virtual money of the two enterprises from the service block chain, and may finally allocate funds corresponding to the amount identifier of the required loan to the bank account information of the tire factory based on the virtual asset transaction vouchers. When the tire factory obtains the fund, the tire factory can further pay the corresponding fund to the aluminum ingot factory and the like so as to ensure the normal operation among enterprises.
In the embodiment of the application, the requested service data can be distributed to the service account information of the virtual asset receiver in the data distribution service based on the virtual asset transaction certificate through the virtual asset transaction certificate which is recorded in the service block chain and comprises the asset data volume of the virtual asset, the first account information of the virtual asset receiver and the second account information of the virtual asset sender, and the distribution of the service data is realized by adopting a virtual asset transfer mode in the block chain, so that the settlement efficiency and the cooperation viscosity among enterprises are effectively improved, and the normal flow transfer of an industrial chain is further ensured.
Referring to fig. 6, as shown in fig. 6, in an implementation scenario of a game application, player 1 and player 2 may both obtain game money from a service block chain through a data distribution device in advance, for example: and when the player 1 purchases equipment props from the game store transaction module to the player 2, the corresponding game money can be deducted from the second account information of the player 1 and transferred to the first account information of the player 2, and corresponding virtual asset transfer voucher uplink storage is generated.
At this time, the player 2 may purchase the manufactured materials of the outfit items from the game mall by using the obtained virtual money, the player 2 may send a material purchase request to the data distribution device, where the material purchase request may carry a material identifier of the required material, the data distribution device may further obtain virtual asset transfer vouchers of the game money of the two players from the service block chain, and finally may distribute the manufactured materials corresponding to the material identifiers to the game account information of the player 2 based on the virtual asset transaction voucher.
In the embodiment of the application, the virtual asset transaction voucher is obtained by linking and storing the circulation process of the virtual asset into the service block chain, and then the required service data is distributed to the user through the virtual asset transaction voucher.
Based on the implementation framework of fig. 1 and fig. 2, the data distribution apparatus provided by the embodiment of the present application will be described in detail below with reference to fig. 7 to fig. 9. It should be noted that the apparatuses shown in fig. 7 to 9 are used for executing the method of the embodiments shown in fig. 3 to 6 of the present application, and for convenience of description, only the portions related to the embodiments of the present application are shown, and details of the technology are not disclosed, please refer to the embodiments shown in fig. 3 to 6 of the present application.
Please refer to fig. 7, which provides a schematic structural diagram of a data distribution apparatus according to an embodiment of the present application. As shown in fig. 7, the data distribution apparatus 1 according to the embodiment of the present application may include: a request acquisition unit 11, an account information acquisition unit 12, a credential acquisition unit 13, and a data distribution unit 14.
A request obtaining unit 11, configured to obtain, based on the data distribution service, a data distribution request sent by service account information of the virtual asset receiver;
an account information obtaining unit 12, configured to obtain first account information of the service account information of the virtual asset receiver in a service block chain;
a credential obtaining unit 13, configured to obtain, based on the block node device, a virtual asset transaction credential corresponding to the first account information in the service block chain;
and the data distribution unit 14 is configured to distribute service data corresponding to the service data identifier to the service account information of the virtual asset receiver based on the virtual asset transaction certificate.
In the embodiment of the application, the requested service data can be distributed to the service account information of the virtual asset receiver in the data distribution service based on the virtual asset transaction certificate through the virtual asset transaction certificate which is recorded in the service block chain and comprises the asset data volume of the virtual asset, the first account information of the virtual asset receiver and the second account information of the virtual asset sender, and the distribution of the service data is realized by adopting a virtual asset transfer mode in the block chain, so that the settlement efficiency and the cooperation viscosity among enterprises are effectively improved, and the normal flow transfer of an industrial chain is further ensured.
Please refer to fig. 8, which provides a schematic structural diagram of a data distribution apparatus according to an embodiment of the present application. As shown in fig. 8, the data distribution apparatus 1 according to the embodiment of the present application may include: a request acquisition unit 11, an account information acquisition unit 12, a credential acquisition unit 13, a data distribution unit 14, a distribution data transmission unit 15, a transfer data acquisition unit 16, a transfer data transmission unit 17, a signature data acquisition unit 18, and a credential transmission unit 19.
The allocation data sending unit 15 is configured to obtain user identity data sent based on second account information of a virtual asset sender, and send virtual asset allocation data to a block node device in a service block chain based on the user identity data;
a transfer data obtaining unit 16, configured to obtain virtual asset transfer data sent based on second account information of the virtual asset sender;
a signature data acquisition unit 18 configured to acquire user signature data transmitted for the virtual asset transfer data based on the second account information;
a transfer data sending unit 17, configured to send the virtual asset transfer data to a block node device in a service block chain;
a request obtaining unit 11, configured to obtain, based on the data distribution service, a data distribution request sent by service account information of the virtual asset receiver;
an account information obtaining unit 12, configured to obtain first account information of the service account information of the virtual asset receiver in a service block chain;
a credential obtaining unit 13, configured to obtain, based on the block node device, a virtual asset transaction credential corresponding to the first account information in the service block chain;
the data distribution unit 14 is configured to distribute service data corresponding to the service data identifier to the service account information of the virtual asset receiver based on the virtual asset transaction certificate;
a certificate sending unit 19, configured to, when the service data is allocated to the service account information of the virtual asset receiver, generate a service data allocation certificate based on the service data identifier and the first account information, and send the service data allocation certificate to a block node device for uplink storage.
Specifically, please refer to fig. 9, which provides a schematic structural diagram of a data allocation unit according to an embodiment of the present application. As shown in fig. 9, the data distribution unit 14 may include:
an information obtaining subunit 141, configured to obtain, in the data distribution service, service account information of the virtual asset sender corresponding to the second account information;
a data size matching subunit 142, configured to match, when it is detected that the service account information of the virtual asset sender belongs to the first account status, the asset data size with a required data size of service data corresponding to the service data identifier;
a data allocation subunit 143, configured to allocate, when the asset data amount matches the required data amount, service data corresponding to the service data identifier to the service account information of the virtual asset receiver;
and the data processing subunit 144 is configured to, when it is detected that the service account information of the virtual asset sender belongs to the second account state, stop allocating the service data corresponding to the service data identifier to the service account information of the virtual asset receiver.
In the embodiment of the application, the requested service data can be distributed to the service account information of the virtual asset receiver in the data distribution service based on the virtual asset transaction certificate through the virtual asset transaction certificate which is recorded in the service block chain and comprises the asset data volume of the virtual asset, the first account information of the virtual asset receiver and the second account information of the virtual asset sender, and the distribution of the service data is realized by adopting a virtual asset transfer mode in the block chain, so that the settlement efficiency and the cooperation viscosity among enterprises are effectively improved, and the normal flow transfer of an industrial chain is further ensured; the reliability of the virtual assets can be ensured through the uniform distribution of the virtual assets; the virtual asset transfer data is verified through the user signature data, so that the safety of the virtual asset transfer data in the transmission process is ensured, and the malicious tampering of the virtual asset transfer data is prevented; through the uplink storage of the business data distribution certificate, the subsequent staff can conveniently verify and cancel the data distribution request and the business data distribution certificate.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of program instructions, where the program instructions are suitable for being loaded by a processor and executing the method steps in the embodiments shown in fig. 3 to 6, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 3 to 6, which is not described herein again.
Referring to fig. 10, a schematic structural diagram of a computer device is provided according to an embodiment of the present application. As shown in fig. 10, the computer apparatus 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, input output interfaces 1003, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 10, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, an input output interface module, and a data distribution application program.
In the computer apparatus 1000 shown in fig. 10, the input/output interface 1003 is mainly used as an interface for providing input for a user and acquiring data input by the user.
The processor 1001 may be configured to invoke a data distribution application stored in the memory 1005 and specifically perform the following operations:
acquiring a data distribution request sent by service account information of a virtual asset receiver based on a data distribution service, wherein the data distribution request carries a service data identifier;
acquiring first account information of the service account information of the virtual asset receiver in a service block chain;
acquiring a virtual asset transaction certificate corresponding to the first account information in the service block chain based on the block node device, wherein the virtual asset transaction certificate comprises asset data volume of a virtual asset, the first account information and second account information of a virtual asset sender, and the second account information is account information of the virtual asset sender in the service block chain;
and distributing the service data corresponding to the service data identification to the service account information of the virtual asset receiver based on the virtual asset transaction voucher.
Optionally, before executing the data allocation request sent by acquiring the service account information of the virtual asset receiver based on the data allocation service, the processor 1001 further performs the following operations:
the method comprises the steps of obtaining user identity data sent based on second account information of a virtual asset sending party, and sending virtual asset allocation data to block node equipment in a service block chain based on the user identity data so that the block node equipment can carry out uplink storage on the virtual asset allocation data, wherein the virtual asset allocation data comprise the allocation data volume of virtual assets and the second account information.
Optionally, before executing the data allocation request sent by acquiring the service account information of the virtual asset receiver based on the data allocation service, the processor 1001 further performs the following operations:
acquiring virtual asset transfer data sent based on second account information of a virtual asset sender, wherein the virtual asset transfer data carries asset data volume of a virtual asset, first account information of a virtual asset receiver and second account information of the virtual asset sender, and the first account information is account information of the virtual asset receiver in the service block chain;
and sending the virtual asset transfer data to block node equipment in a service block chain, wherein the virtual asset transfer data is used for the block node equipment to generate a virtual asset transaction certificate, so that the block node equipment can carry out uplink storage on the virtual asset transaction certificate.
Optionally, the processor 1001 further performs the following operations:
obtaining user signature data sent for the virtual asset transfer data based on the second account information;
the sending the virtual asset transfer data to a block node device in a service block chain, where the virtual asset transfer data is used for the block node device to generate a virtual asset transaction certificate, so that the block node device performs uplink storage on the virtual asset transaction certificate, including:
and sending the virtual asset transfer data and the user signature data to block node equipment in a service block chain, wherein the user signature data is used for verifying the virtual asset transfer data by the block node equipment, and the virtual asset transfer data is used for generating a virtual asset transaction certificate by the block node equipment after the virtual asset transfer data is successfully verified and carrying out uplink storage on the virtual asset transaction certificate.
Optionally, when the processor 1001 allocates the service data corresponding to the service data identifier to the service account information of the virtual asset receiver based on the virtual asset transaction certificate, specifically perform the following operations:
acquiring service account information of the virtual asset sender corresponding to the second account information in the data distribution service;
when detecting that the service account information of the virtual asset sender belongs to a first account state, matching the asset data volume by adopting the required data volume of the service data corresponding to the service data identifier;
and when the asset data volume is matched with the required data volume, distributing the service data corresponding to the service data identification to the service account information of the virtual asset receiver.
Optionally, the processor 1001 further performs the following operations:
and when detecting that the service account information of the virtual asset sender belongs to a second account state, stopping distributing the service data corresponding to the service data identification to the service account information of the virtual asset receiver.
Optionally, the processor 1001 further performs the following operations:
and when the service data are distributed to the service account information of the virtual asset receiver, generating a service data distribution certificate based on the service data identifier and the first account information, and sending the service data distribution certificate to block node equipment for uplink storage.
In the embodiment of the application, the requested service data can be distributed to the service account information of the virtual asset receiver in the data distribution service based on the virtual asset transaction certificate through the virtual asset transaction certificate which is recorded in the service block chain and comprises the asset data volume of the virtual asset, the first account information of the virtual asset receiver and the second account information of the virtual asset sender, and the distribution of the service data is realized by adopting a virtual asset transfer mode in the block chain, so that the settlement efficiency and the cooperation viscosity among enterprises are effectively improved, and the normal flow transfer of an industrial chain is further ensured; the reliability of the virtual assets can be ensured through the uniform distribution of the virtual assets; the virtual asset transfer data is verified through the user signature data, so that the safety of the virtual asset transfer data in the transmission process is ensured, and the malicious tampering of the virtual asset transfer data is prevented; through the uplink storage of the business data distribution certificate, the subsequent staff can conveniently verify and cancel the data distribution request and the business data distribution certificate.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A data distribution method based on block chains is characterized by comprising the following steps:
acquiring a data distribution request sent by service account information of a virtual asset receiver based on a data distribution service, wherein the data distribution request carries a service data identifier;
acquiring first account information of the service account information of the virtual asset receiver in a service block chain;
acquiring a virtual asset transaction certificate corresponding to the first account information in the service block chain based on the block node device, wherein the virtual asset transaction certificate comprises asset data volume of a virtual asset, the first account information and second account information of a virtual asset sender, and the second account information is account information of the virtual asset sender in the service block chain;
and distributing the service data corresponding to the service data identification to the service account information of the virtual asset receiver based on the virtual asset transaction voucher.
2. The method of claim 1, wherein before the data distribution request sent by the data distribution service for obtaining the service account information of the virtual asset receiver, the method further comprises:
the method comprises the steps of obtaining user identity data sent based on second account information of a virtual asset sender, and sending virtual asset allocation data to block node equipment in a service block chain based on the user identity data so that the block node equipment can carry out uplink storage on the virtual asset allocation data, wherein the virtual asset allocation data comprise allocation data volume of virtual assets and the second account information, and the allocation data volume is used for representing total data volume of the virtual assets allocated to the virtual asset sender.
3. The method of claim 1, wherein before the data distribution request sent by the data distribution service for obtaining the service account information of the virtual asset receiver, the method further comprises:
acquiring virtual asset transfer data sent based on second account information of a virtual asset sender, wherein the virtual asset transfer data carries asset data volume of a virtual asset, first account information of a virtual asset receiver and second account information of the virtual asset sender, and the first account information is account information of the virtual asset receiver in the service block chain;
and sending the virtual asset transfer data to block node equipment in a service block chain, wherein the virtual asset transfer data is used for the block node equipment to generate a virtual asset transaction certificate, so that the block node equipment can carry out uplink storage on the virtual asset transaction certificate.
4. The method of claim 3, further comprising:
obtaining user signature data sent for the virtual asset transfer data based on the second account information;
the sending the virtual asset transfer data to a block node device in a service block chain, where the virtual asset transfer data is used for the block node device to generate a virtual asset transaction certificate, so that the block node device performs uplink storage on the virtual asset transaction certificate, including:
and sending the virtual asset transfer data and the user signature data to block node equipment in a service block chain, wherein the user signature data is used for verifying the virtual asset transfer data by the block node equipment, and the virtual asset transfer data is used for generating a virtual asset transaction certificate by the block node equipment after the virtual asset transfer data is successfully verified and carrying out uplink storage on the virtual asset transaction certificate.
5. The method of claim 1, wherein the allocating the service data corresponding to the service data identifier to the service account information of the virtual asset receiver based on the virtual asset transaction credential comprises:
acquiring service account information of the virtual asset sender corresponding to the second account information in the data distribution service;
when detecting that the service account information of the virtual asset sender belongs to a first account state, matching the asset data volume by adopting the required data volume of the service data corresponding to the service data identifier;
and when the asset data volume is matched with the required data volume, distributing the service data corresponding to the service data identification to the service account information of the virtual asset receiver.
6. The method of claim 5, further comprising:
and when detecting that the service account information of the virtual asset sender belongs to a second account state, stopping distributing the service data corresponding to the service data identification to the service account information of the virtual asset receiver.
7. The method of claim 1, further comprising:
and when the service data are distributed to the service account information of the virtual asset receiver, generating a service data distribution certificate based on the service data identifier and the first account information, and sending the service data distribution certificate to block node equipment for uplink storage.
8. A blockchain-based data distribution apparatus, comprising:
the system comprises a request acquisition unit, a data distribution unit and a data processing unit, wherein the request acquisition unit is used for acquiring a data distribution request sent by service account information of a virtual asset receiver based on a data distribution service, and the data distribution request carries a service data identifier;
the account information acquisition unit is used for acquiring first account information of the service account information of the virtual asset receiver in a service block chain;
a certificate obtaining unit, configured to obtain, based on a block node device, a virtual asset transaction certificate corresponding to the first account information in the service block chain, where the virtual asset transaction certificate includes an asset data amount of a virtual asset, the first account information, and second account information of a virtual asset sender, and the second account information is account information of the virtual asset sender in the service block chain;
and the data distribution unit is used for distributing the service data corresponding to the service data identification to the service account information of the virtual asset receiver based on the virtual asset transaction certificate.
9. A computer device comprising a processor, a memory, an input output interface;
the processor is connected with the memory and the input/output interface respectively, wherein the input/output interface is used for page interaction, the memory is used for storing program codes, and the processor is used for calling the program codes to execute the method according to any one of claims 1 to 7.
10. A computer storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions which, when executed by a processor, perform the method according to any one of claims 1-7.
CN201911175186.3A 2019-11-26 2019-11-26 Block chain-based data distribution method and equipment and storage medium thereof Active CN111222841B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911175186.3A CN111222841B (en) 2019-11-26 2019-11-26 Block chain-based data distribution method and equipment and storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911175186.3A CN111222841B (en) 2019-11-26 2019-11-26 Block chain-based data distribution method and equipment and storage medium thereof

Publications (2)

Publication Number Publication Date
CN111222841A true CN111222841A (en) 2020-06-02
CN111222841B CN111222841B (en) 2024-04-12

Family

ID=70830671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911175186.3A Active CN111222841B (en) 2019-11-26 2019-11-26 Block chain-based data distribution method and equipment and storage medium thereof

Country Status (1)

Country Link
CN (1) CN111222841B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184194A (en) * 2020-11-02 2021-01-05 立旃(上海)科技有限公司 Resource authorization method and device based on block chain
CN112800299A (en) * 2021-03-12 2021-05-14 iCALC控股有限公司 Data processing method, device and equipment based on block chain and readable storage medium
CN112907244A (en) * 2021-02-10 2021-06-04 iCALC控股有限公司 Data processing method, device and equipment based on block chain and readable storage medium
CN113837593A (en) * 2021-09-18 2021-12-24 北京百度网讯科技有限公司 Virtual data distribution method, device, equipment and storage medium
WO2022082360A1 (en) * 2020-10-19 2022-04-28 威富通科技有限公司 Digital asset transfer system
WO2023216786A1 (en) * 2022-05-10 2023-11-16 腾讯科技(深圳)有限公司 Blockchain-based data processing method and apparatus, and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180101914A1 (en) * 2016-10-10 2018-04-12 Escolhalegal, Llc Systems, methods and machine-readable mediums for data management and payment processing
US20180293553A1 (en) * 2017-04-06 2018-10-11 Stronghold Labs, Llc Account platform for a distributed network of nodes
CN110009321A (en) * 2018-12-12 2019-07-12 阿里巴巴集团控股有限公司 A kind of transfer account method and system based on block chain intelligence contract
CN110221919A (en) * 2019-05-31 2019-09-10 阿里巴巴集团控股有限公司 Virtual resource allocation method and apparatus based on block chain
US20190347657A1 (en) * 2017-06-12 2019-11-14 Tencent Technology (Shenzhen) Company Limited Resource transfer method and apparatus, storage medium, and computer device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180101914A1 (en) * 2016-10-10 2018-04-12 Escolhalegal, Llc Systems, methods and machine-readable mediums for data management and payment processing
US20180293553A1 (en) * 2017-04-06 2018-10-11 Stronghold Labs, Llc Account platform for a distributed network of nodes
US20190347657A1 (en) * 2017-06-12 2019-11-14 Tencent Technology (Shenzhen) Company Limited Resource transfer method and apparatus, storage medium, and computer device
CN110009321A (en) * 2018-12-12 2019-07-12 阿里巴巴集团控股有限公司 A kind of transfer account method and system based on block chain intelligence contract
CN110221919A (en) * 2019-05-31 2019-09-10 阿里巴巴集团控股有限公司 Virtual resource allocation method and apparatus based on block chain

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022082360A1 (en) * 2020-10-19 2022-04-28 威富通科技有限公司 Digital asset transfer system
CN112184194A (en) * 2020-11-02 2021-01-05 立旃(上海)科技有限公司 Resource authorization method and device based on block chain
CN112907244A (en) * 2021-02-10 2021-06-04 iCALC控股有限公司 Data processing method, device and equipment based on block chain and readable storage medium
CN112907244B (en) * 2021-02-10 2023-11-28 iCALC控股有限公司 Block chain-based data processing method, device, equipment and readable storage medium
CN112800299A (en) * 2021-03-12 2021-05-14 iCALC控股有限公司 Data processing method, device and equipment based on block chain and readable storage medium
WO2022188196A1 (en) * 2021-03-12 2022-09-15 iCALC控股有限公司 Blockchain-based data processing method and apparatus, device, and readable storage medium
CN113837593A (en) * 2021-09-18 2021-12-24 北京百度网讯科技有限公司 Virtual data distribution method, device, equipment and storage medium
CN113837593B (en) * 2021-09-18 2023-08-15 北京百度网讯科技有限公司 Virtual data distribution method, device, equipment and storage medium
WO2023216786A1 (en) * 2022-05-10 2023-11-16 腾讯科技(深圳)有限公司 Blockchain-based data processing method and apparatus, and device and storage medium

Also Published As

Publication number Publication date
CN111222841B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
CN111222841B (en) Block chain-based data distribution method and equipment and storage medium thereof
CN112381646A (en) Privacy transaction based on block chain and application method and device thereof
CN111080295A (en) Block chain-based electronic contract processing method and equipment
CN109614813B (en) Privacy transaction method and device based on block chain and application method and device thereof
CN112115205B (en) Cross-chain trust method, device, equipment and medium based on digital certificate authentication
CN107204957B (en) Account binding and service processing method and device
CN111738725B (en) Cross-border resource transfer authenticity auditing method and device and electronic equipment
CN110633963A (en) Electronic bill processing method, electronic bill processing device, computer-readable storage medium and equipment
CN110601896B (en) Data processing method and equipment based on block chain nodes
CN113472807B (en) Private communication method and device between users
CN111488596A (en) Data processing permission verification method and device, electronic equipment and storage medium
CN104753674A (en) Application identity authentication method and device
CN110674531B (en) Residential information management method, device, server and medium based on block chain
CN110866265A (en) Data storage method, device and storage medium based on block chain
CN111292057A (en) Service processing method based on block chain
CN111274597A (en) Data processing method and equipment
CN114239066A (en) Contract processing method based on block chain and related equipment
KR101120059B1 (en) Billing verifying apparatus, billing apparatus and method for cloud computing environment
CN111476617A (en) Data processing method, data processing device, computer equipment and medium
CN113869901B (en) Key generation method, key generation device, computer-readable storage medium and computer equipment
CN116451280A (en) Asset management method and device based on blockchain
CN111144958B (en) Electronic invoice issuing method, device and system based on block chain
CN111415174A (en) Authentication information sending method and equipment based on block chain and storage medium
CN111198763A (en) Resource reuse detection method, terminal and computer-readable storage medium
CN111008251A (en) Data processing method and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40024820

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant