Article storage method and apparatus, device and readable storage medium

Item characteristics authentication is carried out through the consensus algorithm of the blockchain application system, which solves the data modification risks caused by the centralized structure of the IoT container, realizes decentralized item management, reduces the risks of loss and theft, and improves the ability of item storage Trustworthiness.

WO2025011131A1PCT designated stage expired Publication Date: 2025-01-16FU ZHAOYANG
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/089267
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-11
Filing Date
2024-04-23
Publication Date
2025-01-16

AI Technical Summary

Technical Problem

Existing IoT containers have a centralized structure, and data is easily modified by the terminal, resulting in the risk of loss or stolen valuables and an incalculable loss.

Method used

The blockchain application system is adopted to authenticate the credibility of item characteristics through periodic feature data collection and consensus algorithms, realizing decentralized security management and real-time perception of item status in the container.

Benefits of technology

It enhances the accuracy of supervision of the status of containers and items in containers, reduces the risks of loss and theft, and improves the credibility of item storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024089267_16012025_PF_FP_ABST
    Figure CN2024089267_16012025_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to an article storage method and apparatus, a device and a readable storage medium. The article storage method comprises: on the basis of a container application system, periodically acquiring feature data of an article stored in a container; and uploading the feature data to a blockchain application system and, on the basis of a consensus algorithm, performing credibility authentication on the features of the article. On the basis of on-chain consensuses of article states and container states, the article storage method provided by the present invention supervises in real time articles and container states in a decentralized way, and senses in real time the states of the articles in the containers and the states of the containers themselves, such that Internet of Things containers are credible in different service stages, thereby providing valuable articles with really trusted carrying, transportation and storage apparatuses having high input-output ratios.
Need to check novelty before this filing date? Find Prior Art

Description

Article storage method, device, equipment and readable storage medium

[0001] This invention claims priority to Chinese patent application number 202310847810.X filed with the Patent Office of China on July 11, 2023, entitled “Method, device, equipment and readable storage medium for storing articles”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present invention relates to the field of trusted container storage in an Internet of Things environment, and in particular to an item storage method, device, equipment, and readable storage medium. Background Art

[0003] IoT containers are widely used in daily life, such as logistics transport vehicles, dedicated express lockers, confidential delivery, and valuables display cabinets. They are mainly used to sense the status of items in the container and the status of the container itself in real time and to handle emergencies in a timely manner. In most cases, for valuables, the real-time reliability of the item status and container status is particularly important.

[0004] Although existing IoT containers can, to a certain extent, provide real-time perception of the status of items in the container and the status of the container itself, and have certain risk resistance capabilities, the containers themselves are mostly centralized structures, and data can be easily modified at the terminal, making the items stored in the container at risk of loss or theft, which can easily cause immeasurable losses.

[0005] Therefore, in response to the above technical problems, it is necessary to provide an item storage method, device, equipment and readable storage medium.

[0006] The information disclosed in this background technology section is only intended to enhance understanding of the overall background of the invention and should not be regarded as an admission or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art.

[0007] Summary of the Invention

[0008] The purpose of the present invention is to provide an item storage method, device, equipment and readable storage medium, which can rely on a blockchain application system to achieve decentralized security management of items in a container and can perceive the status of the items in the container and the status of the container itself in real time.

[0009] To achieve the above objectives, the present invention provides the following technical solutions:

[0010] In a first aspect, the present invention provides a method for storing items, comprising:

[0011] Based on the container application system, feature data of items stored in the container are collected periodically;

[0012] The characteristic data is uploaded to the blockchain application system, and the credibility of the characteristics of the item is authenticated based on the consensus algorithm.

[0013] In one or more embodiments, the object storage method further comprises:

[0014] The blockchain application system responds to the user's identity registration request and generates a public key and a private key bound to the user's identity.

[0015] In one or more embodiments, the container application system periodically collects data on items stored in the container, including:

[0016] The blockchain application system responds to the user's authorization operation using the private key;

[0017] The blockchain application system determines whether the private key matches the public key bound to the corresponding user identity based on a consensus algorithm;

[0018] If so, the container application system periodically collects feature data of the items stored in the container in response to the user's collection interval setting operation.

[0019] In one or more embodiments, uploading the feature data to a blockchain application system and performing credibility authentication on the features of the item based on a consensus algorithm includes:

[0020] Based on the feature data, establishing a first feature vector;

[0021] The blockchain application system responds to the user's setting operation of the item parameters;

[0022] The blockchain application system calculates the average of the first feature vector and generates a second feature vector based on the item parameters;

[0023] Based on the evidence consensus algorithm and the intelligent consensus algorithm, the credibility of the second feature vector is authenticated.

[0024] In one or more embodiments, uploading the feature data to a blockchain application system and performing credibility authentication on the features of the item based on a consensus algorithm includes:

[0025] Based on the feature data, establishing a first feature vector;

[0026] The blockchain application system responds to the user's setting operation of the item parameters;

[0027] The blockchain application system calculates the average of the first feature vector and generates a second feature vector based on the item parameters;

[0028] Based on the evidence consensus algorithm or the intelligent consensus algorithm, the credibility of the second feature vector is authenticated.

[0029] In one or more embodiments, the intelligent consensus algorithm is the PBFT (Ba (Da)) algorithm, where PBFT is a decentralized consensus algorithm, Da is a feature similarity deviation calculation algorithm, and Ba is a feature credibility verification interruption algorithm. If the second feature vector obtained for the nth time is The allowable deviation range is The number of interruptions that make the second eigenvector unreliable is Z, and the nth second eigenvector obtained is used as the evaluation benchmark. If

[0030] Established,

[0031] The second eigenvector Z interruptions occur starting from the n+1th time, which is considered a feature. The Z-th features after are not credible, otherwise, That is, characteristics The Zth feature after that is credible.

[0032] In one or more embodiments, the performing credibility authentication on the second feature vector based on the evidence consensus algorithm includes:

[0033] Read the second eigenvector and the reference vector;

[0034] If the second eigenvector is equal to the reference vector, then the second eigenvector is credible;

[0035] If the second eigenvector is not equal to the reference vector, the second eigenvector is not credible.

[0036] In one or more embodiments, the method further comprises:

[0037] If the second feature vector is not credible, the item will be removed from the chain.

[0038] In one or more embodiments, the method further comprises:

[0039] The blockchain application system performs identity binding, identity unbinding, container item off-chain, container item transfer, and container item purchase in response to user operations.

[0040] In a second aspect, the present invention provides an article storage device comprising:

[0041] A collection module, used for periodically collecting characteristic data of items stored in the container based on the container application system;

[0042] The authentication module is used to upload the feature data to the blockchain application system and perform credibility authentication on the features of the item based on a consensus algorithm.

[0043] In a third aspect, the present invention provides a computer device comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the item storage method by executing the computer instructions.

[0044] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the item storage method.

[0045] Compared with the existing technology, the item storage method provided by the present invention includes: periodically collecting feature data of items stored in the container based on the container application system; uploading the feature data to the blockchain application system, and performing credibility authentication on the features of the items based on the consensus algorithm. This item storage method has the following advantages:

[0046] (1) While perceiving the container and the items stored inside it in real time, the decentralized storage method of items is achieved based on the communication between the blockchain application system and the container application system, thereby achieving the trustworthiness of the IoT container in different business stages.

[0047] (2) Based on the blockchain application system, the characteristics of items obtained through periodic scanning are intelligently agreed upon and evidence-based, which enhances the accuracy of monitoring the status of containers and items in them. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] FIG1 is a schematic diagram of an application scenario of an article storage method according to an embodiment of the present invention.

[0049] FIG2 is a schematic diagram of a process of storing items in one embodiment of the present invention.

[0050] FIG3 is a structural block diagram of an article storage device according to an embodiment of the present invention.

[0051] FIG4 is a structural block diagram of an electronic device according to an embodiment of the present invention.

[0052] FIG5 is a diagram illustrating the architecture of a specific embodiment of an implementation manner of the present invention.

[0053] FIG. 6 is a diagram of a container according to a specific embodiment of the present invention. DETAILED DESCRIPTION

[0054] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific embodiments.

[0055] Unless expressly stated otherwise, throughout the specification and claims, the term "comprise" or variations such as "include" or "comprising", etc., will be understood to include the stated elements or components but not to exclude other elements or other components.

