Electronic coded lock, electronic code case and decoding device
By employing dynamic QR code technology in electronic combination locks and decoding devices to generate and verify dynamic QR codes, the problem of not being able to determine whether a parcel locker has been opened en route in express delivery services has been solved, thus improving security and reliability.
Patent Information
- Application Number
- CN202422585330.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2034-10-25
AI Technical Summary
Traditional technologies such as combination locks, fingerprint locks, and seals cannot reliably determine whether a package has been opened en route or effectively prevent valuable items from being illegally opened in the express delivery business.
The system employs dynamic QR code technology, which encodes information including serial number information and dynamic information. This information is displayed and generated via a touch screen, and then decoded and verified using a computing module and a decoding device.
This allows senders and recipients to reliably control the unlocking password, ensuring the security and reliability of express delivery services and reducing risks.
Smart Images

Figure CN223549093U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of lock and case technology, and in particular to an electronic combination lock, an electronic combination box and a decoding device. Background Technology
[0002] In the express delivery industry, especially for valuable items, people hope their packages will arrive safely at their destination without worrying about tampering or other security threats. However, traditional technologies such as combination locks, fingerprint locks, and seals have many shortcomings, particularly in that they cannot reliably ascertain whether the package has been opened en route or effectively prevent unauthorized opening of packages containing valuables. Utility Model Content
[0003] To address the aforementioned technical problems, this application proposes an electronic combination lock, an electronic combination box, and a decoding device.
[0004] The electronic combination lock, electronic combination box, and decoding device in this application embodiment all adopt a dynamic QR code. The encoding information of the dynamic QR code includes at least a number and dynamic information. The content of the dynamic information is generated by the electronic combination lock or determined according to the status, time, or location information of the electronic combination lock.
[0005] The electronic combination lock includes:
[0006] A touch screen is used to display a dynamic QR code, display an input interface, and receive input information. The encoding information of the dynamic QR code includes at least the number of the electronic combination lock and dynamic information. The content of the dynamic information is generated by the electronic combination lock or determined according to the status, time, or location information of the electronic combination lock.
[0007] The processing module is used to generate the dynamic QR code and recognize the input information, wherein the input information is password information generated by the decoding device after decoding the dynamic QR code;
[0008] The first signal input terminal of the computing module is connected to the signal output terminal of the touch screen, and is used to feed back the input information input via the touch screen to the computing module; the signal input terminal of the touch screen is connected to the first signal output terminal of the computing module, and is used to display the encoded information of the dynamic QR code generated by the computing module on the touch screen.
[0009] The decoding device includes:
[0010] A camera is used to scan and read the dynamic QR code;
[0011] The decoding module is used to decode the dynamic QR code scanned and read by the camera and generate an outputtable character result;
[0012] The display module is connected to a display screen for displaying the character results;
[0013] The signal input terminal of the decoding module is connected to the signal output terminal of the camera, and the signal output terminal of the decoding module is connected to the signal input terminal of the display module.
[0014] The beneficial effect of the technical solution of this application is that by adopting dynamic QR code technology, the sender and recipient can reliably master the unlocking password of electronic combination locks, electronic combination boxes, or express delivery services using such electronic combination boxes as delivery tools, thereby ensuring the safety, reliability, and low risk of electronic combination locks, electronic combination boxes, or related express delivery services. Attached Figure Description
[0015] Figure 1 This is a circuit block diagram of an electronic combination lock according to an embodiment of this application;
[0016] Figure 2 for Figure 1 A schematic diagram of the dynamic QR code and input interface displayed on the touch screen in the embodiment;
[0017] Figure 3 for Figure 1 Circuit block diagram of an optional method in the embodiment;
[0018] Figure 4 This is a circuit block diagram of a decoding device according to an embodiment of this application;
[0019] Figure 5 This is a schematic diagram of the structure of an electronic combination lock box according to an embodiment of this application;
[0020] Figure 6 This is a flowchart illustrating a method for password generation and verification according to an embodiment of this application;
[0021] Figure 7 for Figure 6 Method flowchart of optional methods in the embodiments;
[0022] Figure 8 This is a flowchart illustrating a method for preventing the tampering of electronic combination lock boxes used in express delivery services, as described in an embodiment of this application.
[0023] Reference numerals: 100, Electronic combination lock; 110, Touch screen; 111, Dynamic QR code; 112, Input interface; 113, Touch screen signal input terminal; 114, Touch screen signal output terminal; 120, Calculation module; 121, Calculation module first signal input terminal; 122, Calculation module first signal output terminal; 123, Calculation module second signal input terminal; 124, Calculation module second signal output terminal; 130, Electric drive mechanism; 131, Electric drive mechanism signal input terminal; 132, Electric drive mechanism signal output terminal; 200, Decoding device; 210, Camera; 212, Camera signal output; 220, Decoding module; 221, Decoding module signal input terminal; 222, Decoding module signal output terminal; 230, Display module; 231, Display module signal input terminal; 300, Electronic combination lock; 301, Satellite locator; 302, Battery module. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to specific embodiments and accompanying drawings. It should be understood that these descriptions are exemplary only and are not intended to limit the scope of this application. Furthermore, descriptions of well-known structures and technologies are omitted in the following description to avoid unnecessarily obscuring the concepts of this application. The schematic diagrams of various embodiments of this application shown in the accompanying drawings may not be drawn to scale; for clarity, some details may be enlarged and some details may be omitted. The various regions, shapes, and their relative sizes and positional relationships shown in the figures are merely exemplary and may deviate from actual practices due to manufacturing tolerances or technical limitations. Those skilled in the art may design products or process flows with different shapes, sizes, and relative relationships according to actual needs.
[0025] Obviously, the embodiments described in the specific embodiments of this application are only a part of the embodiments that can be presented in this application, and not all of the embodiments. Other embodiments obtained by those skilled in the art based on the embodiments described in the specific embodiments of this application without creative effort are all within the scope of protection of this application.
[0026] Furthermore, many specific details of this application described below, such as the structure, materials, or dimensions of the device, can be implemented without adhering to these specific details, as those skilled in the art will understand. Unless specifically indicated below, various parts of the relevant electronic device may be constructed from elements or materials known to those skilled in the art. It should be noted that the terms "first" and "second" in this application are used for descriptive purposes only and should not be construed as indicating or implying relative importance, and the technical features involved in the different embodiments described below may be combined with each other as long as they do not conflict with each other.
[0027] Related terms:
[0028] Dynamic QR code: The dynamic QR code mentioned in this application refers to a QR code that, under certain triggering conditions, refreshes according to a specific algorithm and rules to generate different codes and graphics. Specifically, when the variable parameters in the dynamic QR code (the combination lock number information or dynamic information reflecting the time / number / position of the combination lock opening and closing) change (e.g., the cumulative number of times incremented or the time change according to an agreed time length), the calculation module updates the dynamic QR code. A preset time interval can also be set for refreshing. It generally has the following characteristics:
[0029] ① Variability: Compared to static QR codes, the encoding and graphics of dynamic QR codes are not static, but will change under corresponding triggering conditions.
[0030] ② Security: Because the encoding and graphic of a dynamic QR code are different after being refreshed under the corresponding trigger conditions, it is difficult to predict and copy, so it is relatively more secure.
[0031] ③ Flexibility: Dynamic QR codes can be flexibly configured with relevant information, such as number, time or location, according to transaction needs.
[0032] Input interface: The input interface mentioned in this application refers to an input interface with a virtual keyboard displayed on a touch screen or an input interface that allows handwriting input in the form of a handwriting panel.
[0033] Mobile smart terminal: The mobile smart terminal mentioned in this application refers to a portable smart terminal, especially a smart terminal that can install specific APP applications, such as mobile phones, tablets or similar products.
[0034] Verification information: The verification information mentioned in this application refers to the pre-generated character or numeric information used to verify whether the subsequent password information is correct.
[0035] Figure 1 This is a circuit block diagram of an electronic combination lock according to an embodiment of this application.
[0036] like Figure 1 As shown, an electronic combination lock 100 includes:
[0037] The touch screen 110 is used to display a dynamic QR code 111, display an input interface 112, and receive input information. The encoded information of the dynamic QR code 111 includes at least the number of the electronic combination lock 100 and dynamic information. The content of the dynamic information is generated by the electronic combination lock 100 or determined according to the state of the electronic combination lock 100. Specifically, the dynamic information content is randomly generated by the calculation module 120 within the electronic combination lock based on random numbers, or determined based on variable parameters (time / number of times / position). The dynamic QR code, which includes at least this dynamic information and the electronic combination lock number, is used as input for subsequent verification / password generation processes.
[0038] The arithmetic module 120 is used to generate a dynamic QR code 111 and recognize the input information, which is the password information generated by the decoding device after decoding the dynamic QR code 111.
[0039] The first signal input terminal 121 of the computing module 120 is connected to the signal output terminal 114 of the touch screen 110, and is used to feed back the input information input via the touch screen to the computing module; the signal input terminal 113 of the touch screen 110 is connected to the first signal output terminal 122 of the computing module 120, and is used to display the encoded information of the dynamic QR code generated by the computing module on the touch screen.
[0040] The signal connection established between the computing module 120 and the touch display screen 110 is used to output the encoded information of the dynamic QR code generated by the computing module 120 to the touch display screen 110, and to feed back the input information input by the user through the touch display screen 110 to the computing module 120.
[0041] In this embodiment:
[0042] "Touch display screen 110, used to display dynamic QR code 111, display input interface 112, and receive input information" means that, based on its basic functions of display output and touch input, touch display screen 110 can display the dynamic QR code 111 generated by the computing module 120 to the user, and allow the user to return the unlocking password information to the computing module 120 as input information through touch input.
[0043] "The encoded information of the dynamic QR code 111 includes at least the number of the electronic combination lock 100 and some dynamic information. The content of the dynamic information is generated by the electronic combination lock 100 or determined according to the state of the electronic combination lock 100" means that the encoded information of the dynamic QR code 111 includes at least the number of the electronic combination lock 100, such as 0001#, and another random dynamic information generated by the electronic combination lock 100 or determined according to the state of the electronic combination lock 100. For example, the random dynamic information is determined according to the system time of opening / closing of the electronic combination lock 100, or the cumulative number of opening / closing, or the latitude and longitude of the geographical location of the electronic combination lock 100 when opening / closing.
[0044] "The calculation module 120 is used to generate a dynamic QR code 111 and recognize the input information, which is password information generated by the decoding device after decoding the dynamic QR code 111." This means that the dynamic QR code 111 is generated by the calculation module 120 based on a deterministic algorithm. For example, based on the dynamic QR code algorithm rules, according to the number of the electronic combination lock 100 and the system time of unlocking the electronic combination lock 100, a dynamic QR code containing the number information and system time information is generated. The input information is password information generated by the decoding device after decoding the dynamic QR code 111. The decoding device refers to an external device independent of the electronic combination lock 100. It can be a mobile smart terminal that can realize related functions through an APP, or a dedicated decoding device that implements reading, decoding and output functions by a dedicated program.
[0045] In this embodiment, the arithmetic module 120 includes first and second signal input terminals 121 and 123, and first and second signal output terminals 122 and 124. The touch screen 110 includes a signal input terminal 113 and a signal output terminal 114. The first signal input terminal 121 of the arithmetic module 120 is connected to the signal output terminal 114 of the touch screen 110, and is used to return the input information received by the touch screen 110 to the arithmetic module 120 via touch input. The signal input terminal 113 of the touch screen 110 is connected to the first signal output terminal 122 of the arithmetic module 120, and is used to display the dynamic QR code 111 generated by the arithmetic module 120 to the user via the touch screen 110.
[0046] In this embodiment, the use of touch screen and dynamic QR code technology effectively improves the security, reliability and convenience of electronic combination locks during use.
[0047] Figure 2 for Figure 1 Circuit block diagram of an optional embodiment.
[0048] like Figure 2As shown, optionally, in the above embodiment, the electronic combination lock 100 further includes an electric drive mechanism 130 for driving the electronic combination lock 100 to open or close. For example, an electromagnetic drive mechanism drives the locking pin to pop out or retract, thereby completing the function of locking or opening the electronic combination lock 100. The signal input terminal 131 of the electric drive mechanism 130 is connected to the second signal output terminal 124 of the arithmetic module, and the second signal input terminal 123 of the arithmetic module is connected to the signal output terminal 132 of the electric drive mechanism.
[0049] Optionally, when the electronic combination lock 100 is opened or locked, the electric drive mechanism 130 sends different level signals to the second signal input terminal 123 of the arithmetic module through the signal output terminal 132 of the electric drive mechanism 130, so as to turn off or on the signal transmission from the first signal output terminal 121 of the arithmetic module to the signal input terminal 113 of the touch screen. For example, when the electric drive mechanism 130 opens the electronic combination lock 100, it sends a high-level signal to the second signal input terminal 123 of the arithmetic module through the signal output terminal 132 of the electric drive mechanism 130. This shuts down the signal transmission from the first signal output terminal 121 of the arithmetic module to the signal input terminal 113 of the touch screen, so that the touch screen 110 does not display the dynamic QR code 111 or does not receive power, i.e., it is not lit up. Conversely, when the electric drive mechanism 130 locks the electronic combination lock 100, it sends a low-level signal to the second signal input terminal 123 of the arithmetic module through the signal output terminal 132 of the electric drive mechanism 130. This opens the signal transmission from the first signal output terminal 121 of the arithmetic module to the signal input terminal 113 of the touch screen, so that the touch screen 110 can display the dynamic QR code 111 or receive power, i.e., it is lit up.
[0050] Compared to Figure 2 The optional methods shown are: Figure 1 In this embodiment, the locking pin in the electronic combination lock 100 may not be electrically driven, but rather a manual method commonly used in this technical field. However... Figure 2 The electric drive mechanism 130 used in the optional method shown makes the electronic combination lock 100 more convenient and labor-saving to use.
[0051] Figure 3 for Figure 1 , 2 A schematic diagram of an input interface for receiving input information on a touch screen, as described in the embodiment.
[0052] like Figure 3As shown, optionally, in the above embodiment, the touch screen 110 displays an input interface 112 after being touched, and receives input information input via touch through the input interface 112. This input information is typically 4 to 8 digits of numeric information, or it can be a mixture of numbers and letters input via a virtual standard keyboard displayed on the input interface 112. In this embodiment, besides the touch screen 110 displaying the input interface 112 after being touched, a dedicated button can also be provided on the electronic combination lock 100. Pressing this button will display the input interface 112 on the touch screen 110, allowing the touch screen 110 to receive input information input via touch through the input interface 112.
[0053] Figure 4 This is a circuit block diagram of a decoding device according to an embodiment of this application.
[0054] like Figure 4 As shown, a decoding device 200 for a dynamic QR code 111, wherein the encoded information of the dynamic QR code 111 includes at least a number information and a dynamic information, and the decoding device 200 includes:
[0055] Camera 210 is used to scan and read dynamic QR code 111;
[0056] The decoding module 220 is used to decode the dynamic QR code 111 scanned and read by the camera 210 and generate an outputtable character result;
[0057] The display module 230 is connected to the display screen 231 for displaying the character result;
[0058] The signal input terminal 221 of the decoding module is connected to the signal output terminal 212 of the camera, and the signal output terminal 222 of the decoding module is connected to the signal input terminal 231 of the display module.
[0059] In this embodiment:
[0060] "The encoded information of the dynamic QR code 111 includes at least one number and one dynamic information" means that the encoded information of the dynamic QR code 111 includes at least one number signal, such as 0001#, and another random dynamic information, such as random dynamic information determined according to the system time of opening / closing of the electronic combination lock 100, or the cumulative number of opening / closing, or the latitude and longitude of the geographical location of the electronic combination lock 100 when it is opened / closed.
[0061] "Decoding module 220, used to decode the dynamic QR code 111 scanned and read by camera 210 and generate an output character result" means that the decoding module 220 can scan and read the dynamic QR code 111 by camera 210, decode the dynamic QR code 111 by its built-in determination algorithm, generate a character result, and output the character result to display module 230.
[0062] Optionally, in this embodiment, the decoding device 200 is a mobile smart terminal, and the function of the decoding module 220 is implemented by an APP software installed on the mobile smart terminal. Correspondingly, the camera 210, the display module 230, and the display screen 231 are also implemented by corresponding functional modules on the mobile smart terminal.
[0063] Figure 5 This is a schematic diagram of the structure of an electronic combination lock box according to an embodiment of this application.
[0064] like Figure 5 As shown, an electronic combination lock box 300 is equipped with the aforementioned electronic combination lock 100.
[0065] Optionally, in this embodiment, the electronic combination lock 300 is equipped with a built-in satellite locator 301 for tracking and recording the real-time location of the electronic combination lock 300.
[0066] The advantage of having a built-in satellite locator 301 in the electronic combination lock 300 is that it allows the real-time location of the electronic combination lock 300 and the time spent at any location to be recorded in real time or later, thus adding a traceable security barrier to the electronic combination lock 300 during possible delivery.
[0067] Optionally, in this embodiment, the electronic combination lock 300 has a built-in battery module 302, which is electrically connected to the electronic combination lock 100 and the satellite locator 301 to supply power to the electronic combination lock 100 and the satellite locator 301.
[0068] Figure 6 This is a flowchart illustrating a method for password generation and verification according to an embodiment of this application.
[0069] like Figure 6 As shown, a method for password generation and verification includes:
[0070] S610: Generate a dynamic QR code, wherein the encoding information of the dynamic QR code includes at least a number and dynamic information.
[0071] S620: Generate verification information, which is generated based on a variable parameter and a certain number of parameters. The variable parameter is determined by the dynamic information, and the certain number of parameters are preset according to the numbering information.
[0072] S630: Receive input information, which is password information generated by a decoding device after reading and decoding the dynamic QR code.
[0073] S640: Verify whether the password information is correct based on the verification information.
[0074] In this embodiment:
[0075] In step S610, "generating a dynamic QR code, wherein the encoded information of the dynamic QR code includes at least one number and one dynamic information" means that a computing module generates and outputs a dynamic QR code, the encoded information of which includes at least one number and one dynamic information. For example, the computing module 120 generates a dynamic QR code containing the number and system time information based on the dynamic QR code algorithm rules, according to the number of the electronic combination lock 100 and the system time of unlocking the electronic combination lock 100, i.e., the dynamic information.
[0076] In step S620, "generating verification information, wherein the verification information is generated based on a variable parameter and a certain number of parameters, the variable parameter being determined by the dynamic information, and the quantitative parameters being preset according to the numbering information" means that a calculation module generates verification information, and this verification information is calculated by the calculation module based on a variable parameter and a certain number of parameters according to a preset algorithm rule. For example, the calculation module 120 generates verification information based on the system time of unlocking the electronic combination lock 100, i.e., the dynamic information, i.e., the variable parameter and the preset quantitative parameters. The quantitative parameters can be constant parameters preset in the calculation module 120 with the number of the electronic combination lock 100 as an index, or constant parameters corresponding to the calculation module 120 given by an external device with a certain number as an index before calculation.
[0077] In step S630, "receiving input information, wherein the input information is password information generated by a decoding device after reading and decoding the dynamic QR code," means that a processing module receives input information. For example, the processing module 120 receives input information through the touch screen 110, or it can receive input information through a physical keyboard or any other form of input device. In this embodiment, the input information can be password information generated by an external decoding device after reading and decoding the dynamic QR code. This decoding process can be obtained by calculating the variable parameters contained in the QR code according to a determined algorithm rule and determined parameters.
[0078] In step S640, "verify whether the password information is correct based on the verification information" means that the password information in step S630 is verified based on the verification information generated in step S620 to determine whether the password information is correct.
[0079] Figure 7 for Figure 6 A flowchart illustrating an optional approach in this embodiment.
[0080] like Figure 7 As shown, Figure 6 The method of this embodiment is used for password generation and verification of an electronic combination lock 100, which includes a touch screen 110 and a processing module 120. The method includes:
[0081] S710: The processing module 120 generates a dynamic QR code 111. The encoding information of the dynamic QR code 111 includes at least the number of the electronic combination lock 100 and dynamic information. The content of the dynamic information is generated by the electronic combination lock 100 or determined according to the status, time or location information of the electronic combination lock 100.
[0082] S720: Verification information is generated by the calculation module 120. The verification information is generated based on a variable parameter and a certain number of parameters. The variable parameter is determined by the dynamic information, and the certain number of parameters is preset according to the number of the electronic combination lock 100.
[0083] S730: Displays a dynamic QR code 111 via the touchscreen display.
[0084] S740: Receive input information via touch screen 110, the input information being password information generated by decoding device 200 after reading and decoding dynamic QR code 111.
[0085] S750: The calculation module 120 verifies whether the verification information and the password information are consistent, and outputs an unlocking signal after the verification is successful.
[0086] Optionally, in step S720 of this embodiment, the process of generating verification information through the calculation module 120 includes:
[0087] S721: Determine and record the system time of the last opening / closing of the electronic combination lock 100, and assign the system time as the value of the variable parameter.
[0088] S722: Determine the quantitative parameter corresponding to the number of the electronic combination lock 100.
[0089] S723: Based on the quantitative parameters, process the variable parameters according to the determined algorithm to obtain the verification information.
[0090] Optionally, the system time of the last opening / closing of the electronic combination lock 100 in step S721 can generally be the system time of the last unlocking, and this unlocking system time is used as the value of the variable parameter. For example, if the system time of the last unlocking is 03:06:41, the significant digit 30641 is extracted and used as the value of the variable parameter.
[0091] Optionally, the process of processing the variable parameters according to a determining algorithm based on the quantitative parameters in step S723 to obtain the verification information includes:
[0092] S7231: Take the nth root of the variable parameter and retain m decimal places;
[0093] S7232: Starting from the Pth digit of the decimal, take q digits in sequence as the verification information;
[0094] The parameters n, m, p, and q are all assigned values by the quantitative parameters.
[0095] For example, in the quantitative parameters, n is 3, m is 15, p is 9, and q is 5.
[0096] Optionally, the process of processing the variable parameters according to a determining algorithm based on the quantitative parameters in step S723 to obtain the verification information includes:
[0097] S7233: Add a determined addend r to the variable parameter and take the nth root, retaining m decimal places;
[0098] S7234: Starting from the p-th digit of the decimal, take q digits in sequence as the verification information;
[0099] The parameters n, m, p, q, and r are all assigned values by the quantitative parameters.
[0100] For example, in the quantitative parameters, n is 3, m is 15, p is 9, q is 5, and r is 31595.
[0101] Optionally, in step S740 of this embodiment, the process of the decoding device 200 reading and decoding the dynamic QR code 111 to generate the password information includes:
[0102] S741: Read the encoding information of the dynamic QR code 111 and extract the number of the electronic combination lock 100 and the corresponding variable parameters from it.
[0103] S742: Based on the quantitative parameters preset in the decoding device 200, the variable parameters are processed according to a determined algorithm to obtain the password information, wherein the quantitative parameters are preset in the decoding device 200 with the number of the electronic combination lock 111 as an index.
[0104] In step S741, "reading the encoding information of the dynamic QR code 111 and extracting the number of the electronic combination lock 100 and the corresponding variable parameters" means, for example, extracting the number information 0001# of the electronic combination lock 100 from the encoding information of the dynamic QR code 111, and then finding the quantitative parameter information corresponding to the number information 0001# using the number of the electronic combination lock 100 as an index, such as n being 3, m being 15, p being 9, and q being 5 in the quantitative parameters; or n being 3, m being 15, p being 9, q being 5, and r being 31595 in the quantitative parameters.
[0105] In step S742, "processing the variable parameters according to the predetermined algorithm based on the quantitative parameters preset in the decoding device 200 to obtain the password information" means, for example, finding the quantitative parameter information corresponding to the preset number 0001# in the decoding device 200 using the electronic combination lock 100 number as an index, such as n being 3, m being 15, p being 9, and q being 5 in the quantitative parameters; or n being 3, m being 15, p being 9, q being 5, and r being 31595 in the quantitative parameters. Then, taking the nth root of the effective digit "30641" in the variable parameter, such as the system time 03:06:41 contained in the dynamic QR code, and retaining m decimal places, and then taking q digits sequentially from the Pth digit of the decimal as the password information.
[0106] Figure 8 This is a flowchart illustrating a method for preventing the tampering of electronic combination lock boxes used in express delivery services, as described in an embodiment of this application.
[0107] like Figure 8 As shown, a method for preventing tampering with an electronic combination lock 300 used in express delivery services is disclosed. The electronic combination lock 300 is equipped with an electronic combination lock 100, and the method includes:
[0108] S810: Log in to the platform server through the first mobile smart terminal and submit a shipping application for the items to be shipped. The shipping application shall include at least the telephone numbers or identity IDs of the sender and recipient.
[0109] S820: The first mobile smart terminal scans and reads the dynamic QR code of the electronic combination lock and uploads it to the platform server. The encoding information of the dynamic QR code includes at least the number of the electronic combination lock and dynamic information. The content of the dynamic information is generated by the electronic combination lock or determined according to the current status, system time or location information of the electronic combination lock.
[0110] S830: The platform server determines whether the electronic combination lock corresponding to the electronic combination lock is in another express delivery process by using the electronic combination lock number in the dynamic QR code. If not, the first unlocking password of the electronic combination lock is sent to the first mobile smart terminal.
[0111] S840: Open the electronic combination lock based on the first unlocking password, put the items to be transported in, close the electronic combination lock, and update the dynamic QR code by the electronic combination lock.
[0112] S850: Log in to the platform server via a second mobile smart terminal, whereby the second mobile smart terminal scans and reads the updated dynamic QR code and uploads it to the platform server.
[0113] S860: The platform server determines whether the phone number or identity ID of the second mobile smart terminal is consistent with the phone number or identity ID of the recipient in the delivery application submitted by the first mobile smart terminal, and whether the number in the updated dynamic QR code uploaded by the second mobile smart terminal is consistent with the number in the updated dynamic QR code uploaded by the first mobile smart terminal. If they are consistent, the platform server sends the second unlocking password of the electronic lock box to the second mobile smart terminal and ends the current express delivery process.
[0114] In this embodiment, the first and second mobile smart terminals can be mobile smart terminals with a dedicated APP installed, or dedicated mobile smart terminals based on other forms of applications or hardware implementations. The first mobile smart terminal in this embodiment is typically the mobile smart terminal that initiates the express delivery process, usually held by the sender, but in special cases it can also be held by someone other than the sender or by the delivery personnel. The second mobile smart terminal in this embodiment is typically the mobile smart terminal that receives the express delivery, usually held by the recipient, but in special cases it can also be held by someone other than the recipient or by the delivery personnel.
[0115] The platform server can be a stand-alone computer server or a cloud-based server that can communicate with the first and second mobile smart terminals to upload or distribute relevant information.
[0116] In step S820, "the content of the dynamic information is generated by the electronic combination lock or determined according to the current state, system time, or location information of the electronic combination lock" means, for example, that the dynamic information is the current system time generated in the electronic combination lock 100, or the value of the dynamic information is determined according to a certain algorithm rule based on the current cumulative number of opening / closing of the electronic combination lock 100, or the system time, or the latitude and longitude of the location.
[0117] Step S830, "The platform server determines whether the electronic combination lock corresponding to the electronic combination lock is in another express delivery process by using the electronic combination lock number in the dynamic QR code. If not, it sends the first unlocking password of the electronic combination lock to the first mobile smart terminal," means that, to prevent couriers from switching a combination lock in a normal express delivery process, whenever any mobile smart terminal scans and reads the dynamic QR code of the electronic combination lock 100 and uploads it to the platform server, the platform server uses the electronic combination lock number in the dynamic QR code to determine whether the electronic combination lock corresponding to that electronic combination lock is in another express delivery process. If not, it sends the first unlocking password of the corresponding electronic combination lock to the mobile smart terminal that uploaded the dynamic QR code. Conversely, if it is determined that the electronic combination lock corresponding to the electronic combination lock is in another express delivery process, no response is made to the mobile smart terminal.
[0118] Figure 8 Further optional embodiments of the anti-spoofing method in the embodiments include:
[0119] After opening the electronic combination lock based on the first unlocking code, placing the items to be transported inside, and then closing the electronic combination lock, the dynamic QR code is updated by the electronic combination lock. This process also includes:
[0120] The first mobile smart terminal scans and reads the updated dynamic QR code of the electronic combination lock again, uploads it to the platform server, and the platform server determines whether the number in the updated dynamic QR code is consistent with the number in the previous dynamic QR code. If so, the current express delivery process continues.
[0121] In this optional method, the platform server determines whether the dynamic QR code uploaded before unlocking by the first mobile terminal and the updated dynamic QR code uploaded after locking the box with the items to be shipped are the same electronic lock box number. This ensures that once the express delivery process is initiated, the same electronic lock box is always involved in the process.
[0122] Figure 8 Further alternative methods for preventing data swapping in the embodiments include:
[0123] The dynamic information also includes the cumulative number of times the electronic combination lock 100 has been opened / closed;
[0124] The process, after step S820 where the first mobile smart terminal scans and reads the dynamic QR code of the electronic combination lock and uploads it to the platform server, further includes:
[0125] S821: The platform server counts the cumulative number of times the electronic combination lock 100 has been opened / closed, and records the number of opening / closing times as a, where a is a natural number; and
[0126] After step S830, where the first mobile smart terminal scans and reads the updated dynamic QR code of the electronic combination lock 100 again and uploads it to the platform server, the process further includes:
[0127] S831: The platform server determines whether the cumulative number of opening / closing times of the electronic combination lock 100 in the updated dynamic QR code is a+1. If so, the current express delivery process continues. After step S850, where the second mobile smart terminal logs into the platform server, scans and reads the updated dynamic QR code, and uploads it to the platform server, the process further includes:
[0128] S851: The platform server determines whether the cumulative number of times the electronic combination lock has been opened / closed in the updated dynamic QR code uploaded by the second mobile smart terminal is a+1. If so, the current express delivery process continues.
[0129] The above-mentioned further alternative methods, compared to Figure 8 The main difference in the embodiments is that the dynamic information also includes the cumulative number of times the electronic combination lock 100 has been opened / closed. For example, it includes the cumulative number of times the electronic combination lock 100 has been unlocked. Furthermore, after step S820, "scanning and reading the dynamic QR code of the electronic combination lock 100 through the first mobile smart terminal and uploading it to the platform server," it also includes step S821, "the platform server counts the cumulative number of times the electronic combination lock 100 has been opened / closed, and records the number of opening / closing times as 'a', where 'a' is a natural number"; and after step S830, "scanning and reading the updated dynamic QR code of the electronic combination lock 100 again through the first mobile smart terminal and uploading it to the platform server,"... The process also includes step S831, which states that "the platform server determines whether the cumulative number of times the electronic combination lock 300 has been opened / closed in the updated dynamic QR code is a+1. If so, the current express delivery process continues." After step S850, which states that "the second mobile smart terminal logs into the platform server, scans and reads the updated dynamic QR code, and uploads it to the platform server," step S851 further states that "the platform server determines whether the cumulative number of times the electronic combination lock has been opened / closed in the updated dynamic QR code uploaded by the second mobile smart terminal is a+1. If so, the current express delivery process continues."
[0130] compared to Figure 8In this embodiment, the beneficial effect of this further optional method is that by further including the cumulative number of opening / closing times of the electronic combination lock 100 in the dynamic information of the dynamic QR code, such as including the cumulative number of unlocking times of the electronic combination lock 100, it can intuitively reflect whether the cumulative number of unlocking times of the electronic combination lock 100 in the dynamic QR code uploaded by the first mobile terminal before the update and the updated dynamic QR code in this express delivery process are continuous, and whether the cumulative number of unlocking times of the electronic combination lock 100 in the dynamic QR code uploaded by the first mobile terminal before the update and the updated dynamic QR code uploaded by the second mobile smart terminal are continuous. For example, if the cumulative number of unlocking times contained in the dynamic QR code uploaded by the first mobile terminal before the update is 'a', after it opens the electronic combination lock 300, puts in the items to be shipped, and locks the electronic combination lock 300, the cumulative number of unlocking times contained in the updated dynamic QR code uploaded the second time should be 'a+1'. If the updated dynamic QR code uploaded by the first mobile terminal still contains 'a' of the cumulative unlock count, it means that the electronic lockbox 300 has not been opened and no items have been placed inside. However, if the updated dynamic QR code uploaded by the first mobile terminal contains a+n (n>1) of the cumulative unlock count, it indicates that a special circumstance has occurred in this delivery process, and the platform server should refuse to continue the delivery process. Furthermore, the dynamic QR code uploaded by the second mobile terminal should also contain a+1 of the cumulative unlock count. If it is not a+1 but another number, it indicates that a special circumstance has also occurred in this delivery process, and the platform server should also refuse to continue the delivery process, i.e., not send the second unlock password to the second mobile terminal.
[0131] The above embodiments are merely illustrative of specific implementation methods and are not intended to limit the implementation. Those skilled in the art will recognize that various variations or modifications can be made to the above embodiments based on the descriptions. It is neither necessary nor possible to exhaustively list all possible implementations. However, obvious variations or modifications derived therefrom remain within the scope of protection of this application.
Claims
1. An electronic combination lock, characterized in that, include: A touch screen is used to display a dynamic QR code, display an input interface, and receive input information. The encoding information of the dynamic QR code includes at least the number of the electronic combination lock and dynamic information. The content of the dynamic information is generated by the electronic combination lock or determined according to the status, time, or location information of the electronic combination lock. The processing module is used to generate the dynamic QR code and recognize the input information, wherein the input information is password information generated by the decoding device after decoding the dynamic QR code; The first signal input terminal of the computing module is connected to the signal output terminal of the touch screen, and is used to feed back the input information input via the touch screen to the computing module; the signal input terminal of the touch screen is connected to the first signal output terminal of the computing module, and is used to display the encoded information of the dynamic QR code generated by the computing module on the touch screen.
2. The electronic combination lock according to claim 1, characterized in that, The electronic combination lock also includes an electric drive mechanism for driving the electronic combination lock to open or close. The signal input terminal of the electric drive mechanism is connected to the second signal output terminal of the arithmetic module, and the second signal input terminal of the arithmetic module is connected to the signal output terminal of the electric drive mechanism.
3. The electronic combination lock according to claim 2, characterized in that, When the electronic combination lock is opened or locked, the electric drive mechanism sends different level signals to the second signal input terminal of the computing module through the signal output terminal of the electric drive mechanism, so as to turn off or on the signal transmission from the first signal output terminal of the computing module to the signal input terminal of the touch screen.
4. The electronic combination lock according to claim 1, characterized in that, The touch screen displays the input interface after being touched, and receives the input information input by touch through the input interface.
5. A decoding device for decoding a dynamic QR code, wherein the encoded information of the dynamic QR code includes at least a number and dynamic information, the content of the dynamic information being generated by an electronic combination lock or determined based on the state, time, or location information of the electronic combination lock, the dynamic QR code being displayed on the electronic combination lock, and the decoding device being capable of reading the dynamic QR code on the electronic combination lock, characterized in that... The decoding device includes: A camera is used to scan and read the dynamic QR code; The decoding module is used to decode the dynamic QR code scanned and read by the camera and generate an outputtable character result; The display module is connected to a display screen for displaying the character results; The signal input terminal of the decoding module is connected to the signal output terminal of the camera, and the signal output terminal of the decoding module is connected to the signal input terminal of the display module.
6. The decoding device according to claim 5, characterized in that, The decoding device is a mobile smart terminal, and the function of the decoding module is implemented by the APP software installed on the mobile smart terminal.
7. An electronic combination lock box, characterized in that, The electronic combination lock described in claims 1-4 is installed on the electronic combination lock.
8. The electronic combination lock box according to claim 7, characterized in that, The safe is equipped with a built-in satellite locator for tracking and recording the real-time location of the electronic safe.
9. The electronic combination lock box according to claim 8, characterized in that, The combination lock box has a built-in battery module, which is electrically connected to the electronic combination lock and the satellite locator to provide power to the electronic combination lock and the satellite locator.