CN111461622B - Block chain-based warehouse credit rating, result acquisition and verification method and device - Google Patents

Block chain-based warehouse credit rating, result acquisition and verification method and device Download PDF

Info

Publication number
CN111461622B
CN111461622B CN202010305492.0A CN202010305492A CN111461622B CN 111461622 B CN111461622 B CN 111461622B CN 202010305492 A CN202010305492 A CN 202010305492A CN 111461622 B CN111461622 B CN 111461622B
Authority
CN
China
Prior art keywords
warehouse
rating
internet
rating result
information
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
CN202010305492.0A
Other languages
Chinese (zh)
Other versions
CN111461622A (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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology 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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202010305492.0A priority Critical patent/CN111461622B/en
Publication of CN111461622A publication Critical patent/CN111461622A/en
Priority to PCT/CN2021/086915 priority patent/WO2021208909A1/en
Application granted granted Critical
Publication of CN111461622B publication Critical patent/CN111461622B/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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • 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/3827Use of message hashing

Abstract

The embodiment of the specification provides a block chain-based warehouse credit rating, result acquisition and verification method and device. In the method for grading the credit of the warehouse, the equipment deployment information of the internet of things of the warehouse is obtained, a block chain intelligent contract is called to grade the credit of the warehouse according to the equipment deployment information of the internet of things so as to obtain a grading result aiming at the warehouse, and the block chain intelligent contract is created on the basis of a multi-party consensus warehouse credit grading rule; packing the rating result into a block, wherein the block comprises warehouse identification information of a warehouse and a corresponding first hash value; and recording the block on the block chain.

Description

Block chain-based warehouse credit rating, result acquisition and verification method and device
Technical Field
The embodiment of the specification relates to the technical field of supply chain finance, in particular to a block chain-based warehouse credit rating, result acquisition and verification method and device.
Background
In a supply chain financial domain inventory pledge financing scenario, pledge goods are stored in a warehouse, kept by a warehousing party. Currently, the credit rating of a warehouse is generally related to the main body of the warehouse management party, for example, a warehouse managed by a well-known enterprise has a higher credit rating, and a warehouse managed by a medium-sized enterprise, a small enterprise and even a tiny enterprise has a lower credit rating.
Disclosure of Invention
In view of the above, the present specification provides a block chain-based warehouse credit rating, result acquisition, and verification method and apparatus. In the warehouse credit rating method, a block chain intelligent contract used for the warehouse credit rating is created based on a multi-party consensus warehouse credit rating rule, the warehouse credit rating rule is multi-party consensus, the fairness of the warehouse credit rule is guaranteed, and the warehouse credit rule is not falsified in the form of the intelligent contract, so that the authenticity of the warehouse credit rating is guaranteed. The credit rating of the warehouse is based on the internet of things equipment deployment information of the warehouse, so that the influence of human factors is avoided, and the objective fairness of the credit rating of the warehouse is ensured. After the rating result is obtained, the rating result is packaged into blocks and recorded on the blockchain, so that the rating result is ensured not to be tampered, the rating result obtained from the blockchain is credible, and/or a first hash value corresponding to the rating result can be used for verifying the rating result provided by a third party.
According to an aspect of embodiments of the present specification, there is provided a block chain-based warehouse credit rating method, including: acquiring the deployment information of the Internet of things equipment in the warehouse; calling a block chain intelligent contract to perform warehouse credit rating according to the Internet of things equipment deployment information so as to obtain a rating result aiming at the warehouse, wherein the block chain intelligent contract is created on the basis of a multi-party consensus warehouse credit rating rule; packing the rating result into a block, wherein the block comprises warehouse identification information of the warehouse and a corresponding first hash value; and recording the block on a block chain.
Optionally, in one example of the above aspect, recording the tile on a tile chain comprises: broadcasting the block to a consensus node in a block chain network for consensus processing; and recording the block on a block chain after the consensus node achieves consensus.
Optionally, in an example of the above aspect, the block includes internet of things device deployment information of the warehouse.
Optionally, in an example of the above aspect, the internet of things device of the warehouse has a blockchain unique identity.
Optionally, in an example of the above aspect, further comprising: verifying authenticity of the deployment information of the Internet of things equipment based on the unique identity of the block chain; invoking a blockchain intelligent contract to perform warehouse credit rating according to the internet of things device information to obtain a rating result for the warehouse comprises: and calling a block chain intelligent contract to perform warehouse credit rating according to the Internet of things equipment deployment information subjected to authenticity verification so as to obtain a rating result aiming at the warehouse.
Optionally, in an example of the above aspect, the obtaining of the internet of things device deployment information of the warehouse includes: receiving Internet of things equipment deployment information of the warehouse from server equipment of the warehouse; or receiving the internet of things equipment deployment information of the warehouse from each internet of things equipment of the warehouse.
Optionally, in an example of the above aspect, the obtaining of the internet of things device deployment information of the warehouse includes: and acquiring the equipment deployment information of the Internet of things of the warehouse in a specified time period.
Optionally, in an example of the above aspect, the internet of things device deployment information of the warehouse is obtained in response to the following trigger condition: the warehouse requesting a warehouse credit rating; updating the internet of things equipment deployed in the warehouse; or a specified point in time.
Optionally, in an example of the above aspect, the internet of things device deployment information includes at least one of the following information: device quantity information; device identification information of each device; device location information for each device; and equipment fault condition information for each of the equipment.
Optionally, in one example of the above aspect, the internet of things device comprises an internet of things device adapted for warehouse credit rating.
Optionally, in an example of the above aspect, the block further includes a rating result, and the warehouse credit rating method further includes: receiving a rating result acquisition request from a rating result query requester, wherein the rating result acquisition request comprises warehouse identification information; inquiring a rating result corresponding to the warehouse identification information on the block chain; and sending the inquired rating result to the rating result inquiry requester.
Optionally, in an example of the above aspect, further comprising: receiving a rating result verification request from a rating result verification requesting party, wherein the rating result verification request comprises a rating result to be verified and warehouse identification information; performing hash calculation on the rating result to be verified to obtain a second hash value of the rating result to be verified; inquiring a first hash value corresponding to the warehouse identification information on the block chain; comparing the second hash value with the queried first hash value; and sending notification information for indicating whether the rating result to be verified is authentic to the rating result verification requester based on a comparison result between the second hash value and the queried first hash value.
According to another aspect of the embodiments of the present specification, there is also provided a block chain-based warehouse credit rating result obtaining method, including: receiving a rating result acquisition request from a rating result query requester, wherein the rating result acquisition request comprises warehouse identification information; inquiring a rating result corresponding to the warehouse identification information on the block chain; and sending the inquired rating result to the rating result inquiry requester, wherein the block chain records blocks packed based on the rating result, each block comprises warehouse identification information, the rating result and a corresponding first hash value, and the rating result is obtained by calling a block chain intelligent contract to perform warehouse credit rating according to the internet of things equipment deployment information of the warehouse.
According to another aspect of the embodiments of the present specification, there is also provided a block chain-based warehouse credit rating result verification method, including: receiving a rating result verification request from a rating result verification requesting party, wherein the rating result verification request comprises a rating result to be verified and warehouse identification information; performing hash calculation on the rating result to be verified to obtain a second hash value of the rating result to be verified; inquiring a first hash value corresponding to the warehouse identification information on the block chain; comparing the second hash value with the queried first hash value; and sending notification information for indicating whether the rating result to be verified is real or not to the rating result verification requester based on a comparison result between the second hash value and the inquired first hash value, wherein the block chain records blocks packed based on the rating result, each block comprises warehouse identification information and a corresponding first hash value, and the rating result is obtained by calling a block chain intelligent contract to perform warehouse credit rating according to the internet of things equipment deployment information of the warehouse.
According to another aspect of embodiments of the present specification, there is also provided a block chain-based warehouse credit rating apparatus, including: the information acquisition unit acquires the deployment information of the Internet of things equipment in the warehouse; a credit rating unit calls a block chain intelligent contract to perform warehouse credit rating according to the Internet of things equipment deployment information so as to obtain a rating result aiming at the warehouse, wherein the block chain intelligent contract is created on the basis of a multi-party consensus warehouse credit rating rule; a block generating unit packs the rating result into a block, wherein the block comprises warehouse identification information of the warehouse and a corresponding first hash value; and the block recording unit records the block on the block chain.
Optionally, in an example of the above aspect, the tile recording unit includes: the consensus processing module broadcasts the blocks to consensus nodes in a block chain network to perform consensus processing; and the block recording module records the block on the block chain after the consensus node achieves consensus.
Optionally, in an example of the above aspect, the internet of things device of the warehouse has a blockchain unique identity, and the warehouse credit rating apparatus further includes: the authenticity verification unit verifies the authenticity of the deployment information of the Internet of things equipment based on the unique identity of the block chain; the credit rating unit calls a block chain intelligent contract to perform warehouse credit rating according to the verified Internet of things equipment deployment information so as to obtain a rating result aiming at the warehouse.
Optionally, in one example of the above aspect, the information obtaining unit: receiving Internet of things equipment deployment information of the warehouse from server equipment of the warehouse; or receiving the internet of things equipment deployment information of the warehouse from each internet of things equipment of the warehouse.
Optionally, in one example of the above aspect, the information obtaining unit: and acquiring the equipment deployment information of the Internet of things of the warehouse in a specified time period.
Optionally, in an example of the above aspect, the block further includes a rating result, and the warehouse credit rating device further includes: a rating result request receiving unit receives a rating result acquisition request from a rating result query requester, wherein the rating result acquisition request includes warehouse identification information; the rating result query unit queries a rating result corresponding to the warehouse identification information on the block chain; and the rating result sending unit sends the inquired rating result to the rating result inquiry requester.
Optionally, in an example of the above aspect, further comprising: the verification request receiving unit receives a rating result verification request from a rating result verification requesting party, wherein the rating result verification request comprises a rating result to be verified and warehouse identification information; the hash value processing unit carries out hash calculation on the rating result to be verified to obtain a second hash value of the rating result to be verified, a first hash value corresponding to the warehouse identification information is inquired on the block chain, and the second hash value is compared with the inquired first hash value; and the notification unit sends notification information indicating whether the rating result to be verified is authentic to the rating result verification requester based on a comparison result between the second hash value and the queried first hash value.
According to another aspect of the embodiments of the present specification, there is also provided a block chain-based warehouse credit rating result obtaining apparatus, including: a rating result request receiving unit receives a rating result acquisition request from a rating result query requester, wherein the rating result acquisition request includes warehouse identification information; the rating result query unit queries a rating result corresponding to the warehouse identification information on the block chain; and the rating result sending unit sends the queried rating result to the rating result query requester, wherein the block chain records blocks packed based on the rating result, each block comprises warehouse identification information, the rating result and a corresponding first hash value, and the rating result is obtained by calling a block chain intelligent contract to perform warehouse credit rating according to the Internet of things equipment deployment information of the warehouse.
According to another aspect of embodiments of the present specification, there is also provided a block chain-based warehouse credit rating result verification apparatus, including: the verification request receiving unit receives a rating result verification request from a rating result verification requesting party, wherein the rating result verification request comprises a rating result to be verified and warehouse identification information; the hash value processing unit carries out hash calculation on the rating result to be verified to obtain a second hash value of the rating result to be verified, a first hash value corresponding to the warehouse identification information is inquired on the block chain, and the second hash value is compared with the inquired first hash value; and the notification unit sends notification information for indicating whether the rating result to be verified is real or not to the rating result verification requester based on a comparison result between the second hash value and the inquired first hash value, wherein the block chain records blocks packed based on the rating result, each block comprises warehouse identification information and a corresponding first hash value, and the rating result is obtained by calling a block chain intelligent contract to perform warehouse credit rating according to the internet of things equipment deployment information of the warehouse.
According to another aspect of embodiments herein, there is also provided an electronic device, including: at least one processor; and a memory storing instructions that, when executed by the at least one processor, cause the at least one processor to perform the block chain based warehouse credit rating method as described above.
According to another aspect of embodiments of the present specification, there is also provided a machine-readable storage medium storing executable instructions that, when executed, cause the machine to perform the block chain based warehouse credit rating method as described above.
According to another aspect of embodiments herein, there is also provided an electronic device, including: at least one processor; and a memory storing instructions that, when executed by the at least one processor, cause the at least one processor to perform a block chain based warehouse credit rating result acquisition or verification method as described above.
According to another aspect of embodiments of the present specification, there is also provided a machine-readable storage medium storing executable instructions that, when executed, cause the machine to perform a block chain based warehouse credit rating result acquisition or verification method as described above.
Drawings
A further understanding of the nature and advantages of the present disclosure may be realized by reference to the following drawings. In the drawings, similar components or features may have the same reference numerals. The accompanying drawings, which are included to provide a further understanding of the embodiments of the specification and are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and together with the detailed description serve to explain the embodiments of the specification, but are not intended to limit the embodiments of the specification. In the drawings:
FIG. 1 shows a schematic diagram of an example environment;
FIG. 2 illustrates an example architectural diagram of a network 200 of warehouses and blockchain networks of embodiments of the present description;
FIG. 3 illustrates a flow diagram of one example of a block chain-based warehouse credit rating method of an embodiment of the present specification;
FIG. 4 illustrates a flow diagram of one example of blockchain intelligent contract creation;
FIG. 5 shows a schematic diagram of an example of a consensus process of an embodiment of the present specification;
FIG. 6 is a diagram illustrating an example of formats of a pre-prepare message, a prepare message, and an acknowledge message in a consensus process of an embodiment of the present specification;
FIG. 7 is a flowchart showing an example of a rating result obtaining method of the embodiment of the present specification;
FIG. 8 is a flow chart illustrating one example of a rating result verification method of an embodiment of the present specification;
FIG. 9 illustrates a block diagram of one example of a block chain based warehouse credit rating apparatus of an embodiment of the present specification;
fig. 10 is a block diagram showing an example of a block chain-based rating result obtaining apparatus according to an embodiment of the present specification;
FIG. 11 is a block diagram illustrating an example of a block chain-based rating result verification apparatus according to an embodiment of the present specification;
FIG. 12 illustrates a block diagram of an electronic device for implementing a blockchain-based warehouse credit rating method in accordance with an embodiment of the present specification;
fig. 13 illustrates a block diagram of an electronic device for implementing a block chain-based warehouse credit rating result acquisition method according to an embodiment of the present specification; and
fig. 14 illustrates a block diagram of an electronic device for implementing a block chain-based warehouse credit rating result validation method, according to an embodiment of the present specification.
Detailed Description
The subject matter described herein will be discussed with reference to example embodiments. It should be understood that these embodiments are discussed only to enable those skilled in the art to better understand and thereby implement the subject matter described herein, and are not intended to limit the scope, applicability, or examples set forth in the claims. Changes may be made in the function and arrangement of elements discussed without departing from the scope of the disclosure. Various examples may omit, substitute, or add various procedures or components as needed. In addition, features described with respect to some examples may also be combined in other examples.
As used herein, the term "include" and its variants mean open-ended terms in the sense of "including, but not limited to. The term "based on" means "based at least in part on". The terms "one embodiment" and "an embodiment" mean "at least one embodiment". The term "another embodiment" means "at least one other embodiment". The terms "first," "second," and the like may refer to different or the same object. Other definitions, whether explicit or implicit, may be included below. The definition of a term is consistent throughout the specification unless the context clearly dictates otherwise.
The term "Internet of Things (IoT)" is used to collect any object or process needing monitoring, connection and interaction in real time by various devices and technologies such as various information sensors, radio frequency identification technologies, global positioning systems, infrared sensors and laser scanners, collect various information needed by sound, light, heat, electricity, chemistry, biology, location, etc., and realize ubiquitous connection between objects and objects, and between objects and people by various possible network accesses, so as to realize intelligent sensing, identification and management of objects and processes. The internet of things equipment is equipment in the internet of things network.
FIG. 1 shows a schematic diagram of an example environment. As shown in fig. 1, the example environment 100 allows entities to participate in a blockchain network 102. The blockchain network 102 may be a public type, a private type, or a federation type of blockchain network. The example environment 100 may include computing devices 104, 106, 108, 110, 112 and a network 114; in an embodiment, the Network 114 may include a Local Area Network (LAN), Wide Area Network (WAN), the internet, or a combination thereof, and is connected to websites, user devices (e.g., computing devices), and backend systems. In one embodiment, the network 114 may be accessed through wired and/or wireless communication. 045 in some cases, the computing devices 106, 108 may be nodes of a cloud computing system (not shown), or each computing device 106, 108 may be a separate cloud computing system, comprising multiple computers interconnected by a network and operating as a distributed processing system.
In an embodiment, computing devices 104-108 may run any suitable computing system that enables them to act as nodes in blockchain network 102; for example, the computing devices 104-108 may include, but are not limited to, servers, desktop computers, laptops, tablet computing devices, and smartphones. In an embodiment, the computing devices 104-108 can be affiliated with a related entity and used to implement a corresponding service, which can be used to manage transactions between an entity or entities, for example.
In one embodiment, the computing devices 104-108 respectively store a blockchain ledger corresponding to the blockchain network 102. The computing device 104 may be (or include) a web server for providing browser functionality that may provide visualization information related to the blockchain network 102 based on the network 114. In some cases, the computing device 104 may not participate in the blockchain check, but rather monitor the blockchain network 102 to determine when other nodes (e.g., which may include the computing device 106 and 108) agree, and generate a corresponding blockchain visualization user interface accordingly.
In an embodiment, computing device 104 may receive a request initiated by a client device (e.g., computing device 110 or computing device 112) for a blockchain visualization user interface. In some cases, the nodes of the blockchain network 102 may also act as client devices, such that a user of the computing device 108 may send the request to the computing device 104 using a browser running on the computing device 108. 049 in response to the request, computing device 104 may generate a blockchain visual user interface (e.g., a web page) based on the stored blockchain ledger and send the generated blockchain visual user interface to the requesting client device. If blockchain network 102 is a private type or a federated type blockchain network, the request for the blockchain visual user interface may include user authorization information, which may be verified by computing device 104 before generating and sending the blockchain visual user interface to the requesting client device, and the corresponding blockchain visual user interface returned after the verification is passed.
The blockchain visualization user interface may be displayed on the client device (e.g., as may be displayed in user interface 116 shown in fig. 1). When the blockchain ledger is updated, the display content of the user interface 116 may be updated accordingly. Further, user interaction with user interface 116 may result in requests to other user interfaces, such as a search results page that displays a block list, block details, transaction list, transaction details, account list, account details, contract list, contract details, or results of a user conducting a search of the block chain network, and so forth.
Fig. 2 illustrates an example architectural diagram of a network 200 of warehouses and blockchain networks of embodiments of the present disclosure.
As shown in fig. 2, the repository 210 may include one or more internet of things devices 211, and multiple types of internet of things devices may be deployed in the repository 210, and there may be multiple internet of things devices of each type. The internet of things device 211 may include at least one of a camera device, a positioning tag, an electronic fence, a person identification device, and a forklift truck positioning device. The internet of things devices 211 deployed in the warehouse 210 may improve convenience and security of warehouse storage items, and the internet of things devices 211 are suitable for a warehouse credit rating, which can improve the credit rating of the warehouse. For example, the camera devices deployed in the warehouse can monitor the warehouse in real time, and the more camera devices deployed in the warehouse, the wider the coverage area and the higher the safety of the warehouse.
In one example, all internet of things devices 211 deployed in the warehouse 210 are adapted for a warehouse credit rating. In another example, a portion of the internet of things devices 211 deployed in the warehouse 210 are adapted for warehouse credit rating.
The warehouse credit rating device 220 may be a block chain node in the block chain network 214 or a component thereof, and may perform warehouse credit rating according to the internet of things device deployment information of the warehouse, and package rating results into blocks to be recorded on the block chain 216, so as to ensure that the obtained rating results are not tampered or deleted.
In one example, the warehouse credit rating device 220 may be communicatively connected with blockchain nodes in the blockchain network 214. After obtaining the rating result, the warehouse credit rating device 220 may send the rating result to the blockchain nodes, and then pack the rating result into blocks by the blockchain nodes and record the blocks on the blockchain 216.
In addition, the rating result obtaining device 230 and the rating result verifying device 240 may also be configured as a blockchain node in the blockchain network 214 or a component thereof, the rating result obtaining device 230 may query and obtain a rating result of the warehouse credit rating from the blockchain 216, and the rating result verifying device 240 may query a corresponding first hash value from the blockchain 216 and verify the rating result to be verified based on the first hash value.
Further, there may be blockchain nodes in the blockchain network 214 for implementing the functions of the warehouse credit rating means 220, the rating result obtaining means 230, and the rating result verifying means 240 described above.
Fig. 3 shows a flowchart of an example of a block chain-based warehouse credit rating method according to an embodiment of the present specification.
The warehouse credit rating method illustrated in fig. 3 may be applied in an inventory mortgage financing scenario in the supply chain finance domain. In addition, the warehouse credit rating method shown in fig. 3 may be performed by a warehouse credit rating apparatus, and this specification illustrates an example in which the warehouse credit rating apparatus is a block chain node in a block chain network.
As shown in fig. 3, at block 310, internet of things device deployment information for a warehouse is obtained.
In an embodiment of the present specification, the internet of things device deployment information of the warehouse may include deployment information of each internet of things device deployed in the warehouse. In one example, the obtained internet of things device deployment information may be for only internet of things devices suitable for a warehouse credit rating.
The deployment information of the internet of things devices may include at least one of information such as device number information, device identification information of each device, device location information, and device fault condition information. In one example, the internet of things devices in the warehouse correspond to deployment information, the deployment information corresponding to each internet of things device may include at least one of device identification information, device location information, device fault condition information, and the like for the device, and the obtained internet of things device deployment information includes deployment information corresponding to each internet of things device.
The device identification information of each device corresponds to the device one to one, and the device identification information may characterize the device type of the corresponding device. For example, the device identification of the image pickup device may indicate that the device is an image pickup device.
The device location information for each device may indicate the distribution of the device in the warehouse, and different deployment locations of the device in the warehouse may result in different levels of warehouse credit. For example, the deployment location of the camera devices in the warehouse may affect the coverage of the monitoring range, and the wider the camera devices are distributed, the greater the coverage of the monitoring range, and the higher the credit rating of the warehouse.
The fault condition information of each device may indicate whether the device is faulty or not, and a degree of the fault when the device is faulty. And if some fault degrees do not influence the normal work of the equipment, the influence of the fault degrees on the credit rating of the warehouse is small. For example, a fault condition of the image pickup apparatus is that normal shooting is possible but rotation is not possible, and such a fault may cause a shooting range of the image pickup apparatus to be small, thereby affecting a warehouse credit rating.
In one example, the internet of things device deployment information of the warehouse may be obtained in response to the following trigger conditions: the warehouse requests to perform warehouse credit rating, and the internet of things equipment deployed in the warehouse is updated or reaches a specified time point.
The warehouse request may be a warehouse credit rating request sent. After the warehouse credit rating device receives the warehouse credit rating request, the deployment information of the internet of things equipment of the warehouse can be acquired.
The updating of the internet of things devices deployed in the warehouse may include adding or subtracting the internet of things devices, resetting the currently deployed internet of things devices, deploying the internet of things devices in a newly-built warehouse, and the like. The operations to perform the warehouse credit rating may be triggered when there is at least one update to the internet of things devices deployed in the warehouse.
The specified point in time may be a fixed point in time, such as a 12-point-per-day trigger to perform a warehouse credit rating. The specified time point may also be a time point spaced apart by a specified time duration, such as triggering a warehouse credit rating every 6 hours.
In one example of an embodiment of the present specification, the repository may configure a server device that is communicatively connected to each internet of things device in the repository. Each internet of things device can send the collected information to the server device for storage, and the server device can also collect the state information of each internet of things device at a specified time point so as to monitor the working state of each internet of things device.
When the internet of things equipment deployment information of the warehouse needs to be acquired, the internet of things deployment information of the warehouse can be received from the server equipment of the warehouse. Specifically, the server device may collect current deployment information of each internet of things device, and send the collected deployment information of each internet of things device as internet of things deployment information of the warehouse together to the warehouse credit rating device for rating the credit of the warehouse.
In this example, the server device collects the deployment information of the internet of things devices for each internet of things device in a unified manner, and then sends the deployment information to the warehouse credit rating device in a unified manner, so that the warehouse credit rating device can receive all the deployment information of the internet of things devices in the warehouse at the same time, and all the deployment information of the internet of things devices in the warehouse is always the same, thereby avoiding losing part of the deployment information of the internet of things devices.
In another example of an embodiment of the present specification, each internet of things device in the warehouse is communicatively coupled to a warehouse credit rating apparatus. Each piece of internet of things equipment can send the deployment information to the warehouse credit rating device, and the warehouse credit rating device can collect the deployment information of each piece of internet of things equipment to serve as the internet of things equipment deployment information of the warehouse.
In this example, the warehouse credit rating device may verify whether each internet of things device is in a normal operating state through interaction with each internet of things device. Each piece of internet of things equipment can send deployment information to indicate that the piece of internet of things equipment is in a normal working state, the warehouse credit rating device can receive the deployment information sent by the piece of internet of things equipment to determine that the piece of internet of things equipment is in the working state, and if the warehouse credit rating device does not receive the deployment information of one or more pieces of internet of things equipment, the one or more pieces of internet of things equipment can be indicated to be not in the working state or to be in a fault.
In one example, deployment information sent by various internet of things devices may be received within a specified time period. An internet-of-things device that has not received within a specified time period may be considered to be malfunctioning or in an inoperative state. The specified time period may be a point of time specified or a point of time of the received first deployment information as a starting point. For example, if the specified time point is 12 points, and the specified time period is 5 minutes, the deployment information sent by each piece of internet-of-things equipment is received in a time period from 12 points to 12 points by 5 minutes, and if the deployment information of one piece of image pickup equipment is not received in the time period, the image pickup equipment may be considered to be in a non-operating state.
In the above example, the internet of things device deployment information is received from the server device or each internet of things device in response to the trigger condition, so that it can be ensured that the received internet of things device deployment information is the current deployment condition of the warehouse, and the obtained rating result is a rating result for the current deployment state of the warehouse, thereby ensuring the real-time performance of the rating result.
In one example of an embodiment of the present specification, the internet of things device deployment information of a warehouse within a specified time period may be obtained.
The specified time period may be a time period that has occurred in the past, and based on the deployment information of the internet of things devices in the specified time period, a credit rating result of the warehouse at any time in the past may be obtained. Therefore, the change of the credit rating of the warehouse can be traced conveniently, the warehouse can be transformed in a targeted mode according to the change of the credit rating of the warehouse, and the credit rating of the warehouse is improved.
In an example of the embodiment of the present specification, the internet of things device deployment information of the warehouse is packaged into blocks and recorded on the block chain, and the internet of things device deployment information of the warehouse may be acquired from the block chain.
At block 320, a blockchain intelligent contract is invoked to rate warehouse credit according to the internet of things device deployment information to obtain a rating result for the warehouse.
In an embodiment of the present specification, blockchain intelligent contracts are created based on warehouse credit rating rules that are agreed upon by multiple parties. The consensus parties of the warehouse credit rating rule can comprise a plurality of warehouse management parties, stock pledges and the like, the warehouse credit rating rule after multi-party consensus is more fair and objective, and the rating result obtained based on the warehouse credit rating rule is more objective.
For example, a multi-party consensus warehouse credit rating rule adopts a scoring system, the device type of each internet of things device corresponds to different scores, and the device location information, the device failure condition information and other deployment information of the device also correspond to different scores, so that the score of each internet of things device is formed by the scores corresponding to the device type, the device location information, the device failure condition information and other deployment information of the device. The warehouse credit rating device calculates a total score corresponding to the warehouse according to the Internet of things equipment deployment information of the warehouse, determines a score interval to which the total score belongs, and determines a credit rating corresponding to the warehouse according to a corresponding relation between the credit rating and the score interval, wherein the credit rating is a rating result of the warehouse.
FIG. 4 illustrates a flow diagram of one example of blockchain intelligent contract creation. The network shown in fig. 4 is an ethernet network, and the process of creating a block chain intelligent contract is described below by taking the ethernet network as an example.
As shown in fig. 4, a node a is a node that initiates a transaction, and initiates a transaction request for creating a blockchain intelligent contract in the ethernet network according to a specified format requirement, where the transaction request includes a sender address, a receiving address, an intelligent contract for compiling byte codes, a number of Gas used to complete the transaction, a unit price of Gas willing to be paid in the transaction, and a transaction identifier. Wherein the receiving address is 0.
After each node in the Etherhouse network synchronizes to the transaction, it checks if the transaction is valid, the format is correct, and the transaction signature is legal. If so, the maximum transaction cost possible is calculated, the sender address is determined, and the balance of the sender is checked on the local blockchain. If the balance is not sufficient to pay the maximum transaction fee, an error is returned.
For a satisfactory transaction request, node B places it in the transaction storage pool and forwards it to other nodes. The other nodes receiving the transaction request repeat the processing of the node B.
Then, each node in the Ethernet workshop competes for the accounting right, the node obtaining the accounting right packages the transaction into blocks, creates a contract account according to the transaction cost and the contract code provided by the sender, and deploys a contract in the account space. The address of the intelligent contract account is the address of the sender and the transaction random number as input, and the address of the block chain intelligent contract after the transaction confirmation is generated by an encryption algorithm and returned to the sender.
The node obtaining the accounting right sends the blocks of the transaction request including the intelligent contract of the block chain creation to the peer nodes and spreads all over the network. After the consensus node receives the block, the block is verified. If the block passes the verification, the node deletes the transaction request of the original node A for creating the intelligent contract from the respective memory pool, synchronizes the block chain, and deploys the block chain intelligent contract in the respective local block chain. In this way, the blockchain intelligence contracts are deployed successfully.
In one example, when a plurality of block chain intelligent contracts are locally stored, the block chain intelligent contracts needing to be called are determined based on the information attributes of the acquired Internet of things device deployment information, the information attributes can be used for representing the information profile of the Internet of things device deployment information, the determined block chain intelligent contracts are used for carrying out warehouse credit rating, and then the determined block chain intelligent contracts are called for carrying out warehouse credit rating.
In one example of an embodiment of the present specification, an internet of things device deployed in a warehouse has a blockchain unique identity. The Internet of things equipment and the unique identity of the block chain are in one-to-one correspondence.
When the internet of things device is deployed in the warehouse, the internet of things device can be registered on the blockchain, and the internet of things device can be endowed with a corresponding blockchain unique identity. In addition, each warehouse corresponds to a warehouse identifier, the unique identity identifier of each block chain corresponds to one warehouse identifier, and the internet of things equipment representing the unique identity identifier of the block chain is deployed in the warehouse of the warehouse identifier.
In an example, each piece of deployment information in the obtained deployment information of the internet of things device may correspond to a block chain unique identity, and is used to indicate that the deployment information is for the internet of things device corresponding to the block chain unique identity.
After the deployment information of the internet of things equipment is acquired, authenticity verification can be performed on the deployment information of the internet of things equipment based on the unique identity of the block chain. Specifically, the unique identity of each blockchain corresponding to the warehouse identity recorded in the blockchain may be matched with the identity corresponding to the deployment information of the internet of things device. If the corresponding identity identifiers in the deployment information of the internet of things equipment can be matched, the acquired deployment information of the internet of things equipment can be verified to be real.
After the internet of things equipment deployment information is verified to be authentic, a block chain intelligent contract can be called to carry out warehouse credit rating according to the internet of things equipment deployment information subjected to authenticity verification so as to obtain a rating result for a warehouse.
In the above example, the deployment information of the internet of things device is verified by using the unique identity of the block chain, so as to ensure that the deployment information of the internet of things device is from the corresponding internet of things device, thereby ensuring the authenticity of the deployment information of the internet of things device.
In one example, the public key of each internet of things device is stored in the blockchain, and the public key of each internet of things device may be stored in the blockchain according to a correspondence between the public key of each internet of things device and the unique identity of the blockchain.
Each piece of internet of things equipment in the warehouse can sign deployment information of the equipment by using a private key, the deployment information of the internet of things equipment acquired from the warehouse is signed information, and the signatures of the deployment information of different pieces of internet of things equipment are different.
After the deployment information of the internet of things equipment is acquired, the unique block chain identity corresponding to each deployment information in the deployment information of the internet of things equipment is determined, the public key corresponding to the unique block chain identity is inquired from the block chain, and the signed deployment information is verified by using the inquired public key. And verifying that the equipment of the internet of things corresponding to the deployment information is real.
At block 330, the rating results are packaged into tiles.
The rating result needs to be hashed before being stored in the chunk. The hash process is a process of converting a rating result (provided as character string data) into a hash value of a fixed length (also provided as character string data). After the rating result is subjected to the hash processing, even if the rating result is slightly changed, a completely different hash value is obtained. The hash value is typically generated by hashing the rating result using a hash function. Examples of hash functions include, but are not limited to, Secure Hash Algorithm (SHA) -256, which outputs a 256-bit hash value.
The ratings results may be partitioned into multiple ratings result fragments that are hashed and stored in a chunk. For example, two of the rating result segments are hashed to obtain two hash values, and then the two obtained hash values are hashed again to obtain another hash value. This process is repeated until a single hash value is obtained for all rating results to be stored in the tile. This hash value is called a Merkle root hash and is stored at the head of the chunk. Any modification of a segment of the rating result will cause its hash value to change, eventually causing the Merkle root hash value to change.
In one example, a chunk may include repository identification information for a repository and a corresponding first hash value. In another example, a chunk may include warehouse identification information of a warehouse, a rating result, and a corresponding first hash value. Further, in one example, the corresponding first hash value may be calculated by hashing the rating result. In another example, the corresponding first hash value may be computed by hashing the rating result and repository identification information.
In the above example, the warehouse identification information may serve as a query index, which facilitates a third party to query the corresponding first hash value on the block chain through the warehouse identification information, or also query the corresponding rating result of the warehouse. Based on the non-tamper-able nature of the blockchain, a first hash value stored on the blockchain may be considered trustworthy, based on which the first hash value may be used to verify that a rating obtained from a third party is authentic.
In one example, a chunk may include warehouse identification information for a warehouse, internet of things device deployment information for a warehouse, and a corresponding first hash value. In another example, the chunk may include warehouse identification information of the warehouse, the rating result, internet of things device deployment information of the warehouse, and a corresponding first hash value. Further, in one example, the corresponding first hash value may be obtained by hashing the rating result and the internet of things device deployment information of the warehouse. In another example, the corresponding first hash value may be obtained by hashing the rating result, the repository identification information, and the internet of things device deployment information of the repository.
In the above example, the internet of things device deployment information included in the block is a rating basis of the rating result, and the internet of things device deployment information is presented to the rating result acquirer together with the rating result as the rating basis, so that the credibility and authenticity of the rating result are improved. And the rating result acquirer serving as a third party can further verify the rating result by using the Internet of things equipment deployment information.
After packaging the rating results into tiles, at block 340, the tiles are recorded on a blockchain.
In one example, a block is broadcasted to a consensus node in a blockchain network for consensus processing; and recording the block on the block chain after the consensus node achieves the consensus.
Fig. 5 is a schematic diagram illustrating an example of a consensus process of an embodiment of the present specification. In this specification, the first hash value and the rating result may be considered as transaction data in the blockchain. In the example of fig. 5, the blockchain node at which the warehouse credit rating device is located serves as the master node (i.e., accounting node, hereinafter referred to as master node R) of the blockchain network0)。
Master node R0Broadcasting the packed blocks to all consensus nodes in the block chain network for consensusE.g. master node R0Broadcasting the packed blocks to a backup node R1、R2And R3And (5) performing consensus processing. Note that the consensus process is shown to include 4 network nodes R0,R1,R2And R3The consensus process may also include any suitable number of network nodes for illustrative purposes only.
In the embodiments of the present specification, the consensus process may be implemented using PoW (workload certification algorithm), PoS (equity certification algorithm), PBFT (practical byzantine fault-tolerant algorithm), and the like. The following description will be made by taking the PBFT consensus process as an example.
As shown in fig. 5, the procedure of the PBFT consensus process includes: a Pre-preparation phase (Pre-preparation) 510, a preparation phase (preparation) 520, and a validation phase (Commit) 530.
Specifically, at 510, master node R0Packetizing vehicle data segments to be recorded into a blockchain into a message m, then generating a Pre-prepare message Pre-prepare, and sending (e.g., broadcasting) the Pre-prepare message Pre-prepare to the backup node R within a given time interval1、R2And R3. The Pre-prepare message Pre-prepare indicates the master node R0A consensus process is being initiated.
In an embodiment of the present specification, as shown in fig. 6, the format of the Pre-preparation message Pre-preparation may be:<<PRE-PREPARE,epoch,seq,D(m),signature-p>,m,j>. Here, "PRE-PREPARE" indicates the protocol identification of the Preprepare message and "epoch" indicates R0The era of the master node, "seq" represents the proposal number of the proposal that needs to be consensus (i.e., adding the block to the blockchain 216), "D (m)" represents the digest of the request message set, "signature-p" represents R0"m" denotes the specific content of the request message (i.e., the specific content of each piece of authentication information in the block), and "j" denotes R0The node identification of (2). Here, d (m) is obtained by performing a hash calculation on each authentication information set in the block.
In a preparation phase 520, for eachBackup node (R)1、R2Or R3) After receiving the Pre-preparation message Pre-preparation and detecting that the Pre-preparation message Pre-preparation is legitimate, the Pre-preparation message Pre-preparation may be stored in a local log, and a preparation message preparation for responding to the Pre-preparation message Pre-preparation may be generated and then broadcast to other nodes. The Prepare message Prepare indicates that the backup node has received the Pre-Prepare message Pre-Prepare from the primary node and is sending a reply in response to the Pre-Prepare message Pre-Prepare.
Accordingly, each backup node will also receive the prepare message Pre-prepare sent by the other backup nodes. With a backup node R1For example, backup node R1Receiving a master node R0After the Pre-Prepare message Pre-Prepare is transmitted, the generated Pre-Prepare message is broadcast to the master node R0Backup node R2And R3. Accordingly, the backup node R1Will also receive the master node R0Backup node R2And R3The transmitted preparation message Prepare.
In this description, the Prepare message Prepare broadcast by the backup node may be used to indicate the consensus commitment made by the backup node during the Prepare phase 520.
In this specification, as shown in fig. 6, the format of the preparation message Prepare may be: < PREPARE, epoch, seq, D (m), i, signature-i >. Here, "PREPARE" denotes a protocol identification of the preparation message PREPARE, "i" denotes a node identification of the node that transmitted the preparation message PREPARE, and "signature-i" denotes a signature of the node that transmitted the preparation message PREPARE. The meaning of "epoch", "seq", and "d (m)" in the preparation message Prepare is the same as that of "epoch", "seq", and "d (m)" in the above-described preparation message Pre-Prepare.
In the acknowledgement phase 530, when the network node receives a sufficient number of preparation messages Prepare from other network nodes, the network node determines that consensus has been reached. For example, if the primary node R0 or backup nodes R1, R2, or R3 receive qurum (e.g., 2f + 1, where f represents the number of failed network nodes) Prepare messages Prepare, it is determined that consensus is achieved between the network nodes. The master node R0 or the backup node R1, R2 or R3 then broadcasts an acknowledgement message Commit to the other nodes.
In this specification, as shown in fig. 6, the format of the acknowledgment message Commit may be: < COMMIT, epoch, seq, D (m), p, signature-p >. Wherein "COMMIT" represents a protocol identification of the acknowledgment message COMMIT, "p" represents a node identification of a node that transmits the acknowledgment message COMMIT, and "signature-p" represents a signature of the node that transmits the acknowledgment message COMMIT. The meaning of "epoch", "seq" and "d (m)" in the acknowledgment message Commit is the same as that of "epoch", "seq" and "d (m)" in the aforementioned Pre-preparation message Pre-preparation.
In this description, a node sends a confirmation message Commit and stores the confirmation message Commit in a local log to represent consensus commitments made by the node during the confirmation phase 530.
Returning to FIG. 3, after reaching consensus for the initiated proposal as above, the master node records the blockchain 216 at 340, thereby completing the recording of the rating results into blockchain 216.
In addition, before the rating result is packaged into a block, the warehouse credit rating device can also encrypt the rating result, so that the information leakage caused by the fact that the rating result is known by other common knowledge nodes is avoided. Accordingly, in this case, the encrypted rating result is used to calculate a hash value of the rating result, and stored in the tile is also the encrypted rating result. Further, it is noted that the encryption for the rating result may include encrypting all information of the rating result or encrypting part of information of the rating result.
Examples of encryption methods for rating results include, but are not limited to, symmetric encryption, asymmetric encryption, homomorphic encryption, and the like. Symmetric encryption may use a single key to encrypt (generate ciphertext from plaintext) and decrypt (generate plaintext from ciphertext) the rating. In symmetric encryption, multiple nodes may have the same key, and thus each node may encrypt/decrypt the rating result.
Asymmetric encryption may use a key pair to encrypt the rating results. Specifically, the warehouse credit rating device may encrypt the rating result using a public key of a public/private key pair at the rating result application side, then digitally sign the encrypted rating result using a private key of the public/private key pair at the warehouse credit rating device, send the digitally signed encrypted data to a consensus node in the block chain, decrypt and verify the encrypted data using the public key of the public/private key pair of the warehouse credit rating device by the consensus node, and record the decrypted data on the block chain after the consensus node achieves consensus. In this case, after obtaining the encrypted rating result from the blockchain, the rating result application side may decrypt the rating result with its own private key, thereby obtaining plaintext data of the rating result.
As described herein, the blockchain network 214 is provided in the form of a peer-to-peer network that includes a plurality of blockchain nodes that are each used to persist a blockchain 216 (also referred to as a blockchain ledger 216) formed by blockchain data. Only one blockchain 216 is shown in fig. 2, but there may be multiple blockchains 216 or copies thereof in the blockchain network, e.g., one blockchain 216 or copy thereof may be maintained for each blockchain link point.
It is further noted that the embodiment described in fig. 3 is implemented in a block chain recording manner based on the consensus protocol. In other embodiments of the present specification, the block chain record may be implemented without the need of consensus processing, for example, a trusted account book without the need of consensus processing.
A block chain-based warehouse credit rating method according to an embodiment of the present specification is described above with reference to fig. 2 to 6. By using the method for grading the credit of the warehouse, the intelligent block chain contract used for grading the credit of the warehouse is created based on the credit rating rule of the warehouse which is known by multiple parties, the credit rating rule of the warehouse is ensured to be fair through the multiple parties, and the credit rating rule of the warehouse cannot be falsified due to the intelligent contract, so that the credit rating of the warehouse is ensured to be true. The credit rating of the warehouse is based on the internet of things equipment deployment information of the warehouse, so that the influence of human factors is avoided, and the objective fairness of the credit rating of the warehouse is ensured. After the rating result is obtained, the rating result is packaged into blocks and recorded on the blockchain, so that the rating result is ensured not to be tampered, the rating result obtained from the blockchain is credible, and/or a first hash value corresponding to the rating result can be used for verifying the rating result provided by a third party.
Fig. 7 is a flowchart showing an example of a rating result obtaining method according to an embodiment of the present specification. The rating result obtaining method shown in fig. 7 may be performed by the rating result obtaining apparatus, and may also be performed by a block link point for implementing the warehouse credit rating method and implementing the rating result obtaining method. The following description will be made by taking a rating result acquisition device as an example.
In the example shown in fig. 7, the blockchain records blocks packed based on the rating results, each block may include warehouse identification information, a rating result and a corresponding first hash value, and the rating result is obtained by invoking a blockchain intelligent contract to perform warehouse credit rating according to the internet of things device deployment information of the warehouse.
As shown in FIG. 7, at 710, the rating result obtaining device may receive a rating result obtaining request from a rating result query requestor.
In this example, the rating result query requestor may be a client of a blockchain network, communicatively coupled to the rating result obtaining device. The rating result obtaining request includes repository identification information.
At 720, the block chain is queried for a rating result corresponding to the repository identification information.
At 730, the queried rating result is sent to the rating result query requestor.
In another example, each block may further include internet of things device deployment information of the warehouse, so that the internet of things device deployment information corresponding to the warehouse identification information may be queried on the block chain, where the internet of things device deployment information is a rating basis of the queried rating result. The queried deployment information of the internet of things device and the rating result can be sent to the rating result query requester together. The rating result query requester can further verify the rating result based on the received deployment information of the internet of things equipment, so that the credibility and the authenticity of the rating result are improved.
Fig. 8 is a flowchart showing an example of a rating result verification method of the embodiment of the present specification. The rating result verification method illustrated in fig. 8 may be performed by the rating result verification apparatus, and may also be performed by a block link point for implementing the warehouse credit rating method and implementing the rating result verification method. The following description will be made by taking a rating result verification device as an example.
In the example shown in fig. 8, the blockchain records blocks packed based on the rating result, each block including warehouse identification information and a corresponding first hash value, and the rating result is obtained by calling a blockchain intelligent contract to perform warehouse credit rating according to the internet of things device deployment information of the warehouse.
As shown in FIG. 8, at 810, the rating result verification apparatus may receive a rating result verification request from a rating result verification requester.
In this example, the rating result verification requestor may be a client of a blockchain network, communicatively connected to the rating result verification device. The rating result verification request comprises a rating result to be verified and warehouse identification information.
At 820, performing hash calculation on the rating result to be verified to obtain a second hash value of the rating result to be verified; and inquiring a first hash value corresponding to the warehouse identification information on the block chain, and comparing the second hash value with the inquired first hash value.
At 830, based on the comparison result between the second hash value and the queried first hash value, notification information indicating whether the rating result to be verified is authentic is sent to the rating result verification requester.
In another example, if the corresponding first hash value is obtained by performing a hash calculation on the rating result and the repository identification information, the rating result to be verified and the repository identification information are subjected to a hash calculation to obtain a second hash value, and then the operations of the block 830 are performed.
In another example, the corresponding first hash value may be obtained by performing hash calculation on the rating result and the internet of things device deployment information of the warehouse, then the internet of things device deployment information corresponding to the rating result to be verified is obtained, hash calculation is performed on the rating result to be verified and the obtained internet of things device deployment information to obtain a second hash value, and then the operation of the block 830 is performed.
The corresponding first hash value may be obtained by performing hash calculation on the rating result, the warehouse identification information, and the internet of things device deployment information of the warehouse, obtaining the internet of things device deployment information corresponding to the rating result to be verified, performing hash calculation on the rating result to be verified, the obtained internet of things device deployment information, and the warehouse identification information to obtain a second hash value, and then performing the operation of the block 830.
In the warehouse credit rating result verification scheme shown in fig. 8, the rating result is stored in the third-party rating result data storage side, and at the time of rating result verification, rating result data may be acquired from the third-party rating result data storage side, and whether the acquired rating result data is authentic or not may be verified using the hash value recorded on the blockchain, thereby effectively preventing the rating result data from being falsified, and since the rating result data is not stored on the blockchain, a storage space of the blockchain may be saved.
Fig. 9 illustrates a block diagram of an example of a block chain-based warehouse credit rating apparatus 900 according to an embodiment of the present specification. As shown in fig. 9, the warehouse credit rating apparatus 900 may include an information acquisition unit 910, a credit rating unit 920, a tile generation unit 930, and a tile recording unit 940.
The information obtaining unit 910 is configured to obtain the internet of things device deployment information of the warehouse. In one example, the information obtaining unit 910 is configured to receive internet of things device deployment information of a warehouse from a server device of the warehouse; or receiving the internet of things equipment deployment information of the warehouse from each internet of things equipment of the warehouse. In one example, the information obtaining unit 910 is configured to obtain the internet of things device deployment information of the warehouse within a specified time period.
The credit rating unit 920 is configured to invoke a blockchain intelligent contract to rate the warehouse credit according to the internet of things device deployment information to obtain a rating result for the warehouse, wherein the invoked blockchain intelligent contract is created based on the multi-party consensus warehouse credit rating rule.
The chunk generating unit 930 is configured to pack the rating result into a chunk including the repository identification information of the repository and the corresponding first hash value.
The tile recording unit 940 is configured to record the tiles on the tile chain. In one example, the tile recording unit 940 may include a consensus processing module and a tile recording module. The consensus processing module is configured to broadcast the block to a consensus node in the block chain network for consensus processing; the block recording module is configured to record the block on the blockchain after the consensus node achieves consensus.
In one example, the internet of things device of the warehouse has a blockchain unique identity, and the warehouse credit rating apparatus 900 may further include an authenticity verification unit configured to authenticate the internet of things device deployment information based on the blockchain unique identity. In this example, the credit rating unit 920 is configured to invoke a blockchain intelligent contract to perform warehouse credit rating according to the verified internet of things device deployment information to obtain a rating result for the warehouse.
In one example, the block may further include a rating result, and the warehouse credit rating apparatus 900 may further include a rating result request receiving unit, a rating result inquiring unit, and a rating result transmitting unit.
The rating result request receiving unit is configured to receive a rating result acquisition request from a rating result query requester, the rating result acquisition request including warehouse identification information. And the rating result query unit is configured to query the rating result corresponding to the warehouse identification information on the block chain. The rating result sending unit is configured to send the queried rating result to the rating result query requester.
In one example, the warehouse credit rating apparatus 900 may further include a verification request receiving unit, a hash value processing unit, and a notification unit.
The verification request receiving unit is configured to receive a rating result verification request including a rating result to be verified and repository identification information from a rating result verification requester. The hash value processing unit is configured to perform hash calculation on the rating result to be verified to obtain a second hash value of the rating result to be verified, query the first hash value corresponding to the warehouse identification information on the block chain, and compare the second hash value with the queried first hash value. The notification unit is configured to send notification information indicating whether the rating result to be verified is authentic to the rating result verification requester based on a comparison result between the second hash value and the queried first hash value.
Fig. 10 is a block diagram showing an example of the block chain-based rating result obtaining apparatus 1000 according to the embodiment of the present specification. In the example shown in fig. 10, the blockchain records blocks packed based on the rating results, each block including warehouse identification information, a rating result and a corresponding first hash value, and the rating result is obtained by calling a blockchain intelligent contract to perform warehouse credit rating according to the internet of things device deployment information of the warehouse.
As shown in fig. 10, the rating result obtaining apparatus 1000 may include a rating result request receiving unit 1010, a rating result querying unit 1020, and a rating result transmitting unit 1030.
The rating result request receiving unit 1010 is configured to receive a rating result acquisition request including warehouse identification information from a rating result query requester.
The rating result query unit 1020 is configured to query the block chain for the rating result corresponding to the warehouse identification information.
The rating result transmitting unit 1030 is configured to transmit the queried rating result to the rating result query requester.
Fig. 11 is a block diagram showing an example of a block chain-based rating result verification apparatus 1100 according to an embodiment of the present specification. In the example shown in fig. 11, the blockchain records blocks packed based on rating results, each block including warehouse identification information and a corresponding first hash value, and the rating results are obtained by calling blockchain intelligent contracts to perform warehouse credit rating according to internet of things device deployment information of a warehouse.
As shown in fig. 11, the rating result verification apparatus 1100 may include a verification request receiving unit 1110, a hash value processing unit 1120, and a notification unit 1130.
The verification request receiving unit 1110 is configured to receive a rating result verification request including a rating result to be verified and warehouse identification information from a rating result verification requester.
The hash value processing unit 1120 is configured to perform a hash calculation on the rating result to be verified to obtain a second hash value of the rating result to be verified, query the first hash value corresponding to the warehouse identification information on the blockchain, and compare the second hash value with the queried first hash value.
The notification unit 1130 is configured to send notification information indicating whether the rating result to be verified is authentic to the rating result verification requester based on a comparison result between the second hash value and the queried first hash value.
Embodiments of block chain based warehouse credit rating, result acquisition, and verification methods and apparatuses according to embodiments of the present disclosure are described above with reference to fig. 1 to 11.
The block chain-based warehouse credit rating, result acquisition and verification device in the embodiments of the present specification may be implemented by hardware, or may be implemented by software, or a combination of hardware and software. The software implementation is taken as an example, and is formed by reading corresponding computer program instructions in the storage into the memory for operation through the processor of the device where the software implementation is located as a logical means. In the embodiment of the present specification, the warehouse credit rating, result acquisition and verification device based on the block chain can be realized by using an electronic device, for example.
Fig. 12 illustrates a block diagram of an electronic device 1200 for implementing a blockchain-based warehouse credit rating method of embodiments of the present specification.
As shown in fig. 12, the electronic device 1200 may include at least one processor 1210, a memory (e.g., non-volatile storage) 1220, a memory 1230, and a communication interface 1240, and the at least one processor 1210, the memory 1220, the memory 1230, and the communication interface 1240 are connected together via a bus 1250. The at least one processor 1210 executes at least one computer-readable instruction (i.e., the elements described above as being implemented in software) stored or encoded in memory.
In one embodiment, computer-executable instructions are stored in the memory that, when executed, cause the at least one processor 1210 to: acquiring the deployment information of the Internet of things equipment in the warehouse; calling a block chain intelligent contract to perform warehouse credit rating according to the Internet of things equipment deployment information so as to obtain a rating result aiming at a warehouse, wherein the block chain intelligent contract is created on the basis of a multi-party consensus warehouse credit rating rule; packing the rating result into a block, wherein the block comprises warehouse identification information of a warehouse and a corresponding first hash value; and recording the block on the block chain.
It should be appreciated that the computer-executable instructions stored in the memory, when executed, cause the at least one processor 1210 to perform the various operations and functions described above in connection with fig. 1-11 in the various embodiments of the present description.
According to one embodiment, a program product, such as a machine-readable medium, is provided. A machine-readable medium may have instructions (i.e., elements described above as being implemented in software) that, when executed by a machine, cause the machine to perform various operations and functions described above in connection with fig. 1-11 in the various embodiments of the present specification.
Specifically, a system or apparatus may be provided which is provided with a readable storage medium on which software program code implementing the functions of any of the above embodiments is stored, and causes a computer or processor of the system or apparatus to read out and execute instructions stored in the readable storage medium.
Fig. 13 illustrates a block diagram of an electronic device 1300 for implementing a block chain-based warehouse credit rating result acquisition method according to an embodiment of the present specification.
As shown in fig. 13, electronic device 1300 may include at least one processor 1310, storage (e.g., non-volatile storage) 1320, memory 1330, and communication interface 1340, and the at least one processor 1310, storage 1320, memory 1330, and communication interface 1340 are connected together via a bus 1350. The at least one processor 1310 executes at least one computer-readable instruction (i.e., the elements described above as being implemented in software) stored or encoded in memory.
In one embodiment, computer-executable instructions are stored in the memory that, when executed, cause the at least one processor 1310 to: receiving a rating result acquisition request from a rating result query requester, the rating result acquisition request including warehouse identification information; inquiring a rating result corresponding to the warehouse identification information on the block chain; and sending the inquired rating result to a rating result inquiry requester, wherein the block chain records blocks packed based on the rating result, each block comprises warehouse identification information, the rating result and a corresponding first hash value, and the rating result is obtained by calling a block chain intelligent contract to perform warehouse credit rating according to the internet of things equipment deployment information of the warehouse.
It should be appreciated that the computer-executable instructions stored in the memory, when executed, cause the at least one processor 1310 to perform the various operations and functions described above in connection with fig. 1-11 in the various embodiments of the present description.
According to one embodiment, a program product, such as a machine-readable medium, is provided. A machine-readable medium may have instructions (i.e., elements described above as being implemented in software) that, when executed by a machine, cause the machine to perform various operations and functions described above in connection with fig. 1-11 in the various embodiments of the present specification.
Specifically, a system or apparatus may be provided which is provided with a readable storage medium on which software program code implementing the functions of any of the above embodiments is stored, and causes a computer or processor of the system or apparatus to read out and execute instructions stored in the readable storage medium.
Fig. 14 illustrates a block diagram of an electronic device 1400 for implementing a block chain-based warehouse credit rating result validation method, in accordance with an embodiment of the present specification.
As shown in fig. 14, electronic device 1400 may include at least one processor 1410, storage (e.g., non-volatile storage) 1420, memory 1430, and communication interface 1440, and the at least one processor 1410, storage 1420, memory 1430, and communication interface 1440 are connected together via a bus 1450. The at least one processor 1410 executes at least one computer-readable instruction (i.e., the elements described above as being implemented in software) stored or encoded in memory.
In one embodiment, computer-executable instructions are stored in the memory that, when executed, cause the at least one processor 1410 to: receiving a rating result verification request from a rating result verification requesting party, wherein the rating result verification request comprises a rating result to be verified and warehouse identification information; performing hash calculation on the rating result to be verified to obtain a second hash value of the rating result to be verified; inquiring a first hash value corresponding to the warehouse identification information on the block chain; comparing the second hash value with the queried first hash value; and sending notification information for indicating whether the rating result to be verified is real or not to a rating result verification requester based on a comparison result between the second hash value and the inquired first hash value, wherein a block chain records blocks packed based on the rating result, each block comprises warehouse identification information and a corresponding first hash value, and the rating result is obtained by calling a block chain intelligent contract to perform warehouse credit rating according to the internet of things equipment deployment information of the warehouse.
It should be appreciated that the computer-executable instructions stored in the memory, when executed, cause the at least one processor 1410 to perform the various operations and functions described above in connection with fig. 1-11 in the various embodiments of the present specification.
According to one embodiment, a program product, such as a machine-readable medium, is provided. A machine-readable medium may have instructions (i.e., elements described above as being implemented in software) that, when executed by a machine, cause the machine to perform various operations and functions described above in connection with fig. 1-11 in the various embodiments of the present specification.
Specifically, a system or apparatus may be provided which is provided with a readable storage medium on which software program code implementing the functions of any of the above embodiments is stored, and causes a computer or processor of the system or apparatus to read out and execute instructions stored in the readable storage medium.
In this case, the program code itself read from the readable medium can realize the functions of any of the above-described embodiments, and thus the machine-readable code and the readable storage medium storing the machine-readable code constitute a part of the embodiments of the present specification.
Computer program code required for the operation of various portions of the present specification may be written in any one or more programming languages, including an object oriented programming language such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C + +, C #, VB, NET, Python, and the like, a conventional programming language such as C, Visual Basic 2003, Perl, COBOL 2002, PHP, and ABAP, a dynamic programming language such as Python, Ruby, and Groovy, or other programming languages. The program code may execute on the user's computer, or on the user's computer as a stand-alone software package, or partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any network format, such as a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet), or in a cloud computing environment, or as a service, such as a software as a service (SaaS).
Examples of the readable storage medium include floppy disks, hard disks, magneto-optical disks, optical disks (e.g., CD-ROMs, CD-R, CD-RWs, DVD-ROMs, DVD-RAMs, DVD-RWs), magnetic tapes, nonvolatile memory cards, and ROMs. Alternatively, the program code may be downloaded from a server computer or from the cloud via a communications network.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Not all steps and elements in the above flows and system structure diagrams are necessary, and some steps or elements may be omitted according to actual needs. The execution order of the steps is not fixed, and can be determined as required. The apparatus structures described in the above embodiments may be physical structures or logical structures, that is, some units may be implemented by the same physical entity, or some units may be implemented by a plurality of physical entities, or some units may be implemented by some components in a plurality of independent devices.
The term "exemplary" used throughout this specification means "serving as an example, instance, or illustration," and does not mean "preferred" or "advantageous" over other embodiments. The detailed description includes specific details for the purpose of providing an understanding of the described technology. However, the techniques may be practiced without these specific details. In some instances, well-known structures and devices are shown in block diagram form in order to avoid obscuring the concepts of the described embodiments.
Although the embodiments of the present disclosure have been described in detail with reference to the accompanying drawings, the embodiments of the present disclosure are not limited to the specific details of the embodiments, and various simple modifications may be made to the technical solutions of the embodiments of the present disclosure within the technical spirit of the embodiments of the present disclosure, and all of them fall within the scope of the embodiments of the present disclosure.
The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other variations without departing from the scope of the disclosure. Thus, the description is not intended to be limited to the examples and designs described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (26)

