WO2020001288A1 - Storage cabinet control system, storage cabinet control method and cabinet lock - Google Patents

Storage cabinet control system, storage cabinet control method and cabinet lock Download PDF

Info

Publication number
WO2020001288A1
WO2020001288A1 PCT/CN2019/091228 CN2019091228W WO2020001288A1 WO 2020001288 A1 WO2020001288 A1 WO 2020001288A1 CN 2019091228 W CN2019091228 W CN 2019091228W WO 2020001288 A1 WO2020001288 A1 WO 2020001288A1
Authority
WO
WIPO (PCT)
Prior art keywords
locker
target
identifier
client
server
Prior art date
Application number
PCT/CN2019/091228
Other languages
French (fr)
Chinese (zh)
Inventor
侯鑫
Original Assignee
菜鸟智能物流控股有限公司
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 菜鸟智能物流控股有限公司 filed Critical 菜鸟智能物流控股有限公司
Publication of WO2020001288A1 publication Critical patent/WO2020001288A1/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/001Interfacing with vending machines using mobile or wearable devices
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/009User recognition or proximity detection
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
    • G07C9/00912Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses for safes, strong-rooms, vaults or the like
    • 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
    • G07F17/13Coin-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 the containers being a postal pick-up locker
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/002Vending machines being part of a centrally controlled network of vending machines

