CN112734998A - Order distribution method, server, client and system based on intelligent lock - Google Patents

Order distribution method, server, client and system based on intelligent lock Download PDF

Info

Publication number
CN112734998A
CN112734998A CN202110050938.4A CN202110050938A CN112734998A CN 112734998 A CN112734998 A CN 112734998A CN 202110050938 A CN202110050938 A CN 202110050938A CN 112734998 A CN112734998 A CN 112734998A
Authority
CN
China
Prior art keywords
order
unlocking
distributed
intelligent lock
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110050938.4A
Other languages
Chinese (zh)
Inventor
肖中喜
沈国斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rajax Network Technology Co Ltd
Original Assignee
Rajax Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rajax Network Technology Co Ltd filed Critical Rajax Network Technology Co Ltd
Priority to CN202110050938.4A priority Critical patent/CN112734998A/en
Publication of CN112734998A publication Critical patent/CN112734998A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • 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
    • G07C2009/0092Electronically 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 cargo, freight or shipping containers and applications therefore in general

Landscapes

  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Development Economics (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses an order distribution method, a server, a client and a system based on an intelligent lock, wherein the method comprises the following steps: receiving an unlocking request triggered by a distribution terminal aiming at an order to be distributed, and acquiring an order mark and a distribution terminal mark contained in the unlocking request; inquiring the distribution terminal information corresponding to the order identification, and determining whether the distribution terminal has unlocking authority or not according to the matching of the distribution terminal information and the distribution terminal identification; when the distribution terminal has unlocking authority, acquiring an intelligent lock identifier corresponding to a to-be-distributed order phase; and generating an unlocking instruction for unlocking the intelligent lock corresponding to the order to be distributed according to the intelligent lock identification so that the distribution terminal can execute unlocking operation to place or take out the order object. In the mode, the corresponding intelligent lock can be arranged aiming at the order to be delivered in advance, and the remote unlocking function is realized by checking the identity information of the delivery terminal, so that the courier and the user can conveniently receive and send the order articles in a non-face-to-face delivery mode.

Description

Order distribution method, server, client and system based on intelligent lock
Technical Field
The invention relates to the field of communication, in particular to an order distribution method, a server, a client and a system based on an intelligent lock.
Background
At present, with the increasing popularization of the internet, a plurality of articles can be distributed in an order form mode. For example, the user can both obtain the item through the pick-up order and post the item through the pick-up order. In the conventional method, when a user receives or a courier gets a delivery from home, the user usually needs to realize the reliable delivery of order items in a face-to-face mode.
However, the delivery time is not correct, and the face-to-face delivery method is limited. In order to solve the problem of delivery time dislocation, the delivery cabinet suitable for the residential area or the business building is produced. The courier uniformly places the order items of the residential community in the distribution cabinet, and the courier unlocks and takes the goods by the aid of a goods taking code.
However, the inventor finds that the above mode in the prior art has at least the following defects in the process of implementing the invention: the distribution cabinet is shared by all residents in the community, so that the problem of ubiquitous storage of order articles due to insufficient number of idle cabinet doors is easily caused.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide an intelligent lock-based order distribution method, server, client and system that overcome or at least partially solve the above problems.
According to an aspect of an embodiment of the present invention, an order distribution method based on an intelligent lock is provided, including:
receiving an unlocking request triggered by a distribution terminal aiming at an order to be distributed, and acquiring an order mark and a distribution terminal mark contained in the unlocking request;
inquiring the distribution terminal information corresponding to the order identification, and determining whether the distribution terminal has unlocking authority or not according to the matching of the distribution terminal information and the distribution terminal identification;
when the distribution terminal has unlocking authority, acquiring an intelligent lock identifier corresponding to a to-be-distributed order;
and generating an unlocking instruction for unlocking the intelligent lock corresponding to the to-be-distributed order according to the intelligent lock identification so that the distribution terminal can execute unlocking operation to place or take out the order object.
Optionally, the generating an unlocking instruction for unlocking the intelligent lock corresponding to the to-be-distributed order includes:
judging whether the order type of the order to be delivered is an unlocking authorization type;
if yes, password information of the intelligent lock corresponding to the to-be-distributed order is obtained, and the unlocking instruction is generated according to the obtained password information.
Optionally, before the method is executed, the method further includes:
when an unlocking authorization request triggered by a user terminal for the order to be distributed is received, setting the order type of the order to be distributed as an unlocking authorization type according to the unlocking authorization request;
the unlocking authorization request comprises an order identification and an intelligent lock identification of the order to be delivered, so that the cloud lock server stores the order identification and the intelligent lock identification in association with an order data record corresponding to the order to be delivered.
Optionally, before receiving an unlocking authorization request triggered by the user terminal for the order to be delivered, the method further includes:
when a user order query request sent by a user terminal is received, obtaining a to-be-delivered order corresponding to a user terminal identifier contained in the user order query request, so that the user terminal can display the to-be-delivered order and trigger the unlocking authorization request based on the displayed to-be-delivered order;
wherein the user order query request comprises: the system comprises a receiving user order query request for querying receiving delivery orders and/or a pickup user order query request for querying pickup delivery orders.
Optionally, before receiving the unlocking request triggered by the distribution terminal for the order to be distributed, the method further includes:
receiving a delivery order query request sent by a delivery terminal, and acquiring a to-be-delivered order corresponding to a delivery terminal identifier contained in the delivery order query request;
sending an order display message containing the order to be distributed to a distribution terminal so that the distribution terminal can display an order list page containing the order to be distributed;
the unlocking request is triggered for any order to be delivered contained in the order list page.
Optionally, the sending the order display message including the order to be delivered to the delivery terminal specifically includes:
screening a plurality of to-be-delivered orders of which the order types are unlocking authorization types from a plurality of to-be-delivered orders which are obtained and correspond to delivery terminal identifications contained in the delivery order query request;
and generating and sending the order display message according to the screened orders to be distributed.
Optionally, the delivery order query request is a code scanning type delivery order query request triggered based on an information code corresponding to the smart lock;
the obtaining the order to be delivered corresponding to the delivery terminal identifier included in the delivery order query request further includes:
acquiring an intelligent lock identifier contained in the delivery order query request;
determining an intelligent lock identifier contained in the delivery order query request and a delivery terminal identifier contained in the delivery order query request as combined query parameters;
and inquiring the order to be distributed corresponding to the combined inquiry parameter.
Optionally, the acquiring an intelligent lock identifier corresponding to the to-be-assigned order includes:
inquiring an order data record corresponding to the order to be delivered, and acquiring a user terminal identifier and an intelligent lock identifier associated with the user terminal identifier, wherein the user terminal identifier is contained in the order data record; and/or the presence of a gas in the gas,
when the unlocking request triggered by the distribution terminal aiming at the order to be distributed is a code scanning unlocking request, the intelligent lock identification contained in the code scanning unlocking request is obtained.
Optionally, the generating, according to the intelligent lock identifier, an unlocking instruction for unlocking an intelligent lock corresponding to the to-be-distributed order includes:
sending a password application request to a user terminal corresponding to the intelligent lock identifier;
when a password response message returned by the user terminal is received, password information contained in the password response message is acquired;
and generating an unlocking instruction containing the password information so that the distribution terminal can input the password information to realize unlocking operation.
Optionally, the querying the distribution terminal information corresponding to the order identifier includes:
and the cloud lock server sends a record query request containing the order identification to an order server so that the order server can query an order distribution record corresponding to the order identification and obtain distributed distribution terminal information contained in the order distribution record.
Optionally, after generating an unlocking instruction for unlocking the intelligent lock corresponding to the to-be-distributed order, the method further includes:
when the lockset opening message triggered by the intelligent lock is detected, further judging whether a lockset closing message triggered by the intelligent lock is received;
if yes, updating the order state of the order to be distributed into a distribution completion state, and sending an order distribution success notification message to a user terminal corresponding to the intelligent lock;
wherein the order to be delivered comprises: an in-delivery order, and/or a pick-delivery order.
According to another aspect of the embodiment of the present invention, an order distribution method based on an intelligent lock is provided, including:
sending an order generation request to a cloud lock server so that the cloud lock server can generate a to-be-distributed order corresponding to the order generation request, and setting distribution terminal information corresponding to the to-be-distributed order;
and sending an unlocking authorization request corresponding to the order to be distributed to a cloud lock server, so that the cloud lock server sets the order to be distributed as an unlocking authorization type according to the unlocking authorization request, and storing an intelligent lock identifier contained in the unlocking authorization request in an order data record corresponding to the order to be distributed.
Optionally, the sending, to the cloud lock server, the unlocking authorization request corresponding to the order to be provisioned specifically includes:
sending a first type of unlocking authorization request corresponding to the to-be-distributed order to a cloud lock server, so that the cloud lock server can obtain password information corresponding to the intelligent lock identification according to the first type of unlocking authorization request;
and sending a second-class unlocking authorization request corresponding to the order to be distributed to the cloud lock server, and returning a password response message containing password information to the cloud lock server when receiving a password application request sent by the cloud lock server.
Optionally, the sending, to the cloud lock server, the unlocking authorization request corresponding to the order to be provisioned includes:
sending a user order query request to the cloud lock server;
acquiring and displaying the to-be-delivered order which is returned by the cloud lock server and corresponds to the user terminal identification contained in the user order query request;
and triggering the unlocking authorization request aiming at the displayed order to be distributed.
According to another aspect of the embodiments of the present invention, there is provided an intelligent lock-based order distribution server, including:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is suitable for receiving an unlocking request triggered by a sending terminal aiming at an order to be sent, and acquiring an order mark and a sending terminal mark contained in the unlocking request;
the query module is suitable for querying the distribution terminal information corresponding to the order identification, and determining whether the distribution terminal has unlocking authority or not according to the matching of the distribution terminal information and the distribution terminal identification;
the acquisition module is suitable for acquiring an intelligent lock identifier corresponding to a to-be-distributed subscription phase when the distribution terminal has unlocking authority;
and the unlocking module is suitable for generating an unlocking instruction for unlocking the intelligent lock corresponding to the order to be distributed according to the intelligent lock identification so that the distribution terminal can execute unlocking operation to place or take out the order object.
Optionally, the unlocking module is specifically adapted to:
judging whether the order type of the order to be delivered is an unlocking authorization type;
if yes, password information of the intelligent lock corresponding to the to-be-distributed order is obtained, and the unlocking instruction is generated according to the obtained password information.
Optionally, the receiving module is further adapted to:
when an unlocking authorization request triggered by a user terminal for the order to be distributed is received, setting the order type of the order to be distributed as an unlocking authorization type according to the unlocking authorization request;
the unlocking authorization request comprises an order identification and an intelligent lock identification of the order to be delivered, so that the cloud lock server stores the order identification and the intelligent lock identification in association with an order data record corresponding to the order to be delivered.
Optionally, the receiving module is further adapted to:
when a user order query request sent by a user terminal is received, obtaining a to-be-delivered order corresponding to a user terminal identifier contained in the user order query request, so that the user terminal can display the to-be-delivered order and trigger the unlocking authorization request based on the displayed to-be-delivered order;
wherein the user order query request comprises: the system comprises a receiving user order query request for querying receiving delivery orders and/or a pickup user order query request for querying pickup delivery orders.
Optionally, the receiving module is further adapted to:
receiving a delivery order query request sent by a delivery terminal, and acquiring a to-be-delivered order corresponding to a delivery terminal identifier contained in the delivery order query request;
sending an order display message containing the order to be distributed to a distribution terminal so that the distribution terminal can display an order list page containing the order to be distributed;
the unlocking request is triggered for any order to be delivered contained in the order list page.
Optionally, the receiving module is specifically adapted to:
screening a plurality of to-be-delivered orders of which the order types are unlocking authorization types from a plurality of to-be-delivered orders which are obtained and correspond to delivery terminal identifications contained in the delivery order query request;
and generating and sending the order display message according to the screened orders to be distributed.
Optionally, the delivery order query request is a code scanning type delivery order query request triggered based on an information code corresponding to the smart lock;
the receiving module is specifically adapted to:
acquiring an intelligent lock identifier contained in the delivery order query request;
determining an intelligent lock identifier contained in the delivery order query request and a delivery terminal identifier contained in the delivery order query request as combined query parameters;
and inquiring the order to be distributed corresponding to the combined inquiry parameter.
Optionally, the obtaining module is specifically adapted to:
inquiring an order data record corresponding to the order to be delivered, and acquiring a user terminal identifier and an intelligent lock identifier associated with the user terminal identifier, wherein the user terminal identifier is contained in the order data record; and/or the presence of a gas in the gas,
when the unlocking request triggered by the distribution terminal aiming at the order to be distributed is a code scanning unlocking request, the intelligent lock identification contained in the code scanning unlocking request is obtained.
Optionally, the unlocking module is specifically adapted to:
sending a password application request to a user terminal corresponding to the intelligent lock identifier;
when a password response message returned by the user terminal is received, password information contained in the password response message is acquired;
and generating an unlocking instruction containing the password information so that the distribution terminal can input the password information to realize unlocking operation.
Optionally, the query module is specifically adapted to:
and the cloud lock server sends a record query request containing the order identification to an order server so that the order server can query an order distribution record corresponding to the order identification and obtain distributed distribution terminal information contained in the order distribution record.
Optionally, the unlocking module is further adapted to:
when the lockset opening message triggered by the intelligent lock is detected, further judging whether a lockset closing message triggered by the intelligent lock is received;
if yes, updating the order state of the order to be distributed into a distribution completion state, and sending an order distribution success notification message to a user terminal corresponding to the intelligent lock;
wherein the order to be delivered comprises: an in-delivery order, and/or a pick-delivery order.
According to another aspect of the embodiments of the present invention, there is provided an order delivery client based on an intelligent lock, including:
the order generation module is suitable for sending an order generation request to the cloud lock server so that the cloud lock server can generate a to-be-distributed order corresponding to the order generation request and set distribution terminal information corresponding to the to-be-distributed order;
and the unlocking authorization module is suitable for sending an unlocking authorization request corresponding to the order to be distributed to the cloud lock server, so that the cloud lock server sets the order to be distributed to an unlocking authorization type according to the unlocking authorization request, and stores an intelligent lock identifier contained in the unlocking authorization request in an order data record corresponding to the order to be distributed.
Optionally, the unlocking authorization module is specifically adapted to:
sending a first type of unlocking authorization request corresponding to the to-be-distributed order to a cloud lock server, so that the cloud lock server can obtain password information corresponding to the intelligent lock identification according to the first type of unlocking authorization request;
and sending a second-class unlocking authorization request corresponding to the order to be distributed to the cloud lock server, and returning a password response message containing password information to the cloud lock server when receiving a password application request sent by the cloud lock server.
Optionally, the unlocking authorization module is specifically adapted to:
sending a user order query request to the cloud lock server;
acquiring and displaying the to-be-delivered order which is returned by the cloud lock server and corresponds to the user terminal identification contained in the user order query request;
and triggering the unlocking authorization request aiming at the displayed order to be distributed.
According to another aspect of the embodiments of the present invention, there is provided an intelligent lock-based order distribution system, including: the order distribution server and the order distribution client are provided.
According to still another aspect of an embodiment of the present invention, there is provided an electronic apparatus including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the intelligent lock-based order distribution method.
According to another aspect of the embodiments of the present invention, there is provided a computer storage medium, in which at least one executable instruction is stored, and the executable instruction causes a processor to perform operations corresponding to the intelligent lock based order distribution method.
In the order distribution method, the server, the client and the system based on the intelligent lock provided by the embodiment of the invention, the order identification and the distribution terminal identification contained in the unlocking request triggered by the distribution terminal aiming at the order to be distributed can be obtained, the distribution terminal information corresponding to the order identification is inquired, and whether the distribution terminal has the unlocking authority or not is determined by matching the distribution terminal information with the distribution terminal identification, so that the unlocking instruction for opening the intelligent lock corresponding to the order to be distributed is generated. Therefore, in the mode, the corresponding intelligent lock can be arranged aiming at the order to be distributed in advance, and the remote unlocking function is realized by checking the identity information of the distribution terminal, so that the courier and the user can receive and send the order and articles in a non-face-to-face handover mode conveniently. Moreover, the intelligent lock is more suitable for household use, so that the user can conveniently receive and send the express by taking a family as a unit, and the problem caused by insufficient quantity of the distribution cabinets is avoided.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the embodiments of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the embodiments of the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart of an intelligent lock based order distribution method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an intelligent lock based order distribution method according to another embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an intelligent lock-based order distribution server according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an intelligent lock-based order delivery client according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 is a flowchart illustrating an order distribution method based on an intelligent lock according to an embodiment of the present invention, where as shown in fig. 1, the method includes the following steps:
step S110: receiving an unlocking request triggered by a distribution terminal aiming at an order to be distributed, and acquiring an order mark and a distribution terminal mark contained in the unlocking request.
Specifically, after the delivery user inquires the order to be delivered through the delivery terminal, the unlocking request is triggered for the order to be delivered, and specifically, the unlocking request can be triggered through the unlocking entrance corresponding to the order to be delivered. The unlocking request comprises an order identification of the order to be delivered and a delivery terminal identification. The order identifier of the order to be delivered may be an order number when the user places an order, or an order number of an invoice bound to the order, which is not limited in the present invention. In addition, the delivery terminal identifier is used to uniquely identify the terminal device of the delivery user, and may be, for example, a mobile phone number of the delivery user.
The intelligent lock in the embodiment may be an intelligent cloud lock realized by means of a cloud lock server, and correspondingly, the step may be implemented by the cloud lock server, and after receiving an unlocking request triggered by a distribution terminal for an order to be distributed, the cloud lock server obtains an order identifier and a distribution terminal identifier included in the unlocking request.
Step S120: and inquiring the distribution terminal information corresponding to the order identification, and determining whether the distribution terminal has the unlocking authority or not according to the matching of the distribution terminal information and the distribution terminal identification.
Specifically, after the order is generated, the server allocates a corresponding delivery terminal for the order, and stores information of the delivery terminal in association with the order to be delivered. The distribution terminal information is used for recording relevant information of a distribution user responsible for distributing the order. For example, the delivery terminal information includes: the name of the user of the delivery user, the equipment number of the terminal equipment (such as a mobile phone) held by the user, and the like. Correspondingly, the distribution terminal information corresponding to the order identification is inquired, the distribution terminal information is matched with the distribution terminal identification, and whether the distribution terminal has the unlocking authority or not is judged according to the matching result.
If the distribution terminal information is successfully matched with the distribution terminal identification, the distribution terminal is proved to belong to the authentication equipment of the distribution personnel and have unlocking authority; and if the matching of the distribution terminal information and the distribution terminal identification fails, the distribution terminal does not belong to the authentication equipment of the distribution personnel and does not have unlocking authority.
Step S130: and when the distribution terminal has the unlocking right, acquiring an intelligent lock identifier corresponding to the to-be-distributed order.
Specifically, if the distribution terminal has the unlocking authority, the cloud lock server further acquires an intelligent lock identifier corresponding to the to-be-distributed order, so that remote unlocking operation is implemented conveniently. In this embodiment, a corresponding intelligent lock identifier is set in advance for the order, and the intelligent lock identifier may be set when the order placing user performs the order placing operation. Correspondingly, the cloud lock server can determine the corresponding intelligent lock identification by inquiring the setting information related to the order. Alternatively, the unlocking request may include an intelligent lock identifier obtained by scanning an information code on the intelligent lock, and in short, the present invention does not limit the determination method of the intelligent lock identifier.
Step S140: and generating an unlocking instruction for unlocking the intelligent lock corresponding to the order to be distributed according to the intelligent lock identification so that the distribution terminal can execute unlocking operation to place or take out the order object.
Specifically, the cloud lock server generates a corresponding unlocking instruction according to the intelligent lock identifier. The unlocking instruction can be directly generated by the cloud lock server or generated after confirmation of the user who issues the order, and the specific unlocking implementation mode is not limited by the invention. For example, the cloud lock server may remotely unlock the smart lock, or the cloud lock server may send the password information to the distribution terminal, and the distribution terminal unlocks the smart lock after locally inputting the password.
Therefore, in the mode, the corresponding intelligent lock can be arranged aiming at the order to be distributed in advance, and the remote unlocking function is realized by checking the identity information of the distribution terminal, so that the courier and the user can receive and send the order and articles in a non-face-to-face handover mode conveniently. Moreover, the intelligent lock is more suitable for household use, so that the user can conveniently receive and send the express by taking a family as a unit, and the problem caused by insufficient quantity of the distribution cabinets is avoided.
Fig. 2 is a flowchart illustrating an order distribution method based on an intelligent lock according to another embodiment of the present invention. As shown in fig. 2, the method comprises the steps of:
step S201: and the user terminal sends an order generation request to the cloud lock server.
Specifically, a user fills in order information through a cloud lock client installed on a user terminal, so that an order generation request is sent to a cloud lock server, and the cloud lock server creates a corresponding order to be delivered, wherein the order to be delivered can be a delivery order of a receiving type or a delivery order of a pickup type, and is specifically distinguished through a type identifier of the order.
Step S202: and after the cloud lock server generates a to-be-distributed order corresponding to the order generation request, setting distribution terminal information corresponding to the to-be-distributed order, and sending an order distribution notice to the corresponding distribution terminal.
The cloud lock server needs to set distribution terminal information corresponding to a to-be-distributed order, and the distribution terminal information is used for identifying relevant information of a distribution user. Correspondingly, an order distribution notice is sent to the corresponding distribution terminal according to the distribution terminal information so as to inform the distribution user to carry out order distribution operation.
In specific implementation, the cloud lock server may perform order allocation operations, that is: the cloud lock server can manage the intelligent cloud lock and can also realize the allocation and scheduling of orders. Alternatively, the cloud lock server and the order server of the delivery company may communicate with each other, so that the order is distributed and scheduled according to the order server of the delivery company.
Step S203: the user terminal sends an unlocking authorization request corresponding to the to-be-distributed order phase to the cloud lock server, so that the cloud lock server sets the to-be-distributed order as an unlocking authorization type according to the unlocking authorization request, and an intelligent lock identifier contained in the unlocking authorization request is stored in an order data record corresponding to the to-be-distributed order phase.
Wherein the unlocking authorization request is used for setting the delivery type of the order. Typically, the delivery types for the order may include: an unlocking authorization type, and a non-unlocking authorization type. When the delivery type of the order is the unlocking authorization type, the delivery address corresponding to the order is provided with the intelligent lock device, and automatic unlocking delivery can be realized through the intelligent lock. In particular, the delivery type of the order may be set in a number of ways:
in one implementation mode, after the cloud lock server generates a to-be-distributed order corresponding to the order generation request, the cloud lock server sends order information of the to-be-distributed order to the user terminal, so that the user terminal can display an order setting interface corresponding to the to-be-distributed order, the order setting interface comprises an unlocking authorization entrance, and a user can set a distribution type of the order as an unlocking authorization type through the unlocking authorization entrance. This approach is suitable for setting the delivery type of an individual order immediately after placing the order, in units of that order.
In another implementation manner, the user terminal sends a user order query request to the cloud lock server; acquiring and displaying an order to be delivered, which is returned by the cloud lock server and corresponds to a user terminal identifier contained in the user order query request; and triggering an unlocking authorization request aiming at the displayed order to be distributed. Correspondingly, when the cloud lock server receives a user order query request sent by the user terminal, the cloud lock server obtains the to-be-delivered order corresponding to the user terminal identification contained in the user order query request, so that the user terminal can display the to-be-delivered order and trigger an unlocking authorization request based on the displayed to-be-delivered order. Wherein, the user order inquiry request comprises: the system comprises a receiving user order query request for querying receiving delivery orders and/or a pickup user order query request for querying pickup delivery orders. Therefore, the method can uniformly inquire each order to be delivered which is placed by the current user, and therefore the delivery type can be conveniently and uniformly set for the plurality of orders to be delivered.
In addition, the unlocking authorization request is mainly used for setting the delivery type of the order as the unlocking authorization type. In order to facilitate the cloud lock server to realize unlocking authority control for the order, the unlocking authorization request needs to include an order identification and an intelligent lock identification, so that the cloud lock server stores the order identification and the intelligent lock identification in association with the order data record corresponding to the order to be distributed. Specifically, the cloud lock server may set a type flag for the order to be delivered, so as to quickly screen out the order belonging to the unlocking authorization type from a large number of orders.
In order to implement the binding relationship between the order and the intelligent lock, a customer end program corresponding to the intelligent lock needs to be installed on a user terminal (such as a mobile phone) in advance by an order issuing user, and the intelligent lock and the user terminal identifier are bound with each other through the customer end program. During specific implementation, the binding operation between the user terminal and the intelligent lock can be realized through various modes such as code scanning communication and Bluetooth communication. For example, the user terminal scans an information code (such as a two-dimensional code) on the smart lock to obtain a smart lock identifier, and then sends a device binding request containing the smart lock identifier and the user terminal identifier to the cloud lock server, so that the cloud lock server can bind the smart lock identifier and the user terminal identifier with each other.
In addition, the unlocking authorization request can comprise at least two types, wherein the first type of unlocking authorization request comprises password setting information and is used for directly authorizing the password information of the intelligent lock to the cloud lock server so that the cloud lock server can directly authorize the unlocking operation; the second type of unlocking authorization request does not contain password setting information, and the cloud lock server is required to further request the user terminal for the password to unlock. The user terminal can further configure the validity period of the password according to the set password, so that the security of the password is improved.
Correspondingly, in a first implementation manner, the user terminal sends a first type of unlocking authorization request corresponding to the to-be-distributed subscription phase to the cloud lock server, so that the cloud lock server obtains password information corresponding to the intelligent lock identifier according to the first type of unlocking authorization request. For example, password information set by a user in an input mode can be carried in the first type of unlocking authorization request by the user terminal, and the cloud lock server directly stores the password information contained in the first type of unlocking authorization request into the order data record of the corresponding order to be delivered, so that unlocking is automatically authorized in the subsequent process. According to the method, the password can be set by the user, the security of the password is improved, and the password can be set by the user aiming at the order in advance, so that the user does not need to participate in the subsequent order distribution process, and the influence of the distribution process on the normal work of the user is greatly reduced. For another example, the first type of unlocking authorization request may further include an authorization unlocking flag, where the authorization unlocking flag is used to directly authorize the cloud lock server to perform unlocking operation, and at this time, the cloud lock server may dynamically set the password without setting the password by the user.
In a second implementation manner, the user terminal sends a second type unlocking authorization request corresponding to the to-be-distributed subscription phase to the cloud lock server, and returns a password response message containing password information to the cloud lock server when receiving a password application request sent by the cloud lock server. The second unlocking authorization request is only used for setting the distribution type of the order to be distributed as the unlocking authorization type and setting the intelligent lock identification corresponding to the order to be distributed, and the second unlocking authorization request does not contain any information related to password setting, so that the cloud lock server needs to send a password application request to the user terminal in the subsequent process to unlock the cloud lock. According to the method, the user terminal provides the password information in real time in the distribution process, so that the security of the password can be improved, and the situation that the pre-stored password is tampered is prevented.
Step S204: receiving an unlocking request triggered by a distribution terminal aiming at an order to be distributed, and acquiring an order mark and a distribution terminal mark contained in the unlocking request.
Specifically, the delivery terminal is a terminal device of a delivery user, and may be, for example, a mobile phone. Since there are usually a plurality of orders to be delivered allocated to the same delivery user, when the delivery user arrives, the order to be delivered currently needs to be screened out from a large number of orders, so as to trigger an unlocking request for the order to be delivered.
In specific implementation, the cloud lock server receives a delivery order query request sent by a delivery terminal, and acquires an order to be delivered corresponding to a delivery terminal identifier contained in the delivery order query request; sending an order display message containing the order to be distributed to the distribution terminal so that the distribution terminal can display an order list page containing the order to be distributed; the unlock request is triggered for any order to be delivered contained in the order list page. Specifically, the distribution terminal displays an order query interface through the cloud lock client, the order query interface comprises an order query entry used for triggering a distribution order query request, and each order to be distributed to the distribution terminal can be queried through the order query entry.
Specifically, if the operation of allocating the orders is implemented by the cloud lock server, each to-be-allocated order corresponding to the allocation terminal identifier is directly queried by the cloud lock server. If the operation of distributing the orders is realized by the order server of the distribution company, the cloud lock server needs to communicate with the order server to obtain each order to be distributed corresponding to the distribution terminal identification.
In addition, considering that the order types in the embodiment include an unlocking authorization type and a non-unlocking authorization type, for the order of the non-unlocking authorization type, the corresponding address does not have the intelligent lock device, so that intelligent unlocking cannot be realized. Therefore, in this step, in order to improve the query efficiency of the delivery user, the order to be delivered, of which the order type is the unlocking authorization type, may be further screened. Correspondingly, when an order display message containing a plurality of orders to be delivered is sent to the delivery terminal, a plurality of orders to be delivered with the order type of unlocking authorization type are screened from the obtained plurality of orders to be delivered corresponding to the delivery terminal identification contained in the delivery order query request; and generating and sending the order display message according to the screened orders to be distributed. The method can ensure that the orders to be delivered displayed in the order display interface of the delivery terminal are all in unlocking authorization types, so that non-contact delivery can be realized in an intelligent lock mode.
Correspondingly, when the cloud lock server receives an unlocking request triggered by any to-be-delivered order contained in the order list page, the order identification and the delivery terminal identification contained in the unlocking request are obtained. Since the unlocking request is triggered by specific orders to be delivered, the request parameter can include an order identifier so as to uniquely identify the orders to be delivered. In addition, in order to verify whether the identity of the delivery user is legal, the unlocking request further includes a delivery terminal identifier.
During specific implementation, a corresponding unlocking application entry can be set for each to-be-delivered order displayed in the order list page, and the delivery user triggers an unlocking request for the unlocking application entry corresponding to the specified to-be-delivered order, so that unlocking operation for the specified to-be-delivered order is realized.
Optionally, the unlocking application entry may be a code scanning entry, and correspondingly, the user triggers a code scanning unlocking request through the code scanning unlocking application entry, and the code scanning unlocking request further includes an intelligent lock identifier in addition to the order identifier and the distribution terminal identifier. Specifically, an intelligent lock is arranged outside a home door of a user and used for controlling whether a distribution container containing order goods is opened or not. For example, a dispensing container with a smart lock may be installed outside the user's home. The dispensing container may be in various forms such as a dispensing box, a dispensing pack, a dispensing bag, etc., as long as it can contain the ordered item. For safety reasons, a wire-like rope is provided in the dispensing container to prevent vandalism. The dispensing container is placed outside the door, and the other end of the wire rope is fixed in the room to prevent theft. An information code is arranged outside the intelligent lock and contains an intelligent lock identifier, so that a code scanning unlocking request can be triggered. When the unlocking request in the step is a code scanning unlocking request, the intelligent lock identification can be carried through the code scanning unlocking request, so that verification can be carried out according to the intelligent lock identification, and the condition that delivery of orders is disordered by a delivery user is prevented.
In addition, in the process of implementing the present invention, the inventor finds that, because the number of orders to be delivered corresponding to the same delivery user is large, the number of orders to be delivered included in the order list page queried only according to the single query parameter of the delivery terminal identifier is large, which causes that it is time consuming and error prone for the delivery user to filter the currently delivered orders from the plurality of orders to be delivered included in the order list page. In order to solve the above problem, in an improved implementation manner, the order query entry shown in the order query interface further includes a code scanning type order query entry, where the code scanning type order query entry is configured to send a code scanning type delivery order query request to the cloud lock server in a manner of scanning an information code on the intelligent lock, where the code scanning type delivery order query request includes not only a delivery terminal identifier but also a query parameter of the intelligent lock identifier. Accordingly, the cloud lock server can inquire at least one order corresponding to the intelligent lock identifier in the orders which are distributed by the distribution terminal in charge based on the intelligent lock identifier and the distribution terminal identifier. In specific implementation, the cloud lock server acquires an intelligent lock identifier contained in a delivery order query request; determining an intelligent lock identifier contained in the delivery order query request and a delivery terminal identifier contained in the delivery order query request as a combined query parameter; and inquiring the order to be distributed corresponding to the combined inquiry parameter. Therefore, the intelligent lock identification is used as an additional query parameter in a code scanning mode, so that the number of the orders to be distributed contained in the order list page can be reduced, the orders to be distributed in the order list page are limited to the orders matched with the current distribution users and the current intelligent lock, and the distribution efficiency is improved.
Step S205: and inquiring the distribution terminal information corresponding to the order identification, and determining whether the distribution terminal has the unlocking authority or not according to the matching of the distribution terminal information and the distribution terminal identification.
Specifically, after the order is generated, the server allocates a corresponding delivery terminal for the order, and stores information of the delivery terminal in association with the order to be delivered. The distribution terminal information is used for recording relevant information of a distribution user responsible for distributing the order. For example, the delivery terminal information includes: the name of the user of the delivery user, the equipment number of the terminal equipment (such as a mobile phone) held by the user, and the like. Correspondingly, the distribution terminal information corresponding to the order identification is inquired, the distribution terminal information is matched with the distribution terminal identification, and whether the distribution terminal has the unlocking authority or not is judged according to the matching result. If the distribution terminal information is successfully matched with the distribution terminal identification, the distribution terminal is proved to belong to the authentication equipment of the distribution personnel and have unlocking authority; and if the matching of the distribution terminal information and the distribution terminal identification fails, the distribution terminal does not belong to the authentication equipment of the distribution personnel and does not have unlocking authority.
When order distribution and scheduling operation is implemented by the cloud lock server, the distribution terminal information can be determined directly through local query operation of the cloud lock server. In addition, when the order distribution and scheduling operation is implemented by an order server corresponding to the distribution company, the cloud lock server sends a record query request containing an order identifier to the order server, so that the order server queries the order distribution record corresponding to the order identifier, and obtains distributed distribution terminal information contained in the order distribution record.
Step S206: and when the distribution terminal has the unlocking right, acquiring an intelligent lock identifier corresponding to the to-be-distributed order.
The cloud lock server can acquire the intelligent lock identification corresponding to the to-be-distributed order in multiple modes:
in one implementation mode, an order data record corresponding to an order to be delivered is inquired, and a user terminal identifier and an intelligent lock identifier associated with the user terminal identifier, which are contained in the order data record, are obtained. Specifically, as mentioned above, when the user terminal triggers the unlocking authorization request, the corresponding intelligent lock identifier is provided to the cloud lock server, and accordingly, the cloud lock server can determine the corresponding intelligent lock identifier by querying the order data record.
In another implementation manner, when the unlocking request triggered by the distribution terminal for the order to be distributed is a code scanning unlocking request, the cloud lock server may directly obtain the intelligent lock identifier included in the code scanning unlocking request. The code scanning unlocking request is triggered through the unlocking application entry (such as the code scanning unlocking application entry) set in the order list page to be distributed.
In addition, the two implementation modes can be used independently or in combination. Preferably, the two implementation modes are combined for use, correspondingly, after the cloud lock server obtains the intelligent lock identifier included in the code scanning unlocking request in the latter mode, the intelligent lock identifier obtained in the former mode through the order data record is matched with the intelligent lock identifier included in the code scanning unlocking request, and if the matching is successful, the distribution is correct; and if the matching fails, sending an error prompt message to the distribution terminal so that the distribution user can verify whether the current delivery address is correct. Through the mode of matching the intelligent lock identification, not only can the identity of a delivery user be verified to be legal, but also the delivery address of an order can be further verified to be correct, so that the problem of wrong delivery is prevented.
Step S207: and generating an unlocking instruction for unlocking the intelligent lock corresponding to the order to be distributed according to the intelligent lock identification so that the distribution terminal can execute unlocking operation to place or take out the order object.
In specific implementation, the delivery types of the orders comprise an unlocking authorization type and a non-unlocking authorization type, so that in order to prevent the unauthorized intelligent lock from being opened by mistake, when an unlocking instruction for opening the intelligent lock corresponding to the delivery orders is generated, whether the order types of the orders to be delivered are the unlocking authorization types is further judged; if yes, acquiring password information of the intelligent lock corresponding to the to-be-distributed order, and generating an unlocking instruction according to the acquired password information; if not, generating unauthorized prompt information to prevent the distribution user from mistakenly opening unauthorized intelligent lock equipment so as to improve the safety.
In addition, it has been mentioned above that the user-triggered request for authorization to unlock includes a first type of request for authorization to unlock as well as a second type of request for authorization to unlock. Correspondingly, when the unlocking authorization request is the first type of unlocking authorization request, the cloud lock server can generate the unlocking instruction directly according to the intelligent lock identification.
When the unlocking authorization request is a second type unlocking authorization request, the cloud lock server needs to generate an unlocking instruction according to the password information fed back by the user terminal. Specifically, a password application request is sent to a user terminal corresponding to the intelligent lock identifier; after receiving a password response message returned by the user terminal, acquiring password information contained in the password response message; and generating an unlocking instruction containing the password information so that the distribution terminal can input the password information to realize unlocking operation.
Step S208: when a lockset opening message triggered by the intelligent lock is detected, further judging whether a lockset closing message triggered by the intelligent lock is received; if yes, updating the order state of the order to be distributed into a distribution completion state, and sending an order distribution success notification message to the user terminal corresponding to the intelligent lock.
After the intelligent lock is unlocked, the communication module inside the intelligent lock sends a lock unlocking message to the cloud lock server. In addition, after the delivery user places or takes out order article, can close the intelligence lock, after the intelligence lock was closed, the inside communication module of intelligence lock sent the tool to lock closed message to cloud lock server. Correspondingly, the cloud lock server can update the distribution state of the order according to the received lockset opening message and lockset closing message, and feeds back an order distribution success notification message to the user terminal.
The order to be delivered in this embodiment includes: an in-delivery order, and/or a pick-delivery order. Therefore, the above manner in this embodiment can not only realize receiving (i.e. delivery user is on door to deliver) but also realize picking (i.e. delivery user is on door to pick).
In addition, in the code scanning mode, besides code scanning through the cloud lock client, code scanning can be further performed through modes such as small programs, public numbers and the like, and specific implementation details are not limited in the invention.
In summary, the order distribution mode in this embodiment can set a corresponding intelligent lock for the order to be distributed in advance, and realize a remote unlocking function by checking the identity information of the distribution terminal, so that the courier and the user can receive and dispatch the order items in a non-face-to-face handover mode. Moreover, the intelligent lock is more suitable for household use, so that the user can conveniently receive and send the express by taking a family as a unit, and the problem caused by insufficient quantity of the distribution cabinets is avoided. In addition, the embodiment can realize the binding and recognition functions between the intelligent lock device and the order, thereby preventing the phenomenon of delivery by mistake. Moreover, the safety of order objects is improved and contactless distribution is facilitated through the remote unlocking function of the intelligent lock.
Fig. 3 is a schematic structural diagram illustrating an order distribution server based on an intelligent lock according to another embodiment of the present invention, and as shown in fig. 3, the order distribution server includes:
the receiving module 31 is adapted to receive an unlocking request triggered by a distribution terminal for an order to be distributed, and acquire an order identifier and a distribution terminal identifier included in the unlocking request;
the query module 32 is adapted to query the distribution terminal information corresponding to the order identifier, and determine whether the distribution terminal has the unlocking authority or not according to whether the distribution terminal information is matched with the distribution terminal identifier;
the obtaining module 33 is adapted to obtain an intelligent lock identifier corresponding to the distribution order phase to be distributed when the distribution terminal has the unlocking right;
and the unlocking module 34 is adapted to generate an unlocking instruction for unlocking the intelligent lock corresponding to the order to be distributed according to the intelligent lock identifier, so that the distribution terminal can execute an unlocking operation to place or take out the order object.
Optionally, the unlocking module is specifically adapted to:
judging whether the order type of the order to be delivered is an unlocking authorization type;
if yes, password information of the intelligent lock corresponding to the to-be-distributed order is obtained, and the unlocking instruction is generated according to the obtained password information.
Optionally, the receiving module is further adapted to:
when an unlocking authorization request triggered by a user terminal for the order to be distributed is received, setting the order type of the order to be distributed as an unlocking authorization type according to the unlocking authorization request;
the unlocking authorization request comprises an order identification and an intelligent lock identification of the order to be delivered, so that the cloud lock server stores the order identification and the intelligent lock identification in association with an order data record corresponding to the order to be delivered.
Optionally, the receiving module is further adapted to:
when a user order query request sent by a user terminal is received, obtaining a to-be-delivered order corresponding to a user terminal identifier contained in the user order query request, so that the user terminal can display the to-be-delivered order and trigger the unlocking authorization request based on the displayed to-be-delivered order;
wherein the user order query request comprises: the system comprises a receiving user order query request for querying receiving delivery orders and/or a pickup user order query request for querying pickup delivery orders.
Optionally, the receiving module is further adapted to:
receiving a delivery order query request sent by a delivery terminal, and acquiring a to-be-delivered order corresponding to a delivery terminal identifier contained in the delivery order query request;
sending an order display message containing the order to be distributed to a distribution terminal so that the distribution terminal can display an order list page containing the order to be distributed;
the unlocking request is triggered for any order to be delivered contained in the order list page.
Optionally, the receiving module is specifically adapted to:
screening a plurality of to-be-delivered orders of which the order types are unlocking authorization types from a plurality of to-be-delivered orders which are obtained and correspond to delivery terminal identifications contained in the delivery order query request;
and generating and sending the order display message according to the screened orders to be distributed.
Optionally, the delivery order query request is a code scanning type delivery order query request triggered based on an information code corresponding to the smart lock;
the receiving module is specifically adapted to:
acquiring an intelligent lock identifier contained in the delivery order query request;
determining an intelligent lock identifier contained in the delivery order query request and a delivery terminal identifier contained in the delivery order query request as combined query parameters;
and inquiring the order to be distributed corresponding to the combined inquiry parameter.
Optionally, the obtaining module is specifically adapted to:
inquiring an order data record corresponding to the order to be delivered, and acquiring a user terminal identifier and an intelligent lock identifier associated with the user terminal identifier, wherein the user terminal identifier is contained in the order data record; and/or the presence of a gas in the gas,
when the unlocking request triggered by the distribution terminal aiming at the order to be distributed is a code scanning unlocking request, the intelligent lock identification contained in the code scanning unlocking request is obtained.
Optionally, the unlocking module is specifically adapted to:
sending a password application request to a user terminal corresponding to the intelligent lock identifier;
when a password response message returned by the user terminal is received, password information contained in the password response message is acquired;
and generating an unlocking instruction containing the password information so that the distribution terminal can input the password information to realize unlocking operation.
Optionally, the query module is specifically adapted to:
and the cloud lock server sends a record query request containing the order identification to an order server so that the order server can query an order distribution record corresponding to the order identification and obtain distributed distribution terminal information contained in the order distribution record.
Optionally, the unlocking module is further adapted to:
when the lockset opening message triggered by the intelligent lock is detected, further judging whether a lockset closing message triggered by the intelligent lock is received;
if yes, updating the order state of the order to be distributed into a distribution completion state, and sending an order distribution success notification message to a user terminal corresponding to the intelligent lock;
wherein the order to be delivered comprises: an in-delivery order, and/or a pick-delivery order.
The order delivery server may be the cloud lock server mentioned above. Accordingly, the specific implementation principle of each module may refer to the description of the corresponding step in the method embodiment, and is not described herein again.
Fig. 5 is a schematic structural diagram of an order delivery client based on an intelligent lock according to another embodiment of the present invention, and as shown in fig. 5, the order delivery client includes:
the order generating module 51 is adapted to send an order generating request to the cloud lock server, so that the cloud lock server generates a to-be-distributed order corresponding to the order generating request, and sets distribution terminal information corresponding to the to-be-distributed order;
and the unlocking authorization module 52 is adapted to send an unlocking authorization request corresponding to the order to be distributed to the cloud lock server, so that the cloud lock server sets the order to be distributed as an unlocking authorization type according to the unlocking authorization request, and stores an intelligent lock identifier included in the unlocking authorization request in an order data record corresponding to the order to be distributed.
Optionally, the unlocking authorization module is specifically adapted to:
sending a first type of unlocking authorization request corresponding to the to-be-distributed order to a cloud lock server, so that the cloud lock server can obtain password information corresponding to the intelligent lock identification according to the first type of unlocking authorization request;
and sending a second-class unlocking authorization request corresponding to the order to be distributed to the cloud lock server, and returning a password response message containing password information to the cloud lock server when receiving a password application request sent by the cloud lock server.
Optionally, the unlocking authorization module is specifically adapted to:
sending a user order query request to the cloud lock server;
acquiring and displaying the to-be-delivered order which is returned by the cloud lock server and corresponds to the user terminal identification contained in the user order query request;
and triggering the unlocking authorization request aiming at the displayed order to be distributed.
In addition, another embodiment of the present invention further provides an order distribution system based on an intelligent lock, including: the order distribution server and the order distribution client are provided.
In the server, the client and the system provided by the embodiment of the invention, the corresponding intelligent lock can be set for the order to be delivered in advance, and the remote unlocking function is realized by checking the identity information of the delivery terminal, so that the order object can be conveniently delivered and received by a courier and a user in a non-face-to-face delivery mode. Moreover, the intelligent lock is more suitable for household use, so that the user can conveniently receive and send the express by taking a family as a unit, and the problem caused by insufficient quantity of the distribution cabinets is avoided.
The embodiment of the invention provides a nonvolatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the intelligent lock-based order distribution method in any method embodiment.
The executable instructions may be specifically configured to cause a processor to perform the operations of the methods described above.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 4, the electronic device may include: a processor (processor)402, a Communications Interface 404, a memory 406, and a Communications bus 408.
Wherein: the processor 402, communication interface 404, and memory 406 communicate with each other via a communication bus 408. A communication interface 404 for communicating with network elements of other devices, such as clients or other servers. The processor 402 is configured to execute the program 410, and may specifically execute the relevant steps in the above-described embodiment of the method for distributing an order based on an intelligent lock.
In particular, program 410 may include program code comprising computer operating instructions.
The processor 402 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 406 for storing a program 410. Memory 406 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 410 may be specifically configured to cause the processor 402 to perform the operations of the methods described above.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of embodiments of the present invention as described herein, and any descriptions of specific languages are provided above to disclose preferred embodiments of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that is, the claimed embodiments of the invention require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components according to embodiments of the present invention. Embodiments of the invention may also be implemented as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing embodiments of the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. Embodiments of the invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.

Claims (10)

1. An order distribution method based on an intelligent lock comprises the following steps:
receiving an unlocking request triggered by a distribution terminal aiming at an order to be distributed, and acquiring an order mark and a distribution terminal mark contained in the unlocking request;
inquiring the distribution terminal information corresponding to the order identification, and determining whether the distribution terminal has unlocking authority or not according to the matching of the distribution terminal information and the distribution terminal identification;
when the distribution terminal has unlocking authority, acquiring an intelligent lock identifier corresponding to a to-be-distributed order;
and generating an unlocking instruction for unlocking the intelligent lock corresponding to the to-be-distributed order according to the intelligent lock identification so that the distribution terminal can execute unlocking operation to place or take out the order object.
2. The method of claim 1, wherein the generating an unlocking instruction for unlocking an intelligent lock corresponding to the to-be-provisioned order comprises:
judging whether the order type of the order to be delivered is an unlocking authorization type;
if yes, password information of the intelligent lock corresponding to the to-be-distributed order is obtained, and the unlocking instruction is generated according to the obtained password information.
3. The method of any of claims 1-2, wherein prior to performing the method, further comprising:
when an unlocking authorization request triggered by a user terminal for the order to be distributed is received, setting the order type of the order to be distributed as an unlocking authorization type according to the unlocking authorization request;
the unlocking authorization request comprises an order identification and an intelligent lock identification of the order to be delivered, so that the cloud lock server stores the order identification and the intelligent lock identification in association with an order data record corresponding to the order to be delivered.
4. The method according to claim 3, wherein before receiving an unlocking authorization request triggered by a user terminal for the order to be delivered, the method further comprises:
when a user order query request sent by a user terminal is received, obtaining a to-be-delivered order corresponding to a user terminal identifier contained in the user order query request, so that the user terminal can display the to-be-delivered order and trigger the unlocking authorization request based on the displayed to-be-delivered order;
wherein the user order query request comprises: the system comprises a receiving user order query request for querying receiving delivery orders and/or a pickup user order query request for querying pickup delivery orders.
5. An order distribution method based on an intelligent lock comprises the following steps:
sending an order generation request to a cloud lock server so that the cloud lock server can generate a to-be-distributed order corresponding to the order generation request, and setting distribution terminal information corresponding to the to-be-distributed order;
and sending an unlocking authorization request corresponding to the order to be distributed to a cloud lock server, so that the cloud lock server sets the order to be distributed as an unlocking authorization type according to the unlocking authorization request, and storing an intelligent lock identifier contained in the unlocking authorization request in an order data record corresponding to the order to be distributed.
6. An intelligent lock based order delivery server comprising:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is suitable for receiving an unlocking request triggered by a sending terminal aiming at an order to be sent, and acquiring an order mark and a sending terminal mark contained in the unlocking request;
the query module is suitable for querying the distribution terminal information corresponding to the order identification, and determining whether the distribution terminal has unlocking authority or not according to the matching of the distribution terminal information and the distribution terminal identification;
the acquisition module is suitable for acquiring an intelligent lock identifier corresponding to a to-be-distributed subscription phase when the distribution terminal has unlocking authority;
and the unlocking module is suitable for generating an unlocking instruction for unlocking the intelligent lock corresponding to the order to be distributed according to the intelligent lock identification so that the distribution terminal can execute unlocking operation to place or take out the order object.
7. An intelligent lock based order delivery client comprising:
the order generation module is suitable for sending an order generation request to the cloud lock server so that the cloud lock server can generate a to-be-distributed order corresponding to the order generation request and set distribution terminal information corresponding to the to-be-distributed order;
and the unlocking authorization module is suitable for sending an unlocking authorization request corresponding to the order to be distributed to the cloud lock server, so that the cloud lock server sets the order to be distributed to an unlocking authorization type according to the unlocking authorization request, and stores an intelligent lock identifier contained in the unlocking authorization request in an order data record corresponding to the order to be distributed.
8. An intelligent lock based order delivery system comprising: the order distribution server of claim 6 and the order distribution client of claim 7.
9. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the intelligent lock-based order distribution method according to any one of claims 1-4.
10. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the smart lock-based order distribution method as recited in any one of claims 1 to 4.
CN202110050938.4A 2021-01-14 2021-01-14 Order distribution method, server, client and system based on intelligent lock Pending CN112734998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110050938.4A CN112734998A (en) 2021-01-14 2021-01-14 Order distribution method, server, client and system based on intelligent lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110050938.4A CN112734998A (en) 2021-01-14 2021-01-14 Order distribution method, server, client and system based on intelligent lock

Publications (1)

Publication Number Publication Date
CN112734998A true CN112734998A (en) 2021-04-30

Family

ID=75593300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110050938.4A Pending CN112734998A (en) 2021-01-14 2021-01-14 Order distribution method, server, client and system based on intelligent lock

Country Status (1)

Country Link
CN (1) CN112734998A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897848A (en) * 2015-12-18 2017-06-27 深圳市丰巢科技有限公司 Express delivery information interlock method based on express delivery cabinet, apparatus and system
CN111192386A (en) * 2020-03-03 2020-05-22 福建省万物智联科技有限公司 Intelligent lock system and unlocking method of intelligent lock
CN111429066A (en) * 2020-03-26 2020-07-17 北京每日优鲜电子商务有限公司 Article distribution method, computer equipment and storage medium
CN111724512A (en) * 2020-06-28 2020-09-29 口碑(上海)信息技术有限公司 Equipment opening method, device, equipment and readable storage medium of equipment
CN111768564A (en) * 2020-06-02 2020-10-13 合肥美的智能科技有限公司 Intelligent device and control method thereof
CN111784910A (en) * 2020-06-02 2020-10-16 合肥美的智能科技有限公司 Control system and method of intelligent device
CN111861342A (en) * 2020-07-27 2020-10-30 廊坊市爱鑫科技有限公司 Commodity distribution management method, lock management method and commodity distribution system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897848A (en) * 2015-12-18 2017-06-27 深圳市丰巢科技有限公司 Express delivery information interlock method based on express delivery cabinet, apparatus and system
CN111192386A (en) * 2020-03-03 2020-05-22 福建省万物智联科技有限公司 Intelligent lock system and unlocking method of intelligent lock
CN111429066A (en) * 2020-03-26 2020-07-17 北京每日优鲜电子商务有限公司 Article distribution method, computer equipment and storage medium
CN111768564A (en) * 2020-06-02 2020-10-13 合肥美的智能科技有限公司 Intelligent device and control method thereof
CN111784910A (en) * 2020-06-02 2020-10-16 合肥美的智能科技有限公司 Control system and method of intelligent device
CN111724512A (en) * 2020-06-28 2020-09-29 口碑(上海)信息技术有限公司 Equipment opening method, device, equipment and readable storage medium of equipment
CN111861342A (en) * 2020-07-27 2020-10-30 廊坊市爱鑫科技有限公司 Commodity distribution management method, lock management method and commodity distribution system

Similar Documents

Publication Publication Date Title
US11132856B2 (en) Selection of access control apparatuses on an access authorization proving apparatus on the basis of information of a shipment
US11144873B2 (en) Package management system with accelerated delivery
US10643415B2 (en) Package management system with accelerated delivery
CN108171896B (en) Compartment specific access authorization information
AU2017239571B2 (en) Secured electronic locker system
CN104574167B (en) Lease processing method, related device and system
US10497192B2 (en) Notifying an individual about an item in a secure mailbox
WO2020007211A1 (en) Logistics object management device and logistics object delivery and shipping control method and device
JP6805802B2 (en) Minpaku service system
JP6138565B2 (en) Vehicle allocation system
JP6738143B2 (en) Locker system
JP2021014729A (en) Auto lock type door unlocking system, auto lock type door unlocking method, and auto lock type door unlocking program
EP3726454A1 (en) Vehicle control system and method
JP2019117586A (en) Information processing apparatus, information processing method and information processing program
CN104766408A (en) Method capable of being used for counting user operation situations of self-service article taking and placing device
TWI750431B (en) Vehicle control system and method
CN109472658B (en) Control system and method for house and guest source electronic lock for renting and selling real estate
CN112309054A (en) Intelligent delivery cabinet delivery method and device and intelligent delivery cabinet
JP2014147478A (en) Article collection device
CN109064675A (en) Luggage Deposit verification method, device and intelligent inbox
CN111784931B (en) Method and apparatus for sharing distribution boxes
CN112734998A (en) Order distribution method, server, client and system based on intelligent lock
JP2004026496A (en) Reservation designation system for delivery destination locker
JP3368257B2 (en) Centralized management system for delivery storage boxes
CN111784910A (en) Control system and method of intelligent device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210430