CN115314843A - Intelligent cabinet configuration method, state information sending method and device - Google Patents

Intelligent cabinet configuration method, state information sending method and device Download PDF

Info

Publication number
CN115314843A
CN115314843A CN202210939421.5A CN202210939421A CN115314843A CN 115314843 A CN115314843 A CN 115314843A CN 202210939421 A CN202210939421 A CN 202210939421A CN 115314843 A CN115314843 A CN 115314843A
Authority
CN
China
Prior art keywords
intelligent cabinet
cabinet
intelligent
information
broadcast message
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
CN202210939421.5A
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
Original Assignee
Rajax 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 filed Critical Rajax Network Technology Co Ltd
Priority to CN202210939421.5A priority Critical patent/CN115314843A/en
Publication of CN115314843A publication Critical patent/CN115314843A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses an intelligent cabinet configuration method, a state information sending method and a state information sending device, wherein the intelligent cabinet configuration method comprises the following steps: sending a first request broadcast message for requesting configuration of the intelligent cabinet; if a first near field communication response broadcast message sent by the electronic equipment aiming at the first near field communication request broadcast message is obtained, establishing near field communication connection with the electronic equipment; and obtaining configuration information sent by the electronic equipment and aiming at the intelligent cabinet by utilizing the near field communication connection. According to the method, the configuration of the intelligent cabinet and the transmission of information are realized in a near field communication mode between the intelligent cabinet and the electronic equipment, direct interaction between a server side and the intelligent cabinet is not needed, and a network communication module is not needed to be installed on each intelligent cabinet, so that the risk of network offline of the intelligent cabinet is avoided; each intelligent cabinet and the electronic equipment directly realize information transmission by utilizing near field communication, so that no main cabinet or auxiliary cabinet exists between the intelligent cabinets, and the intelligent cabinets are more flexible and simpler to set.

Description

