CN111556145A - Data processing method and device based on block chain - Google Patents

Data processing method and device based on block chain Download PDF

Info

Publication number
CN111556145A
CN111556145A CN202010343654.XA CN202010343654A CN111556145A CN 111556145 A CN111556145 A CN 111556145A CN 202010343654 A CN202010343654 A CN 202010343654A CN 111556145 A CN111556145 A CN 111556145A
Authority
CN
China
Prior art keywords
commodity
information
node
block chain
network
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.)
Pending
Application number
CN202010343654.XA
Other languages
Chinese (zh)
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010343654.XA priority Critical patent/CN111556145A/en
Publication of CN111556145A publication Critical patent/CN111556145A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Abstract

The application discloses a data processing method and device based on a block chain. The first node is a seller node, the first node can send the first commodity information to the first device by using a 5G network, and the first device issues the first commodity information to the block chain. The first commodity information is used for indicating the price of the current commodity in sale. The data stored in the block chain can not be tampered, and the first commodity information is stored in the block chain, so that the commodity information is guaranteed to be transparent, the public can know the price of the current commodity through the block chain, and the conditions of raising the price of the commodity and the like are avoided.

Description

Data processing method and device based on block chain
Technical Field
The present application relates to the field of blockchains, and in particular, to a method and an apparatus for processing data based on blockchains.
Background
In the early 2020, new coronavirus was developed in China. Medical materials such as masks, sterilized alcohol, thermometers and the like are in short supply since epidemic situations occur. The shortage of medical supplies causes phenomena such as promotion of prices.
Therefore, a solution to solve the above problems is urgently needed.
Disclosure of Invention
The technical problem to be solved by the present application is to provide a block chain-based data processing method and device, which is a problem of raising prices of things in the market at present.
In a first aspect, an embodiment of the present application provides a data processing method based on a block chain, where the method includes:
the method comprises the steps that first equipment receives first commodity information sent by a first node through a 5G network of a fifth generation mobile communication technology, wherein the first commodity information indicates the price of a commodity which is sold currently;
and the first equipment issues the first commodity information to a block chain through the 5G network.
Optionally, the method further includes:
the first device receives a first request from a second node, wherein the first request is used for requesting to read data in the block chain;
and the first equipment acquires the first commodity information under the condition that the first request passes the verification, and sends the first commodity information to the second node.
Optionally, the method further includes:
the first equipment receives transaction information sent by a first node through a 5G network, wherein the transaction information is information of sold commodities in a certain time period;
and the first equipment issues the transaction information to a block chain through the 5G network.
Optionally, the method further includes:
the first equipment receives commodity demand information generated by a third node through the 5G network, wherein the commodity demand information indicates the type and the quantity of required commodities;
and the first equipment issues the commodity demand information to a block chain through the 5G network.
Optionally, the first commodity information further includes a quantity of commodities sold, and the method further includes:
the first equipment acquires the first commodity information and the commodity demand information from the block chain;
the first equipment generates a trade order according to the commodity demand information and the first commodity information;
the first device issues the trade order into the blockchain.
In a second aspect, an embodiment of the present application provides a data processing apparatus based on a block chain, where the apparatus includes:
a first receiving unit, configured to receive, through a 5G network of a fifth generation mobile communication technology, first commodity information sent by a first node, where the first commodity information indicates a price of a commodity currently sold;
and the first issuing unit is used for issuing the first commodity information to a block chain through the 5G network.
Optionally, the apparatus further comprises:
a second receiving unit, configured to receive a first request from a second node, where the first request is used to request to read data in the block chain;
a first obtaining unit, configured to obtain the first commodity information when the first request is verified;
and the sending unit is used for sending the first commodity information to the second node.
Optionally, the apparatus further comprises:
the third receiving unit is used for receiving the transaction information sent by the first node through a 5G network, wherein the transaction information is the information of sold commodities in a certain time period;
and the second issuing unit is used for issuing the transaction information to the block chain through the 5G network.
Optionally, the apparatus further comprises:
a fourth receiving unit, configured to receive, through the 5G network, commodity demand information generated by a third node, where the commodity demand information indicates a category and a quantity of a required commodity;
and the third issuing unit is used for issuing the commodity demand information to the block chain through the 5G network.
Optionally, the first commodity information further includes a quantity of commodities sold, and the apparatus further includes:
the second acquisition unit is used for acquiring the first commodity information and the commodity demand information from the block chain;
the order generating unit is used for generating a transaction order according to the commodity demand information and the first commodity information;
a fourth issuing unit, configured to issue the trade order into the blockchain.
Compared with the prior art, the embodiment of the application has the following advantages:
in this embodiment of the application, the first node is a vendor node, the first node may send the first commodity information to the first device by using a 5G network, and the first device issues the first commodity information to the blockchain. The first commodity information is used for indicating the price of the current commodity in sale. The data stored in the block chain can not be tampered, and the first commodity information is stored in the block chain, so that the commodity information is guaranteed to be transparent, the public can know the price of the current commodity through the block chain, and the conditions of raising the price of the commodity and the like are avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be 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 described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of a network architecture according to an embodiment of the present application;
fig. 2 is a signaling interaction diagram of a data processing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a data processing apparatus based on a block chain according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, 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.
The inventor of the application finds that due to the fact that the price of the existing article is not transparent, people cannot know the normal price of the article, and the problem of raising the price of the article occurs. In view of this, in the embodiment of the present application, the first node as the vendor node may send the first commodity information to the first device by using the 5G network, and the first device issues the first commodity information into the blockchain. The first commodity information is used for indicating the price of the current commodity in sale. The data stored in the block chain can not be tampered, and the first commodity information is stored in the block chain, so that the commodity information is guaranteed to be transparent, the public can know the price of the current commodity through the block chain, and the conditions of raising the price of the commodity and the like are avoided.
Various non-limiting embodiments of the present application are described in detail below with reference to the accompanying drawings.
Referring to fig. 1, the figure is a schematic diagram of a network architecture provided in the embodiment of the present application. In the network architecture shown in fig. 1, a first node 101, a first device 102 and a blockchain 103 are included. The first node 101 is a vendor node, for example, the first node 101 is a retailer node, and for example, the first node 101 is an e-commerce node. The first node 101 and the first device 102 may communicate with each other through a 5th generation mobile communication technology (5G) network. The first device 102 may access the blockchain 103 using 5G technology.
Regarding the 5G network, it should be noted that the data transmission rate of the 5G network is much higher than that of the previous cellular network, and can reach up to 10Gbit/s, which is faster than the current wired internet, and 100 times faster than the previous 4G Long Term Evolution (LTE) cellular network. Another advantage is lower network delay (faster response time), below 1 millisecond, while the delay for 4G networks is 30-70 milliseconds.
The following describes a data processing method based on a block chain according to an embodiment of the present application with reference to fig. 2, where fig. 2 is a signaling interaction diagram of a data processing method according to an embodiment of the present application.
The data processing method shown in fig. 2 can be realized, for example, by the following S101 to S102.
S101: the first node transmits the first commodity information to the first device by using the 5G network.
It should be noted that, before performing S101, the first node may further send a first access request to the first device, where the first access request is used to request to access the blockchain. The first device may invoke a corresponding smart contract to authenticate the first access request, and when the authentication is passed, the first node may be allowed to access the blockchain. After the first node is allowed to access the blockchain, the first commodity information may be published to the blockchain, that is, S101 may be performed.
In the embodiment of the present application, the first article information is used to indicate the price of the article currently on sale. Specifically, if the first node is a retailer node, the first commodity information refers to the price of a commodity currently sold by the retailer.
In some embodiments, the first merchandise information may also indicate the quantity of merchandise currently on sale, so that other users may know the current remaining amount of merchandise through the blockchain.
S102: the first equipment issues the first commodity information to the block chain through the 5G network.
After receiving the first commodity information from the first node, the first device issues the first commodity information to the block chain through the 5G network.
After the first commodity information is published into the block chain, the block chain may broadcast the first commodity information to other nodes in the block chain, so that the other nodes may all share the first commodity information.
According to the above description, since the data stored in the block chain cannot be tampered, the first commodity information is stored in the block chain, so that the commodity information is guaranteed to be transparent, the public can know the price of the current commodity through the block chain, and the occurrence of conditions such as the price of a jeer to lift the commodity is avoided.
In the embodiment of the present application, the foregoing S101-S102 may be performed periodically, and the shorter the period is, the higher the real-time performance of the commodity information stored in the block chain is.
In some embodiments, the other node may obtain, by the first device, information published into the blockchain. Specifically, the first device may further receive a first request from the second node, the first request requesting to read data in the blockchain. After receiving the first request, the first device may validate the first request to determine whether to send data in the blockchain to the second node.
The first device may authenticate the first request in a number of ways. In one approach, the first device may verify whether the second node is a node in the blockchain, and if so, determine that the first request is verified. In yet another implementation, the first device may invoke a corresponding smart contract, sign authenticate the first request by other nodes in the blockchain, and determine that the first request is verified if a majority of nodes in the blockchain determine that the signing authenticate the first request.
After the first device determines that the first request is verified, the first commodity information can be read from the blockchain and sent to the second node, so that the user can know the current commodity price by using the second node.
In one implementation, after a commodity transaction occurs to a seller, the first node may send transaction information to the first device through the 5G network, and the first device issues the transaction information to the block chain through the 5G network, so that a user may know about the sale of the commodity in real time. Moreover, the user can also determine whether the first node has the behavior of information false alarm or not through the transaction information and the commodity information periodically issued by the first node to the block chain.
In the embodiment of the application, besides the seller node, the commodity demand party may also join the block chain and issue the commodity demand information to the block chain.
Specifically, the third node as the commodity demander node may send a second access request to the first device, where the second access request is used to request access to the blockchain. The first device may invoke a corresponding smart contract to authenticate the second access request, and when authentication is passed, the third node is allowed to access the blockchain. After the third node is allowed to access the blockchain, the third node may publish the commodity demand information to the blockchain.
In this embodiment, the third node may issue the commodity demand information to the blockchain through the first device. First, the third node may send the commodity demand information to the first device through the 5G network, and the first device issues the commodity demand information to the blockchain through the 5G network. After the commodity demand information is published into the block chain, the block chain can broadcast the commodity demand information to other nodes in the block chain, so that the commodity demand information can be shared by other nodes.
In some embodiments, in order to reasonably use commodity resources, the first device may further obtain the first commodity information and the commodity demand information from the blockchain, generate a trade order according to the first commodity information and the commodity demand information, and publish the trade order to the blockchain. After the trade order is published into the blockchain, both the first node and the third node may view the trade order. After the first node views the trade order, for example, the trade may be confirmed and the corresponding goods may be reserved. After the third node views the trade order, it may update, for example, the commodity demand information.
Based on the above embodiments, a method for providing data processing based on a block chain is provided, and embodiments of the present application also provide a data processing apparatus based on a block chain, which is described below with reference to the accompanying drawings.
Referring to fig. 3, this figure is a schematic structural diagram of a data processing apparatus based on a blockchain according to an embodiment of the present application. The blockchain-based data processing apparatus shown in fig. 3 may be configured to perform the steps performed by the first device in the above embodiments.
The apparatus 300 shown in fig. 3, for example, may include: a first receiving unit 301 and a first publishing unit 302.
A first receiving unit 301, configured to receive, through a 5G network of a fifth generation mobile communication technology, first commodity information sent by a first node, where the first commodity information indicates a price of a commodity currently sold;
the first publishing unit 302 is configured to publish the first commodity information to a blockchain through the 5G network.
Optionally, the apparatus further comprises:
a second receiving unit, configured to receive a first request from a second node, where the first request is used to request to read data in the block chain;
a first obtaining unit, configured to obtain the first commodity information when the first request is verified;
and the sending unit is used for sending the first commodity information to the second node.
Optionally, the apparatus further comprises:
the third receiving unit is used for receiving the transaction information sent by the first node through a 5G network, wherein the transaction information is the information of sold commodities in a certain time period;
and the second issuing unit is used for issuing the transaction information to the block chain through the 5G network.
Optionally, the apparatus further comprises:
a fourth receiving unit, configured to receive, through the 5G network, commodity demand information generated by a third node, where the commodity demand information indicates a category and a quantity of a required commodity;
and the third issuing unit is used for issuing the commodity demand information to the block chain through the 5G network.
Optionally, the first commodity information further includes a quantity of commodities sold, and the apparatus further includes:
the second acquisition unit is used for acquiring the first commodity information and the commodity demand information from the block chain;
the order generating unit is used for generating a transaction order according to the commodity demand information and the first commodity information;
a fourth issuing unit, configured to issue the trade order into the blockchain.
Since the apparatus 300 is a device corresponding to the steps executed by the first device in the above method embodiment, and the specific implementation of each unit of the apparatus 300 is the same as that in the above method embodiment, for the specific implementation of each unit of the apparatus 300, reference may be made to the description part of the steps executed by the first device in the above method embodiment, and details are not described here again.
In the embodiment of the present application, the node and the device may be a server or a terminal device.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice in the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the attached claims
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method for processing data based on a blockchain, the method comprising:
the method comprises the steps that first equipment receives first commodity information sent by a first node through a 5G network of a fifth generation mobile communication technology, wherein the first commodity information indicates the price of a commodity which is sold currently;
and the first equipment issues the first commodity information to a block chain through the 5G network.
2. The method of claim 1, further comprising:
the first device receives a first request from a second node, wherein the first request is used for requesting to read data in the block chain;
and the first equipment acquires the first commodity information under the condition that the first request passes the verification, and sends the first commodity information to the second node.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
the first equipment receives transaction information sent by a first node through a 5G network, wherein the transaction information is information of sold commodities in a certain time period;
and the first equipment issues the transaction information to a block chain through the 5G network.
4. The method according to any one of claims 1-3, further comprising:
the first equipment receives commodity demand information generated by a third node through the 5G network, wherein the commodity demand information indicates the type and the quantity of required commodities;
and the first equipment issues the commodity demand information to a block chain through the 5G network.
5. The method of claim 4, wherein the first merchandise information further includes a quantity of merchandise on sale, the method further comprising:
the first equipment acquires the first commodity information and the commodity demand information from the block chain;
the first equipment generates a trade order according to the commodity demand information and the first commodity information;
the first device issues the trade order into the blockchain.
6. An apparatus for data processing based on a blockchain, the apparatus comprising:
a first receiving unit, configured to receive, through a 5G network of a fifth generation mobile communication technology, first commodity information sent by a first node, where the first commodity information indicates a price of a commodity currently sold;
and the first issuing unit is used for issuing the first commodity information to a block chain through the 5G network.
7. The apparatus of claim 6, further comprising:
a second receiving unit, configured to receive a first request from a second node, where the first request is used to request to read data in the block chain;
a first obtaining unit, configured to obtain the first commodity information when the first request is verified;
and the sending unit is used for sending the first commodity information to the second node.
8. The apparatus of claim 6 or 7, further comprising:
the third receiving unit is used for receiving the transaction information sent by the first node through a 5G network, wherein the transaction information is the information of sold commodities in a certain time period;
and the second issuing unit is used for issuing the transaction information to the block chain through the 5G network.
9. The apparatus of any one of claims 6-8, further comprising:
a fourth receiving unit, configured to receive, through the 5G network, commodity demand information generated by a third node, where the commodity demand information indicates a category and a quantity of a required commodity;
and the third issuing unit is used for issuing the commodity demand information to the block chain through the 5G network.
10. The apparatus of claim 9, wherein the first merchandise information further includes a quantity of merchandise on sale, the apparatus further comprising:
the second acquisition unit is used for acquiring the first commodity information and the commodity demand information from the block chain;
the order generating unit is used for generating a transaction order according to the commodity demand information and the first commodity information;
a fourth issuing unit, configured to issue the trade order into the blockchain.
CN202010343654.XA 2020-04-27 2020-04-27 Data processing method and device based on block chain Pending CN111556145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010343654.XA CN111556145A (en) 2020-04-27 2020-04-27 Data processing method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010343654.XA CN111556145A (en) 2020-04-27 2020-04-27 Data processing method and device based on block chain

Publications (1)

Publication Number Publication Date
CN111556145A true CN111556145A (en) 2020-08-18

Family

ID=72007742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010343654.XA Pending CN111556145A (en) 2020-04-27 2020-04-27 Data processing method and device based on block chain

Country Status (1)

Country Link
CN (1) CN111556145A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109389478A (en) * 2018-10-26 2019-02-26 深圳市元征科技股份有限公司 A kind of commodity information management method and system, equipment, computer storage medium
CN109410019A (en) * 2018-12-20 2019-03-01 北京比新科技有限公司 A kind of commodity price-comparing method and system based on block chain and technology of Internet of things
CN109508973A (en) * 2018-11-09 2019-03-22 京东方科技集团股份有限公司 Price control method, apparatus and block catenary system based on block chain
US20190102837A1 (en) * 2017-09-29 2019-04-04 Intel Corporation Competitive online data market and exchange network
CN109711905A (en) * 2019-01-09 2019-05-03 山东浪潮质量链科技有限公司 A kind of reference price providing method, server and device based on block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190102837A1 (en) * 2017-09-29 2019-04-04 Intel Corporation Competitive online data market and exchange network
CN109389478A (en) * 2018-10-26 2019-02-26 深圳市元征科技股份有限公司 A kind of commodity information management method and system, equipment, computer storage medium
CN109508973A (en) * 2018-11-09 2019-03-22 京东方科技集团股份有限公司 Price control method, apparatus and block catenary system based on block chain
CN109410019A (en) * 2018-12-20 2019-03-01 北京比新科技有限公司 A kind of commodity price-comparing method and system based on block chain and technology of Internet of things
CN109711905A (en) * 2019-01-09 2019-05-03 山东浪潮质量链科技有限公司 A kind of reference price providing method, server and device based on block chain

Similar Documents

Publication Publication Date Title
CN106097023A (en) A kind of data processing method and device
WO2017133329A1 (en) Information processing method, server, first terminal and computer storage medium
US20110238570A1 (en) System of Online Trading Through Intermediary Platform and Methods Thereof
CN106797392A (en) The issue and discovery of M2M IOT services
CN107979525A (en) A kind of red packet distribution method, equipment and medium
JP2002140611A (en) Advertisement distribution realy system
KR101033853B1 (en) The apparatus and method of hybrid advertisement with local zone and social network
CN109598549A (en) A kind of Internet advertising put-on method and device
CN107038596A (en) Accumulated point exchanging method and its system
CN102239498A (en) Method and system to embed applications in a web platform
JP7059160B2 (en) Providing equipment, providing method and providing program
US20170103435A1 (en) Networked request fulfillment and offer/acceptance communications
CN113300850B (en) Electronic transaction system based on block chain
US20190080360A1 (en) Technologies for propogating advertisements
CN111556145A (en) Data processing method and device based on block chain
CN112241544A (en) Business system, access method, device, computer equipment and storage medium
CN110580637A (en) advertisement putting method, demander platform and computer storage medium
US20170318439A1 (en) Message delivery reliability
CN113011912B (en) Media information processing method, device, electronic equipment and storage medium
CN113129073A (en) Resource distribution method and device, computer equipment and computer readable storage medium
TWI645363B (en) Reservation system and reservation method thereof
JP6652547B2 (en) Point management apparatus, point management method, point management program, and recording medium for point management program
CN111784415A (en) Method and device for issuing rights and interests through block chain
CN110796517A (en) Online house purchasing platform
US20150039980A1 (en) Method and system of consumer activity tracking

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200818

RJ01 Rejection of invention patent application after publication