[0056] In order to facilitate understanding of the technical solutions of this application, the technical terms that may appear in the present invention are first explained in detail below.

[0057] On-chain: Information is agreed upon by multiple distributed nodes in the blockchain application control system and written into the ledgers of each branch node. This ledger is in the form of a blockchain, so it is called on-chain.

[0058] Off-chain: Multiple distributed nodes in the blockchain application control system once again reach a consensus on the invalidity of the information previously uploaded to the chain; that is, the previously agreed information is false.

[0059] PBFT (Practical Byzantine Fault Tolerance): A state machine replication algorithm. Services are modeled as state machines, which are replicated across different nodes in a distributed system. Each state machine replica stores the state of the service and implements its operations. The set of replicas is represented by the capital letter R, and each replica is represented by an integer from 0 to |R|-1. For ease of description, assume |R| = 3f+1, where f is the maximum number of replicas that may fail. Although more than 3f+1 replicas are possible, additional replicas do not improve reliability except for reducing performance.

[0060] A blockchain is a chain of blocks. Each block contains a specific amount of information, connected in chronological order. This chain is stored across all servers, and as long as at least one server in the system is functioning, the entire blockchain remains secure. These servers, known as nodes in the blockchain system, provide storage space and computing power. Modifying information in the blockchain requires the consent of more than half of the nodes and the modification of all nodes. These nodes are often controlled by different entities, making tampering with blockchain information extremely difficult. Compared to traditional networks, blockchains possess two core advantages: data tampering resistance and decentralization. These two characteristics make the information recorded in blockchains more authentic and reliable, helping to address the problem of mutual trust.

[0061] GPRS (General Packet Radio Service): A mobile cellular access technology that uses the GSM infrastructure to provide packet data services at speeds up to 100 kbit / s. GPRS uses radio resources only for actual transmission and reception.

[0062] The Internet of Things (IoT) refers to the use of various devices and technologies, including information sensors, radio frequency identification (RFID), global positioning systems (GPS), infrared sensors, and laser scanners, to collect real-time data on any object or process that requires monitoring, connection, and interaction. This data includes acoustic, optical, thermal, electrical, mechanical, chemical, biological, and location information. Through various network access options, this technology enables ubiquitous connectivity between objects and between objects and people, enabling intelligent perception, identification, and management of objects and processes. The IoT is an information carrier based on the internet and traditional telecommunications networks, enabling all independently addressable, common physical objects to form an interconnected network.

[0063] Decentralization: Nodes freely choose and determine the center. Simply put, centralization means the center determines the nodes. Nodes must rely on the center and cannot survive without it. In a decentralized system, anyone can be a node, and anyone can also become a center. No center is permanent, but rather temporary, and no center has any mandatory power over nodes.

[0064] Please refer to Figure 1, which shows a schematic diagram of an application scenario for the item storage method provided by the present invention. The implementation scenario shown in Figure 1 includes a user terminal 101, a container application system 102, and a blockchain application system 103. Specifically, based on the internet access channel provided by the GPRS module, the user terminal 101 establishes a communication connection with the container application system 102; the container application system 102 then establishes a communication connection with the blockchain application system 103. In response to a user's identity registration request, the blockchain application system generates a public key and a private key bound to the user's identity. After authorization based on the corresponding private key, the blockchain application system 103 issues a control command to control the container application system 102 to invoke the container's hardware devices to periodically collect data on the items. The container application system 102 then uploads the collected data to the blockchain application system 103, which then generates a feature vector based on the item parameters set by the user terminal 101. Finally, the feature vector undergoes credibility authentication based on a proof consensus algorithm, an intelligent consensus algorithm, or both.

[0065] It should be noted that the hardware devices include but are not limited to cameras, sensors, spectrum lights, GPS modules, etc., and the embodiments of the present invention do not impose any restrictions on this.

[0066] It should also be noted that the user terminal 101 may include, but is not limited to, a desktop computer (PC), a desktop computer, a smart phone, a handheld computer, a tablet computer, a personal digital assistant (PDA), and other portable electronic devices or wearable electronic devices, wherein the user terminal 101 is installed with a computer software program that matches the item storage device provided by this method; the user terminal 101 can be connected to a communication network via a wired or wireless method, wherein the communication network includes a combination of a local area network or a wide area network that communicates with the Internet. The embodiments of the present invention do not limit the above content.

[0067] Please refer to FIG2 , which is a flow chart of a method for storing items in accordance with one embodiment of the present invention. The method for storing items specifically includes the following steps:

[0068] S201: Based on the container application system, periodically collect feature data of items stored in the container;

[0069] It should be noted that before periodically collecting feature data of items stored in the container based on the container application system, it is also necessary to generate a public key and a private key bound to the user's identity based on the blockchain application system in response to the user's identity registration request.

[0070] It should also be noted that in the item storage method provided by the present invention, identity registration methods include but are not limited to mobile phone verification code registration, ID card information registration, trusted platform account sharing, etc., which are not limited in the embodiments of the present invention.

[0071] For example, a user registers by sending a verification code to a mobile phone using a computer software program that matches the item storage device provided by this method. The blockchain application system responds to the user's identity registration request and sends a verification code to the corresponding mobile phone number. After the verification code is successfully verified, the blockchain application system will allocate a key pair bound to the registered mobile phone number, and the key pair includes a public key and a private key.

[0072] In an exemplary embodiment, the container-based application system periodically collects feature data of items stored in the container, including the blockchain application system responding to the user's authorization operation using the private key; the blockchain application system determines whether the private key matches the public key bound to the corresponding user identity based on the consensus algorithm; if so, the container application system responds to the user's collection interval setting operation and periodically collects feature data of the items stored in the container.

[0073] S202: Upload the feature data to the blockchain application system, and perform credibility authentication on the features of the item based on a consensus algorithm.

[0074] In an exemplary embodiment, the feature data is uploaded to the blockchain application system, and the credibility of the features of the item is authenticated based on a consensus algorithm, including: establishing a first feature vector based on the feature data; the blockchain application system responds to the user's setting operation of the item parameters; the blockchain application system averages the first feature vector and generates a second feature vector based on the item parameters; and based on the evidence consensus algorithm, the intelligent consensus algorithm, or one of the two, the credibility of the second feature vector is authenticated, thereby completing the on-chaining of the container data.

[0075] Specifically, the intelligent consensus algorithm is the PBFT (Ba (Da)) algorithm, where PBFT is a decentralized consensus algorithm, Da is a feature similarity deviation calculation algorithm, and Ba is a feature credibility verification interruption algorithm.

[0076] For example, first, all sensors except the camera collect data for 3 minutes. For the camera, 12 lighting combinations are used to take pictures of the exhibits, so as to complete the establishment of the first eigenvector for each data acquisition module: for each first eigenvector except the image data, after removing the maximum and minimum values, calculate the mean of all remaining unit values ​​of the vector, and these means constitute the eigenvector X; for the image data, extract the image features under different lighting combinations to form a 12-dimensional eigenvector Z; for the values ​​set by the user for the parameter items of the exhibits, including but not limited to: price, craftsmanship, author, material, manufacturing year, defects, beneficiaries, history, etc., form the eigenvector Y. Then establish the second eigenvector Vec2 = [X, Z, Y]. Let Vec2 be the initial second eigenvector, Vec2 n is the current second eigenvector; for Vec2 n .X and Vec2 n .Z, uses intelligent consensus algorithm to go on the chain, for Vec2 n .Y uses a proof-of-storage consensus algorithm to go on-chain; for Vec2 n .X, Da algorithm is a conventional difference algorithm, similarity deviation = |Vec2 n .X-Vec2.X|, for Vec2 n .Z, Da algorithm is based on the common image similarity calculation method Sim(picVec1,picVec2), similarity deviation = 1-Sim(Vec2 n .Z, Vec2.X). All nodes perform Ba judgment on the Da algorithm value according to the PBFT protocol and decide whether to upload the current feature data consensus to the chain.

[0077] The credibility authentication of the second feature vector based on the evidence consensus algorithm includes: reading the second feature vector and the reference vector; if the second feature vector is equal to the reference vector, the second feature vector is credible; if the second feature vector is not equal to the reference vector, the second feature vector is unreliable.

[0078] For example, all nodes need to reach a consensus on Vec2.Y. First, each node has a copy of Vec2.Y as a reference vector. Each node receives a query message from other nodes, which contains all the Vec2 from .Y, the node that receives the message determines whether its Vec2.Y and Vec2 from .Y Whether the two strings are equal, if they are equal, the second feature vector from the other node is considered to be credible, otherwise, the second feature vector from the other node is considered to be unreliable.

[0079] It should be noted that if the second eigenvector is unreliable, the item will be taken off-chain, that is, multiple distributed nodes in the blockchain application control system will once again reach a consensus on the invalidity of the information of the second eigenvector previously uploaded to the chain, making the previously agreed information false.

[0080] It should also be noted that the item storage method also includes the blockchain application system responding to user operations to perform identity binding, identity unbinding, container item off-chain, container item transfer, and container item purchase.

[0081] In an exemplary embodiment, the identity binding includes: the trusted IoT container device responds to the user's scanning operation, jumps to the blockchain application system's corresponding container item page, the scanning user further confirms the identity binding, and the blockchain application system binds the container item and its identity with the scanning user, and stores the relationship based on a consensus algorithm.

[0082] For example, user A wants to bind his identity to container exhibit B. So after user A scans the container with his mobile phone, the scanning page automatically jumps to the current container item page in the blockchain application system, where the required information related to the container exhibit can be set. Then the scanning user clicks the "Identity Binding" button on the container exhibit interface. The blockchain application system binds the container exhibit and its identity with the scanning user, and uses the consensus algorithm to store the evidence.

[0083] Specifically, the required information includes but is not limited to the category, price, material, craftsmanship, beneficiary, etc. of the items in the container.

[0084] In an exemplary embodiment, the identity unbinding includes: the blockchain application system responds to the user's authorization operation using the private key; the blockchain application system determines, based on a consensus algorithm, whether the private key matches the public key bound to the corresponding user identity; if so, the container device record to be unbound is selected, the user further confirms the unbinding and uses the private key to authorize, and the blockchain application system, based on a consensus algorithm, stores evidence that the binding relationship between the current user and the specified container item is invalid.

[0085] For example, user A wants to unbind his identity from container item B. Therefore, user A authorizes to enter the blockchain application system based on different identity registration methods, selects the corresponding container device record to be unbound, and clicks the "Unbind" button corresponding to the record. The system pops up an authorization prompt page. After the user uses the private key to sign the authorization, the blockchain application system then uses the consensus algorithm to store evidence that the binding relationship between the current user and the specified container item is invalid.

[0086] In an exemplary embodiment, the container item off-chain includes: the blockchain application system responding to the user's authorization operation using the private key; the blockchain application system, based on a consensus algorithm, determines whether the private key matches the public key bound to the corresponding user identity; if so, based on the consensus algorithm, the authorization is invalid for the corresponding container item feature.

[0087] In an exemplary embodiment, the container item transfer includes: being initiated by the container item owner, and upon the owner's authorization and consent using a private key, unbinding the container item that has been bound to the owner's identity, and binding the unbound container item to another user identity by the blockchain application system.

[0088] In an exemplary embodiment, the container item purchase includes: based on the transfer process of the container item, the blockchain application system completes the transfer to the original owner of the container item.

[0089] Referring to FIG. 3 , based on the same inventive concept as the aforementioned object storage method, an embodiment of the present invention provides an object storage device 300 , which includes a collection module 301 and an authentication module 302 .

[0090] Specifically, the collection module 301 is used to periodically collect feature data of items stored in a container based on a container application system; the authentication module 302 is used to upload the feature data to a blockchain application system and perform credibility authentication on the features of the items based on a consensus algorithm.

[0091] It should be noted that the collection module 301 is also used to generate a public key and a private key bound to the user's identity based on the blockchain application system in response to the user's identity registration request. The collection module 301 is used to periodically collect feature data of items stored in the container based on the container application system, including: the blockchain application system responding to the user's authorization operation using the private key; the blockchain application system determining whether the private key matches the public key bound to the corresponding user identity based on the consensus algorithm; if so, the container application system responding to the user's operation to set the collection interval to periodically collect feature data of the items stored in the container.

[0092] It should also be noted that the authentication module is used to upload the feature data to the blockchain application system, and perform credibility authentication on the features of the item based on a consensus algorithm, including: establishing a first feature vector based on the feature data; the blockchain application system responding to the user's setting operation of the item parameters; the blockchain application system averaging the first feature vector and generating a second feature vector in combination with the item parameters; and performing credibility authentication on the second feature vector based on a proof consensus algorithm, an intelligent consensus algorithm, or one of the two.

[0093] Specifically, the intelligent consensus algorithm is the PBFT (Ba (Da)) algorithm, where PBFT is a decentralized consensus algorithm, Da is a feature similarity deviation calculation algorithm, and Ba is a feature credibility verification interruption algorithm. The credibility authentication of the second feature vector based on the evidence consensus algorithm includes: reading the second feature vector and the reference vector; if the second feature vector is equal to the reference vector, the second feature vector is credible; if the second feature vector is not equal to the reference vector, the second feature vector is untrustworthy. If the second feature vector is untrustworthy, the item is delisted.

[0094] It should also be noted that the acquisition module 301 and the authentication module are also used to cooperate to enable the blockchain application system to respond to user operations to perform identity binding, identity unbinding, container item chaining, container item dechaining, container item transfer and container item purchase.

[0095] As shown in FIG5 and FIG6, in a specific embodiment, the specific steps of the article storage method provided by the present invention are as follows:

[0096] Step 1: Based on an application installed on a mobile phone that is compatible with the item storage method provided by the present invention, a registration request is initiated, and the mobile phone establishes a communication connection with the container application system through the Internet access channel provided by the GPRS module.

[0097] Step 2: After completing registration, place the item into the item storage device provided by the present invention and close the container entrance. Click the "Container Exhibit on Chain" button on the container. The container application system residing on the main control board will control the opening of all cameras, spectrum lights and other hardware devices set in the container to continuously collect data for 3 minutes. As shown in Figure 6, the camera is a camera module; the spectrum light is an LED multi-spectral light strip module. Using each spectrum in the multi-spectrum, combined with the upper and lower multi-spectral light strips, all cameras sample and take pictures of the exhibits under all combinations of the upper and lower multi-spectral light strips. Based on the upper and lower multi-spectral light strips, the container characteristic values ​​and all sensor data are sent to the blockchain application system. The blockchain application system performs feature analysis on the sensor data, establishes container exhibit characteristics through an intelligent consensus algorithm, and establishes a mapping relationship between the container characteristic values ​​and the container exhibit characteristics. The blockchain application system uses the PBFT consensus algorithm to store this mapping relationship.

[0098] Step 3: After the user scans the code of the item storage device, they will jump to the container exhibit page in the blockchain application system. After setting the required information related to the container exhibit, the scanned user clicks the "Identity Binding" button next to the container exhibit. The blockchain application system uses the PBFT algorithm to bind the affiliation between the container exhibit and the identity of the scanned user and store it as a certificate.

[0099] Step 4: After the user uses the private key to authorize, he can perform operations such as identity unbinding, container item off-chain, container item transfer, and container item purchase as needed.

[0100] Referring to FIG. 4 , an embodiment of the present invention further provides an electronic device 400, which includes at least one processor 401, a memory 402 (e.g., a non-volatile memory), a storage 403, and a communication interface 404. The at least one processor 401, the storage 402, the storage 403, and the communication interface 404 are connected together via a bus 405. The at least one processor 401 is configured to invoke at least one program instruction stored or encoded in the storage 402, so that the at least one processor 401 executes various operations and functions of the item storage method described in various embodiments of this specification.

[0101] In the embodiments of the present specification, the electronic device 400 may include but is not limited to: a personal computer, a server computer, a workstation, a desktop computer, a laptop computer, a notebook computer, a mobile electronic device, a smart phone, a tablet computer, a cellular phone, a personal digital assistant (PDA), a handheld device, a messaging device, a wearable electronic device, a consumer electronic device, and the like.

[0102] An embodiment of the present invention further provides a computer-readable medium carrying computer-executable instructions. When the computer-executable instructions are executed by a processor, they can be used to implement the various operations and functions of the item storage method described in the various embodiments of this specification.

[0103] The computer-readable medium in the present invention can be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.

[0104] In the present invention, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.

[0105] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0106] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, apparatuses, systems, and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowcharts and / or one or more blocks in the block diagrams.

[0107] The foregoing descriptions of specific exemplary embodiments of the present invention are for purposes of illustration and description. These descriptions are not intended to limit the invention to the precise forms disclosed, and it is apparent that many variations and modifications are possible in light of the foregoing teachings. The exemplary embodiments have been selected and described for the purpose of explaining the specific principles of the invention and their practical application, thereby enabling those skilled in the art to realize and utilize a variety of exemplary embodiments of the invention and various options and modifications. The scope of the invention is intended to be defined by the claims and their equivalents.

Claims

1. A method for storing articles, characterized in that: include: Based on the container application system, feature data of items stored in the container are collected periodically; The characteristic data is uploaded to the blockchain application system, and the credibility of the characteristics of the object is authenticated based on the consensus algorithm.

2. The article storage method according to claim 1, characterized in that: The article storage method further comprises: The blockchain application system responds to the user's identity registration request and generates a public key and a private key bound to the user's identity.

3. The article storage method according to claim 2, characterized in that: The container-based application system periodically collects data on items stored in the container, including: The blockchain application system responds to the user's authorization operation using the private key; The blockchain application system determines whether the private key matches the public key bound to the corresponding user identity based on a consensus algorithm; If so, the container application system periodically collects characteristic data of the items stored in the container in response to the user's collection interval setting operation.

4. The article storage method according to claim 3, characterized in that: The uploading of the feature data to the blockchain application system and the credibility authentication of the features of the item based on the consensus algorithm include: Based on the feature data, establishing a first feature vector; The blockchain application system responds to the user's setting operation of the item parameters; The blockchain application system averages the first feature vector and generates a second feature vector in combination with the item parameters; Based on the evidence consensus algorithm and the intelligent consensus algorithm, the credibility of the second feature vector is authenticated.

5. The article storage method according to claim 4, characterized in that: The uploading of the feature data to the blockchain application system and the credibility authentication of the features of the item based on the consensus algorithm include: Based on the feature data, establishing a first feature vector; The blockchain application system responds to the user's setting operation of the item parameters; The blockchain application system averages the first feature vector and generates a second feature vector in combination with the item parameters; Based on the evidence consensus algorithm or the intelligent consensus algorithm, the credibility of the second feature vector is authenticated.

6. The article storage method according to claim 4, characterized in that: The intelligent consensus algorithm is the PBFT (Ba (Da)) algorithm, where PBFT is a decentralized consensus algorithm, Da is a feature similarity deviation calculation algorithm, and Ba is a feature credibility verification interruption algorithm, specifically: If the second eigenvector obtained for the nth time is The allowable deviation range is The number of interruptions that make the second characteristic vector unreliable is Z, and the obtained nth second characteristic vector is used as the evaluation basis. If Established, The second eigenvector Starting from the n+1th time, there are Z interruptions, which are considered as features. The subsequent Z-order features are unreliable, otherwise, That is, characteristics The Zth feature after that is credible.

7. The article storage method according to claim 4, characterized in that: The credibility authentication of the second feature vector based on the evidence consensus algorithm includes: Reading the second eigenvector and the reference vector; If the second eigenvector is equal to the reference vector, then the second eigenvector is credible; If the second eigenvector is not equal to the reference vector, the second eigenvector is not credible.

8. The article storage method according to claim 7, characterized in that: The method further includes: if the second feature vector is not credible, the item is removed from the chain.

9. The article storage method according to claim 1, characterized in that: The method further comprises: The blockchain application system performs identity binding, identity unbinding, container item off-chain, container item transfer, and container item purchase in response to user operations.

10. An article storage device, characterized in that: include: A collection module, used for periodically collecting characteristic data of items stored in the container based on the container application system; The authentication module is used to upload the feature data to the blockchain application system and perform credibility authentication on the features of the item based on a consensus algorithm.

11. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the article storage method according to any one of claims 1 to 9 by executing the computer instructions.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the object storage method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Cold-chain logistics management system based on block chain technology

    CN113902371A

  • Cultural relic transportation monitoring method and system based on block chain and Internet of Things

    CN113949724A

  • Transportation data processing method and system based on block chain, and electronic equipment

    CN115310890A

  • Data information consistency verification method and device and storage medium

    CN116703423A

  • Article storage method, device and equipment and readable storage medium

    CN116739456A