Intelligent cabinet code scanning verification method and device, computer device, and storage medium

By detecting the display status and expiration status of the smart cabinet and using a fixed identification code instead of a dynamic identification code for verification, the user experience problem caused by the failure of the identification code on the smart cabinet display screen is solved, and normal use and improved user experience are achieved when the dynamic identification code fails.

CN115203665BActive Publication Date: 2026-02-24SHENZHEN HIVE BOX NETWORK TECH LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210689794.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-17
Publication Date
2026-02-24
Estimated Expiration
2042-06-17

AI Technical Summary

Technical Problem

In existing technologies, when the identification code displayed on the smart locker's screen becomes invalid, users cannot quickly scan the code to complete the verification, resulting in a poor user experience.

Method used

By detecting the display status and expiration status of the smart cabinet's display screen, when it is determined that the dynamic identification code has expired, the fixed identification code set on the smart cabinet is used as the replacement identification code. After the user terminal scans the fixed identification code, it sends a scan response command for verification.

Benefits of technology

When the dynamic identification code expires, scanning the fixed identification code ensures the normal use of the smart cabinet, improving the user experience and availability of the smart cabinet, avoiding extra operations, and enhancing the robustness of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115203665B_ABST
    Figure CN115203665B_ABST
Patent Text Reader

Abstract

The application discloses a kind of intelligent cabinet scanning code verification method, device, computer equipment and storage medium, the method is carried out display state detection to the display screen of intelligent cabinet, obtains the dynamic display state of dynamic identification code on the display screen;Dynamic identification code on the display screen is detected to expire state, and the expiration detection state of the dynamic identification code is obtained;When determining that the dynamic identification code is invalid based on the dynamic display state and the expiration detection state, the fixed identification code set on the intelligent cabinet is determined as the first target identification code;Receive the first scanning code response instruction sent after the first target identification code is scanned by user terminal, and execute first verification operation according to the first scanning code response instruction.The application can ensure the normal use of intelligent cabinet by scanning fixed identification code when dynamic identification code is invalid, so as to improve the use experience of user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of smart locker QR code verification technology, and in particular to a smart locker QR code verification method, device, computer equipment, and storage medium. Background Technology

[0002] Currently, to improve both user convenience and security, an increasing number of smart lockers require verification via an identification code displayed on their screens. Once the user successfully scans the identification code on the smart locker using their smart device, they can complete the corresponding functions.

[0003] The shortcomings of the existing solutions are that users cannot complete the functions when the identification code displayed on the smart locker's screen is invalid. Users need to contact the smart locker's staff, and only after the staff repairs the smart locker and restores the identification code can the user scan the identification code to complete the verification. Therefore, when the identification code on the display screen is invalid, users cannot quickly scan the code to complete the verification, resulting in a poor user experience. Summary of the Invention

[0004] This invention provides a smart locker QR code verification method, device, computer equipment, and storage medium to solve the problem in the prior art where users cannot quickly scan the code to complete the verification when the displayed identification code on the smart locker's screen is invalid, resulting in a poor user experience.

[0005] A smart locker QR code verification method includes:

[0006] The display status of the smart cabinet's display screen is detected to obtain the dynamic display status of the dynamic identification code on the display screen; the smart cabinet is equipped with a fixed identification code.

[0007] The dynamic identification code on the display screen is subjected to expiration status detection, and the expiration status of the dynamic identification code is obtained;

[0008] When the dynamic identification code is determined to be invalid based on the dynamic display status and the expiration detection status, the fixed identification code set on the smart cabinet is determined as the first target identification code;

[0009] Receive a first scan response instruction sent after scanning the target identification code through a user terminal, and perform a first verification operation according to the first scan response instruction.

[0010] A smart locker QR code verification device includes:

[0011] The display detection module is used to detect the display status of the display screen of the smart cabinet and obtain the dynamic display status of the dynamic identification code on the display screen; the smart cabinet is equipped with a fixed identification code.

[0012] An expiration detection module is used to detect the expiration status of the dynamic identification code on the display screen and obtain the expiration status of the dynamic identification code.

[0013] The first identification code selection module is used to determine the fixed identification code set on the smart cabinet as the target identification code when the dynamic identification code is determined to be invalid based on the dynamic display status and the expiration detection status.

[0014] The first verification module is used to receive a first scanning response instruction sent after the target identification code is scanned by the user terminal, and to perform a first verification operation according to the first scanning response instruction.

[0015] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described smart cabinet QR code verification method.

[0016] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described smart cabinet QR code verification method.

[0017] The aforementioned smart locker QR code verification method, device, computer equipment, and storage medium determine the validity of dynamic identification codes through display status detection and expiration status detection. A fixed identification code is pre-set on the smart locker, so when the dynamic identification code expires, the user can complete the first verification operation by scanning the fixed identification code through their user terminal. This ensures the normal use of the smart locker even when the dynamic identification code expires, improving its versatility. Furthermore, the fixed identification code does not require any additional operations from the user besides scanning; the parsing of both fixed and dynamic identification codes is performed in the background, enhancing the user experience. Attached Figure Description

[0018] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a schematic diagram of an application environment for the smart cabinet QR code verification method in one embodiment of the present invention;

[0020] Figure 2 This is a flowchart of a smart cabinet QR code verification method according to an embodiment of the present invention;

[0021] Figure 3 This is another flowchart of the smart cabinet QR code verification method in one embodiment of the present invention;

[0022] Figure 4 This is a schematic diagram of a smart cabinet QR code verification device according to an embodiment of the present invention;

[0023] Figure 5 This is another principle block diagram of the smart cabinet QR code verification device in one embodiment of the present invention;

[0024] Figure 6 This is a schematic diagram of a computer device according to an embodiment of the present invention. Detailed Implementation

[0025] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0026] The smart locker QR code verification method provided in this embodiment of the invention can be applied to, for example... Figure 1 The application environment is shown. Specifically, this smart locker QR code verification method is applied in a smart locker QR code verification system, which includes, as shown in the example... Figure 1 The diagram shows a user terminal, server, and smart locker. The user terminal communicates with the server via a network, and the server communicates with the smart locker via a network. This design addresses the problem in existing smart locker technology where users cannot quickly scan an invalid identification code on the locker's display screen, resulting in a poor user experience. The user terminal, also known as the user client, refers to the program that provides local services to the customer, corresponding to the server. The user terminal can be installed on, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The server can be a standalone server or a server cluster consisting of multiple servers. The server can be a standalone server or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The smart locker can be a retail locker, express delivery locker, home smart locker, or laundry locker, etc.

[0027] In one embodiment, such as Figure 2 As shown, a smart locker QR code verification method is provided, which is then applied to... Figure 1 Taking the server in the example, the following steps are included:

[0028] S10: Detect the display status of the smart cabinet's display screen and obtain the dynamic display status of the dynamic identification code on the display screen.

[0029] Understandably, smart lockers can be retail lockers, parcel lockers, home smart lockers, or laundry lockers, etc. In this embodiment, the smart locker has a solar panel on top. This solar panel connects to a display screen and a controller, providing power to both. The display screen can be an e-ink screen. The controller interacts with the server connected to the smart locker and the hardware within it. The smart locker has a preset number (e.g., five) of compartments from top to bottom. These compartments include a top-level hardware compartment containing hardware circuitry and a temperature sensor, which cannot be opened by the user. Below the hardware compartment is a mail compartment (an open door that only allows users to open and deposit complaint letters, etc.). The other compartments below the mail compartment are storage compartments. For example, when the smart locker is a parcel locker, the storage compartment is used to store different types of parcels. When the smart locker is a retail locker, the storage compartment is used to store snacks, beverages, or other food items.

[0030] Furthermore, the display screen of the smart locker undergoes display status detection, specifically checking whether the dynamic identification code displayed on the screen can be displayed correctly. When the smart locker's display screen malfunctions (such as excessively high or low temperature), the dynamic identification code cannot be displayed correctly. Alternatively, the user may find that the dynamic identification code cannot be displayed correctly when trying to use the smart locker. The dynamic identification code is the code displayed on the screen for the user to scan. The dynamic identification code can be a barcode or a QR code, etc. The dynamic display status indicates whether the dynamic identification code is currently displayed correctly on the screen. In other words, the dynamic display status indicates either a state where the dynamic identification code cannot be displayed correctly on the screen, or a state where the dynamic identification code can be displayed correctly on the screen.

[0031] S20: Perform an expiration status detection on the dynamic identification code on the display screen, and obtain the expiration status of the dynamic identification code.

[0032] Understandably, the dynamic identifier displayed on the screen will be updated after the user scans it and performs the corresponding first verification operation within a preset time interval, or even if it is not scanned by the user after the preset time interval. This means that a dynamic identifier has a validity period; when this validity period expires, the dynamic identifier becomes invalid and is updated. The validity period of the dynamic identifier can be set according to requirements.

[0033] Furthermore, the updating of dynamic identification codes is limited by the network connection status between the server connected to the smart cabinet and the controller installed in the smart cabinet. When the network connection between the server and the controller is poor (e.g., the network connection is disconnected, or the smart cabinet's signal is blocked, causing network latency), the dynamic identification codes cannot be updated in a timely manner. If a user scans the same dynamic identification code through their user terminal, and another user scans the same code again, the smart cabinet will display a message indicating that the dynamic identification code has expired (or display it on the user's user terminal). Alternatively, if the current system time exceeds the dynamic identification code's validity period, and the user scans the code, since the dynamic identification code has not been updated, the smart cabinet will display a message indicating that the dynamic identification code has expired (or display it on the user's user terminal).

[0034] Specifically, before performing expiration status detection on the dynamic identifier, the validity period corresponding to each dynamic identifier is stored in the server's memory. Each dynamic identifier also corresponds to a tag (such as an ID number), and this tag and validity period are bound and stored in the server's memory. When the dynamic identifier is displayed on the screen, the initial display time of the dynamic identifier on the screen is recorded. The validity period corresponding to the dynamic identifier is retrieved from memory based on the tag. Based on the initial display time and validity period, a deadline for updating the dynamic identifier is determined. Within the time range from the initial display time to the deadline, it is checked whether the dynamic identifier has been scanned. If the dynamic identifier has been scanned, it is checked whether the dynamic identifier has been updated after the first verification operation, resulting in an expiration status. If the dynamic identifier has not been scanned, it is checked whether the dynamic identifier has been updated after the deadline, resulting in an expiration status. The expiration status can indicate either that the dynamic identifier has expired or that it has not expired.

[0035] S30: When it is determined that the dynamic identification code is invalid based on the dynamic display status and the expiration detection status, the fixed identification code set on the smart cabinet is determined as the first target identification code.

[0036] Understandably, the dynamic identification code in this invention is displayed on a screen. The fixed identification code is affixed to the outer shell of the smart cabinet. The fixed identification code is generated when the smart cabinet leaves the factory, by encrypting the cabinet code and converting it into a one-dimensional or two-dimensional code. That is, the fixed identification code records the cabinet code corresponding to the smart cabinet. In this invention, the fixed identification code is initially set to an invalid state. That is, when the dynamic identification code is valid, the server cannot perform the corresponding first verification operation after the user scans the fixed identification code. When the dynamic identification code is determined to be invalid, the fixed identification code automatically changes from an invalid state to a valid state. This allows the server to perform the corresponding first verification operation after the user scans the fixed identification code.

[0037] Specifically, after obtaining the dynamic display status and expiration detection status corresponding to the dynamic identification code, the validity of the dynamic identification code can be determined based on the dynamic display status (e.g., whether the dynamic identification code can be displayed normally on the display screen) and the expiration detection status (e.g., whether the dynamic identification code has expired). When the dynamic identification code is determined to be invalid, the fixed identification code is automatically converted to valid. The fixed identification code set on the smart cabinet is then directly designated as the primary target identification code for users to scan.

[0038] In one embodiment, before step S30, that is, before determining the fixed identification code set on the smart cabinet as the first target identification code, the method further includes:

[0039] (1) When the dynamic display state indicates that the dynamic identification code cannot be displayed normally, the dynamic identification code is determined to be invalid.

[0040] Understandably, when an abnormal temperature is detected on the display screen, or when the received fault error message indicates that the display screen is damaged, preventing the dynamic identification code from being displayed, it can be determined that the dynamic display status indicates the dynamic identification code cannot be displayed normally on the display screen. In other words, the user cannot scan the dynamic identification code through their terminal, thus confirming that the dynamic identification code is invalid. Furthermore, when the dynamic display status indicates the dynamic identification code cannot be displayed normally on the display screen, regardless of whether the dynamic identification code has expired or not, it cannot be displayed on the display screen for the user to scan; therefore, there is no need to determine whether the dynamic identification code has expired.

[0041] (2) When the dynamic display state indicates that the dynamic identification code is displayed normally and the expiration detection state indicates that the dynamic identification code has expired, the dynamic identification code is determined to be invalid.

[0042] Understandably, when no abnormal temperature is detected on the display screen, or when the received fault error message does not indicate any damage to the display screen, it can be determined that the dynamic display status indicates the dynamic identification code can be displayed normally on the screen. That is, the user can scan the dynamic identification code through their user terminal. However, it is necessary to further determine the validity of the dynamic identification code based on its expiration detection status. When it is detected that the dynamic identification code has been scanned by another user at least once, or when it is detected that the dynamic identification code has exceeded its validity period, it can be determined that the expiration detection status indicates the dynamic identification code has expired. Therefore, the dynamic identification code is deemed invalid.

[0043] (3) When the dynamic display state indicates that the dynamic identification code is displayed normally and the expiration detection state indicates that the dynamic identification code has not expired, the dynamic identification code is determined to be valid.

[0044] Understandably, when no abnormal temperature is detected on the display screen, or when the received fault error message does not indicate any damage to the display screen, it can be determined that the dynamic display status indicator, the dynamic identification code, can be displayed normally on the display screen. That is, the user can scan the dynamic identification code through their user terminal. Furthermore, if the dynamic identification code is still within its validity period and has not been scanned by other users, it is determined to be valid. In other words, after the user scans the dynamic identification code through their user terminal, the server can perform the corresponding first verification operation.

[0045] S40: Receive the first scanning response instruction sent after scanning the first target identification code through the user terminal, and perform the first verification operation according to the first scanning response instruction.

[0046] Specifically, after the fixed identification code set on the smart cabinet is identified as the first target identification code, the fixed identification code becomes valid. This means the user can scan the first target identification code using their user terminal and send a first scan response command to the server connected to the smart cabinet. Upon receiving the first scan response command, the server performs a first verification operation based on it. The first verification operation verifies the information entered by the user terminal when scanning the first target identification code (such as personal information and the smart cabinet compartment to be opened).

[0047] Furthermore, after executing the first verification operation based on the first scan response instruction, the server will perform corresponding actions on the smart locker according to the first verification operation. For example, assume the smart locker is a parcel locker. After the user scans the first target identification code through their user terminal and sends the first scan response instruction to the server, the server verifies the information entered in the first target identification code scanned by the user terminal according to the first scan response instruction. If the verification is successful, the corresponding compartment will open, and a successful compartment opening notification will be sent to the user terminal, allowing the user to retrieve the parcel from that compartment. If the verification fails, the corresponding compartment will not open, and a verification failure instruction will be sent to the user terminal. After receiving the verification failure instruction, the user will rescan the first target identification code to retrieve or receive the parcel.

[0048] Furthermore, after executing the first verification operation according to the first scan response instruction, the dynamic identification code is updated, and the display status is continuously checked on the display screen to determine whether the dynamic identification code can be displayed normally on the display screen. When it is determined that the dynamic identification code update is complete and the updated dynamic identification code can be displayed normally on the display screen, indicating that the dynamic identification code is in a valid state, the fixed identification code immediately and automatically changes to an invalid state. That is, when the user scans the fixed identification code again through the user terminal at this time, the server will not execute the corresponding first verification operation.

[0049] Furthermore, when the dynamic identifier is valid, there are two identifiers (dynamic and fixed) available for the user to scan. If one user scans the fixed identifier while another scans the dynamic identifier, the fixed identifier is set to an invalid state, so only scanning the dynamic identifier will trigger the corresponding verification operation. Therefore, even with both dynamic and fixed identifiers, there will never be a situation where verification operations for both identifiers are executed simultaneously.

[0050] In this embodiment, the validity of the dynamic identification code is determined by display status detection and expiration status detection. A fixed identification code is pre-set on the smart cabinet, so that when the dynamic identification code expires, the user can scan the fixed identification code through their user terminal to complete the first verification operation. Thus, even when the dynamic identification code expires, scanning the fixed identification code ensures the normal use of the smart cabinet, improving its versatility. Furthermore, the fixed identification code does not require the user to perform any operations other than scanning; the parsing of both the fixed and dynamic identification codes is performed in the background, improving the user experience.

[0051] In one embodiment, step S10, namely, detecting the display status of the smart cabinet's display screen and obtaining the dynamic display status of the dynamic identification code on the display screen, includes:

[0052] (1) The temperature of the display screen is detected by a temperature sensor installed on the smart cabinet, and the temperature detection value of the display screen is obtained.

[0053] Understandably, as stated in the description of step S10, hardware circuitry and a temperature sensor are installed in the first compartment connecting to the top of the smart cabinet. Therefore, the temperature of the display screen can be detected using this temperature sensor. The detected value from the temperature sensor is then obtained as the temperature value of the display screen. In this embodiment, the detection frequency of the temperature sensor is not limited. That is, the temperature sensor can detect the temperature of the display screen in real time or at regular intervals.

[0054] (2) Obtain the preset temperature range of the display screen, and determine the dynamic display state based on the temperature detection value and the preset temperature range.

[0055] Understandably, the preset temperature range is the temperature range within which the dynamic identification code can be displayed on the screen normally. This preset temperature range can be adjusted according to the smart cabinet's factory settings or according to display requirements. For example, the preset temperature range can be set to 0℃ to 45℃. That is, when the temperature detection value is greater than or equal to 0℃ and less than or equal to 45℃, the dynamic identification code can be displayed normally on the screen. When the temperature detection value is less than 0℃ or greater than 45℃, the dynamic identification code cannot be displayed normally on the screen.

[0056] Specifically, after obtaining the preset temperature range of the display screen, it is possible to detect whether the temperature detection value is within the preset temperature range. This involves comparing the temperature detection value with the minimum and maximum values ​​of the preset temperature range. When the temperature detection value is greater than or equal to the minimum value of the preset temperature range and less than or equal to the maximum value, the dynamic display state is determined to be one where the dynamic identification code can be displayed normally on the display screen. When the temperature detection value is less than the minimum value of the preset temperature range or greater than the maximum value, the dynamic display state is determined to be one where the dynamic identification code cannot be displayed normally on the display screen.

[0057] In this embodiment, by installing a temperature sensor on the smart cabinet to detect the temperature of the display screen, it is possible to quickly determine whether the dynamic identification code can be displayed correctly on the screen based on the detected temperature value. Therefore, when the dynamic identification code cannot be displayed correctly, subsequent steps (such as replacing the dynamic identification code with a fixed identification code) allow the user to still scan other identification codes to trigger the corresponding action of the smart cabinet. This improves the versatility of the smart cabinet and enhances the user experience.

[0058] In one embodiment, step S10, namely, detecting the display status of the smart cabinet's display screen and obtaining the dynamic display status of the dynamic identification code on the display screen, further includes:

[0059] (1) Receive fault error information of the smart cabinet in real time, and parse the fault error information to obtain the fault information field.

[0060] Understandably, in the above embodiments, a temperature sensor can be used to detect whether an abnormality has occurred on the display screen. However, if the temperature sensor fails, or if the display screen experiences other abnormalities besides temperature (such as screen damage), fault error messages uploaded by the user to the smart cabinet can be received in real time. That is, when a fault occurs in the smart cabinet during user operation, the user can edit the fault error message through their terminal (such as their smartphone) and upload it to the server connected to the smart cabinet. The fault information field contains the text information included in the fault error message.

[0061] For example, when the smart locker is a parcel locker, if a user finds that the corresponding parcel compartment cannot be opened during the parcel retrieval process, they can report a fault error message indicating that the compartment cannot be opened. Alternatively, if a user finds that the dynamic identification code is not displayed on the screen when retrieving the parcel, they can report a fault error message indicating that the dynamic identification code is not displayed correctly.

[0062] (2) Detect whether the fault information field contains the dynamic identification code and / or the field corresponding to the display screen.

[0063] Specifically, after parsing the fault error messages and obtaining the fault information fields, keyword detection can be performed on these fields. This involves checking whether the fault information fields contain the dynamic identification code and / or the field corresponding to the display screen. For example, a fault error message might read: "Smart cabinet display screen damaged." In this case, the keyword "display screen" can be identified, thus determining that the fault information fields for this fault error message include the field corresponding to the display screen. Another fault error message might read: "Dynamic identification code not displayed on the display screen." In this case, the keywords "display screen" and "dynamic identification code" can be identified, thus determining that the fault information fields for this fault error message include the fields corresponding to both the display screen and the dynamic identification code. Yet another fault error message might read: "The fourth compartment of the smart cabinet cannot be opened." In this case, no keywords related to the display screen or dynamic identification code are identified, thus determining that the fault information fields for this fault error message do not include the fields corresponding to the display screen or the dynamic identification code.

[0064] (3) When the fault information field contains the dynamic identification code and / or the field corresponding to the display screen, the dynamic display state is determined based on the fault information field.

[0065] Specifically, after detecting whether the fault information field contains a dynamic identifier code and / or a field corresponding to the display screen, the fault information field containing the dynamic identifier code and / or the field corresponding to the display screen is recorded as the target information field. Then, text recognition is performed on the target information field to determine the fault meaning represented in the target information field. Based on the fault meaning represented in the target information field, the dynamic display state is determined. For example, a fault error message is: "Dynamic identifier code not displayed on the display screen." Text recognition (such as entity extraction and intent recognition) can be performed on this fault error message to determine that the fault meaning represented by the fault error message is: the dynamic identifier code cannot be displayed normally on the display screen. Therefore, the dynamic display state corresponding to this fault error message represents the state where the dynamic identifier code cannot be displayed normally on the display screen.

[0066] In this embodiment, considering the possibility of temperature sensor failure in the smart cabinet, or other anomalies affecting the display of the dynamic identification code besides temperature abnormalities, the dynamic display status of the dynamic identification code is determined by parsing the fault error information. This improves the completeness of the detection of whether the dynamic identification code is displayed correctly, thereby enhancing the user experience.

[0067] In one embodiment, step S40, namely, performing the first verification operation according to the first QR code response instruction, includes:

[0068] (1) Based on the first scanning response instruction, the first target identification code is parsed to determine the cabinet binding information corresponding to the first target identification code.

[0069] Understandably, the fixed identification code mentioned in the above steps is an identification code that is encrypted and converted into a one-dimensional or two-dimensional barcode when the smart cabinet leaves the factory. Therefore, after receiving the first scan response command, the first target identification code can be parsed based on the first scan response command to determine the cabinet binding information corresponding to the first target identification code.

[0070] (2) Generate an update identifier code based on the cabinet binding information, and parse and verify the update identifier code to obtain the first scan verification result.

[0071] Specifically, based on the first scan response command, the first target identifier code is parsed to determine the cabinet binding information corresponding to the first target identifier code. Once the cabinet binding information, which represents the cabinet code of the smart cabinet, is determined, an updated identifier code (a new dynamic identifier code) is generated. This updated identifier code is then parsed and verified to determine whether the information entered by the user when scanning the fixed identifier code (such as personal information and the parcel storage compartment number) is correct, thus obtaining the first scan verification result. This first scan verification result can be either a successful scan for parcel retrieval or a failed scan for parcel retrieval.

[0072] Furthermore, assuming the smart locker is a parcel locker, after generating an updated identification code based on the locker's binding information and parsing and verifying the updated identification code to obtain the first scan verification result, if the first scan verification result is successful, the compartment corresponding to the first scan response command is opened. A successful compartment opening notification is sent to the user's terminal, allowing the user to retrieve the parcel from that compartment. If the first scan verification result is a scan failure, the compartment corresponding to the first scan response command is not opened, and a verification failure command is sent to the user's terminal. After receiving the verification failure command, the user rescans the first target identification code to retrieve or receive the parcel.

[0073] In one embodiment, such as Figure 3 As shown, after step S20, that is, after obtaining the expiration detection status of the dynamic identifier code, the method further includes:

[0074] S50: When the dynamic identification code is determined to be valid based on the dynamic display state and the expiration detection state, the dynamic identification code is determined as the second target identification code.

[0075] Understandably, when the dynamic display state indicates that the dynamic identification code is displayed normally, and the expiration detection state indicates that the dynamic identification code has expired, the dynamic identification code is determined to be invalid. At this time, the fixed identification code is still in an invalid state. Therefore, the dynamic identification code is determined as the second target identification code for scanning and retrieving items.

[0076] S60: Receive the second scanning response instruction sent after scanning the second target identification code through the user terminal, and perform the second verification operation according to the second scanning response instruction.

[0077] Specifically, after the dynamic identification code is determined as the second target identification code, the dynamic identification code becomes valid. This means the user can scan the second target identification code using their user terminal, and the system automatically sends a second scanning response command to the server connected to the smart cabinet after scanning. Upon receiving the second scanning response command, the server performs a second verification operation based on it. The second verification operation verifies the information entered by the user terminal when scanning the second target identification code (such as personal information and the smart cabinet compartment to be opened).

[0078] In one embodiment, performing the second verification operation according to the second QR code scanning response instruction includes:

[0079] (1) Based on the second scanning response command, the dynamic identification code is parsed to obtain basic scanning information.

[0080] Understandably, after receiving the second scanning response command, since the user fills in information after scanning the second target identification code, the dynamic identification code is parsed based on the information filled in the second scanning response command to obtain the basic scanning information. The basic scanning information can be personal information (such as the last four digits of the user's mobile phone number) or the compartment of the smart cabinet that needs to be opened.

[0081] (2) Verify the basic information of the scanned code to obtain the second scanned code verification result.

[0082] Specifically, after parsing the dynamic identification code based on the second scanning response command to obtain the basic scanning information, the basic scanning information can be verified. For example, when the smart locker is a parcel locker, when a courier needs to store a parcel in a compartment, the courier will select a compartment in the smart locker. Then, based on the compartment information in the basic scanning information, it can be determined whether the smart locker already has a parcel stored in that compartment. If a parcel is stored, the verification fails, and the courier is prompted to select a new compartment. If no parcel is stored, the compartment can be opened, allowing the courier to store the parcel there. In another example, when a courier stores a parcel in the smart locker, they will enter the personal information of the parcel's owner (such as the last four digits of the user's mobile phone number). This binds the personal information to the parcel storage compartment, and this bound information is sent to the user's terminal. Then, after the user scans the dynamic identification code and fills in the corresponding information through their terminal, this information can be matched with the personal information bound to the compartment. If the match is successful, the compartment is opened, allowing the user to retrieve the parcel. If the matching fails, the grid will not be opened, and a prompt will be sent to the user terminal to re-enter personal information and the grid.

[0083] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0084] In one embodiment, a smart locker QR code verification device is provided, which corresponds one-to-one with the smart locker QR code verification method described in the above embodiments. For example... Figure 4 As shown, the smart locker's QR code verification device includes a display detection module 10, an expiration detection module 20, a first identification code selection module 30, and a first verification module 40. Detailed descriptions of each functional module are as follows:

[0085] The display detection module 10 is used to detect the display status of the display screen of the smart cabinet and obtain the dynamic display status of the dynamic identification code on the display screen.

[0086] The expiration detection module 20 is used to detect the expiration status of the dynamic identification code on the display screen and obtain the expiration detection status of the dynamic identification code.

[0087] The first identifier selection module 30 is used to determine the fixed identifier set on the smart cabinet as the first target identifier when the dynamic identifier is determined to be invalid based on the dynamic display status and the expiration detection status.

[0088] The first verification module 40 is used to receive a first scanning response instruction sent after scanning the first target identification code through a user terminal, and to perform a first verification operation according to the first scanning response instruction.

[0089] Preferably, the display detection module 10 includes:

[0090] A temperature detection unit is used to detect the temperature of the display screen through a temperature sensor installed on the smart cabinet and obtain the temperature detection value of the display screen.

[0091] A temperature comparison unit is used to obtain a preset temperature range of the display screen and determine the dynamic display state based on the temperature detection value and the preset temperature range.

[0092] Preferably, the display detection module 10 further includes:

[0093] The fault information parsing unit is used to receive fault error information of the smart cabinet in real time, and parse the fault error information to obtain fault information fields;

[0094] A field detection unit is used to detect whether the fault information field includes the dynamic identification code and / or the field corresponding to the display screen;

[0095] The display status detection unit is used to determine the dynamic display status based on the fault information field when the fault information field includes the dynamic identification code and / or the field corresponding to the display screen.

[0096] Preferably, the smart locker QR code verification device further includes:

[0097] The first state determination unit is used to determine that the dynamic identification code is invalid when the dynamic display state indicates that the dynamic identification code cannot be displayed normally.

[0098] The second state determination unit is used to determine that the dynamic identification code is invalid when the dynamic display state indicates that the dynamic identification code is displayed normally and the expiration detection state indicates that the dynamic identification code has expired.

[0099] The third state determination unit is used to determine that the dynamic identification code is valid when the dynamic display state indicates that the dynamic identification code is displayed normally and the expiration detection state indicates that the dynamic identification code has not expired.

[0100] Preferably, the first verification module 40 includes:

[0101] The first parsing unit is used to parse the first target identification code based on the first scanning response instruction to determine the cabinet binding information corresponding to the first target identification code;

[0102] The first verification unit is used to generate an update identifier code based on the cabinet binding information, and to parse and verify the update identifier code to obtain the first scan verification result.

[0103] Preferably, such as Figure 5 As shown, the smart locker's QR code verification device also includes:

[0104] The second identifier selection module 50 is used to determine the dynamic identifier as the second target identifier when the dynamic identifier is determined to be valid based on the dynamic display state and the expiration detection state.

[0105] The second verification module 60 is used to receive a second scanning response instruction sent after scanning the second target identification code through the user terminal, and to perform a second verification operation according to the second scanning response instruction.

[0106] Preferably, the second verification module includes:

[0107] The second parsing unit is used to parse the dynamic identification code based on the second scanning response command to obtain basic scanning information;

[0108] The second verification unit is used to verify the basic information of the scanned code and obtain the second scan verification result.

[0109] Specific limitations regarding the smart locker QR code verification device can be found in the above description of the smart locker QR code verification method, and will not be repeated here. Each module in the aforementioned smart locker QR code verification device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0110] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 6 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores the data used in the smart cabinet QR code verification method described in the above embodiment. The network interface of the computer device is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a smart cabinet QR code verification method.

[0111] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the smart cabinet QR code verification method described in the above embodiment.

[0112] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the smart cabinet QR code verification method described in the above embodiment.

[0113] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0114] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0115] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A smart locker QR code verification method, characterized in that, include: The display status of the smart cabinet's display screen is detected to obtain the dynamic display status of the dynamic identification code on the display screen; The dynamic identification code on the display screen is subjected to expiration status detection, and the expiration status of the dynamic identification code is obtained; When the dynamic identification code is determined to be invalid based on the dynamic display status and the expiration detection status, the fixed identification code set on the smart cabinet is determined as the first target identification code; the fixed identification code is an identification code that is converted into a one-dimensional code or a two-dimensional code after the cabinet code of the smart cabinet is encrypted when the smart cabinet leaves the factory. Receive a first scan response instruction sent after scanning the first target identifier code through a user terminal, and perform a first verification operation according to the first scan response instruction.

2. The smart cabinet QR code verification method as described in claim 1, characterized in that, The step of detecting the display status of the smart cabinet's display screen and obtaining the dynamic display status of the dynamic identification code on the display screen includes: The temperature of the display screen is detected by a temperature sensor installed on the smart cabinet, and the temperature value of the display screen is obtained. Obtain the preset temperature range of the display screen, and determine the dynamic display state based on the temperature detection value and the preset temperature range.

3. The smart locker QR code verification method as described in claim 1, characterized in that, The step of detecting the display status of the smart cabinet's display screen and obtaining the dynamic display status of the dynamic identification code on the display screen further includes: The system receives fault error messages from the smart cabinet in real time and parses the fault error messages to obtain fault information fields. Detect whether the fault information field contains the dynamic identification code and / or the field corresponding to the display screen; When the fault information field contains the dynamic identification code and / or the field corresponding to the display screen, the dynamic display state is determined based on the fault information field.

4. The smart cabinet QR code verification method as described in claim 1, characterized in that, Before determining the fixed identification code set on the smart cabinet as the first target identification code, the method further includes: When the dynamic display state indicates that the dynamic identification code cannot be displayed normally, it is determined that the dynamic identification code is invalid. When the dynamic display state indicates that the dynamic identification code is displayed normally, and the expiration detection state indicates that the dynamic identification code has expired, the dynamic identification code is determined to be invalid. When the dynamic display state indicates that the dynamic identification code is displayed normally, and the expiration detection state indicates that the dynamic identification code has not expired, the dynamic identification code is determined to be valid.

5. The smart cabinet QR code verification method as described in claim 1, characterized in that, The step of performing the first verification operation according to the first QR code scanning response instruction includes: Based on the first scanning response command, the first target identification code is parsed to determine the cabinet binding information corresponding to the first target identification code; An update identifier code is generated based on the cabinet binding information, and the update identifier code is parsed and verified to obtain the first scan verification result.

6. The smart cabinet QR code verification method as described in claim 1, characterized in that, After obtaining the expiration detection status of the dynamic identifier, the method further includes: When the dynamic identifier is determined to be valid based on the dynamic display status and the expiration detection status, the dynamic identifier is determined as the second target identifier. Receive a second scanning response instruction sent after scanning the second target identification code through a user terminal, and perform a second verification operation according to the second scanning response instruction.

7. The smart cabinet QR code verification method as described in claim 6, characterized in that, The step of performing the second verification operation according to the second QR code response instruction includes: Based on the second scanning response command, the dynamic identification code is parsed to obtain basic scanning information; The basic information of the scanned code is verified to obtain the second scan verification result.

8. A smart locker QR code verification device, characterized in that, include: The display detection module is used to detect the display status of the display screen of the smart cabinet and obtain the dynamic display status of the dynamic identification code on the display screen. An expiration detection module is used to detect the expiration status of the dynamic identification code on the display screen and obtain the expiration status of the dynamic identification code. The first identification code selection module is used to determine the fixed identification code set on the smart cabinet as the first target identification code when the dynamic identification code is determined to be invalid based on the dynamic display status and the expiration detection status. The fixed identification code is an identification code that is converted into a one-dimensional code or a two-dimensional code after the cabinet code of the smart cabinet is encrypted when the smart cabinet leaves the factory. The first verification module is used to receive a first scanning response instruction sent after scanning the target identification code through a user terminal, and to perform a first verification operation based on the pickup information in the first scanning response instruction.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the smart cabinet QR code verification method as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the smart cabinet QR code verification method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Verification control method and system, terminal, server, terminal equipment

    CN103729765A

  • Express cabinet fault processing method and device, express cabinet, manager and storage medium

    CN109948815A