1. A blockchain-based warehouse credit rating method, comprising:
the method comprises the steps of obtaining Internet of things equipment deployment information of a warehouse, wherein the Internet of things equipment represented by the Internet of things equipment deployment information is suitable for credit rating of the warehouse, the Internet of things equipment deployment information influences the credit rating of the warehouse, and the Internet of things equipment deployment information comprises at least one of equipment quantity information, equipment position information of each equipment and equipment fault condition information of each equipment;
invoking a blockchain intelligent contract to perform warehouse credit rating according to the internet of things device deployment information to obtain a rating result for the warehouse, the blockchain intelligent contract being created based on warehouse credit rating rules that are commonly recognized by a plurality of warehouse managers and stock pledges;
packing the rating result into a block, wherein the block comprises warehouse identification information of the warehouse and a corresponding first hash value; and
the block is recorded on a block chain.
2. The warehouse credit rating method of claim 1, wherein recording the tiles on a chain of tiles comprises:
broadcasting the block to a consensus node in a block chain network for consensus processing; and
after the consensus node achieves consensus, the block is recorded on a block chain.
3. The warehouse credit rating method of claim 1, wherein the block comprises internet of things device deployment information for the warehouse.
4. The warehouse credit rating method of claim 1, wherein the internet of things device of the warehouse has a blockchain unique identity.
5. The warehouse credit rating method of claim 4, further comprising:
verifying authenticity of the deployment information of the Internet of things equipment based on the unique identity of the block chain;
invoking a blockchain intelligent contract to perform warehouse credit rating according to the internet of things device information to obtain a rating result for the warehouse comprises:
and calling a block chain intelligent contract to perform warehouse credit rating according to the Internet of things equipment deployment information subjected to authenticity verification so as to obtain a rating result aiming at the warehouse.
6. The warehouse credit rating method of claim 1, wherein obtaining internet of things device deployment information for a warehouse comprises:
receiving Internet of things equipment deployment information of the warehouse from server equipment of the warehouse; or
Receiving Internet of things equipment deployment information of the warehouse from each Internet of things equipment of the warehouse.
7. The warehouse credit rating method of claim 1, wherein obtaining internet of things device deployment information for a warehouse comprises:
and acquiring the equipment deployment information of the Internet of things of the warehouse in a specified time period.
8. The warehouse credit rating method of claim 1, wherein the internet of things device deployment information for the warehouse is obtained in response to the following trigger conditions:
the warehouse requesting a warehouse credit rating;
updating the internet of things equipment deployed in the warehouse; or
A specified point in time is reached.
9. The warehouse credit rating method of claim 1, wherein the internet of things device deployment information further comprises: device identification information of each device.
10. The warehouse credit rating method of claim 1, wherein the block further comprises a rating result,
the warehouse credit rating method further comprises:
receiving a rating result acquisition request from a rating result query requester, wherein the rating result acquisition request comprises warehouse identification information;
inquiring a rating result corresponding to the warehouse identification information on the block chain; and
and sending the inquired rating result to the rating result inquiry requester.
11. The warehouse credit rating method of claim 1, further comprising:
receiving a rating result verification request from a rating result verification requesting party, wherein the rating result verification request comprises a rating result to be verified and warehouse identification information;
performing hash calculation on the rating result to be verified to obtain a second hash value of the rating result to be verified;
inquiring a first hash value corresponding to the warehouse identification information on the block chain;
comparing the second hash value with the queried first hash value; and
and sending notification information for indicating whether the rating result to be verified is authentic to the rating result verification requester based on a comparison result between the second hash value and the inquired first hash value.
12. A block chain-based warehouse credit rating result acquisition method comprises the following steps:
receiving a rating result acquisition request from a rating result query requester, wherein the rating result acquisition request comprises warehouse identification information;
inquiring a rating result corresponding to the warehouse identification information on the block chain; and
sending the queried rating result to the rating result query requester,
the block chain records blocks packed based on rating results, each block comprises warehouse identification information, rating results and a corresponding first hash value, the rating results are obtained by calling a block chain intelligent contract to carry out warehouse credit rating according to internet of things device deployment information of a warehouse, the internet of things devices represented by the internet of things device deployment information are suitable for the warehouse credit rating, the internet of things device deployment information influences credit levels of the warehouse, the internet of things device deployment information comprises at least one of device quantity information, device position information of each device and device fault condition information of each device, and the block chain intelligent contract is created based on credit rating rules commonly recognized by a plurality of warehouse managers and stock quality depositors.
13. A block chain-based warehouse credit rating result verification method comprises the following steps:
receiving a rating result verification request from a rating result verification requesting party, wherein the rating result verification request comprises a rating result to be verified and warehouse identification information;
performing hash calculation on the rating result to be verified to obtain a second hash value of the rating result to be verified;
inquiring a first hash value corresponding to the warehouse identification information on the block chain;
comparing the second hash value with the queried first hash value; and
sending notification information indicating whether the rating result to be verified is authentic to the rating result verification requester based on a result of comparison between the second hash value and the queried first hash value,
the block chain records blocks packed based on rating results, each block comprises warehouse identification information and a corresponding first hash value, the rating results are obtained by calling a block chain intelligent contract to carry out warehouse credit rating according to internet of things device deployment information of a warehouse, the internet of things devices represented by the internet of things device deployment information are suitable for the warehouse credit rating, the internet of things device deployment information influences credit levels of the warehouse, the internet of things device deployment information comprises at least one of device quantity information, device position information of each device and device fault condition information of each device, and the block chain intelligent contract is created based on warehouse credit rating rules commonly recognized by a plurality of warehouse managers and stock quality depositors.
14. A blockchain-based warehouse credit rating apparatus, comprising:
the information acquisition unit is used for acquiring Internet of things equipment deployment information of a warehouse, the Internet of things equipment represented by the Internet of things equipment deployment information is suitable for credit rating of the warehouse, the Internet of things equipment deployment information influences the credit rating of the warehouse, and the Internet of things equipment deployment information comprises at least one of equipment quantity information, equipment position information of each equipment and equipment fault condition information of each equipment;
a credit rating unit for invoking a blockchain intelligent contract to perform warehouse credit rating according to the internet of things device deployment information to obtain a rating result for the warehouse, wherein the blockchain intelligent contract is created based on a warehouse credit rating rule commonly recognized by a plurality of warehouse managers and stock pledges;
a block generating unit, configured to pack the rating result into a block, where the block includes warehouse identification information of the warehouse and a corresponding first hash value; and
and the block recording unit is used for recording the blocks on the block chain.
15. The warehouse credit rating device of claim 14, wherein the block-logging unit comprises:
the consensus processing module broadcasts the blocks to consensus nodes in a block chain network to perform consensus processing; and
and the block recording module records the block on the block chain after the consensus node achieves consensus.
16. The warehouse credit rating device of claim 14, wherein the Internet of things device of the warehouse has a blockchain unique identity,
the warehouse credit rating apparatus further comprises:
the authenticity verification unit is used for verifying the authenticity of the deployment information of the Internet of things equipment based on the unique identity of the block chain;
the credit rating unit calls a block chain intelligent contract to perform warehouse credit rating according to the verified Internet of things equipment deployment information so as to obtain a rating result aiming at the warehouse.
17. The warehouse credit rating device of claim 14, wherein the information acquisition unit:
receiving Internet of things equipment deployment information of the warehouse from server equipment of the warehouse; or
Receiving Internet of things equipment deployment information of the warehouse from each Internet of things equipment of the warehouse.
18. The warehouse credit rating device of claim 14, wherein the information acquisition unit:
and acquiring the equipment deployment information of the Internet of things of the warehouse in a specified time period.
19. The warehouse credit rating device of claim 14, wherein the block further comprises a rating result,
the warehouse credit rating apparatus further comprises:
a rating result request receiving unit receiving a rating result acquisition request from a rating result query requester, the rating result acquisition request including warehouse identification information;
a rating result query unit configured to query a rating result corresponding to the warehouse identification information on the block chain; and
and the rating result sending unit is used for sending the inquired rating result to the rating result inquiry requester.
20. The warehouse credit rating device of claim 14, further comprising:
the verification request receiving unit receives a rating result verification request from a rating result verification requesting party, wherein the rating result verification request comprises a rating result to be verified and warehouse identification information;
the hash value processing unit is used for carrying out hash calculation on the rating result to be verified to obtain a second hash value of the rating result to be verified, inquiring a first hash value corresponding to the warehouse identification information on the block chain, and comparing the second hash value with the inquired first hash value; and
and the notification unit is used for sending notification information for indicating whether the rating result to be verified is authentic to the rating result verification requester based on the comparison result between the second hash value and the inquired first hash value.
21. A block chain based warehouse credit rating result acquisition apparatus, comprising:
a rating result request receiving unit receiving a rating result acquisition request from a rating result query requester, the rating result acquisition request including warehouse identification information;
a rating result query unit configured to query a rating result corresponding to the warehouse identification information on the block chain; and
a rating result transmitting unit for transmitting the queried rating result to the rating result query requester,
the block chain records blocks packed based on rating results, each block comprises warehouse identification information, rating results and a corresponding first hash value, the rating results are obtained by calling a block chain intelligent contract to carry out warehouse credit rating according to internet of things device deployment information of a warehouse, the internet of things devices represented by the internet of things device deployment information are suitable for the warehouse credit rating, the internet of things device deployment information influences credit levels of the warehouse, the internet of things device deployment information comprises at least one of device quantity information, device position information of each device and device fault condition information of each device, and the block chain intelligent contract is created based on credit rating rules commonly recognized by a plurality of warehouse managers and stock quality depositors.
22. A blockchain-based warehouse credit rating result verification apparatus, comprising:
the verification request receiving unit receives a rating result verification request from a rating result verification requesting party, wherein the rating result verification request comprises a rating result to be verified and warehouse identification information;
the hash value processing unit is used for carrying out hash calculation on the rating result to be verified to obtain a second hash value of the rating result to be verified, inquiring a first hash value corresponding to the warehouse identification information on the block chain, and comparing the second hash value with the inquired first hash value; and
a notification unit that transmits notification information indicating whether the rating result to be verified is authentic to the rating result verification requester based on a result of comparison between the second hash value and the queried first hash value,
the block chain records blocks packed based on rating results, each block comprises warehouse identification information and a corresponding first hash value, the rating results are obtained by calling a block chain intelligent contract to carry out warehouse credit rating according to internet of things device deployment information of a warehouse, the internet of things devices represented by the internet of things device deployment information are suitable for the warehouse credit rating, the internet of things device deployment information influences credit levels of the warehouse, the internet of things device deployment information comprises at least one of device quantity information, device position information of each device and device fault condition information of each device, and the block chain intelligent contract is created based on warehouse credit rating rules commonly recognized by a plurality of warehouse managers and stock quality depositors.
23. An electronic device, comprising:
at least one processor, and
a memory coupled with the at least one processor, the memory storing instructions that, when executed by the at least one processor, cause the at least one processor to perform the method of any of claims 1-11.
24. A machine-readable storage medium storing executable instructions that, when executed, cause the machine to perform the method of any one of claims 1 to 11.
25. An electronic device, comprising:
at least one processor, and
a memory coupled with the at least one processor, the memory storing instructions that, when executed by the at least one processor, cause the at least one processor to perform the method of claim 12 or 13.
26. A machine-readable storage medium storing executable instructions that, when executed, cause the machine to perform the method of claim 12 or 13.
CN202010305492.0A 2020-04-17 2020-04-17 Block chain-based warehouse credit rating, result acquisition and verification method and device Active CN111461622B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010305492.0A CN111461622B (en) 2020-04-17 2020-04-17 Block chain-based warehouse credit rating, result acquisition and verification method and device
PCT/CN2021/086915 WO2021208909A1 (en) 2020-04-17 2021-04-13 Blockchain-based warehouse credit rating, and result acquisition and authentication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010305492.0A CN111461622B (en) 2020-04-17 2020-04-17 Block chain-based warehouse credit rating, result acquisition and verification method and device

