Electronic coded lock, electronic code case and anti-changing method of electronic code case
Through the combination of dynamic QR code technology and electronic password locks, the problem that traditional locks cannot determine whether the express box is opened in the middle or prevented from being illegally opened is solved, and the security and reliability of the electronic password box is realized, ensuring the security of express business and Trustworthiness.
Patent Information
- Application Number
- CN202411498793.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2024-12-27
AI Technical Summary
Traditional technical means such as password locks, fingerprint locks and seals cannot effectively determine whether the express box is opened in the middle or prevent valuables from being opened illegally in the middle, and cannot ensure the security of express business.
Using dynamic QR code technology, the electronic password lock and decoding device generate or determine dynamic information based on status, time or location information. The display and decoding of the touch screen ensures the security and uniqueness of the input information, and is used for the prevention of the electronic password box. The packet transfer method uses mobile smart terminals and platform servers to scan and verify dynamic QR codes to ensure the credibility of the unlock password.
Through dynamic QR code technology, the security and reliability of electronic password locks and electronic password boxes are ensured, risks in express delivery services are reduced, trustworthy unlocking password management is provided, and mid-stop transfer is prevented, and security and reliability are improved.
Smart Images

Figure CN119195592A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of locks and boxes, and in particular to an electronic password lock, an electronic password box and an anti-switch method thereof. Background Art
[0002] In the express delivery business, especially the express delivery business of valuables, people hope that their items can arrive at the destination safely without worrying about being replaced or encountering other security threats. However, traditional technical means such as password locks, fingerprint locks and seals have many defects, especially they cannot allow senders and recipients to reliably determine whether the express box has been opened during delivery or effectively prevent the express box containing valuables from being illegally opened by others during delivery. Summary of the invention
[0003] In response to the above technical problems, the present application proposes an electronic password lock, a decoding device, an electronic password box, a password generation and verification method, and an electronic password box anti-substitution method for express delivery services.
[0004] The electronic password lock, decoding device, electronic password box, password generation and verification method, and electronic password box anti-substitution method used in the embodiments of the present application all adopt a dynamic QR code, and the encoding information of the dynamic QR code includes at least one numbering information and one dynamic information. The content of the dynamic information is generated by the electronic password lock or determined according to the status, time or location information of the electronic password lock.
[0005] The electronic password lock comprises:
[0006] A touch screen, used to display a dynamic two-dimensional code, display an input interface, and receive input information, wherein the encoding information of the dynamic two-dimensional code at least includes the serial number of the electronic password lock and dynamic information, and the content of the dynamic information is generated by the electronic password lock or determined according to the state, time or location information of the electronic password lock;
[0007] A calculation module, used to generate the dynamic two-dimensional code and identify the input information, wherein the input information is password information generated after the dynamic two-dimensional code is decoded by a decoding device;
[0008] Wherein, the first signal input terminal of the operation module is connected to the signal output terminal of the touch display screen, and the signal input terminal of the touch display screen is connected to the first signal output terminal of the operation module.
[0009] The decoding device comprises:
[0010] A camera, used to scan and read the dynamic QR code;
[0011] A decoding module, used for decoding the dynamic two-dimensional code scanned and read by the camera, and generating an outputtable character result;
[0012] A display module, connected to a display screen, for displaying the character results;
[0013] Wherein, the signal input end of the decoding module is connected to the signal output end of the camera, and the signal output end of the decoding module is connected to the signal input end of the display module.
[0014] The password generation and verification method comprises:
[0015] Generate a dynamic two-dimensional code, wherein the encoding information of the dynamic two-dimensional code includes at least a serial number information and a dynamic information;
[0016] Generate verification information, the verification information is generated based on a variable parameter and a certain quantitative parameter, the variable parameter is determined by the dynamic information, and the quantitative parameter is pre-set according to the numbering information;
[0017] Receiving input information, wherein the input information is password information generated by a decoding device reading and decoding the dynamic two-dimensional code;
[0018] Verify whether the password information is correct according to the verification information.
[0019] In an optional manner, a password generation and verification method for an electronic password lock includes:
[0020] Generate a dynamic two-dimensional code through the computing module, wherein the encoding information of the dynamic two-dimensional code at least includes the serial number of the electronic password lock and dynamic information, and the content of the dynamic information is generated by the electronic password lock or determined according to the state, time or location information of the electronic password lock;
[0021] Generating verification information through the operation module, the verification information is generated based on a variable parameter and a certain quantitative parameter, the variable parameter is determined by the dynamic information, and the quantitative parameter is pre-set according to the number of the electronic password lock;
[0022] Outputting and displaying the dynamic two-dimensional code through the touch display screen;
[0023] receiving input information through the touch display screen, wherein the input information is password information generated after the decoding device reads and decodes the dynamic two-dimensional code;
[0024] The operation module verifies whether the verification information and the password information are consistent, and outputs an unlocking signal after the verification is passed.
[0025] A method for preventing package substitution in an electronic password box for express delivery services, wherein the electronic password box is equipped with an electronic password lock, and the method comprises:
[0026] Log in to the platform server through the first mobile smart terminal and submit a shipping application for the item to be shipped, wherein the shipping application at least includes the telephone number or identity ID of the consignee and the consignor respectively;
[0027] The dynamic QR code of the electronic password lock is scanned and read by the first mobile smart terminal, and uploaded to the platform server, wherein the encoding information of the dynamic QR code at least includes the serial number of the electronic password lock and dynamic information, and the content of the dynamic information is generated by the electronic password lock or determined according to the current state, system time or location information of the electronic password lock;
[0028] The platform server determines whether the electronic password box corresponding to the electronic password lock is in another express delivery service process through the number of the electronic password lock in the dynamic two-dimensional code, and if not, sends the first unlocking password of the electronic password box to the first mobile smart terminal;
[0029] Open the electronic password box based on the first unlocking password, put the items to be transported into the electronic password box and close it, and update the dynamic QR code by the electronic password lock;
[0030] Log in to the platform server through a second mobile smart terminal, scan and read the updated dynamic QR code by the second mobile smart terminal, and upload it to the platform server;
[0031] The platform server determines whether the telephone number or identity ID of the second mobile smart terminal is consistent with the telephone 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 password box to the second mobile smart terminal and ends the express delivery service process.
[0032] Further optional methods of the above anti-switch method include:
[0033] The method of opening the electronic password box based on the first unlocking password, putting the items to be transported into the electronic password box and closing the electronic password box, and updating the dynamic two-dimensional code by the electronic password lock, further includes:
[0034] The updated dynamic QR code of the electronic password lock is scanned and read again by the first mobile smart terminal, uploaded 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 dynamic QR code before the update. If so, the express delivery business process continues.
[0035] Further optional methods of the above anti-switch method include:
[0036] The coded information of the dynamic two-dimensional code includes at least the serial number of the electronic password lock and dynamic information, and the dynamic information also includes the cumulative number of times the electronic password lock is opened / closed;
[0037] Wherein, after the first mobile smart terminal scans and reads the dynamic QR code of the electronic password lock and uploads it to the platform server, it also includes:
[0038] The platform server counts the cumulative number of times the electronic password lock is opened / locked, and the number of times is recorded as a, where a is a natural number; and
[0039] After the first mobile smart terminal scans and reads the updated dynamic QR code of the electronic password lock again and uploads it to the platform server, the method further includes:
[0040] The platform server determines whether the cumulative opening / closing times of the electronic password lock in the updated dynamic QR code is a+1, and if so, continues the current express delivery service process; and
[0041] After logging into the platform server through the second mobile smart terminal, scanning and reading the updated dynamic QR code by the second mobile smart terminal, and uploading it to the platform server, the method further includes:
[0042] The platform server determines whether the cumulative opening / closing times of the electronic password lock in the updated dynamic QR code uploaded by the second mobile smart terminal is a+1. If so, the express delivery service process continues.
[0043] The beneficial effect of the technical solution of the present application is that, by adopting the technical means of dynamic QR code, the sender and the recipient can reliably grasp the unlocking password of the electronic password lock, electronic password box or express delivery business using the electronic password box as a means of delivery, thereby ensuring the safety, reliability and low risk of the electronic password lock, electronic password box or related express delivery business. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 This is a circuit block diagram of an electronic password lock according to an embodiment of the present application;
[0045] Figure 2 for Figure 1 Schematic diagram of the dynamic QR code and input interface displayed on the touch screen in the embodiment;
[0046] Figure 3 for Figure 1 A circuit block diagram of an optional method in the embodiment;
[0047] Figure 4 A circuit block diagram of a decoding device according to an embodiment of the present application;
[0048] Figure 5 This is a schematic diagram of the structure of an electronic password box according to an embodiment of the present application;
[0049] Figure 6 A flowchart of a method for password generation and verification according to an embodiment of the present application;
[0050] Figure 7 for Figure 6 A method flow chart of an optional method in an embodiment;
[0051] Figure 8 This is a flow chart of a method for preventing package substitution in an electronic password box for express delivery services according to an embodiment of the present application.
[0052] 1. The electronic combination lock includes: 100, electronic password lock; 110, touch screen; 111, dynamic two-dimensional code; 112, input interface; 113, touch screen signal input terminal; 114, touch screen signal output terminal; 120, operation module; 121, operation module first signal input terminal; 122, operation module first signal output terminal; 123, operation module second signal input terminal; 124, operation module second signal output terminal; 130, electric drive mechanism; 130, 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 password box; 301, satellite locator; 302, battery module. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical scheme and advantages of the present application clearer, the present application is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present application. In addition, in the following description, the description of known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present application. The schematic diagrams in the various embodiments of the present application shown in the accompanying drawings may not be drawn to scale, and some details may be enlarged and some details may be omitted for the purpose of clarity. The various regions, shapes and relative sizes and positional relationships shown in the figures are only exemplary, and may be deviated in practice due to manufacturing tolerances or technical limitations, and those skilled in the art may additionally design products or method flows with different shapes, sizes and relative relationships according to actual needs.
[0054] Obviously, the embodiments described in the specific implementation of the present application are only part of the embodiments that can be presented in the present application, rather than all the embodiments. Based on the embodiments described in the specific implementation of the present application, other embodiments obtained by ordinary technicians in this field without making creative work are all within the scope of protection of the present application.
[0055] In addition, many specific details of the present application described below, such as the structure, material, or size of the device, as can be understood by those skilled in the art, may also be implemented without following these specific details. Unless otherwise specified below, the various parts of the relevant electronic devices may be composed of elements or materials known to those skilled in the art. It should be noted that the terms "first" and "second" in this application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance, and the technical features involved in the different embodiments described below can be combined with each other as long as they do not conflict with each other.
[0056] Related terms:
[0057] Dynamic QR code: The dynamic QR code mentioned in this application means that under the corresponding trigger conditions, the QR code will refresh and generate different codes and graphics according to specific algorithms and rules, which generally has the following characteristics:
[0058] ① Variability. Compared with static QR codes, the codes and graphics of dynamic QR codes are not static, but will change under corresponding triggering conditions.
[0059] ② Security: Since the codes and graphics of dynamic QR codes are different after being refreshed under corresponding triggering conditions, they are difficult to predict and copy, so they are relatively safer;
[0060] ③Flexibility: Dynamic QR codes can be flexibly configured with relevant information according to transaction needs, such as number, time or location information.
[0061] 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 can be input by handwriting and is displayed in the form of a handwriting panel.
[0062] 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 a mobile phone, tablet computer or related similar products.
[0063] Verification information: The verification information mentioned in this application refers to pre-generated character or numeric information used to verify whether the subsequent password information is correct.
[0064] Figure 1 This is a circuit block diagram of an electronic password lock according to an embodiment of the present application.
[0065] like Figure 1 As shown, an electronic combination lock 100 includes:
[0066] The touch screen 110 is used to display a dynamic two-dimensional code 111, display an input interface 112, and receive input information. The encoding information of the dynamic two-dimensional code 111 at least includes the serial number of the electronic password lock 100 and dynamic information. The content of the dynamic information is generated by the electronic password lock 100 or determined according to the state of the electronic password lock 100.
[0067] The operation module 120 is used to generate the dynamic two-dimensional code 111 and identify the input information, where the input information is the password information generated after the dynamic two-dimensional code 111 is decoded by the decoding device;
[0068] The first signal input terminal 121 of the operation module 120 is connected to the signal output terminal 114 of the touch display screen 110 , and the signal input terminal 113 of the touch display screen 110 is connected to the first signal output terminal 122 of the operation module 120 .
[0069] In this embodiment:
[0070] “The touch display screen 110 is used to display a dynamic QR code 111, display an input interface 112, and receive input information” means that the touch display screen 110, based on its basic functions of display output and touch input, can generate a dynamic QR code 111 for display and output to the user by the operation module 120, and allow the user to return the unlocking password information as input information to the operation module 120 through touch input.
[0071] “The coded information of the dynamic two-dimensional code 111 includes at least the serial number of the electronic password lock 100 and a dynamic information, and the content of the dynamic information is generated by the electronic password lock 100 or determined according to the state of the electronic password lock 100” means that the coded information of the dynamic two-dimensional code 111 includes at least the serial number of the electronic password lock 100, such as 0001#, and another random dynamic information generated by the electronic password lock 100 or determined according to the state of the electronic password lock 100, such as random dynamic information determined according to the system time when the electronic password lock 100 is opened / locked, or the cumulative number of times it is opened / locked, or the longitude and latitude of the geographical location where the electronic password lock 100 is located when it is opened / locked.
[0072] “The operation module 120 is used to generate the dynamic two-dimensional code 111 and identify the input information, and the input information is the password information generated by the decoding device after decoding the dynamic two-dimensional code 111” means that the above-mentioned dynamic two-dimensional code 111 is generated by the operation module 120 based on a certain algorithm. For example, based on the dynamic two-dimensional code algorithm rules, according to the number of the electronic password lock 100 and the system time of unlocking the electronic password lock 100, a dynamic two-dimensional code containing the number information and system time information is generated. The input information is the password information generated by the decoding device after decoding the dynamic two-dimensional code 111. The decoding device refers to an external device independent of the electronic password lock 100, which can be a mobile smart terminal that can realize related functions through an APP, or a dedicated decoding device that realizes reading, decoding and output functions by a dedicated program.
[0073] The operation module 120 in this embodiment includes first and second signal input terminals 121, 123 and first and second signal output terminals 122, 124, and the touch display screen 110 includes a signal input terminal 113 and a signal output terminal 114. Among them, the first signal input terminal 121 of the operation module 120 is connected to the signal output terminal 114 of the touch display screen 110, and is used to return the input information received by the touch display screen 110 to the operation module 120 through a touch input method. The signal input terminal 113 of the touch display screen 110 is connected to the first signal output terminal 122 of the operation module 120, and is used to display and output the dynamic two-dimensional code 111 generated by the operation module 120 to the user through the touch display screen 110.
[0074] In this embodiment, by adopting the technical means of touch display screen and dynamic QR code, the safety, reliability and convenience of the electronic password lock in use are effectively improved.
[0075] Figure 2 for Figure 1 A circuit block diagram of an optional embodiment.
[0076] like Figure 2As shown, optionally, in the above embodiment, the electronic combination lock 100 further includes an electric drive mechanism 130, which is used to drive the opening or locking of the electronic combination lock 100. For example, an electromagnetic drive mechanism drives the ejection or retraction of the lock pin to complete 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 operation module, and the second signal input terminal 123 of the operation module is connected to the signal output terminal 132 of the electric drive mechanism.
[0077] Further optionally, when the electric drive mechanism 130 opens or locks the electronic combination lock 100, different level signals are transmitted to the second signal input terminal 123 of the operation module through the signal output terminal 132 of the electric drive mechanism 130 to close or open the signal transmission from the first signal output terminal 121 of the operation module to the signal input terminal 113 of the touch display screen. For example, when the electric drive mechanism 130 is opening the electronic password lock 100, a high-level signal is transmitted to the second signal input terminal 123 of the operation module through the signal output terminal 132 of the electric drive mechanism 130 to turn off the signal transmission from the first signal output terminal 121 of the operation module to the signal input terminal 113 of the touch display screen, so that the touch display screen 110 at this time does not display the dynamic two-dimensional code 111 or the touch display screen 110 at this time does not obtain power, that is, it is not lit; on the contrary, when the electric drive mechanism 130 is locking the electronic password lock 100, a low-level signal is transmitted to the second signal input terminal 123 of the operation module through the signal output terminal 132 of the electric drive mechanism 130 to turn on the signal transmission from the first signal output terminal 121 of the operation module to the signal input terminal 113 of the touch display screen, so that the touch display screen 110 at this time can display the dynamic two-dimensional code 111 or the touch display screen 110 at this time obtains power, that is, it is lit.
[0078] Relative to Figure 2 The optional method shown, Figure 1 The lock pin in the electronic combination lock 100 of the embodiment may also be driven manually instead of electrically. Figure 2 The electric drive mechanism 130 used in the optional manner shown can make the electronic combination lock 100 more convenient and labor-saving in use.
[0079] Figure 3 for Figure 1 , 2 Schematic diagram of an input interface for receiving input information on a touch display screen in an optional manner of an embodiment.
[0080] like Figure 3As shown, optionally, in the above embodiment, the touch display screen 110 displays the input interface 112 after being touched, and receives input information input by touch via the input interface 112. The input information is usually 4 to 8 digits, or it can be a mixture of numbers and letters input by a virtual standard keyboard displayed by the input interface 112. In this embodiment, in addition to the touch display screen 110 displaying the input interface 112 after being touched, a special button can also be provided on the electronic combination lock 100. After pressing the button, the input interface 112 is displayed on the touch display screen 110, so as to allow the touch display screen 110 to receive input information input by touch via the input interface 112.
[0081] Figure 4 This is a circuit block diagram of a decoding device according to an embodiment of the present application.
[0082] like Figure 4 As shown, a decoding device 200 for a dynamic two-dimensional code 111, wherein the encoding information of the dynamic two-dimensional code 111 includes at least a serial number information and a dynamic information, and the decoding device 200 includes:
[0083] A camera 210 is used to scan and read a dynamic two-dimensional code 111;
[0084] The decoding module 220 is used to decode the dynamic two-dimensional code 111 scanned and read by the camera 210, and generate an output character result;
[0085] The display module 230 is connected to a display screen 231 for displaying the character result;
[0086] 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.
[0087] In this embodiment:
[0088] “The coding information of the dynamic two-dimensional code 111 includes at least a numbering information and a dynamic information” means that the coding information of the dynamic two-dimensional code 111 includes at least a numbering signal, such as 0001# and another random dynamic information, such as the random dynamic information determined according to the system time when the electronic password lock 100 is opened / locked, or the cumulative number of opening / locking, or the longitude and latitude of the geographical location when the electronic password lock 100 is opened / locked.
[0089] “Decoding module 220, used to decode the dynamic QR code 111 scanned and read by camera 210, and generate outputtable character results” means that decoding module 220 can scan and read the dynamic QR code 111 by camera 210, and decode the dynamic QR code 111 through its built-in determination algorithm to generate character results, and output the character results to display module 230.
[0090] 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 and the display module 230 and the display screen 231 are also implemented by corresponding functional modules on the mobile smart terminal.
[0091] Figure 5 This is a schematic diagram of the structure of an electronic password box according to an embodiment of the present application.
[0092] like Figure 5 As shown, an electronic password box 300 is equipped with the aforementioned electronic password lock 100.
[0093] Optionally, in this embodiment, a satellite locator 301 is built into the electronic password box 300 to track and record the real-time location of the electronic password box 300 .
[0094] The beneficial effect of having a satellite locator 301 built into the electronic code box 300 is that it can leave a real-time or later record of the real-time location of the electronic code box 300 and the time it stays at any location, thereby adding a traceable safety barrier for the electronic code box 300 during possible delivery.
[0095] Optionally, in this embodiment, a battery module 302 is built in the electronic password box 300 , and the battery module 302 is electrically connected to the electronic password lock 100 and the satellite locator 301 to provide power for the electronic password lock 100 and the satellite locator 301 .
[0096] Figure 6 This is a flowchart of a method for password generation and verification according to an embodiment of the present application.
[0097] like Figure 6 As shown, a method for password generation and verification includes:
[0098] S610: Generate a dynamic two-dimensional code, wherein the encoding information of the dynamic two-dimensional code at least includes a serial number information and a dynamic information.
[0099] S620: Generate verification information, where the verification information is generated based on a variable parameter and a certain quantity parameter, where the variable parameter is determined by the dynamic information, and the certain quantity parameter is pre-set according to the numbering information.
[0100] S630: Receive input information, where the input information is password information generated by a decoding device reading and decoding the dynamic two-dimensional code.
[0101] S640: Verify whether the password information is correct according to the verification information.
[0102] In this embodiment:
[0103] In step S610, "generating a dynamic two-dimensional code, wherein the coding information of the dynamic two-dimensional code includes at least one number information and one dynamic information" means that a computing module generates and outputs a dynamic two-dimensional code, wherein the coding information of the dynamic two-dimensional code includes at least one number information and one dynamic information. For example, the computing module 120 generates a dynamic two-dimensional code including the number information and the system time information based on the dynamic two-dimensional code algorithm rule, according to the number information of the electronic password lock 100 and the system time of unlocking the electronic password lock 100, i.e., the dynamic information.
[0104] In step S620, "generating verification information, the verification information is generated based on a variable parameter and a certain quantity parameter, the variable parameter is determined by the dynamic information, and the quantitative parameter is preset according to the number information" means that a verification information is generated by a calculation module, and the verification information is calculated by the calculation module according to a preset algorithm rule based on a variable parameter and a certain quantity parameter. For example, the calculation module 120 generates verification information based on the system time when the electronic password lock 100 is unlocked, that is, the dynamic information, that is, the variable parameter and the preset quantitative parameter. The quantitative parameter can be a constant parameter preset in the calculation module 120 with the number of the electronic password lock 100 as an index, or a constant parameter corresponding to the calculation module 120 given to the calculation module 120 by an external device with a certain number as an index before calculation.
[0105] In step S630, "receiving input information, the input information is password information generated after a decoding device reads and decodes the dynamic two-dimensional code" means that an operation module receives input information. For example, the operation module 120 receives input information through the touch display screen 110, and of course, it can also 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 after an external decoding device reads and decodes the dynamic two-dimensional code. The decoding process can be obtained by calculating the variable parameters contained in the two-dimensional code according to the determined algorithm rules and the determined parameters.
[0106] In step S640, "verifying whether the password information is correct according to the verification information" means verifying the password information in step S630 according to the verification information generated in step S620 to determine whether the password information is correct.
[0107] Figure 7 for Figure 6 A flow chart of an optional method in an embodiment.
[0108] like Figure 7 As shown, Figure 6 The method of the embodiment is used for password generation and verification of an electronic password lock 100, the electronic password lock 100 includes a touch display screen 110 and a computing module 120, and the method includes:
[0109] S710: Generate a dynamic two-dimensional code 111 through the operation module 120. The encoding information of the dynamic two-dimensional code 111 at least includes the serial 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, time or location information of the electronic combination lock 100.
[0110] S720 : generating verification information through the operation module 120 , the verification information is generated based on a variable parameter and a certain quantitative parameter, the variable parameter is determined by the dynamic information, and the quantitative parameter is pre-set according to the serial number of the electronic combination lock 100 .
[0111] S730: Displaying a dynamic two-dimensional code 111 through the touch display screen output 110.
[0112] S740: receiving input information through the touch display screen 110, wherein the input information is password information generated after the decoding device 200 reads and decodes the dynamic two-dimensional code 111.
[0113] S750: Verify whether the verification information and the password information are consistent through the operation module 120, and output an unlocking signal after the verification is passed.
[0114] Optionally, in step S720 of this embodiment, the process of generating verification information by the operation module 120 includes:
[0115] S721: Determine and record the system time when the electronic combination lock 100 was last opened / locked, and assign a value to the variable parameter using the system time.
[0116] S722: Determine the quantitative parameter corresponding to the number based on the number of the electronic combination lock 100.
[0117] S723: Based on the quantitative parameters, the variable parameters are processed according to a determined algorithm to obtain the verification information.
[0118] Optionally, the system time of the last unlocking / locking of the electronic combination lock 100 in step S721 can generally be the system time of the last unlocking, and the system time of the unlocking is used to assign the variable parameter. For example, the system time of the last unlocking is 03:06:41, and the valid number 30641 is extracted and assigned to the variable parameter.
[0119] Optionally, in step S723, based on the quantitative parameter, the variable parameter is processed according to a determination algorithm to obtain the verification information, including:
[0120] S7231: Raise the variable parameter to the nth power and retain m decimal places;
[0121] S7232: The first P Starting from the bit, q numbers are taken in sequence as the verification information;
[0122] Among them, the parameters n, m, p, q are all assigned by the quantitative parameters.
[0123] For example, in the quantitative parameters, n is 3, m is 15, p is 9, and q is 5.
[0124] Optionally, in step S723, based on the quantitative parameter, the variable parameter is processed according to a determination algorithm to obtain the verification information, including:
[0125] S7233: Add the determined addend r to the variable parameter and raise it to the nth power, retaining m decimal places;
[0126] S7234: Starting from the pth digit in the decimal, sequentially take q digits as the verification information;
[0127] Among them, the parameters n, m, p, q, and r are all assigned by the quantitative parameters.
[0128] For example, in the quantitative parameters, n is 3, m is 15, p is 9, q is 5, and r is 31595.
[0129] Optionally, in step S740 of this embodiment, the process of the decoding device 200 reading and decoding the dynamic two-dimensional code 111 to generate password information includes:
[0130] S741: Read the coding information of the dynamic two-dimensional code 111, and extract the serial number of the electronic combination lock 100 and the variable parameters corresponding thereto.
[0131] S742: According to 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 serial number of the electronic password lock 111 as an index.
[0132] In step S741, "reading the coding information of the dynamic two-dimensional code 111, and extracting the serial number of the electronic password lock 100 and the variable parameters corresponding thereto" means, for example, extracting the serial number information 0001# of the electronic password lock 100 from the coding information of the dynamic two-dimensional code 111, and then finding the quantitative parameter information corresponding to the serial number information 0001# using the serial number of the electronic password lock 100 as an index, such as n is 3, m is 15, p is 9, and q is 5 in the quantitative parameters; or n is 3, m is 15, p is 9, q is 5, and r is 31595 in the quantitative parameters.
[0133] In step S742, "according to the quantitative parameters preset in the decoding device 200, the variable parameters are processed according to the determined algorithm to obtain the password information" means, for example, using the serial number of the electronic combination lock 100 as an index to find the quantitative parameter information corresponding to the serial number information 0001# preset in the decoding device 200, such as n is 3, m is 15, p is 9, q is 5; or n is 3, m is 15, p is 9, q is 5, r is 31595 in the quantitative parameters, and then the variable parameters, such as the effective number "30641" in the system time 03:06:41 contained in the dynamic two-dimensional code, are raised to the nth power, and m decimal places are retained, and then the first decimal place is taken from the decimal place. P Starting from the first bit, take q numbers in sequence as the password information.
[0134] Figure 8 This is a flow chart of a method for preventing package substitution in an electronic password box for express delivery services according to an embodiment of the present application.
[0135] like Figure 8 As shown, a method for preventing package substitution of an electronic password box 300 for express delivery service, wherein the electronic password box 300 is equipped with an electronic password lock 100, and the method comprises:
[0136] S810: Log in to the platform server through the first mobile smart terminal and submit a shipping application for the items to be shipped, wherein the shipping application at least includes the telephone number or identity ID of the sender and the receiver.
[0137] S820: Scan and read the dynamic QR code of the electronic password lock through the first mobile smart terminal, and upload it to the platform server, the encoding information of the dynamic QR code at least includes the serial number of the electronic password lock and dynamic information, and the content of the dynamic information is generated by the electronic password lock or determined according to the current state, system time or location information of the electronic password lock.
[0138] S830: The platform server determines whether the electronic password box corresponding to the electronic password lock is in another express delivery service process through the number of the electronic password lock in the dynamic QR code; if not, the first unlocking password of the electronic password box is sent to the first mobile smart terminal.
[0139] S840: Open the electronic password box based on the first unlocking password, put the items to be transported into the electronic password box and close it, and update the dynamic QR code by the electronic password lock.
[0140] S850: Log in to the platform server through a second mobile smart terminal, and scan and read the updated dynamic QR code by the second mobile smart terminal and upload it to the platform server.
[0141] S860: The platform server determines whether the telephone number or identity ID of the second mobile smart terminal is consistent with the telephone 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 password box to the second mobile smart terminal and ends the express delivery service process.
[0142] In this embodiment, the first and second mobile smart terminals may be mobile smart terminals with dedicated APPs installed, or they may be dedicated mobile smart terminals based on other forms of applications or hardware implementations. In this embodiment, the first mobile smart terminal is usually a mobile smart terminal that initiates the express delivery business process, usually held by the sender, but in special cases, it may also be held by a non-sender or by a delivery person. In this embodiment, the second mobile smart terminal is usually a mobile smart terminal that receives express delivery, usually held by the recipient, but in special cases, it may also be held by a non-recipient or by a delivery person.
[0143] The platform server may be an independently configured computer server, or may be a cloud-based server that can communicate with the first and second mobile intelligent terminals to upload or send relevant information.
[0144] In step S820, "the content of the dynamic information is generated by the electronic password lock or determined according to the current state, system time or location information of the electronic password lock" means, for example, that the dynamic information is the current system time generated in the electronic password 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 password lock 100, or the system time, or the longitude and latitude of the location.
[0145] In step S830, "the platform server determines whether the electronic password box corresponding to the electronic password lock is in another express business process through the number of the electronic password lock in the dynamic two-dimensional code, and if not, sends the first unlocking password of the electronic password box to the first mobile smart terminal" means that in order to prevent the courier from swapping a password box in a normal express business process, at any time after any mobile smart terminal scans and reads the dynamic two-dimensional code of the electronic password lock 100 and uploads it to the platform server, the platform server must determine whether the electronic password box corresponding to the electronic password lock is in another express business process through the number of the electronic password lock in the dynamic two-dimensional code, and if not, send the first unlocking password of the corresponding electronic password box to the mobile smart terminal that uploaded the dynamic two-dimensional code. On the contrary, if it is determined that the electronic password box corresponding to the electronic password lock is in another express business process, no response is made to the mobile smart terminal.
[0146] Figure 8 The anti-switch method in the embodiment, further optional manner includes:
[0147] The electronic password box is opened based on the first unlocking password, the electronic password box is closed after the items to be transported are placed in the box, and the dynamic QR code is updated by the electronic password lock, and the following steps are also included:
[0148] The first mobile smart terminal is used to scan and read the updated dynamic QR code of the electronic password lock again, and upload it to the platform server. The platform server determines whether the number in the updated dynamic QR code is consistent with the number in the dynamic QR code before the update. If so, the express delivery business process continues.
[0149] In this optional method, the platform server determines whether the dynamic QR code uploaded by the first mobile terminal before unlocking and the updated dynamic QR code uploaded after locking the box after the items to be transported are the same number of the same electronic password box, which can ensure that after the express business process is initiated, the same electronic password box is always in the express business process.
[0150] Figure 8 A further optional method of the anti-switch method in the embodiment includes:
[0151] The dynamic information also includes the cumulative number of times the electronic password lock 100 is opened / closed;
[0152] Wherein, after the first mobile smart terminal scans and reads the dynamic QR code of the electronic password lock and uploads it to the platform server in step S820, the method further includes:
[0153] S821: The platform server counts the cumulative number of times the electronic password lock 100 is opened / locked, and the number of times is recorded as a, where a is a natural number; and
[0154] After the first mobile smart terminal scans and reads the updated dynamic QR code of the electronic combination lock 100 again in step S830 and uploads it to the platform server, the following further includes:
[0155] S831: The platform server determines whether the cumulative opening / closing times of the electronic password lock 100 in the updated dynamic QR code is a+1. If so, the express delivery service process continues.
[0156] After logging into the platform server through the second mobile smart terminal in step S850, scanning and reading the updated dynamic QR code by the second mobile smart terminal, and uploading it to the platform server, the method further includes:
[0157] S851: The platform server determines whether the cumulative opening / closing times of the electronic password lock in the updated dynamic QR code uploaded by the second mobile smart terminal is a+1. If so, continue the express delivery service process.
[0158] A further alternative approach, compared to Figure 8 The main difference between the embodiments is that the dynamic information also includes the cumulative opening / closing times of the electronic password lock 100, for example, the cumulative unlocking times of the electronic password lock 100, and after step S820 "scanning and reading the dynamic QR code of the electronic password lock 100 by the first mobile smart terminal, and uploading it to the platform server", it also includes step S821 "the platform server counts the cumulative opening / closing times of the electronic password lock 100, and records the 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 password lock 100 again by the first mobile smart terminal, and uploading it to the platform server" , and also includes step S831 "the platform server determines whether the cumulative opening / locking times of the electronic password lock 300 in the updated dynamic two-dimensional code is a+1, and if so, continues the current express business process"; and after step S850 "logging in to the platform server through the second mobile smart terminal, and the second mobile smart terminal scanning and reading the updated dynamic two-dimensional code, and uploading it to the platform server", it also includes step S851 "the platform server determines whether the cumulative opening / locking times of the electronic password lock in the updated dynamic two-dimensional code uploaded by the second mobile smart terminal is a+1, and if so, continues the current express business process".
[0159] compared to Figure 8Embodiment, the further optional method has the beneficial effect that: by further including the cumulative opening / closing times of the electronic password lock 100 in the dynamic information of the dynamic QR code, such as including the cumulative unlocking times of the electronic password lock 100, it can intuitively reflect whether the cumulative unlocking times of the electronic password lock 100 in the dynamic QR code before and after the update uploaded by the first mobile terminal in this express business process are continuous after the express business process is initiated, and whether the cumulative unlocking times of the electronic password lock 100 in the dynamic QR code before and after the update uploaded by the first mobile terminal and after the update uploaded by the second mobile smart terminal are continuous. For example, the cumulative unlocking times included in the dynamic QR code before and after the update uploaded by the first mobile terminal is a, and after the electronic password box 300 is opened and the items to be transported are placed in it and the electronic password box 300 is locked, the cumulative unlocking times included in the updated dynamic QR code uploaded for the second time should be a+1. If the cumulative unlocking times included in the updated dynamic QR code uploaded by the first mobile terminal is still a, it means that the electronic password box 300 has not been opened, and no items to be transported have been placed in it; and if the cumulative unlocking times included in the updated dynamic QR code uploaded by the first mobile terminal is a+n (n>1), it means that there are special circumstances in the current express delivery service process, and at this time, the platform server should refuse to continue the current express delivery service process. In addition, the cumulative unlocking times included in the dynamic QR code uploaded by the second mobile smart terminal should also be a+1. If it is not a+1 but other numbers, it means that there are also special circumstances in the current express delivery service process, and at this time, the platform server should also refuse to continue the current express delivery service process, that is, not to send the second unlocking password to the second mobile smart terminal.
[0160] The above embodiments are only for the purpose of clearly illustrating the specific implementation methods, and are not intended to limit the implementation methods. For those skilled in the art, based on the above description, the above various embodiments can be changed or modified in other different forms. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from them are still within the scope of protection created by this application.
Claims
1. An electronic password lock, comprising: A touch screen, used to display a dynamic two-dimensional code, display an input interface, and receive input information, wherein the encoding information of the dynamic two-dimensional code at least includes the serial number of the electronic password lock and dynamic information, and the content of the dynamic information is generated by the electronic password lock or determined according to the state, time or location information of the electronic password lock; A calculation module, used to generate the dynamic two-dimensional code and identify the input information, wherein the input information is password information generated after the dynamic two-dimensional code is decoded by a decoding device; Wherein, the first signal input terminal of the operation module is connected to the signal output terminal of the touch display screen, and the signal input terminal of the touch display screen is connected to the first signal output terminal of the operation module.
2. The electronic password lock according to claim 1 further comprises an electric drive mechanism for driving the electronic password lock to open or lock, the signal input end of the electric drive mechanism is connected to the second signal output end of the operation module, and the second signal input end of the operation module is connected to the signal output end of the electric drive mechanism.
3. The electronic combination lock according to claim 2, wherein: When the electric drive mechanism opens or locks the electronic password lock, the electric drive mechanism transmits different level signals to the second signal input end of the operation module through the signal output end of the electric drive mechanism to close or open the signal transmission from the first signal output end of the operation module to the signal input end of the touch display screen.
4. The electronic combination lock according to claim 1, wherein: The touch display screen displays the input interface after being touched, and receives the input information input by touch via the input interface.
5. A decoding device for a dynamic two-dimensional code, wherein the encoding information of the dynamic two-dimensional code includes at least a serial number information and a dynamic information, and the decoding device comprises: A camera, used to scan and read the dynamic QR code; A decoding module, used for decoding the dynamic two-dimensional code scanned and read by the camera, and generating an outputtable character result; A display module, connected to a display screen, for displaying the character results; Wherein, the signal input end of the decoding module is connected to the signal output end of the camera, and the signal output end of the decoding module is connected to the signal input end of the display module.
6. The decoding device according to claim 5, wherein the decoding device is a mobile smart terminal, and the function of the decoding module is implemented by an APP software installed on the mobile smart terminal.
7. An electronic password box, equipped with the electronic password lock according to claims 1-4.
8. The electronic password box according to claim 7, wherein a satellite locator is built into the password box for tracking and recording the real-time location of the electronic password box.
9. The electronic password box according to claim 7 or 8, wherein a battery module is built in the password box, and the battery module is electrically connected to the electronic password lock and the satellite locator to supply power to the electronic password lock and the satellite locator.
10. A method for password generation and verification, comprising: Generate a dynamic two-dimensional code, wherein the encoding information of the dynamic two-dimensional code includes at least a serial number information and a dynamic information; Generate verification information, the verification information is generated based on a variable parameter and a certain quantitative parameter, the variable parameter is determined by the dynamic information, and the quantitative parameter is pre-set according to the numbering information; Receiving input information, wherein the input information is password information generated by a decoding device reading and decoding the dynamic two-dimensional code; Verify whether the password information is correct according to the verification information.
11. The method according to claim 10, wherein the method is used for password generation and verification of an electronic password lock, wherein the electronic password lock comprises a touch display screen and a computing module, and the method comprises: Generate a dynamic two-dimensional code through the computing module, wherein the encoding information of the dynamic two-dimensional code at least includes the serial number of the electronic password lock and dynamic information, and the content of the dynamic information is generated by the electronic password lock or determined according to the state, time or location information of the electronic password lock; Generating verification information through the operation module, the verification information is generated based on a variable parameter and a certain quantitative parameter, the variable parameter is determined by the dynamic information, and the quantitative parameter is pre-set according to the number of the electronic password lock; Outputting and displaying the dynamic two-dimensional code through the touch display screen; receiving input information through the touch display screen, wherein the input information is password information generated after the decoding device reads and decodes the dynamic two-dimensional code; The operation module verifies whether the verification information and the password information are consistent, and outputs an unlocking signal after the verification is passed.
12. The method according to claim 11, wherein: The process of generating verification information by the operation module includes: Determine and record the system time when the electronic password lock was last opened / closed, and assign a value to the variable parameter using the system time; Determine the quantitative parameter corresponding to the number based on the number of the electronic combination lock; Based on the quantitative parameters, the variable parameters are processed according to a determined algorithm to obtain the verification information.
13. The method according to claim 11, wherein: The process of the decoding device reading and decoding the dynamic two-dimensional code to generate password information includes: Read the encoding information of the dynamic two-dimensional code, and extract the serial number of the electronic password lock and the variable parameter corresponding thereto; According to the quantitative parameters preset in the decoding device, the variable parameters are processed according to a certain algorithm to obtain the password information, wherein the quantitative parameters are preset in the decoding device with the serial number of the electronic password lock as an index.
14. The method according to claim 12, wherein: Based on the quantitative parameters, the variable parameters are processed according to a determined algorithm to obtain the verification information, including: Raise the variable parameter to the nth power and retain m decimal places; From the decimal P Starting from the bit, q numbers are taken in sequence as the verification information; Among them, the parameters n, m, p, q are all assigned by the quantitative parameters.
15. The method according to claim 12, wherein: Based on the quantitative parameters, the variable parameters are processed according to a determined algorithm to obtain the verification information, including: Add a certain addend r to the variable parameter and raise it to the nth power, retaining m decimal places; Starting from the pth digit in the decimal, take q digits in sequence as the verification information; Among them, the parameters n, m, p, q, and r are all assigned by the quantitative parameters.
16. A method for preventing package substitution in an electronic password box for express delivery services, wherein the electronic password box is equipped with an electronic password lock, and the method comprises: Log in to the platform server through the first mobile smart terminal and submit a shipping application for the item to be shipped, wherein the shipping application at least includes the telephone number or identity ID of the consignee and the consignor respectively; The dynamic QR code of the electronic password lock is scanned and read by the first mobile smart terminal, and uploaded to the platform server, wherein the encoding information of the dynamic QR code at least includes the serial number of the electronic password lock and dynamic information, and the content of the dynamic information is generated by the electronic password lock or determined according to the current state, system time or location information of the electronic password lock; The platform server determines whether the electronic password box corresponding to the electronic password lock is in another express delivery service process through the number of the electronic password lock in the dynamic two-dimensional code, and if not, sends the first unlocking password of the electronic password box to the first mobile smart terminal; Open the electronic password box based on the first unlocking password, put the items to be transported into the electronic password box and close it, and update the dynamic QR code by the electronic password lock; Log in to the platform server through a second mobile smart terminal, scan and read the updated dynamic QR code by the second mobile smart terminal, and upload it to the platform server; The platform server determines whether the telephone number or identity ID of the second mobile smart terminal is consistent with the telephone 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 password box to the second mobile smart terminal and ends the express delivery service process.
17. The method for preventing electronic password box from being substituted according to claim 16, wherein the electronic password box is opened based on the first unlocking password, the electronic password box is closed after the items to be transported are placed in the box, and the dynamic QR code is updated by the electronic password lock, further comprising: The updated dynamic QR code of the electronic password lock is scanned and read again by the first mobile smart terminal, uploaded 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 dynamic QR code before the update. If so, the express delivery business process continues.
18. The method for preventing electronic password locks from being tampered with according to claim 16 or 17, wherein the dynamic information also includes the cumulative number of times the electronic password lock is opened / closed; in, After the first mobile smart terminal scans and reads the dynamic QR code of the electronic password lock and uploads it to the platform server, the method further includes: The platform server counts the cumulative number of times the electronic password lock is opened / locked, and the number of times is recorded as a, where a is a natural number; and After the first mobile smart terminal scans and reads the updated dynamic QR code of the electronic password lock again and uploads it to the platform server, the method further includes: The platform server determines whether the cumulative opening / closing times of the electronic password lock in the updated dynamic QR code is a+1, and if so, continues the current express delivery service process; and After logging into the platform server through the second mobile smart terminal, scanning and reading the updated dynamic QR code by the second mobile smart terminal, and uploading it to the platform server, the method further includes: The platform server determines whether the cumulative opening / closing times of the electronic password lock in the updated dynamic QR code uploaded by the second mobile smart terminal is a+1. If so, the express delivery service process continues.
Citation Information
Patent Citations
Access control system and door opening method based on dynamic quick response code
CN106355709A
Reusable express packaging box provided with coded locks and unlocking process of reusable express packaging box
CN106742720A
Intelligent high-grade logistics transport case system
CN106774024A
Coded lock system, coded lock opening and closing method and storage medium
CN113808305A
Electronic coded lock, electronic code case and decoding device
CN223549093U
