CN113128636A - Offline storage and taking method and device for intelligent cabinet - Google Patents

Offline storage and taking method and device for intelligent cabinet Download PDF

Info

Publication number
CN113128636A
CN113128636A CN202110414287.2A CN202110414287A CN113128636A CN 113128636 A CN113128636 A CN 113128636A CN 202110414287 A CN202110414287 A CN 202110414287A CN 113128636 A CN113128636 A CN 113128636A
Authority
CN
China
Prior art keywords
cabinet
intelligent cabinet
pickup
storage
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110414287.2A
Other languages
Chinese (zh)
Inventor
柳絮青
马苏晨
周晓煜
陈仁甫
卢言峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rajax Network Technology Co Ltd
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Rajax Network Technology Co Ltd
Zhejiang Koubei Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rajax Network Technology Co Ltd, Zhejiang Koubei Network Technology Co Ltd filed Critical Rajax Network Technology Co Ltd
Priority to CN202110414287.2A priority Critical patent/CN113128636A/en
Publication of CN113128636A publication Critical patent/CN113128636A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/10Coin-freed apparatus for hiring articles; Coin-freed facilities or services for means for safe-keeping of property, left temporarily, e.g. by fastening the property
    • G07F17/12Coin-freed apparatus for hiring articles; Coin-freed facilities or services for means for safe-keeping of property, left temporarily, e.g. by fastening the property comprising lockable containers, e.g. for accepting clothes to be cleaned
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2151Time stamp

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses an offline storage and taking method and device of an intelligent cabinet, and relates to the technical field of information. The storage method comprises the following steps: the client side responds to a storage instruction of the intelligent cabinet and sends a storage request to the intelligent cabinet through the established short-distance communication connection, so that the intelligent cabinet is enabled to allocate available cabinet lattices; receiving a cabinet grid identification of the available cabinet grid; and generating a pickup code according to the cabinet grid identification and the storage time stamp. This application can guarantee going on smoothly of intelligence cabinet access piece under the off-line condition, need not maintainer manual operation on the spot, labour saving and time saving practices thrift the human cost to can improve the efficiency that the user accessed the piece.

Description