Publications (2)

Publication Number Publication Date
CN111461622A CN111461622A (en) 2020-07-28
CN111461622B true CN111461622B (en) 2021-12-07

Family

ID=71684570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010305492.0A Active CN111461622B (en) 2020-04-17 2020-04-17 Block chain-based warehouse credit rating, result acquisition and verification method and device

Country Status (2)

Country Link
CN (1) CN111461622B (en)
WO (1) WO2021208909A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111461622B (en) * 2020-04-17 2021-12-07 支付宝(杭州)信息技术有限公司 Block chain-based warehouse credit rating, result acquisition and verification method and device
CN113177047A (en) * 2021-04-23 2021-07-27 上海晓途网络科技有限公司 Data backtracking method and device, electronic equipment and storage medium
CN113656842B (en) * 2021-08-10 2024-02-02 支付宝(杭州)信息技术有限公司 Data verification method, device and equipment
CN115269986A (en) * 2022-07-29 2022-11-01 蚂蚁区块链科技(上海)有限公司 Data retrieval method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682825A (en) * 2016-12-22 2017-05-17 南京邮电大学 System and method for evaluating credit of Social Internet of Things based on block chain
CN109146499A (en) * 2018-09-05 2019-01-04 深圳正品创想科技有限公司 User credit method of adjustment and its device, block chain node based on block chain
CN110322196A (en) * 2019-06-21 2019-10-11 迅鳐成都科技有限公司 A kind of warehouse receipt reference management platform based on block chain
CN110580605A (en) * 2019-09-11 2019-12-17 中原工学院 Block chain-based electronic warehouse receipt information storage system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN207046206U (en) * 2017-07-28 2018-02-27 北京易代储科技有限公司 warehouse rating system
CN107657509B (en) * 2017-09-19 2021-05-28 前海云链科技(深圳)有限公司 Credit investigation method and device based on block chain
CN110493007B (en) * 2019-09-06 2021-07-13 腾讯科技(深圳)有限公司 Block chain based information verification method, device, equipment and storage medium
CN111461622B (en) * 2020-04-17 2021-12-07 支付宝(杭州)信息技术有限公司 Block chain-based warehouse credit rating, result acquisition and verification method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682825A (en) * 2016-12-22 2017-05-17 南京邮电大学 System and method for evaluating credit of Social Internet of Things based on block chain
CN109146499A (en) * 2018-09-05 2019-01-04 深圳正品创想科技有限公司 User credit method of adjustment and its device, block chain node based on block chain
CN110322196A (en) * 2019-06-21 2019-10-11 迅鳐成都科技有限公司 A kind of warehouse receipt reference management platform based on block chain
CN110580605A (en) * 2019-09-11 2019-12-17 中原工学院 Block chain-based electronic warehouse receipt information storage system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于区块链的分布式物联网信任管理方法研究;任彦冰等;《计算机研究与发展》;20180731;第55卷(第7期);第1462-1477页 *