Definitions

  • This manual relates to the field of locker control, and particularly to a locker control system, a locker control method, and a lock.
  • main cabinet is generally the main cabinet + screen + keyboard mode.
  • the courier enters the account number on the main cabinet to log in, and then enters the parcel information.
  • the recipient will receive a text message with a pickup code, which includes the pickup code.
  • the recipient enters the pickup code on the main cabinet and opens the cabinet to pick up the package.
  • the embodiments of the present specification provide a locker control system, a locker control method, a lock, a server, an electronic device, and a computer storage medium. Helps manage the lockers.
  • An embodiment of the present specification provides a locker control system including: a client, a server, and a lock; the lock is used to be installed in the locker; the lock can receive the server control in a locked state and Unlocked state; in the locked state, the cabinet lock prevents the cabinet door of the locker from opening; in the unlocked state, the cabinet lock releases the barrier to the cabinet door; the client is used by An unlock request is sent to the server, so that the server sends an unlock instruction to the cabinet lock of the target locker according to the unlock request, so that the cabinet lock of the target locker is in the unlocked state.
  • An embodiment of the present specification also provides a method for controlling a locker, which is applied to a client.
  • the method includes: receiving a locker identifier of a locker sent by a server; the locker identifier is used to indicate a locker; Determine the locker in the vacant state according to the received locker identifier; receive user input; wherein the locker identifier of the locker in the vacant state pointed to by the user input is the target locker identifier; Sending an unlock request to the server; the target locker identification is attached to the unlock request, so that the server issues an unlock instruction to the locker corresponding to the target locker identification, so that the target The lock of the locker is unlocked.
  • An embodiment of the present specification further provides an electronic device, including: a network communication unit and a processor; the network communication unit is configured to receive a locker identifier of a locker sent by a server; and the locker identifier is used to indicate storage A locker; the processor is configured to determine a locker in a vacant state according to the received locker identifier; receive a user input; wherein the user input points to a locker in a vacant locker
  • the identifier is a target locker identifier; controlling the network communication unit to send an unlock request to the server; the lock request is accompanied by the target locker identifier to enable the server to identify the target locker
  • the corresponding cabinet lock issues an unlocking instruction, so that the cabinet lock corresponding to the target storage cabinet is in an unlocked state.
  • An embodiment of the present specification further provides a computer storage medium, where the computer storage medium stores computer program instructions, and the computer program instructions are implemented by a processor to implement: receiving a locker identifier of a locker sent by a server; A locker identifier is used to indicate a locker; a locker in a vacant state is determined according to the received locker identifier; a user input is received; wherein the user input points to a locker in a vacant state
  • the locker ID is the target locker ID; the unlock request is sent to the server; the lock request is accompanied by the target locker ID, so that the server sends the target locker ID corresponding to the target locker ID.
  • the cabinet lock issues an unlocking instruction, so that the cabinet lock corresponding to the target locker is in an unlocked state.
  • An embodiment of the present specification further provides a locker control method, which is applied to a server.
  • the method includes: receiving a locker status query request sent by a client; wherein the locker status query request points to a target geographic area; Retrieving the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in a vacant state; the locker identifier is used for Indicates a locker; sends the usage information set to the client; and upon receiving an unlock request from the client, sends the lock information to the locker according to a target locker identifier attached to the unlock request The target locker identifier sends a unlocking instruction to the locker of the locker; so that the locker is in an unlocked state.
  • An embodiment of the present specification further provides an electronic device including: a network communication unit and a processor; the network communication unit is configured to receive a locker status query request sent by a client; wherein the locker status query request is directed to The target geographic area; the processor is configured to retrieve the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in a vacant state The locker identifier is used to indicate a locker; control the network communication unit to send the usage information set to the client; and upon receiving the unlock request sent by the client, according to the Sending the target locker identification attached to the unlock request, and sending an unlock instruction to the locker of the locker corresponding to the target locker identification; so that the locker is in an unlocked state.
  • An embodiment of the present specification also provides a computer storage medium storing computer program instructions that are implemented by a processor when the computer program instructions are executed by a processor: receiving a locker status query request sent by a client; The locker status query request points to the target geographic area; retrieves the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least the storage of the lockers in the vacant state.
  • a locker identifier; the locker identifier is used to indicate a locker; sending the usage information set to the client; and upon receiving the unlock request sent by the client, according to the unlock request Sending the target locker identification attached to the locker, and sending an unlocking instruction to the locker of the locker corresponding to the target locker identification; so that the locker is in an unlocked state.
  • An embodiment of the present specification further provides a locker control method, which is applied to a server.
  • the method includes: receiving a locker status query request sent by a client; wherein the locker status query request points to a target geographic area; Retrieve the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in the occupied state; the locker identifier is used for Indicates a locker; sends the usage information set to the client; and upon receiving an unlock request from the client, sends the lock information to the locker according to a target locker identifier attached to the unlock request The target locker identifier sends a unlocking instruction to the locker of the locker; so that the locker is in an unlocked state.
  • An embodiment of the present specification further provides a server, including: a receiving unit, a retrieval unit, and a sending unit; the receiving unit is configured to receive a locker status query request sent by a client; and the locker status query request is directed to The target geographic area; the retrieval unit is configured to retrieve the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least the lockers of the lockers in the occupied state Identifier; the locker identifier is used to indicate a locker; the sending unit is used to send the usage information set to the client; upon receiving the unlock request sent by the client, according to The target locker identifier attached to the unlock request sends an unlock instruction to a locker of the locker corresponding to the target locker identifier; so that the locker is in an unlocked state.
  • a server including: a receiving unit, a retrieval unit, and a sending unit; the receiving unit is configured to receive a locker status query request sent by a client; and the locker status query request is directed to The
  • An embodiment of the present specification also provides a method for controlling a locker, which is applied to a server.
  • the method includes: in a case where a lock request sent by a client is received, in a locker identifier of a vacant locker, Selecting a target locker identifier; the locker identifier is used to indicate a corresponding locker; sending an unlock instruction to the locker corresponding to the target locker identifier; so that the storage corresponding to the target locker identifier The cabinet lock is unlocked.
  • An embodiment of the present specification further provides a server, including: a processor and a network communication unit; the processor is configured to, in a case of receiving a lock request sent by a client, in a locker identifier of an empty locker , Selecting a target locker identifier; the locker identifier is used to indicate a corresponding locker; and the network communication unit is configured to send an unlock instruction to the locker corresponding to the target locker identifier; The lock of the locker corresponding to the target locker ID is unlocked.
  • a server including: a processor and a network communication unit; the processor is configured to, in a case of receiving a lock request sent by a client, in a locker identifier of an empty locker , Selecting a target locker identifier; the locker identifier is used to indicate a corresponding locker; and the network communication unit is configured to send an unlock instruction to the locker corresponding to the target locker identifier; The lock of the locker corresponding to the target locker ID is unlocked.
  • An embodiment of the present specification also provides a method for controlling a locker, which is applied to a server.
  • the method includes: receiving an unlocking request sent by a client; the unlocking request is accompanied by a target locker identifier; and the target locker identifier It is used to characterize the storage locker to which the unlocking request points; sending a first unlocking instruction to the corresponding router according to the target locker identification; so that the router signals within the coverage range of the router according to the first unlocking instruction
  • the cabinet lock of the target storage cabinet sends a second unlocking instruction, so that the cabinet lock of the target storage cabinet is in an unlocked state.
  • An embodiment of the present specification also provides a method for controlling a locker, which is applied to a client.
  • the method includes: receiving a signal sent by a lock of at least one locker; the signal corresponds to a locker identifier, and the storage
  • the locker ID is used to indicate the locker; according to the received signal, display the corresponding locker ID; receive user input; use the locker ID pointed to by the user input as the target locker ID;
  • An embodiment of the present specification further provides a locker control system, including: a client, a server, a locker, and a router; the locker is used to be installed in the locker; and the locker can receive the server control In the locked state and the unlocked state; in the locked state, the cabinet lock prevents the cabinet door of the locker from opening; in the unlocked state, the cabinet lock releases the barrier to the cabinet door;
  • the client is configured to send an unlock request to the server; the server is configured to receive the unlock request; and a first unlock instruction is sent to the router according to the unlock request; the router is configured to receive the first unlock instruction An unlocking instruction; according to the first unlocking instruction, sending a second unlocking instruction to the cabinet lock of the target locker within the signal coverage of the router, so that the cabinet lock of the target locker is in the unlocked state .
  • the embodiment of the present specification also provides a cabinet lock, which is applied to a storage cabinet, and includes a network communication unit, a processor, and a lock body; the network communication unit is configured to receive an unlocking instruction sent by a server or a router; The terminal sends status information to characterize the status of the locker; the status of the locker includes at least one of the following: vacant status, occupied status; the processor is configured to receive a message sent by the server or the router In the case of the unlock instruction, the lock body is in an unlocked state.
  • this manual provides a locker control system, a locker control method, a lock, a server, an electronic device, and a computer storage medium.
  • the locker control method receives a locker status query request sent by a client; retrieves the use information of the lockers in the target geographic area to form a use information set. According to the feedback usage information, users can query the status of the lockers. For example: vacant status, occupied status, etc.
  • the locker control method may also receive a lock request sent by the client, and send the lock to the lock of the locker corresponding to the target locker according to the target locker identification attached to the unlock request Unlock instruction; so that the cabinet lock is in an unlocked state.
  • the main cabinet originally used for controlling the storage cabinet can be omitted, the equipment cost, the maintenance cost, etc. can be reduced, and the space occupied by the original main cabinet can be saved, which facilitates the management and control of the storage cabinet.
  • FIG. 1 is a schematic diagram of a locker control system according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a cabinet lock function according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a deliveryman inquiring a state of a locker in an embodiment of the present specification
  • FIG. 4 is a schematic diagram of a deliveryman requesting unlocking in the embodiment of the present specification
  • FIG. 5 is a schematic diagram of a user requesting unlocking according to an embodiment of the present specification
  • FIG. 6 is a schematic flowchart of a locker control method according to an embodiment of the present specification.
  • FIG. 7 is a schematic flowchart of another method for controlling a locker in an embodiment of the present specification.
  • FIG. 8 is a schematic diagram of a server module according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic flowchart of another method for controlling a locker in an embodiment of the present specification.
  • FIG. 10 is a schematic flowchart of another locker control method according to an embodiment of the present specification.
  • FIG. 11 is a schematic flowchart of another method for controlling a locker in an embodiment of the present specification.
  • FIG. 12 is a schematic flowchart of another locker control method in the embodiment of the present specification.
  • FIG. 13 is a schematic diagram of a cabinet lock module according to an embodiment of the present specification.
  • the locker control system may include a client, a server, and a lock.
  • the cabinet lock is used to be installed in a storage cabinet; the cabinet lock can receive the server control in a locked state and an unlocked state; in the locked state, the cabinet lock hinders the storage The cabinet door of the cabinet opens; in the unlocked state, the cabinet lock releases the obstruction of the cabinet door.
  • the locker may be a carrier for storing packages.
  • the storage cabinet has a storage space and a cabinet door.
  • the lockers can be placed in a centralized or scattered manner.
  • the cabinet lock may include a network communication unit, a processor, and a lock body.
  • the network communication unit may be configured to receive an unlocking instruction sent by a server or a router.
  • the network communication unit may be further configured to send status information to the server or client to characterize the status of the locker; the status of the locker may include one of the following: vacant status, occupied status, and the like.
  • the processor is configured to drive the lock body when the lock unlocking instruction sent by the server or router is received, so that the lock body is in an unlocked state.
  • the cabinet lock may have an indication function. Specifically, the cabinet lock may be provided with LED lights and the like. When receiving the specified signal, the LED light changes accordingly to remind the user.
  • the cabinet lock may further include a power supply portion.
  • the power supply part is used to supply power to the cabinet lock.
  • the cabinet lock may be electrically connected to a power source through a cable, so that the cabinet lock is energized.
  • the cabinet lock can also be powered by a loaded battery. It can also be powered by solar energy or mechanical power generation to achieve power supply to the cabinet lock. I won't go into details here.
  • the cabinet lock may also have a positioning function. Specifically, for example, positioning of the cabinet lock may be achieved through GPS positioning, WIFI positioning, or base station positioning.
  • the lock of the cabinet can also be located by an IoT device, such as ibeacon, WIFI probe, and the like. I won't go into details here.
  • the cabinet lock can realize the function of opening and closing a cabinet door.
  • the cabinet lock may communicate with other clients or servers to receive instructions to control opening and closing of the cabinet door.
  • the communication may include long-range communication and short-range communication.
  • the cabinet lock may implement long-distance communication through GPRS, 3G, 4G, 5G, wifi, and the like.
  • the cabinet lock can also achieve short-range communication through Bluetooth, NFC, and WIFI Direct.
  • the client may be configured to send an unlock request to the server, so that the server sends an unlock instruction to a cabinet lock of a target locker according to the unlock request, so that the target storage
  • the cabinet lock of the object cabinet is in the unlocked state.
  • the unlock request may be cabinet lock request information directed to a target locker.
  • the server receives the request information, it can execute a corresponding instruction to control the cabinet lock so that it is in an unlocked state.
  • the client may be a desktop computer, a tablet computer, a notebook computer, a smart phone, a digital assistant, a smart wearable device, or the like.
  • smart wearable devices may include smart bracelets, smart watches, smart glasses, smart helmets, and the like.
  • the client is not limited to the above-mentioned electronic device with a certain entity, and it may also be software running in the above-mentioned electronic device.
  • a user may use a client to perform data interaction with a server through a network to send an unlocking request or a query request to the server.
  • the query request may be used to query status information of the locker and the like.
  • the user can perform data interaction with the cabinet lock through the client.
  • an unlock request or an inquiry request is sent via Bluetooth or NFC near field communication technology.
  • the client may be configured to send an unlock request to the server; wherein the unlock request is directed to a cabinet lock of a target locker.
  • the target locker may represent a locker pointed to by a user requesting unlocking.
  • the server may be an electronic device having computing and network interaction functions; it may also be software that runs on the electronic device and provides business logic for data processing and network interaction.
  • the server may be configured to receive the unlock request; according to the unlock request, send an unlock instruction to the lock of the target locker, so that the lock of the target lock is in the lock Unlocked.
  • the server may receive data sent by the user using the client, or may receive data sent by the cabinet lock.
  • the server may be used to receive an unlocking request sent by a client, or may receive status information sent by a cabinet lock, and the status information may indicate that a corresponding locker is in an occupied state or an empty state.
  • a community provides multiple lockers to facilitate access to items purchased by users online.
  • Each locker can have its own corresponding identification. For example: 001, 002, 003, etc.
  • Each locker has a lock.
  • the cabinet lock can receive the server control in a locked state and an unlocked state; in the locked state, the cabinet lock prevents the cabinet door of the locker from opening; in the unlocked state, the cabinet lock Unblock the cabinet door.
  • a user purchases an item online.
  • the goods correspond to the item
  • the logistics number is affixed on the package of the item to identify the item.
  • the delivery person can use the client to scan the QR code on the parcel corresponding to the item to obtain the logistics order number corresponding to the item.
  • a logistics order number is used to identify the corresponding item, and the logistics order number can also be used as the item identification of the item or the package identification of the parcel.
  • the deliveryman when the deliveryman delivers the item to the lockers in the community, the deliveryman opens the deliveryman client and sends a query request to the server to query the lockers near the deliveryman Status information. After receiving the query request, the server feeds back the status information of the corresponding locker.
  • the deliveryman's location information is attached.
  • the server Based on the position information, the server performs calculations with the position information of the lockers stored by the server, and screens out the information of the lockers within 200 meters.
  • the locker information includes an identifier of the locker and corresponding status information.
  • the server will filter the obtained information and send it to the deliveryman client according to the data information of the third-party server, such as the map navigation server. So that the deliveryman client can display the corresponding information to the user. See Figure 3.
  • the deliveryman client can display the corresponding map, where the location of the deliveryman is marked on the map, as well as the nearby locker identification and location.
  • the deliveryman client may also display different colors for the status corresponding to the locker according to the received status information.
  • the client responds according to the received server's identification of the locker and the corresponding status information, and obtains a preset color to display the corresponding locker's identification.
  • the client presets the color of the locker logo to green, so that the deliveryman client displays the color of the locker logo in the vacant status as green.
  • the client presets the color of the locker ID to be red, so that the deliveryman client shows that the locker ID in the occupied state is red.
  • the client presets the color of the locker identification to be yellow, so that the deliveryman client displays the open locker identification color to be yellow.
  • the server calculates and determines the locker ID of the locker closest to the deliveryman to mark and send it to the deliveryman client. So that the deliveryman client identifies the locker closest to the deliveryman. Please refer to FIG. 3.
  • locker 001 is closest to the delivery person, and the server identifies it so that the client displays it accordingly.
  • the deliveryman presses and holds the locker ID “001” of the locker in the vacant state displayed by the deliveryman client.
  • the deliveryman client pops up "Send unlock request", and the deliveryman clicks "Yes”.
  • the deliveryman client sends an unlock request for the locker ID "001" to the server.
  • the cabinet lock corresponds to the locker.
  • the locker identifier corresponds to the cabinet lock identifier.
  • the locker ID corresponding to the locker ID "001" is "A".
  • the server after receiving the unlock request, the server obtains the corresponding lock identifier according to the locker identifier attached to the unlock request. According to the cabinet lock identifier, the server sends an unlock instruction to the cabinet lock indicated by the cabinet lock identifier.
  • the cabinet lock executes a corresponding operation to drive the lock body of the cabinet lock to open, so that the cabinet door is unlocked, and the cabinet door is opened.
  • the delivery person puts the user's purchase in the locker, he closes the door, and the lock body of the lock is locked.
  • the delivery person after the delivery person puts in the user to purchase an item, the delivery person sends information to the server through the delivery person client to indicate that the delivery person has completed delivery of the item.
  • the server After receiving the cabinet information, the server establishes a mapping relationship between the item identifier of the item and the locker identifier to bind the locker and the item.
  • the server marks the status information as occupied to indicate that the locker is in an occupied state.
  • the server determines the user information corresponding to the order according to the order corresponding to the logistics order number, and sends a notification message to the corresponding user client to inform the user that the item he purchased has been entered cabinet.
  • the notification information is accompanied by a corresponding locker identifier to facilitate users to find the locker through the locker identifier.
  • the user client displays the corresponding information to the user after receiving the notification information. See Figure 5.
  • the user can click "Request to open the cabinet” to send the unlock request to the server.
  • the user clicks the "request to open a cabinet” button behind the locker identifiers "001" and "006", respectively.
  • the unlock request sent by the user client is accompanied by the location information of the user client.
  • the server judges the distance between the location information of the user client and the storage cabinet pointed to by the unlock request.
  • the distance between the position when the user sends the unlock request and the pointed storage cabinet is less than 20 meters, which meets the cabinet opening conditions.
  • the server determines that the cabinet opening condition is met, it sends a cabinet opening instruction to the corresponding cabinet lock.
  • the lockers corresponding to "001" and "006" are opened.
  • the user removes the item and closes the cabinet door.
  • the server updates the corresponding locker status information.
  • a user when a user goes to pick up an item, let someone else pick it up.
  • the user uses the user client to send an unlock request to the server.
  • the server calculates the distance between the location information of the user client and the pointing locker attached to the unlock request, and the calculation is 800 meters, which exceeds the preset distance range of 20 meters.
  • the server sends an authentication request to the user client and asks the user whether to continue opening the cabinet. The user clicks "Yes" to make the user client feedback to the server to confirm the information of continuing to open the cabinet.
  • the server receives feedback from the user client to continue opening the cabinet, and sends a cabinet opening instruction to the corresponding cabinet lock, so that the corresponding cabinet lock is unlocked, and the locker door is opened.
  • the server updates the corresponding locker status information.
  • the above implementation scenario provides a scenario where a friend picks up an item.
  • the server may send verification information for confirmation. At the same time, it can also prevent the user from operating by mistake.
  • the door of the locker opens before the corresponding locker is reached.
  • the server determines the user information corresponding to the order according to the order corresponding to the logistics order number, and sends notification information to the corresponding user client to inform the user that the item he purchased has Into the cabinet.
  • the user when a user goes to pick up an item, the user finds the corresponding locker according to the notification information received by the user client.
  • the user uses the user client to scan the QR code on the locker, and generates an unlock request and sends it to the server.
  • the unlocking request is accompanied by user information and identification information characterized by the two-dimensional code of the locker.
  • the server receives the unlocking request sent by the client, the server verifies the information attached to the unlocking request to verify whether the unlocking requirements are met.
  • the server authentication succeeded.
  • the server sends a cabinet opening instruction to the cabinet lock of the corresponding storage cabinet, so that the corresponding cabinet lock is unlocked, and the cabinet door is opened.
  • a user goes to pick up an item.
  • the user scans the two-dimensional code on the locker using the user client, the user scans the two-dimensional code on the other locker by mistake, and generates an unlocking request and sends it to the server.
  • the unlocking request is accompanied by user information and identification information characterized by the two-dimensional code of the locker.
  • the server receives the unlocking request sent by the client, the server verifies the information attached to the unlocking request to verify whether the unlocking requirements are met.
  • the user's corresponding locker ID should be “001”, and the QR code of the “002” locker scanned.
  • the server attached the user information and identification information represented by the two-dimensional code of the locker in the unlock request, the verification failed. And returning to the client information that the unlocking failed.
  • a community provides multiple lockers to facilitate access to items purchased by users.
  • Each locker can have its own corresponding identification. For example: 001, 002, 003, etc.
  • Each locker has a lock.
  • the locker ID of the corresponding locker on the server side is also used as the ID of the corresponding lock.
  • the cabinet lock can receive the deliveryman client's control in a locked state and an unlocked state; in the locked state, the cabinet lock prevents the cabinet door of the locker from opening; in the unlocked state, The cabinet lock unblocks the cabinet door.
  • the locker can also send status information to the deliveryman client and server through its network communication unit to characterize the status of the locker.
  • the server can update the status information of the lockers in the community in real time.
  • a user purchases an item online.
  • the deliveryman delivers the item to the locker in the community
  • the deliveryman observes the indicator light on the locker.
  • the indicator light is red, it indicates that the locker is occupied, and when the indicator light is green, it indicates that the locker is vacant.
  • the indicator on the locker with the locker ID "001" is green.
  • the deliveryman initiates a pairing request to the locker of the locker through his deliveryman client, and the pairing request is accompanied by the identity information of the deliveryman client.
  • the locker verifies the identity information. After the verification is passed, the pairing is successful, and the deliveryman client can perform data interaction with the locker.
  • the deliveryman client after the deliveryman client has successfully paired with the cabinet lock via Bluetooth, the deliveryman sends an unlock request to the cabinet lock through his deliveryman client, so that the cabinet lock drives the lock body to open, Keep it unlocked.
  • the deliveryman sends the corresponding locker ID and item ID to the server after placing the item, so that the server binds the locker ID and the item ID to the corresponding user Send notification information.
  • the above scenario example can realize the request to open the locker of the locker through the short-range communication technology.
  • a community provides multiple lockers to facilitate access to items purchased by users.
  • Each locker can have its own corresponding identification.
  • Each locker corresponds to a lock.
  • the lock can receive the deliveryman client control in a locked state and an unlocked state. In the locked state, the lock lock obstructs the cabinet door of the locker. Open; in the unlocked state, the cabinet lock releases obstruction to the cabinet door.
  • the locker can also send status information to the deliveryman client and server through its network communication unit to characterize the status of the locker.
  • the server can update the status information of the lockers in the community in real time.
  • a user purchases an item online.
  • the deliveryman uses the deliveryman client to poll the nearby locks to query the status information of each locker in turn.
  • the locker with the locker ID "001" indicates that the locker is vacant.
  • the deliveryman uses the deliveryman client to send an unlock request to the locker with the locker identification "001".
  • the unlocking request is accompanied by identification information of the delivery person.
  • the locker of the locker with the locker ID "001" is in an unlocked state, and records the identity information of the unlocked delivery person for verification by the server.
  • a community provides multiple lockers to facilitate access to items purchased by users.
  • Each locker can have its own corresponding identification. For example: 001, 002, 003, etc.
  • Each locker has a lock.
  • the locker ID of the corresponding locker on the server side is also used as the ID of the corresponding lock.
  • the server sends an unlock instruction to the router for the specified cabinet lock.
  • the router determines a corresponding designated cabinet lock according to its configuration list, sends an unlock instruction to it, and controls the cabinet lock to make it in an unlocked state.
  • the cabinet lock drives its lock body to open so that it is in an unlocked state.
  • An embodiment of the present specification also provides a method for controlling a locker, which is applied to a client.
  • the method may include the following steps.
  • Step S10 Receive a locker identifier of the locker sent by the server; the locker identifier is used to indicate a locker.
  • the storage cabinet may be a cabinet having a certain space for storing articles. Specifically, for example, a locker for express delivery in a community; or a locker for storing items when shopping in a supermarket.
  • the locker identifier is used to indicate a locker.
  • the locker identification may be a number or a letter.
  • the locker identifier may be stored in the server to indicate a corresponding locker. The user can find the corresponding locker according to the locker identification.
  • the user may receive the locker identifier of the locker sent by the server through the client.
  • the client may receive input from the user to send a query request to the server for querying the identification of the locker.
  • the server receives the query request, it sends the locker ID of the locker to the client.
  • the data interaction between the client and the server can send or receive data information through a specific protocol.
  • transmission can be performed through protocols such as TCP / IP protocol (Transmission Control Protocol / Internet Protocol / Internet Protocol) and Hypertext Transfer Protocol (HTTP, HyperText Transfer Protocol).
  • TCP / IP protocol Transmission Control Protocol / Internet Protocol / Internet Protocol
  • HTTP Hypertext Transfer Protocol
  • Step S12 According to the received locker identifier, determine a locker in a vacant state.
  • a locker in an empty state is determined.
  • the locker identifier sent by the server includes a locker in a vacant state and a locker in another state, and the server marks the locker identifier of the locker in a vacant state. .
  • the client determines the locker corresponding to the marked locker identifier as the locker in the vacant state.
  • the server only sends the locker ID of the locker in the vacant state, and the client determines the locker corresponding to the received locker ID as the locker in the vacant state.
  • the server sends the locker identifier it also sends status information of the corresponding locker. See table 1 below.
  • the server adds a status information attribute to the storage locker corresponding to the storage locker identification, so that the client determines the storage locker whose status information is "vacant status" as the storage locker according to the received information.
  • Step S14 receiving a user input; wherein the locker identifier of the locker in the vacant state pointed to by the user input is the target locker identifier.
  • the user inputs an identifier for selecting a target locker.
  • the user input may include a preset operation of the user on the client interface. For example, when the user presses the screen of the device more than a preset threshold, the user presses the corresponding locker identifier as the target locker identifier. Of course, users can also determine the target locker ID by shaking the client device.
  • User input may also include receiving signals generated by external devices. For example, receiving gesture operation information of a VR device.
  • User input may also include the reception or change of a sound signal. For example, the voice signal is received, and the sound attribute value is greater than a preset attribute value. It should be noted that the manner of user input is not limited to the above examples.
  • the target locker identifier is used to characterize a locker identifier to which a user input points.
  • Step S16 sending a lock unlock request to the server; the lock request is accompanied by the target locker identification, so that the server issues a lock instruction to the locker corresponding to the target locker identification, so that A cabinet lock corresponding to the target locker is in an unlocked state.
  • the unlock request is used to request unlocking of a cabinet lock corresponding to the target locker identifier.
  • the server may issue an unlock instruction to a cabinet lock corresponding to the target locker identifier according to the target locker identifier attached to the unlock request.
  • the cabinet lock corresponding to the target locker receives the unlocking instruction, the lock body of the cabinet lock is driven to unlock, so that it is in an unlocked state.
  • an unlock request is sent to the server.
  • the client sends a lock unlock request to the server.
  • the client sends a lock unlock request to the server.
  • the user clicks "Request unlock”.
  • the user inputs "request to unlock locker No. 001", etc., to achieve a trigger condition. I won't go into details here.
  • the locker corresponding to the locker identifier sent by the server is in an empty state; correspondingly, in the step of determining the locker in the empty state, the received corresponding locker identifier is stored.
  • the locker acts as a vacant locker.
  • the locker corresponding to the locker identifier sent by the server is in an empty state.
  • the server may obtain the locker ID of the locker in the vacant state according to the status information of the locker, and send the locker ID to the client.
  • the client uses the locker corresponding to the received locker identifier as the locker in the vacant state.
  • the storage locker corresponding to the storage locker ID sent by the server is in an occupied state; correspondingly, in the step of determining the storage locker in a vacant state, the storage locker ID set is stored and removed. After the lockers in the occupied state are identified, the lockers corresponding to the remaining locker identifiers are used as the lockers in the vacant state.
  • the locker corresponding to the locker identifier sent by the server is in an occupied state.
  • the server may send only the locker identifier of the locker in the occupied state.
  • the lockers corresponding to the remaining locker IDs are regarded as being in the Vacant lockers.
  • the client side may store a locker identifier of a locker in a corresponding area. After receiving the locker ID sent by the server, the client matches the received locker ID with the stored locker ID. When the matching is successful, a mark is made, and the locker indicated by the marked locker ID is in an occupied state. The client determines the locker corresponding to the unlabeled locker ID as the locker that is vacant.
  • the state of the lockers is vacant and occupied, and the client can receive the locker ID of the locker in the occupied state, and use the lockers corresponding to the remaining locker IDs as the vacant Locker. In this way, it is also possible to distinguish the lockers corresponding to the lockers in the occupied state from the lockers in the vacant state.
  • the method may further include the following steps: receiving status information of the lockers sent by the server, and the status information indicates that the corresponding lockers are in an occupied state or an empty state.
  • the occupancy status indicates that the locker is in an occupant state, and items have been stored in the locker. Identification of the locker in the vacant state No items are stored in the locker and are available for use.
  • the server may establish a mapping relationship between the status information and the locker identifier, so that the status information corresponds to the locker identifier to characterize the corresponding locker.
  • the server may be provided with a locker identifier, and may also be provided with a status attribute.
  • the status attribute includes status information to indicate the status of the locker.
  • the server can obtain the corresponding status information by sending the status information of the corresponding locker to the server through the cabinet lock, or by the signal sent by the cabinet lock to the server.
  • the status information obtained by the server processing can also be based on The data information sent by the user to the server, and the obtained status information is processed. For example, a delivery person closes a cabinet door after putting in an item. At this time, the cabinet lock sends status information "occupied status" to the server, so that the server updates the status information of the corresponding locker.
  • the server side switches the status information once, and the status information includes "vacant status" and "occupied status". For example, the deliveryman closes the door after putting in the item.
  • the cabinet lock sends a signal to the server to lock the cabinet lock, and the server changes the corresponding status information from "vacant status" to "occupied status".
  • the cabinet lock will also send a signal to the server to lock the cabinet lock.
  • the server changes the corresponding status information from "occupied status” to "vacant status”.
  • the server can also process the status information according to the data information sent by the client. For example, after a delivery person puts an item in a locker, the client sends information to the server through the client to indicate that the item has been placed in the corresponding locker. After receiving the information, the server updates the status information of the pointed locker to "occupied status".
  • those skilled in the art may make other changes under the inspiration of the technical essence of this application, but as long as the functions and effects achieved by the application are the same or similar to this application, they should be covered by the protection scope of this application.
  • the client can determine the locker in the vacant state based on the received locker identification and status information. Users can also view the status information of the lockers through the client.
  • An embodiment of the present specification further provides an electronic device including at least: a network communication unit and a processor.
  • the network communication unit is configured to receive a storage cabinet identifier of a storage cabinet sent by a server; and the storage cabinet identifier is used to indicate a storage cabinet.
  • the processor is configured to determine the locker in the vacant state according to the received locker identifier; receive user input; wherein the locker identifier of the locker in the vacant state pointed to by the user input is targeted Locker identification; controlling the network communication unit to send an unlocking request to the server; the unlocking request is accompanied by the target locker identification, so that the server responds to the target locker identification
  • the cabinet lock issues an unlocking instruction, so that the cabinet lock corresponding to the target locker is in an unlocked state.
  • the network communication unit may be a virtual unit that is bound to different communication protocols so that different data can be sent or received.
  • the network communication unit may be a unit responsible for web data communication, a unit responsible for FTP data communication, or a unit responsible for mail data communication.
  • the network communication unit may also be a physical communication interface or a communication chip.
  • it can be a wireless mobile network communication chip, such as GSM, CDMA, etc .; it can also be a Wifi chip, Bluetooth chip, and so on.
  • a processor may be implemented in any suitable manner.
  • a processor may take, for example, a microprocessor or processor and a computer-readable medium, logic gates, switches, application-specific integrated circuits (computer- Application Specific Integrated Circuit (ASIC), programmable logic controller and embedded microcontroller form, etc. This application is not limited.
  • ASIC application Specific Integrated Circuit
  • This embodiment provides an electronic device, and related terms may be interpreted according to the content of the foregoing embodiment, and details are not described herein again.
  • An embodiment of the present specification further provides a computer storage medium, where the computer storage medium stores computer program instructions, and the computer program instructions are implemented by a processor to implement: receiving a locker identifier of a locker sent by a server; A locker identifier is used to indicate a locker; a locker in a vacant state is determined according to the received locker identifier; a user input is received; wherein the user input points to a locker in a vacant state
  • the locker ID is the target locker ID; the unlock request is sent to the server; the lock request is accompanied by the target locker ID, so that the server sends the target locker ID corresponding to the target locker ID.
  • the cabinet lock issues an unlocking instruction, so that the cabinet lock corresponding to the target locker is in an unlocked state.
  • the computer storage medium includes, but is not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), Cache, and Hard Disk Drive. HDD) or memory card.
  • RAM Random Access Memory
  • ROM Read-Only Memory
  • HDD Hard Disk Drive
  • This embodiment provides a computer storage medium, and related terms may be interpreted according to the content of the foregoing embodiment, and details are not described herein again.
  • An embodiment of the present specification also provides a method for controlling a locker, which is applied to a server, and the method includes the following steps.
  • Step S20 Receive a locker status query request sent by the client; wherein the locker status query request is directed to a target geographic area.
  • the locker status query request is used to query the status of the locker in the target geographic area.
  • the states may include a vacant state, an occupied state, an opened state, a predetermined state, and the like.
  • the reservation status indicates that the locker has been reserved by a person within a specific time.
  • the target geographic area may refer to an area corresponding to a locker that a user wants to query.
  • a geographic area specified by a user through a client may also refer to a geographic area near a default user.
  • the target geographic area is cell A.
  • the server defaults to the user's location information attached to the locker status query request sent by the client.
  • the target geographic area is within 500 meters of the location information. I won't go into details here.
  • Step S22 Retrieving the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in a vacant state; the locker The logo is used to indicate a locker.
  • the usage information is used for information corresponding to the status query request.
  • the server retrieves the status information of the lockers in the target geographic area and the corresponding locker identifier, and filters to obtain the storage in the vacant state Locker identification of the locker.
  • the use information is a locker identifier obtained by screening.
  • the usage information may further include a locker identifier and corresponding status information.
  • the usage information set is used to characterize the collection of usage information.
  • the use information set includes at least a locker identifier of the locker in a vacant state.
  • the use information of the lockers in the target geographic area is retrieved. Specifically, matching can be performed with the target geographic area according to the geographic location information of the locker. When the matching is successful, the usage information of the corresponding locker is obtained.
  • the use information set includes at least a locker identifier of a locker in an empty state, and may further include a locker identifier of a locker in another state, and corresponding status information.
  • Step S24 Send the usage information set to the client.
  • Step S26 In the case of receiving the unlocking request sent by the client, according to the target locker identification attached to the unlocking request, send an unlocking instruction to the locker corresponding to the target locker identification. To make the cabinet lock in an unlocked state.
  • the unlock instruction is used to instruct the corresponding cabinet lock to be unlocked.
  • the cabinet lock may be driven to unlock according to the unlocking instruction, so that the cabinet lock is in an unlocked state.
  • the server may send an unlocking instruction to a cabinet lock corresponding to the target locker identifier according to the target locker identifier attached to the unlock request.
  • the unlock request received by the server is accompanied by the target locker identifier “001”, and the server sends an unlock instruction to the locker according to the locker corresponding to the locker identifier.
  • the usage information set includes status information corresponding to the locker identifier; the status information is used to indicate that the corresponding locker is in an occupied state or an empty state.
  • the use information set includes status information corresponding to the locker identifier, and is used to indicate a status of the corresponding locker.
  • the method further includes the following steps.
  • Step S30 Receive an item identifier sent by the client; the item identifier is used to indicate an item stored in the locker indicated by the target locker identifier.
  • the item ID is used to indicate an item stored in the locker indicated by the target locker ID.
  • the item identifier may be a logistics order number or the like.
  • the expression form of the article identifier may be a two-dimensional code, a barcode, or a group of letters. The client can obtain the item identification by scanning the code, or according to the item identification sent in advance by the server. I won't go into details here.
  • the item identification sent by the client may be input by a user.
  • the item identifier is sent to the server.
  • the deliveryman uses the client to input the item identification, the corresponding locker identification, etc., and clicks the "send" button to send the item identification to the server.
  • the deliveryman uses the client to scan the QR code of the item, obtains the item identification for the item, and sends the item identification to the server.
  • Step S32 Binding the item identifier and the target locker identifier.
  • the item identifier and the target locker identifier are bound. Specifically, it may refer to establishing a mapping relationship between the server and the corresponding target locker identifier according to the received item identifier.
  • the server may establish a table or establish an attribute of the target locker identifier, and the attribute includes the item identifier to establish a mapping relationship.
  • the item identifier and the target locker identifier are bound, so that the user can find the locker corresponding to the item and facilitate the extraction.
  • the step of retrieving the use information of the lockers in the target geographic area may include: calculating and obtaining a specified distance threshold according to the client location information attached to the locker status query request The locker identification of the locker.
  • the client location information is used to characterize the location of the client.
  • the client location information may be longitude and latitude information.
  • the client may obtain the client location information through GPS or the like. I won't go into details here.
  • a locker identifier of a locker in a vacant state within a specified distance threshold is calculated and obtained.
  • the server may calculate the distance value between the client and the locker based on the location information of the client. For different lockers, get the corresponding distance value. Compare with a specified distance threshold based on at least one distance value. When the specified distance threshold is less than or equal to the specified distance threshold, a corresponding locker identifier is determined. For example, the specified distance threshold is 200 meters, and the corresponding locker ID within 200 meters is calculated.
  • the locker ID of the locker may also include filtering to obtain the locker ID in an empty state or the locker ID in an occupied state. I won't go into details here.
  • a locker identifier of a locker corresponding to the client location information within a specified distance threshold can be calculated. For users to query.
  • An embodiment of the present specification provides a server, which may include a receiving unit, a searching unit, and a sending unit.
  • the receiving unit is configured to receive a locker status query request sent by a client; wherein the locker status query request is directed to a target geographic area.
  • the retrieval unit is configured to retrieve use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in a vacant state; the The locker logo is used to indicate a locker.
  • the sending unit is configured to send the usage information set to the client.
  • the sending unit is further configured to, when receiving the unlock request sent by the client, identify the cabinet corresponding to the locker to the target locker according to the target locker identification attached to the unlock request.
  • the lock sends an unlocking instruction; so that the cabinet lock is in an unlocked state.
  • An embodiment of the present specification provides an electronic device, which may include a network communication unit and a processor.
  • the network communication unit is configured to receive a locker status query request sent by a client; wherein the locker status query request is directed to a target geographic area.
  • the processor is configured to retrieve the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in a vacant state; the storage
  • the locker identifier is used to indicate a locker; controlling the network communication unit to send the usage information set to the client; and in the case of receiving the unlock request sent by the client, according to the unlock request
  • the attached target locker identifier sends an unlocking instruction to a locker of the locker corresponding to the target locker identifier; so that the locker is in an unlocked state.
  • An embodiment of the present specification provides a computer storage medium that stores computer program instructions, and the computer program instructions are implemented by a processor to implement: receiving a locker status query request sent by a client; wherein, the The locker status query request points to the target geographic area; retrieves the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least the storage of the lockers in the empty state A locker identifier; the locker identifier is used to indicate a locker; sending the usage information set to the client; and upon receiving the unlock request sent by the client, according to the unlock request The attached target locker identifier sends an unlocking instruction to a locker of the locker corresponding to the target locker identifier; so that the locker is in an unlocked state.
  • An embodiment of the present specification also provides a method for controlling a locker, which is applied to a server.
  • the method includes:
  • Step S40 receiving a locker status query request sent by the client; wherein the locker status query request points to a target geographic area;
  • Step S42 retrieve the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in the occupied state; the locker The logo is used to indicate a locker;
  • Step S44 sending the usage information set to the client
  • Step S46 In the case of receiving the unlocking request sent by the client, according to the target locker identification attached to the unlocking request, send an unlocking instruction to the locker corresponding to the target locker identification. To make the cabinet lock in an unlocked state.
  • the use information set includes at least a locker identifier of the locker in an occupied state.
  • the server may obtain the locker ID of the locker in the occupied state by filtering according to the stored locker ID and corresponding status information.
  • the status information may be information received from other objects, such as a user client or cabinet lock, or may be obtained by processing the received information from other objects. I won't go into details here.
  • the server sends the usage information set to the client.
  • the server may send the locker identifier of the locker in the occupied state.
  • the client uses the locker corresponding to the remaining locker ID as the vacant according to the stored locker ID of the target geographic location. State lockers.
  • a server-side storage locker control method can be provided, which is convenient for a user to query the status information of the storage locker and implement management control on the storage locker.
  • An embodiment of the present specification further provides a server, which may include a receiving unit, a searching unit, and a sending unit.
  • the receiving unit is configured to receive a locker status query request sent by a client; wherein the locker status query request is directed to a target geographic area.
  • the retrieval unit is configured to retrieve use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in an occupied state; the The locker logo is used to indicate a locker.
  • the sending unit is configured to send the usage information set to the client.
  • the sending unit is further configured to, when receiving the unlock request sent by the client, identify the cabinet corresponding to the locker to the target locker according to the target locker identification attached to the unlock request.
  • the lock sends an unlocking instruction; so that the cabinet lock is in an unlocked state.
  • An embodiment of the present specification also provides a method for controlling a locker, which is applied to a server.
  • the method includes:
  • Step S50 In the case of receiving the unlocking request sent by the client, among the locker IDs of the vacant lockers, a target locker ID is selected; the locker ID is used to indicate the corresponding storage Lockers.
  • Step S52 Send an unlock instruction to the locker corresponding to the target locker identifier; so that the locker of the locker corresponding to the target locker identifier is in an unlocked state.
  • the target locker ID is selected.
  • the server may calculate a locker identifier within a distance threshold specified by the location information of the client. Screening to get the locker ID of an empty locker.
  • a locker identifier is randomly selected for selection.
  • a locker identifier of the vacant locker that is closest to the client location information is determined for selection. I won't go into details here.
  • the locker ID selected by the server is used as the target locker ID, and an unlock instruction is sent to the locker corresponding to the target locker ID.
  • the unlock instruction sent by the client to the server may be a signal. Select the target locker ID on the server side to control the locker.
  • the step of selecting the target locker identification includes: determining, according to the location information of the client and the location information of the locker in the vacant state, the closest one to the client in the vacant state.
  • the locker uses the locker ID of the locker as the target locker ID.
  • a storage locker that is closest to the client in a vacant state is determined.
  • the server may pre-screen to obtain the locker ID corresponding to the locker in the vacant state.
  • the distances between the lockers and the client are calculated respectively, and the locker identifiers of the closest lockers are determined.
  • the server can calculate the distance between the locker and the client. Mark the corresponding lockers in order of distance. According to the distance from near to far, the state information of the lockers corresponding to the locker identifiers is sequentially verified.
  • the status information is vacant, the step is stopped, and the locker identifier is determined to be the target locker identifier.
  • the locker corresponding to the locker identifier is closest to the client and is in an empty state.
  • the selection of the target locker identifier is further limited.
  • the locker corresponding to the target locker identification is closest to the client, which is convenient for users to store items.
  • An embodiment of the present specification further provides a server, which may include a processor and a network communication unit.
  • the processor is configured to select a target locker ID among the locker IDs of the vacant lockers when receiving the unlocking request sent by the client; the locker ID is used to indicate a corresponding Lockers.
  • the network communication unit is configured to send an unlock instruction to the locker corresponding to the target locker identifier; so that the locker of the locker corresponding to the target locker identifier is in an unlocked state.
  • An embodiment of the present specification provides a method for controlling a locker, which is applied to a server.
  • the method includes:
  • Step S60 receiving an unlocking request sent by the client; the unlocking request is accompanied by a target locker identifier; the target locker identifier is used to characterize the locker to which the unlocking request is directed.
  • Step S62 sending a first unlocking instruction to the corresponding router according to the target locker identification, so that the router sends a signal of the target locker within the signal coverage range to the router according to the first unlocking instruction.
  • the cabinet lock sends a second unlocking instruction, so that the cabinet lock of the target storage cabinet is in an unlocked state.
  • the server may determine a corresponding router according to the unlock request. For example, the server compares the target locker ID with the router's storage area based on the locker ID of the router and the lockers within its coverage area, and the server's target locker ID attached to the unlock request. The locker IDs of the lockers match. If the match is successful, the router is determined as the corresponding router.
  • a first unlocking instruction is sent to a corresponding router, and the first unlocking instruction may be accompanied by the target locker identification, so that the router sends an unlocking lock to a cabinet lock corresponding to the target locker identification. instruction.
  • the router may have an independent operating system.
  • the router may include a processor and a network communication unit, so as to control the router to a storage cabinet within its coverage area.
  • the embodiment of the present specification provides a method for controlling a locker, which is applied to a client.
  • the method may include the following steps.
  • Step S70 Receive a signal sent by a cabinet lock of at least one storage cabinet; the signal corresponds to a storage cabinet identification, and the storage cabinet identification is used for the storage cabinet indicated.
  • the signal corresponds to a locker identifier, and is used to identify the corresponding locker.
  • the information may also be accompanied by status information of the locker. It is not specifically limited here. When there is no status information of the attached locker, the user can view the status information of the locker according to the indicator of the lock corresponding to the locker identification.
  • a signal sent by a cabinet lock of at least one locker is received.
  • the client may be connected to the locker of the locker via Bluetooth / NFC near field communication technology and the like.
  • a signal is sent from the lock of at least one locker.
  • the cabinet lock sends a signal to the client.
  • the client sends a request to the locker to receive signals from the locker.
  • Step S72 Display the corresponding locker identification according to the received signal.
  • the client displays to the user through the display for the user to make a query or input selection.
  • Step S74 Receive user input; use the locker ID pointed to by the user input as the target locker ID.
  • the user inputs an identifier for selecting a target locker.
  • the user input may include a preset operation of the user on the client interface. For example, when the user presses the screen of the device more than a preset threshold, the user presses the corresponding locker identifier as the target locker identifier. Of course, users can also determine the target locker ID by shaking the client device.
  • User input may also include receiving signals generated by external devices. For example, receiving gesture operation information of a VR device.
  • User input may also include the reception or change of a sound signal. For example, the voice signal is received, and the sound attribute value is greater than a preset attribute value. It should be noted that the manner of user input is not limited to the above examples.
  • the target locker identifier is used to characterize a locker identifier to which a user input points.
  • Step S76 An unlocking signal sent to the locker of the locker indicated by the target locker identifier, so that the locker is in an unlocked state.
  • the method further includes the steps of: sending an item identification and the target locker identification to a server; so that the server binds the item identification and the target locker identification;
  • the item identifier is used to indicate an item stored in the locker indicated by the target locker identifier.
  • a mapping relationship is established between the item identifier and the target locker identifier on the server side for binding.
  • the embodiments of the present specification provide a locker control system.
  • the locker control system includes a client, a server, a lock, and a router.
  • the cabinet lock is used to be installed in the storage cabinet; the cabinet lock can receive the server control in a locked state and an unlocked state; in the locked state, the cabinet lock obstructs the cabinet of the storage cabinet The door is open; in the unlocked state, the cabinet lock releases obstruction to the cabinet door.
  • the client is configured to send an unlock request to the server.
  • the unlock request may be directed to a cabinet lock of a target locker.
  • the server is configured to receive the unlocking request; and send a first unlocking instruction to the router according to the unlocking request.
  • the router is configured to receive the first unlocking instruction; and according to the first unlocking instruction, send a second unlocking instruction to a cabinet lock of the target locker within the signal coverage of the router, so that the target storage The cabinet lock of the object cabinet is in the unlocked state.
  • the embodiment of the present specification provides a cabinet lock, which is applied to a storage cabinet and includes a network communication unit, a processor, and a lock body.
  • the network communication unit is configured to receive an unlocking instruction sent by a server or a router.
  • the network communication unit is further configured to send status information to the server or client to characterize the status of the locker; the status of the locker includes at least one of the following: vacant status, occupied status.
  • the processor is configured to make the lock body in an unlocked state when a lock unlocking instruction sent by the server or the router is received.
  • the network communication unit may be a virtual unit that is bound to different communication protocols so that different data can be sent or received.
  • the network communication unit may be a unit responsible for web data communication, a unit responsible for FTP data communication, or a unit responsible for mail data communication.
  • the network communication unit may also be a physical communication interface or a communication chip.
  • it can be a wireless mobile network communication chip, such as GSM, CDMA, etc .; it can also be a Wifi chip, Bluetooth chip, and so on.
  • the lock body may be a lock body of a lock tongue associated with the cabinet door.
  • the lock body may be a mechanical part of the cabinet lock.
  • the lock body may be driven to perform an unlocking action.
  • the cabinet lock is further provided with an indicator; the indicator is used to indicate the state of the locker.
  • the indicator is used to indicate a state of the locker.
  • the indicator may be an LED light or the like.
  • the server may further include an instruction for the indicator in the instruction for sending the unlock instruction, and when the instruction is received, the indicator light is on to remind the user.
  • the delivery person sends data to the server through the client, and the data indicates that the data has been stored in the locker.
  • the server may send an instruction corresponding to the indicator to the cabinet lock to make the indicator display red and the like.
  • the server mentioned in the embodiments of the present specification may be an electronic device with a certain computing processing capability. It may have a network communication terminal, a processor, a memory, and the like. Of course, the server may also refer to software running in the electronic device.
  • the above server may also be a distributed server, which may be a system with multiple processors, memory, network communication modules, and other cooperative operations.
  • a programmable logic device Programmable Logic Device (PLD)
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • VHDL Very-High-Speed Integrated Circuit Hardware Description Language
  • Verilog2 Verilog2.
  • the method steps can be logically programmed to make the client and server use logic gates, switches, application-specific integrated circuits, and programmable logic. Controller and embedded microcontroller to achieve the same function. Therefore, such a client and a server can be regarded as a kind of hardware component, and a device included therein for implementing various functions can also be regarded as a structure within the hardware component. Or even, the means for implementing various functions may be regarded as a structure that can be both a software module implementing the method and a hardware component.
  • program modules include routines, programs, objects, components, data structures, and so on that perform particular tasks or implement particular abstract data types.
  • This specification can also be practiced in distributed computing environments in which tasks are performed by remote processing devices connected through a communication network.
  • program modules may be located in local and remote computer storage media, including storage devices.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