Intelligent cabinet configuration method, state information sending method and device
Technical Field
The present application relates to the field of smart cabinet applications, and in particular, to a smart cabinet configuration method, a state information sending method, an apparatus, an electronic device, and a computer-readable storage medium.
Background
In the application process of intelligent cabinets such as express cabinets, meal taking cabinets, automatic sales cabinets and the like, a network platform server, a client (a delivery resource terminal or a user terminal) and the intelligent cabinet need to participate together. At present, most of intelligent cabinets adopt bus communication, the intelligent cabinets deployed at the same intelligent cabinet site are divided into main cabinets and auxiliary cabinets, and high requirements on wiring and environment are met during deployment, so that the complexity of deploying the intelligent cabinets at the intelligent cabinet site is increased; in addition, the intelligent cabinet needs to perform network communication with the network platform server when the cabinet is opened, for example, the client sends an access request to the network platform server, the network platform server sends the operation information to the main cabinet of the intelligent cabinet site in a network transmission mode, and then the main cabinet disperses the operation information to each auxiliary cabinet, so that the risk of network offline of the intelligent cabinet is increased.
Disclosure of Invention
The embodiment of the application provides an intelligent cabinet configuration method, a state information sending device, electronic equipment and a computer readable storage medium, and aims to solve the problems that in the prior art, the intelligent cabinet deployment complexity is high and the intelligent cabinet network offline risk is high.
The embodiment of the application provides an intelligent cabinet configuration method, which comprises the following steps:
sending a first request broadcast message for requesting to configure the intelligent cabinet; if a first near field communication response broadcast message sent by the electronic equipment aiming at the first near field communication request broadcast message is obtained, establishing a near field communication connection with the electronic equipment; and obtaining configuration information sent by the electronic equipment and aiming at the intelligent cabinet by utilizing the near field communication connection.
Optionally, the sending a first request broadcast message for requesting to configure the smart cabinet includes: and sending a first request broadcast message for requesting the configuration of the intelligent cabinet in response to detecting that the intelligent cabinet does not store the configuration information, or sending a first request broadcast message for requesting the configuration of the intelligent cabinet in response to detecting that a configuration button of the intelligent cabinet is triggered.
Optionally, the first request broadcast message for near field communication includes an intelligent cabinet identifier for the server and the electronic device to identify the intelligent cabinet, and an operation code in the first request broadcast message for near field communication is a null value, an error value, or an initial value used to indicate a request configuration.
Optionally, the electronic device is an electronic device used by a maintenance person of the intelligent cabinet, an electronic device used by a pickup user, an electronic device used by a distribution resource, an electronic device used by a person accessing to a site where the intelligent cabinet is located, or one of other intelligent cabinets, whose geographic location matches a geographic location of the site where the intelligent cabinet is located and which is capable of receiving the first request broadcast message of the near field communication.
Optionally, the first near field communication response broadcast message includes an electronic device identifier for identifying the electronic device, a server identifier for identifying a server, and authentication information indicating that the electronic device is successfully authenticated by the server; if the first near field communication response broadcast message sent by the electronic equipment for the first near field communication request broadcast message is obtained, establishing a near field communication connection with the electronic equipment, including:
if the first short-distance communication response broadcast message is obtained, judging whether the server-side identification and the authentication information can be obtained from the first short-distance communication response broadcast message or not;
and if so, establishing the near field communication connection with the electronic equipment according to the electronic equipment identification of the electronic equipment obtained from the near field communication first response broadcast message.
Optionally, the near field communication first response broadcast message includes an electronic device identifier for identifying the electronic device, an online electronic device identity category identifier list, and an identity category identifier for representing identity category information of the electronic device, where the online electronic device identity category identifier list is used to represent correspondence between all identity category identifiers and all identity category information, and the all identity category information includes electronic device identity category information used by a maintenance staff of the intelligent cabinet, electronic device identity category information used by a pickup user, electronic device identity category information used by a delivery resource, electronic device identity category information used by staff accessing to a site where the intelligent cabinet is located, and intelligent cabinet identity category information; if the first short-range communication response broadcast message sent by the electronic equipment aiming at the first short-range communication request broadcast message is obtained, establishing a short-range communication connection with the electronic equipment, including:
if a near field communication first response broadcast message sent by the electronic equipment aiming at the near field communication first request broadcast message is obtained, obtaining the online electronic equipment identity category identification list and the identity category identification of the electronic equipment from the near field communication first response broadcast message;
acquiring identity type information of the electronic equipment according to the identity type identification list of the online electronic equipment and the identity type identification of the electronic equipment;
and judging whether to establish close range communication connection with the electronic equipment or not according to the identity type information of the electronic equipment, if so, establishing close range communication connection with the electronic equipment, wherein the identity type information of the electronic equipment is one of the identity type information of the electronic equipment used by intelligent cabinet maintainers, the identity type information of the electronic equipment used by pickup users, the identity type information of the electronic equipment used by distribution resources, the identity type information of the electronic equipment used by personnel accessing the site where the intelligent cabinet is located, and the identity type information of the intelligent cabinet.
Optionally, the determining, according to the identity category information of the electronic device, whether to establish a near field communication connection with the electronic device includes:
if the identity type information of the electronic equipment is the identity type information of the electronic equipment used by the intelligent cabinet maintainer or the identity type information of the intelligent cabinet, determining to establish close range communication connection with the electronic equipment;
if the identity type information of the electronic equipment is one of the identity type information of the electronic equipment used by the pickup user, the identity type information of the electronic equipment used by the distribution resource and the identity type information of the electronic equipment used by the personnel at the site where the intelligent cabinet is located, sending a second short-range communication request broadcast message for requesting to obtain the identity identification information of the electronic equipment, if a second short-range communication response broadcast message sent by the electronic equipment aiming at the second short-range communication request broadcast message is obtained, obtaining the identity identification information of the electronic equipment from the second short-range communication response broadcast message, and judging whether to establish short-range communication connection with the electronic equipment according to the identity identification information of the electronic equipment.
Optionally, the determining, according to the identification information of the electronic device, whether to establish the near field communication connection with the electronic device includes:
if the identity type information of the electronic equipment is the identity type information of the electronic equipment used by the pickup user, the identity identification information of the electronic equipment is order information corresponding to the pickup user, and the geographic position of a receiving address in the order information corresponding to the pickup user is matched with the geographic position of a site where the intelligent cabinet is located, determining to establish close range communication connection with the electronic equipment; or if the identity type information of the electronic equipment is the identity type information of the electronic equipment used by the distribution resources, the identity certification information of the electronic equipment is waybill information corresponding to the distribution resources, and the geographic position of a distribution address in the waybill information corresponding to the distribution resources is matched with the geographic position of a site where the intelligent cabinet is located, determining to establish close range communication connection with the electronic equipment; or if the identity type information of the electronic equipment is the identity type information of the electronic equipment used by the personnel at the site where the intelligent cabinet is located, the identity certification information of the electronic equipment is the moving path information of the electronic equipment in the preset time range before the current time point, and the moving path information of the electronic equipment in the preset time range before the current time point is matched with the geographical position of the site where the intelligent cabinet is located, determining that the short-distance communication connection is established with the electronic equipment.
Optionally, the determining whether to establish the near field communication connection with the electronic device according to the identity type information of the electronic device includes:
if the identity type information of the electronic equipment is the identity type information of the electronic equipment used by the pickup user, acquiring a first predicted residual time required by the pickup user to finish operations related to an intelligent cabinet aiming at order information corresponding to the pickup user, and if the first predicted residual time meets the configuration time required by configuration aiming at the intelligent cabinet, determining to establish close-range communication connection with the electronic equipment; or if the identity type information of the electronic equipment is the identity type information of the electronic equipment used by the distribution resources, acquiring a second predicted remaining time required by the distribution resources to finish operations related to the intelligent cabinet aiming at the waybill information corresponding to the distribution resources, and if the second predicted remaining time meets the configuration time required by configuration aiming at the intelligent cabinet, determining to establish close-range communication connection with the electronic equipment.
Optionally, if a first short-range communication response broadcast message sent by the electronic device for the first short-range communication request broadcast message is obtained, establishing a short-range communication connection with the electronic device includes:
if a first near field communication response broadcast message sent by a plurality of electronic devices aiming at the first near field communication request broadcast message is obtained, obtaining the estimated remaining residence time of each electronic device in the intelligent cabinet and the number of established near field communication connections of each electronic device; selecting the electronic equipment with the estimated remaining residence time meeting the configuration time required by the configuration of the intelligent cabinet and the minimum number of established near field communication connections from the plurality of electronic equipment as target electronic equipment; and establishing a near field communication connection with the target electronic equipment.
Optionally, the configuration information includes an encryption key generated by the server for encrypting and decrypting data exchanged between the intelligent cabinet and the server, and a signature key for representing identity information of the intelligent cabinet during data exchange between the intelligent cabinet and the server.
Optionally, the method further includes creating a site where the intelligent cabinet is located.
Optionally, the site where the intelligent cabinet is located is created according to the following manner: acquiring characteristic information of a site to be created; configuring a station identifier for the station to be created; and establishing an association relation between the site identification and the characteristic information of the site to be created.
Optionally, the method further includes: and sending the intelligent cabinet identification of the intelligent cabinet to a server through the electronic equipment, so that the server establishes an association relationship between the intelligent cabinet identification of the intelligent cabinet and the site identification of the site where the intelligent cabinet is located.
Optionally, the obtaining, by using the near field communication connection, configuration information sent by the electronic device for the smart cabinet includes: acquiring a configuration template issued by the server through the electronic equipment; and configuring the intelligent cabinet according to the configuration template.
Optionally, the configuration template and the type of the intelligent cabinet have a corresponding relationship.
Optionally, the configuration template includes the number of the intelligent cabinet and the number of each bay in the intelligent cabinet; the method further comprises the following steps: and configuring the corresponding relation between the serial number of the intelligent cabinet and the intelligent cabinet identifier of the intelligent cabinet, and configuring the corresponding relation between the serial number of each grid opening in the intelligent cabinet and the grid opening identifier of the corresponding grid opening in the intelligent cabinet.
Optionally, the site where the intelligent cabinet is located has an intelligent cabinet group, the intelligent cabinet group includes the intelligent cabinet and other intelligent cabinets except the intelligent cabinet, and the intelligent cabinet group is a storage and retrieval service carrier of the site where the intelligent cabinet is located.
Optionally, the intelligent cabinet identifier of each intelligent cabinet in the intelligent cabinet group and the site identifier of the site where the intelligent cabinet is located all have an association relationship.
Optionally, the numbers of each intelligent cabinet in the intelligent cabinet group are numbered in sequence in the site where the intelligent cabinet is located, and the numbers of each grid of each intelligent cabinet are numbered in sequence in the site where the intelligent cabinet is located.
Optionally, the encryption key of the other intelligent cabinets is the same as the encryption key of the intelligent cabinet, and the signature key of the other intelligent cabinets is the same as the signature key of the intelligent cabinet.
The embodiment of the application further provides an intelligent cabinet configuration method, which comprises the following steps:
in response to detecting a first request broadcast message for near field communication sent by an intelligent cabinet for requesting configuration of the intelligent cabinet, sending a first response broadcast message for the near field communication of the first request broadcast message; establishing close-range communication connection with the intelligent cabinet; and sending configuration information aiming at the intelligent cabinet to the intelligent cabinet by utilizing the close-range communication connection.
Optionally, the sending out a first near field communication response broadcast message for the first near field communication request broadcast message in response to detecting the first near field communication request broadcast message sent out by the smart cabinet for requesting configuration of the smart cabinet includes:
if one electronic device of electronic devices used by maintenance personnel of the intelligent cabinet, electronic devices used by pickup users, electronic devices used by distribution resources and electronic devices used by personnel at the site where the intelligent cabinet is located detects the first request broadcast message of near field communication, sending a first request message for requesting the configuration of the intelligent cabinet to a server;
and if a first response message which is returned by the server side for the first request message and is used for indicating that the electronic equipment is authorized to configure the intelligent cabinet is obtained, sending a near field communication first response broadcast message for the near field communication first request broadcast message.
Optionally, the first response message includes configuration information for the smart cabinet; the method further comprises the following steps: obtaining configuration information for the smart cabinet from the first response message.
Optionally, the sending out a first near field communication response broadcast message for the first near field communication request broadcast message in response to detecting the first near field communication request broadcast message sent out by the smart cabinet for requesting configuration of the smart cabinet includes:
if other intelligent cabinets located at the same site as the intelligent cabinet detect the near field communication first request broadcast message, the other intelligent cabinets send a near field communication third request broadcast message used for indicating that the other intelligent cabinets request to configure the intelligent cabinet, and if a near field communication third response broadcast message aiming at the near field communication third request broadcast message and used for indicating that a server side authorizes the other intelligent cabinets to configure the intelligent cabinet is obtained, a near field communication first response broadcast message aiming at the near field communication first request broadcast message is sent; or, the other intelligent cabinets send, to the electronic device through the near field communication connection established between the other intelligent cabinets and the electronic device, a near field communication first request unicast message used for indicating that the other intelligent cabinets request configuration of the intelligent cabinets, and if a near field communication first response unicast message returned by the electronic device through the near field communication connection established between the other intelligent cabinets and the electronic device and indicating that the server authorizes the other intelligent cabinets to configure the intelligent cabinets is obtained, send a near field communication first response broadcast message directed to the near field communication first request broadcast message.
Optionally, the close range communication third response broadcast message includes configuration information for the smart cabinet; the method further comprises the following steps: obtaining configuration information for the smart cabinet from the close-range communication third response broadcast message. Or, the close range communication first response unicast message comprises configuration information for the intelligent cabinet; the method further comprises the following steps: obtaining configuration information for the smart cabinet from the close range communication first response unicast message.
Optionally, the method is applied to an electronic device; the method further comprises the following steps: acquiring a server identifier provided by the server and used for identifying the server and authentication information used for representing that the other intelligent cabinets are successfully authenticated by the server; the near field communication first response broadcast message comprises an electronic equipment identifier used for identifying the electronic equipment sending the near field communication first response broadcast message, the server-side identifier and the authentication information.
Optionally, the method is applied to an electronic device; the method further comprises the following steps: the method comprises the steps that an online electronic equipment identity type identification list and identity type identifications used for representing identity type information of electronic equipment, which are provided by a server side, are obtained, wherein the online electronic equipment identity type identification list is used for representing the corresponding relation between all identity type identifications and all identity type information, and the all identity type information comprises electronic equipment identity type information used by intelligent cabinet maintainers, electronic equipment identity type information used by pickup users, electronic equipment identity type information used by distribution resources, electronic equipment identity type information used by personnel at a site where the intelligent cabinet is located, and intelligent cabinet identity type information; the near field communication first response broadcast message comprises an electronic equipment identifier for identifying the electronic equipment, an online electronic equipment identity category identifier list and an identity category identifier for representing identity category information of the electronic equipment.
Optionally, the method further includes: if the identity type information of the electronic equipment is one of the identity type information of the electronic equipment used by the pickup user, the identity type information of the electronic equipment used by the distribution resource and the identity type information of the electronic equipment used by personnel accessing the site where the intelligent cabinet is located, and a second request broadcast message for requesting to obtain the identity information of the electronic equipment, which is sent by the intelligent cabinet, is detected, sending a second request message for requesting to obtain the identity information of the electronic equipment to the server; obtaining a second response message which is returned by the server side aiming at the second request message and comprises the identification information of the electronic equipment; issuing a close range communication second response broadcast message including identification information of the electronic device for the close range communication second request broadcast message.
Optionally, the method further includes: if the electronic equipment used by the pickup user detects the first request broadcast message of the close range communication, the first response broadcast message of the close range communication comprises a first expected remaining time length required by the pickup user to complete the operation related to the intelligent cabinet aiming at the order information corresponding to the pickup user; alternatively, the method further comprises: if the electronic equipment used by the pickup user detects the first request broadcast message of the near field communication, sending a first notification broadcast message of the near field communication comprising the first expected remaining time; or if the electronic equipment used by the delivery resources detects the first request broadcast message of the close range communication, the first response broadcast message of the close range communication comprises a second expected residual time length required by the delivery resources to complete the operation related to the intelligent cabinet aiming at the waybill information corresponding to the delivery resources; alternatively, the method further comprises: and if the electronic equipment for distributing resource usage detects the near field communication first request broadcast message, sending out a near field communication second notification broadcast message comprising the second expected remaining time.
Optionally, the method is applied to an electronic device; the near field communication first response broadcast message comprises the estimated remaining residence time of the electronic equipment at the site of the intelligent cabinet and the established near field communication connection number of the electronic equipment; or sending out a near field communication third notification broadcast message comprising the estimated remaining residence time and the number of the near field communication connections established by the electronic equipment.
Optionally, the method further includes: sending a third request message for requesting to obtain the configuration information of the intelligent cabinet to the server side; obtaining a third response message which carries the configuration information and is returned by the server aiming at the third request message; obtaining the configuration information from the third response message.
Optionally, the method further includes: and creating a site where the intelligent cabinet is located.
Optionally, the creating a site where the intelligent cabinet is located includes: acquiring characteristic information of a site to be created; configuring a station identifier for the station to be created; and establishing an association relation between the site identification and the characteristic information of the site to be created.
Optionally, the method further includes: obtaining an intelligent cabinet identifier of an intelligent cabinet to be added; and establishing an association relationship between the intelligent cabinet identifier of the intelligent cabinet to be added and the site identifier of the site where the intelligent cabinet is located.
Optionally, the sending, by using the near field communication connection, configuration information for the smart cabinet to the smart cabinet includes: and obtaining a configuration template issued by the server, and sending the configuration template to the intelligent cabinet so as to configure the intelligent cabinet according to the configuration template.
Optionally, the configuration template has a corresponding relationship with a cabinet type of the intelligent cabinet, and the cabinet type is obtained by analyzing the intelligent cabinet identifier.
Optionally, the configuration template includes the number of the intelligent cabinet and the number of each bay in the intelligent cabinet; the method further comprises the following steps: and configuring the corresponding relation between the serial number of the intelligent cabinet and the intelligent cabinet identifier of the intelligent cabinet, and configuring the corresponding relation between the serial number of each cell in the intelligent cabinet and the cell identifier of the corresponding cell in the intelligent cabinet.
Optionally, the site where the intelligent cabinet is located has an intelligent cabinet group, the intelligent cabinet group includes the intelligent cabinet and other intelligent cabinets except the intelligent cabinet, and the intelligent cabinet group is a storage and retrieval service carrier of the site where the intelligent cabinet is located.
Optionally, the intelligent cabinet identifier of each intelligent cabinet in the intelligent cabinet group and the site identifier of the site where the intelligent cabinet is located all have an association relationship.
Optionally, the numbers of each intelligent cabinet in the intelligent cabinet group are numbered in sequence in the site where the intelligent cabinet is located, and the numbers of each grid of each intelligent cabinet are numbered in sequence in the site where the intelligent cabinet is located.
Optionally, the encryption key of the other intelligent cabinets is the same as the encryption key of the intelligent cabinet, and the signature key of the other intelligent cabinets is the same as the signature key of the intelligent cabinet.
The embodiment of the application also provides another intelligent cabinet configuration method, which comprises the following steps: obtaining configuration information for the intelligent cabinet; and sending the configuration information of the intelligent cabinet to electronic equipment, wherein the electronic equipment is used for carrying out information interaction with the intelligent cabinet through near field communication information.
Optionally, the method further includes: before the step of obtaining configuration information for the intelligent cabinet, a site where the intelligent cabinet is located is created.
Optionally, the site where the intelligent cabinet is located is created according to the following manner: acquiring characteristic information of a site to be created; configuring a station identifier for the station to be created; and establishing an incidence relation between the site identification and the characteristic information of the site to be created.
Optionally, the method further includes: acquiring an intelligent cabinet identifier of the intelligent cabinet sent by the electronic equipment; and establishing an association relation between the intelligent cabinet identifier of the intelligent cabinet and the site identifier.
The embodiment of the present application further provides a method for sending status information, where the method includes: generating a fourth short-distance communication notification broadcast message, wherein the fourth short-distance communication notification broadcast message comprises an intelligent cabinet identifier and at least one of first state information of an intelligent cabinet and second state information of a grid in the intelligent cabinet; and sending out the fourth notification broadcast message of the short-distance communication.
Optionally, the method further includes: if a near field communication fifth notification broadcast message sent by other intelligent cabinets located at the same site as the intelligent cabinet is detected, obtaining other intelligent cabinet identifiers of the other intelligent cabinets and at least one of first state information of the other intelligent cabinets and second state information of gates in the other intelligent cabinets from the near field communication fifth notification broadcast message, wherein the near field communication fifth notification broadcast message comprises the other intelligent cabinet identifiers of the other intelligent cabinets and at least one of the first state information of the other intelligent cabinets and the second state information of the gates in the other intelligent cabinets; the near field communication fourth notification broadcast message further includes other intelligent cabinet identifiers of other intelligent cabinets and at least one of the first state information of the other intelligent cabinets and the second state information of the grids in the other intelligent cabinets.
Optionally, the method further includes: obtaining operation state information of a pickup user or a distribution resource for operating the intelligent cabinet; the fourth notification broadcast message of the near field communication also comprises operation state information of the intelligent cabinet operated by the pickup user or the distribution resource.
The embodiment of the present application further provides a method for sending status information, where the method includes: acquiring a fourth short-distance communication notification broadcast message, wherein the fourth short-distance communication notification broadcast message comprises an intelligent cabinet identifier and at least one of first state information of an intelligent cabinet and second state information of a grid in the intelligent cabinet; and sending a state notification message to a server, wherein the state notification message comprises the intelligent cabinet identifier and at least one of the first state information and the second state information.
Optionally, the near field communication fourth notification broadcast message further includes other intelligent cabinet identifiers of other intelligent cabinets located at the same site as the intelligent cabinet, and at least one of the first state information of the other intelligent cabinets and the second state information of the slots in the other intelligent cabinets; the state notification message further includes other intelligent cabinet identifiers of the other intelligent cabinets and at least one of the first state information of the other intelligent cabinets and the second state information of the slots in the other intelligent cabinets.
Optionally, the method further includes: if a near field communication fifth notification broadcast message sent by other intelligent cabinets located at the same site as the intelligent cabinet is detected, obtaining other intelligent cabinet identifiers of the other intelligent cabinets and at least one of first state information of the other intelligent cabinets and second state information of gates in the other intelligent cabinets from the near field communication fifth notification broadcast message, wherein the near field communication fifth notification broadcast message comprises the other intelligent cabinet identifiers of the other intelligent cabinets and at least one of the first state information of the other intelligent cabinets and the second state information of the gates in the other intelligent cabinets; the state notification message further includes other intelligent cabinet identifiers of the other intelligent cabinets and at least one of the first state information of the other intelligent cabinets and the second state information of the slots in the other intelligent cabinets.
Optionally, the fourth short-distance communication notification broadcast message further includes operation state information of the intelligent cabinet operated by the pickup user or the distribution resource, and the state notification message further includes operation state information of the intelligent cabinet operated by the pickup user or the distribution resource.
An embodiment of the present application further provides a method for processing state information, where the method includes: acquiring a state notification message sent by electronic equipment, wherein the state notification message comprises an intelligent cabinet identifier and at least one of first state information of an intelligent cabinet and second state information of a grid in the intelligent cabinet; and updating the state information of the intelligent cabinet and/or the state information of the grids in the intelligent cabinet according to at least one of the first state information and the second state information.
Optionally, the status notification message further includes other intelligent cabinet identifiers of other intelligent cabinets located at the same site as the intelligent cabinet, and at least one of the first status information of the other intelligent cabinets and the second status information of the slots in the other intelligent cabinets; the method further comprises the following steps: and updating the state information of other intelligent cabinets and/or the state information of the grids in other intelligent cabinets according to other intelligent cabinet identifiers of other intelligent cabinets and at least one of the first state information of other intelligent cabinets and the second state information of the grids in other intelligent cabinets.
Optionally, the status notification message further includes operation status information of the intelligent cabinet operated by the pickup user or the distribution resource; the method further comprises the following steps: according to at least one of the first state information and the second state information and the operation state information of the intelligent cabinet operated by the pickup user or the distribution resource, obtaining a judgment result of whether the intelligent cabinet or the grid of the intelligent cabinet has a fault; or, according to at least one of the first status information and the second status information and according to the operation status information of the intelligent cabinet operated by the pickup user or the delivery resource, judging whether the pickup user or the delivery resource is difficult in the process of operating the intelligent cabinet, if so, sending operation prompt information aiming at the intelligent cabinet to the electronic equipment used by the pickup user or the electronic equipment used by the delivery resource.
The embodiment of the present application further provides an intelligent cabinet configuration device, which is applied to an intelligent cabinet, and includes:
a first request broadcast message broadcasting unit configured to issue a first request broadcast message for requesting the configuration of the smart locker in the near field communication;
a near field communication connection unit configured to establish a near field communication connection with an electronic device if a near field communication first response broadcast message issued by the electronic device for the near field communication first request broadcast message is obtained;
a configuration information acquisition unit configured to acquire configuration information for the intelligent cabinet, which is issued by the electronic device, using the near field communication connection.
The embodiment of the present application further provides an intelligent cabinet configuration device, which is applied to electronic equipment, and includes:
a first response broadcast message broadcasting unit configured to issue a near field communication first response broadcast message for a near field communication first request broadcast message in response to detecting the near field communication first request broadcast message issued by a smart cabinet for requesting configuration of the smart cabinet;
the near field communication connection unit is configured to establish near field communication connection with the intelligent cabinet;
a configuration information broadcasting unit configured to send configuration information for the smart cabinet to the smart cabinet using the close-range communication connection.
The embodiment of the present application further provides an intelligent cabinet configuration device, which is applied to a server and includes:
a configuration information acquisition unit configured to acquire configuration information for the intelligent cabinet;
the configuration information sending unit is configured to send the configuration information of the intelligent cabinet to an electronic device, and the electronic device performs information interaction with the intelligent cabinet through near field communication messages.
The embodiment of the present application further provides a status information sending device, which is applied to an intelligent cabinet, and includes:
a fourth notification broadcast message generation unit configured to generate a near field communication fourth notification broadcast message including a smart cabinet identifier and at least one of first status information of a smart cabinet and second status information of a bay in the smart cabinet;
a fourth notification broadcast message transmission unit configured to transmit the near field communication fourth notification broadcast message.
An embodiment of the present application further provides a status information sending apparatus, which is applied to an electronic device, and includes:
a fourth notification broadcast message receiving unit, configured to obtain a fourth notification broadcast message of near field communication, where the second notification broadcast message of near field communication includes an intelligent cabinet identifier and at least one of first state information of an intelligent cabinet and second state information of a bay in the intelligent cabinet;
and the state notification message sending unit is used for sending a state notification message to a server, wherein the state notification message comprises the intelligent cabinet identifier and at least one of the first state information and the second state information.
An embodiment of the present application further provides a state information processing apparatus, applied to a server, including:
the state notification message receiving unit is used for obtaining a state notification message sent by the electronic device, wherein the state notification message comprises an intelligent cabinet identifier and at least one of first state information of the intelligent cabinet and second state information of a grid in the intelligent cabinet;
and the state information updating unit is used for updating the state information of the intelligent cabinet and/or the state information of the grids in the intelligent cabinet according to at least one of the first state information and the second state information.
The embodiment of the application also provides an electronic device, which comprises a processor and a memory; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the above-described method.
Embodiments of the present application also provide a computer-readable storage medium having one or more computer instructions stored thereon, where the computer instructions are executed by a processor to implement the above-mentioned method.
Compared with the prior art, the embodiment of the application has the following advantages:
according to the intelligent cabinet configuration method provided by the embodiment of the application, a first request broadcast message for requesting to configure the intelligent cabinet is sent; if a first near field communication response broadcast message sent by the electronic equipment aiming at the first near field communication request broadcast message is obtained, establishing near field communication connection with the electronic equipment; and obtaining configuration information sent by the electronic equipment and aiming at the intelligent cabinet by utilizing the near field communication connection. In the method, in the configuration process of the intelligent cabinet, the electronic equipment and the intelligent cabinet establish communication connection through a near field communication technology and realize information transmission, and direct interaction between a server side and the intelligent cabinet is not needed, so that the intelligent cabinet does not need to be provided with a network communication module, such as a mobile network communication module, and the risk of network offline of the intelligent cabinet can be avoided.
The embodiment of the application further provides a state information sending method, which is used for generating a near field communication fourth notification broadcast message, wherein the near field communication fourth notification broadcast message comprises an intelligent cabinet identifier and at least one of first state information of an intelligent cabinet and second state information of a grid in the intelligent cabinet; and sending out the fourth notification broadcast message of the short-distance communication. In the method, each intelligent cabinet can directly realize information transmission with the electronic equipment by utilizing near field communication, so that no difference between a main cabinet and an auxiliary cabinet exists between the intelligent cabinets, and the intelligent cabinets are more flexible and simpler to set.
Drawings
Fig. 1 is a schematic view of an application scenario of an intelligent cabinet configuration according to an embodiment of the present application;
fig. 2 is a schematic diagram of a model of an intelligent cabinet group provided in an embodiment of the present application;
fig. 3 is a flowchart of a configuration method for an intelligent cabinet according to an embodiment of the present application;
fig. 4 is a flowchart of another intelligent cabinet configuration method provided in an embodiment of the present application;
fig. 5 is a flowchart of another intelligent cabinet configuration method provided in an embodiment of the present application;
fig. 6 is a flowchart of a method for sending status information according to an embodiment of the present application;
fig. 7 is a flowchart of another method for sending status information according to an embodiment of the present application;
fig. 8 is a flowchart of a status information processing method provided in an embodiment of the present application;
fig. 9 is a block diagram of units of an intelligent cabinet configuration apparatus according to an embodiment of the present application;
fig. 10 is a block diagram of units of another intelligent cabinet configuration device provided in the embodiment of the present application;
fig. 11 is a block diagram of units of another intelligent cabinet configuration device provided in the embodiment of the present application;
fig. 12 is a block diagram of a unit of a status information sending apparatus according to an embodiment of the present application;
fig. 13 is a block diagram of elements of another status information sending apparatus according to an embodiment of the present application;
fig. 14 is a block diagram of a unit of a state information processing apparatus according to an embodiment of the present application;
fig. 15 is a schematic logical structure diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
First, some technical terms related to the present application are explained:
the intelligent cabinet is used as an article storage transfer station and is an information management cabinet which can provide services such as article storage, return, search and inventory for users. Because the intelligent cabinet has the advantages of simple operation, high security, capability of inquiring access records at any time so as to avoid disputes, high safety and the like, the application of the intelligent cabinet is popularized to scenes closely related to the life of people in more and more fields at present. For example, express logistics last mile, take-away delivery end, automatic cabinet fetching in a restaurant, etc.
The near field communication technology is a communication mode for conveniently and quickly completing information exchange among electronic products by using the characteristic that electromagnetic wave signals are transmitted in a free space, and has the advantages of low cost, no physical line and strong environment adaptability; the method has the characteristics of simple fault diagnosis, strong expansibility, good flexibility and the like. Currently, bluetooth (Bluetooth), wireless local area network (WiFi) and infrared data transmission (IrDA) are widely used as short-range wireless communication technologies. There are also some short-range wireless communication technologies with potential development, such as ZigBee, ultra WideBand (Ultra WideBand), near Field Communication (NFC), wiMedia, GPS, DETC, and private wireless systems.
The Bluetooth Low Energy is also called Bluetooth Low Energy (or Bluetooth LE, BLE), is the evolution of the Bluetooth classic standard, is dedicated to providing reliable and efficient link connection for devices, and can be used for short-distance wireless communication. The ultra-low power consumption communication device has the characteristics of ultra-low power consumption, capability of remarkably reducing power consumption and cost while keeping the same communication range, ultra-long cruising ability and strong compatibility. Which may be located in a mobile terminal or in a fixed location (e.g., fixed in a smart cabinet) and may be continuously broadcast to surrounding areas to create signal zones.
Bluetooth low energy detection (BLE detection) is a way for bluetooth low energy devices to communicate information outwards, and bluetooth devices indicate their presence by broadcasting. The connection between the two Bluetooth devices is pre-established, firstly, the slave Bluetooth device broadcasts outwards to indicate the existence of the slave Bluetooth device; secondly, after the host Bluetooth device detects the broadcast information, a connection request is sent to the slave device, and the connection between the two Bluetooth devices is realized in the mode.
A Uniform Resource Locator (URL), which is a compact representation of the location and access method of a Resource available from the internet, is the address of a standard Resource on the internet.
In order to facilitate understanding of the intelligent cabinet configuration method provided in the embodiment of the present application, before introducing the embodiment of the present application, an application scenario of the method is described in detail. The intelligent cabinet configuration method provided by the embodiment of the application can be mainly applied to the application field of intelligent cabinets or other related technical fields with intelligent cabinet requirements.
First, an application scenario of the smart cabinet according to the embodiment of the present application is described below.
Fig. 1 is a schematic view of an application scenario of an intelligent cabinet according to an embodiment of the present application.
As shown in fig. 1, the application scenario includes an intelligent cabinet 101, an electronic device 102, and a server 103; the intelligent cabinet 101 is connected with the electronic device 102 through near field communication, the electronic device 102 is connected with the server 103 through network communication, and the intelligent cabinet 101 and the server 103 cannot directly perform data interaction.
Taking fig. 1 as an example for detailed description, the intelligent cabinet 101 sends a first request broadcast message for requesting configuration through the near field communication module 101-1; the near field communication module 102-1 on the electronic device 102 is in a detection state, and sends out corresponding first response broadcast information after detecting the first request broadcast message; at this time, the near field communication module on the intelligent cabinet 101 is in a detection state at the same time, and when the first response broadcast information is detected, the intelligent cabinet 101 and the electronic device 102 can establish near field communication connection; through the near field communication connection, configuration information for the intelligent cabinet 101, which is sent by the electronic device 102, can be obtained.
In another application scenario of the intelligent cabinet in the embodiment of the present application, the intelligent cabinet 101 generates a fourth short-distance communication fourth notification broadcast message, where the fourth notification broadcast message includes an identifier of the intelligent cabinet 101 and at least one of first status information of the intelligent cabinet 101 and second status information of a cell in the intelligent cabinet 101, and the fourth notification broadcast message is sent through the short-distance communication module 101-1 of the intelligent cabinet 101; at this time, after the electronic device 102 in the detection state detects the message, the message is transmitted to the server 103 through network communication via a state notification message of the electronic device 102, and the server 103 updates the state information of the smart locker 101 or the state information of the bay of the smart locker 101 in the server storage information based on the state notification message.
It should be noted that fig. 1 is a schematic view of an application scenario of an intelligent cabinet provided in an embodiment of the present application, where the application scenario may change according to an actual requirement, and the application scenario of the intelligent cabinet is not specifically limited in this embodiment. In addition, the embodiments of the present application do not limit the devices included in fig. 1, do not limit the number of the intelligent cabinets 101, the electronic devices 102, and the servers 103, and do not limit the positional relationship among the devices in fig. 1. For example, in the application scenario shown in fig. 1, the data storage device may further include an external memory, or an internal memory integrated in the intelligent cabinet 101 or the electronic device 102 or the server 103, relative to the intelligent cabinet 101 or the electronic device 102 or the server 103. The intelligent cabinet 101 can be a food taking cabinet in the take-out industry, an electronic storage cabinet which is super-used for temporary storage by each large business, or an intelligent express cabinet for express storage and taking; the electronic device 102 may be a smart phone, a smart band, a tablet computer, a wearable device, a multimedia player, an electronic reader, or other devices with a short-range transmission communication function, and the devices are correspondingly installed with an Application (APP) with an intelligent access function; the server 103 may be a server or a cluster of servers, or may be a cloud computing service center. The intelligent cabinet 101 and the electronic device 102 can be connected through near field communication, such as bluetooth, WIFI, zigbee and the like; the electronic device 102 and the server 103 may be connected through wireless network communication, wired communication, optical fiber cable communication, and the like.
In the following embodiments of the application, bluetooth low energy is taken as an example to perform the connection between the smart cabinet 101 and the electronic device 102, the smart cabinet 101 is taken as an example for a takeaway dining cabinet, and the electronic device 102 is taken as an example for a smart phone to perform the detailed explanation of the embodiments. It can be understood that the number of the intelligent cabinets 101, the electronic devices 102 and the servers 103 in fig. 1 may be varied according to practical needs. Specific implementation processes of the application scenarios can be described in the following schemes of the embodiments.
After the application scenario of the embodiment of the present application is introduced, a simple introduction is performed on the style of the intelligent cabinet group provided in an embodiment of the present application.
Fig. 2 is a schematic diagram of a style of the intelligent cabinet group according to the first embodiment of the present application, which may be applied to the implementation environment shown in fig. 1.
The intelligent cabinet group provided by the first embodiment of the application comprises a plurality of intelligent cabinets, wherein the intelligent cabinet group is arranged at a site where the intelligent cabinet is located, and comprises the intelligent cabinet and other intelligent cabinets except the intelligent cabinet; the intelligent cabinet and the other intelligent cabinets are provided with close-range communication modules; the encryption keys of the other intelligent cabinets are the same as the encryption key of the intelligent cabinet, and the signature keys of the other intelligent cabinets are the same as the signature key of the intelligent cabinet; the intelligent cabinet group is an access service carrier of a station where the intelligent cabinet is located. The intelligent cabinet in the intelligent cabinet group is used for sending out a near field communication broadcast message used for a server side and an electronic device to request configuration of an intelligent cabinet identifier of the intelligent cabinet through a near field communication module of any intelligent cabinet in the intelligent cabinet group, and detecting the near field communication broadcast message sent to the intelligent cabinet through the near field communication module of any intelligent cabinet in the intelligent cabinet group.
The intelligent cabinet identity identification of the intelligent cabinet mainly indicates the identity identification of the intelligent cabinet in the intelligent cabinet group, the intelligent cabinet identity identification is an account number which is uniformly distributed to each intelligent cabinet by an intelligent cabinet application management platform at a server side, the intelligent cabinet identity identification can be used for distinguishing among a plurality of intelligent cabinets, and each intelligent cabinet corresponds to a unique identity identification. The identity identifier can be a string of characters, for example, and the intelligent cabinet identifier is configured in the near field communication module of the intelligent cabinet to be used for the communication of the configuration information.
As shown in fig. 2, the intelligent cabinet group according to the first embodiment of the present application takes a takeout cabinet group as an example, a group of takeout cabinet groups 100 (intelligent cabinet groups 100) is installed at an intelligent cabinet site in an office, and the takeout cabinet groups 100 serve as takeout access service carriers of the site; the take-out meal cabinet group 100 comprises an intelligent cabinet 101 and an intelligent cabinet 102, wherein the intelligent cabinet 101 and the intelligent cabinet 102 are respectively provided with a short-range communication module (a low-power-consumption Bluetooth module), the short-range communication module can be independently arranged and can also be used as a sub-module in the whole cabinet controller of the intelligent cabinet and used for receiving and sending data, and the short-range communication module can be used for broadcasting and detecting short-range communication broadcast messages and further realizing the operations of configuration, door opening, state reporting and the like of the intelligent cabinet; the smart cabinets 101 in the takeout cabinet group 100 are identical to the smart cabinets 102 in encryption key and signature key.
According to the illustration in fig. 2, the top of the cabinet body of each intelligent cabinet is provided with a whole cabinet controller, the whole cabinet controller is composed of a short-distance communication module and a cabinet body electric controller, and the antenna is led out of the cabinet body; in the takeaway meal cabinet group 100, the short-range communication module is specifically a bluetooth low energy module, which is used as a communication means between the intelligent cabinet 101 and the electronic device 102, and the bluetooth low energy module is always in a detection state and can receive and send broadcast messages according to actual conditions.
The takeaway meal cabinet group 100 (intelligent cabinet group 100) shown in fig. 2 includes two groups of cabinets, an intelligent cabinet 101 and an intelligent cabinet 102, there is no division between the two groups of cabinets, and the intelligent cabinet 101 and the intelligent cabinet 102 have respective intelligent cabinet identity identifiers. In the embodiment of the application, the number of the intelligent cabinets contained in the intelligent cabinet group is not limited, and 1 or more intelligent cabinets can be provided, and the intelligent cabinets can be independently and separately arranged according to the actual site situation.
As shown in fig. 2, the intelligent cabinet 101 further includes four groups of cabinets a, B, C, and D, each of the cabinets corresponds to a respective two-dimensional code, the two-dimensional code of the cabinet is disposed at a grid position below the top of the cabinet, and the two-dimensional code information includes key information such as a URL (uniform resource locator), a cabinet number, and a cabinet type. Inside the cabinet body controller, the cabinet body number is configured in the bluetooth low energy module in advance, and the physical number of cabinet body grid begins the serial number from number 1, and the mode of serial number is not limited to the mode that can read discernment such as digit, letter or characters. The cabinet body number and the actual number pasted on the cabinet body have a corresponding relation, and the cabinet body grid number and the indication number pasted on the grid have a corresponding relation. In the first embodiment, the intelligent cabinet group in fig. 2 is only one example, and other possible intelligent cabinet groups combined in this way are not excluded and can be used as feasible ways of the embodiment of the present application.
Aiming at the application scene of the intelligent cabinet and the style of the intelligent cabinet group, the intelligent cabinet is higher in deployment complexity and high in offline risk of the intelligent cabinet network in the existing intelligent cabinet site. The application also provides an intelligent cabinet configuration method, a state information sending method, a device corresponding to the method, electronic equipment and a computer readable storage medium. The following provides embodiments for detailed description of the above method, apparatus, electronic device computer readable storage medium and system.
The second embodiment of the present application provides a method for configuring an intelligent cabinet, and an application subject of the method may be an intelligent cabinet. Fig. 3 is a flowchart of a configuration method of an intelligent cabinet according to an embodiment of the present application, and the method according to the embodiment is described in detail below with reference to fig. 3. The following description refers to embodiments for the purpose of illustrating the principles of the methods, and is not intended to be limiting in actual use.
As shown in fig. 3, the intelligent cabinet configuration method provided in this embodiment includes the following steps:
s301, sending a first request broadcast message for requesting configuration of the intelligent cabinet in near field communication;
in the application process of intelligent cabinets such as express cabinets, meal taking cabinets, automatic sales cabinets and the like, the intelligent cabinet sends a first request broadcast message for requesting configuration, the first request broadcast message is used for broadcasting the information of requesting configuration of the intelligent cabinet to the outside, the first request broadcast message is sent through a near field communication module of the intelligent cabinet, and the near field communication module can detect near field communication data of the surrounding environment.
In the step, the intelligent cabinet creates a near-distance signal area through a near-distance communication module of the intelligent cabinet, and can send a first request broadcast message requesting configuration to surrounding areas of the intelligent cabinet according to a preset time interval; the electronic equipment in the signal area can detect a first request broadcast message sent by the intelligent cabinet at intervals because the electronic equipment also has a near field communication module; when a first request broadcast message which is sent by the intelligent cabinet and requests configuration is detected, the electronic equipment can respond in time.
Wherein the sending a first request broadcast message for requesting configuration of the smart locker comprises: and sending a first request broadcast message for requesting the configuration of the intelligent cabinet in response to detecting that the intelligent cabinet does not store the configuration information, or sending a first request broadcast message for requesting the configuration of the intelligent cabinet in response to detecting that a configuration button of the intelligent cabinet is triggered.
It should be understood that the triggering manner of the first request broadcast message may be:
in the first case: the whole cabinet controller of the intelligent cabinet which is not configured detects that the intelligent cabinet does not store configuration information, and sends broadcast information for requesting configuration through a near field communication module of the whole cabinet controller; for example, in a takeaway cabinet application scenario, a whole cabinet controller in a takeaway cabinet group detects that the intelligent cabinet 101 does not store configuration information, performs continuous intermittent broadcasting to a surrounding area through a low-power-consumption bluetooth module of the intelligent cabinet 101, and sends a first request broadcast message requesting configuration to the surrounding area at a predetermined time interval in a signal area of the short-distance communication;
in the second case: the intelligent cabinet is provided with a configuration button which can be used for operation, the intelligent cabinet sends out a first request broadcast message for requesting configuration by operating the button, and the intelligent cabinet enters a configurable mode by broadcasting the message. Taking the intelligent cabinet 101 in fig. 2 as an example, a takeaway deliverer at the side of the intelligent cabinet 101 sends a first request broadcast message to the unconfigured intelligent cabinet 101 by triggering a configuration button in the display of the intelligent cabinet 101.
The near field communication first request broadcast message comprises an intelligent cabinet identification used for identifying the intelligent cabinet by the server and the electronic equipment, and an operation code in the near field communication first request broadcast message is a null value, an error value or an initial value used for representing request configuration.
The intelligent cabinet identifier of the intelligent cabinet is used as the identity identifier of the intelligent cabinet and is used for indicating the identity of the intelligent cabinet (the identity identifiers of different intelligent cabinets are different); the identity can be recognized by the server and the electronic equipment; identification marks are exemplified, such as 8547-632-101-a.
The operation code in the first request broadcast message for near field communication is used for configuration operation of the intelligent cabinets, and each intelligent cabinet has a fixed configuration operation code corresponding to the configuration operation, for example, the fixed configuration operation code of the intelligent cabinet 101 is 5234, and the fixed configuration operation code 5234 can be recognized by the electronic device, so as to perform configuration operation of the electronic device and the intelligent cabinet; when the operation code sent by the intelligent cabinet is any one of the above-mentioned situations, such as null value, error value, such as 2541, or initial value, such as 0000, etc., the electronic device in the near field communication signal range can respond, and the response is used for responding to the correct fixed operation code of the intelligent cabinet.
S302, if a first near field communication response broadcast message sent by the electronic equipment aiming at the first near field communication request broadcast message is obtained, establishing near field communication connection with the electronic equipment;
after the near field communication module of the intelligent cabinet sends out the first request broadcast message for requesting to configure the intelligent cabinet, the near field communication module of the intelligent cabinet receives the first response broadcast message fed back by the electronic device, and thereby the connection of the near field communication between the intelligent cabinet and the electronic device is realized (as shown in fig. 1).
It should be understood that, since the smart cabinet is in the detection state, the smart cabinet short-range communication module may establish a short-range communication connection with the electronic device after detecting the first response broadcast message from the electronic device within the short-range communication signal area.
The electronic equipment is one of electronic equipment, which is matched with the geographical position of a site where the intelligent cabinet is located, is used by intelligent cabinet maintenance personnel capable of receiving the near field communication first request broadcast message, electronic equipment used by a pickup user, electronic equipment used by a distribution resource, electronic equipment used by personnel approaching the site where the intelligent cabinet is located, and other intelligent cabinets.
In this embodiment, the electronic devices each have a near field communication module; for convenience of understanding, further explanation is made, in the vicinity of the geographic location where the smart cabinet site is located, the electronic device in the near field communication signal area can receive the first request broadcast message, and the electronic device may be a mobile phone of a takeaway cabinet maintenance person, another smart cabinet (vending machine) in a hall of the same site, an intelligent terminal (mobile phone) of a takeaway distribution person, an intelligent watch of a passerby passing through the smart cabinet near field communication area, a tablet computer, and the like.
The near field communication first response broadcast message comprises an electronic equipment identifier for identifying the electronic equipment, a server identifier for identifying a server and authentication information for indicating that the electronic equipment is successfully authenticated by the server;
in this embodiment, the electronic device identifier may be used as a unique identity identifier of the device; for example, the IMEI International Mobile Subscriber Identity (IMSI) of the Mobile phone is a mark for distinguishing Mobile subscribers, and can be used for distinguishing valid information of the Mobile subscribers, and schematically, the IMEI of a certain takeaway distributor Mobile phone is 353801 00360174/1; the server side identification is used as the unique identity identification of the server; for example, the server's product serial number, SN, illustratively, some server SN is HGA5T47J; and the electronic equipment has been verified by the authentication of the server, and the electronic equipment can be proved to have the reliability through the authentication information of the server.
If the first short-range communication response broadcast message sent by the electronic equipment aiming at the first short-range communication request broadcast message is obtained, establishing a short-range communication connection with the electronic equipment, including:
if the first short-distance communication response broadcast message is obtained, judging whether the server-side identification and the authentication information can be obtained from the first short-distance communication response broadcast message;
it is to be understood that the intelligent cabinet realizes the preliminary judgment of whether the near field communication connection can be performed by judging whether the first response broadcast message contains the server identification and the authentication information; the authentication information of the electronic device at the server mainly contains the authentication code of the electronic device, and the electronic devices authenticated by the server all issue the authentication code uniformly, for example, the authentication code is 2#9 x 53086&.
And if so, establishing the near field communication connection with the electronic equipment according to the electronic equipment identification of the electronic equipment obtained from the near field communication first response broadcast message.
Under the condition that the first response broadcast message obtained by the intelligent cabinet contains the identification information of the electronic equipment, the intelligent cabinet establishes near field communication connection with the electronic equipment; taking the takeaway meal cabinet as an example, after the bluetooth low energy module of the smart cabinet 101 receives a first response broadcast message sent by the bluetooth low energy module of the mobile phone of the takeaway distributor, whether the first response broadcast message can obtain the international mobile subscriber identity and the service end identity of the IMSI of the mobile phone is judged, when the first response broadcast message can be obtained, the authentication code is 2#, 9 × 53086 and the server SN number is HGA5T47J, the IMEI is 353801 00360174/1 according to the unique identity and the international mobile subscriber identity of the mobile phone of the takeaway distributor, and the bluetooth connection is established with the bluetooth mobile phone module of the takeaway distributor.
The near field communication first response broadcast message comprises an electronic equipment identifier for identifying the electronic equipment, an online electronic equipment identity category identifier list and an identity category identifier for representing identity category information of the electronic equipment;
the electronic device identifier is used as the identity identifier of the device, as described above; for convenience of understanding, for example, the electronic device identifier of the mobile phone is IMEI 353801 00360174/1, the identification table of the online electronic device identity type label is shown in table 1 below, and the identity type identifier of the mobile phone used for bluetooth connection is 001, that is, the user of the mobile phone is a maintenance person of the smart cabinet.
The online electronic equipment identity type identification list is used for representing corresponding relations between all identity type identifications and all identity type information, wherein the all identity type information comprises electronic equipment identity type information used by intelligent cabinet maintenance personnel, electronic equipment identity type information used by a pickup user, electronic equipment identity type information used by distribution resources, electronic equipment identity type information used by personnel accessing a site where the intelligent cabinet is located, and intelligent cabinet identity type information;
the online electronic equipment identity type identification list is used for listing identity type information of all electronic equipment and corresponding relation between the identity type information and identity type identification; the form of the identification list of the identity category of the online electronic device is shown in table 1:
TABLE 1
Identity category information Identity type identification
Intelligent cabinet maintenance personnel 001
Pickup user 003
Delivering resources 005
Personnel who approaches station where intelligent cabinet is located 007
Intelligent cabinet 009
Through the list of the identity type identifiers of the online electronic equipment, the identity type of an electronic equipment user establishing close range communication connection with the intelligent cabinet and the type represented by each type of identity type identifier can be known.
If the first near field communication response broadcast message sent by the electronic equipment for the first near field communication request broadcast message is obtained, establishing a near field communication connection with the electronic equipment, including:
if a near field communication first response broadcast message sent by the electronic equipment aiming at the near field communication first request broadcast message is obtained, obtaining the online electronic equipment identity category identification list and the identity category identification of the electronic equipment from the near field communication first response broadcast message; for example, the list shown in table 1 is obtained, and the identity class identification of the electronic device is 001.
Acquiring identity type information of the electronic equipment according to the identity type identification list of the online electronic equipment and the identity type identification of the electronic equipment; for example, in this step, it can be known that 001 represents the maintenance person of the smart cabinet according to the correspondence between the identity type identifier and the identity type information in table 1, where the identity type identifier of the mobile phone electronic device is 001.
And judging whether short-distance communication connection is established with the electronic equipment or not according to the identity type information of the electronic equipment, if so, establishing short-distance communication connection with the electronic equipment, wherein the identity type information of the electronic equipment is one of the identity type information of the electronic equipment used by maintenance personnel of the intelligent cabinet, the identity type information of the electronic equipment used by a pickup user, the identity type information of the electronic equipment used by a distribution resource, the identity type information of the electronic equipment used by personnel accessing a site where the intelligent cabinet is located and the identity type information of the intelligent cabinet. It should be understood that, the above steps are used for the intelligent cabinet to determine whether to establish communication connection with the electronic device according to the identity type of the electronic device; for example, the intelligent cabinet maintainer can be a maintainer, a cleaner, a inspector, and the like; the distribution resources can be takeaway distributors, intelligent distribution robots, leg surrogates, city couriers and the like; the intelligent cabinet identity can be other intelligent cabinets near the same site as the intelligent cabinet, such as a vending machine, an intelligent printer, a blind box lottery machine and the like.
The judging whether to establish the near field communication connection with the electronic equipment according to the identity type information of the electronic equipment comprises the following steps:
if the identity type information of the electronic equipment is the identity type information of the electronic equipment used by the intelligent cabinet maintainer or the identity type information of the intelligent cabinet, determining to establish close-range communication connection with the electronic equipment; the above-mentioned kind of the identity of the intelligent cabinet may be other intelligent cabinets in the site of the intelligent cabinet, for example, a vending machine, an intelligent cabinet 102 placed side by side with the intelligent cabinet 101, and the like; in this step, for example, after the smart shelf 101 acquires a plurality of first response broadcast messages, if the smart shelf 101 recognizes that the identity category information of the electronic device sending out the first response broadcast message is 009, it determines that the bluetooth connection is established with the smart shelf corresponding to 009.
If the identity type information of the electronic equipment is one of the identity type information of the electronic equipment used by the pickup user, the identity type information of the electronic equipment used by the distribution resource and the identity type information of the electronic equipment used by personnel accessing the site where the intelligent cabinet is located, sending a second request broadcast message for requesting to obtain the identity identification information of the electronic equipment; the second request broadcast message is used for acquiring certification information (identity certification information) of the identity category information of the electronic device according to the type of the identity category information. It should be understood that the source of the certification information of the identity category information of the electronic device is the server, the server may evaluate the electronic device according to the historical behavior record of the electronic device, the certification information of the identity category information is evaluation information corresponding to the electronic device, and the evaluation content may be various aspects such as the identity type and the security of the user.
In the above steps, for example, after the smart locker 101 acquires a plurality of first response broadcast messages, if the smart locker identifies that the identity type information of the electronic device from which the first response broadcast message is sent is a plurality of information such as 003, 005, 007, etc., the smart locker 101 needs to request the certification information for the identity type information of the electronic device; the identification information of the identity type information is used for verifying the identity type, the security and the like of the user of the electronic equipment.
And if the short-distance communication second response broadcast message sent by the electronic equipment aiming at the short-distance communication second request broadcast message is obtained, obtaining the identification information of the electronic equipment from the short-distance communication second response broadcast message, and judging whether to establish short-distance communication connection with the electronic equipment according to the identification information of the electronic equipment.
It should be understood that, due to the complexity of the environment of the intelligent cabinet, the electronic device identity type information used by the user, the electronic device identity type information used by the delivery resource, and the electronic device identity type information used by the personnel accessing the site where the intelligent cabinet is located in the environment are uncertain and random, and the electronic device may move in the geographic location with time, so after obtaining the certification information (identity certification information) of the identity type information of the electronic device, further judgment is needed.
The judging whether to establish the near field communication connection with the electronic equipment according to the identification information of the electronic equipment comprises the following steps:
if the identity type information of the electronic equipment is the identity type information of the electronic equipment used by the pickup user, the identity certification information of the electronic equipment is the order information corresponding to the pickup user, and the geographic position of the addressee in the order information corresponding to the pickup user is matched with the geographic position of the site where the intelligent cabinet is located, determining to establish close-range communication connection with the electronic equipment; the matching of the geographic positions can be understood that the geographic position of the pickup user is the same as the geographic position of the site where the intelligent cabinet is located, or the difference value between the geographic position of the pickup user and the geographic position of the site where the intelligent cabinet is located is within a preset range; for example, the geographic location of the takeaway meal user located by the mobile phone GPS is the same as the geographic location of the smart cabinet 101; and the difference value of the straight line distance between the order geographic position of the express delivery pickup user and the geographic position of the intelligent cabinet 101 is smaller than 1 kilometer.
Or if the identity type information of the electronic equipment is the identity type information of the electronic equipment used by the distribution resources, the identity certification information of the electronic equipment is waybill information corresponding to the distribution resources, and the geographic position of a distribution address in the waybill information corresponding to the distribution resources is matched with the geographic position of a site where the intelligent cabinet is located, determining to establish close-range communication connection with the electronic equipment; for the above situation, for the delivery resources, each delivery order has the waybill number corresponding to the waybill, and when the delivery resources are in the delivery state, the geographic location of the electronic device is in the mobile state, so that the waybill number in the waybill and the delivery address corresponding to the waybill are matched with the geographic location of the site where the intelligent cabinet is located; moreover, the geographic position of the delivery address in the waybill information is matched with the geographic position of the site where the intelligent cabinet is located, and the geographic position of the delivery address in the waybill information may be the same as the geographic position of the site where the intelligent cabinet is located, or the difference between the geographic position of the delivery address in the waybill information and the geographic position of the site where the intelligent cabinet is located is within a preset range.
Or if the identity type information of the electronic equipment is the identity type information of the electronic equipment used by people approaching the site where the intelligent cabinet is located, the identity identification information of the electronic equipment is the moving path information of the electronic equipment in a preset time range before the current time point, and the moving path information of the electronic equipment in the preset time range before the current time point is matched with the geographic position of the site where the intelligent cabinet is located, determining to establish close range communication connection with the electronic equipment; for the above situation, for example, the electronic device approaching the site of the intelligent cabinet may obtain a moving path of the device before 5min from the current time point, and when the obtained moving path information is the same as the geographic location of the site of the intelligent cabinet or the difference thereof is within a preset range (for example, the difference is less than 500 m), the electronic device may be in close-range communication connection with the intelligent cabinet. The judging whether to establish the near field communication connection with the electronic equipment according to the identity type information of the electronic equipment comprises the following steps:
if the identity type information of the electronic equipment is the identity type information of the electronic equipment used by the pickup user, acquiring a first predicted residual time required by the pickup user to finish operations related to an intelligent cabinet aiming at order information corresponding to the pickup user, and if the first predicted residual time meets the configuration time required by configuration aiming at the intelligent cabinet, determining to establish close range communication connection with the electronic equipment; in the step, the first predicted remaining time length is used for displaying the predicted remaining stay time length of the electronic equipment used by the pickup user in the near field communication area; when the first estimated remaining time can meet the configuration time of the intelligent cabinet, the short-distance communication connection can be established between the intelligent cabinet and the electronic equipment; and under the condition that the first estimated remaining time cannot meet the configured time of the intelligent cabinet, not establishing the close-range communication connection between the intelligent cabinet and the electronic equipment. For example, if the first expected remaining time for the mobile phone of the pickup user to complete the pickup operation from the smart cabinet 102 is 7min, and the configuration time required by the smart cabinet 101 is 5min, the mobile phone of the pickup user may establish the short-range communication connection with the smart cabinet 101.
Or if the identity type information of the electronic equipment is the identity type information of the electronic equipment used by the distribution resources, acquiring second estimated remaining time required by the distribution resources for finishing operations related to the intelligent cabinet aiming at the waybill information corresponding to the distribution resources, and if the second estimated remaining time meets the configuration time required by configuration aiming at the intelligent cabinet, determining to establish close range communication connection with the electronic equipment; for example, in this step, taking the mobile phone of the takeaway distributor as an example, when the distributor stores the takeaway meal items in other intelligent cabinets, the intelligent cabinet 101 may obtain a second estimated remaining time for the mobile phone to complete the operation of the intelligent cabinet 102 with respect to the waybill information, where the second estimated remaining time is, for example, 8min, and the configuration time required for completing the intelligent cabinet 101 is 10min, and it can be known through comparison that the second estimated remaining time must meet the configuration required time of the intelligent cabinet 101, and then the mobile phone of the takeaway distributor cannot establish a bluetooth connection with the intelligent cabinet 101.
If the first near field communication response broadcast message sent by the electronic equipment for the first near field communication request broadcast message is obtained, establishing a near field communication connection with the electronic equipment, including:
if a first near field communication response broadcast message sent by a plurality of electronic devices aiming at the first near field communication request broadcast message is obtained, obtaining the estimated remaining residence time of each electronic device in the intelligent cabinet and the number of established near field communication connections of each electronic device;
it should be understood that, due to the diversity of the electronic devices at the same intelligent cabinet site, the same intelligent cabinet can obtain the first response broadcast messages sent by different electronic devices after sending the first request broadcast message, and therefore, after the intelligent cabinet obtains a plurality of first response broadcast messages, it is necessary to screen a plurality of electronic devices sending the messages according to the obtained first response broadcast messages; the screening mode is that the judgment is carried out according to the estimated residence time of each electronic device at the site where the intelligent cabinet is located and the number of the short-distance communication connections established by each electronic device.
Selecting the electronic equipment with the estimated remaining residence time length meeting the configuration time length required by the configuration of the intelligent cabinet and the minimum number of established near field communication connections from the plurality of electronic equipment as target electronic equipment; for example, the estimated remaining time of the smart watch of the pickup user a near the smart cabinet 101 is 5min, and the number of connections for establishing close-range communication with the smart watch is 3; the takeaway distribution personnel B near the intelligent cabinet 101 use mobile phone electronic equipment, the estimated remaining time of residence is 8min, and the number of connections for establishing close-range communication with the mobile phone is 1; the estimated residence time of other intelligent cabinets 102 near the intelligent cabinet 101 is long, and the number of connections for establishing near field communication with the intelligent cabinet 102 is 8; then the mobile phone of the takeaway delivery person B is used as the target electronic device of the smart cabinet 101 through comparison.
And establishing a near field communication connection with the target electronic equipment.
And S303, acquiring configuration information aiming at the intelligent cabinet sent by the electronic equipment by utilizing the near field communication connection.
In this embodiment, the configuration information includes an encryption key generated by the server for encrypting and decrypting data exchanged between the smart cabinet and the server, and a signature key for representing identity information of the smart cabinet during data exchange between the smart cabinet and the server. And the other intelligent cabinets except the intelligent cabinet and the intelligent cabinet of the site where the intelligent cabinet group is located have the same encryption key as that of the intelligent cabinet, and the signature keys of the other intelligent cabinets are the same as that of the intelligent cabinet.
In the above step, after the smart cabinet establishes the near field communication connection with the electronic device, the smart cabinet serves as a receiver of the configuration information and receives the configuration information sent by the electronic device. For convenience of understanding, further explanation is made, according to the illustration in the application scenario of fig. 1, the server 103 and the electronic device 102 may be connected to each other through a network by a wireless network, a wired communication, an optical fiber cable, or other communication means; in the intelligent cabinet group, after the connection between the intelligent cabinet 101 and the electronic device 102 is established through near field communication, the server 103 generates an encryption key and a signature key of the intelligent cabinet for requesting configuration, and sends the encryption key and the signature key to the electronic device 102; the electronic equipment 102 records the received encryption key and signature key into the near field communication module thereof; the near field communication module of the electronic device 102 forwards the information to the near field communication module of the intelligent cabinet 101, thereby implementing the configuration of the intelligent cabinet.
Taking a takeout meal cabinet as an example, a close range communication connection is established between the intelligent cabinet 101 and a mobile phone Bluetooth module of a takeout distributor in a takeout meal cabinet group, and due to the network connection relationship between the mobile phone of the takeout distributor and a server, the server 103 sends the generated encryption key for encrypting and decrypting the data interacted between the intelligent cabinet 101 and the server and the generated signature key for representing the identity information of the intelligent cabinet 101 in the data interaction process between the intelligent cabinet 101 and the server to the mobile phone 102 of the takeout distributor, and then the intelligent cabinet 101 configures itself after acquiring the configuration information; in the intelligent cabinet group 100 at the site where the intelligent cabinet 101 is located, the encryption key and the signature key of the intelligent cabinet 101 are the same as those of other intelligent cabinets in the intelligent cabinet group 100.
The existing intelligent cabinet configuration mode is as follows: the short-distance communication module is arranged on the main cabinet only, the short-distance communication module transmits information to the main cabinet controller of the intelligent cabinet, and the main cabinet controller transmits the information to each auxiliary cabinet through the bus.
According to the intelligent cabinet configuration method provided by the embodiment of the application, the intelligent cabinet sends out a first request broadcast message for requesting to configure the intelligent cabinet in the short-distance communication mode; if a first near field communication response broadcast message sent by the electronic equipment aiming at the first near field communication request broadcast message is obtained, establishing near field communication connection with the electronic equipment; and obtaining configuration information sent by the electronic equipment and aiming at the intelligent cabinet by utilizing the near field communication connection. According to the method, the intelligent cabinet is configured through the near field communication module, so that near field communication connection with the electronic equipment is achieved, and transmission of configuration information from the electronic equipment to the intelligent cabinet is completed. In the method, the receiving and sending of configuration are realized in a short-distance communication mode between a short-distance communication module arranged on an intelligent cabinet and a short-distance communication module arranged on user terminal electronic equipment in a configuration process, so that no main cabinet and auxiliary cabinet are arranged between the intelligent cabinets, no wiring link and no interaction are needed between the intelligent cabinets of the same intelligent cabinet group, the setting of the intelligent cabinets is more flexible and simple, and the adaptability is stronger during deployment; in addition, network interaction is not needed between the server and the intelligent cabinet in the process, and the risk of network offline of the intelligent cabinet can be avoided.
Compared with the existing intelligent cabinet configuration mode, in the embodiment of the application, each intelligent cabinet is provided with the near field communication module, each intelligent cabinet is independently interacted with each electronic device in a near field communication broadcasting mode, the application is applicable to application scenes with large concurrency, and Bluetooth signal coverage can be realized when the intelligent cabinets are large in quantity and wide in range.
Moreover, this embodiment detects the broadcast message through intelligent cabinet near field communication module, and the data receiving and dispatching efficiency of broadcast is higher to, the broadcast does not have the restriction of connection quantity, satisfies the demand of the high concurrency volume of data receiving and dispatching, more accords with the application scene that intelligent cabinet was depositing and withdrawing article at rush hour.
Corresponding to the foregoing embodiments, a third embodiment of the present application additionally provides a method for configuring a smart cabinet, where an application body of the method may be an electronic device, for example, a device such as a smart phone or a tablet computer, which is installed with a near field communication module. Fig. 4 is a flowchart of a configuration method of an intelligent cabinet provided in an embodiment of the present application, and the method provided in this embodiment is described in detail below with reference to fig. 4. The following description refers to embodiments for the purpose of illustrating the principles of the methods, and is not intended to be limiting in actual use. For details, reference is made to the description of the second embodiment, and details are not repeated herein.
For ease of understanding, the present embodiment mainly uses an electronic device as an execution subject.
As shown in fig. 4, the intelligent cabinet configuration method provided in this embodiment includes the following steps:
s401, responding to a first request broadcast message of near field communication sent by an intelligent cabinet and used for requesting to configure the intelligent cabinet, and sending a first response broadcast message of the near field communication aiming at the first request broadcast message of the near field communication;
in this embodiment, the first response broadcast message is a broadcast message sent by the electronic device; taking an electronic device mobile phone used by a user as an example, after the bluetooth low energy module of the smart cabinet 101 sends a first request broadcast message requesting configuration, the bluetooth low energy module of the mobile phone end of the user detects the message, and the bluetooth mobile phone module sends a first response broadcast message which can be used for bluetooth connection.
The sending out a near field communication first response broadcast message aiming at the near field communication first request broadcast message in response to detecting the near field communication first request broadcast message sent out by the intelligent cabinet for requesting to configure the intelligent cabinet comprises:
if one electronic device of electronic devices used by maintenance personnel of the intelligent cabinet, electronic devices used by pickup users, electronic devices used by distribution resources and electronic devices used by personnel at a site where the intelligent cabinet is located detects the first request broadcast message of the near field communication, a first request message for requesting the configuration of the intelligent cabinet is sent to a server; in this step, for example, applicable objects of the electronic device may be a maintenance person taking a takeout meal cabinet, a cleaning person of the intelligent cabinet, a supervision and management person of the intelligent cabinet, a takeout distributor, a meal taking person, an approach person passing through the takeout meal cabinet, and the like; the first request message is mainly used for the electronic device to request the server to obtain configuration information, and the configuration information mainly includes, as described above, an encryption key generated by the server and used for encrypting and decrypting data exchanged between the intelligent cabinet and the server, and a signature key used for representing identity information of the intelligent cabinet in a process of exchanging data between the intelligent cabinet and the server.
And if a first response message which is returned by the server side for the first request message and is used for indicating that the electronic equipment is authorized to configure the intelligent cabinet is obtained, sending a near field communication first response broadcast message for the near field communication first request broadcast message. The first response message includes configuration information for the smart cabinet; further comprising: obtaining configuration information for the smart cabinet from the first response message.
In this embodiment, the server and the electronic device are connected through network communication, for example, mobile communication connection; after the electronic equipment acquires a first response message which is sent by the server and authorizes the use of the configuration information of the intelligent cabinet, the information is sent to the intelligent cabinet in a first response broadcast message, and the information can be stored in a storage module corresponding to the electronic equipment. It should be understood that, because the electronic device requests the server to obtain the configuration information of the intelligent cabinet, the configuration information has the privacy information of the intelligent cabinet, and therefore, the server authorizes the electronic device, which indicates that the electronic device can use the configuration information.
The sending out a near field communication first response broadcast message aiming at the near field communication first request broadcast message in response to detecting the near field communication first request broadcast message sent out by the intelligent cabinet for requesting to configure the intelligent cabinet comprises:
if other intelligent cabinets located at the same site as the intelligent cabinet detect the near field communication first request broadcast message, the other intelligent cabinets send a near field communication third request broadcast message used for indicating that the other intelligent cabinets request to configure the intelligent cabinet, and if a near field communication third response broadcast message aiming at the near field communication third request broadcast message and used for indicating that a server side authorizes the other intelligent cabinets to configure the intelligent cabinet is obtained, a near field communication first response broadcast message aiming at the near field communication first request broadcast message is sent;
for convenience of understanding, the above situation is exemplified, where a plurality of other intelligent cabinets exist at the same site of the intelligent cabinet 101, and the intelligent cabinet 101 is located in a hidden corner of an office building lobby, and due to the particularity of the geographical location of the cabinet, there are fewer electronic devices available for responding to the first request broadcast message sent by the bluetooth low energy module of the intelligent cabinet 101; when the intelligent cabinet 101 sends a first request broadcast message requesting configuration to a surrounding area according to a preset time interval, no electronic equipment around can respond, and when the first request broadcast message requesting configuration sent by the intelligent cabinet 101 exceeds a certain frequency; at this time, the smart cabinet 102 located at the same site may detect a first request broadcast message for bluetooth communication sent by the smart cabinet 101, after detecting the request message, the smart cabinet 102 broadcasts a third request broadcast message to other smart cabinets in the surrounding area, for example, the smart cabinet 103, where the third request broadcast message is used for requesting configuration of the smart cabinet 101, the smart cabinet 102 and the smart cabinet 103 are in a close-range communication connection state, when detecting the third request broadcast message for close-range communication sent by the smart cabinet 102, the smart cabinet 103 sends a third response broadcast message for configuration of the smart cabinet 101 by the smart cabinet 102 authorized by a server, and the smart cabinet 102 receives the third response broadcast message through its own bluetooth low energy module and forwards the message to the smart cabinet 101 in the form of the first response broadcast message by the smart cabinet 102.
Or, the other intelligent cabinets send, to the electronic device through the near field communication connection established between the other intelligent cabinets and the electronic device, a near field communication first request unicast message used for indicating that the other intelligent cabinets request configuration of the intelligent cabinets, and if a near field communication first response unicast message returned by the electronic device through the near field communication connection established between the other intelligent cabinets and the electronic device and indicating that the server authorizes the other intelligent cabinets to configure the intelligent cabinets is obtained, send a near field communication first response broadcast message directed to the near field communication first request broadcast message.
The close-range communication third response broadcast message comprises configuration information for the smart cabinet; further comprising: obtaining configuration information for the smart cabinet from the close-range communication third response broadcast message. The close range communication first response unicast message comprises configuration information for the intelligent cabinet; further comprising: obtaining configuration information for the smart cabinet from the close range communication first response unicast message.
For example, there are a plurality of other intelligent cabinets at the same site of the intelligent cabinet 101, and the intelligent cabinet 101 is located in a hidden corner of an office building hall, and due to the particularity of the geographical location of the cabinet, there are fewer electronic devices that can be used to respond to the first request broadcast message sent by the low power consumption bluetooth module of the intelligent cabinet 101; when the intelligent cabinet 101 sends a first request broadcast message requesting configuration to the surrounding area according to a preset time interval, no electronic equipment can respond to the surrounding area; at this time, the intelligent cabinets 102 located at the same site detect a first request broadcast message for bluetooth communication sent by the intelligent cabinet 101, and after detecting the request message, the intelligent cabinet 102 broadcasts a first request unicast message to the electronic devices in the surrounding area, where the first request unicast message is used to indicate that the intelligent cabinet 102 requests to configure the intelligent cabinet 101; the intelligent cabinet 102 and an electronic device a are in a near field communication connection state, when the electronic device a detects a first request unicast message of near field communication sent by the intelligent cabinet 102, the electronic device a sends a first response unicast message of configuration of the intelligent cabinet 101 by the intelligent cabinet 102 authorized by a server, and the intelligent cabinet 102 receives the first response unicast message through a bluetooth low energy module of the intelligent cabinet 102 and forwards the message to the intelligent cabinet 101 in a first response broadcast message form by the intelligent cabinet 102.
In the present embodiment, the present invention is applied to electronic devices; further comprising: acquiring a server identifier provided by the server and used for identifying the server and authentication information used for representing that the other intelligent cabinets are successfully authenticated by the server; the near field communication first response broadcast message comprises an electronic equipment identifier for identifying the electronic equipment sending the near field communication first response broadcast message, the server-side identifier and the authentication information.
In the above step, the sender of the server identifier and the authentication information is the server, and the direct source of the electronic device acquiring the server identifier of the server and the authentication information successfully authenticated by the server of the other intelligent cabinets is the server, and the server identifier is used as the identity identifier of the server as described above; for example, the SN number of the product of the server, for example, the SN number of a certain server is HGA5T47J; the content contained in the first response broadcast message includes, for example, the equipment identification IMEI of the takeaway distributor handset 353801 00360174/1, the service end identification SN code HGA5T47J, and the authentication code of the service end for the handset 2#, 9 53086&.
In an embodiment, the method is applied to an electronic device; further comprising: the method comprises the steps that an online electronic equipment identity type identification list and identity type identifications used for representing identity type information of electronic equipment, which are provided by a server side, are obtained, wherein the online electronic equipment identity type identification list is used for representing the corresponding relation between all identity type identifications and all identity type information, and the all identity type information comprises electronic equipment identity type information used by intelligent cabinet maintainers, electronic equipment identity type information used by pickup users, electronic equipment identity type information used by distribution resources, electronic equipment identity type information used by personnel at a site where the intelligent cabinet is located, and intelligent cabinet identity type information;
it should be understood that the list of the identity type identifiers of the online electronic device and the identity type identifiers used for representing the identity type information of the electronic device are both from a server, and the server is connected with the electronic device through a network to transmit the information. Please refer to the detailed description of the second embodiment for the identity category identification list of the online electronic device and the identity category identification of the identity category information of the electronic device.
The near field communication first response broadcast message comprises an electronic equipment identifier for identifying the electronic equipment, an online electronic equipment identity category identifier list and an identity category identifier for representing identity category information of the electronic equipment.
If the identity type information of the electronic equipment is one of the identity type information of the electronic equipment used by the pickup user, the identity type information of the electronic equipment used by the distribution resource and the identity type information of the electronic equipment used by personnel accessing the site where the intelligent cabinet is located, and a second request broadcast message for requesting to obtain the identity information of the electronic equipment, which is sent by the intelligent cabinet, is detected, sending a second request message for requesting to obtain the identity information of the electronic equipment to the server; for the description of the electronic equipment identity type information used by the pickup user, the electronic equipment identity type information used by the distribution resource, and the electronic equipment identity type information used by the person who approaches the site where the intelligent cabinet is located, please refer to the description related to the previous embodiment, which is not described herein again.
Obtaining a second response message which is returned by the server side aiming at the second request message and comprises the identification information of the electronic equipment;
issuing a close range communication second response broadcast message including identification information of the electronic device for the close range communication second request broadcast message.
If the electronic equipment used by the pickup user detects the first request broadcast message of the close range communication, the first response broadcast message of the close range communication comprises a first expected remaining time length required by the pickup user to complete the operation related to the intelligent cabinet aiming at the order information corresponding to the pickup user;
or if the electronic equipment used by the pickup user detects the first request broadcast message of the near field communication, sending a first notification broadcast message of the near field communication comprising the first expected remaining time length; for example, the first expected remaining time for the mobile phone of the pickup user to complete the pickup action from the smart cabinet 102 is 7min.
Or if the electronic equipment used by the delivery resources detects the first request broadcast message of the close range communication, the first response broadcast message of the close range communication comprises a second expected residual time length required by the delivery resources to complete the operation related to the intelligent cabinet aiming at the waybill information corresponding to the delivery resources; for example, when the deliverer stores the take-away meal in another intelligent cabinet, the intelligent cabinet 101 may obtain a second estimated remaining time for the mobile phone to complete the operation of the intelligent cabinet 102 according to the waybill information, where the second estimated remaining time is 8min for example.
Or, if the electronic equipment for distributing resource usage detects the short-range communication first request broadcast message, sending out a short-range communication second notification broadcast message comprising the second expected remaining time.
The specific implementation process of the above steps can refer to the previous embodiment, and is not described herein again.
In the embodiment, the method is applied to electronic equipment; the near field communication first response broadcast message comprises the estimated remaining residence time of the electronic equipment at the site of the intelligent cabinet and the established near field communication connection number of the electronic equipment; for example, the smart watch of user a, which is taken near the smart cabinet 101, is expected to stay for 5min, and the number of connections for establishing close-range communication with the smart watch is 3.
Or sending out a short-range communication third notification broadcast message comprising the estimated remaining residence time and the number of short-range communication connections established by the electronic equipment.
S402, establishing close range communication connection with the intelligent cabinet;
after sending out a near field communication first response broadcast message aiming at the near field communication first request broadcast message, the electronic equipment and the intelligent cabinet establish connection through the near field communication module.
As mentioned above, the near field communication connection may be in the form of bluetooth, WIFI, zigbee, ultra WideBand (Ultra WideBand), short range communication (NFC), wiMedia, GPS, DETC, or a dedicated wireless system.
And S403, sending configuration information aiming at the intelligent cabinet to the intelligent cabinet by utilizing the close-range communication connection.
After performing the near field communication connection between the electronic device and the intelligent cabinet, the electronic device further needs to send configuration information for configuration to the intelligent cabinet. The configuration information comprises an encryption key generated by the server for encrypting and decrypting the data of the intelligent cabinet interacted with the server and a signature key for representing the identity information of the intelligent cabinet in the data interaction process of the intelligent cabinet and the server.
In this embodiment, the configuration information is obtained by:
sending a third request message for requesting to obtain configuration information of the intelligent cabinet to the server side; and sending a third request message for requesting to acquire the configuration of the intelligent cabinet to a server side through the electronic equipment, and sending the configuration information by the server side.
Obtaining a third response message which carries the configuration information and is returned by the server aiming at the third request message;
obtaining the configuration information from the third response message. The electronic device may store the information in its own storage module as a receiver of the third response message, or broadcast the information through its own near field communication module.
Corresponding to the above embodiments, a fourth embodiment of the present application additionally provides a method for configuring an intelligent cabinet, where an application subject of the method may be a server. Fig. 5 is a flowchart of a configuration method of an intelligent cabinet according to an embodiment of the present application, and the method according to the embodiment is described in detail below with reference to fig. 5. The following description refers to embodiments for the purpose of illustrating the principles of the methods, and is not intended to be limiting in actual use. For details, reference is made to the description of the second and third embodiments, and further description is omitted here.
For convenience of understanding, the embodiment mainly uses the server as an execution subject for description.
As shown in fig. 5, the intelligent cabinet configuration method provided in this embodiment includes the following steps:
s501, obtaining configuration information for the intelligent cabinet;
in this embodiment, the communication between the server and the electronic device is mainly performed in a network communication manner.
Before the step of obtaining configuration information for the intelligent cabinet, a site where the intelligent cabinet is located needs to be created.
It is to be understood that the intelligent cabinet is arranged at an intelligent cabinet site; therefore, before the intelligent cabinet is configured, the server needs to create an intelligent cabinet site; for example, a smart cabinet site is set up at a location in an office building.
Acquiring characteristic information of a site to be created; the characteristic information is used for indicating the characteristics of the station to be created, and the characteristic information at least comprises the following components: geographic position information of a site to be created; for example, technology park No. 8 street at level E office building 13. The characteristic information can also be distribution flow demand information, population density information, population structure information and the like of the site.
Configuring a station identifier for the station to be created; in order to facilitate the unified management of the intelligent cabinet management platform, the site identification of the site to be created needs to be configured at the server side; the station identification is used for identity distinguishing among different stations; for example, the site is identified as 1548.
And establishing an incidence relation between the site identification and the characteristic information of the site to be created. In the process of creating the site to be created, in order to facilitate unified management, a one-to-one correspondence relationship needs to be established between the site identifier and the site geographical location information. For example, the station identifier is 1548, and the corresponding characteristic information of the station to be created is level 13 of the scientific and technological park E.
In the process of configuring an intelligent cabinet at a server, acquiring an intelligent cabinet identifier of the intelligent cabinet sent by the electronic equipment; the intelligent cabinet identifier is as described above and is used for indicating the identity of the intelligent cabinet.
And establishing an association relation between the intelligent cabinet identifier of the intelligent cabinet and the site identifier. The purpose of the association relation is to facilitate unified management of the intelligent cabinets.
S502, sending the configuration information of the intelligent cabinet to electronic equipment, wherein the electronic equipment is used for carrying out information interaction with the intelligent cabinet through near field communication information.
It should be understood that, when the server sends the configuration information to the electronic device, the server and the electronic device are connected through network communication, and the electronic device needs to be an electronic device that establishes a near field communication connection with the intelligent cabinet.
Corresponding to the above-mentioned intelligent cabinet configuration method, a fifth embodiment of the present application provides a status information sending method, an application subject of the method may be an intelligent cabinet, fig. 6 is a flowchart of the status information sending method provided in the embodiment of the present application, and the method provided in the embodiment is described in detail below with reference to fig. 6. The following description refers to embodiments for the purpose of illustrating the principles of the methods, and is not intended to be limiting in actual use. The technical details of this embodiment correspond to the second embodiment, the third embodiment and the fourth embodiment, and for the related technical contents, reference is made to the second embodiment, the third embodiment and the fourth embodiment, which are not repeated herein.
As shown in fig. 6, the method for sending status information according to this embodiment includes the following steps:
s601, generating a near field communication fourth notification broadcast message, wherein the near field communication fourth notification broadcast message comprises an intelligent cabinet identifier and at least one of first state information of an intelligent cabinet and second state information of a grid in the intelligent cabinet;
the fourth notification broadcast message is used for broadcasting the current intelligent cabinet identification and the intelligent cabinet and/or the state information of the grid in the intelligent cabinet and is sent out through the near field communication module of the intelligent cabinet; the intelligent cabinet identifier is used for intelligently indicating the identity of the intelligent cabinet in the intelligent cabinet group (each cabinet body takes the intelligent cabinet identity identifier as a unique mark).
The first state information of the intelligent cabinet may be: the current state of the intelligent cabinet is in a configured state or an unconfigured state, an idle state or a working state, the intelligent cabinet is in a damaged state or a normal state, a cleaning state or an uncleaned state and the like; taking a take-out cabinet as an example, in the cabinet group, the cabinet 101 is in a working state (in use) in which the configuration is completed, and the cabinet 102 is in an idle state (not in use) in which the configuration is not completed.
The second state information of the lattice in the intelligent cabinet can be: the intelligent cabinet comprises a storage state (a state that a lattice opening is idle or used) of articles corresponding to the lattice opening, a state that a cabinet door of the lattice opening is opened or closed, a state that the lattice opening is damaged or normal and the like; taking a take-out meal cabinet as an example, in the meal cabinet group, a No. 8 lattice of a B cabinet of the meal cabinet 101 in use is in a use state when meal is currently placed, and a cabinet door of the No. 8 lattice is in a closed state; no. 1 grid of its A cabinet is not placed the meal and is in idle state at present to the cabinet door of No. 1 grid is in open mode.
The current state of the intelligent cabinet and the grid of the intelligent cabinet can be known through the fourth notification broadcast message sent by the intelligent cabinet.
If a near field communication fifth notification broadcast message sent by other intelligent cabinets located at the same site as the intelligent cabinet is detected, obtaining other intelligent cabinet identifiers of the other intelligent cabinets and at least one of first state information of the other intelligent cabinets and second state information of gates in the other intelligent cabinets from the near field communication fifth notification broadcast message, wherein the near field communication fifth notification broadcast message comprises the other intelligent cabinet identifiers of the other intelligent cabinets and at least one of the first state information of the other intelligent cabinets and the second state information of the gates in the other intelligent cabinets; to illustrate the above situation, the intelligent cabinet 101 detects a fifth notification broadcast message sent by the intelligent cabinet 102 at the same site, where the fifth notification broadcast message may be used to indicate at least one of the intelligent cabinet identifier 102-a of the intelligent cabinet 102, the first status information of the intelligent cabinet 102, and the status information of the a-cabinet 13 lattice on the intelligent cabinet 102. The near field communication fourth notification broadcast message further includes other intelligent cabinet identifiers of other intelligent cabinets and at least one of the first state information of the other intelligent cabinets and the second state information of the grids in the other intelligent cabinets.
In the embodiment of the application, the operation state information of the intelligent cabinet operated by a pickup user or a distribution resource is obtained; for example, the operation duration from opening the cabinet door to closing the cabinet door of the lattice of the takeout cabinet is performed by a takeout user or a takeout distributor; the fourth notification broadcast message of the near field communication also comprises operation state information of the intelligent cabinet operated by the pickup user or the distribution resource.
In this step, by acquiring the operation state information, the time spent by the pickup personnel of each order or the delivery personnel of each waybill for operating the intelligent cabinet for the order or the waybill can be obtained, so as to see the operation convenience; on the other hand, through the operation state information, the personnel range of people who are not operated properly by the intelligent cabinet can be obtained, for example, a meal fetching person who does not close the lattice of the takeout meal fetching cabinet frequently is obtained, and the meal fetching person who is not operated properly is reminded appropriately in the process of using the intelligent cabinet subsequently; through above-mentioned operating condition information, learn some delivery personnel's average length of operation time to the error rate is low for the check commodity is deposited, and then the form that intelligence cabinet can encourage carries out the information display of raising to this delivery personnel on its display screen, and the delivery platform can set up the reward mechanism to this delivery personnel according to this information.
S602, sending out the fourth notification broadcast message of the near field communication.
The fourth notification broadcast message is received by the electronic device in the detection state, which has established the proximity communication. And the fourth notification broadcast message is sent out by the near field communication module of the intelligent cabinet.
In this embodiment, the smart cabinets for near field communication are in a detection state, and each smart cabinet is in an independent detection state, and can generate a corresponding fourth notification broadcast message, so that the near field communication can also implement signal coverage when the number of smart cabinets is large and the range is wide.
In accordance with the sixth embodiment of the present application, a status information sending method is provided, which can be applied to an electronic device for sending status information, where the electronic device can be a resource distribution terminal (for example, a mobile phone used by a takeout rider) or a mobile terminal used by a user (for example, a mobile phone used by a takeout reservation user).
Fig. 7 is a flowchart of a method for sending status information according to an embodiment of the present application, and the method according to the embodiment is described in detail below with reference to fig. 7. The following description refers to embodiments for illustrating the principles of the methods and is not meant to be limiting in actual use. The technical details of this embodiment correspond to those of the fourth embodiment, and for the related technical contents, please refer to the fourth embodiment and not repeated herein.
As shown in fig. 7, the status information sending method provided in this embodiment includes the following steps:
s701, acquiring a fourth short-distance communication notification broadcast message, wherein the fourth short-distance communication notification broadcast message comprises an intelligent cabinet identifier and at least one of first state information of an intelligent cabinet and second state information of a grid in the intelligent cabinet;
in this embodiment, the near field communication module of the electronic device is in a detection state, and can detect broadcast data in a communication area of the electronic device; and when the electronic equipment detects a fourth notification broadcast message sent by the intelligent cabinet, the electronic equipment acquires the message.
The near field communication fourth notification broadcast message further comprises other intelligent cabinet identifiers of other intelligent cabinets located at the same site as the intelligent cabinet, and at least one of first state information of the other intelligent cabinets and second state information of grids in the other intelligent cabinets; the intelligent cabinet identifier is, as described above, an identifier for indicating the identity of the intelligent cabinet in the intelligent cabinet group; the first status information of the other intelligent cabinets may be: the current states of other intelligent cabinets are in a configured state or an unconfigured state, an idle state or a working state, a damaged state or a normal state, a cleaning and tidying state or an uncleaned and tidying state and the like; the second state information of the bays in the other intelligent cabinets may be: the other intelligent cabinets correspond to the storage state of the articles in the grid (the grid is in an idle or used state), the cabinet doors of the grid are in an open or closed state, and the grid is in a damaged state or a normal state.
The state notification message further includes other intelligent cabinet identifiers of the other intelligent cabinets and at least one of the first state information of the other intelligent cabinets and the second state information of the slots in the other intelligent cabinets. In this step, the electronic device is configured to send a status notification message of the other intelligent cabinets. The transmission method is not limited to network communication, and may be a short-range communication method.
If a near field communication fifth notification broadcast message sent by other intelligent cabinets located at the same site as the intelligent cabinet is detected, obtaining other intelligent cabinet identifiers of the other intelligent cabinets and at least one of first state information of the other intelligent cabinets and second state information of gates in the other intelligent cabinets from the near field communication fifth notification broadcast message, wherein the near field communication fifth notification broadcast message comprises the other intelligent cabinet identifiers of the other intelligent cabinets and at least one of the first state information of the other intelligent cabinets and the second state information of the gates in the other intelligent cabinets; the state notification message further includes other intelligent cabinet identifiers of the other intelligent cabinets and at least one of the first state information of the other intelligent cabinets and the second state information of the grids in the other intelligent cabinets.
The specific implementation process of the above steps can refer to the fourth embodiment, and details are not repeated here.
The fourth short-distance communication notification broadcast message further comprises operation state information of the pickup user or the distribution resource operating the intelligent cabinet, and the state notification message further comprises operation state information of the pickup user or the distribution resource operating the intelligent cabinet. For example, the operation time from opening the cabinet door to closing the cabinet door of the takeaway cabinet by the takeaway delivery staff is long.
S702, sending a state notification message to a server, wherein the state notification message comprises the intelligent cabinet identifier and at least one of the first state information and the second state information.
In this embodiment, the electronic device sends the status notification message to the server mainly through network communication.
It should be understood that, after the electronic device acquires the fourth notification broadcast message sent by the intelligent cabinet through the above steps, the electronic device sends the fourth notification broadcast message to the server in the form of a status notification message; the server is a server which can be used for storing relevant information of the intelligent cabinet.
Corresponding to the above embodiments, a seventh embodiment of the present application provides a method for processing state information, and an application subject of the method may be a server. Fig. 8 is a flowchart of a method for processing status information according to an embodiment of the present application, and the method according to the present embodiment is described in detail below with reference to fig. 8. The following description refers to embodiments for the purpose of illustrating the principles of the methods, and is not intended to be limiting in actual use.
As shown in fig. 8, the status information processing method provided in this embodiment includes the following steps:
s801, acquiring a state notification message sent by electronic equipment, wherein the state notification message comprises an intelligent cabinet identifier and at least one of first state information of an intelligent cabinet and second state information of a grid in the intelligent cabinet;
in this step, the intelligent cabinet identity is used to indicate the identity of the intelligent cabinet. The first state information of the intelligent cabinet may be: the current state of the intelligent cabinet is in a configured state or an unconfigured state, an idle state or a working state, the intelligent cabinet is in a damaged state or a normal state and the like; the second state information of the bay in the smart cabinet may be: the intelligent cabinet is in an article storage state (the compartment is in an idle or used state) corresponding to the compartment, a cabinet door of the compartment is in an open or closed state, the compartment is in a damaged state or a normal state, and the like.
In a first case, the status notification message further includes other intelligent cabinet identifiers of other intelligent cabinets located at the same site as the intelligent cabinet, and at least one of first status information of the other intelligent cabinets and second status information of the slots in the other intelligent cabinets;
for the above case, for example, the status notification message may further include: the identification of the intelligent cabinet 102 near the intelligent cabinet 101, the state of the intelligent cabinet 102 being damaged and to be repaired, and the state of the C cabinet No. 4 grid on the intelligent cabinet 102 being in the state of placing articles indicate that the electronic device can forward the information about the intelligent cabinet 102 detected by the intelligent cabinet 101 through the intelligent cabinet 101, and then the information is sent to the server by the electronic device.
Under the second condition, the state notification message further comprises operation state information of a pickup user or a distribution resource for operating the intelligent cabinet;
for the above situation, as an example, the average time taken by the takeout distributor a for each waybill to operate the takeout cabinet 101 is 8min, when the takeout distributor has a wrong placement of the waybill 101 grid (the waybill grid is not matched with the actual storage grid), the food placement grid of the intelligent cabinet 101 is in an alarm state, the operation state information can be used to reflect the operation state information of the takeout distributor a for operating the takeout cabinet 101, and the service end obtains the operation state information of the takeout distributor a about the intelligent cabinet 101 through an electronic device.
S802, updating the state information of the intelligent cabinet and/or the state information of the grids in the intelligent cabinet according to at least one of the first state information and the second state information.
It should be understood that the main body of the above steps is the server, and in this embodiment, the server is used as an interface of a server providing cloud services, and can complete data interaction with the electronic device.
When the state notification message further includes other intelligent cabinet identifiers of other intelligent cabinets located at the same site as the intelligent cabinet, and at least one of the first state information of the other intelligent cabinets and the second state information of the grids in the other intelligent cabinets;
updating the state information of the other intelligent cabinets and/or the state information of the grids in the other intelligent cabinets according to the other intelligent cabinet identifiers of the other intelligent cabinets and at least one of the first state information of the other intelligent cabinets and the second state information of the grids in the other intelligent cabinets.
Corresponding to the first situation of step S801, further by way of example, after the server obtains the status notification message, the server obtains the identity of the intelligent cabinet 102 identified according to the identity identifier, and obtains that the intelligent cabinet 102 is in a state of damage to be maintained, and the No. 4 shelf of the C cabinet on the intelligent cabinet 102 is in a state of placing articles, and the server searches the status information about the intelligent cabinet 102 stored in the server, and the status information about the No. 4 shelf of the C cabinet on the intelligent cabinet 102. If the information is not stored, storing; if the state information of the intelligent cabinet 102 stored in the previous time period and the state information of the No. 4 grid of the C cabinet on the intelligent cabinet 102 are found, the state information is directly updated according to the acquired state information.
When the state notification message further comprises operation state information of a pickup user or a distribution resource for operating the intelligent cabinet;
obtaining a judgment result of whether the intelligent cabinet or the grid of the intelligent cabinet has a fault according to at least one of the first state information and the second state information and the operation state information of the intelligent cabinet operated by the pickup user or the distribution resource;
corresponding to the second case of step S801, further for example, the intelligent cabinet 101 is in an alarm state, the server obtains the operation state information of the intelligent cabinet 101 in the alarm state, and learns that the reason causing the state is that the lattice of the takeout distributor a is placed incorrectly according to the information content, thereby determining that the intelligent cabinet 101 has not failed, and the intelligent cabinet 101 has a mismatching condition between the waybill lattice and the actual storage lattice.
Or, according to at least one of the first status information and the second status information and according to the operation status information of the pickup user or the delivery resource operating the intelligent cabinet, determining whether the pickup user or the delivery resource encounters difficulty in the process of operating the intelligent cabinet, and if so, sending operation prompt information aiming at the intelligent cabinet to the electronic equipment used by the pickup user or the electronic equipment used by the delivery resource.
Corresponding to the second situation of step S801, further exemplifying, when the takeout distributor a stores a meal of a certain waybill at the C cabinet 1 bay of the takeout meal cabinet 101, the operation state information that takes a time period of 20min occurs, after the server obtains the second state information about the C cabinet 1 bay of the intelligent cabinet 101, according to the operation state information of the takeout distributor a (the average time period spent by each waybill for operating the takeout meal cabinet 101 is 8 min), it is determined that a cabinet lock fault occurs at the C cabinet 1 bay of the takeout meal cabinet 101, and the takeout distributor a has a difficulty that the bay door cannot be closed in time, and then the server may issue operation prompt information for the situation in the above situation; for example, take out deliverer A may be prompted to transfer the meal to lot 2.
Corresponding to the above embodiments, the eighth embodiment of the present application provides a cabinet door opening method. The application subject of the method may be an electronic device. The method for opening the cabinet door provided by the embodiment comprises the following steps:
s901, acquiring a cabinet door opening indication message sent by a server and used for indicating an intelligent cabinet to open a cabinet door, wherein the cabinet door opening indication message comprises an intelligent cabinet identifier and a grid opening identifier;
in the embodiment of the application, the cabinet door is a cabinet door at a lattice opening of an intelligent cabinet; the intelligent cabinet identifier is, as described above, an identifier for indicating an identity of the intelligent cabinet (each cabinet body uses the intelligent cabinet identity identifier as a unique identifier), for example, the dining cabinet 101-a cabinet and the intelligent cabinet 102-C cabinet; the grid mark refers to a grid physical number of the cabinet body of the intelligent cabinet, and the number can be in any form and is not limited in a manner of reading and identifying numbers, letters or characters and the like; for example, bin B, no. 8, of the intelligent bin 101 shown in fig. 2; and the physical numbers of the grids and the actual numbers of the grids have a one-to-one correspondence relationship, the physical numbers of the grids are used for identifying the physical positions of the target grids, and the actual numbers of the grids are used for showing the target grids for users.
Before this step is performed, the following steps need to be performed: sending a fifth request broadcast message for opening the cabinet door; the electronic equipment sends a fifth request broadcast message for opening the cabinet door to a server through network connection;
the fifth request broadcast message for opening the cabinet door is used for storing or taking out articles; for example, in a takeaway meal delivery scene, in the process of storing meal items by a rider and opening a cabinet door, the takeaway rider delivers the takeaway meal items to the vicinity of a meal taking cabinet, and when the meal items are stored in the meal taking cabinet, the electronic device of the delivery resource terminal is used for scanning a two-dimensional code of the cabinet body of the meal taking cabinet and sending a meal storage request to a server side (a network platform server). For another example, in the process of getting food by the user, the electronic device of the mobile terminal is used for scanning the two-dimensional code of the cabinet body, and the food-taking code is input in the food-taking interface, so that the food-taking request is sent to the server.
The step is used for the electronic equipment to receive the indication message of opening the cabinet door sent by the server side. In the opening process of the cabinet doors of intelligent cabinets such as express cabinets, dining cabinets, automatic vending cabinets and the like, a server side sends a cabinet door opening indication message for indicating the intelligent cabinet to open the cabinet doors to electronic equipment through network connection; taking delivery take-out by a rider as an example, in the process of storing food by the rider, the cabinet door of the take-out cabinet needs to be opened, and the server sends an instruction message for opening the shelf cabinet door of the food taking cabinet (the food taking cabinet scanned by the rider can be preferentially allocated) for storing the food according to the food storing request; for another example, in the process that the user takes out the food, the cabinet door of the take-out cabinet needs to be opened, after the server receives a food taking request sent by the mobile terminal used by the user, the server inquires storage information of the food to be taken corresponding to the food taking request based on the taking code and the user information, and sends an instruction message for opening the corresponding intelligent cabinet lattice door.
The cabinet door opening method further comprises the following steps: and if a seventh notification broadcast message of short-distance communication for representing the operation result of opening the cabinet door of the intelligent cabinet is detected, sending a notification message for representing the operation result of opening the cabinet door of the intelligent cabinet to the server. For example, the electronic device obtains the seventh notification broadcast message that the opening of the shelf door No. 1 of the cabinet a on the intelligent cabinet 101 fails.
The method for opening the cabinet door further comprises the following steps: and if the seventh close-range communication notification broadcast message used for indicating the operation result of opening the cabinet door of the intelligent cabinet is not detected within the preset time range, displaying prompt information used for prompting a pickup user or distribution resources to perform operation of opening the cabinet door of the intelligent cabinet again.
In this embodiment, when the electronic device does not detect the seventh notification broadcast message within a certain period of time, the electronic device may display a prompt message to prompt the pickup user or the resource distribution user to start the secondary smart cabinet grid.
The method is applied to the electronic equipment; the indication message for opening the cabinet door further comprises a server identification for identifying the server and authentication information for indicating that the electronic equipment is successfully authenticated by the server; the sixth notification broadcast message of near field communication further includes the server identifier and the authentication information. It should be understood that, in this embodiment, the electronic device is a device authenticated by a server, and the server is a server having identity information; the server identification and the electronic equipment authentication information are used as necessary conditions for opening the intelligent cabinet, so that the risk of opening the intelligent cabinet by any electronic equipment can be avoided. In order to facilitate understanding, a further description is made, in the process of opening the cabinet door of the intelligent cabinet, as the intelligent cabinet cannot directly interact with the server through network communication, the intelligent cabinet can indirectly interact with the server only by means of other electronic equipment; in order to improve the accuracy of the cabinet door opening process and avoid the occurrence of the condition of opening the wrong cabinet door, the electronic equipment authentication information required to be included in the indication message for opening the cabinet door and the server identification for providing the secret key are taken as a first necessary condition for opening the cabinet door.
The cabinet door opening method is applied to electronic equipment used by a pickup user; the cabinet door opening indication message further comprises order information which is encrypted by using an encryption key and corresponds to the pickup user and the intelligent cabinet, wherein the encryption key is used for encrypting and decrypting data interacted between the intelligent cabinet and the server; the encrypted order information corresponding to the pickup user and the intelligent cabinet is used as a second necessary condition for opening the cabinet door, and the accuracy of the opening process of the cabinet door can be improved.
Further comprising: obtaining order information corresponding to the pickup user and the intelligent cabinet from the electronic equipment; for example, the order number of the pickup user is: 8372 1351 3263 3110 and 273161001928, wherein the order information corresponding to the intelligent cabinet 101 is corresponding to the two.
The sixth notification broadcast message of near field communication further includes order information corresponding to both the pickup user and the smart locker encrypted using an encryption key and order information corresponding to both the pickup user and the smart locker obtained from the electronic device. Where the status is encrypted at the order information mentioned above.
For convenience of understanding, further explanation is made, for example, order information for the intelligent cabinet 101 exists in the electronic device of the pickup user, the server encrypts the order information through an encryption key, and the order information is transmitted to the electronic device through network communication, and since the electronic device does not have a key for decrypting the order information, decryption cannot be performed; therefore, the electronic device broadcasts the order information stored in the electronic device and the order information encrypted by the server-side private key through the near field communication module of the electronic device, when the intelligent cabinet 101 receives the broadcast message, the order information sent by the server side is decrypted by using the private key, the decrypted order information is compared with the order information stored in the electronic device, and when the order information and the order information are consistent, the intelligent cabinet 101 judges that the electronic device for opening the A cabinet 13 crater door on the intelligent cabinet 101 has the reliability.
The cabinet door opening method is applied to electronic equipment for distributing resources; the cabinet door opening indication message further comprises waybill information which is encrypted by using an encryption key and corresponds to the distribution resource and the intelligent cabinet, and the encryption key is used for encrypting and decrypting data interacted between the intelligent cabinet and the server;
further comprising: acquiring waybill information corresponding to the distribution resources and the intelligent cabinet from the electronic equipment;
the close range communication sixth notification broadcast message further includes order information corresponding to both the delivery resource and the smart cabinet encrypted using an encryption key and order information corresponding to both the delivery resource and the smart cabinet obtained from the electronic device. In this step, the waybill information refers to order information corresponding to the distributed resources.
And S902, sending a sixth short-distance communication broadcast message for indicating the intelligent cabinet to open the cabinet door, wherein the sixth short-distance communication broadcast message comprises the intelligent cabinet identifier and the grid identifier.
After the electronic equipment acquires the indication message for opening the cabinet door, which is sent by the server, through the steps, the step is used for sending a sixth notification broadcast message for opening the intelligent cabinet according to the indication message for opening the cabinet door, and the sixth notification broadcast message is broadcasted through a short-distance module of the electronic equipment; for example, the near field communication module broadcasts the sixth notification broadcast message according to a predetermined frequency, where the predetermined frequency is higher than a preset frequency threshold, so that the near field communication module of the smart cabinet can perform a corresponding cabinet opening operation after detecting the sixth notification broadcast message, such as opening a door of a target cabinet, turning on a light, and the like.
In this embodiment, the sixth notification broadcast message includes an intelligent cabinet identifier and an intelligent cabinet compartment identifier, where the cabinet door needs to be opened; taking the delivery take-out by the rider as an example, the sixth notification broadcast message includes a meal taking cabinet identifier and a cabinet grid identifier for storing the meal; or, taking the customer taking the takeaway as an example, the sixth notification broadcast message includes a meal taking cabinet identifier and a cabinet lattice identifier for taking the meal.
In this embodiment, after the electronic device broadcasts the sixth notification broadcast message through the near field communication module, the electronic device may further detect, through the near field communication module, cabinet opening result data broadcasted by the near field communication module of the intelligent cabinet, where the cabinet opening result data is information of successful cabinet opening or failed cabinet opening; responding to the detection of the cabinet opening result data in the preset time, and sending the cabinet opening result data to the server side; or responding to the condition that the cabinet opening result data is not detected in the preset time, and outputting retry operation reminding information.
Corresponding to the above embodiments, a ninth embodiment of the present application provides a method for opening a cabinet door. The application subject of the method can be an intelligent cabinet. The method for opening the cabinet door provided by the embodiment comprises the following steps:
s1001, in response to detecting a sixth notification broadcast message of near field communication for instructing an intelligent cabinet to open a cabinet door, judging whether an intelligent cabinet identifier included in the sixth notification broadcast message of near field communication is the same as an intelligent cabinet identifier stored locally;
in this step, the near field communication module of each smart cabinet stores the smart cabinet identification information in advance, and based on this, in this embodiment, the near field communication module of the smart cabinet responds to the sixth notification broadcast message by: the near field communication module of the intelligent cabinet detects near field communication broadcast messages of the surrounding environment, and compares identification information (intelligent cabinet identification) carried by the detected broadcast messages with pre-stored intelligent cabinet identification information; and in response to that the detected intelligent cabinet identification information carried by the sixth notification broadcast message is consistent with the intelligent cabinet identification information pre-stored in the intelligent cabinet identification information, determining the sixth notification broadcast message as cabinet opening data for opening the corresponding intelligent cabinet identification and the grid identification. In the method, the sixth notification broadcast message detected by the intelligent cabinet short-distance communication module is screened and judged by using the intelligent cabinet identification information, so that useless data can be screened out, for example, the sixth notification broadcast message broadcast by the short-distance communication modules of other intelligent cabinets in the intelligent cabinet group can be screened out.
And S1002, if so, executing an operation of opening a cabinet door of a grid corresponding to the grid identifier according to the grid identifier included in the sixth notification broadcast message of the near field communication.
And under the condition that the intelligent cabinet identification is consistent with the locally stored intelligent cabinet identification, opening the corresponding compartment door according to the compartment identification in the sixth notification broadcast message.
In this embodiment, the intelligent cabinet may be further configured to generate an operation result of opening the cabinet door of the intelligent cabinet; and sending a seventh short-distance communication notification broadcast message for indicating the operation result of opening the cabinet door of the intelligent cabinet. For example, the door is opened successfully, the door is opened unsuccessfully, etc.
The detecting a sixth notification broadcast message for instructing the intelligent cabinet to open the cabinet door comprises: and detecting a sixth short-distance communication notification broadcast message which is sent by other intelligent cabinets positioned at the same site as the intelligent cabinet and used for indicating the intelligent cabinet to open the cabinet door. The other intelligent cabinets obtain the intelligent cabinet identification and the lattice identification through near field communication information interaction between the other intelligent cabinets and the electronic equipment, and the electronic equipment can interact with a server side. For example, the intelligent cabinet 102 and the intelligent cabinet 101 are located at the same site, the intelligent cabinet 102 establishes close-range communication with a mobile phone of a takeaway distributor, and the intelligent cabinet 102 sends out a sixth notification broadcast message of close-range communication for instructing the intelligent cabinet 101 to open a cabinet door. The intelligent cabinet 102 obtains the identification of the intelligent cabinet 101 and the identification of the bay 1 through interaction with the take-away deliverer's cell phone.
In this embodiment, the sixth notification broadcast message of near field communication further includes the server identifier and the authentication information; as mentioned above, the server identifier may be used as the identifier of the server; the authentication information is the recognition degree identification of the server side to the electronic equipment; for example, the server side uniformly issues the authentication codes to the authenticated electronic devices.
Judging whether the server identification and the authentication information can be obtained from the sixth notification broadcast message of the near field communication;
if yes, according to the grid identifier included in the sixth notification broadcast message of the near field communication, executing an operation of opening a cabinet door of a grid corresponding to the grid identifier, including: and if the intelligent cabinet identifier included in the sixth notification broadcast message of the near field communication is the same as the locally stored intelligent cabinet identifier and the server identifier and the authentication information can be obtained from the sixth notification broadcast message of the near field communication, executing an operation of opening a cabinet door of a bay corresponding to the bay identifier according to the bay identifier included in the sixth notification broadcast message of the near field communication.
And judging whether the sixth broadcast message contains the server identification and the authentication information through the intelligent cabinet, wherein the intelligent cabinet can judge the credibility of the electronic equipment sending the broadcast message and the credibility of the server used for interacting with the electronic equipment. And when the service end and the electronic equipment have the credibility, the intelligent cabinet opens the cabinet door corresponding to the grid according to the grid mark in the sixth broadcast message.
In the first case, if the sixth notification broadcast message of the close range communication is sent by the electronic device used by the pickup user, the sixth notification broadcast message of the close range communication further includes the order information corresponding to both the pickup user and the intelligent cabinet encrypted by using the encryption key and the order information corresponding to both the pickup user and the intelligent cabinet obtained from the electronic device; for example, the mobile phone bluetooth low energy module of the takeaway meal user sends out a sixth notification broadcast message, which includes: the encrypted order information corresponding to the user and the intelligent cabinet 101, and the unencrypted order information corresponding to the user and the intelligent cabinet obtained from the mobile phone of the user.
Obtaining order information which is encrypted by using an encryption key and corresponds to the pickup user and the intelligent cabinet from the close range communication sixth notification broadcast message, and obtaining order information which corresponds to the pickup user and the intelligent cabinet from the electronic equipment;
judging whether the order information which is encrypted by using an encryption key and corresponds to the pickup user and the intelligent cabinet and is obtained from the electronic equipment are the same or not in the close-range communication sixth notification broadcast message; in the step, an executive party for judging whether the order information is the same is the intelligent cabinet.
If yes, according to the grid identifier included in the sixth notification broadcast message of the near field communication, executing an operation of opening the cabinet door of the grid corresponding to the grid identifier, including: and if the intelligent cabinet identifier included in the sixth notification broadcast message of the near field communication is the same as the locally stored intelligent cabinet identifier, and the order information which is encrypted by using the encryption key and corresponds to the pickup user and the intelligent cabinet and is obtained from the electronic equipment is the same as the order information which corresponds to the pickup user and the intelligent cabinet, executing the operation of opening the cabinet door of the lattice corresponding to the lattice identifier according to the lattice identifier included in the sixth notification broadcast message of the near field communication.
In a second case, if a sixth notification broadcast message of near field communication is sent from an electronic device for use of a delivery resource, the sixth notification broadcast message of near field communication further includes order information corresponding to both the delivery resource and the smart cabinet encrypted using an encryption key and order information corresponding to both the delivery resource and the smart cabinet obtained from the electronic device; the delivery resource can be a takeaway delivery person, an intelligent delivery robot, a leg surrogate, a city rapid courier and the like.
Obtaining order information corresponding to the distribution resource and the intelligent cabinet encrypted by an encryption key from the close range communication sixth notification broadcast message and obtaining order information corresponding to the distribution resource and the intelligent cabinet from the electronic equipment;
judging whether order information which is encrypted by an encryption key and corresponds to the distribution resource and the intelligent cabinet and is obtained from the electronic equipment is the same as the order information which is obtained from the close-range communication sixth notification broadcast message and corresponds to the distribution resource and the intelligent cabinet;
if yes, according to the grid identifier included in the sixth notification broadcast message of the near field communication, executing an operation of opening the cabinet door of the grid corresponding to the grid identifier, including: and if the intelligent cabinet identifier included in the sixth notification broadcast message of the near field communication is the same as the locally stored intelligent cabinet identifier, and the order information which is encrypted by using the encryption key and corresponds to the distribution resource and the intelligent cabinet and is obtained from the electronic equipment is the same as the order information which corresponds to the distribution resource and the intelligent cabinet, executing the operation of opening the cabinet door of the lattice corresponding to the lattice identifier according to the lattice identifier included in the sixth notification broadcast message of the near field communication.
Corresponding to the foregoing embodiments, a tenth embodiment of the present application provides a message sending method.
S1101, generating a near field communication broadcast message, wherein the near field communication broadcast message comprises an intelligent cabinet identifier and an operation code, and the operation code is used for indicating operation related to the intelligent cabinet;
in this embodiment, the operation code may be used to instruct the intelligent cabinet to perform configuration, status information transmission, opening of the cabinet door, status information processing, and other related operations.
Wherein, the short-distance communication broadcast message also comprises a serial number of the short-distance communication broadcast message; the serial number is used to identify an operational sequence for the intelligent cabinet related operation. For example, when the intelligent cabinet sends out a first request broadcast message for requesting configuration of the intelligent cabinet, the intelligent cabinet generates a new serial number based on the existing serial number of the intelligent cabinet according to the first request broadcast message for requesting configuration, so as to identify the operation for requesting configuration. And the broadcast data corresponding to the reset sequence number is discarded, so that replay attack or packet capture is prevented.
In the first case, the method is applied to the electronic equipment; obtaining a serial number configured by a server aiming at the near field communication broadcast message; for example, the configuration serial number of the short-range communication broadcast message sent by the service end for configuring the smart cabinet 101 is obtained as 30, and the serial number may correspond to the code of the broadcast message, for example, the serial number 3001 is used to indicate that the electronic device receives the first short-range communication broadcast message of the service end for a certain time period of the smart cabinet 101.
Or, in the second case, to an intelligent cabinet; if the short-range communication broadcast message is a response message aiming at the short-range communication broadcast message sent by the electronic equipment, obtaining the serial number of the short-range communication broadcast message sent by the electronic equipment from the short-range communication broadcast message sent by the electronic equipment; taking the serial number of the near field communication broadcast message sent by the electronic equipment as the serial number of the near field communication broadcast message to be sent by the intelligent cabinet, and adding the serial number into the near field communication broadcast message to be sent by the intelligent cabinet; for example, the electronic device sends a first response broadcast message with a sequence number of 2001, and the intelligent cabinet 101 receives the first response broadcast message and also obtains the sequence number 2001 related to the first response broadcast message, and uses the sequence number 2001 as the sequence number of the second request broadcast message to be sent by the intelligent cabinet 101.
Or, in the third case, to intelligent cabinets; and if the short-distance communication broadcast message is a message which is prepared to be sent by the intelligent cabinet actively, generating a serial number for the short-distance communication broadcast message, and adding the generated serial number into the short-distance communication broadcast message which is prepared to be sent by the intelligent cabinet actively. For example, the intelligent cabinet 101 actively sends out a first request broadcast message, the serial number of the message is 1001, and the serial number is added to the first request broadcast message to perform serial number editing and identification on the operation requested by the message.
The close range communication broadcast message further comprises operational data; and the operation code, the serial number and the operation data are encrypted in the short-distance communication broadcast message by using an encryption key, and the encryption key is used for encrypting and decrypting data interacted between the intelligent cabinet and a server. The operation data is used to perform operations represented by data, such as configuration operation data, operation data for sending a fourth notification broadcast message, and the like, and the data is encrypted by a key during transmission or reception, so that the interactive data needs to be parsed according to a corresponding encryption key.
The short-distance communication broadcast message also comprises authentication data, the authentication data is data which is generated according to a signature secret key of the intelligent cabinet and is used for authenticating the identity of the intelligent cabinet, and the signature secret key is used for representing the identity information of the intelligent cabinet in the process of data interaction between the intelligent cabinet and a service end. For example, the authentication data may be used as an authority verification for opening an a cabinet 8-grid cabinet door on the intelligent cabinet 101, and the signature key indicates that the intelligent cabinet identity information is 101-a, and after the authentication data and the signature key are determined to pass the authority verification for opening the cabinet door, the operation of opening the cabinet is executed based on the cabinet opening data.
S1102, sending the short-range communication broadcast message.
The embodiment is used as an interaction mode in the short-distance communication interaction process of the electronic equipment and the intelligent cabinet, and can ensure the safety and privacy of the data interaction process, thereby ensuring the realizability of the embodiment.
The second embodiment provides an intelligent cabinet opening method, and correspondingly, an embodiment of the present application further provides an intelligent cabinet opening device, which is applied to a user terminal, and since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the details of the related technical features need to be referred to the corresponding description of the method embodiment provided above, and the following description of the device embodiment is only illustrative.
An embodiment of the present application further provides an intelligent cabinet configuration device, which can be applied to an intelligent cabinet, please refer to fig. 9 for understanding the embodiment, fig. 9 is a block diagram of units of the intelligent cabinet configuration device provided in this embodiment, as shown in fig. 9, the intelligent cabinet configuration device provided in this embodiment includes:
a first request broadcast message broadcasting unit 901 configured to issue a first request broadcast message for requesting configuration of the smart cabinet;
a near field communication connection unit 902 configured to establish a near field communication connection with the electronic device if a near field communication first response broadcast message issued by the electronic device for the near field communication first request broadcast message is obtained;
a configuration information obtaining unit 903 configured to obtain configuration information for the intelligent cabinet sent by the electronic device by using the near field communication connection.
The third embodiment provides an intelligent cabinet configuration method, and correspondingly, an embodiment of the present application further provides an intelligent cabinet configuration apparatus, where the intelligent cabinet configuration apparatus is applicable to electronic devices, and since the apparatus embodiment is substantially similar to the method embodiment, the description is relatively simple, and the details of the related technical features need to be referred to the corresponding description of the method embodiment provided above, and the following description of the apparatus embodiment is only illustrative.
Referring to fig. 10 to understand the embodiment, fig. 10 is a block diagram of a unit of the intelligent cabinet configuration device provided in the embodiment, and as shown in fig. 10, the intelligent cabinet configuration device provided in the embodiment includes:
a first response broadcast message transmission unit 1001 configured to, in response to detection of a first request broadcast message for near field communication issued by a smart cabinet for requesting configuration of the smart cabinet, issue a first response broadcast message for near field communication with respect to the first request broadcast message for near field communication;
a near field communication connection unit 1002 configured to establish a near field communication connection with the smart cabinet;
a configuration information broadcasting unit 1003 configured to send out configuration information for the smart cabinet to the smart cabinet using the close range communication connection.
The fourth embodiment provides an intelligent cabinet configuration method, and correspondingly, an embodiment of the present application further provides an intelligent cabinet configuration device, where the intelligent cabinet configuration device is applicable to a server, and since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the details of the related technical features need to be referred to the corresponding description of the method embodiment provided above, and the following description of the device embodiment is only illustrative.
Referring to fig. 11 to understand the embodiment, fig. 11 is a block diagram of a unit of the intelligent cabinet configuration device provided in the embodiment, and as shown in fig. 11, the intelligent cabinet configuration device provided in the embodiment includes:
a configuration information acquisition unit 1101 configured to obtain configuration information for the smart cabinet;
a configuration information sending unit 1102 configured to send configuration information of the intelligent cabinet to an electronic device, where the electronic device performs information interaction with the intelligent cabinet through near field communication messages
A fifth embodiment of the present application provides a status information sending method, and correspondingly, an embodiment of the present application further provides a status information sending apparatus, where the status information sending apparatus is applicable to an intelligent cabinet, and since the apparatus embodiment is basically similar to the method embodiment, the description is relatively simple, and please refer to the corresponding description of the method embodiment in detail of the related technical features, and the following description of the apparatus embodiment is only illustrative.
Please refer to fig. 12 to understand the embodiment, fig. 12 is a block diagram of a unit of the status information sending apparatus provided in the embodiment, and as shown in fig. 12, the status information sending apparatus provided in the embodiment includes:
a fourth notification broadcast message generating unit 1201 configured to generate a near field communication fourth notification broadcast message including a smart cabinet identifier and at least one of first status information of a smart cabinet and second status information of a bay in the smart cabinet;
a fourth notification broadcast message broadcasting unit 1202 configured to issue the near field communication fourth notification broadcast message.
A sixth embodiment of the present application provides a status information sending method, and correspondingly, an embodiment of the present application further provides a status information sending apparatus, where the status information sending apparatus is applicable to an electronic device, and since the apparatus embodiment is basically similar to the method embodiment, the description is relatively simple, and details of related technical features may be found in the corresponding description of the method embodiment provided above, and the following description of the apparatus embodiment is only illustrative.
Referring to fig. 13 to understand the embodiment, fig. 13 is a block diagram of a unit of the status information sending apparatus provided in the embodiment, and as shown in fig. 13, the status information sending apparatus provided in the embodiment includes:
a fourth notification broadcast message receiving unit 1301, configured to obtain a fourth notification broadcast message for near field communication, where the second notification broadcast message for near field communication includes an intelligent cabinet identifier and at least one of first state information of an intelligent cabinet and second state information of a bay in the intelligent cabinet;
a status notification message sending unit 1302, configured to send a status notification message to a server, where the status notification message includes the smart container identifier and at least one of the first status information and the second status information.
The seventh embodiment provides a status information processing method, and correspondingly, an embodiment of the present application further provides a status information processing apparatus, the status information processing apparatus is applied to a server, since the apparatus embodiment is basically similar to the method embodiment, the description is relatively simple, and the details of the related technical features are only referred to the corresponding description of the method embodiment provided above, and the following description of the apparatus embodiment is only illustrative.
Referring to fig. 14, to understand the embodiment, fig. 14 is a block diagram of a unit of the state information processing apparatus provided in the embodiment, and as shown in fig. 14, the state information processing apparatus provided in the embodiment includes:
an embodiment of the present application further provides a state information processing apparatus, which is applied to a server, and includes:
a status notification message receiving unit 1401, configured to obtain a status notification message sent by an electronic device, where the status notification message includes an intelligent cabinet identifier and at least one of first status information of the intelligent cabinet and second status information of a bay in the intelligent cabinet;
a status information updating unit 1402, configured to update the status information of the intelligent cabinet and/or the status information of the grid in the intelligent cabinet according to at least one of the first status information and the second status information.
In the foregoing embodiment, an intelligent cabinet opening method and an intelligent cabinet opening apparatus are provided, and in addition, an electronic device is provided in the embodiment of the present application, since the embodiment of the electronic device is substantially similar to the embodiment of the method, the description is relatively simple, and for details of related technical features, reference may be made to the corresponding description of the embodiment of the method provided above, and the following description of the embodiment of the electronic device is only illustrative. The embodiment of the electronic equipment is as follows: please refer to fig. 15 for understanding the present embodiment, wherein fig. 15 is a schematic diagram of the electronic device provided in the present embodiment.
As shown in fig. 15, the electronic device provided in this embodiment includes: a processor 1501 and memory 1502, a communication interface 1503 and a communication bus 1504;
the memory 1501 is used for storing one or more computer instructions for data processing;
the processor 1502 is configured to execute the one or more computer instructions to implement the steps of the above-described method embodiments;
the communication interface 1503 is used for providing a connection interface for the memory 1501 and the processor 1502;
the communication bus 1504 is used to connect the memory 1501 mounted thereon and the processor 1502.
In the embodiments, an intelligent cabinet configuration method, a state information sending method, and a device and an electronic device corresponding to the above methods are provided. The embodiments of the computer-readable storage medium provided in the present application are described relatively simply, and for relevant portions, reference may be made to the corresponding descriptions of the above method embodiments, and the embodiments described below are merely illustrative.
The present embodiment provides a computer readable storage medium having stored thereon computer instructions, which when executed by a processor, implement the steps of the above-described method embodiments.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
2. As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application, and those skilled in the art can make variations and modifications without departing from the spirit and scope of the present application, therefore, the scope of the present application should be determined by the claims that follow.