Also Published As

Publication number Publication date
WO2021208909A1 (en) 2021-10-21
CN111461622A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN110569675B (en) Multi-Agent transaction information protection method based on block chain technology
US11360963B2 (en) Tracking and verification of physical assets
CN111461622B (en) Block chain-based warehouse credit rating, result acquisition and verification method and device
CN109409122B (en) File storage method, electronic device and storage medium
US20210091960A1 (en) Tracking and verification of physical assets
CN111242617B (en) Method and apparatus for performing transaction correctness verification
CN111460526A (en) Image data recording, acquiring and verifying method and device based on block chain
US20200097950A1 (en) Privileged entity consensus for digital asset creation
WO2022109851A1 (en) Blockchain-based trusted platform
CN113302610B (en) Trusted platform based on blockchain
US20210117404A1 (en) Offline verification with document filter
CN111160997A (en) Advertisement supervision method and device based on block chain and advertisement delivery system
CN111915308A (en) Transaction processing method of blockchain network and blockchain network
CN112074861A (en) Block chain based messaging service for time sensitive events
US11924348B2 (en) Honest behavior enforcement via blockchain
WO2022109848A1 (en) Blockchain-based trusted platform
WO2022109850A1 (en) Blockchain-based trusted platform
US20220166616A1 (en) Key reclamation in blockchain network via oprf
JP2023530594A (en) Permitted Event Processing in Distributed Databases
CN111353893A (en) Transaction data processing method and device based on block chain
CN112074862A (en) Storage management based on message feedback
CN113491090B (en) Trusted platform based on blockchain
WO2023046409A1 (en) Digital asset platform with hsm verification
US11887146B2 (en) Product exploration-based promotion
US11580577B2 (en) Product exploration-based promotion

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40034520

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant