CN108764797B - Circulation information inquiry method, device, equipment, system and storage medium - Google Patents

Circulation information inquiry method, device, equipment, system and storage medium Download PDF

Info

Publication number
CN108764797B
CN108764797B CN201810551950.1A CN201810551950A CN108764797B CN 108764797 B CN108764797 B CN 108764797B CN 201810551950 A CN201810551950 A CN 201810551950A CN 108764797 B CN108764797 B CN 108764797B
Authority
CN
China
Prior art keywords
information
node
circulation
block
article
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810551950.1A
Other languages
Chinese (zh)
Other versions
CN108764797A (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 CN201911039277.4A priority Critical patent/CN110796414B/en
Priority to CN201810551950.1A priority patent/CN108764797B/en
Publication of CN108764797A publication Critical patent/CN108764797A/en
Application granted granted Critical
Publication of CN108764797B publication Critical patent/CN108764797B/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/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0833Tracking
    • 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/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Abstract

The application discloses a method, a device, equipment, a system and a storage medium for inquiring circulation information, and belongs to the technical field of networks. The method comprises the following steps: acquiring an article identifier of an article; sending a query request to an authorization node in a block chain platform, wherein the query request carries an article identifier; and receiving circulation information sent by the authorization node, wherein the circulation information is obtained by the authorization node according to the block information, and the block information is obtained by the authorization node by tracing on the block chain platform according to the article identifier. According to the method and the device, the article identification is sent to the authorization node in the block chain platform, the authorization node traces the block information corresponding to the article in the block chain platform according to the article identification, circulation information of the article is obtained according to the block information, and after the block information is tampered, the tampering event can be uploaded to the block chain platform, so that the block information stored in the block chain platform is difficult to tamper, and the circulation information obtained by the query device according to the block information is accurate.

Description

Circulation information inquiry method, device, equipment, system and storage medium
Technical Field
The present application relates to the field of network technologies, and in particular, to a method, an apparatus, a device, a system, and a storage medium for querying circulation information.
Background
Items are typically circulated between a plurality of circulation nodes. For example, a drug is produced from a pharmaceutical factory to a pharmacy for sale, and the drug passes through a plurality of circulation nodes such as logistics companies, distributors and sellers. The article can produce corresponding circulation information when circulating, and along with the development of network technology, the user has the demand of inquiring circulation information.
In the related technology, each circulation node passing through the circulation process of the article stores circulation information of the article and uploads the circulation information to a third-party network platform through a wired or wireless network, and after a user registers an account number of the third-party network platform, the circulation information of the article can be inquired on the third-party network platform through an article identifier.
Due to lack of supervision of the third-party network platform, the circulation information of the goods can be tampered, so that the circulation information inquired by the user on the third-party circulation platform is inaccurate in some cases.
Disclosure of Invention
The embodiment of the application provides a circulation information query method, a circulation information query device, circulation information query equipment, a circulation information query system and a storage medium, which are used for solving the problem that a circulation information query method in the related technology is inaccurate under certain conditions. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a method for querying circulation information, where the method is applied to a terminal, and the method includes:
acquiring an article identifier of an article;
sending a query request to an authorization node in a block chain platform, wherein the query request is used for requesting the authorization node to send circulation information corresponding to the article, and the query request carries the article identifier;
receiving the circulation information sent by the authorization node, wherein the circulation information is obtained by the authorization node according to block information, and the block information is obtained by the authorization node by tracing on the block chain platform according to the article identifier;
the block information comprises information uploaded to the block chain platform by the circulation node when the article passes through at least one circulation node, and at least one target block chain link point on the block chain platform stores the block information.
In one aspect, an embodiment of the present application provides a method for querying circulation information, where the method is applied to a proxy node in a blockchain platform, and the method includes:
receiving a request for entrusting query sent by a terminal, wherein the request for entrusting query carries an article identifier of an article acquired by the terminal;
receiving authority confirmation information sent by an authorization node in the block chain platform, wherein the authority confirmation information is information sent to the proxy node after the authorization node receives the inquiry authority request, the item identifier sent by the terminal is determined to be the same as the locally stored item identifier, and the terminal is determined to have the inquiry authority;
sending the entrusted query request to the authorization node according to the permission confirmation information;
receiving circulation information sent by the authorization node, wherein the circulation information is obtained by the authorization node according to block information, and the block information is obtained by the authorization node by tracing on the block chain platform according to the article identifier after receiving the entrustment query request;
sending the circulation information to the terminal;
the block information comprises information uploaded to the block chain platform by the circulation node when the article passes through at least one circulation node, and at least one target block chain link point on the block chain platform stores the block information.
In one aspect, an embodiment of the present application provides a method for querying circulation information, where the method is applied to an authorized node in a blockchain platform, and the method includes:
receiving an inquiry request sent by a terminal, wherein the inquiry request carries an article identifier of an article acquired by the terminal;
tracing to obtain block information corresponding to the article in the block chain platform according to the article identifier, wherein the block information comprises information uploaded to the block chain platform by a circulation node when the article passes through at least one circulation node, and at least one target block chain link point on the block chain platform stores the block information;
obtaining circulation information according to the block information;
and sending the circulation information to the terminal.
In one aspect, an embodiment of the present application provides a circulation information query apparatus, where the apparatus includes:
the acquisition module is used for acquiring an article identifier of an article;
a sending module, configured to send a query request to an authorization node in a blockchain platform, where the query request is used to request the authorization node to send circulation information corresponding to the item, and the query request carries the item identifier;
a receiving module, configured to receive the circulation information sent by the authorization node, where the circulation information is obtained by the authorization node according to block information, and the block information is obtained by the authorization node by tracing on the block chain platform according to the article identifier;
the block information comprises information uploaded to the block chain platform by the circulation node when the article passes through at least one circulation node, and at least one target block chain link point on the block chain platform stores the block information.
In one aspect, an embodiment of the present application provides a circulation information query apparatus, where the apparatus includes:
the receiving module is used for receiving a request for entrusting query sent by a terminal, wherein the request for entrusting query carries an article identifier of an article acquired by the terminal;
the receiving module is further configured to receive permission confirmation information sent by an authorization node in the blockchain platform, where the permission confirmation information is information sent to the proxy node after the authorization node receives the query permission request, determines that the item identifier sent by the terminal is the same as an item identifier stored locally, and determines that the terminal has the query permission;
a sending module, configured to send the delegation query request to the authorization node according to the permission confirmation information;
the receiving module is further configured to receive circulation information sent by the authorization node, where the circulation information is obtained by the authorization node according to block information, and the block information is obtained by the authorization node by tracing on the block chain platform according to the article identifier after receiving the entrusted query request;
the sending module is further configured to send the circulation information to the terminal;
the block information comprises information uploaded to the block chain platform by the circulation node when the article passes through at least one circulation node, and at least one target block chain link point on the block chain platform stores the block information.
In one aspect, an embodiment of the present application provides a circulation information query apparatus, where the apparatus includes:
the receiving module is used for receiving an inquiry request sent by a terminal, wherein the inquiry request carries an article identifier of an article acquired by the terminal;
the processing module is used for tracing block information corresponding to the article in the block chain platform according to the article identifier, wherein the block information comprises information uploaded to the block chain platform by a circulation node when the article passes through at least one circulation node, and at least one block chain link point on the block chain platform stores the block information;
the processing module is further configured to obtain circulation information according to the block information;
and the sending module is used for sending the circulation information to the terminal.
In one aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the method for querying circulation information as described above.
In one aspect, an embodiment of the present application provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the method for querying circulation information as described above.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the article identification is sent to the authorization node in the block chain platform, the authorization node traces the block information corresponding to the article in the block chain platform according to the article identification, circulation information of the article is obtained according to the block information, and after the block information is tampered, the tampering event is uploaded to the block chain platform, so that the block information stored in the block chain platform is difficult to tamper, and the circulation information obtained by the query device according to the block information is accurate.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of an implementation environment of a method for querying circulation information according to an exemplary embodiment of the present application;
fig. 2 is a schematic view of an application scenario of a method for querying circulation information according to an exemplary embodiment of the present application;
FIG. 3 is a system architecture diagram of a system for circulating information query provided by an exemplary embodiment of the present application;
FIG. 4 is a flowchart of a method for a method of circulating information query according to an exemplary embodiment of the present application;
FIG. 5 is a schematic illustration of a flow channel for items provided by an exemplary embodiment of the present application;
FIG. 6 is a flowchart of a method for a method of circulating information query according to an exemplary embodiment of the present application;
FIG. 7 is a flowchart of a method for a method of circulating information query according to an exemplary embodiment of the present application;
fig. 8 is a block diagram illustrating a structure of a circulation information inquiry apparatus according to an exemplary embodiment of the present application;
fig. 9 is a block diagram illustrating a structure of a circulation information inquiry apparatus according to an exemplary embodiment of the present application;
fig. 10 is a block diagram illustrating a structure of a circulation information inquiry apparatus according to an exemplary embodiment of the present application;
fig. 11 is a block diagram of a terminal according to an exemplary embodiment of the present application;
fig. 12 is a block diagram of a server according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
For convenience of understanding, terms referred to in the embodiments of the present application are explained below:
circulation information: is the information that the article generates during circulation. The circulation information comprises an article identifier and block information of the node uploaded to the block chain platform by each circulation node when the article passes through at least one circulation node. For example, a drug a is produced and packaged by a pharmaceutical factory X, which delivers the drug a to a distributor Y, which in turn delivers the drug a to a pharmacy Z, constituting an overall circulation channel for the drug a, in which the pharmaceutical factory X, the distributor Y and the pharmacy Z are circulation nodes for the item a. When a medicine A passes through a terminal of a pharmaceutical factory X, a worker uploads an identifier of the medicine A and block information of the terminal of the pharmaceutical factory X to a block chain platform through the terminal of the pharmaceutical factory X, wherein the block information can be at least one of an event (shipment) of the pharmaceutical factory X operating the medicine A, an electronic signature of the pharmaceutical factory X, a timestamp of uploading the block information by the pharmaceutical factory X, and an identifier of a public key distributed by the pharmaceutical factory X.
A circulation node: the method is characterized in that the method is a main body through which an article passes in a circulation process, and each circulation node reports block information of the node to a block chain platform when the article passes through the node.
A block chain platform: is an electronic device communication network storing circulation information of an article, and the electronic devices constituting the blockchain platform are called blockchain nodes in the blockchain platform. The block chain platform at least comprises two block chain nodes, and each block chain node synchronizes circulation information of the articles through a wired or wireless network.
Article identification: the block chain platform is characterized in that a manufacturer for producing articles distributes unique codes to the articles, the manufacturer produces the articles and packages the articles, the article identification is uploaded to the block chain platform through block chain nodes set by the manufacturer, the corresponding relation between the article identification and the packaging box identification is uploaded to the block chain platform through the block chain nodes, and a user can trace circulation information of the articles on the block chain platform through the article identification. Optionally, the item identifier referred to in the embodiments of the present application is encoded as GS 1.
GS1(Globe standard 1) organization: is an organization established by the united states uniform code commission in 1973, which has an identification standard system and an information exchange standard system of products, transportation units, assets, locations and services across the world, so that products can be scanned and read all over the world, and the identification of items certified by the GS1 organization is encoded as GS 1.
Asymmetric encryption key: the system comprises a group of Public keys (Public _ Key) and Private keys (Private Key), wherein the Public keys refer to Public keys, and are not required to be kept secret, and a decrypter can obtain the Public keys through various channels; the private key is a key held only by the encryption party itself and needs to be kept secret. One public key corresponds to one private key; the public key and the private key together constitute an asymmetric encryption mode. The asymmetric encryption mode means that the information encrypted by the public key can only be decrypted by the corresponding private key, and the information encrypted by the private key can only be decrypted by the corresponding public key. That is, the keys used for encryption and decryption are not the same.
The proxy node: the agent node is an electronic device for communicating the agent terminal and the block chain platform, and the agent node is a block chain node in the block chain platform. The terminal can register a user account corresponding to the terminal on the block chain platform through the proxy node and broadcast the query request to the block chain platform.
And the authorization node: the block chain node is set by a manufacturer for producing articles, a public key and a private key in an asymmetric key are stored in an authorization node, and any circulating node can acquire the public key from block information uploaded by the authorization node to encrypt the node information of the node.
Referring to fig. 1, a schematic diagram of an implementation environment of a circulation information query method according to an exemplary embodiment of the present application is shown. As shown in fig. 1, the implementation environment includes a terminal 110, a circulation node 120, and a blockchain platform 200, where the terminal 110 and the blockchain platform 200 establish a communication connection through a wired or wireless network, and the circulation node 120 and the blockchain platform 200 establish a communication connection through a wired or wireless network.
As shown in fig. 1, the blockchain platform 200 includes a plurality of blockchain nodes 210, 211, 212, 213, 214, 215, etc., at least one target blockchain node stores the block information uploaded by the circulation node 120, and the plurality of blockchain nodes can synchronize the block information through a wired or wireless network.
For example, when the blockchain node 210 receives the blockchain information 1 uploaded by the circulation node 1, the blockchain node broadcasts the blockchain information 1 to other blockchain nodes in the blockchain platform 200, and the other blockchain nodes receiving the broadcast store the blockchain information 1 locally.
In the circulation process of the article 300 from the manufacturer to the vendor after the production and packaging, each time the article passes through one circulation node 120, the circulation node 120 broadcasts the article identifier 102 and the block information of the node to the blockchain platform, and at least one target blockchain node in the blockchain platform 200 receives the block information broadcast by the circulation node 120 and broadcasts the block information to other blockchain nodes of the blockchain platform 200. The circulation node 120 may be a blockchain node on the blockchain platform 200, or may be a terminal that broadcasts the blockchain information to the blockchain platform 200 through a proxy node.
After obtaining the article 300, the user 400 scans the barcode or the two-dimensional code 101 on the package of the article 400 through the terminal 110 to obtain the article identifier 102 of the article, and the terminal 110 broadcasts an inquiry request to the blockchain platform 200, where the inquiry request is used to request the blockchain platform 200 to send circulation information of the article, and the inquiry request carries the article identifier 102; at least one target block chain link point in the block chain platform 200 responds to the broadcast of the terminal 110, traces back the block information corresponding to the article identifier according to the article identifier 102, and sends the block information to the terminal 110; the terminal 110 receives the block information sent by at least one target block chain node, and then obtains the circulation information of the article 400.
In an alternative embodiment, the blockchain information includes encrypted information encrypted by a public key in an asymmetric key for each circulation node 120, and the blockchain node 210 is a blockchain node on the blockchain platform 200 of the manufacturer of the article 400, referred to as an authorized node. The terminal 110 sends a query request to the authorized node, wherein the query request carries the item identifier 102; the authorization node 210 traces the block information corresponding to the article 300 on the block chain platform 200 according to the article identifier 102, decrypts the encrypted information by using a locally stored private key to obtain the node information of each circulation node 120, obtains the decrypted block information according to the node information, and obtains the decrypted circulation information according to the decrypted block information.
In an alternative embodiment, the blockchain node 211 is a proxy node through which the terminal 110 establishes a connection with the blockchain platform 200. The terminal 110 sends a request for entrusting query to the proxy node 211, wherein the request for entrusting query carries the item identifier 102; after receiving the entrusting query request, the proxy node 211 broadcasts the entrusting query request to the blockchain platform 200; at least one target blockchain node in the blockchain platform 200 responds to the broadcast of the proxy node 211, traces back the blockchain information corresponding to the item identifier 102 on the blockchain platform 200 according to the item identifier 102, and sends the blockchain information to the proxy node 211; the agent node 211 forwards the received block information sent by at least one target block chain node to the terminal 110, so as to obtain circulation information of the article 400.
Referring to fig. 2, a schematic diagram of a specific application scenario of the circulation information query method according to an exemplary embodiment of the present application is shown. As shown in fig. 2, the circulation information query method is applied to a terminal, and an application program for querying medicine circulation information is run in the terminal. In the application scenario, the article identifier is a medicine code of the medicine, and the authorization platform is a server built by a pharmaceutical factory for producing the medicine.
An application program for inquiring medicine circulation information is installed in the terminal 110, a user opens the application program, the two-dimensional code or the bar code on the medicine package is scanned through the terminal 110 on the first user interface 1000, after the medicine code is obtained, the medicine information is displayed on the second display interface 2000, meanwhile, the terminal 110 requests the block chain platform to send circulation information corresponding to the medicine code according to the medicine code, and after the circulation information is obtained, the circulation information of the medicine is displayed on the third user interface 3000.
Referring to fig. 3, which shows a system architecture diagram of a circulation information query system provided by an exemplary embodiment of the present application, as shown in fig. 3, a circulation node includes a manufacturer 310, a distributor 320, a seller 330, and a logistics platform 340. Uploading the block information of the boxing and delivery links of the manufacturer 310 to the block chain platform 200; the block information of the logistics platform in the processes of checking goods and signing for receipt is uploaded to a block chain platform 200; the block information of the harvest and delivery links of the distributor 320 is uploaded to the block chain platform 200; the information of the blocks in the receiving and checking links of the seller 330 is uploaded to the blockchain platform 200.
The agent node 211 on the blockchain platform 200 establishes a communication connection with an authorized node set by the manufacturer 310, and the supervising authority and the user can establish a communication connection with the blockchain platform 200 through the agent node 211, wherein the blockchain platform 200 also comprises the authorized node.
The article identification is printed on the packing box of article in the form of two-dimensional code or bar code, and manufacturer 310 can be with a plurality of packing boxes dress in a packing box, is marked with the packing box identification on the packing box, and when commodity circulation platform 340 obtained the article of packing in the packing box, can place a plurality of packing boxes in a wrapping bag, is marked with the commodity circulation identification on every packing bag. In the packing step, the manufacturer 310 uploads the article identifier and the package box identifier corresponding to the article identifier to the block chain platform 200; in the shipping link, the manufacturer 310 uploads the package box identifier and the logistics identifier to the blockchain platform 200; in the receiving link, the distributor 320 or the seller 330 uploads the packing box identifier and the logistics identifier to the blockchain platform 200; in the checking step, the seller 330 unpacks the packaging bag and the packaging box, compares the obtained packaging box identifier and the obtained article identifier with the obtained query, completes the checking, and uploads the checking information to the block chain platform 200.
Referring to fig. 4, a flowchart of a method for querying circulation information according to an exemplary embodiment of the present application is shown. The method is applied to a query device, which may be the terminal 110 or the proxy node 211 in fig. 1, and includes:
step 401, an item identifier of an item is obtained.
Illustratively, a user scans a bar code or two-dimensional code on a package of an item via an interrogation device to obtain an item identification for the item. Or, the inquiry equipment receives an article identifier sent by the terminal, wherein the article identifier is obtained by scanning a bar code or a two-dimensional code on a package of the article by the terminal.
The article identification is the only code distributed to the article by a manufacturer producing the article, the manufacturer produces the article and packages the article, and then uploads the article identification, the packaging box identification and the corresponding relation of the article identification and the packaging box identification to the block chain platform, when the article passes through a circulation node in the circulation process, the circulation node uploads the block information of the node, and a user can trace the block information through the article identification and the corresponding relation of the article identification and the packaging box identification.
Step 402, sending a query request to an authorized node in the blockchain platform, where the query request carries an item identifier.
After acquiring the article information, the query device sends a query request to the authorization node through a wired or wireless network, wherein the query request is used for requesting the authorization node to send circulation information corresponding to the article, and the query request carries an article identifier.
And step 403, receiving the circulation information sent by the authorized node.
After receiving the query request, the authorization node locally queries whether the block information including the article identifier is stored, if the block information including the article identifier is locally stored, acquires other information in the block information, queries whether the block information including the other information is locally stored, and if the other block information including the other information is locally stored, acquires the other block information. Meanwhile, the authorization node broadcasts an inquiry request to the block chain platform, a target block chain node in the block chain platform responding to the inquiry request locally inquires whether block information including an article identifier is stored, if the block information including the article identifier is locally stored, other information in the block information is acquired, whether the block information including the other information is locally stored is inquired, if the other block information including the other information is locally stored, the other block information is acquired, the acquired block information is sent to the authorization node, and therefore the block information corresponding to the article is obtained in a tracing mode. It should be noted that the target blockchain node is a blockchain link node responding to the query request, and thus the grant node is also the target blockchain node.
In summary, in the embodiment of the present application, an inquiry request is broadcasted to a block chain platform, where the inquiry request carries an article identifier obtained by an inquiry apparatus, at least one target block chain link point in the block chain platform responds to the inquiry request, and traces block information corresponding to an article at the block chain platform according to the article identifier, and sends the block information to an identification apparatus, and the identification apparatus obtains circulation information of the article according to the block information, and after the block information is tampered, the tampering event is uploaded to the block chain platform, so that the block information stored in the block chain platform is difficult to be tampered, and thus the circulation information obtained by the inquiry apparatus according to the block information is accurate.
The circulation information of the article includes the block information uploaded to the block chain platform by each circulation node, and the following description will be given to the step of uploading the block information by the circulation node.
Referring to fig. 5, a schematic diagram of a circulation channel for an article according to an exemplary embodiment of the present application is shown. As shown in fig. 5, the circulation channel of the item a includes at least three circulation nodes of a manufacturer 310, a distributor 320 and a seller 330.
In the production process of the article a, after the article a is packaged, the article identifier a of the article a, the package box identifier B of the article a, and the corresponding relationship between the article identifier a and the package box identifier B are recorded on the production line of the manufacturer 310. The manufacturer 310 uploads the tile information 1 of the flow-through node boxing step to the tile chain platform, wherein the tile information 1 includes at least one of the following data: info _ key, belong, event, public _ key, encryption information 1, timestamp, and sign.
Wherein, the info _ key is a feature identifier of the node, here, an item identifier a; belong is the characteristic identifier of the previous circulation node, and here is the identifier B of the packing box; the event is an event for operating the article by the circulation node, and is loaded by a manufacturer; public _ key is a public key; the encrypted information is information obtained by encrypting the node information of the node by the circulation node by using a public key, and may be a manufacturer name of the circulation node, where the encrypted information may be information obtained by encrypting the node information of the circulation node by using the public key by the manufacturer 310; timestamp is a timestamp of uploading the block information by the circulation node, and here is a timestamp of uploading the block information 1 by the manufacturer 310; sign is the signature of the circulating node, here the signature of the manufacturer 310. Optionally, the chunk information 1 may be a hash value of at least one of the above data.
In a delivery link of the manufacturer 310, the manufacturer 310 uploads the block information 2 of the delivery step of the circulation node to the block chain platform, and the block information 2 includes at least one of the following data: info _ key, belong, content, event, public _ key, encryption information 2, timestamp, and sign.
Wherein, in the block information 2, info _ key is a packing box identifier B; belong is a logistics identifier C of the manufacturer 310 transporting the article a; continain is the item identification of the item in the package, here item identification a (if other items are included in the package, here also item identifications of other items); event is 'delivered by manufacturer'; public _ key is a public key; the encrypted information 2 may be information encrypted by the manufacturer 310 through a public key; timestamp is a timestamp for the manufacturer 310 to upload the tile information 2; sign is the signature of the manufacturer 310. Optionally, the chunk information 2 may be a hash value of at least one of the above data.
The next circulation node of the article a circulated from the manufacturer 310 is the distributor 320, after the distributor 320 receives the article package sent by the manufacturer 310, the terminal at the distributor 320 scans the bar code or the two-dimensional code on the package to obtain the logistics identifier C, the terminal inquires on the blockchain platform according to the logistics identifier C to obtain the packing box identifier B, and after the check of the packing box identifier on the package in the package is received, the block information 3 of the circulation node receiving step is transmitted to the blockchain platform through the terminal, and the block information 3 comprises at least one of the following data: info _ key, belong, event, public _ key, encryption information 3, timestamp, and sign.
Wherein, in the block information 3, info _ key is a packing box identifier B; belong is a logistics label C for the manufacturer 310 to transport the article; event is "receiving goods"; public _ key is a public key; the encryption information 3 may be information encrypted by the distributor 320 through a public key; timestamp is a timestamp for the distributor 320 to upload the tile information 3; sign is the signature of the distributor 320. Optionally, the chunk information 3 may be a hash value of at least one of the above data.
In the delivery link of the distributor 320, the distributor 320 uploads the block information 4 of the delivery step of the logistics node to the block chain platform, and the block information 4 includes at least one of the following data: info _ key, belong, event, public _ key, encryption information 4, timestamp, and sign.
Wherein, in the block information 4, info _ key is a packing box identifier B; belong is the logistics identifier D of the distributor 320 shipping item a; event is "shipment"; public _ key is a public key; the encryption information 4 may be information encrypted by the distributor 320 through a public key; timestamp is a timestamp for the distributor 320 to upload the tile information 4; sign is the signature of the distributor 320. Optionally, the block information 4 may be a hash value of at least one of the above data.
The next circulation node of the article a circulated from the distributor 320 is the distributor 330, after the distributor 330 receives the package sent by the distributor 320, the bar code or the two-dimensional code on the package is scanned through the terminal of the distributor 330 to obtain the logistics identifier D, the package identifier B is obtained by querying on the blockchain platform according to the logistics identifier D, and after the check of the logistics identifier D and the package identifier on the package in the received package is correct, the block information 5 of the circulation node receiving step is transmitted to the blockchain platform through the terminal, and the block information 5 comprises at least one of the following data: info _ key, belong, event, public _ key, encryption information 5, timestamp, and sign.
Wherein, in the block information 5, info _ key is a packing box identifier B; belong is the logistics identifier D of the distributor 320 shipping item a; event is "receiving goods"; public _ key is a public key; the encryption information 5 may be information encrypted by the vendor 330 through a public key; timestamp is the timestamp of block information 5 uploaded by vendor 330; sign signature. Optionally, the chunk information 5 may be a hash value of at least one of the above data.
In the goods inspection link of the vendor 330, after the vendor 330 obtains an article identifier a corresponding to the packing box identifier B by querying the packing box identifier B on the block chain platform, and the article identifier a obtained by scanning the bar code or the two-dimensional code on the packing is the same as the article identifier a, the block information 6 of the circulation node goods inspection step is uploaded to the block chain platform through the terminal, and the block information 6 includes at least one of the following data: info _ key, belong, event, public _ key, encryption information 6, timestamp, and sign.
Wherein, in the block information 6, info _ key is an item identifier a; belong is a packaging box mark B; the event is 'inspection of goods'; public _ key is a public key; the encryption information 5 may be information encrypted by the vendor 330 through a public key; timestamp is the timestamp of block information 6 uploaded by vendor 330; sign is the signature of vendor 330. Optionally, the block information 6 may be a hash value of at least one of the above data.
It can be seen that the circulation information of the article can be traced on the block chain platform through the article identification. For example, as described above, the block information 1 and the block information 6 can be searched for on the block chain platform by the article identifier a of the article a, the package information B corresponding to the article information a can be obtained from the correspondence between the article information a and the package information B in the block information 1, the block information 2, the block information 3, and the block information 4 can be searched for on the block chain platform according to the package information B, and the circulation information of the article a can be obtained by arranging the block information 1 to the block information 6 in the order of the time stamps according to the time stamps included in the block information.
Referring to fig. 6, a flowchart of a method for querying circulation information according to an exemplary embodiment of the present application is shown. The method can be applied to the implementation environment as shown in fig. 1, and comprises the following steps:
step 601, the terminal sends a registration request to the authorization node.
Illustratively, an application program for inquiring circulation information of an article is installed on a terminal, a user registers a user account through the application program running on the terminal, after the user finishes registration, the terminal sends a registration request to an authorization node in a blockchain platform, the registration request is used for requesting the authorization node to register the user account on the blockchain platform, and the registration request carries the user account.
Step 602, after receiving the registration request, the authorization node determines that the user account is approved, and after registering the user account on the block chain platform, sends registration confirmation information to the terminal.
And after receiving the registration request, the authorization node verifies the user account, and after the user account passes the verification, the authorization node registers the user account on the block chain platform. And after the user account registration is finished, sending registration confirmation information to the terminal.
Step 603, the terminal obtains the item identifier of the item.
The terminal obtains the article identification of the article by scanning the bar code or the two-dimensional code on the package of the article.
Step 604, the terminal sends a query permission request to the authorization node, where the query permission request carries the item identifier.
The terminal sends an inquiry authority request to the authorization node, wherein the inquiry authority request is used for requesting the authorization node to authorize the terminal to inquire circulation information of the article, and the inquiry authority request carries an article identifier.
Step 605, after receiving the query permission request, the authorization node sends permission confirmation information to the terminal after confirming that the item identifier carried in the query permission request is the same as the item identifier stored locally.
After receiving the query permission request, the authorization node detects whether an article identifier carried in the query permission request is stored locally, and if the article identifier is stored locally, the article corresponding to the article identifier is determined to be an article produced by a manufacturer corresponding to the authorization node, so that the terminal is determined to have the query permission, and permission confirmation information is sent to the terminal and used for informing the terminal that the terminal has the query permission.
Because the article identification is the unique code distributed to the article by the manufacturer producing the article, the obtained article identification is sent to the authorization node through the terminal, and the authorization node detects whether the article identification exists in the local verification process, so that whether the obtained article is a forged or fake article can be verified.
Step 606, after receiving the second determination information, the terminal sends a query request to the authorization node, where the query request carries the item identifier.
And after receiving the authority confirmation information sent by the authorization node, the terminal sends a query request to the authorization node, wherein the query request is used for requesting the authorization node to send circulation information corresponding to the article.
Step 607, after receiving the query request, the authorization node traces the block information corresponding to the article in the block chain platform according to the article identifier, and sends the block information to the terminal.
After receiving the query request, the authorization node locally queries whether the block information including the article identifier is stored, if the block information including the article identifier is locally stored, acquires other information in the block information, queries whether the block information including the other information is locally stored, and if the other block information including the other information is locally stored, acquires the other block information. Meanwhile, the authorization node broadcasts an inquiry request to the block chain platform, a target block chain node in the block chain platform responding to the inquiry request locally inquires whether block information including an article identifier is stored, if the block information including the article identifier is locally stored, other information in the block information is acquired, whether the block information including the other information is locally stored is inquired, if the other block information including the other information is locally stored, the other block information is acquired, the acquired block information is sent to the authorization node, and therefore the block information corresponding to the article is obtained in a tracing mode.
It should be noted that the target blockchain node is a blockchain link node responding to the query request, and therefore the authorized node also belongs to the target blockchain node.
For example, as shown in fig. 3, by using an article identifier a, block information 1 and block information 6 may be queried in at least one target block chain node of a block chain platform, and a corresponding relationship between the article information a and package information B in the block information 1 may obtain package information B corresponding to the article information a, and according to the package information B, block information 2, block information 3, and block information 4 may be queried in at least one target block chain node of the block chain platform, so as to trace back to obtain block information 1-6 corresponding to the article a.
In step 608, after the authorization node obtains the block information, the encryption information in the block information is decrypted by using the private key, so as to obtain decrypted block information.
For example, as described in the implementation of fig. 3, each piece of block information may include a piece of encryption information, which is node information encrypted by the public key of the asymmetric encryption key at each circulation node. Therefore, after the authorized node acquires the block information, the encrypted information in each segment of block information is decrypted by the local private key to obtain the node information in each segment of block information, so that the decrypted block information is obtained.
And step 609, the authorization node obtains the decrypted circulation information according to the decrypted block information.
Illustratively, after obtaining each piece of decrypted block information, the authorization node sorts the decrypted block information according to the time stamps in each piece of decrypted block information and the sequence of the time stamps to obtain decrypted circulation information; or, each segment of decrypted block information comprises a serial number, and the decrypted block information is sequenced according to the sequence of the serial numbers to obtain decrypted circulation information; or, according to the info _ key and belong data included in each piece of decrypted block information, sorting the decrypted block information according to the logical relationship to obtain the decrypted circulation information.
Step 610, the authorization node sends the decrypted circulation information to the terminal.
And after the decrypted circulation information is obtained, the authorization node sends the decrypted circulation information to the terminal.
In summary, in the embodiment of the present application, the article identifier is sent to the authorization node in the block chain platform, the authorization node traces the block information corresponding to the article in the block chain platform according to the article identifier, and the circulation information of the article is obtained according to the block information.
Optionally, in this embodiment of the application, the obtained article identifier is sent to the authorization node in the blockchain platform, and the authorization node detects whether the article identifier exists locally to verify the article identifier, so that whether the obtained article is a counterfeit or counterfeit article can be verified.
Optionally, in the embodiment of the present application, the circulation node encrypts the node information by using the public key to obtain encrypted information in the block information, and the authorization node decrypts the encrypted information by using the private key to obtain the node information, so as to obtain decrypted block information, and obtain decrypted circulation information according to the decrypted block information, thereby improving the security of the block information stored on the block chain platform.
Referring to fig. 7, a flowchart of a method for querying circulation information according to an exemplary embodiment of the present application is shown. The method can be applied to the implementation environment as shown in fig. 1, and comprises the following steps:
step 701, a terminal sends a request for delegation registration to a proxy node, where the request for delegation registration carries a user account corresponding to the terminal.
Illustratively, an application program for inquiring circulation information of an article is installed on a terminal, a user registers a user account through the application program running on the terminal, the terminal sends a delegation registration request to an agent node after the user finishes registration, the delegation registration request is used for delegation of the agent node to register the user account on a block chain platform, and the delegation registration request carries the user account.
At step 702, the proxy node forwards the delegated registration request to the authorizing node.
After receiving the entrusting registration request, the proxy node forwards the entrusting registration request to an authorization node in the block chain platform.
Illustratively, the proxy node uploads the authority application information to the authorized node, wherein the authority application information comprises at least one of the following data: info _ key, apply _ addr, auth addr, event, timemap, expire _ time, and sign. Optionally, the permission application information may be a hash value of at least one of the above data.
Wherein, in the authority application information, info _ key is a user account; the application _ addr is the address of the terminal; authaddr is the address of the authorization node; event is 'application authority'; the timestamp is a timestamp of the authority application information uploaded by the proxy node; the expire _ time is the time of the permission application; sign is the signature of the proxy node.
And 703, the authorization node receives the request of entrusting registration, determines that the user account is approved, and sends registration confirmation information to the proxy node after registering the user account on the block chain platform.
The authorization node receives the entrusted registration request, checks the user account, sends registration confirmation information to the proxy node after the user account passes the checking, registers the user account on the blockchain platform, and uploads authorization information to the blockchain platform after the user account is registered, wherein the authorization information comprises at least one of info _ key, application _ addr, event, time, expiration _ time and sign, and optionally, the authorization information can be a hash value of at least one of the data.
Wherein, in the authorization information, info _ key is a user account; the application _ addr is the address of the terminal; authaddr is the address of the authorization node; event is "authorized"; the timestamp is a timestamp for uploading the authorization information by the authorization node; the expire _ time is the time when the rights expire; sign is the signature of the authorized node.
Step 704, the proxy node forwards the registration confirmation information to the terminal.
And after receiving the registration confirmation information, the proxy node forwards the registration confirmation information to the terminal. The registration confirmation message is used for informing the terminal user that the account is successfully registered on the block chain platform.
Step 705, the terminal obtains an item identifier of the item.
And the terminal scans the bar code or the two-dimensional code on the package of the article to obtain the article identification of the article.
Step 706, the terminal sends a query permission request to the authorization node, where the query permission request carries the item identifier.
The terminal sends an inquiry authority request to the authorization node, wherein the inquiry authority request is used for requesting the authorization node to authorize the proxy node to inquire circulation information of the article, and the inquiry authority request carries an article identifier.
Step 707, the terminal sends a request for delegation query to the proxy node, where the request for delegation query carries the item identifier.
And the terminal sends a request for entrusting query to the agent node, wherein the request for entrusting query is used for the entrusting agent node to trace the circulation information of the article according to the article identifier, and the request for entrusting query carries the article identifier.
Step 708, after receiving the query permission request, the authorization node sends permission confirmation information to the proxy node after confirming that the item identifier carried in the query permission request is the same as the item identifier stored locally.
After receiving the inquiry authority request, the authorization node detects whether an article identifier carried in the inquiry authority request is stored locally, if the article identifier is stored locally, the article corresponding to the article identifier is determined to be an article produced by a manufacturer corresponding to the authorization node, so that the entrusting inquiry request of the terminal is determined to be valid, and authority confirmation information is sent to the proxy node and used for informing the proxy node that the entrusting inquiry request of the terminal is valid.
Because the article identification is the unique code distributed to the article by the manufacturer producing the article, the obtained article identification is sent to the authorization node through the terminal, and the authorization node detects whether the article identification exists in the local verification process, so that whether the obtained article is a forged or fake article can be verified.
Step 709, after receiving the permission confirmation information, the proxy node forwards the request for delegation inquiry to the authorization node.
And after receiving the authority confirmation information sent by the authorization node, the proxy node forwards the request for entrusting inquiry to the authorization node.
And step 710, the authorization node traces the block information corresponding to the article in the block chain platform according to the article identifier, and sends the block information to the proxy node.
The method for the authorization node to trace the block information corresponding to the article in the block chain platform may refer to the embodiments of fig. 2 and fig. 4, which is not described herein again.
In step 711, after the authorization node obtains the block information, the encryption information in the block information is decrypted by using the private key to obtain the decrypted block information.
For example, as described in the implementation of fig. 3, each piece of block information may include a piece of encryption information, which is node information encrypted by the public key of the asymmetric encryption key at each circulation node. Therefore, after the authorized node acquires the block information, the encrypted information in each segment of block information is decrypted by the local private key to obtain the node information in each segment of block information, so that the decrypted block information is obtained.
In step 712, the authorized node obtains the decrypted circulation information according to the decrypted block information.
Illustratively, after obtaining each piece of decrypted block information, the authorization node sorts the decrypted block information according to the time stamps in each piece of decrypted block information and the sequence of the time stamps to obtain decrypted circulation information; or, each segment of decrypted block information comprises a serial number, and the decrypted block information is sequenced according to the sequence of the serial numbers to obtain decrypted circulation information; or, according to the info _ key and belong data included in each piece of decrypted block information, sorting the decrypted block information according to the logical relationship to obtain the decrypted circulation information.
In step 713, the authorized node sends the decrypted circulation information to the proxy node.
And the authorization node sends the decrypted circulation information to the proxy node, and the circulation information is used for indicating the proxy node to forward the decrypted circulation information to the terminal.
In step 714, the proxy node forwards the decrypted circulation information to the terminal.
And after receiving the decrypted circulation information, the proxy node forwards the decrypted circulation information to the terminal.
In summary, in the embodiment of the present application, the article identifier is sent to the authorization node in the block chain platform, the authorization node traces the block information corresponding to the article in the block chain platform according to the article identifier, and the circulation information of the article is obtained according to the block information.
Optionally, in this embodiment of the application, the connection between the terminal and the block chain platform is established through the agent node, so that the block information corresponding to the article is traced according to the article identifier acquired by the terminal, and the circulation information of the article is acquired according to the block information.
Optionally, in this embodiment of the application, the obtained article identifier is sent to the authorization node in the blockchain platform, and the authorization node detects whether the article identifier exists locally to verify the article identifier, so that whether the obtained article is a counterfeit or counterfeit article can be verified.
Optionally, in the embodiment of the present application, the circulation node encrypts the node information by using the public key to obtain encrypted information in the block information, and the authorization node decrypts the encrypted information by using the private key to obtain the node information, so as to obtain decrypted block information, and obtain decrypted circulation information according to the decrypted block information, thereby improving the security of the block information stored on the block chain platform.
In the following, embodiments of the apparatus of the present application are described, and for details not described in detail in the embodiments of the apparatus, reference may be made to the above-mentioned one-to-one corresponding embodiments of the method.
Referring to fig. 8, which shows a block diagram of a circulation information query apparatus according to an exemplary embodiment of the present application, as shown in fig. 8, the apparatus may be implemented as the terminal 110 in the implementation environment shown in fig. 1 by software, hardware, or a combination of the two, and the apparatus includes an obtaining module 810, a sending module 820, and a receiving module 830:
an obtaining module 810, configured to perform obtaining steps such as step 401, step 603, step 705, and other implicit obtaining steps in the foregoing embodiments.
A sending module 820, configured to execute the steps 402, 601, 604, 606, 701, 706, 707, and other implicit sending steps in implementing the foregoing embodiments.
A receiving module 830, configured to execute the step 403 implemented in the foregoing embodiments, and other implicit processing steps.
Referring to fig. 9, which shows a block diagram of a circulation information query apparatus according to an exemplary embodiment of the present application, as shown in fig. 9, the apparatus may be implemented as a proxy node 211 in the implementation environment shown in fig. 1 by software, hardware, or a combination of the two, and includes a sending module 910 and a receiving module 920:
a sending module 910, configured to execute the sending steps of step 702, step 709, step 714, and the like in the foregoing embodiments, as well as other implicit sending steps.
A receiving module 920, configured to execute the receiving step executed by the proxy node implicit in the foregoing embodiment.
Referring to fig. 10, a block diagram of a circulation information query apparatus according to an exemplary embodiment of the present application is shown, and as shown in fig. 10, the apparatus may be implemented as the authorization node 210 in the implementation environment shown in fig. 1 by software, hardware, or a combination of the two, and includes a sending module 1010, a receiving module 1020, and a processing module 1030:
a sending module 1010, configured to perform sending steps such as step 602, step 605, step 610, step 703, step 708, step 713, and other implicit sending steps in the foregoing embodiments.
A receiving module 1020, configured to execute the receiving step performed by the authorization node implicit in the foregoing embodiment.
A processing module 1030, configured to execute the processing steps of implementing step 607, step 608, step 609, step 710, step 711, step 712, and the like in the foregoing embodiments, as well as other implicit processing steps.
Fig. 11 shows a block diagram of a terminal 1100 according to an exemplary embodiment of the present invention. The terminal 1100 may be a portable mobile terminal such as: smart phones, tablet computers, MP3 players (Moving Picture experts Group Audio Layer III, motion video experts compression standard Audio Layer 3), MP4 players (Moving Picture experts Group Audio Layer IV, motion video experts compression standard Audio Layer 4). The terminal 1100 may also be referred to by other names such as user equipment, portable terminal, etc.
In general, terminal 1100 includes: a processor 1101 and a memory 1102.
Processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1101 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1101 may also include a main processor and a coprocessor, the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1101 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, the processor 1101 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1102 may include one or more computer-readable storage media, which may be tangible and non-transitory. Memory 1102 can also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1102 is used to store at least one instruction for execution by processor 1101 to implement the flow-through information query method provided herein.
In some embodiments, the terminal 1100 may further include: a peripheral interface 1103 and at least one peripheral. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1104, touch display screen 1105, camera 1106, audio circuitry 1107, positioning component 1108, and power supply 1109.
The peripheral interface 1103 may be used to connect at least one peripheral associated with I/O (Input/Output) to the processor 1101 and the memory 1102. In some embodiments, the processor 1101, memory 1102, and peripheral interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1101, the memory 1102 and the peripheral device interface 1103 may be implemented on separate chips or circuit boards, which is not limited by this embodiment.
The Radio Frequency circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1104 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1104 converts an electric signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electric signal. Optionally, the radio frequency circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1104 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1104 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The touch display screen 1105 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. The touch display screen 1105 also has the ability to capture touch signals on or over the surface of the touch display screen 1105. The touch signal may be input to the processor 1101 as a control signal for processing. Touch display 1105 is used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the touch display screen 1105 can be one, providing the front panel of the terminal 1100; in other embodiments, the touch display screens 1105 can be at least two, respectively disposed on different surfaces of the terminal 1100 or in a folded design; in still other embodiments, touch display 1105 can be a flexible display disposed on a curved surface or on a folded surface of terminal 1100. Even more, the touch display screen 1105 can be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The touch Display screen 1105 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
Camera assembly 1106 is used to capture images or video. Optionally, camera assembly 1106 includes a front camera and a rear camera. Generally, a front camera is used for realizing video call or self-shooting, and a rear camera is used for realizing shooting of pictures or videos. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera and a wide-angle camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting function and a VR (Virtual Reality) shooting function. In some embodiments, camera assembly 1106 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1107 is used to provide an audio interface between the user and the terminal 1100. The audio circuitry 1107 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1101 for processing or inputting the electric signals to the radio frequency circuit 1104 to achieve voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location of terminal 1100. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1101 or the radio frequency circuit 1104 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1107 may also include a headphone jack.
Positioning component 1108 is used to locate the current geographic position of terminal 1100 for purposes of navigation or LBS (location based Service). The positioning component 1108 may be a positioning component based on the GPS (global positioning System) in the united states, the beidou System in china, or the galileo System in russia.
Power supply 1109 is configured to provide power to various components within terminal 1100. The power supply 1109 may be alternating current, direct current, disposable or rechargeable. When the power supply 1109 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1100 can also include one or more sensors 1110. The one or more sensors 1110 include, but are not limited to: acceleration sensor 1111, gyro sensor 1112, pressure sensor 1113, fingerprint sensor 1114, optical sensor 1115, and proximity sensor 1116.
Acceleration sensor 1111 may detect acceleration levels in three coordinate axes of a coordinate system established with terminal 1100. For example, the acceleration sensor 1111 may be configured to detect components of the gravitational acceleration in three coordinate axes. The processor 1101 may control the touch display screen 1105 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1111. The acceleration sensor 1111 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1112 may detect a body direction and a rotation angle of the terminal 1100, and the gyro sensor 1112 may cooperate with the acceleration sensor 1111 to acquire a 3D motion of the user with respect to the terminal 1100. From the data collected by gyroscope sensor 1112, processor 1101 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 1113 may be disposed on a side bezel of terminal 1100 and/or on an underlying layer of touch display screen 1105. When the pressure sensor 1113 is disposed on the side frame of the terminal 1100, a holding signal of the terminal 1100 by the user can be detected, and left-right hand recognition or shortcut operation can be performed according to the holding signal. When the pressure sensor 1113 is disposed at the lower layer of the touch display screen 1105, the operability control on the UI interface can be controlled according to the pressure operation of the user on the touch display screen 1105. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1114 is used for collecting a fingerprint of a user to identify the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by the processor 1101 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. Fingerprint sensor 1114 may be disposed on the front, back, or side of terminal 1100. When a physical button or vendor Logo is provided on the terminal 1100, the fingerprint sensor 1114 may be integrated with the physical button or vendor Logo.
Optical sensor 1115 is used to collect ambient light intensity. In one embodiment, the processor 1101 may control the display brightness of the touch display screen 1105 based on the ambient light intensity collected by the optical sensor 1115. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1105 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1105 is turned down. In another embodiment, processor 1101 may also dynamically adjust the shooting parameters of camera assembly 1106 based on the ambient light intensity collected by optical sensor 1115.
Proximity sensor 1116, also referred to as a distance sensor, is typically disposed on the front face of terminal 1100. Proximity sensor 1116 is used to capture the distance between the user and the front face of terminal 1100. In one embodiment, the touch display screen 1105 is controlled by the processor 1101 to switch from a bright screen state to a dark screen state when the proximity sensor 1116 detects that the distance between the user and the front face of the terminal 1100 is gradually decreasing; when the proximity sensor 1116 detects that the distance between the user and the front face of the terminal 1100 becomes gradually larger, the touch display screen 1105 is controlled by the processor 1101 to switch from a breath-screen state to a bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 11 does not constitute a limitation of terminal 1100, and may include more or fewer components than those shown, or may combine certain components, or may employ a different arrangement of components.
Fig. 12 shows a schematic structural diagram of a computer device provided in an embodiment of the present application. The computer device is used to implement the method for operating the database instance on the server side provided in the above embodiment, and the computer device may be the authorization node 210 or the proxy node 211 in the embodiment of fig. 1. Specifically, the method comprises the following steps:
the computer apparatus 1200 includes a Central Processing Unit (CPU)1201, a system memory 1204 including a Random Access Memory (RAM)1202 and a Read Only Memory (ROM)1203, and a system bus 1205 connecting the system memory 1204 and the central processing unit 1201. The computer device 1200 also includes a basic input/output system (I/O system) 1206 for facilitating information transfer between various devices within the computer, and a mass storage device 1207 for storing an operating system 1213, application programs 1214, and other program modules 1215.
The basic input/output system 1206 includes a display 1208 for displaying information and an input device 1209, such as a mouse, keyboard, etc., for a user to input information. Wherein the display 1208 and input device 1209 are connected to the central processing unit 1201 through an input-output controller 1210 coupled to the system bus 1205. The basic input/output system 1206 may also include an input/output controller 1210 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 1210 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 1207 is connected to the central processing unit 1201 through a mass storage controller (not shown) connected to the system bus 1205. The mass storage device 1207 and its associated computer-readable media provide non-volatile storage for the computer device 1200. That is, the mass storage device 1207 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 1204 and mass storage device 1207 described above may be collectively referred to as memory.
According to various embodiments of the present application, the computer device 1200 may also operate as a remote computer connected to a network via a network, such as the Internet. That is, the computer device 1200 may connect to the network 1212 through a network interface unit 1211 coupled to the system bus 1205, or may connect to other types of networks or remote computer systems (not shown) using the network interface unit 1211.
The memory also includes one or more programs stored in the memory and configured to be executed by one or more processors. The one or more programs include instructions for performing the flow-through information query method provided in the above embodiments.
The present application further provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the method for querying circulation information provided by the above method embodiments.
Optionally, the present application also provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the circulation information query method according to the above aspects.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
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 (26)

1. A circulation information inquiry method is characterized in that the method is applied to a terminal, and the method comprises the following steps:
acquiring an article identifier of an article;
sending a query request to an authorization node in a block chain platform, wherein the query request is used for requesting the authorization node to send circulation information corresponding to the article, the query request carries the article identifier, the circulation information is obtained by the authorization node according to the block information, and the block information is obtained by the authorization node by tracing on the block chain platform according to the article identifier;
receiving the decrypted circulation information sent by the authorization node;
the block information comprises information uploaded to the block chain platform by the circulation node when the article passes through at least one circulation node, at least one target block chain link point on the block chain platform stores the block information, the block information comprises encryption information, and the encryption information is node information of the circulation node encrypted by a public key in an asymmetric encryption key;
the decrypted circulation information is obtained by the authorization node according to the decrypted block information, the decrypted block information is obtained by the authorization node according to the node information, and the node information is obtained by the authorization node decrypting the encrypted information through a private key in the asymmetric encryption key.
2. The method of claim 1, wherein prior to obtaining the item identification of the item, further comprising:
sending a registration request to the authorization node, where the registration request is used to request the authorization node to register a user account corresponding to the terminal on the blockchain platform, and the registration request carries the user account;
and receiving registration confirmation information sent by the authorization node, wherein the registration confirmation information is information sent to the terminal after the authorization node registers the user account on the block chain platform according to the user account after receiving the registration request.
3. The method of claim 1, wherein sending a query request to an authorized node in a blockchain platform comprises:
sending a query permission request to the authorization node, wherein the query permission request is used for requesting the authorization node to determine whether the terminal has query permission, and the query permission request carries the item identifier;
receiving permission confirmation information sent by the authorization node, wherein the permission confirmation information is information sent to the terminal by the authorization node after the authorization node determines that the article identifier sent by the terminal is the same as the article identifier stored locally and determines that the terminal has the inquiry permission;
and sending the query request to the authorization node according to the permission confirmation information.
4. The method of claim 2, wherein sending the query request to an authorized node in the blockchain platform comprises:
sending a query permission request to the authorization node, wherein the query permission request is used for requesting the authorization node to determine whether the terminal has query permission, and the query permission request carries the item identifier;
the receiving the decrypted circulation information sent by the authorization node includes:
sending a request query request to an agent node in the blockchain platform, wherein the request query request is used for requesting the agent node to forward the request query request to the authorization node, and the request query request carries the item identifier;
receiving the decrypted circulation information sent by the agent node, wherein the decrypted circulation information is information sent to the agent node by the authorization node after the agent node forwards the entrusting query request to the authorization node; the entrusting query request is information which is forwarded to the authorization node after the proxy node receives the authority confirmation information sent by the authorization node; and the authority confirmation information is information sent to the proxy node after the authorization node receives the inquiry authority request, determines that the article identifier sent by the terminal is the same as the article identifier stored locally and determines that the terminal has the inquiry authority.
5. The method of claim 4, further comprising:
sending a delegation registration request to the proxy node, where the delegation registration request is used to request that the user account be registered on the blockchain through the proxy node, and the delegation registration request carries a user account corresponding to the terminal;
and receiving registration confirmation information sent by the proxy node, wherein the registration confirmation information is information sent to the terminal after the proxy node registers the user account on the block chain platform according to the user account after receiving the entrusted registration request.
6. The method of any one of claims 1 to 5, wherein the blocking information comprises at least one of the item identifier, the encryption information, an event that the distribution node operates on the item, a signature of the distribution node, a timestamp that the distribution node uploads the blocking information, and a public key in an asymmetric encryption key.
7. The method according to any one of claims 1 to 5, wherein the obtaining of the item identifier of the item comprises:
and scanning the bar code or the two-dimensional code on the package of the article through the terminal to obtain the article identification.
8. A circulation information query method is applied to a proxy node in a blockchain platform, and comprises the following steps:
receiving a request for entrusting query sent by a terminal, wherein the request for entrusting query carries an article identifier of an article acquired by the terminal;
receiving authority confirmation information sent by an authorization node in the block chain platform, wherein the authority confirmation information is information sent to the proxy node after the authorization node receives the inquiry authority request, the item identifier sent by the terminal is determined to be the same as the locally stored item identifier, and the terminal is determined to have the inquiry authority;
sending the entrusted query request to the authorization node according to the permission confirmation information;
receiving decrypted circulation information sent by the authorization node, wherein the circulation information is obtained by the authorization node according to block information, and the block information is obtained by the authorization node by tracing on the block chain platform according to the article identifier after receiving the entrustment query request;
sending the decrypted circulation information to the terminal;
the block information comprises information uploaded to the block chain platform by the circulation node when the article passes through at least one circulation node, at least one target block chain link point on the block chain platform stores the block information, the block information comprises encryption information, and the encryption information is node information of the circulation node encrypted by a public key in an asymmetric encryption key;
the decrypted circulation information is obtained by the authorization node according to the decrypted block information, the decrypted block information is obtained by the authorization node according to the node information, and the node information is obtained by the authorization node decrypting the encrypted information through a private key in the asymmetric encryption key.
9. The method of claim 8, further comprising:
receiving a consignment registration request sent by the terminal, wherein the consignment registration request carries a user account;
sending the delegated registration request to the authorizing node;
receiving registration confirmation information sent by the authorization node, wherein the registration confirmation information is information sent to the authorization node after the authorization node receives the entrusted registration request and registers the user account on the block chain platform according to the user account;
and sending the registration confirmation information to the terminal.
10. The method of claim 8 or 9, wherein the blocking information comprises at least one of the item identifier, the encryption information, an event that the distribution node operates on the item, a signature of the distribution node, a timestamp that the distribution node uploads the blocking information, and a public key in an asymmetric encryption key.
11. The method of claim 8 or 9, wherein the obtaining of the item identification of the item comprises:
and scanning the bar code or the two-dimensional code on the package of the article through the terminal to obtain the article identification.
12. A circulation information query method is applied to an authorized node in a blockchain platform, and comprises the following steps:
receiving an inquiry request sent by a terminal, wherein the inquiry request carries an article identifier of an article acquired by the terminal;
tracing to obtain block information corresponding to the article in the block chain platform according to the article identifier, wherein the block information comprises information uploaded to the block chain platform by the circulation node when the article passes through at least one circulation node, at least one target block chain link point on the block chain platform stores the block information, the block information comprises encrypted information, and the encrypted information is node information of the node encrypted by the circulation node through a public key in an asymmetric encryption key;
decrypting the encrypted information through a private key in the asymmetric encryption key to obtain the node information;
obtaining the decrypted block information according to the node information;
obtaining decrypted circulation information according to the decrypted block information;
and sending the decrypted circulation information to the terminal.
13. The method according to claim 12, wherein the tracing the block information corresponding to the article in the block chain platform according to the article identifier comprises:
broadcasting the query request to the blockchain platform;
and receiving block information sent by a target block chain node in the block chain platform, wherein the block information is obtained by tracing the target block chain node on the block chain platform according to the article identifier.
14. The method of claim 12, wherein before the receiving the query request sent by the terminal, the method further comprises:
receiving a registration request sent by the terminal, wherein the registration request carries a user account corresponding to the terminal;
registering the user account on the block chain platform according to the user account carried in the registration request;
and sending registration confirmation information to the terminal, wherein the registration confirmation information is used for informing the terminal that the user account is successfully registered.
15. The method of claim 12, wherein before the receiving the query request sent by the terminal, the method further comprises:
receiving an inquiry authority request sent by the terminal, wherein the inquiry authority request carries the article identification;
determining whether the item identifier sent by the terminal is the same as an item identifier stored locally or not according to the inquiry permission request;
when the item identification sent by the terminal is determined to be the same as the locally stored item identification, determining that the terminal has inquiry authority;
and sending authority confirmation information to the terminal, wherein the authority confirmation information is used for informing that the terminal has the inquiry authority.
16. The method of claim 12, wherein before the receiving the query request sent by the terminal, the method further comprises:
receiving an inquiry authority request sent by the terminal, wherein the inquiry authority request carries the article identification;
determining whether the item identifier sent by the terminal is the same as an item identifier stored locally or not according to the inquiry permission request;
when the item identification sent by the terminal is determined to be the same as the locally stored item identification, determining that the terminal has inquiry authority;
sending authority confirmation information to the agent node in the block chain platform, wherein the authority confirmation information is used for informing the agent node that the terminal has the inquiry authority;
receiving a request for entrusting query sent by the agent node, wherein the request for entrusting query carries the item identifier;
tracing to obtain block information corresponding to the article in the block chain platform according to the article identifier, wherein the block information comprises information uploaded to the block chain platform by the circulation node when the article passes through at least one circulation node, at least one target block chain link point on the block chain platform stores the block information, the block information comprises encrypted information, and the encrypted information is node information of the node encrypted by the circulation node through a public key in an asymmetric encryption key;
decrypting the encrypted information through a private key in the asymmetric encryption key to obtain the node information;
obtaining the decrypted block information according to the node information;
obtaining decrypted circulation information according to the decrypted block information; and sending the decrypted circulation information to the proxy node, wherein the circulation information is used for indicating the proxy node to forward the decrypted circulation information to the terminal.
17. The method of claim 16, wherein before the receiving the query request sent by the terminal, the method further comprises:
receiving a consignment registration request sent by the agent node, wherein the consignment registration request carries a user account corresponding to the terminal;
registering the user account on the block chain platform according to the user account carried in the entrusted registration request;
and sending registration confirmation information to the proxy node, wherein the registration confirmation information is used for informing the proxy node that the user account is successfully registered.
18. The method of any one of claims 12 to 17, wherein the blocking information comprises at least one of the item identifier, the encryption information, an event that the distribution node operates on the item, a signature of the distribution node, a timestamp that the distribution node uploads the blocking information, and a public key in an asymmetric encryption key.
19. The method of any one of claims 12 to 17, wherein said obtaining an item identification of an item comprises:
and scanning the bar code or the two-dimensional code on the package of the article through the terminal to obtain the article identification.
20. A circulation information inquiry system is characterized by comprising a terminal and a block chain platform;
the terminal is used for acquiring an article identifier of an article and sending a query request to an authorization node in the block chain platform, wherein the query request carries the article identifier;
the authorization node is used for tracing the block information corresponding to the article in the block chain platform according to the article identifier, obtaining circulation information according to the block information, and sending the decrypted circulation information to the terminal;
the block information comprises information uploaded to the block chain platform by the circulation node when the article passes through at least one circulation node, at least one target block chain link point on the block chain platform stores the block information, the block information comprises encryption information, and the encryption information is node information of the circulation node encrypted by a public key in an asymmetric encryption key;
the decrypted circulation information is obtained by the authorization node according to the decrypted block information, the decrypted block information is obtained by the authorization node according to the node information, and the node information is obtained by the authorization node decrypting the encrypted information through a private key in the asymmetric encryption key.
21. A circulation information inquiry system is characterized by comprising a terminal and a block chain platform;
the terminal is used for acquiring an article identifier of an article and sending a request for entrusting query to an agent node in the block chain platform, wherein the request for entrusting query carries the article identifier;
the proxy node is used for forwarding a request query to an authorized node in the block chain platform;
the authorization node is used for tracing the block information corresponding to the article in the block chain platform according to the article identifier, obtaining circulation information according to the block information, and sending the decrypted circulation information to the agent node;
the proxy node is also used for forwarding the decrypted circulation information to the terminal;
the block information comprises information uploaded to the block chain platform by the circulation node when the article passes through at least one circulation node, at least one target block chain link point on the block chain platform stores the block information, the block information comprises encryption information, and the encryption information is node information of the circulation node encrypted by a public key in an asymmetric encryption key;
the decrypted circulation information is obtained by the authorization node according to the decrypted block information, the decrypted block information is obtained by the authorization node according to the node information, and the node information is obtained by the authorization node decrypting the encrypted information through a private key in the asymmetric encryption key.
22. A circulation information inquiry apparatus, comprising:
the acquisition module is used for acquiring an article identifier of an article;
a sending module, configured to send a query request to an authorization node in a block chain platform, where the query request is used to request the authorization node to send circulation information corresponding to the article, the query request carries the article identifier, and the circulation information is obtained by the authorization node according to block information, and the block information is obtained by the authorization node by tracing on the block chain platform according to the article identifier;
the receiving module is used for receiving the decrypted circulation information sent by the authorization node;
the block information comprises information uploaded to the block chain platform by the circulation node when the article passes through at least one circulation node, at least one target block chain link point on the block chain platform stores the block information, the block information comprises encryption information, and the encryption information is node information of the circulation node encrypted by a public key in an asymmetric encryption key;
the decrypted circulation information is obtained by the authorization node according to the decrypted block information, the decrypted block information is obtained by the authorization node according to the node information, and the node information is obtained by the authorization node decrypting the encrypted information through a private key in the asymmetric encryption key.
23. A circulation information inquiry apparatus, comprising:
the receiving module is used for receiving a request for entrusting query sent by a terminal, wherein the request for entrusting query carries an article identifier of an article acquired by the terminal;
the receiving module is further configured to receive permission confirmation information sent by an authorization node in a block chain platform, where the permission confirmation information is information sent to a proxy node after the authorization node receives an inquiry permission request, determines that the item identifier sent by the terminal is the same as an item identifier stored locally, and determines that the terminal has the inquiry permission;
a sending module, configured to send the delegation query request to the authorization node according to the permission confirmation information;
the receiving module is further configured to receive decrypted circulation information sent by the authorization node, where the circulation information is obtained by the authorization node according to block information, and the block information is obtained by the authorization node by tracing back on the block chain platform according to the item identifier after receiving the entrusted query request;
the sending module is further configured to send the decrypted circulation information to the terminal;
the block information comprises information uploaded to the block chain platform by the circulation node when the article passes through at least one circulation node, at least one target block chain link point on the block chain platform stores the block information, the block information comprises encryption information, and the encryption information is node information of the circulation node encrypted by a public key in an asymmetric encryption key;
the decrypted circulation information is obtained by the authorization node according to the decrypted block information, the decrypted block information is obtained by the authorization node according to the node information, and the node information is obtained by the authorization node decrypting the encrypted information through a private key in the asymmetric encryption key.
24. A circulation information inquiry apparatus, comprising:
the receiving module is used for receiving an inquiry request sent by a terminal, wherein the inquiry request carries an article identifier of an article acquired by the terminal;
the processing module is used for tracing block information corresponding to the article in a block chain platform according to the article identifier, wherein the block information comprises information uploaded to the block chain platform by a circulation node when the article passes through at least one circulation node, at least one block chain node exists on the block chain platform and stores the block information, the block information comprises encrypted information, and the encrypted information is node information of a local node encrypted by the circulation node through a public key in an asymmetric encryption key;
the processing module is further configured to decrypt the encrypted information through a private key in the asymmetric encryption key to obtain the node information; obtaining the decrypted block information according to the node information; obtaining decrypted circulation information according to the decrypted block information;
and the sending module is used for sending the decrypted circulation information to the terminal.
25. An electronic device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the method of circulating information query according to any one of claims 1 to 19.
26. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the method of flow through information query according to any one of claims 1 to 19.
CN201810551950.1A 2018-05-31 2018-05-31 Circulation information inquiry method, device, equipment, system and storage medium Active CN108764797B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911039277.4A CN110796414B (en) 2018-05-31 2018-05-31 Circulation information inquiry method, device, equipment, system and storage medium
CN201810551950.1A CN108764797B (en) 2018-05-31 2018-05-31 Circulation information inquiry method, device, equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810551950.1A CN108764797B (en) 2018-05-31 2018-05-31 Circulation information inquiry method, device, equipment, system and storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201911039277.4A Division CN110796414B (en) 2018-05-31 2018-05-31 Circulation information inquiry method, device, equipment, system and storage medium

Publications (2)

Publication Number Publication Date
CN108764797A CN108764797A (en) 2018-11-06
CN108764797B true CN108764797B (en) 2020-06-02

Family

ID=64001431

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201911039277.4A Active CN110796414B (en) 2018-05-31 2018-05-31 Circulation information inquiry method, device, equipment, system and storage medium
CN201810551950.1A Active CN108764797B (en) 2018-05-31 2018-05-31 Circulation information inquiry method, device, equipment, system and storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201911039277.4A Active CN110796414B (en) 2018-05-31 2018-05-31 Circulation information inquiry method, device, equipment, system and storage medium

Country Status (1)

Country Link
CN (2) CN110796414B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110796414A (en) * 2018-05-31 2020-02-14 腾讯科技(深圳)有限公司 Circulation information inquiry method, device, equipment, system and storage medium
CN112116360A (en) * 2020-08-14 2020-12-22 宇龙计算机通信科技(深圳)有限公司 Shoe anti-counterfeiting method and device, storage medium and electronic equipment

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109583810B (en) * 2018-11-16 2021-01-12 大唐高鸿信息通信(义乌)有限公司 Tracing anti-counterfeiting system and method based on 5G architecture and block chain technology
CN109726780B (en) * 2018-11-28 2022-06-07 厦门艾欧特科技有限公司 Block chain-based packaging material verification method, device and system
US20220045869A1 (en) * 2018-11-29 2022-02-10 Leica Biosystems Melbourne Pty Ltd Blockchain-based consumables management with support for offline instruments
CN110471952B (en) * 2018-12-07 2023-05-26 深圳市智税链科技有限公司 Method, proxy node and medium for determining accounting node in blockchain network
CN109658097B (en) * 2018-12-07 2023-10-13 深圳市智税链科技有限公司 Authentication management method, device, medium and electronic equipment of block chain system
CN111325293A (en) * 2018-12-14 2020-06-23 北京京东尚科信息技术有限公司 Monitoring method, system, device, equipment and computer readable medium
CN109547214B (en) * 2018-12-26 2022-10-11 成都健数科技有限公司 Medicine information acquisition and tracking method
CN109636622B (en) * 2019-01-03 2024-03-29 平安科技(深圳)有限公司 Block chain-based fund data sharing method and system and electronic equipment
CN110097376A (en) * 2019-04-12 2019-08-06 阿里巴巴集团控股有限公司 Commodity source tracing method, device, equipment and storage medium
CN110119428B (en) * 2019-04-19 2023-05-12 腾讯科技(深圳)有限公司 Block chain information management method, device, equipment and storage medium
CN110210795A (en) * 2019-06-28 2019-09-06 中船黄埔文冲船舶有限公司 A kind of production management method
CN110543785B (en) * 2019-08-12 2022-03-11 广州市申迪计算机系统有限公司 Logistics processing method, device and system based on block chain
CN110597868B (en) * 2019-09-24 2023-08-15 腾讯科技(深圳)有限公司 Information query method, device, terminal and storage medium based on block chain
CN110830549A (en) * 2019-09-24 2020-02-21 北京海益同展信息科技有限公司 Method and device for acquiring service information, electronic equipment and storage medium
CN110599107B (en) * 2019-09-24 2024-03-19 腾讯科技(深圳)有限公司 Logistics data processing method and device based on block chain
CN110689909B (en) * 2019-10-15 2021-10-29 腾讯科技(深圳)有限公司 Dubbing information recording method, query method, device and equipment based on block chain
CN110798321B (en) * 2019-10-29 2022-09-06 北京计算机技术及应用研究所 Article information service method based on block chain
CN111105247A (en) * 2019-12-03 2020-05-05 北京海益同展信息科技有限公司 Medicine information acquisition method and device, server and storage medium
CN111563753A (en) * 2020-04-29 2020-08-21 程烨 Query method and device for product tracing information, server and storage medium
CN111741067B (en) * 2020-05-20 2022-08-12 广州市格利网络技术有限公司 Block chain-based tableware circulation information management method and device and block chain system
CN111882325A (en) * 2020-06-17 2020-11-03 深圳酷派技术有限公司 Anti-counterfeiting method and device for electronic product, storage medium and electronic equipment
CN111881423B (en) * 2020-07-28 2023-09-19 杭州海康威视数字技术股份有限公司 Method, device and system for authorizing restricted function use
CN112036801B (en) * 2020-09-14 2023-02-10 成都锐美动力科技有限公司 Graphic code scanning logistics tracking method of encryption system
CN112948876A (en) * 2021-02-26 2021-06-11 中国联合网络通信集团有限公司 Tracing method and device
CN113392942A (en) * 2021-05-26 2021-09-14 中国联合网络通信集团有限公司 Information verification method based on block chain, server and article node
CN115567225B (en) * 2022-10-13 2023-11-28 佛山众陶联供应链服务有限公司 Ceramic industry supply chain data sharing system based on block chain

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291862A (en) * 2017-06-12 2017-10-24 腾讯科技(深圳)有限公司 Business datum storage method, device, storage medium and electronic equipment
CN107315786A (en) * 2017-06-12 2017-11-03 腾讯科技(深圳)有限公司 Business datum storage method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9436923B1 (en) * 2015-02-26 2016-09-06 Skuchain, Inc. Tracking unitization occurring in a supply chain
CN106971288A (en) * 2017-05-31 2017-07-21 无锡井通网络科技有限公司 A kind of distributed material flow tracking method based on block chain
CN107679876A (en) * 2017-10-18 2018-02-09 上海唯链信息科技有限公司 A kind of medicine equipment based on block chain technology is false proof and traceability system
CN111865586B (en) * 2017-11-23 2023-01-10 创新先进技术有限公司 Method and device for encrypting product information
CN108038697A (en) * 2017-12-04 2018-05-15 成都东哲科技有限公司 Commodity based on block chain are traced to the source data service platform node data management system
CN108009830A (en) * 2017-12-14 2018-05-08 上海密尔克卫化工储存有限公司 Products in circulation tracking and system based on block chain
CN110796414B (en) * 2018-05-31 2021-04-16 腾讯科技(深圳)有限公司 Circulation information inquiry method, device, equipment, system and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291862A (en) * 2017-06-12 2017-10-24 腾讯科技(深圳)有限公司 Business datum storage method, device, storage medium and electronic equipment
CN107315786A (en) * 2017-06-12 2017-11-03 腾讯科技(深圳)有限公司 Business datum storage method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110796414A (en) * 2018-05-31 2020-02-14 腾讯科技(深圳)有限公司 Circulation information inquiry method, device, equipment, system and storage medium
CN112116360A (en) * 2020-08-14 2020-12-22 宇龙计算机通信科技(深圳)有限公司 Shoe anti-counterfeiting method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN108764797A (en) 2018-11-06
CN110796414A (en) 2020-02-14
CN110796414B (en) 2021-04-16

Similar Documents

Publication Publication Date Title
CN108764797B (en) Circulation information inquiry method, device, equipment, system and storage medium
CN110602089B (en) Block chain-based medical data storage method, device, equipment and storage medium
CN108614878B (en) Protocol data management method, device, storage medium and system
CN109472166B (en) Electronic signature method, device, equipment and medium
CN110602201B (en) Resume management method, device and system based on block chain and storage medium
CN110687821B (en) Intelligent home control system and method based on block chain
CN110689460B (en) Traffic accident data processing method, device, equipment and medium based on block chain
EP3304431A1 (en) Open registry for identity of things
US10601817B2 (en) Method and apparatus for providing securities to electronic devices
CN111079958A (en) Garbage recycling method, system, equipment and storage medium
CN111241115B (en) Data synchronization method, device, equipment and storage medium
CN110598386B (en) Block chain-based data processing method, device, equipment and storage medium
CN110598458B (en) Method, device and system for acquiring medical prescriptions based on blockchain
CN111414598B (en) Monitoring method, device and equipment based on block chain and storage medium
CN111340482A (en) Conflict detection method, device, node equipment and storage medium
CN110677262B (en) Information notarization method, device and system based on blockchain
CN111193702B (en) Method and device for data encryption transmission
CN110365501B (en) Method and device for group joining processing based on graphic code
CN110598470B (en) Block chain-based commodity information storage method, device and system and storage medium
CN110599210A (en) Information management method and device of block chain
CN110597868B (en) Information query method, device, terminal and storage medium based on block chain
JP7009743B2 (en) Wireless communication devices and information communication systems
CN114386066A (en) Application reinforcement method and device
CN108683684B (en) Method, device and system for logging in target instant messaging application
CN111680039A (en) Storage method, query method, device, equipment and storage medium of order information

Legal Events

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