Provided are a storage cabinet control system, a storage cabinet control method and a cabinet lock. The storage cabinet control method comprises: receiving a storage cabinet state query request sent by a client, said storage cabinet state query request referring to a target geographic region (S20); retrieving storage cabinet usage information within the target geographic region and forming a usage information set, said usage information set at least comprising storage cabinet identifiers of storage cabinets in a vacant state, and the storage cabinet identifiers being used to represent storage cabinets (S22); sending the usage information set to the client (S24); under circumstances in which an unlocking request sent by the client is received, according to a target storage cabinet identifier attached to the unlocking request, sending an unlocking instruction to a cabinet lock corresponding to the target storage cabinet identifier such that the cabinet lock is in an unlocked state (S26). The described technical solution may be used to control storage cabinets, and a main cabinet of the storage cabinets is not needed, thus reducing maintenance costs.

Description

储物柜控制系统、储物柜控制方法以及柜锁Locker control system, locker control method, and lock
本申请要求2018年06月27日递交的申请号为201810678965.4、发明名称为“储物柜控制系统、储物柜控制方法以及柜锁”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority from a Chinese patent application filed on June 27, 2018 with an application number of 201810678965.4 and the invention name is "Locker Control System, Locker Control Method, and Cabinet Lock", the entire contents of which are incorporated herein by reference. In this application.
技术领域Technical field
本说明书涉及储物柜控制领域,特别涉及储物柜控制系统、储物柜控制方法以及柜锁。This manual relates to the field of locker control, and particularly to a locker control system, a locker control method, and a lock.
背景技术Background technique
现实中,人们经常会用到储物柜。例如,去超市购物时,使用超市的储物柜存储自己的东西;再例如,用户在网上购物时,快递员将用户购买的物品寄存在储物柜。In reality, people often use lockers. For example, when you go to the supermarket for shopping, you use the supermarket's lockers to store your things; for another example, when a user is shopping online, the courier stores the items purchased by the user in the locker.
通常情况下,多个储物柜对应有一个主柜,主柜一般是主柜+屏幕+键盘模式。快递员在主柜上输入帐号登录,然后录入包裹信息。对应的,收件人会受到一条带有取件码的短信,短信中包括取件码。收件人在主柜上输入取件码,打开柜子取走包裹。Under normal circumstances, multiple storage cabinets correspond to a main cabinet, and the main cabinet is generally the main cabinet + screen + keyboard mode. The courier enters the account number on the main cabinet to log in, and then enters the parcel information. Correspondingly, the recipient will receive a text message with a pickup code, which includes the pickup code. The recipient enters the pickup code on the main cabinet and opens the cabinet to pick up the package.
发明内容Summary of the invention
本说明书实施方式提供一种储物柜控制系统、储物柜控制方法、柜锁、服务器、电子设备、计算机存储介质。有助于管理所述储物柜。The embodiments of the present specification provide a locker control system, a locker control method, a lock, a server, an electronic device, and a computer storage medium. Helps manage the lockers.
本说明书实施方式提供一种储物柜控制系统包括:客户端、服务器、柜锁;所述柜锁用于安装在所述储物柜;所述柜锁能接收所述服务器控制处于锁定状态和解锁状态;在所述锁定状态下,所述柜锁阻碍所述储物柜的柜门打开;在所述解锁状态下,所述柜锁解除对所述柜门的阻碍;所述客户端用于向所述服务器发送开锁请求,以使所述服务器根据所述开锁请求,向目标储物柜的柜锁发送开锁指令,以使所述目标储物柜的柜锁处于所述解锁状态。An embodiment of the present specification provides a locker control system including: a client, a server, and a lock; the lock is used to be installed in the locker; the lock can receive the server control in a locked state and Unlocked state; in the locked state, the cabinet lock prevents the cabinet door of the locker from opening; in the unlocked state, the cabinet lock releases the barrier to the cabinet door; the client is used by An unlock request is sent to the server, so that the server sends an unlock instruction to the cabinet lock of the target locker according to the unlock request, so that the cabinet lock of the target locker is in the unlocked state.
本说明书实施方式还提供一种储物柜控制方法,应用于客户端,所述方法包括:接收服务器发送的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;根据所述接收的储物柜标识,确定处于空置状态的储物柜;接收用户输入;其中,所述用户输入指向的处于空置状态的储物柜的储物柜标识为目标储物柜标识;向所述服务器发送开锁请求;所述开锁请求中附带有所述目标储物柜标识,以使所述服务器向所述目标储物柜标识所 对应的柜锁发出开锁指令,以使所述目标储物柜对应的柜锁处于解锁状态。An embodiment of the present specification also provides a method for controlling a locker, which is applied to a client. The method includes: receiving a locker identifier of a locker sent by a server; the locker identifier is used to indicate a locker; Determine the locker in the vacant state according to the received locker identifier; receive user input; wherein the locker identifier of the locker in the vacant state pointed to by the user input is the target locker identifier; Sending an unlock request to the server; the target locker identification is attached to the unlock request, so that the server issues an unlock instruction to the locker corresponding to the target locker identification, so that the target The lock of the locker is unlocked.
本说明书实施方式还提供一种电子设备,包括:网络通信单元和处理器;所述网络通信单元用于接收服务器发送的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;所述处理器用于根据所述接收的储物柜标识,确定处于空置状态的储物柜;接收用户输入;其中,所述用户输入指向的处于空置状态的储物柜的储物柜标识为目标储物柜标识;控制所述网络通信单元向所述服务器发送开锁请求;所述开锁请求中附带有所述目标储物柜标识,以使所述服务器向所述目标储物柜标识所对应的柜锁发出开锁指令,以使所述目标储物柜对应的柜锁处于解锁状态。An embodiment of the present specification further provides an electronic device, including: a network communication unit and a processor; the network communication unit is configured to receive a locker identifier of a locker sent by a server; and the locker identifier is used to indicate storage A locker; the processor is configured to determine a locker in a vacant state according to the received locker identifier; receive a user input; wherein the user input points to a locker in a vacant locker The identifier is a target locker identifier; controlling the network communication unit to send an unlock request to the server; the lock request is accompanied by the target locker identifier to enable the server to identify the target locker The corresponding cabinet lock issues an unlocking instruction, so that the cabinet lock corresponding to the target storage cabinet is in an unlocked state.
本说明书实施方式还提供一种计算机存储介质,所述计算机存储介质存储有计算机程序指令,所述计算机程序指令被处理器执行时实现:接收服务器发送的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;根据所述接收的储物柜标识,确定处于空置状态的储物柜;接收用户输入;其中,所述用户输入指向的处于空置状态的储物柜的储物柜标识为目标储物柜标识;向所述服务器发送开锁请求;所述开锁请求中附带有所述目标储物柜标识,以使所述服务器向所述目标储物柜标识所对应的柜锁发出开锁指令,以使所述目标储物柜对应的柜锁处于解锁状态。An embodiment of the present specification further provides a computer storage medium, where the computer storage medium stores computer program instructions, and the computer program instructions are implemented by a processor to implement: receiving a locker identifier of a locker sent by a server; A locker identifier is used to indicate a locker; a locker in a vacant state is determined according to the received locker identifier; a user input is received; wherein the user input points to a locker in a vacant state The locker ID is the target locker ID; the unlock request is sent to the server; the lock request is accompanied by the target locker ID, so that the server sends the target locker ID corresponding to the target locker ID. The cabinet lock issues an unlocking instruction, so that the cabinet lock corresponding to the target locker is in an unlocked state.
本说明书实施方式还提供一种储物柜控制方法,应用于服务器,所述方法包括:接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域;检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于空置状态的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;将所述使用信息集发送给所述客户端;在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。An embodiment of the present specification further provides a locker control method, which is applied to a server. The method includes: receiving a locker status query request sent by a client; wherein the locker status query request points to a target geographic area; Retrieving the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in a vacant state; the locker identifier is used for Indicates a locker; sends the usage information set to the client; and upon receiving an unlock request from the client, sends the lock information to the locker according to a target locker identifier attached to the unlock request The target locker identifier sends a unlocking instruction to the locker of the locker; so that the locker is in an unlocked state.
本说明书实施方式还提供一种电子设备,包括:网络通信单元和处理器;所述网络通信单元用于接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域;所述处理器用于检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于空置状态的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;控制所述网络通信单元将所述使用信息集发送给所述客户端;在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。An embodiment of the present specification further provides an electronic device including: a network communication unit and a processor; the network communication unit is configured to receive a locker status query request sent by a client; wherein the locker status query request is directed to The target geographic area; the processor is configured to retrieve the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in a vacant state The locker identifier is used to indicate a locker; control the network communication unit to send the usage information set to the client; and upon receiving the unlock request sent by the client, according to the Sending the target locker identification attached to the unlock request, and sending an unlock instruction to the locker of the locker corresponding to the target locker identification; so that the locker is in an unlocked state.
本说明书实施方式还提供一种计算机存储介质,所述计算机存储介质存储有计算机程序指令,所述计算机程序指令被处理器执行时实现:接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域;检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于空置状态的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;将所述使用信息集发送给所述客户端;在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。An embodiment of the present specification also provides a computer storage medium storing computer program instructions that are implemented by a processor when the computer program instructions are executed by a processor: receiving a locker status query request sent by a client; The locker status query request points to the target geographic area; retrieves the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least the storage of the lockers in the vacant state. A locker identifier; the locker identifier is used to indicate a locker; sending the usage information set to the client; and upon receiving the unlock request sent by the client, according to the unlock request Sending the target locker identification attached to the locker, and sending an unlocking instruction to the locker of the locker corresponding to the target locker identification; so that the locker is in an unlocked state.
本说明书实施方式还提供一种储物柜控制方法,应用于服务器,所述方法包括:接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域;检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于占用状态的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;将所述使用信息集发送给所述客户端;在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。An embodiment of the present specification further provides a locker control method, which is applied to a server. The method includes: receiving a locker status query request sent by a client; wherein the locker status query request points to a target geographic area; Retrieve the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in the occupied state; the locker identifier is used for Indicates a locker; sends the usage information set to the client; and upon receiving an unlock request from the client, sends the lock information to the locker according to a target locker identifier attached to the unlock request The target locker identifier sends a unlocking instruction to the locker of the locker; so that the locker is in an unlocked state.
本说明书实施方式还提供一种服务器,包括:接收单元、检索单元和发送单元;所述接收单元用于接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域;所述检索单元用于检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于占用状态的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;所述发送单元用于将所述使用信息集发送给所述客户端;在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。An embodiment of the present specification further provides a server, including: a receiving unit, a retrieval unit, and a sending unit; the receiving unit is configured to receive a locker status query request sent by a client; and the locker status query request is directed to The target geographic area; the retrieval unit is configured to retrieve the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least the lockers of the lockers in the occupied state Identifier; the locker identifier is used to indicate a locker; the sending unit is used to send the usage information set to the client; upon receiving the unlock request sent by the client, according to The target locker identifier attached to the unlock request sends an unlock instruction to a locker of the locker corresponding to the target locker identifier; so that the locker is in an unlocked state.
本说明书实施方式还提供一种储物柜控制方法,应用于服务器,所述方法包括:在接收到客户端发送的开锁请求的情况下,在处于空置的储物柜的储物柜标识中,选定目标储物柜标识;所述储物柜标识用于表示对应的储物柜;向所述目标储物柜标识对应柜锁发送开锁指令;以使所述目标储物柜标识对应的储物柜的柜锁处于解锁状态。An embodiment of the present specification also provides a method for controlling a locker, which is applied to a server. The method includes: in a case where a lock request sent by a client is received, in a locker identifier of a vacant locker, Selecting a target locker identifier; the locker identifier is used to indicate a corresponding locker; sending an unlock instruction to the locker corresponding to the target locker identifier; so that the storage corresponding to the target locker identifier The cabinet lock is unlocked.
本说明书实施方式还提供一种服务器,包括:处理器和网络通信单元;所述处理器用于在接收到客户端发送的开锁请求的情况下,在处于空置的储物柜的储物柜标识中,选定目标储物柜标识;所述储物柜标识用于表示对应的储物柜;所述网络通信单元用于 向所述目标储物柜标识对应柜锁发送开锁指令;以使所述目标储物柜标识对应的储物柜的柜锁处于解锁状态。An embodiment of the present specification further provides a server, including: a processor and a network communication unit; the processor is configured to, in a case of receiving a lock request sent by a client, in a locker identifier of an empty locker , Selecting a target locker identifier; the locker identifier is used to indicate a corresponding locker; and the network communication unit is configured to send an unlock instruction to the locker corresponding to the target locker identifier; The lock of the locker corresponding to the target locker ID is unlocked.
本说明书实施方式还提供一种储物柜控制方法,应用于服务器,所述方法包括:接收客户端发送的开锁请求;所述开锁请求附带有目标储物柜标识;所述目标储物柜标识用于表征开锁请求指向的储物柜;根据所述目标储物柜标识,向对应的路由器发送第一开锁指令;以使所述路由器根据所述第一开锁指令,向该路由器信号覆盖范围内的所述目标储物柜的柜锁发送第二开锁指令,以使所述目标储物柜的柜锁处于解锁状态。An embodiment of the present specification also provides a method for controlling a locker, which is applied to a server. The method includes: receiving an unlocking request sent by a client; the unlocking request is accompanied by a target locker identifier; and the target locker identifier It is used to characterize the storage locker to which the unlocking request points; sending a first unlocking instruction to the corresponding router according to the target locker identification; so that the router signals within the coverage range of the router according to the first unlocking instruction The cabinet lock of the target storage cabinet sends a second unlocking instruction, so that the cabinet lock of the target storage cabinet is in an unlocked state.
本说明书实施方式还提供一种储物柜控制方法,应用于客户端,所述方法包括:接收至少一个储物柜的柜锁发送的信号;所述信号对应有储物柜标识,所述储物柜标识用于表示的储物柜;根据接收到的所述信号,展示对应的储物柜标识;接收用户输入;以用户输入指向的储物柜标识作为目标储物柜标识;向所述目标储物柜标识表示的储物柜的柜锁发送的开锁信号,以使该柜锁处于解锁状态。An embodiment of the present specification also provides a method for controlling a locker, which is applied to a client. The method includes: receiving a signal sent by a lock of at least one locker; the signal corresponds to a locker identifier, and the storage The locker ID is used to indicate the locker; according to the received signal, display the corresponding locker ID; receive user input; use the locker ID pointed to by the user input as the target locker ID; The unlocking signal sent by the locker of the locker indicated by the target locker identifier, so that the locker is in an unlocked state.
本说明书实施方式还提供一种储物柜控制系统,包括:客户端、服务器、柜锁、路由器;所述柜锁用于安装在所述储物柜;所述柜锁能接收所述服务器控制处于锁定状态和解锁状态;在所述锁定状态下,所述柜锁阻碍所述储物柜的柜门打开;在所述解锁状态下,所述柜锁解除对所述柜门的阻碍;所述客户端用于向所述服务器发送开锁请求;所述服务器用于接收所述开锁请求;根据所述开锁请求,向所述路由器发送第一开锁指令;所述路由器用于接收所述第一开锁指令;根据所述第一开锁指令,向该路由器信号覆盖范围内的所述目标储物柜的柜锁发送第二开锁指令,以使所述目标储物柜的柜锁处于所述解锁状态。An embodiment of the present specification further provides a locker control system, including: a client, a server, a locker, and a router; the locker is used to be installed in the locker; and the locker can receive the server control In the locked state and the unlocked state; in the locked state, the cabinet lock prevents the cabinet door of the locker from opening; in the unlocked state, the cabinet lock releases the barrier to the cabinet door; The client is configured to send an unlock request to the server; the server is configured to receive the unlock request; and a first unlock instruction is sent to the router according to the unlock request; the router is configured to receive the first unlock instruction An unlocking instruction; according to the first unlocking instruction, sending a second unlocking instruction to the cabinet lock of the target locker within the signal coverage of the router, so that the cabinet lock of the target locker is in the unlocked state .
本说明书实施方式还提供一种柜锁,应用于储物柜,包括网络通信单元、处理器和锁体;所述网络通信单元用于接收服务器或路由器发送的开锁指令;向所述服务器或客户端发送状态信息,以表征所述储物柜的状态;所述储物柜的状态至少包括以下之一:空置状态、占用状态;所述处理器用于在接收到所述服务器或所述路由器发送的开锁指令的情况下,使所述锁体处于解锁状态。The embodiment of the present specification also provides a cabinet lock, which is applied to a storage cabinet, and includes a network communication unit, a processor, and a lock body; the network communication unit is configured to receive an unlocking instruction sent by a server or a router; The terminal sends status information to characterize the status of the locker; the status of the locker includes at least one of the following: vacant status, occupied status; the processor is configured to receive a message sent by the server or the router In the case of the unlock instruction, the lock body is in an unlocked state.
由上可见,本说明书提供储物柜控制系统、储物柜控制方法、柜锁、服务器、电子设备、计算机存储介质。所述储物柜控制方法通过接收客户端发送的储物柜状态查询请求;检索所述目标地理区域内的储物柜的使用信息,形成使用信息集。根据反馈的使用信息,用户可以查询得到储物柜的状态。例如:空置状态、占用状态等。所述储物柜控制方法还可以通过接收所述客户端发送的开锁请求,根据所述开锁请求中附带的目标储 物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。通过上述储物柜控制系统、储物柜控制方法、柜锁、服务器、电子设备、计算机存储介质。可以省去原来用于控制所述储物柜的主柜,降低设备成本、维护成本等,还可以节省原主柜占用的空间,方便管理和控制所述储物柜。As can be seen from the above, this manual provides a locker control system, a locker control method, a lock, a server, an electronic device, and a computer storage medium. The locker control method receives a locker status query request sent by a client; retrieves the use information of the lockers in the target geographic area to form a use information set. According to the feedback usage information, users can query the status of the lockers. For example: vacant status, occupied status, etc. The locker control method may also receive a lock request sent by the client, and send the lock to the lock of the locker corresponding to the target locker according to the target locker identification attached to the unlock request Unlock instruction; so that the cabinet lock is in an unlocked state. Through the locker control system, the locker control method, the lock, the server, the electronic equipment, and the computer storage medium. The main cabinet originally used for controlling the storage cabinet can be omitted, the equipment cost, the maintenance cost, etc. can be reduced, and the space occupied by the original main cabinet can be saved, which facilitates the management and control of the storage cabinet.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本说明书实施方式或现有技术中的技术方案,下面将对实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书中记载的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present specification or the prior art more clearly, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are merely These are some of the embodiments described in this specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without paying creative labor.
图1为本说明书实施方式中一种储物柜控制系统示意图;FIG. 1 is a schematic diagram of a locker control system according to an embodiment of the present disclosure;
图2为本说明书实施方式中一种柜锁功能示意图;FIG. 2 is a schematic diagram of a cabinet lock function according to an embodiment of the present disclosure; FIG.
图3为本说明书实施方式中一种送货员查询储物柜状态示意图;FIG. 3 is a schematic diagram of a deliveryman inquiring a state of a locker in an embodiment of the present specification; FIG.
图4为本说明书实施方式中一种送货员请求开锁示意图;4 is a schematic diagram of a deliveryman requesting unlocking in the embodiment of the present specification;
图5为本说明书实施方式中一种用户请求开锁示意图;5 is a schematic diagram of a user requesting unlocking according to an embodiment of the present specification;
图6为本说明书实施方式中一种储物柜控制方法流程示意图;6 is a schematic flowchart of a locker control method according to an embodiment of the present specification;
图7为本说明书实施方式中另一种储物柜控制方法流程示意图;7 is a schematic flowchart of another method for controlling a locker in an embodiment of the present specification;
图8为本说明书实施方式中一种服务器模块示意图;8 is a schematic diagram of a server module according to an embodiment of the present disclosure;
图9为本说明书实施方式中另一种储物柜控制方法流程示意图;9 is a schematic flowchart of another method for controlling a locker in an embodiment of the present specification;
图10为本说明书实施方式中另一种储物柜控制方法流程示意图;FIG. 10 is a schematic flowchart of another locker control method according to an embodiment of the present specification; FIG.
图11为本说明书实施方式中另一种储物柜控制方法流程示意图;FIG. 11 is a schematic flowchart of another method for controlling a locker in an embodiment of the present specification; FIG.
图12为本说明书实施方式中另一种储物柜控制方法流程示意图;FIG. 12 is a schematic flowchart of another locker control method in the embodiment of the present specification; FIG.
图13为本说明书实施方式中一种柜锁模块示意图。FIG. 13 is a schematic diagram of a cabinet lock module according to an embodiment of the present specification.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本说明书中的技术方案,下面将结合本说明书实施方式中的附图,对本说明书实施方式中的技术方案进行清楚、完整地描述,显然,所描述的实施方式仅仅是本说明书一部分实施方式,而不是全部的实施方式。基于本说明书中的实施方式,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施方式,都应当属于本说明书保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present specification. Obviously, the described The embodiments are only a part of the embodiments of the specification, but not all the embodiments. Based on the implementation in this specification, all other implementations obtained by a person of ordinary skill in the art without creative efforts should fall within the protection scope of this description.
请参阅图1。本说明书实施方式提供一种储物柜控制系统。所述储物柜控制系统可以包括客户端、服务器、柜锁。See Figure 1. An embodiment of the present specification provides a locker control system. The locker control system may include a client, a server, and a lock.
在本实施方式中,所述柜锁用于安装在储物柜;所述柜锁能接收所述服务器控制处于锁定状态和解锁状态;在所述锁定状态下,所述柜锁阻碍所述储物柜的柜门打开;在所述解锁状态下,所述柜锁解除对所述柜门的阻碍。In this embodiment, the cabinet lock is used to be installed in a storage cabinet; the cabinet lock can receive the server control in a locked state and an unlocked state; in the locked state, the cabinet lock hinders the storage The cabinet door of the cabinet opens; in the unlocked state, the cabinet lock releases the obstruction of the cabinet door.
在本实施方式中,所述储物柜可以是用于存储包裹的载体。所述储物柜具有储物空间以及柜门。在本实施方式中,所述储物柜至少有一个。所述储物柜可以集中放置,也可以分散放置。In this embodiment, the locker may be a carrier for storing packages. The storage cabinet has a storage space and a cabinet door. In this embodiment, there is at least one locker. The lockers can be placed in a centralized or scattered manner.
在本实施方式中,所述柜锁可以包括网络通信单元、处理器和锁体。所述网络通信单元可以用于接收服务器或路由器发送的开锁指令。所述网络通信单元还可以用于向所述服务器或客户端发送状态信息,以表征所述储物柜的状态;所述储物柜的状态可以包括以下之一:空置状态、占用状态等。所述处理器用于在接收到服务器或路由器发送的开锁指令的情况下,驱动所述锁体,使所述锁体处于解锁状态。In this embodiment, the cabinet lock may include a network communication unit, a processor, and a lock body. The network communication unit may be configured to receive an unlocking instruction sent by a server or a router. The network communication unit may be further configured to send status information to the server or client to characterize the status of the locker; the status of the locker may include one of the following: vacant status, occupied status, and the like. The processor is configured to drive the lock body when the lock unlocking instruction sent by the server or router is received, so that the lock body is in an unlocked state.
请参阅图2。在本实施方式中,所述柜锁可以具有指示功能。具体的,所述柜锁可以设置有LED灯等。在接收指定的信号时,LED灯对应变化,以提醒用户。在本实施方式中,所述柜锁还可以包括供电部分。所述供电部分用于对所述柜锁供电。具体的,例如,所述柜锁可以通过电缆与电源电性连接,使所述柜锁通电。也可以通过装载的电池,对所述柜锁供电。还可以通过太阳能供电,或者机械发电等,以实现对所述柜锁供电。此处不做具体赘述。See Figure 2. In this embodiment, the cabinet lock may have an indication function. Specifically, the cabinet lock may be provided with LED lights and the like. When receiving the specified signal, the LED light changes accordingly to remind the user. In this embodiment, the cabinet lock may further include a power supply portion. The power supply part is used to supply power to the cabinet lock. Specifically, for example, the cabinet lock may be electrically connected to a power source through a cable, so that the cabinet lock is energized. The cabinet lock can also be powered by a loaded battery. It can also be powered by solar energy or mechanical power generation to achieve power supply to the cabinet lock. I won't go into details here.
在本实施方式中,所述柜锁还可以具有定位功能。具体的,例如,可以通过GPS定位,或者WIFI定位,或者基站定位等,实现对所述柜锁的定位。也可以通过物联网设备,如ibeacon、WIFI探针等,实现对所述柜锁的定位。此处不做具体赘述。In this embodiment, the cabinet lock may also have a positioning function. Specifically, for example, positioning of the cabinet lock may be achieved through GPS positioning, WIFI positioning, or base station positioning. The lock of the cabinet can also be located by an IoT device, such as ibeacon, WIFI probe, and the like. I won't go into details here.
在本实施方式中,所述柜锁可以实现开关储物柜柜门的作用。具体的,所述柜锁可以通过与其他客户端或者服务器通信,以接收指令,实现控制所述柜门的开关。所述通信可以包括远距离通信和近距离通信。具体的,例如,所述柜锁可以通过GPRS、3G、4G、5G、wifi等,实现远距离通信。所述柜锁还可以通过蓝牙、NFC、WIFI Direct实现近距离通信。In this embodiment, the cabinet lock can realize the function of opening and closing a cabinet door. Specifically, the cabinet lock may communicate with other clients or servers to receive instructions to control opening and closing of the cabinet door. The communication may include long-range communication and short-range communication. Specifically, for example, the cabinet lock may implement long-distance communication through GPRS, 3G, 4G, 5G, wifi, and the like. The cabinet lock can also achieve short-range communication through Bluetooth, NFC, and WIFI Direct.
在本实施方式中,所述客户端可以用于向所述服务器发送开锁请求,以使所述服务器根据所述开锁请求,向目标储物柜的柜锁发送开锁指令,以使所述目标储物柜的柜锁处于所述解锁状态。所述开锁请求可以是指向目标储物柜的柜锁请求信息。服务器在接 收到该请求信息时,可以执行对应指令,控制所述柜锁,使其处于解锁状态。In this embodiment, the client may be configured to send an unlock request to the server, so that the server sends an unlock instruction to a cabinet lock of a target locker according to the unlock request, so that the target storage The cabinet lock of the object cabinet is in the unlocked state. The unlock request may be cabinet lock request information directed to a target locker. When the server receives the request information, it can execute a corresponding instruction to control the cabinet lock so that it is in an unlocked state.
在本实施方式中,客户端可以为台式电脑、平板电脑、笔记本电脑、智能手机、数字助理、智能可穿戴设备等。其中,智能可穿戴设备可以包括智能手环、智能手表、智能眼镜、智能头盔等。当然,客户端并不限于上述具有一定实体的电子设备,其还可以为运行于上述电子设备中的软体。In this embodiment, the client may be a desktop computer, a tablet computer, a notebook computer, a smart phone, a digital assistant, a smart wearable device, or the like. Among them, smart wearable devices may include smart bracelets, smart watches, smart glasses, smart helmets, and the like. Of course, the client is not limited to the above-mentioned electronic device with a certain entity, and it may also be software running in the above-mentioned electronic device.
在本实施方式中,用户可以使用客户端通过网络与服务器进行数据交互,以向服务器发送开锁请求或者查询请求等。所述查询请求可以用于查询所述储物柜的状态信息等。用户可以通过客户端与所述柜锁进行数据交互。例如,通过蓝牙或者NFC近场通信技术等,发送开锁请求或者查询请求等。在本实施方式中,所述客户端可以用于向所述服务器发送开锁请求;其中,所述开锁请求指向目标储物柜的柜锁。所述目标储物柜可以表示用户请求开锁指向的储物柜。In this embodiment, a user may use a client to perform data interaction with a server through a network to send an unlocking request or a query request to the server. The query request may be used to query status information of the locker and the like. The user can perform data interaction with the cabinet lock through the client. For example, an unlock request or an inquiry request is sent via Bluetooth or NFC near field communication technology. In this embodiment, the client may be configured to send an unlock request to the server; wherein the unlock request is directed to a cabinet lock of a target locker. The target locker may represent a locker pointed to by a user requesting unlocking.
在本实施方式中,服务器可以为具有运算和网络交互功能的电子设备;也可以为运行于该电子设备中,为数据处理和网络交互提供业务逻辑的软体。In this embodiment, the server may be an electronic device having computing and network interaction functions; it may also be software that runs on the electronic device and provides business logic for data processing and network interaction.
在本实施方式中,服务器可以用于接收所述开锁请求;根据所述开锁请求,向所述目标储物柜的柜锁发送开锁指令,以使所述目标储物柜的柜锁处于所述解锁状态。In this embodiment, the server may be configured to receive the unlock request; according to the unlock request, send an unlock instruction to the lock of the target locker, so that the lock of the target lock is in the lock Unlocked.
在本实施方式中,服务器可以接收用户使用客户端发送过来的数据,也可以接收所述柜锁发送过来的数据。具体的,例如,所述服务器可以用于接收客户端发送的开锁请求,也可以接收柜锁发送的状态信息,所述状态信息可以表示对应的储物柜处于占用状态或空置状态。In this embodiment, the server may receive data sent by the user using the client, or may receive data sent by the cabinet lock. Specifically, for example, the server may be used to receive an unlocking request sent by a client, or may receive status information sent by a cabinet lock, and the status information may indicate that a corresponding locker is in an occupied state or an empty state.
请参阅图3。在一个具体的场景示例中,一个小区提供了多个储物柜,方便存取用户网上购买的物品。每个储物柜可以有各自对应的标识。例如:001、002、003等。每个储物柜对应有柜锁。所述柜锁能接收所述服务器控制处于锁定状态和解锁状态;在所述锁定状态下,所述柜锁阻碍所述储物柜的柜门打开;在所述解锁状态下,所述柜锁解除对所述柜门的阻碍。See Figure 3. In a specific scenario example, a community provides multiple lockers to facilitate access to items purchased by users online. Each locker can have its own corresponding identification. For example: 001, 002, 003, etc. Each locker has a lock. The cabinet lock can receive the server control in a locked state and an unlocked state; in the locked state, the cabinet lock prevents the cabinet door of the locker from opening; in the unlocked state, the cabinet lock Unblock the cabinet door.
在本场景示例中,一个用户在网上购买了物品。商家在发货时,对应该物品,在该物品的包裹上粘贴有物流单号,用于标识该物品。送货员可以使用客户端扫描该物品对应包裹上的二维码,获取对应该物品的物流单号。在本场景示例中,使用物流单号来标识对应物品,该物流单号也可以作为该物品的物品标识,或者该包裹的包裹标识。In this scenario example, a user purchases an item online. When the merchant delivers the goods, the goods correspond to the item, and the logistics number is affixed on the package of the item to identify the item. The delivery person can use the client to scan the QR code on the parcel corresponding to the item to obtain the logistics order number corresponding to the item. In the example of this scenario, a logistics order number is used to identify the corresponding item, and the logistics order number can also be used as the item identification of the item or the package identification of the parcel.
在本场景示例中,送货员将该物品送至小区的储物柜处时,该送货员打开送货员客户端,向服务器发送查询请求,以查询该送货员附近的储物柜的状态信息。服务器在接 收到所述查询请求后,反馈对应的储物柜的状态信息。In this scenario example, when the deliveryman delivers the item to the lockers in the community, the deliveryman opens the deliveryman client and sends a query request to the server to query the lockers near the deliveryman Status information. After receiving the query request, the server feeds back the status information of the corresponding locker.
在本场景示例中,送货员在发送查询请求时,附带有该送货员的位置信息。服务器根据该位置信息,与服务器存储的储物柜的位置信息,进行计算,筛选得到200米以内的储物柜信息。所述储物柜信息包括储物柜的标识以及对应的状态信息。服务器将筛选得到的信息,以及根据第三方服务器的数据信息,如地图导航服务器,发送给该送货员客户端。以使该送货员客户端向用户展示对应的信息。请参阅图3。送货员客户端可以展示对应的地图,地图上标记有该送货员的位置,以及附近的储物柜标识和位置。In this scenario example, when the deliveryman sends a query request, the deliveryman's location information is attached. Based on the position information, the server performs calculations with the position information of the lockers stored by the server, and screens out the information of the lockers within 200 meters. The locker information includes an identifier of the locker and corresponding status information. The server will filter the obtained information and send it to the deliveryman client according to the data information of the third-party server, such as the map navigation server. So that the deliveryman client can display the corresponding information to the user. See Figure 3. The deliveryman client can display the corresponding map, where the location of the deliveryman is marked on the map, as well as the nearby locker identification and location.
在本场景示例中,送货员客户端还可以根据接收的状态信息,展示不同的颜色用于对应于储物柜的状态。具体的,客户端根据接收的服务器在发送储物柜的标识以及对应的状态信息,进行响应,得到预设的颜色来展示对应的储物柜的标识。如,当接收到的储物柜的状态信息为处于空置状态时,客户端预设其储物柜标识的颜色为绿色,以使送货员客户端显示处于空置状态的储物柜标识颜色为绿色。当接收到的储物柜的状态信息为处于占用状态时,客户端预设其储物柜标识的颜色为红色,以使送货员客户端显示处于占用状态的储物柜标识颜色为红色。当接收到的储物柜的状态信息为处于打开状态时,客户端预设其储物柜标识的颜色为黄色,以使送货员客户端显示处于打开状态的储物柜标识颜色为黄色。In this scenario example, the deliveryman client may also display different colors for the status corresponding to the locker according to the received status information. Specifically, the client responds according to the received server's identification of the locker and the corresponding status information, and obtains a preset color to display the corresponding locker's identification. For example, when the status information of the received locker is vacant, the client presets the color of the locker logo to green, so that the deliveryman client displays the color of the locker logo in the vacant status as green. When the status information of the received locker is in the occupied state, the client presets the color of the locker ID to be red, so that the deliveryman client shows that the locker ID in the occupied state is red. When the status information of the received locker is open, the client presets the color of the locker identification to be yellow, so that the deliveryman client displays the open locker identification color to be yellow.
在本场景示例中,在筛选得到的储物柜标识集中,服务器计算确定与所述送货员距离最近的储物柜的储物柜标识,以进行标记,并发送给送货员客户端,以使送货员客户端标识离该送货员最近的储物柜。请参阅图3,在本场景示例中,储物柜001与送货员最近,服务器将其进行标识,以使客户端对应显示。In the example of this scenario, in the set of locker IDs obtained by filtering, the server calculates and determines the locker ID of the locker closest to the deliveryman to mark and send it to the deliveryman client. So that the deliveryman client identifies the locker closest to the deliveryman. Please refer to FIG. 3. In the example of this scenario, locker 001 is closest to the delivery person, and the server identifies it so that the client displays it accordingly.
如图4所示,在本场景示例中,该送货员在接收到服务器反馈的信息后,长按送货员客户端展示的处于空置状态的储物柜的储物柜标识“001”。送货员客户端在接收到该操作后,弹出“是否发送开锁请求”,该送货员点击“是”。送货员客户端向服务器发送针对储物柜标识“001”的开锁请求。As shown in FIG. 4, in the example of this scenario, after receiving the information feedback from the server, the deliveryman presses and holds the locker ID “001” of the locker in the vacant state displayed by the deliveryman client. After receiving the operation, the deliveryman client pops up "Send unlock request", and the deliveryman clicks "Yes". The deliveryman client sends an unlock request for the locker ID "001" to the server.
在本场景示例中,柜锁与储物柜对应,相应的,储物柜标识与柜锁标识也对应。与储物柜标识“001”对应的柜锁标识为“A”。在本场景示例中,服务器接收到该开锁请求后,根据开锁请求中附带的储物柜标识,匹配得到对应的柜锁标识。根据所述柜锁标识,所述服务器向所述柜锁标识表示的柜锁发送开锁指令。In this example scenario, the cabinet lock corresponds to the locker. Correspondingly, the locker identifier corresponds to the cabinet lock identifier. The locker ID corresponding to the locker ID "001" is "A". In the example of this scenario, after receiving the unlock request, the server obtains the corresponding lock identifier according to the locker identifier attached to the unlock request. According to the cabinet lock identifier, the server sends an unlock instruction to the cabinet lock indicated by the cabinet lock identifier.
在本场景示例中,该柜锁接收到开锁指令后,执行对应的操作,驱动该柜锁的锁体打开,使其处于解锁状态,该储物柜的柜门打开。送货员在该储物柜中放入用户购买物 品后,关上柜门,该柜锁锁体处于锁定状态。In the example of this scenario, after receiving the unlocking instruction, the cabinet lock executes a corresponding operation to drive the lock body of the cabinet lock to open, so that the cabinet door is unlocked, and the cabinet door is opened. After the delivery person puts the user's purchase in the locker, he closes the door, and the lock body of the lock is locked.
在本场景示例中,送货员放入该用户购买物品后,通过送货员客户端,向服务器发送入柜信息,表征送货员针对该物品已经完成投递工作,该入柜信息中附带有该物品的物品标识(物流单号)以及放入的储物柜标识“001”。所述服务器在接收到该入柜信息后,将该物品的物品标识和储物柜标识之间建立映射关系,以绑定所述储物柜和该物品。对应的,服务器将状态信息标记为占用状态,以表示该储物柜处于占用状态。In the example of this scenario, after the delivery person puts in the user to purchase an item, the delivery person sends information to the server through the delivery person client to indicate that the delivery person has completed delivery of the item. The article identification (logistic number) of the item and the storage cabinet identification "001". After receiving the cabinet information, the server establishes a mapping relationship between the item identifier of the item and the locker identifier to bind the locker and the item. Correspondingly, the server marks the status information as occupied to indicate that the locker is in an occupied state.
在本场景示例中,服务器在接收入柜信息后,根据物流单号对应的订单,确定该订单对应的用户信息,向对应的用户客户端发送通知信息,以告知该用户其购买的物品已经入柜。所述通知信息中,附带有对应的储物柜标识,以方便用户通过该储物柜标识找到储物柜。In this scenario example, after receiving the cabinet information, the server determines the user information corresponding to the order according to the order corresponding to the logistics order number, and sends a notification message to the corresponding user client to inform the user that the item he purchased has been entered cabinet. The notification information is accompanied by a corresponding locker identifier to facilitate users to find the locker through the locker identifier.
在本场景示例中,用户客户端在接收到通知信息后,向用户展示对应的信息。请参阅图5。用户可以点击“请求开柜”,以向服务器发送开锁请求。在本场景示例中,用户分别点击储物柜标识“001”和“006”后的“请求开柜”按钮。In this scenario example, the user client displays the corresponding information to the user after receiving the notification information. See Figure 5. The user can click "Request to open the cabinet" to send the unlock request to the server. In this scenario example, the user clicks the "request to open a cabinet" button behind the locker identifiers "001" and "006", respectively.
在本场景示例中,用户客户端发送的开锁请求附带有用户客户端的位置信息。服务器在接收所述开锁请求后,判断用户客户端的位置信息与开锁请求指向的储物柜之间的距离。在本场景示例中,用户发送开锁请求时的位置与指向的储物柜的距离小于20米,满足开柜条件。服务器在判断满足开柜条件的情况下,向对应的柜锁发送开柜指令。对应“001”与“006”的储物柜打开。用户取走物品,并关上柜门。服务器更新对应的储物柜状态信息。In this scenario example, the unlock request sent by the user client is accompanied by the location information of the user client. After receiving the unlock request, the server judges the distance between the location information of the user client and the storage cabinet pointed to by the unlock request. In the example of this scenario, the distance between the position when the user sends the unlock request and the pointed storage cabinet is less than 20 meters, which meets the cabinet opening conditions. When the server determines that the cabinet opening condition is met, it sends a cabinet opening instruction to the corresponding cabinet lock. The lockers corresponding to "001" and "006" are opened. The user removes the item and closes the cabinet door. The server updates the corresponding locker status information.
在另一个场景示例中,用户去取物品时,让别人代取。该用户使用用户客户端向服务器发送开锁请求。服务器计算所述开锁请求中附带的用户客户端的位置信息与指向的储物柜距离,计算得到为800米,超过了预设的距离范围20米。服务器发送验证请求给用户客户端,询问用户是否继续开柜。用户点击“是”,以使所述用户客户端向服务器反馈确认继续开柜的信息。In another scenario example, when a user goes to pick up an item, let someone else pick it up. The user uses the user client to send an unlock request to the server. The server calculates the distance between the location information of the user client and the pointing locker attached to the unlock request, and the calculation is 800 meters, which exceeds the preset distance range of 20 meters. The server sends an authentication request to the user client and asks the user whether to continue opening the cabinet. The user clicks "Yes" to make the user client feedback to the server to confirm the information of continuing to open the cabinet.
在本场景示例中,在服务器接收到用户客户端的反馈信息为继续开柜,向对应的柜锁发送开柜指令,使对应的柜锁处于解锁状态,储物柜柜门打开。帮用户代取物品的人取走物品,并关上柜门。服务器更新对应的储物柜状态信息。In the example of this scenario, the server receives feedback from the user client to continue opening the cabinet, and sends a cabinet opening instruction to the corresponding cabinet lock, so that the corresponding cabinet lock is unlocked, and the locker door is opened. The person who assists the user in picking up the items, removes them, and closes the cabinet door. The server updates the corresponding locker status information.
上述实施场景提供了一种朋友代取物品的场景。当用户使用客户端发送开锁请求时的位置与对应储物柜的位置较远时,服务器可以发送验证信息,以进行确认。同时还可以防止用户误操作,在还未到对应的储物柜附近时,储物柜的柜门就打开了。The above implementation scenario provides a scenario where a friend picks up an item. When the location when the user sends the unlock request using the client is far from the location of the corresponding locker, the server may send verification information for confirmation. At the same time, it can also prevent the user from operating by mistake. The door of the locker opens before the corresponding locker is reached.
在另一个场景示例中,服务器在接收入柜信息后,根据物流单号对应的订单,确定该订单对应的用户信息,向对应的用户客户端发送通知信息,以告知该用户其购买的物品已经入柜。In another scenario example, after receiving the cabinet information, the server determines the user information corresponding to the order according to the order corresponding to the logistics order number, and sends notification information to the corresponding user client to inform the user that the item he purchased has Into the cabinet.
在本场景示例中,用户去取物品时,用户根据用户客户端接收到的通知信息,找到对应的储物柜。用户使用用户客户端扫描所述储物柜上的二维码,并生成开锁请求发送给服务器。所述开锁请求中附带有用户信息与储物柜二维码表征的标识信息。服务器在接收到客户端发送的开锁请求时,对所述开锁请求中附带的信息进行验证,验证是否满足开锁要求。In this scenario example, when a user goes to pick up an item, the user finds the corresponding locker according to the notification information received by the user client. The user uses the user client to scan the QR code on the locker, and generates an unlock request and sends it to the server. The unlocking request is accompanied by user information and identification information characterized by the two-dimensional code of the locker. When the server receives the unlocking request sent by the client, the server verifies the information attached to the unlocking request to verify whether the unlocking requirements are met.
在本场景示例中,服务器验证成功。服务器向对应储物柜的柜锁发送开柜指令,使对应的柜锁处于解锁状态,储物柜柜门打开。In this scenario example, the server authentication succeeded. The server sends a cabinet opening instruction to the cabinet lock of the corresponding storage cabinet, so that the corresponding cabinet lock is unlocked, and the cabinet door is opened.
在另一个场景示例中,用户去取物品。用户使用用户客户端扫描所述储物柜上的二维码时,误扫描了另一个储物柜上的二维码,并生成开锁请求发送给服务器。所述开锁请求中附带有用户信息与储物柜二维码表征的标识信息。服务器在接收到客户端发送的开锁请求时,对所述开锁请求中附带的信息进行验证,验证是否满足开锁要求。In another scenario example, a user goes to pick up an item. When the user scans the two-dimensional code on the locker using the user client, the user scans the two-dimensional code on the other locker by mistake, and generates an unlocking request and sends it to the server. The unlocking request is accompanied by user information and identification information characterized by the two-dimensional code of the locker. When the server receives the unlocking request sent by the client, the server verifies the information attached to the unlocking request to verify whether the unlocking requirements are met.
在本场景示例中,用户对应的储物柜标识应该为“001”,而扫描的是“002”的储物柜的二维码。服务器在开锁请求中附带的用户信息与储物柜二维码表征的标识信息时,验证失败。向所述客户端返回开锁失败的信息。In the example of this scenario, the user's corresponding locker ID should be “001”, and the QR code of the “002” locker scanned. When the server attached the user information and identification information represented by the two-dimensional code of the locker in the unlock request, the verification failed. And returning to the client information that the unlocking failed.
在另一个具体的场景示例中,一个小区提供了多个储物柜,方便存取用户购买的物品。每个储物柜可以有各自对应的标识。例如:001、002、003等。每个储物柜对应有柜锁。在该场景示例中,服务器侧对应储物柜的储物柜标识也作为对应柜锁的标识。所述柜锁能接收所述送货员客户端控制处于锁定状态和解锁状态;在所述锁定状态下,所述柜锁阻碍所述储物柜的柜门打开;在所述解锁状态下,所述柜锁解除对所述柜门的阻碍。所述柜锁还可以通过其网络通信单元,向送货员客户端和服务器发送状态信息,以表征该储物柜的状态。对应的,服务器可以实时更新该小区的储物柜的状态信息。In another specific scenario example, a community provides multiple lockers to facilitate access to items purchased by users. Each locker can have its own corresponding identification. For example: 001, 002, 003, etc. Each locker has a lock. In this scenario example, the locker ID of the corresponding locker on the server side is also used as the ID of the corresponding lock. The cabinet lock can receive the deliveryman client's control in a locked state and an unlocked state; in the locked state, the cabinet lock prevents the cabinet door of the locker from opening; in the unlocked state, The cabinet lock unblocks the cabinet door. The locker can also send status information to the deliveryman client and server through its network communication unit to characterize the status of the locker. Correspondingly, the server can update the status information of the lockers in the community in real time.
在本场景示例中,一个用户在网上购买了物品。送货员将该物品送至小区的储物柜处时,该送货员观察储物柜上的指示灯。所述指示灯等为红色时,表示该储物柜处于占用状态,所述指示灯为绿色时,表示该储物柜处于空置状态。在本场景示例中,储物柜标识为“001”的储物柜上的指示灯显示绿色。送货员通过其送货员客户端,向该储物柜的柜锁发起配对请求,所述配对请求中附带有送货员客户端的身份信息。该储物柜在收 到配对请求时,验证所述身份信息。在验证通过后,配对成功,该送货员客户端可以与该柜锁进行数据交互。In this scenario example, a user purchases an item online. When the deliveryman delivers the item to the locker in the community, the deliveryman observes the indicator light on the locker. When the indicator light is red, it indicates that the locker is occupied, and when the indicator light is green, it indicates that the locker is vacant. In this scenario example, the indicator on the locker with the locker ID "001" is green. The deliveryman initiates a pairing request to the locker of the locker through his deliveryman client, and the pairing request is accompanied by the identity information of the deliveryman client. When receiving the pairing request, the locker verifies the identity information. After the verification is passed, the pairing is successful, and the deliveryman client can perform data interaction with the locker.
在本场景示例中,在送货员客户端与该柜锁蓝牙配对成功后,送货员通过其送货员客户端,向该柜锁发送开锁请求,以使该柜锁驱动锁体打开,使其处于解锁状态。In the example of this scenario, after the deliveryman client has successfully paired with the cabinet lock via Bluetooth, the deliveryman sends an unlock request to the cabinet lock through his deliveryman client, so that the cabinet lock drives the lock body to open, Keep it unlocked.
在本场景示例中,送货员在放入该物品后,向服务器发送对应的储物柜标识和物品标识,以使服务器将该储物柜标识和物品标识进行绑定,并向对应的用户发送通知信息。In the example of this scenario, the deliveryman sends the corresponding locker ID and item ID to the server after placing the item, so that the server binds the locker ID and the item ID to the corresponding user Send notification information.
上述场景示例可以实现通过近距离通信技术,请求打开储物柜的柜锁。The above scenario example can realize the request to open the locker of the locker through the short-range communication technology.
在另一个具体的场景示例中,一个小区提供了多个储物柜,方便存取用户购买的物品。每个储物柜可以有各自对应的标识。每个储物柜对应有柜锁所述柜锁能接收所述送货员客户端控制处于锁定状态和解锁状态;在所述锁定状态下,所述柜锁阻碍所述储物柜的柜门打开;在所述解锁状态下,所述柜锁解除对所述柜门的阻碍。所述柜锁还可以通过其网络通信单元,向送货员客户端和服务器发送状态信息,以表征该储物柜的状态。对应的,服务器可以实时更新该小区的储物柜的状态信息。In another specific scenario example, a community provides multiple lockers to facilitate access to items purchased by users. Each locker can have its own corresponding identification. Each locker corresponds to a lock. The lock can receive the deliveryman client control in a locked state and an unlocked state. In the locked state, the lock lock obstructs the cabinet door of the locker. Open; in the unlocked state, the cabinet lock releases obstruction to the cabinet door. The locker can also send status information to the deliveryman client and server through its network communication unit to characterize the status of the locker. Correspondingly, the server can update the status information of the lockers in the community in real time.
在本场景示例中,一个用户在网上购买了物品。送货员将该物品送至小区的储物柜处时,该送货员使用送货员客户端对附近的柜锁进行轮询,以依次询问每一个储物柜的状态信息。送货员客户端获取的储物柜的状态信息中,储物柜标识“001”的储物柜显示该储物柜处于空置状态。根据NFC进场通信技术,送货员使用送货员客户端向储物柜标识为“001”的储物柜发送开锁请求。所述开锁请求中附带有该送货员的身份信息。储物柜标识“001”的储物柜的柜锁在接收到所述开锁请求后,所述柜锁处于解锁状态,并记录开锁的送货员身份信息,供服务器进行校验。In this scenario example, a user purchases an item online. When the deliveryman delivers the item to the lockers in the community, the deliveryman uses the deliveryman client to poll the nearby locks to query the status information of each locker in turn. In the status information of the locker obtained by the deliveryman client, the locker with the locker ID "001" indicates that the locker is vacant. According to the NFC approach communication technology, the deliveryman uses the deliveryman client to send an unlock request to the locker with the locker identification "001". The unlocking request is accompanied by identification information of the delivery person. After receiving the unlocking request, the locker of the locker with the locker ID "001" is in an unlocked state, and records the identity information of the unlocked delivery person for verification by the server.
在另一个具体的场景示例中,一个小区提供了多个储物柜,方便存取用户购买的物品。每个储物柜可以有各自对应的标识。例如:001、002、003等。每个储物柜对应有柜锁。在该场景示例中,服务器侧对应储物柜的储物柜标识也作为对应柜锁的标识。In another specific scenario example, a community provides multiple lockers to facilitate access to items purchased by users. Each locker can have its own corresponding identification. For example: 001, 002, 003, etc. Each locker has a lock. In this scenario example, the locker ID of the corresponding locker on the server side is also used as the ID of the corresponding lock.
在本场景示例中,服务器向路由器发送针对指定的柜锁的开锁指令。所述路由器根据其配置清单,确定对应的指定的柜锁,向其发送开锁指令,控制所述柜锁,使其处于解锁状态。In this scenario example, the server sends an unlock instruction to the router for the specified cabinet lock. The router determines a corresponding designated cabinet lock according to its configuration list, sends an unlock instruction to it, and controls the cabinet lock to make it in an unlocked state.
在本场景示例中,所述柜锁接收到所述路由器发送的开锁指令后,该柜锁驱动其锁体打开,使其处于解锁状态。In the example of this scenario, after the cabinet lock receives the unlocking instruction sent by the router, the cabinet lock drives its lock body to open so that it is in an unlocked state.
请参阅图6。本说明书实施方式还提供一种储物柜控制方法,应用于客户端,所述方法可以包括以下步骤。See Figure 6. An embodiment of the present specification also provides a method for controlling a locker, which is applied to a client. The method may include the following steps.
步骤S10:接收服务器发送的储物柜的储物柜标识;所述储物柜标识用于表示储物柜。Step S10: Receive a locker identifier of the locker sent by the server; the locker identifier is used to indicate a locker.
在本实施方式中,所述储物柜可以是具有一定空间,用于存储物品的柜子。具体的,例如,小区收取快递的储物柜;或者,超市购物时,寄存物品的储物柜等。In this embodiment, the storage cabinet may be a cabinet having a certain space for storing articles. Specifically, for example, a locker for express delivery in a community; or a locker for storing items when shopping in a supermarket.
在本实施方式中,储物柜标识用于表示储物柜。具体的,储物柜标识可以是数字,也可以是字母等。服务器中可以存储所述储物柜标识,以表示对应的储物柜。用户可以根据所述储物柜标识,找到对应的储物柜。In this embodiment, the locker identifier is used to indicate a locker. Specifically, the locker identification may be a number or a letter. The locker identifier may be stored in the server to indicate a corresponding locker. The user can find the corresponding locker according to the locker identification.
在本实施方式中,用户可以通过客户端,接收服务器发送的储物柜的储物柜标识。具体的,例如,客户端可以接收用户的输入,以向服务器发送查询请求,用于查询储物柜标识。服务器在接收到查询请求时,向客户端发送储物柜的储物柜标识。In this embodiment, the user may receive the locker identifier of the locker sent by the server through the client. Specifically, for example, the client may receive input from the user to send a query request to the server for querying the identification of the locker. When the server receives the query request, it sends the locker ID of the locker to the client.
在本实施方式中,客户端与服务器的数据交互,可以通过特定的协议进行发送或接收数据信息。具体的,例如,可以通过TCP/IP协议(传输控制协议/网际协议Transmission Control Protocol/Internet Protocol)以及超文本传输协议(HTTP,HyperText Transfer Protocol)等协议进行传输。In this embodiment, the data interaction between the client and the server can send or receive data information through a specific protocol. Specifically, for example, transmission can be performed through protocols such as TCP / IP protocol (Transmission Control Protocol / Internet Protocol / Internet Protocol) and Hypertext Transfer Protocol (HTTP, HyperText Transfer Protocol).
步骤S12:根据所述接收的储物柜标识,确定处于空置状态的储物柜。Step S12: According to the received locker identifier, determine a locker in a vacant state.
在本实施方式中,确定处于空置状态的储物柜。具体的,例如,所述服务器发送的储物柜标识中包括了处于空置状态的储物柜,以及处于其他状态的储物柜,服务器将处于空置状态的储物柜的储物柜标识进行标记。客户端将被标记的储物柜标识对应的储物柜确定为所述处于空置状态的储物柜。再例如,服务器只发送了处于空置状态的储物柜的储物柜标识,客户端将接收的储物柜标识对应的储物柜确定为处于空置状态的储物柜。再例如,所述服务器在发送储物柜标识时,还发送对应储物柜的状态信息。请参阅下表1。服务器将对应储物柜标识的储物柜增加状态信息属性,以使所述客户端根据接收的信息,将状态信息为“空置状态”的储物柜确定为处于空置状态的储物柜。In this embodiment, a locker in an empty state is determined. Specifically, for example, the locker identifier sent by the server includes a locker in a vacant state and a locker in another state, and the server marks the locker identifier of the locker in a vacant state. . The client determines the locker corresponding to the marked locker identifier as the locker in the vacant state. For another example, the server only sends the locker ID of the locker in the vacant state, and the client determines the locker corresponding to the received locker ID as the locker in the vacant state. For another example, when the server sends the locker identifier, it also sends status information of the corresponding locker. See table 1 below. The server adds a status information attribute to the storage locker corresponding to the storage locker identification, so that the client determines the storage locker whose status information is "vacant status" as the storage locker according to the received information.
表1Table 1
储物柜标识Locker logo 状态信息status information
001001 占用状态Occupied
002002 空置状态Vacant state
……... ……...
步骤S14:接收用户输入;其中,所述用户输入指向的处于空置状态的储物柜的储物柜标识为目标储物柜标识。Step S14: receiving a user input; wherein the locker identifier of the locker in the vacant state pointed to by the user input is the target locker identifier.
在本实施方式中,用户输入用于选定目标储物柜标识。用户输入可以包括用户在客户端界面上的预设操作。如,用户按压设备屏幕的力度大于预设阈值时,将按压对应的储物柜标识确定为目标储物柜标识。当然用户也可以通过摇晃客户端设备来确定目标储物柜标识。用户输入还可以包括接收外接设备产生信号等。例如,接收VR设备的手势操作信息。用户输入还可以包括声音信号的接收或者变化。例如,语音信号的接收、声音属性值大于预设属性值等。需要说明的是,所述用户输入的方式不限于上述举例,所属领域技术人员在本申请技术精髓的启示下,还可能做出其它变更,但只要其实现的功能和效果与本申请相同或相似,均应涵盖于本申请保护范围内。所述目标储物柜标识用于表征用户输入指向的储物柜标识。In this embodiment, the user inputs an identifier for selecting a target locker. The user input may include a preset operation of the user on the client interface. For example, when the user presses the screen of the device more than a preset threshold, the user presses the corresponding locker identifier as the target locker identifier. Of course, users can also determine the target locker ID by shaking the client device. User input may also include receiving signals generated by external devices. For example, receiving gesture operation information of a VR device. User input may also include the reception or change of a sound signal. For example, the voice signal is received, and the sound attribute value is greater than a preset attribute value. It should be noted that the manner of user input is not limited to the above examples. Those skilled in the art may make other changes under the inspiration of the technical essence of this application, but as long as the functions and effects achieved by the application are the same or similar to this application Shall be covered by the protection scope of this application. The target locker identifier is used to characterize a locker identifier to which a user input points.
步骤S16:向所述服务器发送开锁请求;所述开锁请求中附带有所述目标储物柜标识,以使所述服务器向所述目标储物柜标识所对应的柜锁发出开锁指令,以使所述目标储物柜对应的柜锁处于解锁状态。Step S16: sending a lock unlock request to the server; the lock request is accompanied by the target locker identification, so that the server issues a lock instruction to the locker corresponding to the target locker identification, so that A cabinet lock corresponding to the target locker is in an unlocked state.
在本实施方式中,所述开锁请求用于请求对应所述目标储物柜标识的柜锁开锁。在本实施方式中,所述服务器可以根据所述开锁请求中附带的所述目标储物柜标识,向所述目标储物柜标识所对应的柜锁发出开锁指令。在目标储物柜对应的柜锁接收到开锁指令时,驱动柜锁的锁体,开锁,使其处于解锁状态。In this embodiment, the unlock request is used to request unlocking of a cabinet lock corresponding to the target locker identifier. In this embodiment, the server may issue an unlock instruction to a cabinet lock corresponding to the target locker identifier according to the target locker identifier attached to the unlock request. When the cabinet lock corresponding to the target locker receives the unlocking instruction, the lock body of the cabinet lock is driven to unlock, so that it is in an unlocked state.
在本实施方式中,向所述服务器发送开锁请求。具体的,可以是用户输入达到预设操作时,客户端向服务器发送开锁请求。例如,针对目标储物柜标识,用户点击“请求开锁”。再例如,用户语音输入“请求开锁001号储物柜”等,以达到触发条件。此处不做具体赘述。In this embodiment, an unlock request is sent to the server. Specifically, when the user input reaches a preset operation, the client sends a lock unlock request to the server. For example, for the target locker ID, the user clicks "Request unlock". For another example, the user inputs "request to unlock locker No. 001", etc., to achieve a trigger condition. I won't go into details here.
通过上述实施方式,可以实现通过客户端,控制储物柜,无需通过储物柜主柜来管理所述储物柜。According to the foregoing implementation manner, it is possible to control the locker through the client without managing the locker through the locker main cabinet.
在一个实施方式中,所述服务器发送的储物柜标识对应的储物柜处于空置状态;相应的,在确定处于空置状态的储物柜的步骤中,将接收的储物柜标识对应的储物柜作为处于空置状态的储物柜。In one embodiment, the locker corresponding to the locker identifier sent by the server is in an empty state; correspondingly, in the step of determining the locker in the empty state, the received corresponding locker identifier is stored. The locker acts as a vacant locker.
在本实施方式中,所述服务器发送的储物柜标识对应的储物柜处于空置状态。具体的,服务器可以根据储物柜的状态信息,筛选得到处于空置状态的储物柜的储物柜标识,将所述储物柜标识发送给所述客户端。相应的,客户端在确定处于空置状态的储物柜的步骤中,将接收的储物柜标识对应的储物柜作为处于空置状态的储物柜。In this embodiment, the locker corresponding to the locker identifier sent by the server is in an empty state. Specifically, the server may obtain the locker ID of the locker in the vacant state according to the status information of the locker, and send the locker ID to the client. Correspondingly, in the step of determining the locker in the vacant state, the client uses the locker corresponding to the received locker identifier as the locker in the vacant state.
通过上述实施方式,可以方便用户查询储物柜。例如,送货员在投放快递时,只想 知道哪些储物柜是空着的。通过上述实施方式,可以提高送货员工作效率。Through the above embodiments, it is convenient for users to query the lockers. For example, when a delivery man delivers a courier, he just wants to know which lockers are empty. Through the above embodiments, the work efficiency of the delivery person can be improved.
在一个实施方式中,所述服务器发送的储物柜标识对应的储物柜处于占用状态;相应的,在确定处于空置状态的储物柜的步骤中,在存储的储物柜标识集中,去除所述占用状态的储物柜标识之后,剩余的储物柜标识对应的储物柜作为处于空置状态的储物柜。In one embodiment, the storage locker corresponding to the storage locker ID sent by the server is in an occupied state; correspondingly, in the step of determining the storage locker in a vacant state, the storage locker ID set is stored and removed. After the lockers in the occupied state are identified, the lockers corresponding to the remaining locker identifiers are used as the lockers in the vacant state.
在本实施方式中,所述服务器发送的储物柜标识对应的储物柜处于占用状态。具体的,服务器可以只发送处于占用状态的储物柜的储物柜标识。相应的,在确定处于空置状态的储物柜的步骤中,在存储的储物柜标识集中,去除所述占用状态的储物柜标识之后,剩余的储物柜标识对应的储物柜作为处于空置状态的储物柜。具体的,客户端侧可以存储有对应区域内的储物柜的储物柜标识。客户端在接收到服务器发送过来的储物柜标识后,将接收的储物柜标识,与存储的储物柜标识进行匹配。匹配成功时,进行标记,被标记的储物柜标识表示的储物柜处于占用状态。客户端将未被标记的储物柜标识对应的储物柜确定为处于空置状态的储物柜。In this embodiment, the locker corresponding to the locker identifier sent by the server is in an occupied state. Specifically, the server may send only the locker identifier of the locker in the occupied state. Correspondingly, in the step of determining the lockers in the vacant state, after the locker IDs in the occupied state are removed from the stored locker ID set, the lockers corresponding to the remaining locker IDs are regarded as being in the Vacant lockers. Specifically, the client side may store a locker identifier of a locker in a corresponding area. After receiving the locker ID sent by the server, the client matches the received locker ID with the stored locker ID. When the matching is successful, a mark is made, and the locker indicated by the marked locker ID is in an occupied state. The client determines the locker corresponding to the unlabeled locker ID as the locker that is vacant.
通过上述实施方式,储物柜状态为空置状态和占用状态,客户端可以通过接收占用状态的储物柜的储物柜标识,将剩余的储物柜标识对应的储物柜作为处于空置状态的储物柜。以此,也可以实现将处于占用状态的储物柜和空置状态的储物柜对应的储物柜标识进行区分。According to the foregoing embodiment, the state of the lockers is vacant and occupied, and the client can receive the locker ID of the locker in the occupied state, and use the lockers corresponding to the remaining locker IDs as the vacant Locker. In this way, it is also possible to distinguish the lockers corresponding to the lockers in the occupied state from the lockers in the vacant state.
在一个实施方式中,所述方法还可以包括以下步骤:接收服务器发送的储物柜的状态信息,状态信息表示对应的储物柜处于占用状态或空置状态。In one embodiment, the method may further include the following steps: receiving status information of the lockers sent by the server, and the status information indicates that the corresponding lockers are in an occupied state or an empty state.
在本实施方式中,占用状态标识该储物柜处于占用状态,储物柜中已经存放有物品。处于空置状态的储物柜标识储物柜中未存放有物品,可供使用。In this embodiment, the occupancy status indicates that the locker is in an occupant state, and items have been stored in the locker. Identification of the locker in the vacant state No items are stored in the locker and are available for use.
在本实施方式中,服务器可以将所述状态信息与所述储物柜标识建立映射关系,以使所述状态信息与所述储物柜标识对应,以表征对应的储物柜。例如,针对一个储物柜,服务器可以设置有储物柜标识,还可以设置有状态属性,状态属性中包括有状态信息以表示该储物柜的状态。In this embodiment, the server may establish a mapping relationship between the status information and the locker identifier, so that the status information corresponds to the locker identifier to characterize the corresponding locker. For example, for a locker, the server may be provided with a locker identifier, and may also be provided with a status attribute. The status attribute includes status information to indicate the status of the locker.
在本实施方式中,服务器获取对应的状态信息可以是通过柜锁向服务器发送对应储物柜的状态信息,也可以是根据柜锁向服务器发送的信号,服务器处理获得的状态信息,还可以根据用户向服务器发送的数据信息,处理获得的状态信息。例如,送货员在放入物品后,关闭柜门。此时,柜锁向服务器发送状态信息“占用状态”,以使服务器更新对应储物柜的状态信息。再例如,服务器侧每接收一个柜锁锁定的信号,服务器侧就切换一次状态信息,状态信息包括“空置状态”和“占用状态”。如,送货员在放入物品 后,关闭柜门。此时,柜锁向服务器发送一个柜锁锁定的信号,服务器将对应的状态信息从“空置状态”转为“占用状态”。同理,用户取走物品时,柜锁还会向服务器发送一个柜锁锁定的信号。服务器将对应的状态信息从“占用状态”转为“空置状态”。当然,服务器也可以根据接收的客户端发送的数据信息,处理得到状态信息。例如,送货员在将物品放入储物柜后,通过客户端向服务器发送信息,表征物品已经放入对应的储物柜。服务器在接收到信息后,将指向的储物柜的状态信息更新为“占用状态”。当然,所属领域技术人员在本申请技术精髓的启示下,还可能做出其它变更,但只要其实现的功能和效果与本申请相同或相似,均应涵盖于本申请保护范围内。In this embodiment, the server can obtain the corresponding status information by sending the status information of the corresponding locker to the server through the cabinet lock, or by the signal sent by the cabinet lock to the server. The status information obtained by the server processing can also be based on The data information sent by the user to the server, and the obtained status information is processed. For example, a delivery person closes a cabinet door after putting in an item. At this time, the cabinet lock sends status information "occupied status" to the server, so that the server updates the status information of the corresponding locker. For another example, each time the server side receives a lock signal from the cabinet lock, the server side switches the status information once, and the status information includes "vacant status" and "occupied status". For example, the deliveryman closes the door after putting in the item. At this time, the cabinet lock sends a signal to the server to lock the cabinet lock, and the server changes the corresponding status information from "vacant status" to "occupied status". Similarly, when the user removes the item, the cabinet lock will also send a signal to the server to lock the cabinet lock. The server changes the corresponding status information from "occupied status" to "vacant status". Of course, the server can also process the status information according to the data information sent by the client. For example, after a delivery person puts an item in a locker, the client sends information to the server through the client to indicate that the item has been placed in the corresponding locker. After receiving the information, the server updates the status information of the pointed locker to "occupied status". Of course, those skilled in the art may make other changes under the inspiration of the technical essence of this application, but as long as the functions and effects achieved by the application are the same or similar to this application, they should be covered by the protection scope of this application.
通过上述实施方式,客户端可以所述接收的储物柜标识和状态信息,确定处于空置状态的储物柜。用户也可以通过客户端,查看储物柜的状态信息。According to the foregoing implementation manner, the client can determine the locker in the vacant state based on the received locker identification and status information. Users can also view the status information of the lockers through the client.
本说明书实施方式还提供一种电子设备,至少包括:网络通信单元和处理器。An embodiment of the present specification further provides an electronic device including at least: a network communication unit and a processor.
所述网络通信单元用于接收服务器发送的储物柜的储物柜标识;所述储物柜标识用于表示储物柜。The network communication unit is configured to receive a storage cabinet identifier of a storage cabinet sent by a server; and the storage cabinet identifier is used to indicate a storage cabinet.
所述处理器用于根据所述接收的储物柜标识,确定处于空置状态的储物柜;接收用户输入;其中,所述用户输入指向的处于空置状态的储物柜的储物柜标识为目标储物柜标识;控制所述网络通信单元向所述服务器发送开锁请求;所述开锁请求中附带有所述目标储物柜标识,以使所述服务器向所述目标储物柜标识所对应的柜锁发出开锁指令,以使所述目标储物柜对应的柜锁处于解锁状态。The processor is configured to determine the locker in the vacant state according to the received locker identifier; receive user input; wherein the locker identifier of the locker in the vacant state pointed to by the user input is targeted Locker identification; controlling the network communication unit to send an unlocking request to the server; the unlocking request is accompanied by the target locker identification, so that the server responds to the target locker identification The cabinet lock issues an unlocking instruction, so that the cabinet lock corresponding to the target locker is in an unlocked state.
在本实施方式中,所述网络通信单元可以是与不同的通信协议进行绑定,从而可以发送或接收不同数据的虚拟单元。例如,所述网络通信单元可以是负责进行web数据通信的单元,也可以是负责进行FTP数据通信的单元,还可以是负责进行邮件数据通信的单元。此外,所述网络通信单元还可以是实体的通信接口或者通信芯片。例如,其可以为无线移动网络通信芯片,如GSM、CDMA等;其还可以为Wifi芯片、蓝牙芯片等。In this embodiment, the network communication unit may be a virtual unit that is bound to different communication protocols so that different data can be sent or received. For example, the network communication unit may be a unit responsible for web data communication, a unit responsible for FTP data communication, or a unit responsible for mail data communication. In addition, the network communication unit may also be a physical communication interface or a communication chip. For example, it can be a wireless mobile network communication chip, such as GSM, CDMA, etc .; it can also be a Wifi chip, Bluetooth chip, and so on.
在本实施方式中,所述处理器可以按任何适当的方式实现。例如,处理器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式等等。本申请并不作限定。In this embodiment, the processor may be implemented in any suitable manner. For example, a processor may take, for example, a microprocessor or processor and a computer-readable medium, logic gates, switches, application-specific integrated circuits (computer- Application Specific Integrated Circuit (ASIC), programmable logic controller and embedded microcontroller form, etc. This application is not limited.
本实施方式提供一种电子设备,相关术语可以对照前述实施方式的内容解释,在此不再赘述。This embodiment provides an electronic device, and related terms may be interpreted according to the content of the foregoing embodiment, and details are not described herein again.
本说明书实施方式还提供一种计算机存储介质,所述计算机存储介质存储有计算机程序指令,所述计算机程序指令被处理器执行时实现:接收服务器发送的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;根据所述接收的储物柜标识,确定处于空置状态的储物柜;接收用户输入;其中,所述用户输入指向的处于空置状态的储物柜的储物柜标识为目标储物柜标识;向所述服务器发送开锁请求;所述开锁请求中附带有所述目标储物柜标识,以使所述服务器向所述目标储物柜标识所对应的柜锁发出开锁指令,以使所述目标储物柜对应的柜锁处于解锁状态。An embodiment of the present specification further provides a computer storage medium, where the computer storage medium stores computer program instructions, and the computer program instructions are implemented by a processor to implement: receiving a locker identifier of a locker sent by a server; A locker identifier is used to indicate a locker; a locker in a vacant state is determined according to the received locker identifier; a user input is received; wherein the user input points to a locker in a vacant state The locker ID is the target locker ID; the unlock request is sent to the server; the lock request is accompanied by the target locker ID, so that the server sends the target locker ID corresponding to the target locker ID. The cabinet lock issues an unlocking instruction, so that the cabinet lock corresponding to the target locker is in an unlocked state.
在本实施方式中,所述计算机存储介质包括但不限于随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、缓存(Cache)、硬盘(Hard Disk Drive,HDD)或者存储卡(Memory Card)。In this embodiment, the computer storage medium includes, but is not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), Cache, and Hard Disk Drive. HDD) or memory card.
本实施方式提供一种计算机存储介质,相关术语可以对照前述实施方式的内容解释,在此不再赘述。This embodiment provides a computer storage medium, and related terms may be interpreted according to the content of the foregoing embodiment, and details are not described herein again.
请参阅图7。本说明书实施方式还提供一种储物柜控制方法,应用于服务器,所述方法包括以下步骤。See Figure 7. An embodiment of the present specification also provides a method for controlling a locker, which is applied to a server, and the method includes the following steps.
步骤S20:接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域。Step S20: Receive a locker status query request sent by the client; wherein the locker status query request is directed to a target geographic area.
在本实施方式中,所述储物柜状态查询请求用于查询目标地理区域的储物柜的状态。具体的,所述状态可以包括空置状态、占用状态、打开状态、预定状态等。预定状态表征该储物柜已被人在特定时间内预定。In this embodiment, the locker status query request is used to query the status of the locker in the target geographic area. Specifically, the states may include a vacant state, an occupied state, an opened state, a predetermined state, and the like. The reservation status indicates that the locker has been reserved by a person within a specific time.
在本实施方式中,所述目标地理区域可以是指对应用户想要查询的储物柜的区域。具体的,例如用户通过客户端指定的一个地理位置区域,也可以是指默认用户附近的地理区域。例如用户指定A小区,想查看A小区的储物柜的状态信息,则目标地理区域为A小区。再例如,用户未指定目标区域,服务器默认为该用户使用客户端发送的储物柜状态查询请求中附带的该用户位置信息,默认该位置信息的500米以内为目标地理区域。此处不做具体赘述。In this embodiment, the target geographic area may refer to an area corresponding to a locker that a user wants to query. Specifically, for example, a geographic area specified by a user through a client may also refer to a geographic area near a default user. For example, if the user specifies cell A and wants to view the status information of the lockers in cell A, the target geographic area is cell A. For another example, if the user does not specify a target area, the server defaults to the user's location information attached to the locker status query request sent by the client. By default, the target geographic area is within 500 meters of the location information. I won't go into details here.
步骤S22:检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于空置状态的储物柜的储物柜标识;所述储物柜标识用于表示储物柜。Step S22: Retrieving the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in a vacant state; the locker The logo is used to indicate a locker.
在本实施方式中,所述使用信息用于对应于所述状态查询请求的信息。具体的,例 如,状态查询请求为查询目标地理区域的处于空置状态的储物柜时,服务器检索目标地理区域的储物柜状态信息和对应的储物柜标识,筛选得到其中处于空置状态的储物柜的储物柜标识。此时,所述使用信息为筛选得到储物柜标识。再例如,所述状态查询请求为针对所述目标地理区域的储物柜的整体信息时,所述使用信息还可以是包括储物柜标识与对应的状态信息。所述使用信息集用于表征所述使用信息的集合。在本实施方式中,所述使用信息集中至少包括处于空置状态的储物柜的储物柜标识。In this embodiment, the usage information is used for information corresponding to the status query request. Specifically, for example, when the status query request is to query the lockers in the target geographic area that are vacant, the server retrieves the status information of the lockers in the target geographic area and the corresponding locker identifier, and filters to obtain the storage in the vacant state Locker identification of the locker. At this time, the use information is a locker identifier obtained by screening. As another example, when the status query request is the overall information of the locker for the target geographic area, the usage information may further include a locker identifier and corresponding status information. The usage information set is used to characterize the collection of usage information. In this embodiment, the use information set includes at least a locker identifier of the locker in a vacant state.
在本实施方式中,检索所述目标地理区域内的储物柜的使用信息。具体的,可以根据所述储物柜的地理位置信息,与所述目标地理区域进行匹配。匹配成功时,得到对应的储物柜的使用信息。In this embodiment, the use information of the lockers in the target geographic area is retrieved. Specifically, matching can be performed with the target geographic area according to the geographic location information of the locker. When the matching is successful, the usage information of the corresponding locker is obtained.
在本实施方式中,所述使用信息集中至少包括处于空置状态的储物柜的储物柜标识,还可以包括其他状态的储物柜的储物柜标识,以及对应的状态信息等。In this embodiment, the use information set includes at least a locker identifier of a locker in an empty state, and may further include a locker identifier of a locker in another state, and corresponding status information.
步骤S24:将所述使用信息集发送给所述客户端。Step S24: Send the usage information set to the client.
步骤S26:在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。Step S26: In the case of receiving the unlocking request sent by the client, according to the target locker identification attached to the unlocking request, send an unlocking instruction to the locker corresponding to the target locker identification. To make the cabinet lock in an unlocked state.
在本实施方式中,所述开锁指令用于指示对应的柜锁开锁。具体的,例如,所述柜锁在接收到服务器发送的开锁指令时,可以根据该开锁指令,驱动锁体,进行开锁,使所述柜锁处于解锁状态。In this embodiment, the unlock instruction is used to instruct the corresponding cabinet lock to be unlocked. Specifically, for example, when the cabinet lock receives the unlocking instruction sent by the server, the cabinet lock may be driven to unlock according to the unlocking instruction, so that the cabinet lock is in an unlocked state.
在本实施方式中,服务器可以根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令。具体的,例如,服务器接收的开锁请求中,附带有目标储物柜标识“001”,服务器根据该储物柜标识对应的柜锁,向该柜锁发送开锁指令。In this embodiment, the server may send an unlocking instruction to a cabinet lock corresponding to the target locker identifier according to the target locker identifier attached to the unlock request. Specifically, for example, the unlock request received by the server is accompanied by the target locker identifier “001”, and the server sends an unlock instruction to the locker according to the locker corresponding to the locker identifier.
通过上述实施方式,可以实现通过服务器直接控制柜锁,省去储物柜主柜,对应的储物柜也可以分散放置,局部实现去中心化。用户还可以通过上述实施方式,查询所述目标地理区域的储物柜状态。Through the foregoing implementation manner, it is possible to directly control the cabinet lock through the server, eliminating the main cabinet of the storage cabinet, and the corresponding storage cabinets can also be scattered and partially decentralized. The user may also query the status of the lockers in the target geographic area through the foregoing implementation manner.
在一个实施方式中,所述使用信息集包括与所述储物柜标识对应的状态信息;状态信息用于表示对应的储物柜处于占用状态或空置状态。In one embodiment, the usage information set includes status information corresponding to the locker identifier; the status information is used to indicate that the corresponding locker is in an occupied state or an empty state.
上述实施方式,进一步限定所述使用信息集中包括的内容。具体的,所述使用信息集包括有与所述储物柜标识对应的状态信息,用于表示对应储物柜的状态。The foregoing implementation manner further limits content included in the usage information set. Specifically, the use information set includes status information corresponding to the locker identifier, and is used to indicate a status of the corresponding locker.
在一个实施方式中,所述方法还包括以下步骤。In one embodiment, the method further includes the following steps.
步骤S30:接收所述客户端发送的物品标识;所述物品标识用于表示所述目标储物柜标识表示的储物柜存储的物品。Step S30: Receive an item identifier sent by the client; the item identifier is used to indicate an item stored in the locker indicated by the target locker identifier.
在本实施方式中,所述物品标识用于表示所述目标储物柜标识表示的储物柜存储的物品。具体的,所述物品标识可以是物流单号等。所述物品标识的表现形式可以是二维码、条形码、或者一组字母等。客户端可以通过扫码获取所述物品标识,或者在根据预先接收到的服务器发送的物品标识等。此处不做具体赘述。In this embodiment, the item ID is used to indicate an item stored in the locker indicated by the target locker ID. Specifically, the item identifier may be a logistics order number or the like. The expression form of the article identifier may be a two-dimensional code, a barcode, or a group of letters. The client can obtain the item identification by scanning the code, or according to the item identification sent in advance by the server. I won't go into details here.
在本实施方式中,客户端发送的物品标识。具体的,可以是通过用户的输入。达到预设的条件时,向服务器发送所述物品标识。例如,送货员使用客户端输入物品标识,以及对应的储物柜标识等,点击“发送”按钮,向服务器发送所述物品标识。再例如,送货员使用客户端扫描物品的二维码,获取用于表示的该物品的物品标识,向服务器发送所述物品标识。In this embodiment, the item identification sent by the client. Specifically, it may be input by a user. When the preset condition is reached, the item identifier is sent to the server. For example, the deliveryman uses the client to input the item identification, the corresponding locker identification, etc., and clicks the "send" button to send the item identification to the server. For another example, the deliveryman uses the client to scan the QR code of the item, obtains the item identification for the item, and sends the item identification to the server.
步骤S32:将所述物品标识和所述目标储物柜标识进行绑定。Step S32: Binding the item identifier and the target locker identifier.
在本实施方式中,将所述物品标识和所述目标储物柜标识进行绑定。具体的,可以是指服务器根据接收的所述物品标识,与对应的所述目标储物柜标识之间建立映射关系。例如,所述服务器可以建立表格,或者建立所述目标储物柜标识的属性,该属性中包括所述物品标识等的方式来建立映射关系。In this embodiment, the item identifier and the target locker identifier are bound. Specifically, it may refer to establishing a mapping relationship between the server and the corresponding target locker identifier according to the received item identifier. For example, the server may establish a table or establish an attribute of the target locker identifier, and the attribute includes the item identifier to establish a mapping relationship.
通过上述实施方式,将所述物品标识和所述目标储物柜标识进行绑定,便于用户找到物品对应的储物柜,方便提取。According to the foregoing implementation manner, the item identifier and the target locker identifier are bound, so that the user can find the locker corresponding to the item and facilitate the extraction.
在一个实施方式中,在检索所述目标地理区域内的储物柜的使用信息的步骤中可以包括:根据所述储物柜状态查询请求附带的该客户端位置信息,计算获得指定的距离阈值内所述储物柜的储物柜标识。In one embodiment, the step of retrieving the use information of the lockers in the target geographic area may include: calculating and obtaining a specified distance threshold according to the client location information attached to the locker status query request The locker identification of the locker.
在本实施方式中,所述客户端位置信息用于表征该客户端的位置,具体的,可以是经纬度信息等。具体的,所述客户端可以通过GPS等获取该客户端位置信息。此处不做具体赘述。In this embodiment, the client location information is used to characterize the location of the client. Specifically, the client location information may be longitude and latitude information. Specifically, the client may obtain the client location information through GPS or the like. I won't go into details here.
在本实施方式中,计算获得指定的距离阈值内处于空置状态的储物柜的储物柜标识。具体的,所述服务器可以根据客户端位置信息以及储物柜的位置信息,计算得到两者距离值。针对不同储物柜,得到对应的距离值。根据至少一个距离值,与指定的距离阈值进行对比。在小于等于所述指定的距离阈值时,确定对应的储物柜标识。例如,指定的距离阈值为200米,计算得到200米以内对应的储物柜标识。In this embodiment, a locker identifier of a locker in a vacant state within a specified distance threshold is calculated and obtained. Specifically, the server may calculate the distance value between the client and the locker based on the location information of the client. For different lockers, get the corresponding distance value. Compare with a specified distance threshold based on at least one distance value. When the specified distance threshold is less than or equal to the specified distance threshold, a corresponding locker identifier is determined. For example, the specified distance threshold is 200 meters, and the corresponding locker ID within 200 meters is calculated.
当然,在获取所述储物柜的储物柜标识后,还可以包括筛选得到其中处于空置状态 的储物柜标识,或处于占用状态的储物柜标识。此处不做具体赘述。Of course, after obtaining the locker ID of the locker, it may also include filtering to obtain the locker ID in an empty state or the locker ID in an occupied state. I won't go into details here.
通过上述实施方式,可以计算得到与客户端位置信息在指定的距离阈值内对应的储物柜的储物柜标识。以供用户查询。According to the foregoing implementation manner, a locker identifier of a locker corresponding to the client location information within a specified distance threshold can be calculated. For users to query.
请参阅图8。本说明书实施方式提供一种服务器,可以包括:接收单元、检索单元和发送单元。See Figure 8. An embodiment of the present specification provides a server, which may include a receiving unit, a searching unit, and a sending unit.
所述接收单元用于接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域。The receiving unit is configured to receive a locker status query request sent by a client; wherein the locker status query request is directed to a target geographic area.
所述检索单元用于检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于空置状态的储物柜的储物柜标识;所述储物柜标识用于表示储物柜。The retrieval unit is configured to retrieve use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in a vacant state; the The locker logo is used to indicate a locker.
所述发送单元用于将所述使用信息集发送给所述客户端。The sending unit is configured to send the usage information set to the client.
所述发送单元还用于在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。The sending unit is further configured to, when receiving the unlock request sent by the client, identify the cabinet corresponding to the locker to the target locker according to the target locker identification attached to the unlock request. The lock sends an unlocking instruction; so that the cabinet lock is in an unlocked state.
在本实施方式中,仅针对与前述实施方式不同之处进行了描述,其它内容可以对照前述实施方式的内容解释,在此不再赘述。In this embodiment, only the differences from the foregoing embodiment are described, and other contents may be explained in comparison with the contents of the foregoing embodiment, and will not be repeated here.
本说明书实施方式提供一种电子设备,可以包括:网络通信单元和处理器。An embodiment of the present specification provides an electronic device, which may include a network communication unit and a processor.
所述网络通信单元用于接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域。The network communication unit is configured to receive a locker status query request sent by a client; wherein the locker status query request is directed to a target geographic area.
所述处理器用于检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于空置状态的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;控制所述网络通信单元将所述使用信息集发送给所述客户端;在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。The processor is configured to retrieve the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in a vacant state; the storage The locker identifier is used to indicate a locker; controlling the network communication unit to send the usage information set to the client; and in the case of receiving the unlock request sent by the client, according to the unlock request The attached target locker identifier sends an unlocking instruction to a locker of the locker corresponding to the target locker identifier; so that the locker is in an unlocked state.
在本实施方式中,仅针对与前述实施方式不同之处进行了描述,其它内容可以对照前述实施方式的内容解释,在此不再赘述。In this embodiment, only the differences from the foregoing embodiment are described, and other contents may be explained in comparison with the contents of the foregoing embodiment, and will not be repeated here.
本说明书实施方式提供一种计算机存储介质,所述计算机存储介质存储有计算机程序指令,所述计算机程序指令被处理器执行时实现:接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域;检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于空置状态 的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;将所述使用信息集发送给所述客户端;在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。An embodiment of the present specification provides a computer storage medium that stores computer program instructions, and the computer program instructions are implemented by a processor to implement: receiving a locker status query request sent by a client; wherein, the The locker status query request points to the target geographic area; retrieves the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least the storage of the lockers in the empty state A locker identifier; the locker identifier is used to indicate a locker; sending the usage information set to the client; and upon receiving the unlock request sent by the client, according to the unlock request The attached target locker identifier sends an unlocking instruction to a locker of the locker corresponding to the target locker identifier; so that the locker is in an unlocked state.
本实施方式中提供的计算机存储介质,其程序指令被执行时实现的功能和效果可以参见其它实施方式对照解释。For the computer storage medium provided in this embodiment, the functions and effects achieved when the program instructions are executed can be referred to other embodiments for explanation.
请参阅图9。本说明书实施方式还提供一种储物柜控制方法,应用于服务器,所述方法包括:See Figure 9. An embodiment of the present specification also provides a method for controlling a locker, which is applied to a server. The method includes:
步骤S40:接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域;Step S40: receiving a locker status query request sent by the client; wherein the locker status query request points to a target geographic area;
步骤S42:检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于占用状态的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;Step S42: retrieve the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in the occupied state; the locker The logo is used to indicate a locker;
步骤S44:将所述使用信息集发送给所述客户端;Step S44: sending the usage information set to the client;
步骤S46:在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。Step S46: In the case of receiving the unlocking request sent by the client, according to the target locker identification attached to the unlocking request, send an unlocking instruction to the locker corresponding to the target locker identification. To make the cabinet lock in an unlocked state.
在本实施方式中,所述使用信息集中至少包括处于占用状态的储物柜的储物柜标识。具体的,服务器可以根据存储的储物柜标识以及对应的状态信息,筛选得到处于占用状态的储物柜的储物柜标识。其中,状态信息可以是接收来自其他客体的信息,如用户客户端或者柜锁,也可以根据接收的来自其他客体的信息处理得到等。此处不做具体赘述。In this embodiment, the use information set includes at least a locker identifier of the locker in an occupied state. Specifically, the server may obtain the locker ID of the locker in the occupied state by filtering according to the stored locker ID and corresponding status information. The status information may be information received from other objects, such as a user client or cabinet lock, or may be obtained by processing the received information from other objects. I won't go into details here.
在本实施方式中,服务器将所述使用信息集发送给所述客户端。具体的,例如,服务器可以将处于占用状态的储物柜的储物柜标识发送。客户端在接收到所述处于占用状态的储物柜的储物柜标识后,根据存储的所述目标地理位置的储物柜标识,将剩余的储物柜标识对应的储物柜作为处于空置状态的储物柜。In this embodiment, the server sends the usage information set to the client. Specifically, for example, the server may send the locker identifier of the locker in the occupied state. After receiving the locker ID of the locker in the occupied state, the client uses the locker corresponding to the remaining locker ID as the vacant according to the stored locker ID of the target geographic location. State lockers.
通过上述实施方式,可以提供一种服务器侧的储物柜控制方法,方便用户查询储物柜的状态信息,以及实施对储物柜的管理控制。According to the foregoing embodiments, a server-side storage locker control method can be provided, which is convenient for a user to query the status information of the storage locker and implement management control on the storage locker.
在本实施方式中,仅针对与前述实施方式不同之处进行了描述,其它内容可以对照前述实施方式的内容解释,在此不再赘述。In this embodiment, only the differences from the foregoing embodiment are described, and other contents may be explained in comparison with the contents of the foregoing embodiment, and will not be repeated here.
本说明书实施方式还提供一种服务器,可以包括:接收单元、检索单元和发送单元。An embodiment of the present specification further provides a server, which may include a receiving unit, a searching unit, and a sending unit.
所述接收单元用于接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域。The receiving unit is configured to receive a locker status query request sent by a client; wherein the locker status query request is directed to a target geographic area.
所述检索单元用于检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于占用状态的储物柜的储物柜标识;所述储物柜标识用于表示储物柜。The retrieval unit is configured to retrieve use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in an occupied state; the The locker logo is used to indicate a locker.
所述发送单元用于将所述使用信息集发送给所述客户端。The sending unit is configured to send the usage information set to the client.
所述发送单元还用于在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。The sending unit is further configured to, when receiving the unlock request sent by the client, identify the cabinet corresponding to the locker to the target locker according to the target locker identification attached to the unlock request. The lock sends an unlocking instruction; so that the cabinet lock is in an unlocked state.
上述实施方式提供一种服务器,其它内容可以对照前述实施方式的内容解释,在此不再赘述。The foregoing embodiment provides a server, and other content may be explained in accordance with the content of the foregoing embodiment, and details are not described herein again.
请参阅图10。本说明书实施方式还提供一种储物柜控制方法,应用于服务器,所述方法包括:See Figure 10. An embodiment of the present specification also provides a method for controlling a locker, which is applied to a server. The method includes:
步骤S50:在接收到客户端发送的开锁请求的情况下,在处于空置的储物柜的储物柜标识中,选定目标储物柜标识;所述储物柜标识用于表示对应的储物柜。Step S50: In the case of receiving the unlocking request sent by the client, among the locker IDs of the vacant lockers, a target locker ID is selected; the locker ID is used to indicate the corresponding storage Lockers.
步骤S52:向所述目标储物柜标识对应柜锁发送开锁指令;以使所述目标储物柜标识对应的储物柜的柜锁处于解锁状态。Step S52: Send an unlock instruction to the locker corresponding to the target locker identifier; so that the locker of the locker corresponding to the target locker identifier is in an unlocked state.
在本实施方式中,在处于空置的储物柜的储物柜标识中,选定目标储物柜标识。具体的,服务器可以计算与所述客户端位置信息指定的距离阈值内的储物柜标识。筛选得到处于空置的储物柜的储物柜标识。在所述处于空置的储物柜的储物柜标识中,随机选择一个储物柜标识,以进行选定。或者,确定与所述客户端位置信息距离最近的所述处于空置的储物柜的储物柜标识,以进行选定。此处不做具体赘述。In this embodiment, among the locker IDs of the vacant lockers, the target locker ID is selected. Specifically, the server may calculate a locker identifier within a distance threshold specified by the location information of the client. Screening to get the locker ID of an empty locker. Among the locker identifiers of the vacant lockers, a locker identifier is randomly selected for selection. Alternatively, a locker identifier of the vacant locker that is closest to the client location information is determined for selection. I won't go into details here.
在本实施方式中,以服务器选定储物柜标识作为目标储物柜标识,向该目标储物柜标识对应柜锁发送开锁指令。In this embodiment, the locker ID selected by the server is used as the target locker ID, and an unlock instruction is sent to the locker corresponding to the target locker ID.
上述实施方式,客户端向服务器发送的开锁指令可以是一个信号。服务器侧选定目标储物柜标识,以实现对储物柜的控制。在本实施方式中,仅针对与前述实施方式不同之处进行了描述,其它内容可以对照前述实施方式的内容解释,在此不再赘述。In the foregoing embodiment, the unlock instruction sent by the client to the server may be a signal. Select the target locker ID on the server side to control the locker. In this embodiment, only the differences from the foregoing embodiment are described, and other contents may be explained in comparison with the contents of the foregoing embodiment, and will not be repeated here.
在一个实施方式中,在选定目标储物柜标识的步骤中包括:根据所述客户端的位置信息和处于空置状态的储物柜的位置信息,确定与所述客户端最近的处于空置状态的储 物柜,以该储物柜的储物柜标识作为所述目标储物柜标识。In one embodiment, the step of selecting the target locker identification includes: determining, according to the location information of the client and the location information of the locker in the vacant state, the closest one to the client in the vacant state. The locker uses the locker ID of the locker as the target locker ID.
在本实施方式中,确定与所述客户端最近的处于空置状态的储物柜。具体的,服务器可以预先筛选得到处于空置状态的储物柜对应的储物柜标识。在筛选得到的处于空置状态的储物柜对应的储物柜标识中,分别计算储物柜与所述客户端的距离,确定距离最近的储物柜的储物柜标识。再例如,服务器可以计算储物柜与客户端的距离。将对应的储物柜标识,依照距离的排序。按照距离从近到远,依次验证所述储物柜标识对应的储物柜的状态信息。当所述状态信息为空置状态时,停止步骤,确定该储物柜标识为所述目标储物柜标识。该储物柜标识对应的储物柜与所述客户端最近且处于空置状态。In this embodiment, a storage locker that is closest to the client in a vacant state is determined. Specifically, the server may pre-screen to obtain the locker ID corresponding to the locker in the vacant state. In the locker identifiers corresponding to the lockers in the vacant state obtained by screening, the distances between the lockers and the client are calculated respectively, and the locker identifiers of the closest lockers are determined. As another example, the server can calculate the distance between the locker and the client. Mark the corresponding lockers in order of distance. According to the distance from near to far, the state information of the lockers corresponding to the locker identifiers is sequentially verified. When the status information is vacant, the step is stopped, and the locker identifier is determined to be the target locker identifier. The locker corresponding to the locker identifier is closest to the client and is in an empty state.
通过上述实施方式,进一步限定目标储物柜标识的选定。对应该定目标储物柜标识的储物柜与客户端距离最近,方便用户进行存储物品。According to the foregoing embodiment, the selection of the target locker identifier is further limited. The locker corresponding to the target locker identification is closest to the client, which is convenient for users to store items.
本说明书实施方式还提供一种服务器,可以包括:处理器和网络通信单元。An embodiment of the present specification further provides a server, which may include a processor and a network communication unit.
所述处理器用于在接收到客户端发送的开锁请求的情况下,在处于空置的储物柜的储物柜标识中,选定目标储物柜标识;所述储物柜标识用于表示对应的储物柜。The processor is configured to select a target locker ID among the locker IDs of the vacant lockers when receiving the unlocking request sent by the client; the locker ID is used to indicate a corresponding Lockers.
所述网络通信单元用于向所述目标储物柜标识对应柜锁发送开锁指令;以使所述目标储物柜标识对应的储物柜的柜锁处于解锁状态。The network communication unit is configured to send an unlock instruction to the locker corresponding to the target locker identifier; so that the locker of the locker corresponding to the target locker identifier is in an unlocked state.
在本实施方式中,仅针对与前述实施方式不同之处进行了描述,其它内容可以对照前述实施方式的内容解释,在此不再赘述。In this embodiment, only the differences from the foregoing embodiment are described, and other contents may be explained in comparison with the contents of the foregoing embodiment, and will not be repeated here.
请参阅图11。本说明书实施方式提供一种储物柜控制方法,应用于服务器,所述方法包括:See Figure 11. An embodiment of the present specification provides a method for controlling a locker, which is applied to a server. The method includes:
步骤S60:接收客户端发送的开锁请求;所述开锁请求附带有目标储物柜标识;所述目标储物柜标识用于表征开锁请求指向的储物柜。Step S60: receiving an unlocking request sent by the client; the unlocking request is accompanied by a target locker identifier; the target locker identifier is used to characterize the locker to which the unlocking request is directed.
步骤S62:根据所述目标储物柜标识,向对应的路由器发送第一开锁指令;以使所述路由器根据所述第一开锁指令,向该路由器信号覆盖范围内的所述目标储物柜的柜锁发送第二开锁指令,以使所述目标储物柜的柜锁处于解锁状态。Step S62: sending a first unlocking instruction to the corresponding router according to the target locker identification, so that the router sends a signal of the target locker within the signal coverage range to the router according to the first unlocking instruction. The cabinet lock sends a second unlocking instruction, so that the cabinet lock of the target storage cabinet is in an unlocked state.
在本实施方式中,所述服务器在接收到所述开锁请求后,可以根据所述开锁请求,确定对应的路由器。例如,服务器根据路由器与其覆盖范围内的储物柜的储物柜标识,以及服务器根据所述开锁请求附带的目标储物柜标识,将所述目标储物柜标识与路由器其覆盖范围内的储物柜的储物柜标识进行匹配。匹配成功是,将该路由器确定为对应的路由器。In this embodiment, after receiving the unlock request, the server may determine a corresponding router according to the unlock request. For example, the server compares the target locker ID with the router's storage area based on the locker ID of the router and the lockers within its coverage area, and the server's target locker ID attached to the unlock request. The locker IDs of the lockers match. If the match is successful, the router is determined as the corresponding router.
在本实施方式中,向对应的路由器发送第一开锁指令,所述第一开锁指令可以附带 有所述目标储物柜标识,以使所述路由器向目标储物柜标识对应的柜锁发送开锁指令。In this embodiment, a first unlocking instruction is sent to a corresponding router, and the first unlocking instruction may be accompanied by the target locker identification, so that the router sends an unlocking lock to a cabinet lock corresponding to the target locker identification. instruction.
在本实施方式中,所述路由器可以具有独立的操作系统。所述路由器可以包括处理器和网络通信单元,以实现对该路由器控制其覆盖范围内的储物柜。In this embodiment, the router may have an independent operating system. The router may include a processor and a network communication unit, so as to control the router to a storage cabinet within its coverage area.
当然本领域技术人员在本发明的启发下,还可以使用其他第三方智能设备以代替所述路由器,实现其对应功能。Of course, those skilled in the art can also use other third-party smart devices instead of the router to achieve their corresponding functions under the inspiration of the present invention.
在本实施方式中,仅针对与前述实施方式不同之处进行了描述,其它内容可以对照前述实施方式的内容解释,在此不再赘述。In this embodiment, only the differences from the foregoing embodiment are described, and other contents may be explained in comparison with the contents of the foregoing embodiment, and will not be repeated here.
请参阅图12。本说明书实施方式提供一种储物柜控制方法,应用于客户端,所述方法可以包括以下步骤。See Figure 12. The embodiment of the present specification provides a method for controlling a locker, which is applied to a client. The method may include the following steps.
步骤S70:接收至少一个储物柜的柜锁发送的信号;所述信号对应有储物柜标识,所述储物柜标识用于表示的储物柜。Step S70: Receive a signal sent by a cabinet lock of at least one storage cabinet; the signal corresponds to a storage cabinet identification, and the storage cabinet identification is used for the storage cabinet indicated.
在本实施方式中,所述信号对应有储物柜标识,用于标识对应的储物柜。所述信息也可以附带有储物柜的状态信息。此处不做具体限定。在无附带的储物柜的状态信息时,用户可以根据储物柜标识对应的柜锁的指示器,查看该储物柜的状态信息。In this embodiment, the signal corresponds to a locker identifier, and is used to identify the corresponding locker. The information may also be accompanied by status information of the locker. It is not specifically limited here. When there is no status information of the attached locker, the user can view the status information of the locker according to the indicator of the lock corresponding to the locker identification.
在本实施方式中,接收至少一个储物柜的柜锁发送的信号。具体的,所述客户端可以通过蓝牙/NFC近场通信技术等,与所述储物柜的柜锁连接。在达到触发条件时,接收至少一个储物柜的柜锁发送的信号。例如,用户客户端的位置信息到达指定范围时,满足触发条件。柜锁向客户端发送信号。再例如,客户端向柜锁发送请求,以接收储物柜反馈的信号等。In this embodiment, a signal sent by a cabinet lock of at least one locker is received. Specifically, the client may be connected to the locker of the locker via Bluetooth / NFC near field communication technology and the like. When the trigger condition is reached, a signal is sent from the lock of at least one locker. For example, when the location information of the user client reaches a specified range, the trigger condition is met. The cabinet lock sends a signal to the client. For another example, the client sends a request to the locker to receive signals from the locker.
步骤S72:根据接收到的所述信号,展示对应的储物柜标识。Step S72: Display the corresponding locker identification according to the received signal.
在本实施方式中,可以根据所述信号中附带的所述储物柜标识。客户端通过显示器向用户展示,以供用户进行查询或输入选定。In this embodiment, it may be based on the locker identification attached to the signal. The client displays to the user through the display for the user to make a query or input selection.
步骤S74:接收用户输入;以用户输入指向的储物柜标识作为目标储物柜标识。Step S74: Receive user input; use the locker ID pointed to by the user input as the target locker ID.
在本实施方式中,用户输入用于选定目标储物柜标识。用户输入可以包括用户在客户端界面上的预设操作。如,用户按压设备屏幕的力度大于预设阈值时,将按压对应的储物柜标识确定为目标储物柜标识。当然用户也可以通过摇晃客户端设备来确定目标储物柜标识。用户输入还可以包括接收外接设备产生信号等。例如,接收VR设备的手势操作信息。用户输入还可以包括声音信号的接收或者变化。例如,语音信号的接收、声音属性值大于预设属性值等。需要说明的是,所述用户输入的方式不限于上述举例,所属领域技术人员在本申请技术精髓的启示下,还可能做出其它变更,但只要其实现的功 能和效果与本申请相同或相似,均应涵盖于本申请保护范围内。所述目标储物柜标识用于表征用户输入指向的储物柜标识。In this embodiment, the user inputs an identifier for selecting a target locker. The user input may include a preset operation of the user on the client interface. For example, when the user presses the screen of the device more than a preset threshold, the user presses the corresponding locker identifier as the target locker identifier. Of course, users can also determine the target locker ID by shaking the client device. User input may also include receiving signals generated by external devices. For example, receiving gesture operation information of a VR device. User input may also include the reception or change of a sound signal. For example, the voice signal is received, and the sound attribute value is greater than a preset attribute value. It should be noted that the manner of user input is not limited to the above examples. Those skilled in the art may make other changes under the inspiration of the technical essence of this application, but as long as the functions and effects achieved by the application are the same or similar to this application Shall be covered by the protection scope of this application. The target locker identifier is used to characterize a locker identifier to which a user input points.
步骤S76:向所述目标储物柜标识表示的储物柜的柜锁发送的开锁信号,以使该柜锁处于解锁状态。Step S76: An unlocking signal sent to the locker of the locker indicated by the target locker identifier, so that the locker is in an unlocked state.
在本实施方式中,仅针对与前述实施方式不同之处进行了描述,其它内容可以对照前述实施方式的内容解释,在此不再赘述。In this embodiment, only the differences from the foregoing embodiment are described, and other contents may be explained in comparison with the contents of the foregoing embodiment, and will not be repeated here.
在一个实施方式中,所述方法还包括以下步骤:向服务器发送物品标识和所述目标储物柜标识;以使所述服务器将所述物品标识与所述目标储物柜标识进行绑定;所述物品标识用于表示所述目标储物柜标识表示的储物柜存储的物品。In one embodiment, the method further includes the steps of: sending an item identification and the target locker identification to a server; so that the server binds the item identification and the target locker identification; The item identifier is used to indicate an item stored in the locker indicated by the target locker identifier.
通过上述实施方式,在服务器侧将所述物品标识与所述目标储物柜标识建立映射关系,以绑定。According to the foregoing implementation manner, a mapping relationship is established between the item identifier and the target locker identifier on the server side for binding.
本说明书实施方式提供一种储物柜控制系统,所述储物柜控制系统包括:客户端、服务器、柜锁、路由器。The embodiments of the present specification provide a locker control system. The locker control system includes a client, a server, a lock, and a router.
所述柜锁用于安装在所述储物柜;所述柜锁能接收所述服务器控制处于锁定状态和解锁状态;在所述锁定状态下,所述柜锁阻碍所述储物柜的柜门打开;在所述解锁状态下,所述柜锁解除对所述柜门的阻碍。The cabinet lock is used to be installed in the storage cabinet; the cabinet lock can receive the server control in a locked state and an unlocked state; in the locked state, the cabinet lock obstructs the cabinet of the storage cabinet The door is open; in the unlocked state, the cabinet lock releases obstruction to the cabinet door.
所述客户端用于向所述服务器发送开锁请求。具体的,所述开锁请求可以指向目标储物柜的柜锁。The client is configured to send an unlock request to the server. Specifically, the unlock request may be directed to a cabinet lock of a target locker.
所述服务器用于接收所述开锁请求;根据所述开锁请求,向所述路由器发送第一开锁指令。The server is configured to receive the unlocking request; and send a first unlocking instruction to the router according to the unlocking request.
所述路由器用于接收所述第一开锁指令;根据所述第一开锁指令,向该路由器信号覆盖范围内的所述目标储物柜的柜锁发送第二开锁指令,以使所述目标储物柜的柜锁处于所述解锁状态。The router is configured to receive the first unlocking instruction; and according to the first unlocking instruction, send a second unlocking instruction to a cabinet lock of the target locker within the signal coverage of the router, so that the target storage The cabinet lock of the object cabinet is in the unlocked state.
在本实施方式中,仅针对与前述实施方式不同之处进行了描述,其它内容可以对照前述实施方式的内容解释,在此不再赘述。In this embodiment, only the differences from the foregoing embodiment are described, and other contents may be explained in comparison with the contents of the foregoing embodiment, and will not be repeated here.
请参阅图13。本说明书实施方式提供一种柜锁,应用于储物柜,包括网络通信单元、处理器和锁体。See Figure 13. The embodiment of the present specification provides a cabinet lock, which is applied to a storage cabinet and includes a network communication unit, a processor, and a lock body.
所述网络通信单元用于接收服务器或路由器发送的开锁指令。The network communication unit is configured to receive an unlocking instruction sent by a server or a router.
所述网络通信单元还用于向所述服务器或客户端发送状态信息,以表征所述储物柜的状态;所述储物柜的状态至少包括以下之一:空置状态、占用状态。The network communication unit is further configured to send status information to the server or client to characterize the status of the locker; the status of the locker includes at least one of the following: vacant status, occupied status.
所述处理器用于在接收到所述服务器或所述路由器发送的开锁指令的情况下,使所述锁体处于解锁状态。The processor is configured to make the lock body in an unlocked state when a lock unlocking instruction sent by the server or the router is received.
在本实施方式中,所述网络通信单元可以是与不同的通信协议进行绑定,从而可以发送或接收不同数据的虚拟单元。例如,所述网络通信单元可以是负责进行web数据通信的单元,也可以是负责进行FTP数据通信的单元,还可以是负责进行邮件数据通信的单元。此外,所述网络通信单元还可以是实体的通信接口或者通信芯片。例如,其可以为无线移动网络通信芯片,如GSM、CDMA等;其还可以为Wifi芯片、蓝牙芯片等。In this embodiment, the network communication unit may be a virtual unit that is bound to different communication protocols so that different data can be sent or received. For example, the network communication unit may be a unit responsible for web data communication, a unit responsible for FTP data communication, or a unit responsible for mail data communication. In addition, the network communication unit may also be a physical communication interface or a communication chip. For example, it can be a wireless mobile network communication chip, such as GSM, CDMA, etc .; it can also be a Wifi chip, Bluetooth chip, and so on.
在本实施方式中,所述锁体可以与柜门相联的锁舌的锁体。所述锁体可以是所述柜锁的机械部分。在所述柜锁接收到开锁指令的时候,可以驱动所述锁体,执行解锁动作。In this embodiment, the lock body may be a lock body of a lock tongue associated with the cabinet door. The lock body may be a mechanical part of the cabinet lock. When the cabinet lock receives the unlocking instruction, the lock body may be driven to perform an unlocking action.
在一个实施方式中,所述柜锁还设置指示器;所述指示器用于指示所述储物柜的状态。In one embodiment, the cabinet lock is further provided with an indicator; the indicator is used to indicate the state of the locker.
在本实施方式中,所述指示器用于指示所述储物柜的状态。所述指示器可以是LED灯等。具体的,例如,服务器在发送开锁指令的指令中,还可以包括针对所述指示器的指令,当接受到该指令的时候,所述指示器的灯亮以提醒用户。再例如,在送货员将物品放入储物柜后,送货员通过客户端,向服务器发送数据,该数据表征已经存入该储物柜。服务器在接收到该数据后,可以向柜锁发送针对所述指示器对应的指令,以使所述指示器显示红色等。In this embodiment, the indicator is used to indicate a state of the locker. The indicator may be an LED light or the like. Specifically, for example, the server may further include an instruction for the indicator in the instruction for sending the unlock instruction, and when the instruction is received, the indicator light is on to remind the user. As another example, after a delivery person puts an item in a locker, the delivery person sends data to the server through the client, and the data indicates that the data has been stored in the locker. After receiving the data, the server may send an instruction corresponding to the indicator to the cabinet lock to make the indicator display red and the like.
说明书中的各个实施方式均采用递进的方式描述,各个实施方式之间相同相似的部分互相参见即可,每个实施方式重点说明的都是与其他实施方式的不同之处。Each embodiment in the specification is described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments.
本说明书实施方式中提及的服务器,可以是具有一定运算处理能力的电子设备。其可以具有网络通信端子、处理器和存储器等。当然,上述服务器也可以是指运行于所述电子设备中的软体。上述服务器还可以为分布式服务器,可以是具有多个处理器、存储器、网络通信模块等协同运作的系统。The server mentioned in the embodiments of the present specification may be an electronic device with a certain computing processing capability. It may have a network communication terminal, a processor, a memory, and the like. Of course, the server may also refer to software running in the electronic device. The above server may also be a distributed server, which may be a system with multiple processors, memory, network communication modules, and other cooperative operations.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件 编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog2。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, for a technical improvement, it can be clearly distinguished whether it is an improvement in hardware (for example, the improvement of circuit structures such as diodes, transistors, switches, etc.) or an improvement in software (for the improvement of method flow). However, with the development of technology, the improvement of many methods and processes can be regarded as a direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by hardware entity modules. For example, a programmable logic device (Programmable Logic Device (PLD)) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. It is programmed by the designer to "integrate" a digital system on a PLD, without the need for a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of making integrated circuit chips by hand, this programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used in program development and writing, but before compilation The original code must also be written in a specific programming language, which is called Hardware Description Language (HDL), and HDL is not only one, but there are many types, such as ABEL (Advanced Boolean ExpressionLanguage) , AHDL (Altera, Hardware, Description, Language), Confluence, CUPL (Cornell, University Programming, Language), HDCal, JHDL (Java, Hardware, Description, Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby, Hardware, Description), etc. It is VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog2. Those skilled in the art should also be clear that as long as the method flow is slightly logically programmed and integrated into the integrated circuit using the above-mentioned several hardware description languages, a hardware circuit that implements the logic method flow can be easily obtained.
本领域技术人员也知道,除了以纯计算机可读程序代码方式实现客户端、服务器以外,完全可以通过将方法步骤进行逻辑编程来使得客户端、服务器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种客户端、服务器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。Those skilled in the art also know that, in addition to implementing the client and server in a pure computer-readable program code manner, the method steps can be logically programmed to make the client and server use logic gates, switches, application-specific integrated circuits, and programmable logic. Controller and embedded microcontroller to achieve the same function. Therefore, such a client and a server can be regarded as a kind of hardware component, and a device included therein for implementing various functions can also be regarded as a structure within the hardware component. Or even, the means for implementing various functions may be regarded as a structure that can be both a software module implementing the method and a hardware component.
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本说明书可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本说明书的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本说明书各个实施方式或者实施方式的某些部分所述的方法。It can be known from the description of the foregoing embodiments that those skilled in the art can clearly understand that this specification can be implemented by means of software plus a necessary universal hardware platform. Based on such an understanding, the technical solution of this specification, in essence, or the part that contributes to the existing technology, can be embodied in the form of a software product, which can be stored in a storage medium, such as ROM / RAM, magnetic disk , Optical discs, etc., including a number of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments or portions of the embodiments of this specification.
本说明书中的各个实施方式均采用递进的方式描述,各个实施方式之间相同相似的部分互相参见即可,每个实施方式重点说明的都是与其他实施方式的不同之处。尤其,针对服务器、用户客户端、计算机存储介质的实施方式来说,均可以参照前述方法的实施方式的介绍对照解释。Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the implementation of the server, the user client, and the computer storage medium, all can be explained with reference to the introduction of the foregoing method implementation.
本说明书可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对 象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, and so on that perform particular tasks or implement particular abstract data types. This specification can also be practiced in distributed computing environments in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
虽然通过实施方式描绘了本说明书,本领域普通技术人员知道,本说明书有许多变形和变化而不脱离本说明书的精神,希望所附的权利要求包括这些变形和变化而不脱离本说明书的精神。Although the specification has been described through embodiments, those skilled in the art know that there are many variations and changes in the specification without departing from the spirit of the specification, and it is expected that the appended claims include these modifications and changes without departing from the spirit of the specification.