Claims (10)

1. An intelligent cabinet configuration method is characterized by comprising the following steps:
sending a first request broadcast message for requesting to configure the intelligent cabinet;
if a first near field communication response broadcast message sent by the electronic equipment aiming at the first near field communication request broadcast message is obtained, establishing a near field communication connection with the electronic equipment;
and obtaining configuration information aiming at the intelligent cabinet sent by the electronic equipment by utilizing the close-range communication connection.
2. The intelligent cabinet configuration method according to claim 1, wherein the configuration information includes an encryption key generated by the server for encrypting and decrypting data interacted between the intelligent cabinet and the server, and a signature key for representing identity information of the intelligent cabinet during data interaction between the intelligent cabinet and the server.
3. The intelligent cabinet configuration method according to claim 1, further comprising:
and creating a site where the intelligent cabinet is located.
4. The intelligent cabinet configuration method according to claim 1, further comprising:
and sending the intelligent cabinet identification of the intelligent cabinet to a server through the electronic equipment, so that the server establishes an association relationship between the intelligent cabinet identification of the intelligent cabinet and the site identification of the site where the intelligent cabinet is located.
5. The intelligent cabinet configuration method according to claim 1, wherein the obtaining configuration information for the intelligent cabinet sent by the electronic device using the near field communication connection comprises:
acquiring a configuration template issued by the server through the electronic equipment;
and configuring the intelligent cabinet according to the configuration template.
6. The intelligent cabinet configuration method according to claim 1, wherein the site where the intelligent cabinet is located has an intelligent cabinet group, the intelligent cabinet group comprises the intelligent cabinet and other intelligent cabinets except the intelligent cabinet, and the intelligent cabinet group is an access service carrier of the site where the intelligent cabinet is located.
7. An intelligent cabinet configuration method is characterized by comprising the following steps:
in response to detecting a first request broadcast message for near field communication sent by an intelligent cabinet for requesting configuration of the intelligent cabinet, sending a first response broadcast message for the near field communication of the first request broadcast message;
establishing close range communication connection with the intelligent cabinet;
and sending configuration information aiming at the intelligent cabinet to the intelligent cabinet by utilizing the close-range communication connection.
8. A method for transmitting status information, comprising:
generating a fourth short-distance communication notification broadcast message, wherein the fourth short-distance communication notification broadcast message comprises an intelligent cabinet identifier and at least one of first state information of an intelligent cabinet and second state information of a grid in the intelligent cabinet;
and sending out the fourth notification broadcast message of the short-distance communication.
9. A method for transmitting status information, comprising:
acquiring a fourth short-distance communication notification broadcast message, wherein the fourth short-distance communication notification broadcast message comprises an intelligent cabinet identifier and at least one of first state information of an intelligent cabinet and second state information of a grid in the intelligent cabinet;
and sending a state notification message to a server, wherein the state notification message comprises the intelligent cabinet identifier and at least one of the first state information and the second state information.
10. A method of processing status information, comprising:
acquiring a state notification message sent by electronic equipment, wherein the state notification message comprises an intelligent cabinet identifier and at least one of first state information of an intelligent cabinet and second state information of a grid in the intelligent cabinet;
and updating the state information of the intelligent cabinet and/or the state information of the grids in the intelligent cabinet according to at least one of the first state information and the second state information.
CN202210939421.5A 2022-08-05 2022-08-05 Intelligent cabinet configuration method, state information sending method and device Pending CN115314843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210939421.5A CN115314843A (en) 2022-08-05 2022-08-05 Intelligent cabinet configuration method, state information sending method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210939421.5A CN115314843A (en) 2022-08-05 2022-08-05 Intelligent cabinet configuration method, state information sending method and device

Publications (1)

Publication Number Publication Date
CN115314843A true CN115314843A (en) 2022-11-08

Family

ID=83860508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210939421.5A Pending CN115314843A (en) 2022-08-05 2022-08-05 Intelligent cabinet configuration method, state information sending method and device

Country Status (1)

Country Link
CN (1) CN115314843A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107609761A (en) * 2017-08-31 2018-01-19 深圳市丰巢科技有限公司 A kind of visible processing method of intelligent cabinet, storage medium and electronic equipment
CN107657362A (en) * 2017-08-31 2018-02-02 深圳市丰巢科技有限公司 A kind of data processing method of intelligent cabinet, storage medium and electronic equipment
US20210065887A1 (en) * 2019-09-03 2021-03-04 Carefusion 303, Inc. Systems and methods for dispensing medications based on proximity to an electronic medication storage cabinet
CN113470263A (en) * 2021-09-03 2021-10-01 浙江口碑网络技术有限公司 Quick storage and taking method and device for intelligent cabinet
CN114038127A (en) * 2021-11-08 2022-02-11 深圳市智莱科技股份有限公司 Express delivery cabinet selecting and storing method and device and storage medium
CN114266372A (en) * 2021-12-22 2022-04-01 杭州海康威视系统技术有限公司 Article circulation method and device based on intelligent cabinet, electronic equipment and storage medium
CN114783116A (en) * 2022-04-19 2022-07-22 拉扎斯网络科技(上海)有限公司 Offline cabinet opening method and device for intelligent cabinet

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107609761A (en) * 2017-08-31 2018-01-19 深圳市丰巢科技有限公司 A kind of visible processing method of intelligent cabinet, storage medium and electronic equipment
CN107657362A (en) * 2017-08-31 2018-02-02 深圳市丰巢科技有限公司 A kind of data processing method of intelligent cabinet, storage medium and electronic equipment
US20210065887A1 (en) * 2019-09-03 2021-03-04 Carefusion 303, Inc. Systems and methods for dispensing medications based on proximity to an electronic medication storage cabinet
CN113470263A (en) * 2021-09-03 2021-10-01 浙江口碑网络技术有限公司 Quick storage and taking method and device for intelligent cabinet
CN114038127A (en) * 2021-11-08 2022-02-11 深圳市智莱科技股份有限公司 Express delivery cabinet selecting and storing method and device and storage medium
CN114266372A (en) * 2021-12-22 2022-04-01 杭州海康威视系统技术有限公司 Article circulation method and device based on intelligent cabinet, electronic equipment and storage medium
CN114783116A (en) * 2022-04-19 2022-07-22 拉扎斯网络科技(上海)有限公司 Offline cabinet opening method and device for intelligent cabinet

Similar Documents

Publication Publication Date Title
US20200258334A1 (en) Secure storage systems and methods
US11212100B2 (en) Systems and methods of providing and electronically validating tickets and tokens
US11068834B2 (en) Secure shipment receive apparatus with delegation-chain
CN102985915B (en) Control system user interface
CN204557660U (en) A kind of express delivery SRU sending-receiving unit
CN104486835B (en) A kind of positioner based on WAP and video monitoring
EP3671667A1 (en) Secured parcel locker system with token security
CN101316132B (en) Integrated access control system and a method of controlling the same
US20160019495A1 (en) System and method for context-sensitive delivery notification
CN112215318B (en) Offline storage and taking method and device for intelligent cabinet
CN104495545B (en) Electronic elevator maintenance supervision and management system and method for elevator maintenance based on dynamic two-dimensional codes
CN109196825A (en) Scene is generated based on attachment status
CN105117882A (en) Intelligent logistics delivery method, apparatus, and system
CN105593911A (en) Access control using portable electronic devices
CN106664226A (en) Controller networks for an accessory management system
CN105144670A (en) Wireless networking-enabled personal identification system
CN102165460A (en) Data packet generator for generating passcodes
CN103119974A (en) System and method for maintaining privacy in a wireless network
CN101222353A (en) Remote control of a security system using e-mail
US9813408B2 (en) Asset guardian
CN110414208A (en) Login validation method, calculates equipment and medium at device
KR102434530B1 (en) Information Intercommunication Methods and Systems
CN104025147A (en) Method of displaying contents by using device identifier of wireless communication device, method of providing contents, user terminal for performing the contents displaying method, and system for providing contents to perform the contents providing method
CN108769220A (en) Intelligent ammeter box environmental monitoring installation and monitoring method
CN105913576A (en) Intelligent storage box system available for local and remote express delivery and reception

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