A security information traceability system based on blockchain
The blockchain-based security information traceability system addresses the reliance on human integrity in express logistics by ensuring data authenticity and reliability through a decentralized system, enhancing security and efficiency.
Patent Information
- Application Number
- CN202110557329.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-21
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2041-05-21
AI Technical Summary
The existing security inspection model in the express logistics industry relies heavily on human integrity, which is prone to risks and inefficiencies, and lacks a reliable method to ensure the authenticity and reliability of transaction records.
A blockchain-based security information traceability system is implemented, comprising an application layer, protocol layer, and data processing layer, utilizing blockchain technology to ensure data integrity and authenticity through consensus algorithms and decentralized storage.
The system enhances the reliability and efficiency of security inspections by ensuring data authenticity and reducing the workload of employees, while minimizing the risk of tampering and improving operational efficiency.
Smart Images

Figure CN113256305B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a system used in the security inspection link of the express logistics industry, and in particular to a security inspection information tracing system based on blockchain. Background Art
[0002] In the express logistics industry, there are over 100 million parcels circulating every day. If all of them are manually inspected, the cost will be high and the security cannot be guaranteed 100%. Blockchain is a decentralized distributed ledger that has attracted widespread attention for its strong security and decentralized model. It is essentially a distributed computing and storage system. Blockchain has multiple nodes. Different nodes reach consensus through certain computing rules, and store the transaction execution results after consensus in the form of blocks in the database. Multiple blocks constitute the blockchain.
[0003] In the data flow and logistics flow of over 100 million express deliveries, express delivery security that relies on security inspection machines, security inspectors, and managers of various centers or outlets to supervise constitutes a new technical model. Part of the security inspection is done by unpacking, and the other part is done by security inspection machines. The main way of transaction is to judge the legality and compliance of the delivered items by the appearance of the items. This model is completely based on the integrity of the security inspectors and will have greater risks. Summary of the invention
[0004] A brief summary of one or more aspects is given below to provide a basic understanding of these aspects. This summary is not an exhaustive overview of all conceived aspects, and is neither intended to identify the key or critical elements of all aspects nor to define the scope of any or all aspects. Its only purpose is to give some concepts of one or more aspects in a simplified form as a prelude to a more detailed description that will be given later.
[0005] The purpose of the present invention is to solve the above problems and provide a security information traceability system based on blockchain. By utilizing the high security characteristics of blockchain, while ensuring the safety of express delivery, it can also improve the overall operational efficiency and reduce the workload of employees.
[0006] The technical solution of the present invention is as follows: The present invention discloses a security information traceability system based on blockchain, the system includes an application layer module, a protocol layer module, a data processing layer module and a blockchain database module, wherein:
[0007] The application layer module is used to provide a human-computer interaction interface to handle statistical analysis operations;
[0008] The protocol layer module is used for the storage and operation of blockchain-related protocols, as well as the storage and call of consensus algorithms;
[0009] The data processing layer module is used to hash the transaction information records, generate block information, and return the generated block information to the protocol layer module for verification. It is also responsible for reading and writing the complete blockchain database in the blockchain database module;
[0010] The blockchain database module includes the complete blockchain database of the security information traceability system and the client database of each participant terminal. Each client database can store both the block information created by the security inspection machine and the complete blockchain information. The complete blockchain database of the security information traceability system saves the complete blockchain content.
[0011] According to an embodiment of the blockchain-based security information traceability system of the present invention, the protocol layer module performs two-way transmission with the application layer module and the data processing layer module respectively, and the blockchain database module performs two-way transmission with the application layer module and the data processing layer module respectively.
[0012] According to an embodiment of the security inspection information traceability system based on blockchain of the present invention, the application layer module further includes:
[0013] The object image module is used to receive the information of the object image acquired and uploaded by the security inspection machine used in the express logistics link during normal operation;
[0014] The backend control module is used to manage and control the security inspection machine, including monitoring and canceling related transactions, but cannot modify the transaction content;
[0015] The transaction confirmation module is used to confirm the integrity and certainty of the transaction to confirm whether the transaction is completed.
[0016] According to one embodiment of the blockchain-based security information traceability system of the present invention, the express logistics link includes express branches, transfer centers, and post stations.
[0017] According to an embodiment of the blockchain-based security inspection information traceability system of the present invention, the background control module is further configured as follows: when the security inspection machine creates a block, its client will automatically participate in the certification process, among which the client of the ordinary security inspection machine will retain the relevant data of the block for use as a basis for arbitration in case of disputes.
[0018] According to an embodiment of the blockchain-based security information traceability system of the present invention, the background control module is further configured to realize the formation and storage of blockchain and identify the legitimacy of the items.
[0019] According to an embodiment of the blockchain-based security information tracing system of the present invention, the protocol layer module further includes:
[0020] The proof-of-stake module is configured to enable all participating users to reach a consensus based on the consensus algorithm, complete the verification of the block, and store the transaction records in the blockchain to ensure the authenticity of the transaction records. The participating users include the security inspection machine, the sender, the recipient, and the administrator;
[0021] Transaction protocol module, used for the storage and operation of blockchain protocols.
[0022] According to an embodiment of the blockchain-based security information traceability system of the present invention, the data processing layer module further includes:
[0023] The blockchain database management module is used to record the generated information in the blockchain database when the block creation is completed after the transaction is completed;
[0024] A transaction record processing module is used to record each transaction in the information transaction process;
[0025] The data processing module is used to process transaction information records and return block information to the protocol layer module for verification.
[0026] Compared with the prior art, the present invention has the following beneficial effects: the present invention transforms the system on the basis of the existing security inspection machine background, and implants blockchain technology, so that the relevant data information collected by the operating end systems used by branches, transfer centers, and stations during normal operations will not be tampered with during the process of uploading to the express company system. The system is built on the security inspection information traceability system, covering the operations, information management and storage, and effective proof methods in the entire transaction process. The system records the transaction process and uses the improved proof of stake (PoS) of the security inspection environment to store the transaction records in the blockchain to ensure the authenticity and reliability of the transaction records. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The above features and advantages of the present invention can be better understood after reading the detailed description of the embodiments of the present disclosure in conjunction with the following drawings. In the drawings, the components are not necessarily drawn to scale, and components with similar related properties or features may have the same or similar reference numerals.
[0028] Figure 1 An architectural diagram of an embodiment of a blockchain-based security information traceability system of the present invention is shown.
[0029] Figure 2 A schematic diagram of the main components of an embodiment of a blockchain-based security information traceability system of the present invention is shown.
[0030] Figure 3 The operating flow chart of the blockchain-based security information tracing system of the present invention is shown. DETAILED DESCRIPTION
[0031] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. Note that the aspects described below in conjunction with the accompanying drawings and specific embodiments are only exemplary and should not be construed as limiting the scope of protection of the present invention in any way.
[0032] Figure 1 The structure principle of an embodiment of the security information traceability system based on blockchain of the present invention is shown. Figure 2 Shows the structure of the components that make up the system. Figure 1 and Figure 2 , the system of this embodiment includes: an application layer module, a protocol layer module, a data processing layer module and a blockchain database module.
[0033] The protocol layer module performs two-way transmission with the application layer module and the data processing layer module respectively, and the blockchain database module performs two-way transmission with the application layer module and the data processing layer module respectively.
[0034] The application layer module includes the item imaging module, the background control module and the transaction confirmation module. The application layer module provides a human-computer interaction interface to handle statistical analysis operations.
[0035] The object imaging module is used to receive information uploaded by the security inspection machines used in express branches, transfer centers, and post stations during normal operations.
[0036] The background control module is used to manage and control the security inspection machine, including supervision and cancellation of related transactions, but the transaction content cannot be modified. When the security inspection machine creates a block, the client it holds will automatically participate in the proof process. The client of the ordinary security inspection machine will retain the relevant data of the block as a basis for arbitration in case of disputes. The background control module is also configured to realize the formation and storage of blockchain and identify the legitimacy of items. In addition, it also handles other uncontrollable problems that occur in the system, such as the problem that there are few security inspection machines actually participating in the security inspection in a certain period of time and it is impossible to generate valid proof.
[0037] The transaction confirmation module is used to confirm the integrity and certainty of the transaction to confirm the completion of the transaction.
[0038] In addition, the application layer module also provides various blockchain-related interfaces, so that the data processing layer module can receive the required information and feedback the background processing results to both parties of the transaction. The interfaces provided by the application layer module include the interface for transferring transaction information to the data processing layer module and the status feedback interface for the current transaction uploaded to the blockchain. The transaction includes the following states during the chain process: transaction creation is completed and waiting to be written into the block, block verification is in progress, transaction is on the chain, etc.
[0039] The protocol layer module includes the Proof of Stake (PoS) module and the transaction protocol module. The protocol layer module is used to store and run the relevant protocols of the blockchain, as well as to store and call the consensus algorithm of the Proof of Stake module. The execution of the consensus algorithm is the core of the entire blockchain formation. There are strict management calling methods and interface implementation methods to prevent tampering, which may cause serious consequences such as malicious control of the blockchain formation.
[0040] The proof-of-stake module is configured to allow all participating users to reach a consensus, complete the verification of the block, and store the transaction records in the blockchain to ensure the authenticity of the transaction records. Participating users include security inspection machines, senders, recipients, and managers. They identify and process the items that pass through the security inspection machine and upload them to the corresponding platform. During the upload process, they prove the transaction information (after processing) with other participants. The system provides corresponding conditions and manages the transaction process. For the security inspection machine of one of the participating users, after the data identification is confirmed, a security inspection mark is added to the corresponding data. The received and processed transaction information will be stored and processed, and the information that fails the security inspection will also be stored and processed, and the user does not need to deliberately prove it.
[0041] Specifically, the generation of verifiers is changed from the age of coins as the weight of competition to image verification, and the corresponding ID of the verification result is used as the chip for the election of verifiers. The blockchain of the present invention is different from the traditional Bitcoin. The number of transactions stored in each block is relatively small, and the block generation speed is fast, which ensures the speed of transaction completion. The system of the present invention is subject to the security inspection machine involved in the transaction, so the transaction volume is much smaller than the Bitcoin platform, and the size of the blockchain formed by the present invention is also much smaller than the general blockchain, which is convenient for storage and backup.
[0042] According to the blockchain formed by transactions, the consensus algorithm adopts an improved PoS algorithm to speed up the formation of blocks and ensure the speed of transaction completion.
[0043] The proof of stake module solution consumes less resources and is relatively simple. It is more suitable for scenarios with greater randomness and more security inspection machines involved. The process is to verify the data on the platform after the transaction is completed ( va lid ator ), at this time all participants can reach a consensus and finally complete the block generation and upload to the blockchain.
[0044] The transaction protocol module is used for the storage and operation of the blockchain protocol.
[0045] The data processing layer module includes the blockchain database management module, the transaction record processing module and the data processing module. The data processing layer module is used to hash the transaction information records, generate block information, and return the block information to the equity proof module of the protocol layer module for verification. The data processing layer module is the core of the system, connected to each client, and is also responsible for reading and writing the complete blockchain database in the blockchain database module.
[0046] The blockchain database management module is used to record the important information generated in the blockchain database when the block creation is completed after the transaction is completed.
[0047] The transaction record processing module is used to record each transaction in the information transaction process.
[0048] The data processing module is used to process transaction information records and return block information to the equity proof module of the protocol layer module for verification.
[0049] Whenever a transaction is completed, the transaction record processing module of the database processing layer module records the information of the transaction confirmation module, and the data processing module hashes the transaction information confirmed by both parties, the security inspection machine and the relevant information of the package (pictures, etc.) to obtain a hash value.
[0050] The blockchain database management module in the data processing layer module broadcasts the transaction to the "local area network" composed of security inspection machines in the security information traceability system. The node network composed of security inspection machines proves the authenticity of the transaction.
[0051] The blockchain database module is divided into two parts, including the complete blockchain database managed by the security information traceability system and the client database of each participant terminal (i.e. Figure 2 The client database can store both the block information created by the security inspection machine and the complete blockchain information. The complete blockchain database of the security inspection information traceability system stores the complete blockchain content (complete node), while the client database stores the block header information (SPV-like node). Ordinary users can choose to store one of the databases.
[0052] Figure 3 The operation process of an embodiment of the security information traceability system based on blockchain of the present invention is shown. Figure 3At the beginning, the security inspection machine submits the express-related information and the user information of the security inspection machine (such as operator information, organization information, etc.), combines the private key signature information, generates transaction data, and submits it to the SDK (Software Development Kit) to determine whether it passes the endorsement verification. If it fails, the transaction is directly discarded and the data transaction ends. If it passes the endorsement verification, it will be submitted to the upper node and the node information will be generated and broadcast to each node. For transaction information that can pass the submission verification, the transaction record will be finally written into the block. If it cannot pass the submission verification, the transaction will be directly discarded and the data transaction ends.
[0053] After the submission verification is completed, the block is created and uploaded to the blockchain. In theory, the complete blockchain is only stored in the server of the security traceability system, and the security inspection machine only stores the relevant block information it participates in. Security inspection machines that meet specific requirements can be allowed to save complete blocks.
[0054] In a completed transaction, if any party raises doubts, or if both parties have objections or disputes about the transaction, the original block information can be obtained from the blockchain as evidence to resolve the dispute. To verify the authenticity of the evidence, the relevant data saved by the user who participated in the creation of the block at that time can be retrieved from the client's cache data for comparison to verify the authenticity of the evidence.
[0055] Although the above methods are illustrated and described as a series of actions for simplicity of explanation, it should be understood and appreciated that these methods are not limited by the order of the actions, because according to one or more embodiments, some actions may occur in a different order and / or concurrently with other actions from those illustrated and described herein or not illustrated and described herein but understandable to those skilled in the art.
[0056] Those skilled in the art will further appreciate that the various illustrative logic blocks, modules, circuits, and algorithm steps described in conjunction with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or a combination of the two. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps are generally described above in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system. The technician may implement the described functionality in different ways for each specific application, but such implementation decisions should not be interpreted as resulting in a departure from the scope of the present invention.
[0057] The various illustrative logic blocks, modules, and circuits described in conjunction with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in cooperation with a DSP core, or any other such configuration.
[0058] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software module may reside in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read and write information from / to the storage medium. In an alternative, a storage medium may be integrated into a processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In an alternative, the processor and the storage medium may reside in a user terminal as discrete components.
[0059] In one or more exemplary embodiments, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented as a computer program product in software, each function may be stored on or transmitted by a computer-readable medium as one or more instructions or codes. Computer-readable media include both computer storage media and communication media, including any medium that facilitates the transfer of a computer program from one place to another. Storage media may be any available medium that can be accessed by a computer. As an example and not limitation, such a computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer. Any connection is also properly referred to as a computer-readable medium. For example, if the software is transmitted from a website, a server, or other remote source using a coaxial cable, a fiber optic cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves, the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the definition of the medium. Disk and disc as used herein include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, wherein disk often reproduces data magnetically, while disc reproduces data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0060] 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 apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples and designs described herein, but should be granted the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A security information traceability system based on blockchain, It is characterized in that The system includes application layer module, protocol layer module, data processing layer module and blockchain database module, among which: The application layer module is used to provide a human-computer interaction interface to handle statistical analysis operations; The protocol layer module is used for the storage and operation of blockchain-related protocols, as well as the storage and call of consensus algorithms; The data processing layer module is used to hash the transaction information records, generate block information, and return the generated block information to the protocol layer module for verification. It is also responsible for reading and writing the complete blockchain database in the blockchain database module; The blockchain database module includes the complete blockchain database of the security information traceability system and the client database of each participant terminal. Each client database can store both the block information created by the security inspection machine and the complete blockchain information. The complete blockchain database of the security information traceability system stores the complete blockchain content. Among them, the protocol layer module further includes: The equity proof module is configured to let all participating users reach a consensus based on the consensus algorithm, complete the verification of the block, and store the transaction records in the blockchain to ensure the authenticity of the transaction records. The participating users include the security inspection machine, the sender, the recipient and the manager. The items that pass through the security inspection machine are identified and processed, and uploaded to the corresponding platform. During the upload process, the transaction information is certified with other participants. The system provides corresponding conditions and manages the transaction process. For the security inspection machine of one of the participating users, after the data identification is confirmed, the security inspection mark is added to its corresponding data. The received and processed transaction information will be stored and processed, and the information that fails the security inspection will also be stored and processed, and the user does not need to deliberately prove it. Transaction protocol module, used for the storage and operation of blockchain protocols.
2. According to the blockchain-based security information tracing system of claim 1, It is characterized in that The protocol layer module performs two-way transmission with the application layer module and the data processing layer module respectively, and the blockchain database module performs two-way transmission with the application layer module and the data processing layer module respectively.
3. According to the blockchain-based security information tracing system of claim 1, It is characterized in that The application layer module further includes: The object image module is used to receive the information of the object image acquired and uploaded by the security inspection machine used in the express logistics link during normal operation; The backend control module is used to manage and control the security inspection machine, including monitoring and canceling related transactions, but cannot modify the transaction content; The transaction confirmation module is used to confirm the integrity and certainty of the transaction to confirm whether the transaction is completed.
4. According to the blockchain-based security information tracing system of claim 1, It is characterized in that The express logistics link includes express branches, transfer centers, and stations.
5. According to the blockchain-based security information tracing system of claim 1, It is characterized in that The background control module is further configured as follows: when the security inspection machine creates a block, its client will automatically participate in the certification process, among which the client of the ordinary security inspection machine will retain the relevant data of the block as a basis for arbitration in case of disputes.
6. According to the blockchain-based security information tracing system of claim 1, It is characterized in that The background control module is further configured to realize the formation and storage of blockchain and identify the legitimacy of items.
7. According to the blockchain-based security information tracing system of claim 1, It is characterized in that The data processing layer module further includes: The blockchain database management module is used to record the generated information in the blockchain database when the block creation is completed after the transaction is completed; A transaction record processing module is used to record each transaction in the information transaction process; The data processing module is used to process transaction information records and return block information to the protocol layer module for verification.