Offline storage and taking method and device for intelligent cabinet
The application is a divisional application of Chinese patent application with application number 202011433056.8, named as 'off-line storage and taking method and device of intelligent cabinet', filed by the Chinese patent office on 10.12.2020.
Technical Field
The present application relates to the field of information technology, and in particular, to an offline storage and retrieval method and apparatus for an intelligent cabinet.
Background
With the rapid development of the internet and the acceleration of the life rhythm of people, the requirement of people on express services is higher and higher. Sometimes, the user is inconvenient to take the delivery from the hands of the delivery staff, the intelligent cabinet can effectively solve the problem, and the delivery staff places the delivery in the intelligent cabinet and takes the delivery from the intelligent cabinet. When the network is poor or the server side breaks down and is in an off-line state, or the signal of the user mobile equipment is poor and cannot be connected with the server side, the intelligent cabinet can cause serious influence on the access member of the user.
In order to solve the problem that the access of the intelligent cabinet cannot be realized in an off-line state, currently, the authority of an administrator can be set, and the administrator can directly input the cabinet number after logging in to open the cabinet door or open the cabinet door through a mechanical key in an emergency mode. However, in the conventional mode, the maintenance personnel are required to manually operate on site, time and labor are consumed, the labor cost is increased, the maintenance personnel can also spend a certain time when going to the accident site, and the efficiency of the user for storing and taking the parts can be influenced.
Disclosure of Invention
In view of the above, the present application provides an offline storage and pickup method and apparatus for an intelligent cabinet, and mainly aims to improve the technical problems that the conventional solution for storing and pickup items in an offline state is time-consuming, labor-consuming, and affects the storage and pickup efficiency of a user.
According to one aspect of the application, an offline storage method of an intelligent cabinet is provided, which is applicable to a client side of a storage user, and comprises the following steps:
responding to a storage instruction of the intelligent cabinet, sending a storage request to the intelligent cabinet through the established short-distance communication connection, so that the intelligent cabinet allocates available cabinet lattices;
receiving a cabinet grid identification of the available cabinet grid;
and generating a pickup code according to the cabinet grid identification and the storage time stamp.
According to another aspect of the present application, an offline pickup method for an intelligent cabinet is provided, which is applicable to a client side of a pickup user, and the method includes:
responding to a pickup instruction of the intelligent cabinet, sending a pickup request to the intelligent cabinet through the established short-distance communication connection, wherein the pickup request carries a pickup code, so that the intelligent cabinet carries out validity check on the pickup code according to a pickup timestamp;
and receiving cabinet lattice information of the pickup cabinet lattices, wherein the cabinet lattice information is determined according to the pickup code when the intelligent cabinet judges that the pickup code is legal.
According to another aspect of the present application, an offline storage device of an intelligent cabinet is provided, which is applicable to a client side of a storage user, and the device includes:
the sending module is used for responding to a storage instruction of the intelligent cabinet and sending a storage request to the intelligent cabinet through the established short-distance communication connection so that the intelligent cabinet can be allocated with available cabinet lattices;
the receiving module is used for receiving the cabinet lattice identification of the available cabinet lattice;
and the generating module is used for generating a pickup code according to the cabinet grid identifier and the storage timestamp.
According to another aspect of the present application, an offline pickup apparatus for an intelligent cabinet is provided, which is applicable to a client side of a pickup user, and the apparatus includes:
the sending module is used for responding to a pickup instruction of the intelligent cabinet and sending a pickup request to the intelligent cabinet through the established short-distance communication connection, wherein the pickup request carries a pickup code, so that the intelligent cabinet carries out validity check on the pickup code according to a pickup timestamp;
and the receiving module is used for receiving cabinet lattice information of the pickup cabinet lattices, and the cabinet lattice information is determined according to the pickup code when the intelligent cabinet judges that the pickup code is legal.
According to yet another aspect of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described offline storage method applicable to a client-side smart locker of a storage user.
According to yet another aspect of the present application, there is provided a client device, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned offline storage method applicable to a client-side smart locker of a storage user.
According to yet another aspect of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the above pick-and-place method applicable to a client-side smart locker of a pick-and-place user.
According to yet another aspect of the present application, there is provided a client device, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned offline pickup method applicable to a client-side smart locker of a pickup user.
By means of the technical scheme, compared with the traditional solution of accessing the intelligent cabinet in the current off-line state, the method and the device for accessing the intelligent cabinet off-line can realize the operation of accessing the intelligent cabinet by establishing the short-distance communication connection between the mobile equipment client and the intelligent cabinet when the intelligent cabinet is in the off-line state or the mobile equipment signal difference cannot be communicated with the server side. The generation of the pick-up code in the off-line state can be executed at the client side of the pick-up user, the privacy safety of user information is guaranteed, a complete pick-up use scheme of the pick-up code in the off-line state is provided, the smooth access of the pick-up code in the off-line state can be guaranteed, the manual operation of a maintainer in the field is not needed, time and labor are saved, the labor cost is saved, and the efficiency of the pick-up code in the user can be improved.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart illustrating an offline storage method for an intelligent cabinet according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart illustrating an offline storage method for an intelligent cabinet according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart illustrating an offline pickup method for an intelligent cabinet according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart illustrating an offline pickup method for another intelligent cabinet according to an embodiment of the present application;
fig. 5 illustrates an example schematic diagram of a smart cabinet structure provided in an embodiment of the present application;
fig. 6 is a schematic flowchart illustrating an example of offline meal storage provided by an embodiment of the present application;
fig. 7 is a schematic flowchart illustrating an example of offline meal fetching provided by an embodiment of the present application;
fig. 8 shows a schematic structural diagram of an offline storage device of an intelligent cabinet according to an embodiment of the present application;
fig. 9 shows a schematic structural diagram of an offline pickup device of an intelligent cabinet according to an embodiment of the present application.
Detailed Description
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In order to improve the traditional solution of the intelligent cabinet access part in the current off-line state, the time and the labor are consumed, the labor cost is increased, and the technical problem of the user access part efficiency is influenced. The embodiment provides an offline storage method of an intelligent cabinet, which can be applied to a client side of a storage user as shown in fig. 1, and the method includes:
step 101, the client side responds to a storage instruction of the intelligent cabinet, and sends a storage request to the intelligent cabinet through the established short-distance communication connection, so that the intelligent cabinet can allocate available cabinet lattices.
The short-distance Communication connection may include WIreless-FIdelity (WiFi), bluetooth, ZigBee (ZigBee) technology, Near Field Communication (NFC), Ultra Wide Band (UWB), and the like. It should be noted that, in order to implement short-distance communication connection, a corresponding communication module, such as a bluetooth module and an NFC module, needs to be configured in advance at the side of the smart cabinet, and then short-distance communication connection is implemented through the communication module and the smart cabinet. The intelligent cabinet in the embodiment can be used for storing and taking food or articles and the like, and specifically can be a take-out food cabinet or an express delivery cabinet and the like.
The execution subject of the offline storage method embodiment may be a client device of a storage user, for example, an Application (APP) with a logistics storage function installed on an intelligent terminal such as a smart phone or a tablet computer, or an applet, a public number, or a WEB Application.
For convenience of understanding, the embodiment may be mainly described with a user smart phone side client as an execution main body, and a user may find the smart cabinet input storage instruction through the mobile phone client and trigger to send a corresponding storage request, where a manner of inputting the storage instruction may have various optional forms. For example, a user to be stored can scan an identification code (such as a one-dimensional bar code, a two-dimensional bar code or a multi-dimensional bar code) on the intelligent cabinet through the mobile phone APP, and then input a storage instruction so as to send a corresponding storage request through a network request; the user to be stored can also find the current intelligent cabinet according to the position of the intelligent cabinet through the mobile phone applet, can input a storage instruction after having certain operation authority of the intelligent cabinet, and further sends a corresponding storage request and the like.
Each bin of the intelligent cabinet can be used for storing articles or meals and the like. In this embodiment, the short-range communication connection function of the intelligent cabinet may be default to an open state, or may be turned on when it is detected that the intelligent cabinet and the server cannot communicate (e.g., the signal is lower than a certain threshold). After the short-distance communication connection is established, the client side can send a storage request to the main control equipment of the intelligent cabinet through the established connection. Because of the definite directivity of access, the storage request does not carry the identification information of the intelligent cabinet. The storage request can carry user information of a storage user so that the intelligent cabinet can carry out authority authentication according to the user information, and an available cabinet lattice is allocated for the intelligent cabinet by default after the authentication is passed for storage. The main control device of the intelligent cabinet can return the allocated cabinet lattice identifications (such as the cabinet lattice number, the serial number of the cabinet body in which the cabinet body is located, the row/column of the cabinet body in which the cabinet body is located, and the like) of the available cabinet lattices to the client through the established short-distance communication connection.
And 102, receiving the cabinet lattice identification of the available cabinet lattice distributed by the intelligent cabinet by the client.
And 103, generating a pickup code according to the cabinet lattice identification and the storage timestamp of the available cabinet lattice distributed by the intelligent cabinet.
The storage time stamp can be the time stamp corresponding to the storage operation. This embodiment can be in depositing a user client side and generating and get a yard, avoids getting a yard and generating the information leakage hidden danger that brings by intelligent cabinet side, can guarantee the security of intelligent cabinet commodity circulation storage. In consideration of the subsequent requirement that offline pickup may exist, the embodiment may generate the pickup code according to the bin identifier and the storage timestamp of the available bin allocated by the intelligent cabinet, where the bin identifier is used for the target bin where the intelligent cabinet can identify the pickup in the offline state, and the storage timestamp may be used to check timeliness of the pickup, and in order to ensure the security of these information, an information encryption process may be attached to the generation of the pickup code.
After the pickup code is generated, the pickup user can realize corresponding pickup operation in the intelligent cabinet through the pickup code, and then the pickup process of the intelligent cabinet in a complete off-line state is realized.
Compared with the traditional solution for storing the parts in the intelligent cabinet at the client side of the part storage user, the offline part storage method applicable to the intelligent cabinet at the client side of the part storage user provided by the embodiment can realize the part storage operation of the intelligent cabinet by establishing the short-distance communication connection between the mobile equipment client and the intelligent cabinet when the intelligent cabinet is in an offline state or the mobile equipment signal is poor and cannot communicate with the server side. The generation of the pickup code in the off-line state can be executed at the client side of the storage user, the privacy safety of user information is guaranteed, smooth operation of storage of the intelligent cabinet in the off-line state can be guaranteed, manual operation of maintainers on site is not needed, time and labor are saved, and labor cost is saved, so that the storage efficiency of the user can be improved.
Further, as a refinement and an extension of the specific implementation manner of the foregoing embodiment, this embodiment provides another offline storage method applicable to an intelligent cabinet at a storage user client side, taking a short-range communication connection as a bluetooth connection as an example, as shown in fig. 2, where the method includes:
step 201, the client responds to a storage instruction of the intelligent cabinet.
Step 202a, outputting prompt information for short-distance communication connection with the intelligent cabinet, responding to an instruction for confirming the short-distance communication connection, and sending a storage request to the intelligent cabinet through the established short-distance communication connection.
In this embodiment, when the user triggers to store the file, the user can actively prompt the intelligent cabinet to perform short-distance communication connection with the intelligent cabinet, so that the file storing request is sent to the intelligent cabinet through the established short-distance communication connection, and the user can definitely realize the file storing operation of the intelligent cabinet by using the short-distance communication connection, so as to meet more requirements. In addition, intelligent judgment can be carried out, if the client responds to a storage instruction of the intelligent cabinet, if the client cannot communicate with the server or judges that the intelligent cabinet is in an off-line state, prompt information for short-distance communication connection with the intelligent cabinet is output.
In this embodiment, the server may be an online cloud-side backend, and identification information (such as a name, an ID number, and the like) of the smart cabinet may be carried each time a storage request is sent to the server, so as to inform the backend of a target smart cabinet for storing the storage. And if the signal of the smart phone is smaller than a certain threshold value, or the response information returned by the server is not received for a long time after the storage request is sent to the server, and the like, determining that the smart phone cannot communicate with the server. And if the information which informs that the intelligent cabinet does not respond and is returned by the server side is received after the storage request is sent, the intelligent cabinet can be judged to be in an off-line state. When the client and the server cannot communicate or the intelligent cabinet is in an off-line state, prompt information can be triggered and output, and a storage user is advised to operate the storage in a short-distance communication connection mode. The prompt information is specifically prompt information such as characters, pictures, audio, video, light, vibration and the like.
In order to accurately determine whether the intelligent cabinet is in an offline state, optionally, responding to a storage instruction of the intelligent cabinet may specifically include: the client sends a storage request of the intelligent cabinet to the server; receiving offline state information of the intelligent cabinet, wherein the offline state information is sent when a server cannot communicate with the intelligent cabinet; and then, judging that the intelligent cabinet is in an off-line state according to the off-line state information. For example, the server side indicates the corresponding intelligent cabinet to allocate available cabinet grids according to a storage request sent by the client side, and if the server side cannot communicate with the intelligent cabinet, the offline state information of the intelligent cabinet can be sent to the client side, so that the client side judges that the intelligent cabinet is in an offline state.
For convenience of description, the short-range communication connection is described as a bluetooth connection:
in order to realize the automatic storage operation process, if a user sets in advance that confirmation-free Bluetooth connection is carried out for storage, or the default setting of the system is free from confirmation and the like, the storage instruction of the intelligent cabinet can be received, and when the condition that the communication with the server end is unavailable or the condition that the intelligent cabinet is in an off-line state is judged, prompt information for carrying out Bluetooth connection with the intelligent cabinet is not required to be output, Bluetooth connection is directly established with a Bluetooth Low Energy (BLE) module of the intelligent cabinet, and a storage request is sent to the intelligent cabinet. Through the optional mode, the storage user can store the part in an off-line state by one key, the user cannot sense the part, and the storage efficiency of the user is improved.
The client responds to the instruction for confirming the Bluetooth connection, establishes Bluetooth connection with the BLE Bluetooth module of the intelligent cabinet, and sends a storage request to the intelligent cabinet through the established Bluetooth connection.
Further, the intelligent cabinet can be used for distributing available cabinet grids. The storage request may also carry requirement information that the cabinet lattice needs to be allocated (for example, the requirement information may be set by a storage user in advance, or the requirement information may be analyzed by the client side according to order information of the to-be-stored item), and for example, the number and the size of the lattice openings that need to be allocated by the cabinet lattice, and the intelligent cabinet may allocate a suitable available cabinet lattice according to the requirement information.
For the number of communication links simultaneously supported by the BLE bluetooth chip, sometimes there is a certain number limitation, so to facilitate more storage users to perform offline storage operation on the same intelligent cabinet, optionally, after establishing bluetooth connection with the BLE bluetooth module of the intelligent cabinet, the method of this embodiment may further include: if the operating instruction to the intelligent cabinet is not received within the preset time or the storage is judged to be completed, the Bluetooth connection with the BLE Bluetooth module is disconnected. The disconnection of the bluetooth connection may be initiated by the client side, or actively initiated by the smart cabinet side, etc. For example, after the intelligent cabinet distributes the available cabinet lattices, the corresponding cabinet door can be triggered to be opened, after the cabinet door is closed, and when the sensor detects that articles exist in the cabinet lattices, the article storage is finished at this time, the related information is fed back to the client through the Bluetooth connection, the Bluetooth connection is actively disconnected by the intelligent cabinet side, or the Bluetooth connection is disconnected after the client side determines that the article storage is successful according to the fed-back information, and the like. In addition, if the user does not operate the intelligent cabinet for a long time after the Bluetooth connection is successful, the BLE module or the client can actively disconnect the Bluetooth connection so as to vacate a Bluetooth communication link for other users.
And a step 202b parallel to the step 202a, if the intelligent cabinet cannot communicate with the server or the intelligent cabinet is judged to be in an off-line state, sending a storage request to the intelligent cabinet through the established short-distance communication connection.
For example, in response to a storage instruction of the intelligent cabinet, if the intelligent cabinet cannot communicate with the server or the intelligent cabinet is determined to be in an offline state, a storage request is automatically sent to the intelligent cabinet through the established short-distance communication connection, so that a user cannot perceive that the short-distance communication connection is used for realizing the storage when the storage exists, the storage operation can be quickly realized even if the user does not have a network or the intelligent cabinet is offline, the user cannot perceive intelligent switching link storage, and the timeliness and the success rate of the storage are ensured.
And step 203, receiving the cabinet lattice identification of the available cabinet lattice allocated by the intelligent cabinet through the established short-distance communication connection.
For example, the client receives the cabinet lattice identification of the available cabinet lattice distributed by the intelligent cabinet through the established Bluetooth connection.
And step 204, acquiring an encryption key corresponding to the intelligent cabinet.
In this embodiment, each smart cabinet may correspond to one encryption key, and the encryption key of each smart cabinet is different, so as to distinguish the smart cabinets. For the encryption key corresponding to the current intelligent cabinet, the client can be obtained from the intelligent cabinet side through Bluetooth connection, or the client can be obtained through server query, and the like.
And step 205, based on the cabinet lattice identification and the storage timestamp of the available cabinet lattice distributed by the intelligent cabinet, performing encryption processing by using the obtained encryption key, and converting the encrypted data into a pickup code conforming to a preset format.
The preset format may be a standard format of a pick-up code uniformly set in advance, such as a pick-up code with 8 bits of pure numbers, a pick-up code with 10 bits of numbers and letters, and the like. In this embodiment, based on the cabinet lattice identifier and the storage timestamp of the available cabinet lattice allocated by the intelligent cabinet, the intelligent cabinet is encrypted by using the unique encryption key corresponding to the intelligent cabinet, so that the intelligent cabinet can conveniently check the validity of the pickup code in a subsequent off-line state, for example, the unique encryption password is used for encrypting according to the pickup timestamp, if the pickup code is not overtime and fails, the pickup timestamp and the storage timestamp can keep the same precision in the encryption process, and the obtained encryption code of the pickup timestamp and the encryption code of the storage timestamp can be consistent, so that the pickup code is judged to be legal; if the pickup code fails to work over time (the same precision cannot be guaranteed in the encryption process), or the pickup code utilizes the encryption code of another intelligent cabinet (not the current intelligent cabinet) for encryption processing, the encryption code of the pickup timestamp and the encryption code of the storage timestamp are inconsistent, and then the pickup code is judged to be illegal. By the optional mode, the pick-up code is generated on the client side of the pick-up user in an off-line state, so that the hidden danger of information leakage caused by the pick-up code generated by the intelligent cabinet side is avoided, and the safety of logistics storage of the intelligent cabinet can be ensured; and accurate safety verification can be achieved when the article is taken off line, and the safety of articles stored in the intelligent cabinet is guaranteed.
Illustratively, step 205 may specifically include: converting the cabinet grid identifier into first part data according to a preset system; encrypting the storage timestamp by using an encryption key, and converting the encrypted data into second partial data according to a preset system; and combining the first part of data and the second part of data to obtain the pick-up code.
The preset system can be configured in advance according to actual requirements. For example, the default system may be hexadecimal, and correspondingly, the meal fetching code may be a 6-bit 16-system component (0-9, a-F), which is 3 bytes in total and divided into two parts, a and b: a. cabinet grid number: represented by the first byte, the cabinet lattice number is from 1 to 255; b. encryption number: represented by the last two bytes, the encrypted number is obtained by encrypting the time stamp of the storage user storage and a group of keys through an encryption algorithm (such as sm 3). The encryption timestamp can be adjusted to the minute, hour, or day according to the specific traffic needs.
Further optionally, the second part of data may be used for validity check of the pickup code when the intelligent cabinet takes the pickup offline, and the first part of data may be used for distinguishing a cabinet lattice corresponding to the pickup code when the intelligent cabinet takes the pickup offline.
For example, if the time is accurate to hours, 2020-10-0915: xx: xx, the extracted time-related information is 20201009150000, the number encrypted by the key information of the smart cabinet is 3688 (represented by 16 is 0E68), the cabinet lattice number is 15 (represented by 16 is 0F), and the piece-taking code is 0F0E 68. Subsequently, when the pick-up code is used for picking up the smart cabinet, the smart cabinet receives the pick-up code 0F0E68 and then checks whether the 0E68 is legal or not, and if the 0E68 is legal, the smart cabinet operates the cabinet lattice of No. 0F (15), so that the cabinet door of the cabinet lattice of No. 15 is opened. Through the optional mode, the accurate operation process of the intelligent cabinet storing and taking part in the off-line state can be realized, and the safety of the stored articles in the intelligent cabinet is ensured.
After step 205, according to the user information of the pickup user, sending the generated pickup code to the pickup user; or the pickup code is sent to the pickup user client through the server, and the operation record of the intelligent cabinet is uploaded to the server. For example, the storage user can copy the pickup code according to the mobile phone number of the pickup user and then send the pickup code to the pickup user through a short message, an instant messaging tool and the like, so that the pickup user can borrow the pickup code to reach the same intelligent cabinet to pick up the pickup. Or when the mobile phone signal is good, the pickup code and the operation record of the intelligent cabinet are uploaded to the server, the server inquires the corresponding pickup user according to the operation record, and the pickup code is sent to the pickup user.
Compared with the traditional solution for storing the intelligent cabinet in the off-line state at present, the solution of the embodiment can realize the storage operation of the intelligent cabinet by establishing the short-distance communication connection between the mobile equipment client and the intelligent cabinet when the intelligent cabinet is in the off-line state or the mobile equipment signal is poor and cannot communicate with the server. The generation of the pickup code in the off-line state can be executed at the client side of the storage user, the privacy safety of user information is guaranteed, smooth operation of storage of the intelligent cabinet in the off-line state can be guaranteed, manual operation of maintainers on site is not needed, time and labor are saved, and labor cost is saved, so that the storage efficiency of the user can be improved.
The content of the foregoing embodiment is an offline storage operation process of an intelligent cabinet described at a storage user client side, and further, to fully describe an implementation manner of this embodiment, this embodiment further provides an offline pickup method of an intelligent cabinet, which can be applied to a pickup user client side, and it should be noted that the offline pickup method can be combined with the offline storage method, so as to implement a complete storage and pickup process of the intelligent cabinet in an offline state, or split according to an actual scene condition, and then implemented respectively (e.g., storage in an offline state + pickup in an online state, or storage in an online state + pickup in an offline state, etc.). As shown in fig. 3, the offline pickup method specifically includes:
step 301, the client sends a pickup request to the intelligent cabinet through the established short-distance communication connection in response to a pickup instruction of the intelligent cabinet.
The execution subject of the offline pickup method embodiment may be client equipment of a pickup user, for example, an APP, an applet, a public number, a WEB application, or the like having a logistics pickup function installed on an intelligent terminal such as a smart phone, a tablet computer, or the like. For another example, the client device may also be configured on the side of the intelligent cabinet, such as a control screen or a control device of the intelligent cabinet, and the user inputs the pickup instruction by inputting the pickup on the control screen.
For convenience of understanding, the present embodiment may be mainly described with a user smart phone side client as an execution main body, and a user may find the smart cabinet through the mobile phone client to input a pickup instruction, and trigger to send a corresponding pickup request, where a manner of inputting the pickup instruction may have various optional forms. For example, a user to be pickup can scan an identification code (such as a one-dimensional bar code, a two-dimensional bar code or a multi-dimensional bar code) on the intelligent cabinet through the mobile phone APP, then input a pickup instruction, and send a corresponding pickup request through a network request; the user to be picked can also find the current intelligent cabinet according to the position of the intelligent cabinet through the mobile phone applet, can input a pickup instruction (for example, pickup codes can be input during pickup) after the intelligent cabinet has certain operation authority, and further sends a corresponding pickup request.
Wherein, carry in the request of getting a piece and get a piece code, it is further to make the intelligence cabinet carry out the legitimacy check to this code of getting a piece according to the timestamp of getting a piece. The pick-up timestamp may be a timestamp corresponding to the pick-up operation. This embodiment can be in depositing a user client side and generating and get a yard, avoids getting a yard and generating the information leakage hidden danger that brings by intelligent cabinet side, can guarantee the security of intelligent cabinet commodity circulation storage. In consideration of the subsequent requirement that offline pickup may exist, the embodiment may generate the pickup code according to the bin identifier and the storage timestamp of the available bin allocated by the intelligent cabinet, where the bin identifier is used for the target bin where the intelligent cabinet can identify the pickup in the offline state, and the storage timestamp may be used to check timeliness of the pickup, and in order to ensure the security of these information, an information encryption process may be attached to the generation of the pickup code. After the pickup code is generated, the pickup user can realize corresponding pickup operation in the intelligent cabinet through the pickup code, and then the pickup process of the intelligent cabinet in a complete off-line state is realized.
Step 302, the client receives the cabinet grid information of the receiving cabinet grid.
And the received cabinet lattice information is determined according to the pick-up code when the intelligent cabinet judges that the pick-up code is legal. The cabinet lattice information can comprise cabinet lattice identification, the position of the cabinet lattice, the size of the cabinet lattice and other information.
Compared with the traditional solution for taking the parts from the intelligent cabinet at the client side of the part taking user, the offline part taking method applicable to the intelligent cabinet at the client side of the part taking user provided by the embodiment can realize the part taking operation of the intelligent cabinet by establishing the short-distance communication connection between the client side of the mobile device and the intelligent cabinet when the intelligent cabinet is in an offline state or the signal difference of the mobile device cannot be communicated with the server side. The generation of the pickup code in the off-line state can be executed at the client side of the storage user, the privacy safety of user information is guaranteed, the complete pickup use scheme of the pickup code in the off-line state is provided, the smooth pickup of the intelligent cabinet in the off-line state can be guaranteed, the manual operation of a maintainer in the field is not needed, time and labor are saved, the labor cost is saved, and the pickup efficiency of the user can be improved.
Further, as a refinement and an extension of the specific implementation manner of the foregoing embodiment, this embodiment provides another offline pickup method applicable to an intelligent cabinet at the pickup user client side, taking a short-distance communication connection as a bluetooth connection as an example, as shown in fig. 4, where the method includes:
and step 401, the client responds to a pickup instruction of the intelligent cabinet.
And 402a, outputting prompt information for short-distance communication connection with the intelligent cabinet, responding to an instruction for confirming the short-distance communication connection, and sending a pickup request to the intelligent cabinet through the established short-distance communication connection.
In this embodiment, when the user triggers to take the part, the user can actively prompt the intelligent cabinet to perform short-distance communication connection with the intelligent cabinet, so that the user can send a part taking request to the intelligent cabinet through the established short-distance communication connection, and the user can definitely realize the part taking operation of the intelligent cabinet by utilizing the short-distance communication connection, so as to meet more requirements. In addition, intelligent judgment can be carried out, for example, if the client responds to a pickup instruction of the intelligent cabinet, if the client and the server cannot communicate or the intelligent cabinet is judged to be in an off-line state, prompt information for carrying out short-distance communication connection with the intelligent cabinet is output.
And if the signal of the smart phone is smaller than a certain threshold value, or the response information returned by the server is not received for a long time after the pickup request is sent to the server, and the like, determining that the smart phone cannot communicate with the server. And if the information which informs that the intelligent cabinet does not respond and is returned by the server side is received after the pickup request is sent, the intelligent cabinet can be judged to be in an off-line state. When the client and the server cannot communicate or the intelligent cabinet is in an off-line state, prompt information can be triggered and output, and a pickup user is advised to operate pickup in a short-distance communication connection mode. The prompt information is specifically prompt information such as characters, pictures, audio, video, light, vibration and the like.
In order to accurately determine whether the intelligent cabinet is in the offline state, optionally, responding to a pickup instruction of the intelligent cabinet may specifically include: sending a pickup request of the intelligent cabinet to a server; receiving offline state information of the intelligent cabinet, wherein the offline state information is sent when a server cannot communicate with the intelligent cabinet; and subsequently, judging that the intelligent cabinet is in an off-line state according to the off-line state information. For example, the server instructs the corresponding intelligent cabinet to open the corresponding pickup cabinet lattice according to the pickup request sent by the client, and if the server cannot communicate with the intelligent cabinet, the server can send the offline state information of the intelligent cabinet to the client, so that the client determines that the intelligent cabinet is in an offline state.
For convenience of description, the short-range communication connection is described as a bluetooth connection:
in order to realize an automatic pickup operation process, if a user sets an unconfirmed Bluetooth connection in advance to pick up a part, or the default setting of a system is unconfirmed, and the like, a pickup instruction (including a pickup code) of the intelligent cabinet is received, and when it is determined that the intelligent cabinet cannot communicate with a server or is determined that the intelligent cabinet is in an off-line state, prompt information for Bluetooth connection with the intelligent cabinet is not required to be output, Bluetooth connection is directly established with a BLE module of the intelligent cabinet, and a pickup request is sent to the intelligent cabinet. By the optional mode, the user can take the parts by one key in an off-line state, the user cannot sense the parts, and the user part taking efficiency is improved.
The client responds to the instruction for confirming the Bluetooth connection, establishes Bluetooth connection with the BLE Bluetooth module of the intelligent cabinet, and sends a pickup request to the intelligent cabinet through the established Bluetooth connection.
Wherein, carry in the request of getting a piece and get a piece code, it is further to make intelligent cabinet carry out the legitimacy check to getting a piece code according to getting a piece timestamp. Optionally, the pickup code may be obtained by combining a first part of data and a second part of data, where the first part of data is obtained by converting according to the shelf identifier of the pickup shelf, the second part of data is obtained by encrypting and converting the storage timestamp by using an encryption key corresponding to the smart shelf, and a specific generation process of the pickup code may refer to the corresponding description in the method in fig. 2, which is not described herein again.
Correspondingly optionally, the intelligent cabinet performs validity check on the pickup code according to the pickup timestamp, and specifically may include: encrypting by using an encryption key corresponding to the intelligent cabinet according to the pickup timestamp to obtain first encryption code data; acquiring second encryption code data before conversion of a second part of data in the pickup code; and then judging whether the pickup code is legal or not by comparing the first encryption code data with the second encryption code data. For example, after receiving the pickup code, the intelligent cabinet keeps the same precision as the encrypted storage timestamp (for example, the time is accurate to day, which is equivalent to the pickup code being valid on the day and invalid on the day, and for example, the time is accurate to month, which is equivalent to the pickup code being valid on the month and invalid on the month), extracts the time-related information, encrypts the time-related information by using the same secret key (which is uniquely corresponding to the intelligent cabinet), and if the generated encryption code is consistent with the encryption code in the pickup code, the pickup code is considered to be legal, and then the cabinet lattice number field is extracted to perform door opening operation. Through the optional mode, the accurate operation process of the intelligent cabinet storing and taking part in the off-line state can be realized, and the safety of the stored articles in the intelligent cabinet is ensured.
In order to meet the requirements of more service scenes, the pick-up code can have timeliness. Exemplarily, the encrypting process is performed by using an encryption key corresponding to the smart locker according to the pickup timestamp to obtain the first encryption code data, and the encrypting process may specifically include: determining at least one reference timestamp based on the piece taking timestamp according to different precision range standards; then, at least one reference timestamp is encrypted by using an encryption key corresponding to the intelligent cabinet respectively to obtain at least one first encryption code data; correspondingly, by comparing the first encryption code data with the second encryption code data, whether the pickup code is legal or not is judged, which specifically includes: if the first encryption code data consistent with the second encryption code data exists in the at least one first encryption code data, determining that the pickup code is legal; and if the first encryption code data consistent with the second encryption code data does not exist in the at least one first encryption code data, determining that the pickup code is illegal.
For example, the timeliness of the pickup code may be set to 3 seconds, the pickup time stamp and the storage time stamp maintain the same precision in the encryption process, specifically, the time is accurate to seconds, if the time-related information of the pickup time stamp is 20201009150503, the encrypted code data corresponding to 20201009150501, 20201009150502 and 20201009150503 may be calculated, if the three encrypted code data have the data that is consistent with the encrypted code data corresponding to the time-related information of the storage time stamp, the pickup code is legal, and if the three encrypted code data do not have the data that is consistent with the encrypted code data corresponding to the time-related information of the storage time stamp, the pickup code is illegal.
For the number of communication links simultaneously supported by the BLE bluetooth chip, sometimes there is a certain number limitation, so to facilitate more pickup users to perform offline pickup operation on the same intelligent cabinet, optionally, after bluetooth connection is established with the BLE bluetooth module of the intelligent cabinet, the method of this embodiment may further include: if the operation instruction to the intelligent cabinet is not received within the preset time or the fetching is judged to be completed, the Bluetooth connection with the BLE Bluetooth module is disconnected. For example, the intelligent cabinet triggers to open the corresponding cabinet door of the cabinet lattice, after the cabinet door is closed, and when the sensor detects that no article exists in the cabinet lattice, the article taking is considered to be completed, the related information is fed back to the client through the Bluetooth connection, the intelligent cabinet side actively breaks the Bluetooth connection, or the client side determines that the article taking is successful and then breaks the Bluetooth connection according to the fed-back information, and the like. In addition, if the user does not operate the intelligent cabinet for a long time after the Bluetooth connection is successful, the BLE module or the client can actively disconnect the Bluetooth connection so as to vacate a Bluetooth communication link for other users.
In a specific application scenario, the background server may not have permission (for example, data in another platform cannot be acquired due to different platforms) to query pickup order information corresponding to pickup by a user, and further cannot acquire a corresponding pickup code. Therefore, in order to implement an automatic pickup process, optionally, the sending a pickup request to the intelligent cabinet through the established bluetooth communication connection in response to the instruction for confirming the bluetooth communication connection may specifically include: if the intelligent cabinet can communicate with the server and the server has the right to acquire the pickup code corresponding to the pickup order, acquiring the pickup code from the server, and sending a pickup request carrying the pickup code to the intelligent cabinet through the established short-distance communication connection, thereby realizing the process of automatically acquiring the pickup code and sending a storage request; and if the server side cannot communicate with the server side or the server side does not have the right to acquire the pickup code corresponding to the pickup order, prompting to input the pickup code, and sending a pickup request carrying the input pickup code to the intelligent cabinet through the established short-distance communication connection.
And a step 402b parallel to the step 402a, if the intelligent cabinet cannot communicate with the server or is judged to be in an off-line state, sending a pickup request to the intelligent cabinet through the established short-distance communication connection.
For example, in response to a pickup instruction of the intelligent cabinet, if the intelligent cabinet cannot communicate with the server or the intelligent cabinet is determined to be in an offline state, a pickup request is automatically sent to the intelligent cabinet through the established short-distance communication connection, so that a user can not sense the pickup by using the short-distance communication connection when picking up the pickup, the pickup operation can be quickly realized even if the mobile phone is not networked or the intelligent cabinet is offline by the pickup user, further, the pickup of the link can be intelligently switched without sensing by the user, and the timeliness and the success rate of pickup are ensured.
And step 403, receiving the cabinet lattice information of the component cabinet lattice through the established short-distance communication connection.
Such as receiving the cabinet information of the pickup cabinet through the established bluetooth connection.
After receiving the bin information of the pickup bin, the method of this embodiment may further include: and uploading the operation records of the intelligent cabinet to a server. The process shown in steps 404a to 404b may be specifically performed.
And step 404a, if the intelligent cabinet can communicate with the server, uploading the operation record of the intelligent cabinet to the server.
And a step 404b parallel to the step 404a, if the intelligent cabinet cannot communicate with the server, after the communication with the server is recovered, uploading the operation record of the intelligent cabinet to the server.
For convenience of understanding of the specific implementation process of the method in each embodiment, the following application scenarios are given, but not limited to:
at present, when the current intelligent meal taking cabinet is in an off-line state due to poor network or failure of a server, serious influence is caused on the placement of a dispatcher (a rider) or the taking of a meal by a user; meanwhile, the intelligent cabinet is not well paved, and the difficulty in putting and taking food can be caused by the fact that the mobile phone signals of some users are not good. Therefore, the embodiment aims to solve the problems of putting and taking food in the cupboard in an off-line state.
Particularly, a BLE module can be added on the side of the intelligent cabinet (a meal taking cabinet) to serve as a near field communication module, and the BLE module is directly communicated with the main control of the intelligent cabinet through a serial port or other interfaces. And in order to enhance the communication quality of BLE, the antenna of BLE needs to be led out of the cabinet, and the specific structure can be as shown in fig. 5. When the rider scans and stacks the food, whether the food taking cabinet is off-line or whether the rider mobile phone cannot communicate with the server side is judged at first. If not, the rider mobile phone APP applies for placing the food to the server, the server distributes cabinet grids, sends an instruction to the food taking cabinet, pushes the food taking code to the rider, and the server pushes the food taking code to the user or the rider informs the user of the food taking code; if yes, prompting that a rider network signal is poor and suggesting to use the Bluetooth to put food, establishing Bluetooth connection after the rider confirms, distributing cabinet grids in the intelligent cabinet, and returning the cabinet grid numbers to the rider mobile phone end. And the APP at the mobile phone end generates a group of 6-digit meal taking codes according to the cabinet lattice number and the current timestamp (storage timestamp). The subsequent rider can inform the meal fetching user of the meal fetching code, or when the mobile phone network is normal, the mobile phone APP automatically pushes the meal fetching code to the piece fetching user, and uploads the operation record to the server, and if the execution process is shown in fig. 6.
In the process of fetching the meal by the user, the user can scan the code to fetch the meal or input the fetch of the meal through the fetch cabinet screen. Firstly, whether the meal taking cabinet is off-line or not or whether the mobile phone of the user can not communicate with the server side is judged. If not, the user directly inputs a meal taking code through the intelligent cabinet to take the meal, and the intelligent cabinet uploads an operation record to the server; if yes, prompting a user that a network signal is not good and suggesting to use Bluetooth to fetch food, establishing Bluetooth connection after the user confirms, prompting the user to input a food fetching code, acquiring the food fetching code through BLE by the intelligent cabinet, checking the legality of the food fetching code and analyzing the cabinet lattice number. The intelligent cabinet determines whether to open the door according to the check result, and returns the result to the user mobile phone end APP, the mobile phone APP uploads the operation record to the server under the condition that the network is normal, and the specific execution process can be as shown in fig. 7. In the process of offline pickup and offline storage, the user can be guided to quickly finish the operation on the APP operation of the user.
Through using above-mentioned scheme, use the problem of the off-line access in BLE technique solution intelligence cabinet field, help saving the operation cost of intelligence cabinet.
Further, as a specific implementation of the method shown in fig. 1 and fig. 2, this embodiment provides an offline storage apparatus applicable to an intelligent cabinet at a storage user client side, as shown in fig. 8, the apparatus includes: a sending module 51, a receiving module 52 and a generating module 53.
A sending module 51, configured to send, in response to a storage instruction of the intelligent cabinet, a storage request to the intelligent cabinet through the established short-distance communication connection, so that the intelligent cabinet allocates available cabinets;
a receiving module 52, configured to receive the cabinet identifier of the available cabinet;
and the generating module 53 is configured to generate a pickup code according to the cabinet identifier and the storage timestamp.
In a specific application scenario, the sending module 51 is specifically configured to respond to a storage instruction of the intelligent cabinet, output prompt information for performing short-range communication connection with the intelligent cabinet, and respond to an instruction for confirming the short-range communication connection, and send a storage request to the intelligent cabinet through the established short-range communication connection; or responding to a storage instruction of the intelligent cabinet, and if the intelligent cabinet cannot communicate with the server or the intelligent cabinet is judged to be in an off-line state, sending a storage request to the intelligent cabinet through the established short-distance communication connection.
In a specific application scenario, the sending module 51 is further specifically configured to output a prompt message for performing short-distance communication connection with the intelligent cabinet if the intelligent cabinet cannot communicate with the server or the intelligent cabinet is determined to be in an offline state.
In a specific application scenario, the sending module 51 is further configured to send a storage request of the intelligent cabinet to the server after responding to a storage instruction of the intelligent cabinet;
the receiving module 52 is further configured to receive offline state information of the intelligent cabinet, where the offline state information is sent when the server cannot communicate with the intelligent cabinet; and judging that the intelligent cabinet is in an off-line state according to the off-line state information.
In a specific application scenario, the generating module 53 is specifically configured to obtain an encryption key corresponding to the smart cabinet; and based on the cabinet grid identification and the storage timestamp, the encryption key is used for carrying out encryption processing, and the encrypted data is converted into the pickup code which accords with a preset format.
In a specific application scenario, the generating module 53 is further configured to convert the counter identifier into a first part of data according to a preset binary system; encrypting the storage timestamp by using the encryption key, and converting the encrypted data into second partial data according to a preset system; and combining the first part of data and the second part of data to obtain the pick-up code.
In a specific application scenario, optionally, the second part of data is used for validity check of the pickup code when the intelligent cabinet takes the pickup offline, and the first part of data is used for distinguishing a cabinet lattice corresponding to the pickup code when the intelligent cabinet takes the pickup offline.
In a specific application scenario, the short-range communication connection is a bluetooth connection; the sending module 51 is specifically configured to establish a bluetooth connection with a BLE bluetooth module of the smart cabinet, and send a storage request to the smart cabinet through the established bluetooth connection;
the receiving module 52 is specifically configured to receive the cabinet identifier of the available cabinet through the established bluetooth connection.
In a specific application scenario, the sending module 51 is further specifically configured to, after establishing a bluetooth connection with the BLE bluetooth module of the smart cabinet, disconnect the bluetooth connection with the BLE bluetooth module if an operation instruction to the smart cabinet is not received within a preset time period or it is determined that storage is completed.
In a specific application scenario, the sending module 51 is further configured to send the pickup code to the pickup user according to user information of the pickup user; or sending the pickup code to a pickup user client through the server, and uploading the operation record of the intelligent cabinet to the server.
It should be noted that other corresponding descriptions of the functional units related to the offline storage device applicable to the intelligent cabinet at the storage user client side provided in this embodiment may refer to the corresponding descriptions of the methods in fig. 1 and fig. 2, and are not described herein again.
Further, as a specific implementation of the method shown in fig. 5, an embodiment of the present application provides an offline pickup apparatus applicable to an intelligent cabinet on a pickup user client side, as shown in fig. 9, the apparatus includes: a sending module 61 and a receiving module 62.
The sending module 61 is configured to send a pickup request to the intelligent cabinet through the established short-distance communication connection in response to a pickup instruction of the intelligent cabinet, where the pickup request carries a pickup code, so that the intelligent cabinet performs validity check on the pickup code according to a pickup timestamp;
and the receiving module 62 is configured to receive cabinet lattice information of the pickup cabinet lattice, where the cabinet lattice information is determined according to the pickup code when the intelligent cabinet determines that the pickup code is legal.
In a specific application scenario, the sending module 61 is specifically configured to respond to a pickup instruction of the intelligent cabinet, output prompt information for performing short-range communication connection with the intelligent cabinet, and respond to an instruction for confirming the short-range communication connection, and send a pickup request to the intelligent cabinet through the established short-range communication connection; or responding to a pickup instruction of the intelligent cabinet, and if the intelligent cabinet cannot communicate with the server or the intelligent cabinet is judged to be in an off-line state, sending a pickup request to the intelligent cabinet through the established short-distance communication connection.
In a specific application scenario, the sending module 61 is further specifically configured to output a prompt message for performing short-distance communication connection with the intelligent cabinet if the intelligent cabinet cannot communicate with the server or the intelligent cabinet is determined to be in an offline state.
In a specific application scenario, the sending module 61 is further configured to send a pickup request of the intelligent cabinet to the server after responding to a pickup instruction of the intelligent cabinet;
the receiving module 62 is further configured to receive offline state information of the intelligent cabinet, where the offline state information is sent when the server cannot communicate with the intelligent cabinet; and judging that the intelligent cabinet is in an off-line state according to the off-line state information.
In a specific application scenario, optionally, the pickup code is obtained by combining a first part of data and a second part of data, the first part of data is obtained by converting the bin identifier of the pickup bin, and the second part of data is obtained by encrypting and converting a storage timestamp by using an encryption key corresponding to the smart bin;
the sending module 61 is specifically configured to send a pickup request to the smart cabinet, so that encryption processing is performed by using an encryption key corresponding to the smart cabinet according to the pickup timestamp, and first encryption code data is obtained; acquiring second encryption code data before the second part of data in the pickup code is converted; and judging whether the pickup code is legal or not by comparing the first encryption code data with the second encryption code data.
In a specific application scenario, the sending module 61 is further specifically configured to send a pickup request to the intelligent cabinet, so that at least one reference timestamp is determined according to different accuracy range standards based on the pickup timestamp; encrypting the at least one reference timestamp by using an encryption key corresponding to the intelligent cabinet respectively to obtain at least one first encryption code data; if the first encryption code data consistent with the second encryption code data exists in the at least one first encryption code data, determining that the pickup code is legal; and if the first encryption code data consistent with the second encryption code data does not exist in the at least one first encryption code data, determining that the pickup code is illegal.
In a specific application scenario, the sending module 61 is further configured to obtain a pickup code from the server if the server is capable of communicating with the server and the server has a right to obtain the pickup code corresponding to the pickup order, and send a pickup request carrying the pickup code to the intelligent cabinet through the established short-distance communication connection; and if the intelligent cabinet cannot communicate with the server side or the server side does not have the authority to acquire the pickup code corresponding to the pickup order, prompting to input the pickup code, and sending a pickup request carrying the input pickup code to the intelligent cabinet through the established short-distance communication connection.
In a specific application scenario, optionally, the short-range communication connection is a bluetooth connection; the sending module 61 is specifically configured to establish a bluetooth connection with a BLE bluetooth module of the smart cabinet, and send a pickup request to the smart cabinet through the established bluetooth connection;
the receiving module 62 is specifically configured to receive cabinet lattice information of the pickup cabinet lattice through the established bluetooth connection.
In a specific application scenario, the sending module 61 is further specifically configured to, after establishing a bluetooth connection with the BLE bluetooth module of the smart cabinet, disconnect the bluetooth connection with the BLE bluetooth module if an operation instruction to the smart cabinet is not received within a preset time period or it is determined that the taking of the article is completed.
In a specific application scenario, the sending module 61 is further configured to upload the operation record of the intelligent cabinet to a server.
It should be noted that other corresponding descriptions of the functional units related to the offline pickup device applicable to the intelligent cabinet at the pickup user client side provided in this embodiment may refer to the corresponding descriptions of the methods in fig. 3 and fig. 4, and are not described herein again.
Based on the above-mentioned methods as shown in fig. 1 and fig. 2, correspondingly, the present application further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the offline storage method applicable to the intelligent cabinet at the storage user client side as shown in fig. 1 and fig. 2 is implemented. Based on the method shown in fig. 3 and 4, another storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the offline pickup method applicable to the intelligent cabinet on the pickup user client side shown in fig. 3 and 4.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method of the embodiments of the present application.
Based on the methods shown in fig. 1 and fig. 2 and the virtual device embodiment shown in fig. 8, in order to achieve the above object, an embodiment of the present application further provides a client device, which may specifically be a tablet computer, a smart phone, a smart watch, a smart bracelet, a smart cabinet control device, or other network devices, and the client device includes a storage medium and a processor; a storage medium for storing a computer program; a processor for executing a computer program to implement the above-mentioned offline storage method applicable to the intelligent cabinet at the storage user client side as shown in fig. 1 and 2.
Based on the methods shown in fig. 3 and 4 and the virtual device embodiment shown in fig. 9, in order to achieve the above object, an embodiment of the present application further provides a client device, which may specifically be a tablet computer, a smart phone, a smart watch, a smart band, a smart cabinet control device, or other network devices. The apparatus includes a storage medium and a processor; a storage medium for storing a computer program; a processor for executing a computer program to implement the above-mentioned offline pickup method applicable to the intelligent cabinet at the pickup user client side as shown in fig. 3 and 4.
Optionally, both the two entity devices may further include a user interface, a network interface, a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, and the like. The user interface may include a Display screen (Display), an input unit such as a keypad (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), etc.
Those skilled in the art will appreciate that the physical device structure of the client device provided in the present embodiment does not constitute a limitation to the two physical devices, and may include more or less components, or combine some components, or arrange different components.
The storage medium may further include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the two physical devices described above, supporting the operation of the information processing program as well as other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and communication with other hardware and software in the information processing entity device.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and can also be implemented by hardware. Through applying the technical scheme of this embodiment, compare with the traditional solution of intelligent cabinet access under the current off-line state, this embodiment can be when the intelligent cabinet is in the off-line state, or mobile device signal difference can't communicate with the server, through establishing the short distance communication connection of mobile device customer end and intelligent cabinet, realize the access operation to the intelligent cabinet. The generation of the pick-up code in the off-line state can be executed at the client side of the pick-up user, the privacy safety of user information is guaranteed, a complete pick-up use scheme of the pick-up code in the off-line state is provided, the smooth access of the pick-up code in the off-line state can be guaranteed, the manual operation of a maintainer in the field is not needed, time and labor are saved, the labor cost is saved, and the efficiency of the pick-up code in the user can be improved.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (10)

1. An off-line storage method of an intelligent cabinet is characterized by comprising the following steps:
if the intelligent cabinet can communicate with the server, sending a storage instruction of the intelligent cabinet to the server;
if the intelligent cabinet cannot communicate with the server side or offline state information of the intelligent cabinet is received, sending a storage request to the intelligent cabinet through the established short-distance communication connection so that the intelligent cabinet can be allocated with available cabinet lattices, wherein the offline state information is sent when the server side cannot communicate with the intelligent cabinet;
receiving a cabinet grid identification of the available cabinet grid;
and generating a pickup code according to the cabinet grid identification.
2. The method according to claim 1, wherein the sending a storage request to the intelligent cabinet via the established short-range communication connection specifically comprises:
outputting prompt information for short-distance communication connection with the intelligent cabinet, responding to an instruction for confirming the short-distance communication connection, and sending a storage request to the intelligent cabinet through the established short-distance communication connection; or the like, or, alternatively,
and sending a storage request to the intelligent cabinet through the established short-distance communication connection.
3. The method according to claim 1, wherein the generating a pick-up code according to the counter identifier specifically includes:
acquiring an encryption key corresponding to the intelligent cabinet;
and based on the cabinet grid identification and the storage timestamp, the encryption key is used for carrying out encryption processing, and the encrypted data is converted into the pickup code which accords with a preset format.
4. The method according to claim 3, wherein the encrypting process is performed by using the encryption key based on the counter identifier and the storage timestamp, and the data after the encrypting process is converted into the pick-up code conforming to a preset format, specifically comprising:
converting the cabinet identifier into first partial data according to a preset system;
encrypting the storage timestamp by using the encryption key, and converting the encrypted data into second partial data according to a preset system;
combining the first part of data and the second part of data to obtain the pick-up code;
the second part of data is used for verifying the legality of the pickup code when the intelligent cabinet takes the pickup offline, and the first part of data is used for judging the cabinet lattice corresponding to the pickup code when the intelligent cabinet takes the pickup offline.
5. The method of claim 1, wherein after said generating a pick code from said bin identification, said method further comprises:
sending the pickup code to a pickup user according to user information of the pickup user; or the like, or, alternatively,
and sending the pickup code to a pickup user client through a server, and uploading the operation record of the intelligent cabinet to the server.
6. An off-line pickup method of an intelligent cabinet is characterized by comprising the following steps:
if the intelligent cabinet can communicate with the server, sending a pickup instruction of the intelligent cabinet to the server;
if the server side cannot communicate with the server side or offline state information of the intelligent cabinet is received, sending a pickup request to the intelligent cabinet through the established short-distance communication connection, wherein the pickup request carries a pickup code, so that the intelligent cabinet carries out validity check on the pickup code, and the offline state information is sent when the server side cannot communicate with the intelligent cabinet;
and receiving cabinet lattice information of the pickup cabinet lattices, wherein the cabinet lattice information is determined according to the pickup code when the intelligent cabinet judges that the pickup code is legal.
7. The utility model provides an off-line of intelligence cabinet deposits a device which characterized in that includes:
the sending module is used for sending a storage instruction of the intelligent cabinet to the server side if the intelligent cabinet can communicate with the server side; if the offline state information of the intelligent cabinet is received or the server side cannot communicate with the intelligent cabinet, sending a storage request to the intelligent cabinet through the established short-distance communication connection so that the intelligent cabinet can be allocated with available cabinet lattices, wherein the offline state information is sent when the server side cannot communicate with the intelligent cabinet;
the receiving module is used for receiving the cabinet lattice identification of the available cabinet lattice;
and the generating module is used for generating the pickup code according to the cabinet grid identifier.
8. The utility model provides an offline pickup device of intelligence cabinet which characterized in that includes:
the sending module is used for sending a pickup instruction of the intelligent cabinet to the server side if the intelligent cabinet can communicate with the server side; if offline state information of the intelligent cabinet is received or the intelligent cabinet cannot communicate with the server, sending a pickup request to the intelligent cabinet through the established short-distance communication connection, wherein the pickup request carries a pickup code, so that the intelligent cabinet carries out validity check on the pickup code, and the offline state information is sent when the server cannot communicate with the intelligent cabinet;
and the receiving module is used for receiving cabinet lattice information of the pickup cabinet lattices, and the cabinet lattice information is determined according to the pickup code when the intelligent cabinet judges that the pickup code is legal.
9. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of any of claims 1 to 6.
10. A client device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the method of any one of claims 1 to 6 when executing the computer program.
CN202110414287.2A 2020-12-10 2020-12-10 Offline storage and taking method and device for intelligent cabinet Pending CN113128636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110414287.2A CN113128636A (en) 2020-12-10 2020-12-10 Offline storage and taking method and device for intelligent cabinet

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011433056.8A CN112215318B (en) 2020-12-10 2020-12-10 Offline storage and taking method and device for intelligent cabinet
CN202110414287.2A CN113128636A (en) 2020-12-10 2020-12-10 Offline storage and taking method and device for intelligent cabinet

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202011433056.8A Division CN112215318B (en) 2020-12-10 2020-12-10 Offline storage and taking method and device for intelligent cabinet

Publications (1)

Publication Number Publication Date
CN113128636A true CN113128636A (en) 2021-07-16

Family

ID=74068148

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110414287.2A Pending CN113128636A (en) 2020-12-10 2020-12-10 Offline storage and taking method and device for intelligent cabinet
CN202011433056.8A Active CN112215318B (en) 2020-12-10 2020-12-10 Offline storage and taking method and device for intelligent cabinet

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202011433056.8A Active CN112215318B (en) 2020-12-10 2020-12-10 Offline storage and taking method and device for intelligent cabinet

Country Status (1)

Country Link
CN (2) CN113128636A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114783116A (en) * 2022-04-19 2022-07-22 拉扎斯网络科技(上海)有限公司 Offline cabinet opening method and device for intelligent cabinet

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113128636A (en) * 2020-12-10 2021-07-16 浙江口碑网络技术有限公司 Offline storage and taking method and device for intelligent cabinet
CN112466061B (en) * 2021-02-02 2021-05-18 浙江口碑网络技术有限公司 Storage method and device based on intelligent cabinet
CN112700602B (en) * 2021-03-23 2021-06-11 浙江口碑网络技术有限公司 Storage method and device of intelligent cabinet
CN113269488A (en) * 2021-05-18 2021-08-17 拉扎斯网络科技(上海)有限公司 Storage state information synchronization method and device of intelligent cabinet
CN113345171B (en) * 2021-08-06 2021-10-15 浙江口碑网络技术有限公司 Cabinet lattice application method and device of intelligent cabinet and computing equipment
CN113470263A (en) * 2021-09-03 2021-10-01 浙江口碑网络技术有限公司 Quick storage and taking method and device for intelligent cabinet
CN113470265B (en) * 2021-09-03 2022-06-21 浙江口碑网络技术有限公司 Intelligent cabinet and method and device for storing and taking articles in intelligent cabinet
CN113470264B (en) * 2021-09-03 2022-07-08 浙江口碑网络技术有限公司 Storage and pickup method and device of intelligent cabinet and object processing method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106846506A (en) * 2017-01-25 2017-06-13 腾讯科技(深圳)有限公司 A kind of method and system that Information Authentication is carried out based on message identification code
CN107393200A (en) * 2017-07-20 2017-11-24 深圳市高德威技术有限公司 The method that package delivering and pickup are realized under without network coverage environment
CN107424338A (en) * 2017-07-26 2017-12-01 深圳中集电商物流科技有限公司 A kind of control method of express delivery cabinet, apparatus and system
CN108960730A (en) * 2018-07-05 2018-12-07 北京智行者科技有限公司 Goods transportation and delivery method
CN109951439A (en) * 2019-01-21 2019-06-28 福州友宝电子科技有限公司 A kind of method and system controlling intelligent cabinet
CN110766831A (en) * 2019-09-29 2020-02-07 深圳深岚视觉科技有限公司 Dynamic two-dimensional code generation method and device and storage medium
CN112215318A (en) * 2020-12-10 2021-01-12 浙江口碑网络技术有限公司 Offline storage and taking method and device for intelligent cabinet

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897848A (en) * 2015-12-18 2017-06-27 深圳市丰巢科技有限公司 Express delivery information interlock method based on express delivery cabinet, apparatus and system
CN107766169B (en) * 2017-09-12 2021-05-28 深圳市丰巢科技有限公司 Pickup code generation method, storage device and electronic device
CN109448257A (en) * 2018-10-16 2019-03-08 浙江工业大学 A kind of packed meal automatic vending system based on sheave driving
CN109658608B (en) * 2018-10-16 2021-05-04 浙江工业大学 Warehouse style boxed meal vending system based on slope is got and is taken material and remind function
CN111080864A (en) * 2020-02-05 2020-04-28 深圳市丰巢科技有限公司 Express cabinet door lock opening method and device and express cabinet

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106846506A (en) * 2017-01-25 2017-06-13 腾讯科技(深圳)有限公司 A kind of method and system that Information Authentication is carried out based on message identification code
CN107393200A (en) * 2017-07-20 2017-11-24 深圳市高德威技术有限公司 The method that package delivering and pickup are realized under without network coverage environment
CN107424338A (en) * 2017-07-26 2017-12-01 深圳中集电商物流科技有限公司 A kind of control method of express delivery cabinet, apparatus and system
CN108960730A (en) * 2018-07-05 2018-12-07 北京智行者科技有限公司 Goods transportation and delivery method
CN109951439A (en) * 2019-01-21 2019-06-28 福州友宝电子科技有限公司 A kind of method and system controlling intelligent cabinet
CN110766831A (en) * 2019-09-29 2020-02-07 深圳深岚视觉科技有限公司 Dynamic two-dimensional code generation method and device and storage medium
CN112215318A (en) * 2020-12-10 2021-01-12 浙江口碑网络技术有限公司 Offline storage and taking method and device for intelligent cabinet

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114783116A (en) * 2022-04-19 2022-07-22 拉扎斯网络科技(上海)有限公司 Offline cabinet opening method and device for intelligent cabinet

Also Published As

Publication number Publication date
CN112215318B (en) 2021-03-02
CN112215318A (en) 2021-01-12

Similar Documents

Publication Publication Date Title
CN112215318B (en) Offline storage and taking method and device for intelligent cabinet
CN112735050B (en) Cabinet opening processing method, device and system based on intelligent cabinet
CN103886242B (en) Control system, information processor, terminal installation and control method
CN204143429U (en) A kind of tele-control system of electronic lock
CN110008676A (en) A kind of personnel's multidimensional challenge and true identity discrimination system and method
CN105227516A (en) The access method of Smart Home, control centre's equipment and dress terminal
CN105471924B (en) Electronics bluetooth wireless identity identifying system
CN113328861B (en) Authority verification method, device and system
CN109979047B (en) Multi-network intelligent door lock control method, storage medium, controller and fingerprint lock
CN107886602A (en) A kind of method for unlocking and system
CN102882851B (en) The generation method of address list and server
CN109035507A (en) A kind of intelligent key management system based on loss protecting
CN108717615B (en) Distribution method and device using storage cabinet and terminal
CN105915714A (en) Method and device for prompting terminal loss
CN113470263A (en) Quick storage and taking method and device for intelligent cabinet
CN104533185A (en) Collecting system based on code case
CN113470264B (en) Storage and pickup method and device of intelligent cabinet and object processing method
CN109754329A (en) Processing method, terminal, server and the storage medium of e-sourcing
CN110415419A (en) Electron key share system in access control system based on mobile terminal
CN110601850B (en) Scenic spot information recording method, related equipment and storage medium
CN104243597A (en) Business card dispensing and collecting system and business card dispensing and collecting method based on WLAN (wireless local area network) environment
CN115021894B (en) Data protection method, system and electronic equipment
CN116346339B (en) Data protection method, system and electronic equipment
CN102044099A (en) Universal identity representation and operation control system
CN110660172A (en) Lost and found system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination