A multi-user transfer and sharing method based on a secondary locking hook lock
By using hook locks with a primary locking mechanism and a secondary locking mechanism during the item circulation process, the full protection of items is achieved, the problems of loss and damage of items are solved, and the safety and visualization of the circulation process are improved.
Patent Information
- Application Number
- CN202010423620.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-19
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2040-05-19
AI Technical Summary
In the existing method of transferring items, it is difficult to achieve full protection during the transfer process, resulting in the loss or damage of items.
The hook lock with a first-level locking mechanism and a second-level locking mechanism is adopted. The initial user locks the hook lock through the first-level locking mechanism, and the second-level locking mechanism locks the items, and the transit user transfers through the first-level locking mechanism. The end user unlocks and uses the item when it arrives.
It realizes full-process protection during the item circulation process, reduces the risk of items being lost and damaged, and improves the visualization and security of the item circulation process.
Smart Images

Figure CN111489466B_ABST
Abstract
Description
[0001] The present invention relates to the technical field of article circulation and sharing, in particular to a multi-user circulation and sharing method based on a secondary locking hook lock. Background Art
[0002] With the rapid development of economy and Internet technology, online trading and sharing economy have become an important part of people's lives. Among them, logistics, express delivery, takeout and other industries are booming, and the core part is the circulation of goods, that is, they are sent from the initial user, circulated between the transfer users, and finally circulated to the end user, thus forming a complete circulation process; for example, merchants in the express delivery industry send out goods, which are delivered by express companies to the buyers; merchants in the takeout industry pack food, which is delivered by takeout boys to the orderers; for example, in the case of same-city delivery, the initial user hands the goods to the same-city deliveryman to deliver them to the recipients. However, due to some current situations, the items cannot be directly transferred from a single transfer user to the end user. Therefore, the existing method is that the transfer user places the items directly at a designated location, and the end user picks them up by himself, or the transfer user places the items at a designated location, and the next transfer user transfers them to a designated location closer to the end user (for example, a takeaway or courier delivers the takeaway or courier to the gate of the community, and then the personnel in the same community deliver it to the downstairs of the unit, etc.), and finally the end user picks them up by himself; therefore, there will inevitably be problems such as item loss or damage and theft. Based on this, if an investigation is to be conducted, it will inevitably cause losses and waste of manpower and material resources. Therefore, it is necessary to study a method for the circulation of items that can solve the above problems. Summary of the invention
[0003] The purpose of the present invention is to provide a multi-user circulation and sharing method based on a two-level locking hook lock. The present invention utilizes the sharing of the hook lock to achieve full protection of the circulation of items and reduce the problems of items being lost or damaged by people.
[0004] The technical solution of the present invention is as follows: a takeaway delivery method based on multi-user circulation, comprising a hook lock having a primary locking mechanism and a secondary locking mechanism; an initial user activates the primary locking mechanism and the secondary locking mechanism at the same time, uses the primary locking mechanism to lock the hook lock, and uses the secondary locking mechanism to lock the item; one or more transit users activate the primary locking mechanism for the circulation of the hook lock and the item; finally, the terminal user activates the secondary locking mechanism to unlock and take the item.
[0005] The above-mentioned multi-user circulation and sharing method based on the secondary locking hook lock includes the following steps:
[0006] The system is initialized, and the primary locking mechanism and the secondary locking mechanism of the hook lock are both in the open state; the initial user places the item in the secondary locking mechanism of the hook lock, the secondary locking mechanism is locked, and then transmits the item information and the lock body information of the hook lock to the cloud server;
[0007] The cloud server transmits the item information and the lock body information to one or more transfer users, and authorizes the transfer user to open and close the primary locking mechanism; then the transfer user transfers the item and transmits the real-time updated item information back to the cloud server;
[0008] After the item is transferred through one or more transit users and sent to the designated receiving point, the transit user uses the primary locking mechanism to lock the hook at the hanging place of the item receiving point. The cloud server then transmits the item information and lock body information to the end user, and authorizes the end user to open the primary locking structure and the secondary locking mechanism for the end user to pick up the item.
[0009] The aforementioned multi-user transfer and sharing method based on the secondary locking hook lock specifically includes the following steps:
[0010] a. System initialization, the primary locking mechanism and the secondary locking mechanism of the hook lock are both in the open state; the system is authorized to be used by the initial user, the initial user scans the dynamic code of the hook lock, obtains the item information and the lock body information, and uploads the item information and the lock body information to the cloud server through the function F to form the relational expression Info(A), and at the same time, the initial user locks the item into the secondary locking mechanism of the hook lock, and locks the hook lock with the primary locking mechanism;
[0011] b. The first transfer user is authorized to carry out the first transfer. The cloud server sends Info (A) to the first transfer user. The first transfer user scans the dynamic code on the hook lock to obtain information that is matched with the information sent to the first transfer user by the cloud server. After the match is correct, the cloud server sends an unlocking instruction to open the primary locking mechanism of the hook lock. At the same time, the information of the first transfer user is combined with Info (A) to form Info (B), and then Info (B) is transmitted to the cloud server. After the first transfer user transfers the item to the designated receiving point, the first transfer user uses the primary locking mechanism to lock the item to the designated receiving point.
[0012] c. The Nth transfer user is authorized to conduct the Nth transfer. The cloud server transmits Info (B) to the Nth transfer user. The Nth transfer user scans the dynamic code on the hook lock to obtain information that matches the information sent to the Nth transfer user by the cloud server. After the match is correct, the cloud server sends an unlocking command to open the primary locking mechanism of the hook lock. At the same time, the information of the Nth transfer user is combined with Info (N-1) to form Info (N), and then Info (N) is transmitted to the cloud server. The Nth transfer user conducts the transfer. After the Nth transfer user transfers the item to the designated receiving point, the Nth transfer user uses the primary locking mechanism to lock the item to the hanging place at the receiving point.
[0013] d. The cloud server sends the Info(N) information to the terminal user. The terminal user scans the dynamic code on the hook lock and obtains information that is matched with the information sent to the terminal user by the cloud server. After a correct match, the cloud server sends an unlocking command to open the primary locking mechanism and the secondary locking mechanism of the hook lock at the same time for the final retrieval.
[0014] In the aforementioned multi-user circulation and sharing method based on the secondary locking hook lock, the item information includes platform APP information, order number, user information, location information, and the lock body information includes manufacturer number and lock number code; the initial user, transit user and terminal user use the same platform APP to scan the dynamic code.
[0015] In the aforementioned multi-user circulation and sharing method based on the secondary locking hook lock, the opening of the primary locking mechanism and / or the secondary locking mechanism of the hook lock is specifically to combine the information scanned by the transfer user or the terminal user with the Info in each step using a matrix:
[0016]
[0017] Where: Odd is the order number; No is the lock body information of the hook lock; in Cn, when n=1, it indicates the primary locking mechanism of the hook lock, and when n=2, it indicates the secondary locking mechanism of the hook lock; in Tp(n), when n=1, it indicates the initial user, when n=2, it indicates the transfer user, and when n=3, it indicates the terminal user; t is the time taken for a certain step, and Info(N) is the information of the transfer user combined with Info(A);
[0018] When Odd*No and Tp(n)*Info(n) match the information obtained by the transit user or the terminal user scanning the dynamic code on the hook lock, the primary locking mechanism and / or the secondary locking mechanism is opened according to the authority of Tp(n).
[0019] In the aforementioned multi-user circulation and sharing method based on the secondary locking hook lock, the cloud server also adopts an interactive encryption authorization authentication operation, and uses AES to encrypt the relationship formed by the platform APP information, order number Odd, lock body information No of the hook lock and registered user Tp(n) as plain text P1:
[0020] C=E(K,P1);
[0021] In the formula, C is the ciphertext, K is the key, and E is the encryption function;
[0022] The decoded plaintext P1.1 is:
[0023] P1.1=D(K,C);
[0024] Where: D is the ciphertext, K is the key, and E is the decryption function;
[0025] According to the authority of Tp(n), when the transit user scans the delivery, P1.1 = P1 = Info(B), and the cloud server sends the unlocking command of the secondary locking mechanism;
[0026] When the terminal user scans and takes the item, P1.1=P1=Info(N), and the cloud server sends unlocking instructions to the primary locking mechanism and the secondary locking mechanism.
[0027] The aforementioned device for the multi-user circulation and sharing method based on the two-level locking hook lock includes a lock body, and an isolation strip is provided in the middle of the lock body; the lock body is divided into a first lock cavity and a second lock cavity by the isolation strip, the first lock cavity has a first opening, and a first locking mechanism is provided on the first opening; the second lock cavity has a second opening, and a second locking mechanism is provided on the second opening; a dynamic code is provided on the upper side surface of the lock body; a battery is also embedded in the upper end of the lock body; a control circuit board, a communication module and a USB interface are also provided on the inner side surface of the lock body; the battery, the first locking mechanism, the secondary locking mechanism, the communication module and the USB interface are respectively connected to the control circuit board.
[0028] In the above-mentioned device, the lock body is fan-shaped; the first lock cavity is an inverted trapezoid, and a first pressure generating device is provided at the top of the first lock cavity; the second lock cavity is an inverted triangle, and a second pressure generating device is provided at the bottom of the second lock cavity; the first pressure generating device and the second pressure generating device are respectively connected to the battery via a control circuit board.
[0029] In the aforementioned device, the primary locking mechanism and the secondary locking mechanism both adopt a telescopic lock, including a motor arranged on one side of the first opening and the second opening, and the output end of the motor is connected to a telescopic lock tongue; the other side of the first opening and the second opening are correspondingly provided with a closing relay that cooperates with the telescopic lock tongue.
[0030] In the aforementioned device, the control circuit board includes a communication control module, an identity verification and determination module, a switch lock motor control module, a self-generating charging control module and a display control module; the communication module is GSM, GPRS, NBlot, WIFI or lora.
[0031] Compared with the prior art, the present invention provides a hook lock with a primary locking mechanism and a secondary locking mechanism. In use, the initial user activates the primary locking mechanism and the secondary locking mechanism at the same time, uses the primary locking mechanism to lock the hook lock, and uses the secondary locking mechanism to lock the item. The initial user uses the primary locking mechanism of the hook lock to lock the hook lock, and the secondary locking mechanism to lock the item for takeout. Then, one or more transfer users activate the primary locking mechanism, and then the hook lock and the item locked by it are circulated. When it is finally circulated to the end user, the end user The object is interpreted and taken. During this process, the present invention can utilize the cooperation of the primary locking mechanism and the secondary locking mechanism, so that the object is fully protected during the circulation process; specifically, the initial user places the object in the secondary locking mechanism of the hook lock, the secondary locking mechanism is locked, and then the object information and the lock body information of the hook lock are transmitted to the cloud server, the object information and the lock body information are interconnected through the cloud server, and then the cloud server transmits the object information and the lock body information to the designated transfer user, and the designated transfer user is authorized to perform the primary locking mechanism The structure is opened and closed, and then the transfer user transfers the items and transmits the real-time updated item information back to the cloud server; after the current transfer item is transferred to the designated place, the cloud server transmits the updated item information and lock body information to the designated next transfer user. After the next transfer user transfers the item to the designated receiving point, the transfer user uses the primary locking mechanism to lock the hook lock at the hanging place of the item receiving point and updates the item information. Then the cloud server transmits the item information and lock body information to the terminal user and authorizes the terminal user to perform the primary locking structure and secondary lock The lock mechanism is opened to allow the end user to take the item; further, the present invention interconnects the item information and the lock body information to form a relational expression, so that the item information can be recorded and updated in real time through the relational expression during the circulation process, which is convenient for subsequent process marking and traceability, so that if there is a problem with the item during the circulation, it is convenient to implement specific responsibilities and reduce subsequent disputes. Therefore, the present invention can greatly reduce the problem of item loss and damage, and visualize the circulation process, so that when a dispute occurs, the problem link can be monitored through cloud service records. Furthermore, the present invention also uses AES encryption to keep the relational expression of item information confidential, reduce the occurrence of human cracking, and greatly improve the security of food delivery. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1is a flow chart of the present invention;
[0033] Figure 2 It is a flowchart of the interactive encryption authorization authentication operation of the present invention;
[0034] Figure 3 It is a schematic diagram of the hook lock structure of the present invention;
[0035] Figure 4 It is a schematic diagram of the telescopic lock structure.
[0036] Reference numerals
[0037] 1. Lock body; 2. Isolation strip; 3. First lock cavity; 4. Second lock cavity; 5. Primary locking mechanism; 6. Secondary locking mechanism; 7. Dynamic code; 8. Battery; 9. Control circuit board; 10. USB interface; 11. First pressure generator; 12. Second pressure generator; 13. Second opening; 14. Motor; 15. Retractable lock tongue; 16. Closing relay; 17. Second opening. DETAILED DESCRIPTION
[0038] The present invention is further described below in conjunction with the accompanying drawings and embodiments, but they are not intended to limit the present invention.
[0039] Embodiment 1: A multi-user circulation and sharing method based on a two-level locking hook lock, comprising a hook lock having a primary locking mechanism and a secondary locking mechanism; Figure 1 As shown, the initial user activates the primary locking mechanism and the secondary locking mechanism at the same time, uses the primary locking mechanism to lock the hook lock, and uses the secondary locking mechanism to lock the item; one or more transit users activate the primary locking mechanism for the circulation of the hook lock and the item; finally, the terminal user activates the secondary locking mechanism to unlock and take the item.
[0040] Embodiment 2: A multi-user circulation and sharing method based on a two-level locking hook lock, comprising a hook lock having a primary locking mechanism and a secondary locking mechanism; the method is performed according to the following steps:
[0041] The system is initialized, and the primary locking mechanism and the secondary locking mechanism of the hook lock are both in the open state; the initial user places the item in the secondary locking mechanism of the hook lock, the secondary locking mechanism is locked, and then transmits the item information and the lock body information of the hook lock to the cloud server; the item information includes the platform APP information, order number, user information, and location information, and the lock body information includes the manufacturer number and lock number code; the initial user, the transfer user, and the terminal user use the same platform APP to scan the dynamic code;
[0042] The cloud server transmits the item information and the lock body information to one or more transfer users, and authorizes the transfer user to open and close the primary locking mechanism; then the transfer user transfers the item and transmits the real-time updated item information back to the cloud server;
[0043] After the item is transferred through one or more transit users and sent to the designated receiving point, the transit user uses the primary locking mechanism to lock the hook lock at the hanging place of the item receiving point, and the hanging place is a closed hanging rod; the cloud server then transmits the item information and 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 pick up the item.
[0044] Embodiment 3: A multi-user circulation and sharing method based on a two-level locking hook lock, comprising a hook lock having a primary locking mechanism and a secondary locking mechanism; Figure 2 As shown, follow these steps:
[0045] a. System initialization, the primary locking mechanism and the secondary locking mechanism of the hook lock are both in the open state; the system is authorized for use by the initial user, the initial user scans the dynamic code of the hook lock, obtains the item information and the lock body information, and uploads the item information and the lock body information to the cloud server through the function F to form the relationship Info(A), and at the same time the initial user locks the item into the secondary locking mechanism of the hook lock, and locks the hook lock with the primary locking mechanism; the item information includes the platform APP information, order number, user information, and location information, and the lock body information includes the manufacturer number and the lock number code; the initial user, the transit user, and the terminal user use the same platform APP to scan the dynamic code; the function F does not specifically refer to the function relationship in mathematics. The function in this embodiment is only for connecting multiple independent variables in the takeaway information. There is no specific calculation result. It is a combination of multiple independent variables through operation symbols, which is convenient for the cloud server to store, so the specific function form can be changed as needed;
[0046] b. The first transfer user is authorized to carry out the first transfer. The cloud server sends Info (A) to the first transfer user. The first transfer user scans the dynamic code on the hook lock to obtain information that is matched with the information sent to the first transfer user by the cloud server. After the match is correct, the cloud server sends an unlocking instruction to open the primary locking mechanism of the hook lock. At the same time, the information of the first transfer user is combined with Info (A) to form Info (B), and then Info (B) is transmitted to the cloud server. After the first transfer user transfers the item to the designated receiving point, the first transfer user uses the primary locking mechanism to lock the item to the designated receiving point.
[0047] c. The Nth transfer user is authorized to conduct the Nth transfer. The cloud server transmits Info (B) to the Nth transfer user. The Nth transfer user scans the dynamic code on the hook lock to obtain information that matches the information sent to the Nth transfer user by the cloud server. After the match is correct, the cloud server sends an unlocking command to open the primary locking mechanism of the hook lock. At the same time, the information of the Nth transfer user is combined with Info (N-1) to form Info (N), and then Info (N) is transmitted to the cloud server. The Nth transfer user conducts the transfer. After the Nth transfer user transfers the item to the designated receiving point, the Nth transfer user uses the primary locking mechanism to lock the item to the hanging place at the receiving point.
[0048] d. The cloud server sends the Info(N) information to the terminal user. The terminal user scans the dynamic code on the hook lock and obtains information that is matched with the information sent to the terminal user by the cloud server. After a correct match, the cloud server sends an unlocking command to open the primary locking mechanism and the secondary locking mechanism of the hook lock at the same time for the final retrieval.
[0049] In the above steps, the opening of the primary locking mechanism and / or the secondary locking mechanism of the hook lock is specifically to combine the information scanned by the transfer user or the terminal user with the Info in each step using a matrix:
[0050]
[0051] Where: Odd is the order number; No is the lock body information of the hook lock; in Cn, when n=1, it indicates the primary locking mechanism of the hook lock, and when n=2, it indicates the secondary locking mechanism of the hook lock; in Tp(n), when n=1, it indicates the initial user, when n=2, it indicates the transfer user, and when n=3, it indicates the terminal user; t is the time taken for a certain step, and Info(N) is the information of the transfer user combined with Info(A);
[0052] Embodiment 4: A multi-user circulation and sharing method and device based on a two-level locking hook lock, comprising a hook lock having a primary locking mechanism and a secondary locking mechanism; Figure 4 and Figure 5As shown, the hook lock includes a lock body 1, and an isolation strip 2 is provided 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 by the isolation strip 2, the first lock cavity 3 has a first opening 17, and a primary locking mechanism 5 is provided on the first opening 17; the second lock cavity 4 has a second opening 13, and a secondary locking mechanism 6 is provided on the second opening 13; a dynamic code 7 is provided on the upper end side of the lock body 1; a battery 8 is also embedded in the upper end of the lock body 1; a control circuit board 9, a communication module 18 and a USB interface 10 are also provided on the inner side of the lock body 1; 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 to the control circuit board 9; the lock body 1 is fan-shaped; the first lock The cavity 3 is an inverted trapezoid, and a first pressure generating device 11 is provided at the top of the first lock cavity 3; the second lock cavity 4 is an inverted triangle, and a second pressure generating device 12 is provided at the bottom of the second lock cavity 4; the first pressure generating device 11 and the second pressure generating device 12 are respectively connected to the battery 8 via the control circuit board 9, and the first pressure generating device 11 and the second pressure generating device 12 use PZT ceramic generating sheets; the first-level locking mechanism 5 and the second-level locking mechanism 6 both use telescopic locks, including a motor 14 arranged on one side of the first opening 17 and the second opening 13, and the output end of the motor 14 is connected to a telescopic lock tongue 15; the other side of the first opening 17 and the second opening 13 are correspondingly provided with a closing relay 16 that matches the telescopic lock tongue 15. The control circuit board 9 includes a communication control module, an identity verification and determination module, a switch lock motor control module, a self-generating charging control module and a display control module; the communication module 18 is a GSM communication module;
[0053] According to the above hook lock, take takeaway delivery as an example, follow the steps below:
[0054] a. System initialization, the primary locking mechanism and the secondary locking mechanism of the hook lock are both in the open state; the system is authorized for use by the initial user (merchant), the initial user scans the dynamic code of the hook lock, obtains the item information and the lock body information, and uploads the item information and the lock body information to the cloud server through the function F to form the relationship Info(A), and at the same time, the initial user locks the takeaway into the secondary locking mechanism of the hook lock, and locks the primary locking mechanism of the hook lock, and the locking is to lock the primary locking mechanism to the closed hanging rod of the shelf; the item information includes the platform APP information, order number, user information, and location information, and the lock body information includes the manufacturer number 1-9999, platform code 1-10, merchant The manufacturer code 1-9999 and the lock number code 1-9999, for example, the lock body information of NO-12-1234-1234, represents the 1234th lock produced by manufacturer No. 1 for merchant No. 1234 on platform No. 2; the initial user, the transfer user and the terminal user use the same platform APP to scan the dynamic code; it should be noted that the function F does not specifically refer to the functional relationship in mathematics. The function in this embodiment is only to connect multiple independent variables in the takeaway information. There is no specific calculation result. It is a combination of multiple independent variables through operation symbols, which is convenient for storage by the cloud server. Therefore, the form of the specific function can be changed as needed;
[0055] b. The first transfer user (food deliveryman) is authorized to carry out the first transfer. The cloud server sends Info (A) to the first transfer user. The first transfer user scans the dynamic code on the hook lock to obtain information that is matched with the information sent to the first transfer user by the cloud server. After the match is correct, the cloud server sends an unlocking command to open the primary locking mechanism of the hook lock. After the first transfer user obtains the hook lock and the item, the primary locking mechanism is closed again. At the same time, the information of the first transfer user is combined with Info (A) to form Info (B), and then Info (B) is transmitted to the cloud server. After the first transfer user transfers the item to the designated receiving point, the first transfer user uses the primary locking mechanism to lock the item to the designated receiving point (the closed hanging rod of the shelf at the entrance of the community).
[0056] c. The second transfer user (the owner of the community or the property staff) is authorized to carry out the second transfer. The cloud server transmits Info (B) to the second transfer user. The second transfer user scans the dynamic code on the hook lock to obtain information that matches the information sent to the second transfer user by the cloud server. After the match is correct, the cloud server sends an unlocking command to open the primary locking mechanism of the hook lock. At the same time, the information of the second transfer user is combined with Info (B) to form Info (C), and then Info (C) is transmitted to the cloud server. Then the second transfer user transfers the item to the designated receiving point (downstairs of the unit) and locks it. The second transfer user uses the primary locking mechanism to lock the item to the hanging place at the receiving point;
[0057] The third transfer user (the owner of the same building) is authorized to conduct the third transfer. The cloud server transmits Info (C) to the third transfer user. The third transfer user scans the dynamic code on the hook lock to obtain information that matches the information sent to the third transfer user by the cloud server. After the match is correct, the cloud server sends an unlocking command to open the primary locking mechanism of the hook lock. At the same time, the information of the third transfer user is combined with Info (C) to form Info (D), and then Info (D) is transmitted to the cloud server. Then the third transfer user conducts the transfer. After the third transfer user transfers the item to the designated receiving point (the door of the person who ordered the meal), the third transfer user uses the primary locking mechanism to lock the item to the hanging place at the receiving point.
[0058] d. The cloud server sends Info (D) to the end user (the person who ordered the food). The end user scans the dynamic code on the hook lock to obtain information that is matched with the information sent to the end user by the cloud server. After the match is correct, the cloud server sends an unlocking command to open the primary locking mechanism and the secondary locking mechanism of the hook lock at the same time, so that the food can be picked up for delivery. After the food is picked up, the collection of the hook lock can be done by the subsequent end user going out to transfer it to the nearest merchant, or placed at the delivery point at the entrance of the community and transferred to the merchant by the delivery person, or collected by the merchant at the collection point at the entrance of the community, etc., or incentive policies can be adopted for recycling;
[0059] In the above steps, the opening of the primary locking mechanism and / or the secondary locking mechanism of the hook lock is specifically to combine the information scanned by the transfer user or the terminal user with the Info in each step using a matrix:
[0060]
[0061] Where: Odd is the order number; No is the lock body information of the hook lock; in Cn, when n=1, it indicates the primary locking mechanism of the hook lock, and when n=2, it indicates the secondary locking mechanism of the hook lock; in Tp(n), when n=1, it indicates the initial user, when n=2, it indicates the transfer user, and when n=3, it indicates the terminal user; t is the time taken for a certain step, and Info(N) is the information of the transfer user combined with Info(A);
[0062] When Odd*No and Tp(n)*Info(n) match the information obtained by the transit user or the terminal user scanning the dynamic code on the hook lock, the primary locking mechanism and / or the secondary locking mechanism is opened according to the authority of Tp(n).
[0063] like Figure 3 As shown, the cloud server also uses an interactive encryption authorization authentication operation, and uses AES to encrypt the relationship between the platform APP information, the order number Odd, the lock body information No of the hook lock, and the registered user Tp(n) as plain text P1 through the function:
[0064] C=E(K,P1);
[0065] In the formula, C is the ciphertext, K is the key, and E is the encryption function;
[0066] The decoded plaintext P1.1 is:
[0067] P1.1=D(K,C);
[0068] Where: D is the ciphertext, K is the key, and E is the decryption function;
[0069] According to the authority of Tp(n), when the transit user scans the delivery, P1.1 = P1 = Info(B), and the cloud server sends the unlocking command of the secondary locking mechanism;
[0070] When the terminal user scans and takes the item, P1.1=P1=Info(N), and the cloud server sends unlocking instructions to the primary locking mechanism and the secondary locking mechanism.
[0071] In summary, the present invention provides a hook lock with a primary locking mechanism and a secondary locking mechanism. During use, the initial user activates the primary locking mechanism and the secondary locking mechanism at the same time, uses the primary locking mechanism to lock the hook lock, and uses the secondary locking mechanism to lock the item. The initial user uses the primary locking mechanism of the hook lock to lock the hook lock, and the secondary locking mechanism to lock the item for takeout. Then, one or more transfer users activate the primary locking mechanism, and then the hook lock and the item locked by it are circulated. When it is finally circulated to the end user, the end user interprets and takes the item. In this process, the present invention can be used The cooperation between the primary locking mechanism and the secondary locking mechanism ensures that the items are fully protected during the circulation process. Furthermore, the present invention interconnects the item information and the lock body information to form a relational expression, so that the items can be recorded and updated in real time through the relational expression during the circulation process, which is convenient for subsequent process marking and traceability. If there are problems with the items during the circulation, it is convenient to implement specific responsibilities and reduce subsequent disputes. Therefore, the present invention can greatly reduce the problem of items being lost and damaged, and visualize the circulation process, so that when disputes arise, the problem link can be monitored through cloud service records. Furthermore, the present invention also uses AES encryption to keep the relational expression of item information confidential, reduce the occurrence of human cracking, and greatly improve the safety of food delivery.
Claims
1. A multi-user transfer and sharing method based on a secondary locking hook lock, characterized in that: The hook lock includes a primary locking mechanism and a secondary locking mechanism; the initial user activates the primary locking mechanism and the secondary locking mechanism at the same time, uses the primary locking mechanism to lock the hook lock, and uses the secondary locking mechanism to lock the item; more than one transfer user activates the primary locking mechanism for the circulation of the hook lock and the item; finally, the terminal user activates the secondary locking mechanism to unlock and take the item; Specifically include the following steps: a. System initialization, the primary locking mechanism and the secondary locking mechanism of the hook lock are both in the open state; the system is authorized to be used by the initial user, the initial user scans the dynamic code of the hook lock, obtains the item information and the lock body information, and uploads the item information and the lock body information to the cloud server through the function F to form the relational expression Info(A), and at the same time, the initial user locks the item into the secondary locking mechanism of the hook lock, and locks the hook lock with the primary locking mechanism; b. The first transfer user is authorized to carry out the first transfer. The cloud server sends Info (A) to the first transfer user. The first transfer user scans the dynamic code on the hook lock to obtain information that is matched with the information sent to the first transfer user by the cloud server. After the match is correct, the cloud server sends an unlocking instruction to open the primary locking mechanism of the hook lock. At the same time, the information of the first transfer user is combined with Info (A) to form Info (B), and then Info (B) is transmitted to the cloud server. After the first transfer user transfers the item to the designated receiving point, the first transfer user uses the primary locking mechanism to lock the item to the designated receiving point. c. The Nth transfer user is authorized to conduct the Nth transfer. The cloud server transmits Info (B) to the Nth transfer user. The Nth transfer user scans the dynamic code on the hook lock to obtain information that matches the information sent to the Nth transfer user by the cloud server. After the match is correct, the cloud server sends an unlocking command to open the primary locking mechanism of the hook lock. At the same time, the information of the Nth transfer user is combined with Info (N-1) to form Info (N), and then Info (N) is transmitted to the cloud server. The Nth transfer user conducts the transfer. After the Nth transfer user transfers the item to the designated receiving point, the Nth transfer user uses the primary locking mechanism to lock the item to the hanging place at the receiving point. d. The cloud server sends the Info (N) information to the terminal user. The terminal user scans the dynamic code on the hook lock and obtains information that is matched with the information sent to the terminal user by the cloud server. After the match is correct, the cloud server sends an unlocking command to open the primary locking mechanism and the secondary locking mechanism of the hook lock at the same time, so as to finally take the object; A device for a multi-user circulation and sharing method based on a two-level locking hook lock comprises a lock body (1), wherein an isolation strip (2) is provided 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) by the isolation strip (2); the first lock cavity (3) has a first opening (17), and a first locking mechanism (5) is provided on the first opening (17); the second lock cavity (4) has a second opening (13), and a second locking mechanism (6) is provided on the second opening (13); a dynamic code (7) is provided on the side surface of the upper end of the lock body (1); a battery (8) is also embedded in the upper end of the lock body (1); a control circuit board (9), a communication module (18) and a USB interface (10) are also provided on the inner side surface of the lock body (1); the battery (8), the first locking mechanism (5), the second locking mechanism (6), the communication module (18) and the USB interface (10) are respectively connected to the control circuit board (9).
2. The multi-user transfer and sharing method based on the secondary locking hook lock according to claim 1 is characterized in that: The item information includes platform APP information, order number, user information, and location information; the lock body information includes manufacturer number and lock number code; the initial user, transit user, and terminal user use the same platform APP to scan the dynamic code.
3. The multi-user transfer and sharing method based on the secondary locking hook lock according to claim 2 is characterized in that: The opening of the primary locking mechanism and / or the secondary locking mechanism of the hook lock is specifically to combine the information scanned by the transfer user or the terminal user with the Info in each step using a matrix: Where: Odd is the order number; No is the lock body information of the hook lock; in Cn, when n=1, it indicates the primary locking mechanism of the hook lock, and when n=2, it indicates the secondary locking mechanism of the hook lock; in Tp(n), when n=1, it indicates the initial user, when n=2, it indicates the transfer user, and when n=3, it indicates the terminal user; t is the time taken for a certain step, and Info(N) is the information of the transfer user combined with Info(A); When Odd*No and Tp(n)*Info(n) match the information obtained by the transit user or the terminal user scanning the dynamic code on the hook lock, the primary locking mechanism and / or the secondary locking mechanism is opened according to the authority of Tp(n).
4. According to the multi-user circulation and sharing method based on the secondary locking hook lock of claim 3: the cloud server also adopts an interactive encryption authorization authentication operation, and uses AES to encrypt the relationship formed by the platform APP information, order number Odd, lock body information No of the hook lock and registered user Tp(n) as plain text P1 through the function: C=E(K,P1); In the formula, C is the ciphertext, K is the key, and E is the encryption function; The decoded plaintext P1.1 is: P1.1=D(K,C); Where: D is the ciphertext, K is the key, and E is the decryption function; According to the authority of Tp(n), when the transit user scans the delivery, P1.1 = P1 = Info(B), and the cloud server sends the unlocking command of the secondary locking mechanism; When the terminal user scans and takes the item, P1.1=P1=Info(N), and the cloud server sends unlocking instructions to the primary locking mechanism and the secondary locking mechanism.
5. The multi-user transfer and sharing method based on the secondary locking hook lock according to claim 1 is characterized in that: The lock body (1) is fan-shaped; the first lock cavity (3) is an inverted trapezoid, and a first pressure generating device (11) is provided at the top of the first lock cavity (3); the second lock cavity (4) is an inverted triangle, and a second pressure generating device (12) is provided at the bottom of the second lock cavity (4); the first pressure generating device (11) and the second pressure generating device (12) are respectively connected to the battery (8) via a control circuit board (9).
6. The multi-user transfer and sharing method based on the secondary locking hook lock according to claim 5 is characterized in that: The primary locking mechanism (5) and the secondary locking mechanism (6) both adopt telescopic locks, including a motor (14) arranged on one side of a first opening (17) and a second opening (13), wherein the output end of the motor (14) is connected to a telescopic lock tongue (15); and the other side of the first opening (17) and the second opening (13) are respectively provided with a closing relay (16) matched with the telescopic lock tongue (15).
7. The multi-user transfer and sharing method based on the secondary locking hook lock according to claim 1 is characterized in that: The control circuit board (9) comprises a communication control module, an identity verification and determination module, a switch lock motor control module, a self-generating charging control module and a display control module; the communication module (18) is a GSM, GPRS, NB-loT, WIFI or LoRa communication module.
Citation Information
Patent Citations
Elastic safe device for logistics terminal
CN107305720A
Double-code-scanning-lock-type logistics distribution box and unattended logistics distribution method
CN108805489A