CN111489466A - Multi-user circulation and sharing method based on secondary locking hook lock - Google Patents

Multi-user circulation and sharing method based on secondary locking hook lock Download PDF

Info

Publication number
CN111489466A
CN111489466A CN202010423620.1A CN202010423620A CN111489466A CN 111489466 A CN111489466 A CN 111489466A CN 202010423620 A CN202010423620 A CN 202010423620A CN 111489466 A CN111489466 A CN 111489466A
Authority
CN
China
Prior art keywords
locking mechanism
user
lock
information
hook lock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010423620.1A
Other languages
Chinese (zh)
Inventor
焦庆春
吴杰杰
邹瑜凯
杨若斐
王利军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Lover Health Science and Technology Development Co Ltd
Zhejiang University of Science and Technology ZUST
Original Assignee
Zhejiang Lover Health Science and Technology Development 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 Zhejiang Lover Health Science and Technology Development Co Ltd filed Critical Zhejiang Lover Health Science and Technology Development Co Ltd
Priority to CN202010423620.1A priority Critical patent/CN111489466A/en
Publication of CN111489466A publication Critical patent/CN111489466A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B47/0001Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof
    • E05B47/0012Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof with rotary electromotors
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B73/00Devices for locking portable objects against unauthorised removal; Miscellaneous locking devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/10Coin-freed apparatus for hiring articles; Coin-freed facilities or services for means for safe-keeping of property, left temporarily, e.g. by fastening the property
    • G07F17/12Coin-freed apparatus for hiring articles; Coin-freed facilities or services for means for safe-keeping of property, left temporarily, e.g. by fastening the property comprising lockable containers, e.g. for accepting clothes to be cleaned
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0631Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B2047/0048Circuits, feeding, monitoring
    • E05B2047/0057Feeding
    • E05B2047/0058Feeding by batteries
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B2047/0048Circuits, feeding, monitoring
    • E05B2047/0057Feeding
    • E05B2047/0062Feeding by generator
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • G07C2009/00412Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal being encrypted

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Development Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Medical Informatics (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a multi-user circulation and sharing method and a device based on a secondary locking hook lock, comprising a hook lock with a primary locking mechanism and a secondary locking mechanism; an initial user starts a primary locking mechanism and a secondary locking mechanism at the same time, the primary locking mechanism is used for locking the hook lock, and the secondary locking mechanism is used for locking an article; 1 or more than 1 transfer user starts a primary locking mechanism for the circulation of the hook lock and the articles; and finally, starting a secondary locking mechanism by the end user to unlock and take the article. The invention realizes the whole-course protection of article circulation by sharing the hook lock, and reduces the problems of article loss or damage by people and the like.

Description

Multi-user circulation and sharing method based on secondary locking hook lock
The invention relates to the technical field of article circulation sharing, in particular to a multi-user circulation and sharing method based on a secondary locking hook lock.
Background
With the rapid development of economy and internet technology, online buying, selling and sharing of economy become important components of people's lives. In the industry, such as logistics, express delivery, take-out and the like, the core part of the industry is the circulation among articles, namely, the articles are sent out from an initial user, the articles are circulated among transit users, and finally the articles are circulated to the hands of terminal users, so that a complete circulation process is formed; for example, a merchant in the express delivery industry sends out an article, and the article is delivered by an express delivery company until a buyer sends the article; the method comprises the following steps that a merchant in the take-out industry packs food, and delivers the food to a diner through a take-out guy; then, as in city delivery, the initial user hands the item to a city delivery clerk for delivery to the harvester. However, in some current situations, it may happen that an article cannot be directly transferred from a single relay user to an end user, so that the existing method is that the relay user directly places the article at a specified position and then takes the article by the end user, or after the relay user places the article at the specified position, the next relay user transfers the article to a specified position closer to the end user (for example, after a takeaway or express brother sends a takeout or express to a cell doorway, the article is delivered to a cell downstairs by a person in the same cell, etc.), and finally the article is taken by the end user; therefore, there are problems that the articles are lost or damaged and stolen, and therefore, the investigation of the articles will cause loss and waste of manpower and material resources, and therefore, it is necessary to develop an article circulation method capable of solving the problems.
Disclosure of Invention
The invention aims to provide a multi-user circulation and sharing method based on a secondary locking hook lock. The invention realizes the whole-course protection of article circulation by sharing the hook lock, and reduces the problems of article loss or damage by people and the like.
The technical scheme of the invention is as follows: a takeaway distribution method based on multi-user circulation comprises a hook lock with a primary locking mechanism and a secondary locking mechanism; an initial user starts a primary locking mechanism and a secondary locking mechanism at the same time, the primary locking mechanism is used for locking the hook lock, and the secondary locking mechanism is used for locking an article; 1 or more than 1 transfer user starts a primary locking mechanism for hook lock and article circulation; and finally, starting a secondary locking mechanism by the terminal user to unlock and take the article.
The multi-user circulation and sharing method based on the secondary locking hook lock comprises the following steps;
initializing a system, wherein a primary locking mechanism and a secondary locking mechanism of the hook lock are both in an open state; the initial user places an article in a secondary locking mechanism of the hook lock, the secondary locking mechanism locks, and then information of the article and information of a lock body of the hook lock are transmitted to the cloud server;
the cloud server transmits the article information and the lock body information to 1 or more than 1 transfer user, and authorizes the transfer user to open and close the primary locking mechanism; then, the transfer user transfers the articles and transfers the article information updated in real time back to the cloud server;
article are through 1 or more than 1 transfer user's circulation, are sent to appointed receiving point after, and the transfer user utilizes one-level locking mechanism to lock the couple lock in article receiving point department of hanging, article information and lock body information transmission to end user again are with the cloud ware to authorize end user to carry out opening of one-level locking structure and second grade locking mechanism, be used for end user's getting the thing.
The multi-user circulation and sharing method based on the secondary locking hook lock specifically comprises the following steps;
a. initializing a system, wherein a primary locking mechanism and a secondary locking mechanism of the hook lock are both in an open state; the system is authorized to be used by an initial user, the initial user scans a dynamic code of the hook lock to obtain article information and lock body information, the article information and the lock body information form a relation type info (A) through a function F and are uploaded to a cloud server, and meanwhile, the initial user locks the article into a secondary locking mechanism of the hook lock and locks the primary locking mechanism of the hook lock;
b. the method comprises the steps that a first transfer user is authorized to perform first circulation, a cloud server sends information of info (A) to the first transfer user, the information obtained by scanning a dynamic code on a hook lock by the first transfer user is matched with the information sent to the first transfer user by the cloud server, the cloud server sends an unlocking instruction after the matching is correct, a first-stage locking mechanism of the hook lock is enabled to be unlocked, meanwhile, the information of the first transfer user is combined with the info (A) to form info (B), and then the info (B) is transmitted to the cloud server; after the first transfer user transfers the articles to the appointed receiving point, the first transfer user locks the articles to the appointed receiving point by using the primary locking mechanism;
c. the N transfer user is authorized to perform N transfer, the cloud server transfers the Info (B) to the N transfer user, the information obtained by scanning the dynamic code on the hook lock by the N transfer user is matched with the information sent to the N transfer user by the cloud server, after the matching is correct, the cloud server sends an unlocking instruction to open a primary locking mechanism of the hook lock, meanwhile, the information of the N transfer user is combined with the Info (N-1) to form Info (N), the Info (N) is transferred to the cloud server, and the N transfer user performs transfer; after the Nth transfer user transfers the articles to the appointed receiving point, the Nth transfer user locks the articles to the hanging position of the receiving point by using the primary locking mechanism;
d. the cloud server sends the info (N) information to the terminal user, the information obtained by scanning the dynamic code on the hook lock by the terminal user is matched with the information sent to the terminal user by the cloud server, and after the matching is correct, the cloud server sends an unlocking instruction, so that the primary locking mechanism and the secondary locking mechanism of the hook lock are simultaneously opened, and the final fetching is carried out.
In the multi-user circulation and sharing method based on the secondary locking hook lock, the article information comprises platform APP information, order numbers, user information and position information, and the lock body information comprises manufacturer numbers and lock number codes; and the initial user, the transfer user and the terminal user adopt the same platform APP to scan the dynamic codes.
In the foregoing multi-user circulation and sharing method based on the secondary locking hook lock, the unlocking of the primary locking mechanism and/or the secondary locking mechanism of the hook lock specifically includes combining information obtained by scanning by the relay user or the terminal user with Info in each step by using a matrix:
Figure BDA0002497857340000041
in the formula: odd is the order number; no is the lock body information of the hook lock; in Cn, when n is 1, it is denoted as a primary locking mechanism of the hook lock, and when n is 2, it is denoted as a secondary locking mechanism of the hook lock; in tp (n), when n is 1, it is denoted as an initial user, when n is 2, it is denoted as a relay user, and when n is 3, it is denoted as an end user; t is the time used in a certain step, and info (N) is the combination of the information of the relay user and info (A);
and when the Odd No and the Tp (n) Info (n) are matched with the information obtained by scanning the dynamic code on the hook lock by the relay user or the end user, opening the primary locking mechanism and/or the secondary locking mechanism according to the permission of the Tp (n).
In the foregoing multi-user circulation and sharing method based on the secondary locking hook lock, the cloud server further performs an interactive encryption authorization authentication operation, and encrypts, as a plaintext P1, a relationship formed by a function of platform APP information, an order number Odd, lock body information No of the hook lock, and a registered user tp (n) by using AES:
C=E(K,P1);
in the formula, C is a cipher text, K is a key, and E is an encryption function;
the plaintext P1.1 obtained by decoding is:
P1.1=D(K,C);
in the formula: d is a cipher text, K is a key, and E is a decryption function;
according to the permission of Tp (n), when a transit user scans and delivers, P1.1 is P1 is info (B), and the cloud server sends an unlocking instruction of the secondary locking mechanism;
when an end user scans and takes an article, P1.1 is P1 is info (N), and the cloud server sends an unlocking instruction of the primary locking mechanism and the secondary locking mechanism.
The device based on the multi-user circulation and sharing method of the secondary locking hook lock comprises a lock body, wherein a separation strip is arranged in the middle of the lock body; the lock body is divided into a first lock cavity and a second lock cavity through a separation strip, the first lock cavity is provided with a first opening, and a primary locking mechanism is arranged on the first opening; the second lock cavity is provided with a second opening, and a secondary locking mechanism is arranged on the second opening; the side surface of the upper end of the lock body is provided with a dynamic code; a battery is embedded at the upper end of the lock body; the inner side surface of the lock body is also provided with a control circuit board, a communication module and a USB interface; the battery, the primary locking mechanism, the secondary locking mechanism, the communication module and the USB interface are respectively connected with the control circuit board.
In the above device, the lock body is fan-shaped; the first lock cavity is in an inverted trapezoid shape, and a first pressure power generation device is arranged at the top of the first lock cavity; the second lock cavity is in an inverted triangle shape, and a second pressure power generation device is arranged at the bottom end of the second lock cavity; the first pressure generating device and the second pressure generating device are respectively connected with the battery through the control circuit board.
In the device, the primary locking mechanism and the secondary locking mechanism both adopt telescopic locks, and comprise motors arranged on one sides of the first opening and the second opening, and the output end of each motor is connected with a telescopic lock tongue; and the other sides of the first opening and the second opening are correspondingly provided with closed relays matched with the telescopic lock tongues.
In the foregoing device, the control circuit board includes a communication control module, an identity verification determination module, a motor locking and unlocking control module, a self-power-generation charging control module, and a display control module; the communication module is GSM, GPRS, NBlot, WIFI or lora.
Compared with the prior art, the invention has the advantages that by arranging the hook lock with the primary locking mechanism and the secondary locking mechanism, when in use, the primary user starts the primary locking mechanism and the secondary locking mechanism at the same time, the primary locking mechanism is used for locking the hook lock, the secondary locking mechanism is used for locking the article, the primary user locks the article through the primary locking mechanism of the hook lock and locks the article for takeaway, then the primary locking mechanism is started by 1 or more than 1 transfer user, the hook lock and the articles locked by the hook lock are transferred, and finally when the articles are transferred to the terminal user, the terminal user explains and takes the articles, in the process, the invention can utilize the matching of the primary locking mechanism and the secondary locking mechanism, thereby ensuring that the articles are protected in the whole process of circulation; specifically, an initial user places an article in a secondary locking mechanism of a hook lock, the secondary locking mechanism is locked, then article information and lock body information of the hook lock are transmitted to a cloud server, the article information and the lock body information are interconnected through the cloud server, then the article information and the lock body information are transmitted to an appointed transfer user through the cloud server, the appointed transfer user is authorized to open and close the primary locking mechanism, then the transfer user transfers the article, and the article information updated in real time is transferred back to the cloud server; after the current transfer article is transferred to a designated position, the cloud server transmits updated article information and lock body information to a designated next transfer user, the next transfer user transfers the article to a designated receiving point, the transfer user locks the hook at the hanging position of the article receiving point by using the primary locking mechanism and updates the article information, then the cloud server transmits the article information and the lock body information to the terminal user, and authorizes the terminal user to open the primary locking structure and the secondary locking mechanism for the terminal user to take articles; furthermore, the article information and the lock body information are interconnected to form a relational expression, so that the information can be recorded and updated in real time through the relational expression in the circulation process of the articles, subsequent process marking and tracing can be conveniently carried out, the fact that problems occur in the circulation of the articles is convenient for falling into real responsibility and reducing subsequent disputes, therefore, the problems of article loss and damage by people can be greatly reduced, the circulation process is visualized, and the problem links can be monitored through cloud service records when disputes occur. Furthermore, the invention also keeps the relation of the article information secret by an AES encryption mode, reduces the occurrence of artificial cracking and greatly improves the security of takeout distribution.
Drawings
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a schematic representation of the steps of the present invention;
FIG. 3 is a flow chart of the interactive cryptographic authorization authentication operation of the present invention;
FIG. 4 is a schematic view of the hook lock configuration of the present invention;
fig. 5 is a schematic view of the telescopic lock structure.
Reference numerals
1. A lock body; 2. a spacer bar; 3. a first lock cavity; 4. a second lock cavity; 5. a primary locking mechanism; 6. a secondary locking mechanism; 7. a dynamic code; 8. a battery; 9. a control circuit board; 10. A USB interface; 11. a first pressure generating device; 12. a second pressure generating device; 13. a second opening; 14. a motor; 15. a telescopic bolt; 16. closing the relay; 17. a second opening.
Detailed Description
The invention is further illustrated by the following figures and examples, which are not to be construed as limiting the invention.
Example 1: a multi-user circulation and sharing method based on a secondary locking hook lock comprises a hook lock with a primary locking mechanism and a secondary locking mechanism; as shown in fig. 1, an initial user simultaneously activates the primary locking mechanism and the secondary locking mechanism, locks the hook lock with the primary locking mechanism, and locks the article with the secondary locking mechanism; 1 or more than 1 transfer user starts a primary locking mechanism for the hook lock and the circulation of articles; and finally, starting a secondary locking mechanism by the terminal user to unlock and take the article.
Example 2: a multi-user circulation and sharing method based on a secondary locking hook lock comprises a hook lock with a primary locking mechanism and a secondary locking mechanism; the method comprises the following steps:
initializing a system, wherein a primary locking mechanism and a secondary locking mechanism of the hook lock are both in an open state; the initial user places an article in a secondary locking mechanism of the hook lock, the secondary locking mechanism locks, and then information of the article and information of a lock body of the hook lock are transmitted to the cloud server; the article information comprises platform APP information, an order number, user information and position information, and the lock body information comprises a manufacturer number and a lock number code; the initial user, the transit user and the terminal user adopt the same platform APP to scan the dynamic codes;
the cloud server transmits the article information and the lock body information to 1 or more than 1 transfer user, and authorizes the transfer user to open and close the primary locking mechanism; then, the transfer user transfers the articles and transfers the article information updated in real time back to the cloud server;
after the articles are transferred to a designated receiving point through the circulation of 1 or more than 1 transfer user, the transfer user locks the hook at the hanging position of the article receiving point by using a primary locking mechanism, wherein the hanging position is a closed hanging rod; and the cloud server transmits the article information and the lock body information to the terminal user, authorizes the terminal user to open the primary locking structure and the secondary locking mechanism and is used for taking the article by the terminal user.
Example 3: a multi-user circulation and sharing method based on a secondary locking hook lock comprises a hook lock with a primary locking mechanism and a secondary locking mechanism; as shown in fig. 2, the following steps are performed:
a. initializing a system, wherein a primary locking mechanism and a secondary locking mechanism of the hook lock are both in an open state; the system is authorized to be used by an initial user, the initial user scans a dynamic code of the hook lock to obtain article information and lock body information, the article information and the lock body information form a relation type info (A) through a function F and are uploaded to a cloud server, and meanwhile, the initial user locks the article into a secondary locking mechanism of the hook lock and locks the primary locking mechanism of the hook lock; the article information comprises platform APP information, an order number, user information and position information, and the lock body information comprises a manufacturer number and a lock number code; the initial user, the transfer user and the terminal user adopt the same platform APP to scan the dynamic codes; the function F is not a functional relational expression in mathematics, the function in the embodiment is only to link a plurality of arguments in the takeout information, and has no specific operation result, and the arguments are combined into a whole through operation symbols, so that the cloud server can store the arguments conveniently, and therefore, the specific function form can be changed according to needs;
b. the method comprises the steps that a first transfer user is authorized to perform first circulation, a cloud server sends information of info (A) to the first transfer user, the information obtained by scanning a dynamic code on a hook lock by the first transfer user is matched with the information sent to the first transfer user by the cloud server, the cloud server sends an unlocking instruction after the matching is correct, a first-stage locking mechanism of the hook lock is enabled to be unlocked, meanwhile, the information of the first transfer user is combined with the info (A) to form info (B), and then the info (B) is transmitted to the cloud server; after the first transfer user transfers the articles to the appointed receiving point, the first transfer user locks the articles to the appointed receiving point by using the primary locking mechanism;
c. the N transfer user is authorized to perform N transfer, the cloud server transfers the Info (B) to the N transfer user, the information obtained by scanning the dynamic code on the hook lock by the N transfer user is matched with the information sent to the N transfer user by the cloud server, after the matching is correct, the cloud server sends an unlocking instruction to open a primary locking mechanism of the hook lock, meanwhile, the information of the N transfer user is combined with the Info (N-1) to form Info (N), the Info (N) is transferred to the cloud server, and the N transfer user performs transfer; after the Nth transfer user transfers the articles to the appointed receiving point, the Nth transfer user locks the articles to the hanging position of the receiving point by using the primary locking mechanism;
d. the cloud server sends the info (N) information to the terminal user, the information obtained by scanning the dynamic code on the hook lock by the terminal user is matched with the information sent to the terminal user by the cloud server, and after the matching is correct, the cloud server sends an unlocking instruction, so that the primary locking mechanism and the secondary locking mechanism of the hook lock are simultaneously opened, and the final fetching is carried out.
In the above steps, the unlocking of the primary locking mechanism and/or the secondary locking mechanism of the hook lock is specifically that a matrix is used to combine information obtained by scanning by a relay user or a terminal user with Info in each step:
Figure BDA0002497857340000101
in the formula: odd is the order number; no is the lock body information of the hook lock; in Cn, when n is 1, it is denoted as a primary locking mechanism of the hook lock, and when n is 2, it is denoted as a secondary locking mechanism of the hook lock; in tp (n), when n is 1, it is denoted as an initial user, when n is 2, it is denoted as a relay user, and when n is 3, it is denoted as an end user; t is the time used in a certain step, and info (N) is the combination of the information of the relay user and info (A);
example 4: a multi-user circulation and sharing method and device based on a secondary locking hook lock comprises a hook lock with a primary locking mechanism and a secondary locking mechanism; as shown in fig. 4 and 5, the hook lock comprises a lock body 1, and a separation strip 2 is arranged in the middle of the lock body 1; the lock body 1 is divided into a first lock cavity 3 and a second lock cavity 4 through a separation strip 2, the first lock cavity 3 is provided with a first opening 17, and a first-stage locking mechanism 5 is arranged on the first opening 17; the second locking cavity 4 is provided with a second opening 13, and a secondary locking mechanism 6 is arranged on the second opening 13; the side surface of the upper end of the lock body 1 is provided with a dynamic code 7; a battery 8 is embedded at the upper end of the lock body 1; the inner side surface of the lock body 1 is also provided with a control circuit board 9, a communication module 18 and a USB interface 10; the battery 8, the primary locking mechanism 5, the secondary locking mechanism 6, the communication module 18 and the USB interface 10 are respectively connected with the control circuit board 9; the lock body 1 is fan-shaped; the first lock cavity 3 is in an inverted trapezoid shape, and a first pressure power generation device 11 is arranged at the top of the first lock cavity 3; the second lock cavity 4 is in an inverted triangle shape, and a second pressure generating device 12 is arranged at the bottom end of the second lock cavity 4; the first pressure generating device 11 and the second pressure generating device 12 are respectively connected with the battery 8 through a control circuit board 9, and PZT ceramic power generating sheets are adopted by the first pressure generating device 11 and the second pressure generating device 12; the first-stage locking mechanism 5 and the second-stage locking mechanism 6 both adopt telescopic locks and comprise motors 14 arranged on one sides of a first opening 17 and a second opening 13, and the output ends of the motors 14 are connected with telescopic lock tongues 15; and the other sides of the first opening 17 and the second opening 13 are respectively and correspondingly provided with a closing relay 16 matched with the telescopic bolt 15. The control circuit board 9 comprises a communication control module, an identity verification judging module, a switch lock motor control module, a self-power-generation charging control module and a display control module; the communication module 18 is a GSM communication module;
according to the hook lock, the selling distribution is taken as an example, and the method comprises the following steps:
a. initializing a system, wherein a primary locking mechanism and a secondary locking mechanism of the hook lock are both in an open state; the system is authorized to be used by an initial user (a merchant), the initial user scans a dynamic code of the hook lock to obtain article information and lock body information, the article information and the lock body information form a relational info (A) through a function F and are uploaded to a cloud server, meanwhile, the initial user locks a takeaway into a secondary locking mechanism of the hook lock and locks a primary locking mechanism to a closed hanging rod of a rack; the article information comprises platform APP information, order numbers, user information and position information, the lock body information comprises manufacturer numbers 1-9999, platform codes 1-10, merchant codes 1-9999 and lock number codes 1-9999, for example, the lock body information combined as NO-12-1234 indicates that the lock is used for the 1234 th handle lock of the 1234 th merchant on the 2 nd platform produced by the 1 st manufacturer; the initial user, the transfer user and the terminal user adopt the same platform APP to scan the dynamic code; it should be noted that the function F is not a specific functional relational expression in mathematics, the function in this embodiment is only to link a plurality of arguments in the takeout information, and there is no specific operation result, and the arguments are combined together through operation symbols, so that the cloud server can store the arguments, and thus the form of the specific function can be changed as needed;
b. the method comprises the steps that a first transfer user (takeaway distributor) is authorized to perform first circulation, a cloud server sends info (A) information to the first transfer user, the first transfer user scans information obtained by scanning a dynamic code on a hook lock to match with the information sent by the cloud server to the first transfer user, the cloud server sends an unlocking instruction after the matching is correct, a first-stage locking mechanism of the hook lock is opened, the first-stage locking mechanism is closed after the first transfer user obtains the hook lock and an article, meanwhile, the information of the first transfer user is combined with the info (A) to form info (B), and then the info (B) is transmitted to the cloud server; after the first transfer user transfers the articles to the appointed receiving point, the first transfer user locks the articles to the appointed receiving point (on a closed hanging rod of a goods shelf at a community gate) by using a primary locking mechanism;
c. the second transit user (cell owner or property personnel) is authorized to perform second transit, the cloud server transmits the info (B) to the second transit user, the information obtained by scanning the dynamic code on the hook lock by the second transit user is matched with the information transmitted to the second transit user by the cloud server, the cloud server transmits an unlocking instruction after the matching is correct, a first-stage locking mechanism of the hook lock is opened, meanwhile, the information of the second transit user is combined with the info (B) to form info (C), the info (C) is transmitted to the cloud server, and then the second transit user performs transit; the second transfer user locks the article after transferring the article to a designated receiving point (downstairs of the unit), and locks the article to a hanging position of the receiving point by using a primary locking mechanism;
the third transit user (the owner of the building) is authorized to perform the third circulation, the cloud server transmits the info (C) to the third transit user, the information obtained by scanning the dynamic code on the hook lock by the third transit user is matched with the information transmitted to the third transit user by the cloud server, the cloud server transmits an unlocking instruction after the matching is correct, a first-stage locking mechanism of the hook lock is opened, meanwhile, the information of the third transit user is combined with the info (C) to form info (D), the info (D) is transmitted to the cloud server, and then the third transit user performs the circulation; after the third transfer user transfers the article stream to a specified receiving point (a door of a meal orderer), the third transfer user locks the article to a hanging position of the receiving point by using a primary locking mechanism;
d. the cloud server sends the info (D) information to a terminal user (a meal ordering person), the information obtained by scanning the dynamic code on the hook lock by the terminal user is matched with the information sent to the terminal user by the cloud server, and after the matching is correct, the cloud server sends an unlocking instruction to enable a primary locking mechanism and a secondary locking mechanism of the hook lock to be simultaneously unlocked for carrying out final takeout meal taking; after the meal is taken, the hook lock collection can be transmitted to a nearest merchant by a subsequent terminal user when going out, or transmitted to the merchant by a delivery point placed at the cell gate by a takeout person, or uniformly recovered to a collection point at the cell gate by the merchant, or the like, or the hook lock collection can be recovered and utilized by adopting an incentive policy;
in the above steps, the unlocking of the primary locking mechanism and/or the secondary locking mechanism of the hook lock is specifically that a matrix is used to combine information obtained by scanning by a relay user or a terminal user with Info in each step:
Figure BDA0002497857340000141
in the formula: odd is the order number; no is the lock body information of the hook lock; in Cn, when n is 1, it is denoted as a primary locking mechanism of the hook lock, and when n is 2, it is denoted as a secondary locking mechanism of the hook lock; in tp (n), when n is 1, it is denoted as an initial user, when n is 2, it is denoted as a relay user, and when n is 3, it is denoted as an end user; t is the time used in a certain step, and info (N) is the combination of the information of the relay user and info (A);
and when the Odd No and the Tp (n) Info (n) are matched with the information obtained by scanning the dynamic code on the hook lock by the relay user or the end user, opening the primary locking mechanism and/or the secondary locking mechanism according to the permission of the Tp (n).
As shown in fig. 3, the cloud server further employs an interactive encryption authorization authentication operation, and encrypts, by AES, platform APP information, the order number Odd, the lock body information No of the hook lock, and the registered user tp (n) as plaintext P1 via a relationship formed by functions:
C=E(K,P1);
in the formula, C is a cipher text, K is a key, and E is an encryption function;
the plaintext P1.1 obtained by decoding is:
P1.1=D(K,C);
in the formula: d is a cipher text, K is a key, and E is a decryption function;
according to the permission of Tp (n), when a transit user scans and delivers, P1.1 is P1 is info (B), and the cloud server sends an unlocking instruction of the secondary locking mechanism;
when an end user scans and takes an article, P1.1 is P1 is info (N), and the cloud server sends an unlocking instruction of the primary locking mechanism and the secondary locking mechanism.
In summary, the present invention provides a hook lock having a primary locking mechanism and a secondary locking mechanism, wherein, in use, an initial user simultaneously starts the primary locking mechanism and the secondary locking mechanism, the primary locking mechanism locks the hook lock, the secondary locking mechanism locks an article, the initial user locks the article through the primary locking mechanism of the hook lock for locking the hook lock, the secondary locking mechanism locks the take-out article, then the primary locking mechanism is started by 1 or more relay users, the hook lock and the article locked by the hook lock are circulated, and finally the article is circulated and taken by an end user when the article is circulated to the end user, in the process, the present invention can utilize the cooperation of the primary locking mechanism and the secondary locking mechanism, thereby the article is protected in the whole course, furthermore, the article information and the lock body information are interconnected to form a relational expression, so that the article can record and update information in real time through the relational expression in the circulation process, subsequent process marking and tracking are facilitated, the fact that problems occur in the circulation of the article is convenient, the responsibility is easy to implement, and subsequent disputes are reduced. Furthermore, the invention also keeps the relation of the article information secret by an AES encryption mode, reduces the occurrence of artificial cracking and greatly improves the security of takeout distribution.

Claims (10)

1. A multi-user circulation and sharing method based on a secondary locking hook lock is characterized in that: the hook lock comprises a hook lock with a primary locking mechanism and a secondary locking mechanism; an initial user starts a primary locking mechanism and a secondary locking mechanism at the same time, the primary locking mechanism is used for locking the hook lock, and the secondary locking mechanism is used for locking an article; 1 or more than 1 transfer user starts a primary locking mechanism for the circulation of the hook lock and the articles; and finally, starting a secondary locking mechanism by the end user to unlock and take the article.
2. The multi-user circulation and sharing method based on the secondary locking hook lock as claimed in claim 1, wherein: comprises the following steps;
initializing a system, wherein a primary locking mechanism and a secondary locking mechanism of the hook lock are both in an open state; the initial user places an article in a secondary locking mechanism of the hook lock, the secondary locking mechanism locks, and then information of the article and information of a lock body of the hook lock are transmitted to the cloud server;
the cloud server transmits the article information and the lock body information to 1 or more than 1 transfer user, and authorizes the transfer user to open and close the primary locking mechanism; then, the transfer user transfers the articles and transfers the article information updated in real time back to the cloud server;
article are through 1 or more than 1 transfer user's circulation, are delivered to appointed receiving point after, and the transfer user utilizes one-level locking mechanism to lock the couple lock in article receiving point department of hanging, the cloud ware is again with article information and lock body information transmission to end user to authorize end user to carry out opening of one-level locking structure and second grade locking mechanism, be used for end user's getting the thing.
3. The multi-user circulation and sharing method based on the secondary locking hook lock as claimed in claim 1 or 2, wherein: the method specifically comprises the following steps;
a. initializing a system, wherein a primary locking mechanism and a secondary locking mechanism of the hook lock are both in an open state; the system is authorized to be used by an initial user, the initial user scans a dynamic code of the hook lock to obtain article information and lock body information, the article information and the lock body information form a relational info (A) through a function F and are uploaded to a cloud server, meanwhile, the initial user locks the article in a secondary locking mechanism of the hook lock and locks the primary locking mechanism of the hook lock;
b. the method comprises the steps that a first transfer user is authorized to perform first circulation, a cloud server sends info (A) information to the first transfer user, the information obtained by scanning a dynamic code on a hook lock by the first transfer user is matched with the information sent to the first transfer user by the cloud server, the cloud server sends an unlocking instruction after the matching is correct, a first-stage locking mechanism of the hook lock is unlocked, meanwhile, the information of the first transfer user is combined with the info (A) to form info (B), and then the info (B) is transmitted to the cloud server; after the first transfer user transfers the articles to the appointed receiving point, the first transfer user locks the articles to the appointed receiving point by using the primary locking mechanism;
c. the method comprises the steps that an Nth transfer user is authorized to perform N-th transfer, a cloud server transmits Info (B) to the Nth transfer user, the information obtained by scanning a dynamic code on a hook lock by the Nth transfer user is matched with information sent to the Nth transfer user by the cloud server, the cloud server sends an unlocking instruction after the matching is correct, a primary locking mechanism of the hook lock is opened, meanwhile, the information of the Nth transfer user is combined with the Info (N-1) to form Info (N), the Info (N) is transmitted to the cloud server, and the Nth transfer user performs transfer; after the Nth transfer user transfers the articles to the appointed receiving point, the Nth transfer user locks the articles to the hanging position of the receiving point by using the primary locking mechanism;
d. the cloud server sends the info (N) information to the terminal user, the information obtained by scanning the dynamic code on the hook lock by the terminal user is matched with the information sent to the terminal user by the cloud server, and after the matching is correct, the cloud server sends an unlocking instruction, so that the primary locking mechanism and the secondary locking mechanism of the hook lock are simultaneously opened, and the final fetching is carried out.
4. The multi-user circulation and sharing method based on the secondary locking hook lock as claimed in claim 2 or 3, wherein: the article information comprises platform APP information, an order number, user information and position information, and the lock body information comprises a manufacturer number and a lock number code; and the initial user, the transfer user and the terminal user adopt the same platform APP to scan the dynamic codes.
5. The multi-user circulation and sharing method based on the secondary locking hook lock as claimed in claim 4, wherein: specifically, the unlocking of the primary locking mechanism and/or the secondary locking mechanism of the hook lock is realized by combining information obtained by scanning of a relay user or a terminal user with Info in each step by using a matrix:
Figure FDA0002497857330000031
in the formula: odd is the order number; no is the lock body information of the hook lock; in Cn, when n is 1, the locking mechanism is a primary locking mechanism of the hook lock, and when n is 2, the locking mechanism is a secondary locking mechanism of the hook lock; in tp (n), when n is 1, it is denoted as an initial user, when n is 2, it is denoted as a relay user, and when n is 3, it is denoted as an end user; t is the time used in a certain step, and info (N) is the combination of the information of the relay user and info (A);
and when the Odd No and the Tp (n) Info (n) are matched with the information obtained by scanning the dynamic code on the hook lock by the relay user or the end user, opening the primary locking mechanism and/or the secondary locking mechanism according to the permission of the Tp (n).
6. The multi-user circulation and sharing method based on the secondary locking hook lock of claim 5: the cloud server further adopts interactive encryption authorization authentication operation, and uses AES to encrypt a relation formed by the platform APP information, the order number Odd, the lock body information No of the hook lock and the function of the registered user Tp (n) as a plaintext P1:
C=E(K,P1);
in the formula, C is a cipher text, K is a key, and E is an encryption function;
the plaintext P1.1 obtained by decoding is:
P1.1=D(K,C);
in the formula: d is a cipher text, K is a key, and E is a decryption function;
according to the permission of Tp (n), when a transit user scans and delivers, P1.1 is P1 is info (B), and the cloud server sends an unlocking instruction of the secondary locking mechanism;
when an end user scans and takes an article, P1.1 is P1 is info (N), and the cloud server sends unlocking instructions of the primary locking mechanism and the secondary locking mechanism.
7. The device of the multi-user circulation and sharing method based on the secondary locking hook lock as claimed in any one of claims 1 to 6, wherein: comprises a lock body (1), wherein the middle part of the lock body (1) is provided with an isolating strip (2); the lock body (1) is divided into a first lock cavity (3) and a second lock cavity (4) through a separation bar (2), the first lock cavity (3) is provided with a first opening (17), and a first-stage locking mechanism (5) is arranged on the first opening (17); the second lock cavity (4) is provided with a second opening (13), and a secondary locking mechanism (6) is arranged on the second opening (13); the side surface of the upper end of the lock body (1) is provided with a dynamic code (7); a battery (8) is embedded at the upper end of the lock body (1); the inner side surface of the lock body (1) is also provided with a control circuit board (9), a communication module (18) and a USB interface (10); the battery (8), the primary locking mechanism (5), the secondary locking mechanism (6), the communication module (18) and the USB interface (10) are respectively connected with the control circuit board (9).
8. The apparatus of claim 7, wherein: the lock body (1) is fan-shaped; the first lock cavity (3) is in an inverted trapezoid shape, and a first pressure power generation device (11) is arranged at the top of the first lock cavity (3); the second lock cavity (4) is in an inverted triangle shape, and a second pressure generating device (12) is arranged at the bottom end of the second lock cavity (4); the first pressure generating device (11) and the second pressure generating device (12) are respectively connected with the battery (8) through the control circuit board (9).
9. The apparatus of claim 8, wherein: the primary locking mechanism (5) and the secondary locking mechanism (6) both adopt telescopic locks and comprise motors (14) arranged on one sides of the first opening (17) and the second opening (13), and the output ends of the motors (14) are connected with telescopic lock tongues (15); and the other sides of the first opening (17) and the second opening (13) are correspondingly provided with a closed relay (16) matched with the telescopic bolt (15).
10. The device according to claim 7, wherein the control circuit board (9) comprises a communication control module, an identity verification judgment module, a switch and lock motor control module, a self-power-generation charging control module and a display control module, and the communication module (18) is a GSM, GPRS, NB-loT, WIFI or L oRa communication module.
CN202010423620.1A 2020-05-19 2020-05-19 Multi-user circulation and sharing method based on secondary locking hook lock Pending CN111489466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010423620.1A CN111489466A (en) 2020-05-19 2020-05-19 Multi-user circulation and sharing method based on secondary locking hook lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010423620.1A CN111489466A (en) 2020-05-19 2020-05-19 Multi-user circulation and sharing method based on secondary locking hook lock

Publications (1)

Publication Number Publication Date
CN111489466A true CN111489466A (en) 2020-08-04

Family

ID=71792069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010423620.1A Pending CN111489466A (en) 2020-05-19 2020-05-19 Multi-user circulation and sharing method based on secondary locking hook lock

Country Status (1)

Country Link
CN (1) CN111489466A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112634537A (en) * 2020-12-16 2021-04-09 广州大学 Takeaway intelligent temporary storage anti-theft system and temporary storage method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112634537A (en) * 2020-12-16 2021-04-09 广州大学 Takeaway intelligent temporary storage anti-theft system and temporary storage method thereof

Similar Documents

Publication Publication Date Title
CN109155096A (en) Delivering for package and the automatic storage cabinet system and method got
US8078885B2 (en) Identity authentication and secured access systems, components, and methods
CN107507303A (en) The method for unlocking of intelligent lock system and smart lock
CN104618115B (en) ID card information acquisition methods and system
US20210174375A1 (en) Reusable, secure shipping package
CN106028881A (en) Locking unit, housing having a locking unit, and method for unlocking one or more doors of the housing
CN101868810A (en) System for management of ubiquitously deployed intelligent locks
CN106869616A (en) A kind of dynamic puzzle-lock, dynamic cipher system and dynamic encryption and decryption system
CN104408363B (en) Security code system
CN105869246A (en) Intelligent unlocking system and method thereof
CN109525391B (en) Method for safely synchronizing information of server and lockset
CN110322600B (en) Control method of electronic lock and electronic lock
CN106652240A (en) Method for temporarily storing goods by utilizing vehicle-mounted storage space
CN111489466A (en) Multi-user circulation and sharing method based on secondary locking hook lock
US20220002001A1 (en) Electronic bag locking and unlocking
CN102467774B (en) There is the cryptographic system of anti-side recording function
CN112530053B (en) Control method and system of intelligent lock, lock equipment, server and storage medium
CN102968647A (en) Reader-writer authentication and label authentication password distributing method and device
CN203520482U (en) Cooperative lockset system with asymmetric encryption technology
CN103440695B (en) A kind of mutual aid type lock system and control method thereof adopting asymmetric encryption techniques
CN113205620B (en) Unlocking method and related equipment
CN109741495A (en) A kind of deposit boot joint sealing and unpacking method and system
CN211787247U (en) Hook lock with double locking structure
JP6712365B1 (en) Key opening/closing control system and key opening/closing control method
CN207436739U (en) Theft-proof electron cipher hang lock

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