Claims (28)

  1. 一种储物柜控制系统,其特征在于,包括:客户端、服务器、柜锁;A storage cabinet control system, characterized in that it includes: client, server, cabinet lock;
    所述柜锁用于安装在所述储物柜;所述柜锁能接收所述服务器控制处于锁定状态和解锁状态;在所述锁定状态下,所述柜锁阻碍所述储物柜的柜门打开;在所述解锁状态下,所述柜锁解除对所述柜门的阻碍;The cabinet lock is used to be installed in the storage cabinet; the cabinet lock can receive the server control in a locked state and an unlocked state; in the locked state, the cabinet lock obstructs the cabinet of the storage cabinet The door is open; in the unlocked state, the cabinet lock releases the obstruction to the cabinet door;
    所述客户端用于向所述服务器发送开锁请求,以使所述服务器根据所述开锁请求,向目标储物柜的柜锁发送开锁指令,以使所述目标储物柜的柜锁处于所述解锁状态。The client is configured to send an unlocking request to the server, so that the server sends an unlocking instruction to a cabinet lock of a target locker according to the unlocking request, so that the cabinet lock of the target locker is in the required position. The unlocked state is described.
  2. 一种储物柜控制方法,其特征在于,应用于客户端,所述方法包括:A method for controlling a locker, which is characterized in that it is applied to a client, and the method includes:
    接收服务器发送的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;Receiving a locker identifier of a locker sent by the server; the locker identifier is used to indicate a locker;
    根据所述接收的储物柜标识,确定处于空置状态的储物柜;Determining the storage locker in the vacant state according to the received locker identification;
    接收用户输入;其中,所述用户输入指向的处于空置状态的储物柜的储物柜标识为目标储物柜标识;Receiving a user input; wherein a locker identifier of a locker in a vacant state to which the user input points is a target locker identifier;
    向所述服务器发送开锁请求;所述开锁请求中附带有所述目标储物柜标识,以使所述服务器向所述目标储物柜标识所对应的柜锁发出开锁指令,以使所述目标储物柜对应的柜锁处于解锁状态。Sending an unlock request to the server; the target locker identification is attached to the unlock request, so that the server issues an unlock instruction to the locker corresponding to the target locker identification, so that the target The lock of the locker is unlocked.
  3. 如权利要求2所述的方法,其特征在于,所述服务器发送的储物柜标识对应的储物柜处于空置状态;The method according to claim 2, wherein the locker corresponding to the locker identifier sent by the server is in an empty state;
    相应的,在确定处于空置状态的储物柜的步骤中,将接收的储物柜标识对应的储物柜作为处于空置状态的储物柜。Correspondingly, in the step of determining the locker in the vacant state, the locker corresponding to the received locker identifier is used as the locker in the vacant state.
  4. 如权利要求2所述的方法,其特征在于,所述服务器发送的储物柜标识对应的储物柜处于占用状态;The method according to claim 2, wherein the locker corresponding to the locker identifier sent by the server is in an occupied state;
    相应的,在确定处于空置状态的储物柜的步骤中,在存储的储物柜标识集中,去除所述占用状态的储物柜标识之后,剩余的储物柜标识对应的储物柜作为处于空置状态的储物柜。Correspondingly, in the step of determining the lockers in the vacant state, after the locker IDs in the occupied state are removed from the stored locker ID set, the lockers corresponding to the remaining locker IDs are regarded as being in the Vacant lockers.
  5. 如权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, further comprising:
    接收服务器发送的储物柜的状态信息,状态信息表示对应的储物柜处于占用状态或 空置状态。Receive the status information of the lockers sent by the server. The status information indicates that the corresponding lockers are in the occupied state or vacant state.
  6. 一种电子设备,其特征在于,包括:网络通信单元和处理器;An electronic device, comprising: a network communication unit and a processor;
    所述网络通信单元用于接收服务器发送的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;The network communication unit is configured to receive a locker identifier of a locker sent by a server; the locker identifier is used to indicate a locker;
    所述处理器用于根据所述接收的储物柜标识,确定处于空置状态的储物柜;接收用户输入;其中,所述用户输入指向的处于空置状态的储物柜的储物柜标识为目标储物柜标识;控制所述网络通信单元向所述服务器发送开锁请求;所述开锁请求中附带有所述目标储物柜标识,以使所述服务器向所述目标储物柜标识所对应的柜锁发出开锁指令,以使所述目标储物柜对应的柜锁处于解锁状态。The processor is configured to determine the locker in the vacant state according to the received locker identifier; receive user input; wherein the locker identifier of the locker in the vacant state pointed to by the user input is targeted Locker identification; controlling the network communication unit to send an unlocking request to the server; the unlocking request is accompanied by the target locker identification, so that the server responds to the target locker identification The cabinet lock issues an unlocking instruction, so that the cabinet lock corresponding to the target locker is in an unlocked state.
  7. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机程序指令,所述计算机程序指令被处理器执行时实现:A computer storage medium, characterized in that the computer storage medium stores computer program instructions, and the computer program instructions are implemented when executed by a processor:
    接收服务器发送的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;Receiving a locker identifier of a locker sent by the server; the locker identifier is used to indicate a locker;
    根据所述接收的储物柜标识,确定处于空置状态的储物柜;Determining the storage locker in the vacant state according to the received locker identification;
    接收用户输入;其中,所述用户输入指向的处于空置状态的储物柜的储物柜标识为目标储物柜标识;Receiving a user input; wherein a locker identifier of a locker in a vacant state to which the user input points is a target locker identifier;
    向所述服务器发送开锁请求;所述开锁请求中附带有所述目标储物柜标识,以使所述服务器向所述目标储物柜标识所对应的柜锁发出开锁指令,以使所述目标储物柜对应的柜锁处于解锁状态。Sending an unlock request to the server; the target locker identification is attached to the unlock request, so that the server issues an unlock instruction to the locker corresponding to the target locker identification, so that the target The lock of the locker is unlocked.
  8. 一种储物柜控制方法,其特征在于,应用于服务器,所述方法包括:A method for controlling a locker, which is applied to a server, and the method includes:
    接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域;Receiving a locker status query request sent by a client; wherein the locker status query request points to a target geographic area;
    检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于空置状态的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;Retrieving the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in a vacant state; the locker identifier is used for Means lockers;
    将所述使用信息集发送给所述客户端;Sending the usage information set to the client;
    在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于 解锁状态。When receiving the unlocking request sent by the client, according to the target locker identification attached to the unlocking request, send an unlocking instruction to a locker corresponding to the target locker identification; The cabinet lock is in an unlocked state.
  9. 如权利要求8所述的方法,其特征在于,所述使用信息集包括相对应的状态信息;状态信息用于表示对应的储物柜处于占用状态或空置状态。The method according to claim 8, wherein the use information set includes corresponding status information; the status information is used to indicate that the corresponding locker is in an occupied state or an empty state.
  10. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, further comprising:
    接收所述客户端发送的物品标识;所述物品标识用于表示所述目标储物柜标识表示的储物柜存储的物品;Receiving an item identifier sent by the client; the item identifier is used to indicate an item stored in the locker indicated by the target locker identifier;
    将所述物品标识和所述目标储物柜标识进行绑定。Binding the item identifier and the target locker identifier.
  11. 根据权利要求8所述的方法,其特征在于,在检索所述目标地理区域内的储物柜的使用信息的步骤中包括:The method according to claim 8, wherein the step of retrieving the usage information of the lockers in the target geographic area comprises:
    根据所述储物柜状态查询请求附带的该客户端位置信息,计算获得指定的距离阈值内所述储物柜的储物柜标识。According to the location information of the client attached to the locker status query request, a locker identifier of the locker within a specified distance threshold is calculated and obtained.
  12. 一种服务器,其特征在于,包括:接收单元、检索单元和发送单元;A server is characterized in that it includes: a receiving unit, a retrieval unit, and a sending unit;
    所述接收单元用于接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域;The receiving unit is configured to receive a locker status query request sent by a client; wherein the locker status query request points to a target geographic area;
    所述检索单元用于检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于空置状态的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;The retrieval unit is configured to retrieve use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in a vacant state; the Locker identification is used to indicate a locker;
    所述发送单元用于将所述使用信息集发送给所述客户端;在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。The sending unit is configured to send the usage information set to the client; when receiving the unlock request sent by the client, according to the target locker identifier attached to the unlock request, The locker of the target locker identifier corresponds to the locker of the locker to send an unlock instruction; so that the locker is in an unlocked state.
  13. 一种电子设备,其特征在于,包括:网络通信单元和处理器;An electronic device, comprising: a network communication unit and a processor;
    所述网络通信单元用于接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域;The network communication unit is configured to receive a locker status query request sent by a client; wherein the locker status query request points to a target geographic area;
    所述处理器用于检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于空置状态的储物柜的储物柜标识;所述储物柜标 识用于表示储物柜;控制所述网络通信单元将所述使用信息集发送给所述客户端;在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。The processor is configured to retrieve the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in a vacant state; the storage The locker identifier is used to indicate a locker; controlling the network communication unit to send the usage information set to the client; and in the case of receiving the unlock request sent by the client, according to the unlock request The attached target locker identifier sends an unlocking instruction to a locker of the locker corresponding to the target locker identifier; so that the locker is in an unlocked state.
  14. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机程序指令,所述计算机程序指令被处理器执行时实现:A computer storage medium, characterized in that the computer storage medium stores computer program instructions, and the computer program instructions are implemented when executed by a processor:
    接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域;Receiving a locker status query request sent by a client; wherein the locker status query request points to a target geographic area;
    检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于空置状态的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;Retrieving the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in a vacant state; the locker identifier is used for Means lockers;
    将所述使用信息集发送给所述客户端;Sending the usage information set to the client;
    在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。When receiving the unlocking request sent by the client, according to the target locker identification attached to the unlocking request, send an unlocking instruction to a locker corresponding to the target locker identification; The cabinet lock is in an unlocked state.
  15. 一种储物柜控制方法,其特征在于,应用于服务器,所述方法包括:A method for controlling a locker, which is applied to a server, and the method includes:
    接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域;Receiving a locker status query request sent by a client; wherein the locker status query request points to a target geographic area;
    检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于占用状态的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;Retrieve the use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in the occupied state; the locker identifier is used for Means lockers;
    将所述使用信息集发送给所述客户端;Sending the usage information set to the client;
    在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。When receiving the unlocking request sent by the client, according to the target locker identification attached to the unlocking request, send an unlocking instruction to a locker corresponding to the target locker identification; The cabinet lock is in an unlocked state.
  16. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method according to claim 15, further comprising:
    接收所述客户端发送的物品标识;所述物品标识用于表示所述目标储物柜标识表示 的储物柜存储的物品;Receiving an item identifier sent by the client; the item identifier is used to indicate an item stored in the locker indicated by the target locker identifier;
    将所述物品标识和所述目标储物柜标识进行绑定。Binding the item identifier and the target locker identifier.
  17. 根据权利要求15所述的方法,其特征在于,在检索所述目标地理区域内的储物柜的使用信息的步骤中包括:The method according to claim 15, wherein the step of retrieving the use information of the lockers in the target geographic area comprises:
    根据所述储物柜状态查询请求附带的该客户端位置信息,计算获得指定的距离阈值内所述储物柜的储物柜标识。According to the location information of the client attached to the locker status query request, a locker identifier of the locker within a specified distance threshold is calculated and obtained.
  18. 一种服务器,其特征在于,包括:接收单元、检索单元和发送单元;A server is characterized in that it includes: a receiving unit, a retrieval unit, and a sending unit;
    所述接收单元用于接收客户端发送的储物柜状态查询请求;其中,所述储物柜状态查询请求指向目标地理区域;The receiving unit is configured to receive a locker status query request sent by a client; wherein the locker status query request points to a target geographic area;
    所述检索单元用于检索所述目标地理区域内的储物柜的使用信息,形成使用信息集;其中,所述使用信息集中至少包括处于占用状态的储物柜的储物柜标识;所述储物柜标识用于表示储物柜;The retrieval unit is configured to retrieve use information of the lockers in the target geographic area to form a use information set; wherein the use information set includes at least a locker identifier of the locker in an occupied state; the Locker identification is used to indicate a locker;
    所述发送单元用于将所述使用信息集发送给所述客户端;在接收到所述客户端发送的开锁请求的情况下,根据所述开锁请求中附带的目标储物柜标识,向所述目标储物柜标识对应储物柜的柜锁发送开锁指令;以使所述柜锁处于解锁状态。The sending unit is configured to send the usage information set to the client; when receiving the unlock request sent by the client, according to the target locker identifier attached to the unlock request, The locker of the target locker identifier corresponds to the locker of the locker to send an unlock instruction; so that the locker is in an unlocked state.
  19. 一种储物柜控制方法,其特征在于,应用于服务器,所述方法包括:A method for controlling a locker, which is applied to a server, and the method includes:
    在接收到客户端发送的开锁请求的情况下,在处于空置的储物柜的储物柜标识中,选定目标储物柜标识;所述储物柜标识用于表示对应的储物柜;In the case of receiving the unlocking request sent by the client, among the locker IDs of the vacant lockers, the target locker ID is selected; the locker ID is used to indicate the corresponding locker;
    向所述目标储物柜标识对应柜锁发送开锁指令;以使所述目标储物柜标识对应的储物柜的柜锁处于解锁状态。Sending an unlocking instruction to the locker corresponding to the target locker identifier; so that the locker of the locker corresponding to the target locker identifier is in an unlocked state.
  20. 根据权利要求19所述的方法,其特征在于,所述方法还包括:The method according to claim 19, further comprising:
    接收所述客户端发送的物品标识;所述物品标识用于表示所述目标储物柜标识表示的储物柜存储的物品;Receiving an item identifier sent by the client; the item identifier is used to indicate an item stored in the locker indicated by the target locker identifier;
    将所述物品标识和所述目标储物柜标识进行绑定。Binding the item identifier and the target locker identifier.
  21. 根据权利要求19所述的方法,其特征在于,在选定目标储物柜标识的步骤中包 括:The method according to claim 19, wherein the step of selecting the target locker identification comprises:
    根据所述客户端的位置信息和处于空置状态的储物柜的位置信息,确定与所述客户端最近的处于空置状态的储物柜,以该储物柜的储物柜标识作为所述目标储物柜标识。According to the location information of the client and the location information of the vacant locker, determine the closest vacant locker to the client, and use the locker ID of the locker as the target storage. Locker logo.
  22. 一种服务器,其特征在于,包括:处理器和网络通信单元;A server is characterized by comprising: a processor and a network communication unit;
    所述处理器用于在接收到客户端发送的开锁请求的情况下,在处于空置的储物柜的储物柜标识中,选定目标储物柜标识;所述储物柜标识用于表示对应的储物柜;The processor is configured to select a target locker ID among the locker IDs of the vacant lockers when receiving the unlocking request sent by the client; the locker ID is used to indicate a corresponding Lockers
    所述网络通信单元用于向所述目标储物柜标识对应柜锁发送开锁指令;以使所述目标储物柜标识对应的储物柜的柜锁处于解锁状态。The network communication unit is configured to send an unlock instruction to the locker corresponding to the target locker identifier; so that the locker of the locker corresponding to the target locker identifier is in an unlocked state.
  23. 一种储物柜控制方法,其特征在于,应用于服务器,所述方法包括:A method for controlling a locker, which is applied to a server, and the method includes:
    接收客户端发送的开锁请求;所述开锁请求附带有目标储物柜标识;所述目标储物柜标识用于表征开锁请求指向的储物柜;Receiving an unlocking request sent by a client; the unlocking request is accompanied by a target locker identifier; the target locker identifier is used to characterize the locker to which the unlocking request is directed;
    根据所述目标储物柜标识,向对应的路由器发送第一开锁指令;以使所述路由器根据所述第一开锁指令,向该路由器信号覆盖范围内的所述目标储物柜的柜锁发送第二开锁指令,以使所述目标储物柜的柜锁处于解锁状态。Sending a first unlocking instruction to the corresponding router according to the target locker identification; so that the router sends a lock to the target locker of the target locker within the signal coverage of the router according to the first unlocking instruction A second unlocking instruction, so that the cabinet lock of the target locker is in an unlocked state.
  24. 一种储物柜控制方法,其特征在于,应用于客户端,所述方法包括:A method for controlling a locker, which is characterized in that it is applied to a client, and the method includes:
    接收至少一个储物柜的柜锁发送的信号;所述信号对应有储物柜标识,所述储物柜标识用于表示的储物柜;Receiving a signal sent by a cabinet lock of at least one locker; the signal corresponds to a locker identifier, and the locker identifier is used to indicate the locker;
    根据接收到的所述信号,展示对应的储物柜标识;Display the corresponding locker identification according to the received signal;
    接收用户输入;以用户输入指向的储物柜标识作为目标储物柜标识;Receive user input; use the locker ID pointed to by the user input as the target locker ID;
    向所述目标储物柜标识表示的储物柜的柜锁发送的开锁信号,以使该柜锁处于解锁状态。An unlocking signal sent to the locker of the locker indicated by the target locker identifier, so that the locker is in an unlocked state.
  25. 根据权利要求24所述的方法,其特征在于,所述方法还包括:The method according to claim 24, further comprising:
    向服务器发送物品标识和所述目标储物柜标识;以使所述服务器将所述物品标识与所述目标储物柜标识进行绑定;所述物品标识用于表示所述目标储物柜标识表示的储物柜存储的物品。Sending an item ID and the target locker ID to the server; so that the server binds the item ID and the target locker ID; the item ID is used to represent the target locker ID Represents the items stored in the locker.
  26. 一种储物柜控制系统,其特征在于,包括:客户端、服务器、柜锁、路由器;A storage cabinet control system, characterized in that it includes: client, server, cabinet lock, router;
    所述柜锁用于安装在所述储物柜;所述柜锁能接收所述服务器控制处于锁定状态和解锁状态;在所述锁定状态下,所述柜锁阻碍所述储物柜的柜门打开;在所述解锁状态下,所述柜锁解除对所述柜门的阻碍;The cabinet lock is used to be installed in the storage cabinet; the cabinet lock can receive the server control in a locked state and an unlocked state; in the locked state, the cabinet lock obstructs the cabinet of the storage cabinet The door is open; in the unlocked state, the cabinet lock releases the obstruction to the cabinet door;
    所述客户端用于向所述服务器发送开锁请求;The client is configured to send an unlock request to the server;
    所述服务器用于接收所述开锁请求;根据所述开锁请求,向所述路由器发送第一开锁指令;The server is configured to receive the unlocking request; and send a first unlocking instruction to the router according to the unlocking request;
    所述路由器用于接收所述第一开锁指令;根据所述第一开锁指令,向该路由器信号覆盖范围内的目标储物柜的柜锁发送第二开锁指令,以使所述目标储物柜的柜锁处于所述解锁状态。The router is configured to receive the first unlocking instruction; and according to the first unlocking instruction, send a second unlocking instruction to a cabinet lock of a target locker within the signal coverage of the router, so that the target locker The cabinet lock is in the unlocked state.
  27. 一种柜锁,其特征在于,应用于储物柜,包括网络通信单元、处理器和锁体;A cabinet lock, which is characterized in that it is applied to a storage cabinet and includes a network communication unit, a processor, and a lock body;
    所述网络通信单元用于接收服务器或路由器发送的开锁指令;向所述服务器或客户端发送状态信息,以表征所述储物柜的状态;所述储物柜的状态至少包括以下之一:空置状态、占用状态;The network communication unit is configured to receive an unlocking instruction sent by a server or router; send status information to the server or client to characterize the status of the locker; and the status of the locker includes at least one of the following: Vacant state, occupied state;
    所述处理器用于在接收到所述服务器或所述路由器发送的开锁指令的情况下,使所述锁体处于解锁状态。The processor is configured to make the lock body in an unlocked state when a lock unlocking instruction sent by the server or the router is received.
  28. 根据权利要求27所述的柜锁,其特征在于,所述柜锁还设置指示器;所述指示器用于指示所述储物柜的状态。The cabinet lock according to claim 27, wherein the cabinet lock is further provided with an indicator; the indicator is used to indicate the state of the locker.
PCT/CN2019/091228 2018-06-27 2019-06-14 Storage cabinet control system, storage cabinet control method and cabinet lock WO2020001288A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810678965.4 2018-06-27
CN201810678965.4A CN110648467A (en) 2018-06-27 2018-06-27 Storage cabinet control system, storage cabinet control method and cabinet lock

Publications (1)

Publication Number Publication Date
WO2020001288A1 true WO2020001288A1 (en) 2020-01-02

Family

ID=68984694

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/091228 WO2020001288A1 (en) 2018-06-27 2019-06-14 Storage cabinet control system, storage cabinet control method and cabinet lock

Country Status (2)

Country Link
CN (1) CN110648467A (en)
WO (1) WO2020001288A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113538736A (en) * 2020-03-31 2021-10-22 珠海优特智厨科技有限公司 Distribution processing method, device and system
CN114038127A (en) * 2021-11-08 2022-02-11 深圳市智莱科技股份有限公司 Express delivery cabinet selecting and storing method and device and storage medium
CN114742510A (en) * 2022-05-20 2022-07-12 北京三快在线科技有限公司 Self-extracting cabinet taking and delivering method, system and device
CN115331357A (en) * 2022-05-19 2022-11-11 拉扎斯网络科技(上海)有限公司 Request processing method and device, electronic equipment and computer readable storage medium
CN116721488A (en) * 2023-08-11 2023-09-08 福建理工大学 Method for identifying article, article identification system and article identification platform

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111899435A (en) * 2020-07-23 2020-11-06 深圳市速易宝智能科技有限公司 Contactless access method and system based on two-dimensional code management control
CN112017375B (en) * 2020-08-24 2023-04-11 深圳市智莱科技股份有限公司 Method and device for indicating storage space position
CN114677810B (en) * 2021-05-20 2023-06-06 腾讯云计算(北京)有限责任公司 Storage data processing method and device, electronic equipment and medium
CN113283791B (en) * 2021-06-11 2024-05-14 上海寻梦信息技术有限公司 Method, device, equipment and storage medium for selecting self-lifting cabinet characteristics
CN114493448A (en) * 2022-01-28 2022-05-13 上海商汤科技开发有限公司 Storage cabinet management method and device, storage cabinet, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090121178A (en) * 2008-05-20 2009-11-25 주식회사 코베콤 The remote management system for electronic lock of public locker
CN104217502A (en) * 2014-08-15 2014-12-17 安吉标普软件信息技术有限公司 Intelligent control method of cabinet system
US20150015364A1 (en) * 2009-05-04 2015-01-15 Nexkey, Inc. Cryptographic key management via a computer server
CN104584026A (en) * 2012-08-02 2015-04-29 谷歌公司 Accessing a secure locker via a mobile device
KR20160122950A (en) * 2015-04-14 2016-10-25 동서대학교산학협력단 Locker Integrated Management System
CN207458230U (en) * 2017-11-07 2018-06-05 成都全民趣跑科技有限公司 A kind of locker control device and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2522217A (en) * 2014-01-16 2015-07-22 Parcelhome Ltd Electronic lock apparatus, method and system
CN104408828B (en) * 2014-10-16 2017-10-24 深圳壹号柜科技股份有限公司 Express delivery pickup and piece putting equipment
CN104484957A (en) * 2014-11-10 2015-04-01 安徽省新方尊铸造科技有限公司 Locker employing electronic code recognizing technology
CN104616402B (en) * 2015-02-13 2016-08-17 广州硕鑫网络科技有限公司 Mobile client is rented and controls the system of locker
GB2544871A (en) * 2015-10-08 2017-05-31 Rfid Innovation Res Ltd Intelligent display system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090121178A (en) * 2008-05-20 2009-11-25 주식회사 코베콤 The remote management system for electronic lock of public locker
US20150015364A1 (en) * 2009-05-04 2015-01-15 Nexkey, Inc. Cryptographic key management via a computer server
CN104584026A (en) * 2012-08-02 2015-04-29 谷歌公司 Accessing a secure locker via a mobile device
CN104217502A (en) * 2014-08-15 2014-12-17 安吉标普软件信息技术有限公司 Intelligent control method of cabinet system
KR20160122950A (en) * 2015-04-14 2016-10-25 동서대학교산학협력단 Locker Integrated Management System
CN207458230U (en) * 2017-11-07 2018-06-05 成都全民趣跑科技有限公司 A kind of locker control device and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113538736A (en) * 2020-03-31 2021-10-22 珠海优特智厨科技有限公司 Distribution processing method, device and system
CN113538736B (en) * 2020-03-31 2023-07-18 珠海优特智厨科技有限公司 Distribution processing method, device and system
CN114038127A (en) * 2021-11-08 2022-02-11 深圳市智莱科技股份有限公司 Express delivery cabinet selecting and storing method and device and storage medium
CN115331357A (en) * 2022-05-19 2022-11-11 拉扎斯网络科技(上海)有限公司 Request processing method and device, electronic equipment and computer readable storage medium
CN114742510A (en) * 2022-05-20 2022-07-12 北京三快在线科技有限公司 Self-extracting cabinet taking and delivering method, system and device
CN114742510B (en) * 2022-05-20 2022-08-26 北京三快在线科技有限公司 Self-extracting cabinet taking and delivering method, system and device
CN116721488A (en) * 2023-08-11 2023-09-08 福建理工大学 Method for identifying article, article identification system and article identification platform
CN116721488B (en) * 2023-08-11 2023-12-19 福建理工大学 Method for identifying article, article identification system and article identification platform

Also Published As

Publication number Publication date
CN110648467A (en) 2020-01-03

Similar Documents

Publication Publication Date Title
WO2020001288A1 (en) Storage cabinet control system, storage cabinet control method and cabinet lock
US20220309457A1 (en) Secured electronic locker system
US12079772B2 (en) Interactive inventory storage device, system, and method
US11497336B2 (en) Container and system
US20160019495A1 (en) System and method for context-sensitive delivery notification
US9262913B2 (en) Communication device
US9002270B1 (en) Two-factor user authentication using near field communication
US8560012B2 (en) Communication device
US20160005248A1 (en) First entry notification
USRE45980E1 (en) Communication device
US11158148B2 (en) Delivery system, information processing device, control method for information processing device, and non-transitory recording medium having program stored therein
JP2021519991A (en) How to control unmanned vending machines
US11917070B2 (en) Method and system for managing a multiplicity of credentials
JP6897536B2 (en) Authentication information control system, authentication information control method, and authentication information control program
CN105575009A (en) Cabinet door opening method and device for intelligent cabinet
US20180336612A1 (en) System for third-party item pickup authorization
US9082099B1 (en) System and method for context-sensitive delivery notification
WO2022143297A1 (en) Method and apparatus for sending information
CN110728774A (en) Intelligent lock unlocking method, device and system, storage medium and electronic equipment
JP7434074B2 (en) Server, system, server control method, and program
JP5285800B1 (en) Message delivery system and message delivery method
KR20140147568A (en) system and method for producing multi-function facility service and social safety net building using bluetooth
US20220188766A1 (en) Server, system, control method for server, program, and electronic device
JP6742008B1 (en) Usage control system, usage permit issuing device, usage control method, and computer-readable program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19827406

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19827406

Country of ref document: EP

Kind code of ref document: A1