CN109815681B - Article distribution method and device, distribution bearing device and storage medium - Google Patents

Article distribution method and device, distribution bearing device and storage medium Download PDF

Info

Publication number
CN109815681B
CN109815681B CN201910040141.9A CN201910040141A CN109815681B CN 109815681 B CN109815681 B CN 109815681B CN 201910040141 A CN201910040141 A CN 201910040141A CN 109815681 B CN109815681 B CN 109815681B
Authority
CN
China
Prior art keywords
client
delivery
information
distribution
bearing device
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.)
Active
Application number
CN201910040141.9A
Other languages
Chinese (zh)
Other versions
CN109815681A (en
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.)
Zhuhai Unicook Technology Co Ltd
Original Assignee
Zhuhai Unicook 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 Zhuhai Unicook Technology Co Ltd filed Critical Zhuhai Unicook Technology Co Ltd
Priority to CN201910040141.9A priority Critical patent/CN109815681B/en
Publication of CN109815681A publication Critical patent/CN109815681A/en
Application granted granted Critical
Publication of CN109815681B publication Critical patent/CN109815681B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an article distribution method and device, a distribution bearing device and a storage medium. Wherein, the method comprises the following steps: the method comprises the steps that a distribution bearing device receives a connection establishment request sent by a client side, wherein the distribution bearing device is used for carrying articles to be distributed; responding to the connection establishment request, the distribution bearing device establishes a communication link with the client and generates authentication information for verifying the distribution bearing device; the delivery bearing device sends the authentication information to the client through the communication link, so that the client sends an authentication request matched with the delivery bearing device to the first electronic equipment by using the authentication information; and under the condition that the authentication request of the first electronic equipment is determined to pass authentication verification, the distribution bearing device establishes a binding relationship with the client side and sends the state information of the distribution bearing device to the client side. The invention solves the technical problem of lower distribution safety of the distribution method provided by the related technology.

Description

Article distribution method and device, distribution bearing device and storage medium
Technical Field
The invention relates to the field of computers, in particular to an article distribution method and device, a distribution bearing device and a storage medium.
Background
In a conventional article distribution process, an article to be distributed is usually packaged by a packaging material such as a paper box, a plastic bag and the like, and order information is attached to the packaged article for distribution by a courier. The courier identifies the items to be delivered according to the bar code or the two-dimensional code on the order, so as to accurately deliver the items to the corresponding destination.
However, the packaging materials provided in the related art are often rough, and are easily damaged or maliciously opened and damaged during distribution, so that the distribution quality of the articles to be distributed is affected, and thus the safety of the distribution of the articles cannot be guaranteed.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides an article distribution method and device, a distribution bearing device and a storage medium, and at least solves the technical problem that the distribution safety of the distribution method provided by the related technology is low.
According to an aspect of an embodiment of the present invention, there is provided an article dispensing method including: a distribution bearing device receives a connection establishment request sent by a client, wherein the distribution bearing device is used for carrying articles to be distributed; responding to the connection establishment request, the distribution bearing device establishing a communication link with the client and generating authentication information for verifying the distribution bearing device; the distribution bearing device sends the authentication information to the client through the communication link, so that the client sends an authentication request matched with the distribution bearing device to the first electronic equipment by using the authentication information; and under the condition that the first electronic equipment is determined to pass authentication verification on the authentication request, the distribution bearing device establishes a binding relationship with the client and sends the state information of the distribution bearing device to the client.
According to another aspect of the embodiments of the present invention, there is also provided an article dispensing method including: sending a connection establishment request to a distribution bearing device through a communication network, wherein the distribution bearing device is used for carrying articles to be distributed; receiving authentication information for verifying the delivery bearer through the communication link in the case of establishing the communication link with the delivery bearer; sending an authentication request matched with the distribution bearing device to the first electronic equipment by using the authentication information; and under the condition that the authentication request of the first electronic equipment is confirmed to pass authentication verification, establishing a binding relationship with the distribution bearing device, and receiving the state information of the distribution bearing device sent by the distribution bearing device.
According to still another aspect of an embodiment of the present invention, there is provided an article dispensing method including: acquiring an authentication request sent by a client, wherein the authentication request is a request generated by the client by using authentication information sent by a distribution bearing device, and the distribution bearing device is used for carrying an article to be distributed; responding the authentication request, and verifying the binding relationship between the distribution bearing device and the client; and sending delivery prompt information to the client under the condition of passing authentication verification, wherein the delivery prompt information is used for prompting the client to establish a binding relationship with the delivery bearing device, and displaying delivery state prompt information corresponding to the binding relationship in the client.
According to still another aspect of an embodiment of the present invention, there is provided an article dispensing system including: the method comprises the steps that a client sends a login request to first electronic equipment, wherein the login request is used for requesting to use a target account to login an application; when the login request meets the login condition, the first electronic device returns login response information to the client, wherein the login response information comprises: user identification and login success indication information generated for the client; when the client is located in the communication range of a delivery bearer, the client sends a connection establishment request to the delivery bearer; the distribution bearing device responds to the connection establishment request and establishes a communication link with the client; the delivery carrying device sends authentication information for verification to the client through the communication link; the client sends an authentication request matched with the distribution bearing device to the first electronic equipment, wherein the authentication request carries the user identification of the client and the authentication information of the distribution bearing device; the first electronic device responds to the authentication request, performs authentication verification on the authentication request, and establishes a binding relationship between the delivery bearer and the client under the condition that the first electronic device confirms that the authentication verification is passed; after the delivery bearer successfully establishes the binding relationship with the client, the delivery bearer sends the status information of the delivery bearer to the client.
According to yet another aspect of an embodiment of the present invention, there is provided an article dispensing device in a dispensing carrier, comprising: the system comprises a receiving unit, a sending unit and a receiving unit, wherein the receiving unit is used for receiving a connection establishment request sent by a client, and the distribution bearing device is used for carrying articles to be distributed; a establishing unit, configured to respond to the connection establishment request, establish a communication link with the client, and generate authentication information for verifying the delivery bearer; a first sending unit, configured to send the authentication information to the client through the communication link, so that the client sends an authentication request matching the distribution bearer to a first electronic device by using the authentication information; and a second sending unit, configured to establish a binding relationship with the client and send status information of the distribution bearer to the client when it is determined that the authentication request of the first electronic device passes authentication verification.
According to another aspect of an embodiment of the present invention, there is provided an article dispensing apparatus, located in a client, including: a first sending unit, configured to send a connection establishment request to a distribution bearer through a communication network, where the distribution bearer is used to carry an article to be distributed; a receiving unit, configured to receive, through a communication link established with the delivery bearer, authentication information for verifying the delivery bearer; a second sending unit, configured to send an authentication request matching the distribution bearer to the first electronic device by using the authentication information; and the display unit is used for establishing a binding relationship with the delivery bearing device and displaying delivery state prompt information and/or state information of the delivery bearing device corresponding to the binding relationship under the condition that the first electronic equipment is determined to pass authentication verification.
According to yet another aspect of an embodiment of the present invention, there is provided an article dispensing apparatus in a first electronic device, including: an obtaining unit, configured to obtain an authentication request sent by a client, where the authentication request is a request generated by the client using authentication information sent by a distribution carrying device, and the distribution carrying device is used to carry an article to be distributed; a verification unit, configured to respond to the authentication request and verify a binding relationship between the delivery bearer and the client; and the sending unit is used for sending delivery prompt information to the client under the condition of confirming that the authentication is passed, wherein the delivery prompt information is used for prompting the client to establish a binding relationship with the delivery bearing device, and displaying delivery state prompt information corresponding to the binding relationship in the client.
According to another aspect of an embodiment of the present invention, there is provided a delivery carriage including: the system comprises a communication module, a receiving module and a sending module, wherein the communication module is used for receiving a connection establishment request sent by a client, and the distribution bearing device is used for carrying articles to be distributed; a state monitoring module, configured to send article state information of the article and/or network connection state information of the distribution bearer to the client according to a predetermined period; and the processor is connected with the communication module and the state monitoring module and used for establishing a communication link with the client, generating authentication information for verifying the distribution bearing device and sending the authentication information to the client through the communication link.
According to still another aspect of the embodiments of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is configured to execute the above-mentioned article distribution method when running.
In the embodiment of the present invention, after receiving a connection establishment request sent by a client through a communication network, in response to the connection establishment request, a delivery bearer establishes a communication link with the client, and generates authentication information for verifying the delivery bearer. Then, the delivery carrying device sends the authentication information to the client through the communication link, so that the client sends an authentication request matched with the delivery carrying device to the first electronic equipment by using the authentication information. And under the condition that the first electronic equipment passes authentication verification on the authentication request, the delivery bearing device establishes a binding relationship with the client and sends the state information of the delivery bearing device to the client. That is to say, the delivery carrying device performs data interaction with the client through a communication link established based on a communication network to send authentication information and status information of the delivery carrying device to the client, thereby realizing security verification of the binding relationship between the delivery carrying device and the client, and also realizing real-time monitoring of the delivery carrying device to avoid the condition that the delivery carrying device is damaged or maliciously destroyed, further achieving the effect of improving the security of article delivery, and solving the technical problem that the delivery method provided by the related technology has lower delivery security.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of an alternative method of dispensing items according to an embodiment of the present invention;
FIG. 2 is an environmental schematic of an alternative method of dispensing items according to embodiments of the present invention;
FIG. 3 is a flow chart of an alternative method of dispensing items according to an embodiment of the present invention;
FIG. 4 is a flow chart of yet another alternative method of dispensing items in accordance with an embodiment of the present invention;
FIG. 5 is a flow chart of yet another alternative method of dispensing items in accordance with an embodiment of the present invention;
FIG. 6 is a schematic view of an alternative article dispensing device according to an embodiment of the present invention;
FIG. 7 is a schematic view of an alternative article dispensing apparatus according to an embodiment of the present invention;
FIG. 8 is a schematic view of yet another alternative article dispensing device according to an embodiment of the present invention;
figure 9 is a schematic view of an alternative dispensing carrier according to embodiments of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of an embodiment of the present invention, there is provided an article distribution method, optionally applied to a distribution carrier as an optional implementation manner, as shown in fig. 1, the article distribution method includes:
s102, a distribution bearing device receives a connection establishment request sent by a client, wherein the distribution bearing device is used for carrying articles to be distributed;
s104, responding to the connection establishment request, the distribution bearing device establishes a communication link with the client and generates authentication information for verifying the distribution bearing device;
s106, the delivery bearing device sends the authentication information to the client through the communication link, so that the client sends an authentication request matched with the delivery bearing device to the first electronic equipment by using the authentication information;
and S108, under the condition that the authentication request of the first electronic equipment is confirmed to pass the authentication verification, the distribution bearing device establishes a binding relationship with the client, and sends the state information of the distribution bearing device to the client.
Optionally, in this embodiment, the article distribution method may be applied to, but not limited to, article purchasing, article delivering, food delivering, and the like. The delivery carrier may include, but is not limited to, a delivery box, a delivery cabinet, a delivery box, etc. for carrying the articles to be delivered. The delivery carrier may include, but is not limited to, a communication module and a condition monitoring module. The communication module may be, but is not limited to, used to establish a communication link with the client and perform data interaction through the communication link. Further, the communication module may include, but is not limited to, at least one of: wireless communication module, wired communication module. The wireless communication module may include, but is not limited to: bluetooth and WiFi; the wired communication module may include, but is not limited to: wide area networks, metropolitan area networks, and local area networks. The state monitoring module may be, but not limited to, configured to monitor at least one of the following state information: lock state information of the distribution carrier, environment information in the distribution carrier, network connection state information of the distribution carrier, and position information of the distribution carrier. Further, the data interacted between the delivery bearer and the client may include, but is not limited to: authentication information of the delivery carrying device and state information of the delivery carrying device. The above is merely an example, and this is not limited in this embodiment.
It should be noted that, after receiving a connection establishment request sent by a client through a communication network, in response to the connection establishment request, the distribution bearer establishes a communication link with the client, and generates authentication information for verifying the distribution bearer. Then, the delivery carrying device sends the authentication information to the client through the communication link, so that the client sends an authentication request matched with the delivery carrying device to the first electronic equipment by using the authentication information. And under the condition that the first electronic equipment passes authentication verification on the authentication request, the distribution bearing device establishes a binding relationship with the client side and sends the state information of the distribution bearing device to the client side. That is to say, the delivery carrying device performs data interaction with the client through a communication link established based on a communication network to send authentication information and status information of the delivery carrying device to the client, so as to realize security verification of the binding relationship between the delivery carrying device and the client, and also realize real-time monitoring of the delivery carrying device, so as to avoid the condition that the delivery carrying device is damaged or maliciously destroyed, thereby achieving the effect of improving the security of article delivery, and overcoming the problem of low security of article delivery in the related art.
Optionally, in this embodiment, the article distribution method may be, but is not limited to, applied to an article distribution system as shown in fig. 2, where the article distribution system may include, but is not limited to: a delivery bearer 202, a client 204 of a terminal application, and a first electronic device 206. The delivery bearer 202 establishes a communication link with the client 204 through a communication network, and sends authentication information to the client 204 based on the communication link, and the client 204 generates an authentication request matching the delivery bearer by using its own identity information and the received authentication information, and sends the authentication request to the first electronic device 206 for authentication verification. In the case that the first electronic device 206 passes the authentication verification, it is determined that a binding relationship is established between the delivery bearer 202 and the client 204, and the delivery bearer 202 may send status information of the delivery bearer 202 to the client 204.
Optionally, in this embodiment, the first electronic device may be, but not limited to, a hardware device having a function of remotely receiving the authentication information and verifying the authentication information, such as a server with high computing processing capability.
Optionally, in this embodiment, the authentication information of the delivery bearer may include but is not limited to: a first authentication field and a second authentication field. Wherein the first authentication field may include, but is not limited to: an identification of the delivery bearer and a first verification value dynamically generated by the delivery bearer. The second authentication field may include, but is not limited to, a digital signature obtained by encrypting the first authentication field with key information assigned by the first electronic device to the distribution bearer.
It should be noted that, in this embodiment, the first dynamic generator for generating the first verification value in the delivery bearer is synchronized with the second dynamic generator in the first electronic device. That is, the first dynamic generator in the delivery bearer and the second dynamic generator in the first electronic device both use the same dynamic number generation algorithm and the same dynamic number factor and generate the same dynamic verification value in the same generation order. For example, the first dynamic builder and the second dynamic builder each generate a dynamic verification value every five minutes, and both generate the same verification value. The above is merely an example, and this is not limited in this embodiment.
In addition, in this embodiment, the key information for encryption may be, but is not limited to, a private key that is pre-allocated to the distribution carrier for the first electronic device and stored in the distribution carrier, and a public key that is matched with the private key is stored in the first electronic device, where the private key and the public key of the distribution carrier are keys matched with a pair of asymmetric encryptions. The above is merely an example, and this is not limited in this embodiment.
Optionally, in this embodiment, after the delivery bearer establishes a binding relationship with the client, the delivery bearer may notify the client to display delivery status prompt information corresponding to the binding relationship, where the delivery status prompt information includes: confirming that the article is in a successful dispensing state, and confirming that the article is in a completed delivery state.
It should be noted that, after the delivery bearer establishes a binding relationship with the client, an account attribute of the client in the binding relationship is determined, and the delivery status prompt information is determined according to the account attribute. Wherein the account attribute comprises: and the delivery account and the order account. If the client is determined to be the client logged in by using the delivery account, after the binding relationship is established, the state of the article is displayed in the client and updated to the successful distribution state. For example, the client registered by the courier hand-held terminal device displays the status that the delivery carrier is "successfully picked up". And in the case that the client is determined to be the client logged in by using the order account, after the binding relationship is established, the state of the article is displayed in the client and updated to the delivery completion state. For example, the client registered in the terminal device is displayed with the delivery bearer in a "delivery completed" state. Here, the client registered in the hand-held terminal device of the courier may display a status that the delivery bearer is "delivery completed".
Optionally, in this embodiment, the sending, by the delivery bearer, the status information of the delivery bearer to the client may further include but is not limited to: lock state information of the distribution carrier, environment information in the distribution carrier, network connection state information of the distribution carrier, and position information of the distribution carrier. The environment information in the delivery carrying device may include, but is not limited to, at least one of the following: the temperature, humidity, etc. of the items to be dispensed. For example, when the item to be distributed is a food material, the client logged in by using the distribution account needs to periodically interact with the distribution carrier to obtain the temperature and/or humidity of the food material.
Through the embodiment provided by the application, the delivery bearing device performs data interaction with the client through the communication link established based on the communication network, so that the authentication information and the state information of the delivery bearing device are sent to the client, the safety verification of the binding relationship between the delivery bearing device and the client is realized, the delivery bearing device can be monitored in real time, the condition that the delivery bearing device is damaged or maliciously destroyed is avoided, the effect of improving the safety of article delivery is further achieved, and the problem that the safety of article delivery is low in the related technology is solved.
As an optional scheme, before the distributing and carrying device sends the authentication information to the client through the communication link, the method further includes:
s1, the distribution bearer combines the dynamically generated first verification value with the identifier of the distribution bearer to obtain a first authentication field, where a first dynamic generator in the distribution bearer for generating the first verification value is synchronized with a second dynamic generator in the first electronic device;
s2, the distribution bearing device encrypts the first authentication field by using the key information distributed by the first electronic equipment to the distribution bearing device to obtain a second authentication field;
and S3, the distribution bearing device sends the first authentication field and the second authentication field as authentication information to the client through the communication link.
Optionally, in this embodiment, the encrypting the first authentication field by the delivery bearer using the key information allocated by the first electronic device to the delivery bearer to obtain the second authentication field includes:
s21, the distribution bearing device carries out hash processing on the first authentication field to generate summary information;
and S22, the distribution bearing device encrypts the digest information by using the key information to obtain a digital signature as a second authentication field.
The description is made with specific reference to the following examples. Assuming that a scenario in which the client logs in using the delivery account is taken as an example, the delivery bearer takes a food matching cabinet in a scenario of delivering food materials as an example, an identifier of the delivery bearer takes a food matching cabinet number as an example, the first electronic device takes a server as an example, and the first verification value generated by the first dynamic generator takes a dynamic random number as an example:
after the courier arrives at the storage position of the food distribution cabinet according to the order, the courier can send a Bluetooth connection request to the food distribution cabinet through the client side of the handheld terminal device, and after the courier is communicated with the corresponding food distribution cabinet through Bluetooth, the food distribution cabinet combines the self identity information (namely the number of the food distribution cabinet) M1 of the food distribution cabinet and the dynamic random number M2 to obtain a first authentication field M. And then, the catering cabinet performs HASH processing on the first authentication field M through a HASH function to generate summary information H, and encrypts the summary information H by using a private key distributed by the server to obtain a digital signature as a second authentication field S. The catering cabinet may then send the first authentication field M and the second authentication field S as authentication information { M, S } to the client logged in using the delivery account via the established communication link.
Further, the client logged in by using the delivery account sends an authentication request generated by using the authentication information { M, S } and the client identifier to the server, so that the server performs security verification on the binding relationship between the client and the catering cabinet. And under the condition that the server passes authentication verification, updating delivery state prompt information, and prompting that the catering cabinet is successfully picked up by a courier of the client logged in by using the delivery account in the client.
The description is made with specific reference to the following examples. Assuming that a scenario in which the client logs in using the subscription account is taken as an example, the delivery bearer takes a meal matching cabinet in a scenario of delivering food materials as an example, the first electronic device takes a server as an example, an identifier of the delivery bearer takes a meal matching cabinet number as an example, and the first verification value generated by the first dynamic generator takes a dynamic random number as an example:
after the food distribution cabinet is delivered to the ordering user according to the order, the ordering user can send a Bluetooth connection request to the food distribution cabinet through a client side of the handheld terminal device, and after the Bluetooth connection request is communicated with the corresponding food distribution cabinet, the food distribution cabinet combines the self-identity identification information (namely the number of the food distribution cabinet) M1 of the food distribution cabinet and the dynamic random number M2 to obtain a first authentication field M. And then, the catering cabinet performs HASH processing on the first authentication field M through a HASH function to generate summary information H, and encrypts the summary information H by using a private key distributed by the server to obtain a digital signature as a second authentication field S. The catering cabinet may then send the first authentication field M and the second authentication field S as authentication information { M, S } to the client logged in using the subscription account over the established communication link.
Further, the client logged in by the order account sends an authentication request generated by the authentication information { M, S } and the client identifier to the server, so that the server performs security verification on the binding relationship between the client and the catering cabinet. And under the condition that the server passes authentication verification, updating the delivery state prompt information, and prompting that the catering cabinet finishes delivery in the client.
It should be noted that, in order to ensure the accuracy and safety of the distribution, the following steps may be included, but not limited to: determining whether the current position of the food preparation cabinet is consistent with a distribution address in the order by using the positioning information of the client; and in the case of determining consistency, determining that the distribution cabinet carrying the food materials indicated in the order is completed.
According to the embodiment provided by the application, the delivery bearing device acquires the combination of the first authentication field and the second authentication field to obtain the authentication information, and sends the authentication information to the first electronic equipment through the client, so that the safety verification of the binding relationship between the delivery bearing device and the client is realized, and the problems of mismatching and missing distribution are avoided. In addition, the binding relationship is utilized to be beneficial to monitoring the state of the distribution bearing device in real time, so that the distribution bearing device is prevented from being maliciously opened or damaged in the distribution process, and the safety of the distribution process is ensured.
As an optional scheme, the sending, by the delivery bearer, status information of the delivery bearer to the client includes at least one of:
1) the distribution bearing device sends the locking state information of the distribution bearing device to the client;
2) the distribution bearing device sends the environmental information in the distribution bearing device to the client according to a first preset period;
3) the distribution bearing device sends network connection state information of the distribution bearing device to the client according to a second preset period;
4) and the distribution bearing device sends the position information of the distribution bearing device to the client according to a third preset period.
Optionally, in this embodiment, the locking state information may include, but is not limited to, a locking state of the distribution carrier, such as an open state, a closed state, and the like. The environmental information in the distribution carrier may include, but is not limited to, temperature, humidity, etc. in the distribution carrier. For example, when the item to be distributed is a food material, the client logged in by using the distribution account needs to periodically interact with the distribution carrier to obtain the temperature and/or humidity of the food material in the distribution carrier. The network connection status information may include, but is not limited to: connection status of whether to connect a network, strength information of a signal of the connected network. The location information may include, but is not limited to: and distributing the position information detected by a positioning module arranged in the carrying device. Here, the positioning module may include but is not limited to: and the GPS positioning module is used for positioning the position of the distribution bearing device. The above is merely an example, and this is not limited in this embodiment.
The description is made with specific reference to the following examples. Assuming that a scenario in which the client logs in by using the delivery account is taken as an example, the delivery carrier takes a food distribution cabinet in a scenario in which food materials are delivered as an example, the first electronic device takes a server as an example, and the article state information takes the temperature of the article to be delivered as an example for description:
the courier can send a state reading request to the catering cabinet periodically through the client of the handheld terminal device so as to read the temperature in the catering cabinet. For example, the client communicates with the catering cabinet once every 1 minute to read temperature information within the catering cabinet. Further, the position information of the client and the temperature information acquired from the catering cabinet can be sent to the server together every 5 minutes.
In addition, the client can also regularly acquire the position information of the handheld terminal device of the courier. If the position information is not received within a certain period, a reminding page is popped out from the client, a courier is prompted to start a GPS positioning function in the handheld terminal equipment, otherwise, the client cannot be used normally.
Further, the client can confirm the Bluetooth communication state of the handheld terminal device and the catering cabinet. If the Bluetooth signal intensity is lower within a certain period, a reminding page is popped out from the client to prompt a courier to open the Bluetooth function in the handheld terminal equipment, so that the communication between the handheld terminal equipment and the catering cabinet is recovered, and otherwise, the client cannot be normally used. If the courier leaves the catering cabinet and the Bluetooth signal is lost, the warning information can be displayed in the client.
Through the embodiment provided by the application, the distribution bearing device can perform data interaction with the client according to the preset period, so that the real-time monitoring on the state of the distribution bearing device is realized, and the safety of the distribution process is ensured.
According to another aspect of the embodiments of the present invention, there is provided an article distribution method, optionally applied to a client as an optional implementation manner, as shown in fig. 3, the article distribution method includes:
s302, sending a connection establishment request to a distribution bearing device through a communication network, wherein the distribution bearing device is used for carrying articles to be distributed;
s304, receiving authentication information for verifying the delivery carrying device through the communication link under the condition of establishing the communication link with the delivery carrying device;
s306, sending an authentication request matched with the distribution bearing device to the first electronic equipment by using the authentication information;
s308, under the condition that the authentication request of the first electronic equipment is confirmed to pass the authentication verification, establishing a binding relationship with the distribution bearing device, and receiving the state information of the distribution bearing device sent by the distribution bearing device.
Optionally, in this embodiment, the article distribution method may be applied to, but not limited to, article purchasing, article delivering, food delivering, and the like. The client may include, but is not limited to, a client that logs in using a delivery account and a client that logs in using a subscription account. For different accounts, the corresponding delivery status prompt information will also be different, and may include but is not limited to: confirming that the article is in a successful dispensing state, and confirming that the article is in a completed delivery state. In addition, in this embodiment, the delivery carrying device for data interaction with the client may include, but is not limited to, a delivery box, a delivery cabinet, a delivery box, etc. for carrying the articles to be delivered. The distribution carrier may include, but is not limited to, a communication module, a condition monitoring module. The communication module may be, but is not limited to, used to establish a communication link with the client and perform data interaction through the communication link. Further, the communication module may include, but is not limited to, at least one of: wireless communication module, wired communication module. The wireless communication module may include, but is not limited to: bluetooth and WiFi; the wired communication module may include, but is not limited to: wide area networks, metropolitan area networks, and local area networks. The status monitoring module may be, but is not limited to, configured to monitor at least one of the following status information: lock state information of the distribution carrier, environment information in the distribution carrier, network connection state information of the distribution carrier, and position information of the distribution carrier. Further, the data interacted between the delivery bearer and the client may include, but is not limited to: authentication information of the delivery carrying device and state information of the delivery carrying device. The above is merely an example, and this is not limited in this embodiment.
It should be noted that, in the case where a communication link is established between the client and the distribution bearer after the client sends a connection establishment request to the distribution bearer through the communication network, the client may receive authentication information for verifying the distribution bearer through the communication link. Then, the client may send an authentication request matching with the delivery bearer to the first electronic device by using the authentication information, and under the condition that it is determined that the authentication request of the first electronic device passes authentication verification, it is determined to establish a binding relationship between the client and the delivery bearer, and receive status information of the delivery bearer sent by the delivery bearer to display delivery status prompt information corresponding to the binding relationship. That is to say, the client performs data interaction with the delivery carrying device through the communication link established based on the communication network to acquire the authentication information and the state information of the delivery carrying device, so as to realize security verification of the binding relationship between the delivery carrying device and the client, and also realize real-time monitoring of the delivery carrying device, so as to avoid the condition that the delivery carrying device is damaged or maliciously destroyed, further achieve the effect of improving the security of article delivery, and overcome the problem of low security of article delivery in the related art.
Optionally, in this embodiment, the first electronic device may be, but not limited to, a hardware device having a function of remotely receiving the authentication information and verifying the authentication information, such as a server with high computing processing capability.
Optionally, in this embodiment, the client may interact with the delivery bearer according to a predetermined cycle to obtain at least one of the following information: lock status information of the distribution carrier, environment information in the distribution carrier, network connection status information of the distribution carrier, and location information of the distribution carrier.
The locking state information may include, but is not limited to, a locking state of the distribution carrier, such as an open state, a closed state, and the like. The environmental information in the distribution carrier may include, but is not limited to, temperature, humidity, etc. in the distribution carrier. For example, when the item to be distributed is a food material, the client logged in by using the distribution account needs to periodically interact with the distribution carrier to obtain the temperature and/or humidity of the food material in the distribution carrier. The network connection status information may include, but is not limited to: connection state of whether to connect a network, strength information of a signal of the connected network. The location information may include, but is not limited to: and distributing the position information detected by a positioning module arranged in the carrying device. Here, the positioning module may include, but is not limited to: and the GPS positioning module is used for positioning the position of the distribution bearing device. The above is merely an example, and this is not limited in this embodiment.
In addition, in this embodiment, when the client has a short-time network failure, the client may, but is not limited to, temporarily store the data interacted with the delivery bearer locally, and after the network is recovered, send the data to the first electronic device, such as the server, in a synchronous manner.
Further, in this embodiment, but not limited to, when at least one of the following abnormal situations occurs, the first electronic device may be notified to handle the abnormal situation: 1) the client is closed; 2) the communication network networking function is turned off; 3) the GPS positioning function is turned off. And when the duration of the abnormal condition exceeds a preset time period, locally storing the abnormal information, and trying to inform the first electronic equipment through a communication client of the terminal equipment where the client is located, such as short messages, telephones, mails and the like.
Optionally, in this embodiment, the client may, but is not limited to, send a status reading request to the delivery carrier periodically to read the status information of the articles in the delivery carrier. For example, the client communicates with the distribution carrier every 1 minute to read temperature information within the distribution carrier. Further, the GPS positioning position of the client itself and the temperature information acquired from the distribution carrier may be transmitted to the server at intervals of 5 minutes.
Optionally, in this embodiment, the client may also obtain location information of the terminal device at regular intervals. If the position information is not received within a certain period, a reminding page is popped out from the client, and the GPS positioning function in the terminal equipment is prompted to be started, otherwise, the client cannot be used normally.
In addition, the client can also confirm the network connection state of the terminal equipment and the distribution bearing device, taking the bluetooth communication state as an example, when the bluetooth signal strength is low within a certain period, a reminding page is popped out from the client to prompt the opening of the bluetooth function in the terminal equipment, so that the communication with the distribution bearing device is recovered, otherwise, the client cannot be used normally.
Optionally, in this embodiment, after the binding relationship between the client and the server is established, the client displays delivery status prompt information corresponding to the binding relationship, where the delivery status prompt information includes: confirming that the article is in a successful dispensing state, and confirming that the article is in a completed delivery state.
It should be noted that the delivery status prompt information is determined according to the account attribute of the account logged in the client. Wherein the account attribute comprises: a delivery account and an order account. If the client is determined to be the client logged in by using the delivery account, after the binding relationship is established, the state of the article is displayed in the client and updated to the successful distribution state. For example, the client registered by the courier hand-held terminal device displays the status that the delivery carrier is "successfully picked up". And in the case that the client is determined to be the client logged in by using the order account, after the binding relationship is established, the state of the article is displayed in the client and updated to the delivery completion state. For example, the client registered in the terminal device is displayed with the delivery bearer in a "delivery completed" state. Here, the client registered in the hand-held terminal device of the courier may display a status that the delivery bearer is "delivery completed".
Through the embodiment provided by the application, the client side performs data interaction with the distribution bearing device through the communication link established based on the communication network to acquire the authentication information and the state information of the distribution bearing device, so that the binding relation between the distribution bearing device and the client side is safely verified, the distribution bearing device in the distribution process can be monitored in real time, the condition that the distribution bearing device is damaged or maliciously destroyed is avoided, and the effect of improving the safety of goods distribution is achieved.
As an optional scheme, sending an authentication request matched with the delivery bearer to the first electronic device by using the authentication information includes:
s1, generating an authentication request by using the client identification information and the authentication information;
and S2, sending the authentication request to the first electronic equipment.
Optionally, in this embodiment, the client identifier may include, but is not limited to, an identification identifier of the client. The above is merely an example, and this is not limited in this embodiment.
For example, in the case that it is determined that the client is a client logged in by using a delivery account, the authentication request is used to perform security verification on the binding relationship between the delivery account and the delivery carrier, so as to ensure that the delivery carrier is accurately taken away by a courier using the delivery account.
For another example, in the case that it is determined that the client is a client logged in by using the subscription account, the authentication request is used to perform security verification on the binding relationship between the subscription account and the delivery carrier device, so as to ensure that the delivery carrier device is accurately acquired by the user using the subscription account.
According to the embodiment provided by the application, the client generates the authentication request by using the client identification information and the authentication information, and sends the authentication request to the first electronic device. Therefore, the binding relationship between the client and the delivery bearing device is verified safely, and the safety and the accuracy of the delivery process are ensured.
As an optional scheme, after the binding relationship with the distribution bearer is to be established, the method further includes:
1) displaying the distribution state prompt information of the distribution bearing device corresponding to the binding relationship in the client; or
2) Displaying that the goods are in a successful distribution state under the condition that the client logs in by using the delivery account; or;
3) and displaying that the goods are in a delivery completion state when the client logs in by using the order account.
The description is made with specific reference to the following examples. Assuming that a scenario in which the client logs in using the delivery account is taken as an example, the delivery bearer takes a food matching cabinet in a scenario of delivering food materials as an example, an identifier of the delivery bearer takes a food matching cabinet number as an example, the first electronic device takes a server as an example, and the first verification value generated by the first dynamic generator takes a dynamic random number as an example:
after the courier arrives at the storage position of the food distribution cabinet according to the order, the courier can send a Bluetooth connection request to the food distribution cabinet through the client side of the handheld terminal device, and after the Bluetooth connection request is communicated with the corresponding food distribution cabinet, the food distribution cabinet combines the self identity identification information (namely the food distribution cabinet number) M1 of the food distribution cabinet and the dynamic random number M2 to obtain a first authentication field M. And then, the catering cabinet performs HASH processing on the first authentication field M through a HASH function to generate summary information H, and encrypts the summary information H by using a private key distributed by the server to obtain a digital signature as a second authentication field S. The catering cabinet may then send the first authentication field M and the second authentication field S as authentication information { M, S } to the client logged in using the delivery account via the established communication link.
Further, the client logged in by using the delivery account sends an authentication request generated by using the authentication information { M, S } and the client identifier to the server, so that the server performs security verification on the binding relationship between the client and the catering cabinet. And under the condition that the server passes authentication verification, updating delivery state prompt information, and prompting that the catering cabinet is successfully picked up by a courier of the client logged in by using the delivery account in the client.
The description is made with specific reference to the following examples. Assuming that a scenario in which the client logs in using the subscription account is taken as an example, the delivery bearer takes a meal matching cabinet in a scenario of delivering food materials as an example, the first electronic device takes a server as an example, an identifier of the delivery bearer takes a meal matching cabinet number as an example, and the first verification value generated by the first dynamic generator takes a dynamic random number as an example:
after the food distribution cabinet is delivered to the ordering user according to the order, the ordering user can send a Bluetooth connection request to the food distribution cabinet through a client side of the handheld terminal device, and after the Bluetooth connection request is communicated with the corresponding food distribution cabinet, the food distribution cabinet combines the self-identity identification information (namely the number of the food distribution cabinet) M1 of the food distribution cabinet and the dynamic random number M2 to obtain a first authentication field M. And then, the catering cabinet performs HASH processing on the first authentication field M through a HASH function to generate summary information H, and encrypts the summary information H by using a private key distributed by the server to obtain a digital signature serving as a second authentication field S. The catering cabinet may then send the first authentication field M and the second authentication field S as authentication information { M, S } to the client logged in using the subscription account over the established communication link.
Further, the client logged in by the order account sends an authentication request generated by the authentication information { M, S } and the client identifier to the server, so that the server performs security verification on the binding relationship between the client and the catering cabinet. And under the condition that the server passes authentication verification, updating the delivery state prompt information, and prompting that the catering cabinet finishes delivery in the client.
Through the embodiment provided by the application, the binding relationship between the delivery bearing device and the client can accurately display the delivery state prompt information corresponding to the binding relationship after being authenticated and verified by the first electronic equipment, so that the problems of mismatching and missing distribution are avoided. In addition, the binding relationship is utilized to be beneficial to monitoring the state of the distribution bearing device in real time, so that the distribution bearing device is prevented from being maliciously opened or damaged in the distribution process, and the safety of the distribution process is ensured.
As an optional scheme, before displaying that the article is in the complete delivery state, the method further comprises the following steps:
s1, reporting the current position information of the terminal where the client is located to the first electronic equipment, so that the first electronic equipment determines whether the current position indicated by the current position information is consistent with the distribution address of the article;
s2, receiving response information returned by the first electronic equipment;
and S3, displaying that the goods are in the delivery completion state when the response information indicates that the current position is consistent with the delivery address.
Optionally, in this embodiment, but not limited to: marking the current position of the distribution bearing device by using the current position information of the terminal where the client is positioned, and judging whether the position is consistent with a distribution address in the order; therefore, under the condition that the order and the delivery carrier are consistent, the delivery carrier carrying the goods indicated in the order is determined to be delivered completely.
According to the embodiment provided by the application, the current position information is reported to the first electronic equipment at the client side, and then if the first electronic equipment determines that the current position indicated by the current position information is consistent with the delivery address of the article, the article is displayed in the client side in the delivery completion state. Thereby ensuring the accuracy of the displayed information.
As an optional scheme, the received status information of the distribution bearer sent by the distribution bearer includes at least one of the following:
1) receiving the locking state information of the distribution bearing device;
2) receiving environment information in a distribution bearing device sent according to a first preset period;
3) receiving network connection state information of the distribution bearing device sent according to a second preset period;
4) and receiving the position information of the distribution bearing device sent according to a third preset period.
Optionally, in this embodiment, the locking state information may include, but is not limited to, a locking state of the distribution carrier, such as an open state, a closed state, and the like. The environmental information in the distribution carrier may include, but is not limited to, temperature, humidity, etc. in the distribution carrier. For example, when the item to be distributed is a food material, the client logged in by using the distribution account needs to periodically interact with the distribution carrier to obtain the temperature and/or humidity of the food material in the distribution carrier. The network connection status information may include, but is not limited to: connection status of whether to connect a network, strength information of a signal of the connected network. The location information may include, but is not limited to: and distributing the position information detected by a positioning module arranged in the carrying device. Here, the positioning module may include but is not limited to: and the GPS positioning module is used for positioning the position of the distribution bearing device. The above is merely an example, and this is not limited in this embodiment.
The description is made with specific reference to the following examples. Assuming that a scenario in which the client logs in by using the delivery account is taken as an example, the delivery carrier takes a food distribution cabinet in a scenario in which food materials are delivered as an example, the first electronic device takes a server as an example, and the article state information takes the temperature of the article to be delivered as an example for description:
the courier can send a state reading request to the catering cabinet periodically through the client of the handheld terminal device so as to read the temperature in the catering cabinet. For example, the client communicates with the catering cabinet once every 1 minute to read temperature information within the catering cabinet. Further, the position information of the client and the temperature information acquired from the catering cabinet can be sent to the server together every 5 minutes.
In addition, the client can also regularly acquire the position information of the handheld terminal device of the courier. If the position information is not received within a certain period, a reminding page is popped out from the client, a courier is prompted to start a GPS positioning function in the handheld terminal equipment, otherwise, the client cannot be used normally.
Further, the client can confirm the Bluetooth communication state of the handheld terminal device and the catering cabinet. If the Bluetooth signal intensity is lower within a certain period, a reminding page is popped out from the client to prompt a courier to open the Bluetooth function in the handheld terminal equipment, so that the communication between the handheld terminal equipment and the catering cabinet is recovered, and otherwise, the client cannot be normally used. If the courier leaves the catering cabinet and the Bluetooth signal is lost, the warning information can be displayed in the client.
Through the embodiment provided by the application, the distribution bearing device can perform data interaction with the client according to the preset period, so that the state of the distribution bearing device is monitored in real time, and the safety of the distribution process is ensured.
According to another aspect of the embodiments of the present invention, there is provided an article distribution method, optionally applied to a first electronic device as an optional implementation manner, as shown in fig. 4, the article distribution method includes:
s402, acquiring an authentication request sent by a client, wherein the authentication request is a request generated by the client by using authentication information sent by a distribution bearing device, and the distribution bearing device is used for carrying an article to be distributed;
s404, responding to the authentication request, and verifying the binding relationship between the distribution bearing device and the client;
s406, sending delivery prompt information to the client under the condition that the authentication is confirmed to pass, wherein the delivery prompt information is used for prompting the client to establish a binding relationship with the delivery bearing device, and displaying delivery state prompt information corresponding to the binding relationship in the client.
Optionally, in this embodiment, the article distribution method may be applied to, but not limited to, article purchasing, article delivering, food delivering, and the like. The client may include, but is not limited to, a client that logs in using a delivery account and a client that logs in using a subscription account. For different accounts, the corresponding delivery status prompt information will also be different, and may include but is not limited to: confirming that the article is in a successful dispensing state, and confirming that the article is in a completed delivery state. In addition, in the present embodiment, the delivery carrier device performing data interaction with the client may include, but is not limited to, a delivery box, a delivery cabinet, a delivery box, and the like for carrying the items to be delivered. The distribution carrier may include, but is not limited to, a communication module, a condition monitoring module. The communication module may be, but is not limited to, used to establish a communication link with the client and perform data interaction through the communication link. Further, the communication module may include, but is not limited to, at least one of: wireless communication module, wired communication module. The wireless communication module may include, but is not limited to: bluetooth and WiFi; the wired communication module may include, but is not limited to: wide area networks, metropolitan area networks, and local area networks. The status monitoring module may be, but is not limited to, configured to monitor at least one of the following status information: lock state information of the distribution carrier, environment information in the distribution carrier, network connection state information of the distribution carrier, and position information of the distribution carrier. Further, the data interacted between the delivery bearer and the client may include, but is not limited to: authentication information of the delivery carrying device and state information of the delivery carrying device. The above is merely an example, and this is not limited in this embodiment.
It should be noted that, after the first electronic device obtains the authentication request sent by the client, the authentication request is a request generated by the client using the authentication information sent by the delivery bearer; responding to the authentication request, and verifying the binding relationship between the distribution bearing device and the client by the first electronic equipment; and sending delivery prompt information to the client under the condition of passing authentication verification so as to prompt the client to establish a binding relationship with the delivery bearing device and display delivery state prompt information corresponding to the binding relationship in the client. That is to say, the delivery carrying device performs data interaction with the client through a communication link established based on a communication network, and sends authentication information of the delivery carrying device to the first electronic device through the client, so that the security verification of the binding relationship between the delivery carrying device and the client is realized, and the delivery carrying device in the delivery process can be monitored in real time, so that the condition that the delivery carrying device is damaged or maliciously destroyed is avoided, the effect of improving the security of article delivery is achieved, and the problem of low article delivery security in the related art is solved.
Optionally, in this embodiment, the first electronic device may, but is not limited to, synchronize data acquired from a client to a background, a client in a terminal device held by a courier, a client in a terminal device held by a user, and the like, so as to achieve a purpose of synchronizing information in real time. The first electronic device may be, but not limited to, a hardware device, such as a server with high computing processing capability, having a function of remotely receiving and verifying the authentication information.
Optionally, in this embodiment, the verifying, by the first electronic device, the binding relationship between the delivery bearer and the client may include but is not limited to: and acquiring a first authentication field and a second authentication field carried in the authentication information, and authenticating and verifying the first authentication field and the second authentication field.
The description will be made with reference to fig. 5. The article distribution method is applied to an article distribution system, and the system comprises the following steps: a distribution carrier 502, a client 504, and a first electronic device 506. As step S502, the client 504 sends a connection establishment request to the distribution bearer 502 through the wireless communication network, and the distribution bearer 504 establishes a communication link with the client 504 in response to the connection establishment request, and sends authentication information to the client 204 based on the communication link as step S504. After the client 504 generates an authentication request matching the delivery bearer using its own id information and the received authentication information, the authentication request is sent to the first electronic device 506, in step S506. In response to the authentication request, the first electronic device 506 executes step S508 to verify the binding relationship between the distribution bearer and the client. In the case that the first electronic device 506 passes the authentication verification, it is determined that a binding relationship is established between the delivery bearer 502 and the client 504, and the delivery status prompt message is sent to the client 504, as in step S510.
Through the embodiment provided by the application, the delivery bearing device performs data interaction with the client through the communication link established based on the communication network, and sends the authentication information of the delivery bearing device to the first electronic equipment through the client, thereby realizing the safety verification of the binding relationship between the delivery bearing device and the client, and also realizing the real-time monitoring of the delivery bearing device in the delivery process, so as to avoid the condition that the delivery bearing device is damaged or maliciously destroyed, further achieving the effect of improving the safety of article delivery, and overcoming the problem of lower safety of article delivery existing in the related technology.
As an optional scheme, verifying a binding relationship between a delivery bearer and a client includes:
s1, parsing the authentication request to obtain a first authentication field and a second authentication field carried in the authentication information, wherein the first authentication field is obtained by combining the dynamically generated first verification value with the identifier of the distribution bearer by the distribution bearer, and the second authentication field is obtained by encrypting the first authentication field by the distribution bearer using the pre-stored key information allocated to the distribution bearer;
s2, generating a second verification value by using a second dynamic generator, wherein the second dynamic generator is synchronous with a first dynamic generator used for generating the first verification value in the distribution bearing device;
s3, comparing the first verification value with the second verification value;
and S4, determining that the first verification value is consistent with the second verification value, wherein the verification is used for indicating that the binding relationship between the distribution bearing device and the client is established.
Optionally, in this embodiment, in step S1, after the first electronic device parses the authentication request, the method further includes:
s1-1, performing hash processing by using the analyzed first authentication field to generate reference summary information H;
s1-2, decrypting the second authentication field by using the key information distributed for the distribution bearing device to obtain target abstract information H, wherein the target abstract information H is the abstract information generated by the distribution bearing device performing hash processing on the first authentication field;
s1-3, comparing the reference summary information H with the target summary information H;
and S1-4, determining the authentication information in the authentication request to send H for the distribution carrying device under the condition that the reference summary information H is compared to be consistent with the target summary information H.
The description is made with specific reference to the following examples. Assuming that a scenario in which the client logs in using the delivery account is taken as an example, the delivery carrier takes a food matching cabinet in a scenario of delivering food materials as an example, an identifier of the delivery carrier takes a food matching cabinet number as an example, the first electronic device takes a server as an example, and the first verification value generated by the first dynamic generator and the second verification value generated by the second dynamic generator both take a dynamic random number as an example for explanation:
after the courier arrives at the storage position of the food preparation cabinet according to the order, the courier can send a Bluetooth connection request to the food preparation cabinet through the client side of the handheld terminal device, and after the courier is communicated with the corresponding food preparation cabinet through Bluetooth, the food preparation cabinet combines the self identity identification information (namely the number of the food preparation cabinet) M1 of the food preparation cabinet and a first verification value (dynamic random number) M2 to obtain a first authentication field M. And then, the catering cabinet performs HASH processing on the first authentication field M through a HASH function to generate summary information H, and encrypts the summary information H by using a private key distributed by the server to obtain a digital signature as a second authentication field S. The catering cabinet may then send the first authentication field M and the second authentication field S as authentication information { M, S } to the client logged in using the delivery account via the established communication link.
Further, the client logged in using the delivery account sends an authentication request generated using the authentication information { M, S } and the client id to the server. The server analyzes the authentication request to obtain a first authentication field M and a second authentication field S carried in the authentication information, and extracts a first verification value (dynamic random number) M2 in the information M according to a random number storage rule in M. The server generates a second verification value (dynamic random number) M3 by using a second dynamic generator, then compares M2 with M3, and determines that the binding relationship between the distribution bearer and the client is established if the two are determined to be consistent. Further, after the fact that the binding relationship between the delivery bearing device and the client is established is determined, if the client logs in through the delivery account, the fact that the order is successfully distributed is prompted, and a 'successful goods taking' state is displayed; if the client is the client logged in by the order account, the order is prompted to complete delivery, namely, a delivery completion state is displayed.
In addition, the server also carries out HASH function processing on the first authentication field M to obtain reference summary information H, and decrypts the second authentication field S by using the public key to obtain target summary information H. And H are compared, and under the condition that the H and H are consistent, the authentication information is determined to be sent by the catering cabinet.
Further, but not limited to: marking the current position of the distribution bearing device by using the current position information of the terminal where the client is positioned, and judging whether the position is consistent with a distribution address in the order; therefore, under the condition that the order and the delivery carrier are consistent, the delivery carrier carrying the goods indicated in the order is determined to be delivered completely.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to yet another aspect of the embodiments of the present invention, there is provided an article distribution system, optionally as an alternative embodiment, as shown in fig. 4, the article distribution system including: the method comprises the steps that a client sends a login request to first electronic equipment, wherein the login request is used for requesting to login an application by using a target account; when the login request meets the login condition, the first electronic device returns login response information to the client, wherein the login response information comprises: user identification and login success indication information are generated for the client; under the condition that the client is positioned in the communication range of the distribution bearing device, the client sends a connection establishment request to the distribution bearing device; the distribution bearing device responds to the connection establishment request and establishes a communication link with the client; the distribution bearing device sends authentication information used for verification to the client through a communication link; the method comprises the steps that a client sends an authentication request matched with a distribution bearing device to first electronic equipment, wherein the authentication request carries user identification of the client and authentication information of the distribution bearing device; the first electronic equipment responds to the authentication request, carries out authentication verification on the authentication request and establishes a binding relationship between the delivery bearing device and the client under the condition that the first electronic equipment confirms that the authentication verification is passed; after the delivery bearing device and the client successfully establish the binding relationship, the delivery bearing device sends the state information of the delivery bearing device to the client.
Optionally, in this embodiment, after the establishing the binding relationship between the delivery bearer and the client, the method further includes: under the condition that the target account used by the client is a delivery account, displaying that the goods to be delivered in the delivery bearing device are in a successful distribution state in the client; or, in the case that the target account used by the client is an order account, displaying that the goods to be delivered in the delivery carrying device are in a delivery completion state in the client.
Optionally, in this embodiment, the sending, by the delivery bearer, the status information of the delivery bearer to the client includes at least one of:
1) the distribution bearing device sends the locking state information of the distribution bearing device to the client;
2) the distribution bearing device sends environment information in the distribution bearing device to the client according to a first preset period;
3) the distribution bearing device sends network connection state information of the distribution bearing device to the client according to a second preset period;
4) and the distribution bearing device sends the position information of the distribution bearing device to the client according to a third preset period.
It should be noted that the article distribution system in this embodiment may be, but is not limited to, used for implementing the steps in any one of the above method embodiments to be performed in the above article distribution method. The details of this embodiment are not repeated herein.
According to another aspect of the embodiment of the invention, an article dispensing device for implementing the article dispensing method is further provided, and the article dispensing device is located in the dispensing carrier device. As shown in fig. 6, the apparatus includes:
1) a receiving unit 602, configured to receive a connection establishment request sent by a client, where a delivery bearer is used to carry an article to be delivered;
2) an establishing unit 604, configured to respond to the connection establishment request, establish a communication link with the client, and generate authentication information for verifying the delivery bearer;
3) a first sending unit 606, configured to send the authentication information to the client through a communication link, so that the client sends an authentication request matching the delivery bearer to the first electronic device by using the authentication information;
4) a second sending unit 608, configured to establish a binding relationship with the client and send status information of the distribution bearer to the client when it is determined that the authentication request of the first electronic device passes the authentication verification.
It should be noted that the article dispensing device in this embodiment may be, but is not limited to, used for implementing the steps in any of the above method embodiments executed by the dispensing carrier side. This embodiment is not described herein.
According to another aspect of the embodiments of the present invention, there is also provided an article dispensing device for implementing the article dispensing method, located in a client, as shown in fig. 7, including:
1) a first sending unit 702, configured to send a connection establishment request to a distribution bearer through a communication network, where the distribution bearer is used to carry an article to be distributed;
2) a receiving unit 704, configured to receive authentication information for verifying the delivery bearer through a communication link in a case where the communication link is established with the delivery bearer;
3) a second sending unit 706, configured to send, to the first electronic device, an authentication request matching with the distribution bearer by using the authentication information;
4) the display unit 708 is configured to establish a binding relationship with the distribution bearer and display distribution status prompt information and/or status information of the distribution bearer corresponding to the binding relationship when it is determined that the first electronic device passes the authentication verification.
It should be noted that the article dispensing device in this embodiment may be, but is not limited to, used for implementing the steps in any of the above method embodiments executed on the client side. This embodiment is not described herein.
According to another aspect of the embodiments of the present invention, there is also provided an article dispensing apparatus for implementing the above article dispensing method, located in a first electronic device, as shown in fig. 8, the apparatus including:
1) an obtaining unit 802, configured to obtain an authentication request sent by a client, where the authentication request is a request generated by the client using authentication information sent by a distribution carrying device, and the distribution carrying device is used to carry an article to be distributed;
2) a verification unit 804, configured to respond to the authentication request and verify a binding relationship between the distribution bearer and the client;
3) a sending unit 806, configured to send, to the client, delivery prompt information when it is determined that the authentication is verified, where the delivery prompt information is used to prompt the client to establish a binding relationship with a delivery bearer, and display, in the client, delivery status prompt information corresponding to the binding relationship.
It should be noted that the article dispensing device in this embodiment may be, but is not limited to, used for implementing the steps in any one of the above method embodiments executed on the first electronic device side. This embodiment is not described herein.
There is also provided, in accordance with yet another aspect of an embodiment of the present invention, a dispenser carrier, as shown in fig. 9, including:
1) a communication module 902, configured to receive a connection establishment request sent by a client, where the distribution bearer is used to carry an object to be distributed;
2) a status monitoring module 904, configured to send article status information of the article to the client according to a predetermined period, and/or send network connection status information of the delivery bearer;
3) and the processor 906 is connected with the communication module and the state monitoring module, and is configured to establish a communication link with the client, generate authentication information for verifying the delivery bearer, and send the authentication information to the client through the communication link.
It should be noted that the delivery carriage in this embodiment may be, but is not limited to, used for implementing the steps in any of the above method embodiments executed on the delivery carriage side. This embodiment is not described herein.
According to a further aspect of embodiments of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, the distribution bearing device receives a connection establishment request sent by the client, wherein the distribution bearing device is used for carrying the articles to be distributed;
s2, responding to the connection establishment request, the distribution bearing device establishes a communication link with the client and generates authentication information for verifying the distribution bearing device;
s3, the delivery carrying device sends the authentication information to the client through the communication link, so that the client sends an authentication request matched with the delivery carrying device to the first electronic equipment by using the authentication information;
and S4, if the first electronic device is determined to pass the authentication verification of the authentication request, the distribution carrying device establishes a binding relationship with the client, and sends the state information of the distribution carrying device to the client.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, sending a connection establishment request to a distribution carrying device through a communication network, wherein the distribution carrying device is used for carrying the articles to be distributed;
s2, receiving authentication information for verifying the delivery bearer through the communication link in case of establishing the communication link with the delivery bearer;
s3, sending an authentication request matched with the distribution bearing device to the first electronic equipment by using the authentication information;
and S4, establishing a binding relation with the distribution carrying device and receiving the state information of the distribution carrying device sent by the distribution carrying device under the condition that the first electronic equipment is determined to pass the authentication verification of the authentication request.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring an authentication request sent by the client, wherein the authentication request is a request generated by the client by using authentication information sent by a distribution bearing device, and the distribution bearing device is used for carrying articles to be distributed;
s2, responding the authentication request, and verifying the binding relationship between the distribution bearing device and the client;
and S3, sending delivery prompt information to the client under the condition that the authentication and verification are confirmed, wherein the delivery prompt information is used for prompting the client to establish a binding relationship with the delivery carrying device, and displaying delivery state prompt information corresponding to the binding relationship in the client.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, the client sends a login request to the first electronic device, wherein the login request is used for requesting to login the application by using the target account;
s2, when the login request satisfies the login condition, the first electronic device returns login response information to the client, where the login response information includes: user identification and login success indication information are generated for the client;
s3, when the client is located in the communication range of the distribution bearer, the client sends a connection establishment request to the distribution bearer;
s4, the distributing and carrying device responds to the connection establishment request and establishes a communication link with the client;
s5, the delivery carrying device sends the authentication information for verification to the client through the communication link;
s6, the client sends an authentication request matched with the distribution bearing device to the first electronic equipment, wherein the authentication request carries the user identification of the client and the authentication information of the distribution bearing device;
s7, the first electronic device responds to the authentication request, the first electronic device authenticates and verifies the authentication request, and the binding relationship between the delivery carrying device and the client is established under the condition that the first electronic device confirms that the authentication request passes;
and S8, after the delivery bearing device and the client successfully establish the binding relationship, the delivery bearing device sends the status information of the delivery bearing device to the client.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (20)

1. A method of dispensing an article, comprising:
the method comprises the steps that a delivery bearing device receives a connection establishment request sent by a client logged in by using a delivery account, wherein the delivery bearing device is used for carrying articles to be delivered;
responding to the connection establishment request, the distribution bearing device establishing a communication link with the client and generating authentication information for verifying the distribution bearing device;
the delivery bearing device sends the authentication information to the client through the communication link, so that the client sends an authentication request matched with the delivery bearing device to the first electronic equipment by using the authentication information;
under the condition that the first electronic equipment is determined to pass authentication verification on the authentication request, the distribution bearing device establishes a binding relationship with the client;
after the delivery bearer and the client successfully establish the binding relationship, the delivery bearer sends status information of the delivery bearer to the client according to a predetermined period, wherein the status information includes position information of the delivery bearer sent by the delivery bearer to the client according to a third predetermined period;
the client side regularly acquires the position information of the handheld terminal equipment of the courier; when the position information is not received within a certain period, a reminding page is popped up from the client to prompt the courier to open a GPS positioning function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client confirms the Bluetooth communication state of the handheld terminal equipment of the courier and the distribution bearing device; when the Bluetooth signal intensity is lower within a certain period, a reminding page is popped up from the client to prompt the courier to open the Bluetooth function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client reports the current position information of the terminal where the client is located to the first electronic equipment so that the first electronic equipment determines whether the current position indicated by the current position information is consistent with the distribution address of the article;
the client receives response information returned by the first electronic equipment; and under the condition that the response information indicates that the current position is consistent with the delivery address, the client displays that the goods are in a delivery completion state.
2. The method of claim 1, wherein before the sending the authentication information to the client over the communication link by the distribution bearer, further comprising:
the delivery carrying device combines a first verification value which is dynamically generated with an identifier of the delivery carrying device to obtain a first authentication field, wherein a first dynamic generator which is used for generating the first verification value in the delivery carrying device is kept synchronous with a second dynamic generator in the first electronic equipment;
the distribution bearing device encrypts the first authentication field by using the key information distributed to the distribution bearing device by the first electronic equipment to obtain a second authentication field;
and the distribution bearing device sends the first authentication field and the second authentication field as the authentication information to the client through the communication link.
3. The method of claim 2, wherein the step of encrypting the first authentication field by the distribution carrier using the key information allocated by the first electronic device to the distribution carrier to obtain a second authentication field comprises:
the distribution bearing device performs hash processing on the first authentication field to generate summary information;
and the distribution bearing device encrypts the digest information by using the key information to obtain a digital signature as the second authentication field.
4. The method of any of claims 1 to 3, wherein the sending of the delivery bearer status information to the client by the delivery bearer further comprises at least one of:
the distribution bearing device sends the locking state information of the distribution bearing device to the client;
the distribution bearing device sends environment information in the distribution bearing device to the client according to a first preset period;
and the distribution bearing device sends the network connection state information of the distribution bearing device to the client according to a second preset period.
5. The method according to any of claims 1 to 3, further comprising, after the delivery bearer is to establish the binding relationship with the client:
the client receives and displays delivery state prompt information of the delivery bearing device, which is sent by the first electronic device and corresponds to the binding relationship, wherein the delivery state prompt information includes: confirming that the item is in a successfully dispensed state or confirming that the item is in a completed delivery state.
6. A method of dispensing an article, comprising:
a client logged in by using a delivery account sends a connection establishment request to a delivery carrying device through a communication network, wherein the delivery carrying device is used for carrying articles to be delivered;
in the case of establishing a communication link with the delivery bearer, the client receiving authentication information for verifying the delivery bearer through the communication link;
the client side sends an authentication request matched with the distribution bearing device to the first electronic equipment by using the authentication information;
under the condition that the authentication request of the first electronic device is verified through authentication, the client establishes a binding relationship with the distribution bearing device and receives state information of the distribution bearing device, which is sent by the distribution bearing device according to a preset period, wherein the state information comprises position information of the distribution bearing device, which is sent by the distribution bearing device to the client according to a third preset period;
the client side regularly acquires the position information of the handheld terminal equipment of the courier; when the position information is not received within a certain period, a reminding page is popped up from the client to prompt the courier to open a GPS positioning function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client confirms the Bluetooth communication state of the handheld terminal equipment of the courier and the distribution bearing device; when the Bluetooth signal intensity is lower within a certain period, a reminding page is popped up from the client to prompt the courier to open the Bluetooth function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client reports the current position information of the terminal where the client is located to the first electronic equipment so that the first electronic equipment can determine whether the current position indicated by the current position information is consistent with the distribution address of the article;
the client receives response information returned by the first electronic equipment; and under the condition that the response information indicates that the current position is consistent with the delivery address, the client displays that the goods are in a delivery completion state.
7. The method as claimed in claim 6, wherein the sending an authentication request matching the distribution bearer to the first electronic device using the authentication information comprises:
generating the authentication request by using the client identification information and the authentication information;
and sending the authentication request to the first electronic equipment.
8. The method of claim 6, further comprising, after establishing the binding relationship with the distribution bearer:
displaying the distribution state prompt information of the distribution bearing device corresponding to the binding relationship in a client; or
Displaying that the goods are in a successful distribution state under the condition that the client logs in by using a delivery account; or
And displaying that the goods are in a delivery completion state under the condition that the client logs in by using the order account.
9. The method according to any one of claims 6 to 8, wherein the received status information of the distribution bearer sent by the distribution bearer according to a predetermined period further comprises at least one of:
receiving locking state information of the distribution bearing device;
receiving environment information in the distribution bearing device sent according to a first preset period;
and receiving the network connection state information of the distribution bearing device sent according to a second preset period.
10. A method of dispensing an article, comprising:
acquiring an authentication request sent by a client logged in by using a delivery account, wherein the authentication request is a request generated by the client by using authentication information sent by a delivery bearing device, and the delivery bearing device is used for carrying articles to be delivered;
responding the authentication request, and verifying the binding relationship between the delivery bearing device and the client;
under the condition that the authentication is confirmed, updating delivery state prompt information corresponding to the binding relationship, and sending delivery prompt information to the client, wherein the delivery prompt information is used for prompting the client to establish the binding relationship with the delivery bearing device;
after the delivery bearer and the client successfully establish the binding relationship, the delivery bearer sends status information of the delivery bearer to the client according to a predetermined period, wherein the status information includes position information of the delivery bearer sent by the delivery bearer to the client according to a third predetermined period;
the client side regularly acquires the position information of the handheld terminal equipment of the courier; when the position information is not received within a certain period, a reminding page is popped up from the client to prompt the courier to open a GPS positioning function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client confirms the Bluetooth communication state of the handheld terminal equipment of the courier and the distribution bearing device; when the Bluetooth signal intensity is lower within a certain period, a reminding page is popped up from the client to prompt the courier to open the Bluetooth function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client reports the current position information of the terminal where the client is located to first electronic equipment so that the first electronic equipment determines whether the current position indicated by the current position information is consistent with the distribution address of the article;
the client receives response information returned by the first electronic equipment; and under the condition that the response information indicates that the current position is consistent with the delivery address, the client displays that the goods are in a delivery completion state.
11. The method of claim 10, wherein verifying the binding relationship between the delivery bearer and the client comprises:
analyzing the authentication request to obtain a first authentication field and a second authentication field carried in the authentication information, wherein the first authentication field is obtained by combining a first verification value dynamically generated by the distribution bearing device with an identifier of the distribution bearing device, and the second authentication field is obtained by encrypting the first authentication field by the distribution bearing device by using prestored key information distributed to the distribution bearing device;
generating a second verification value by using a second dynamic generator, wherein the second dynamic generator is synchronous with a first dynamic generator used for generating the first verification value in the delivery bearing device;
comparing the first verification value with the second verification value;
and determining to pass authentication verification under the condition that the first verification value is consistent with the second verification value by comparison, wherein the passing authentication verification is used for indicating that the binding relationship between the delivery carrying device and the client is established.
12. The method of claim 11, after said parsing the authentication request, further comprising:
carrying out hash processing by utilizing the analyzed first authentication field to generate reference abstract information;
decrypting the second authentication field by using the key information distributed to the distribution bearing device to obtain target abstract information, wherein the target abstract information is the abstract information generated by carrying out hash processing on the first authentication field by the distribution bearing device;
comparing the reference abstract information with the target abstract information;
and under the condition that the reference abstract information is compared to be consistent with the target abstract information, determining that the authentication information in the authentication request is sent by the distribution bearing device.
13. An article dispensing system, comprising: client, first electronic equipment and delivery bearer, wherein,
the client is used for sending a login request to the first electronic device, wherein the login request is used for requesting to login an application by using a delivery account;
when the login request meets the login condition, the first electronic device is configured to return login response information to the client, where the login response information includes: user identification and login success indication information generated for the client;
the client is used for sending a connection establishment request to the delivery bearer under the condition that the client is located in the communication range of the delivery bearer;
the distribution bearing device is used for responding to the connection establishment request and establishing a communication link with the client;
the delivery carrying device is used for sending authentication information for verification to the client through the communication link;
the client is used for sending an authentication request matched with the distribution bearing device to the first electronic equipment, wherein the authentication request carries the user identification of the client and the authentication information of the distribution bearing device;
the first electronic equipment is used for responding to the authentication request, authenticating and verifying the authentication request by the first electronic equipment, and establishing a binding relationship between the delivery bearing device and the client under the condition that the authentication and verification are confirmed to pass by the first electronic equipment;
after the delivery bearer and the client successfully establish the binding relationship, the delivery bearer is configured to send, to the client according to a predetermined period, state information of the delivery bearer, where the state information includes position information of the delivery bearer sent by the delivery bearer to the client according to a third predetermined period;
the client is used for regularly acquiring the position information of the handheld terminal equipment of the courier; when the position information is not received within a certain period, a reminding page is popped up from the client to prompt the courier to open a GPS positioning function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client is used for confirming the Bluetooth communication state of the handheld terminal equipment of the courier and the distribution bearing device; when the Bluetooth signal intensity is lower within a certain period, a reminding page is popped up from the client to prompt the courier to open the Bluetooth function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client is used for reporting the current position information of the terminal where the client is located to the first electronic equipment so that the first electronic equipment can determine whether the current position indicated by the current position information is consistent with the distribution address of the article;
the client is used for receiving response information returned by the first electronic equipment; and the client is used for displaying that the goods are in a delivery completion state under the condition that the response information indicates that the current position is consistent with the delivery address.
14. The system of claim 13, wherein the client is further configured to display, in the client, that the items to be delivered in the delivery carrier are in a successful allocation status after establishing the binding relationship between the delivery carrier and the client.
15. The system of claim 13, wherein the distribution bearer is configured to send the status information of the distribution bearer to the client by at least one of:
the distribution bearing device sends the locking state information of the distribution bearing device to the client;
the distribution bearing device sends environment information in the distribution bearing device to the client according to a first preset period;
and the distribution bearing device sends the network connection state information of the distribution bearing device to the client according to a second preset period.
16. An article dispensing device, in a dispensing carrier, comprising:
the system comprises a receiving unit, a sending unit and a sending unit, wherein the receiving unit is used for receiving a connection establishment request sent by a client logged in by using a delivery account, and the delivery bearing device is used for carrying articles to be delivered;
the establishing unit is used for responding to the connection establishing request, establishing a communication link with the client and generating authentication information for verifying the distribution bearing device;
the first sending unit is used for sending the authentication information to the client through the communication link so that the client sends an authentication request matched with the distribution bearing device to the first electronic equipment by using the authentication information;
the second sending unit is used for establishing a binding relationship with the client under the condition that the first electronic equipment is determined to pass authentication verification on the authentication request; after the delivery bearer and the client successfully establish the binding relationship, the delivery bearer sends status information of the delivery bearer to the client according to a predetermined period, wherein the status information includes position information of the delivery bearer sent by the delivery bearer to the client according to a third predetermined period;
the client is used for regularly acquiring the position information of the handheld terminal equipment of the courier; when the position information is not received within a certain period, a reminding page is popped up from the client to prompt the courier to open a GPS positioning function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client is used for confirming the Bluetooth communication state of the handheld terminal equipment of the courier and the distribution bearing device; when the Bluetooth signal intensity is lower within a certain period, a reminding page is popped up from the client to prompt the courier to open the Bluetooth function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client is used for reporting the current position information of the terminal where the client is located to the first electronic equipment so that the first electronic equipment can determine whether the current position indicated by the current position information is consistent with the distribution address of the article;
the client is used for receiving response information returned by the first electronic equipment; and under the condition that the response information indicates that the current position is consistent with the delivery address, the client displays that the goods are in a delivery completion state.
17. An article delivery apparatus located in a client registered using a delivery account, comprising:
a first sending unit, configured to send a connection establishment request to a distribution bearer through a communication network, where the distribution bearer is used to carry an article to be distributed;
a receiving unit, configured to receive, through a communication link, authentication information for verifying the delivery bearer in a case where the communication link is established with the delivery bearer;
the second sending unit is used for sending an authentication request matched with the distribution bearing device to the first electronic equipment by using the authentication information;
the display unit is used for establishing a binding relationship with the distribution bearing device and displaying distribution state prompt information and/or state information of the distribution bearing device corresponding to the binding relationship under the condition that the first electronic equipment is determined to pass authentication verification, wherein the state information comprises position information of the distribution bearing device sent to the client by the distribution bearing device according to a third preset period;
the client is used for regularly acquiring the position information of the handheld terminal equipment of the courier; when the position information is not received within a certain period, a reminding page is popped up from the client to prompt the courier to open a GPS positioning function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client is used for confirming the Bluetooth communication state of the handheld terminal equipment of the courier and the distribution bearing device; when the Bluetooth signal intensity is lower within a certain period, a reminding page is popped up from the client to prompt the courier to open the Bluetooth function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client is used for reporting the current position information of the terminal where the client is located to the first electronic equipment so that the first electronic equipment can determine whether the current position indicated by the current position information is consistent with the distribution address of the article;
the client is used for receiving response information returned by the first electronic equipment; under the condition that the response information indicates that the current position is consistent with the delivery address, the client displays that the goods are in a delivery completion state;
a second receiving unit, configured to receive the updated delivery status prompt information;
and the second display unit is used for displaying the updated delivery state prompt information so as to remind a courier of a client side, logged in by using a delivery account, of taking goods by the delivery bearing device or that the delivery bearing device finishes delivery.
18. An article dispensing device, located in a first electronic device, comprising:
the system comprises an acquisition unit, a distribution unit and a distribution unit, wherein the acquisition unit is used for acquiring an authentication request sent by a client logged in by using a distribution account, the authentication request is a request generated by the client by using authentication information sent by a distribution bearing device, and the distribution bearing device is used for carrying articles to be distributed;
the verifying unit is used for responding to the authentication request and verifying the binding relationship between the delivery bearing device and the client;
a sending unit, configured to update delivery status prompt information corresponding to the binding relationship and send delivery prompt information to the client when authentication verification is determined to pass, where the delivery prompt information is used to prompt the client to establish the binding relationship with the delivery bearer;
after the delivery bearer and the client successfully establish the binding relationship, the delivery bearer is configured to send status information of the delivery bearer to the client according to a predetermined period, where the status information includes location information of the delivery bearer sent by the delivery bearer to the client according to a third predetermined period;
the client is used for periodically acquiring the position information of the handheld terminal equipment of the courier; when the position information is not received within a certain period, a reminding page is popped up from the client to prompt the courier to open a GPS positioning function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client is used for confirming the Bluetooth communication state of the handheld terminal equipment of the courier and the distribution bearing device; when the Bluetooth signal intensity is lower within a certain period, a reminding page is popped up from the client to prompt the courier to open the Bluetooth function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client is used for reporting the current position information of the terminal where the client is located to the first electronic equipment so that the first electronic equipment can determine whether the current position indicated by the current position information is consistent with the distribution address of the article;
the client is used for receiving response information returned by the first electronic equipment; and under the condition that the response information indicates that the current position is consistent with the delivery address, the client displays that the goods are in a delivery completion state.
19. A dispensing carrier, comprising:
the system comprises a communication module, a receiving module and a sending module, wherein the communication module is used for receiving a connection establishment request sent by a client logged in by using a delivery account, and the delivery bearing device is used for carrying articles to be delivered;
the state monitoring module is used for sending the article state information of the articles to the client side according to a preset period, and/or sending the network connection state information of the distribution bearing device;
the processor is connected with the communication module and the state monitoring module and used for establishing a communication link with the client, generating authentication information for verifying the distribution bearing device and sending the authentication information to the client through the communication link so that the client sends an authentication request matched with the distribution bearing device to the first electronic equipment by using the authentication information;
under the condition that the first electronic equipment is determined to pass authentication verification on the authentication request, the delivery carrying device is used for establishing a binding relationship with the client;
after the delivery bearer and the client successfully establish the binding relationship, the delivery bearer is configured to send status information of the delivery bearer to the client according to a predetermined period, where the status information includes location information of the delivery bearer sent by the delivery bearer to the client according to a third predetermined period;
the client is used for regularly acquiring the position information of the handheld terminal equipment of the courier; when the position information is not received within a certain period, a reminding page is popped up from the client to prompt the courier to open a GPS positioning function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client is used for confirming the Bluetooth communication state of the handheld terminal equipment of the courier and the distribution bearing device; when the Bluetooth signal intensity is lower within a certain period, a reminding page is popped up from the client to prompt the courier to open the Bluetooth function in the handheld terminal equipment, otherwise, the client cannot be used normally;
the client is used for reporting the current position information of the terminal where the client is located to the first electronic equipment so that the first electronic equipment can determine whether the current position indicated by the current position information is consistent with the distribution address of the article;
the client is used for receiving response information returned by the first electronic equipment; and under the condition that the response information indicates that the current position is consistent with the delivery address, the client displays that the goods are in a delivery completion state.
20. A storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the method of any of claims 1 to 5, 6 to 9, 10 to 12 when executed.
CN201910040141.9A 2019-01-16 2019-01-16 Article distribution method and device, distribution bearing device and storage medium Active CN109815681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910040141.9A CN109815681B (en) 2019-01-16 2019-01-16 Article distribution method and device, distribution bearing device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910040141.9A CN109815681B (en) 2019-01-16 2019-01-16 Article distribution method and device, distribution bearing device and storage medium

Publications (2)

Publication Number Publication Date
CN109815681A CN109815681A (en) 2019-05-28
CN109815681B true CN109815681B (en) 2022-08-09

Family

ID=66604368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910040141.9A Active CN109815681B (en) 2019-01-16 2019-01-16 Article distribution method and device, distribution bearing device and storage medium

Country Status (1)

Country Link
CN (1) CN109815681B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111898947B (en) * 2020-07-21 2024-09-20 北京京东振世信息技术有限公司 Method, apparatus, device and computer readable medium for monitoring object delivery tasks

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368734A (en) * 2012-03-30 2013-10-23 贾松仁 Three-party authentication method for circulation of goods
CN106705568A (en) * 2015-07-22 2017-05-24 富士电机(中国)有限公司 Distributed article storage cabinet and control system thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104129562B (en) * 2014-08-04 2017-06-06 矩众合能(天津)科技发展有限公司 Internet of Things anti-counterfeit anti-theft package bin and its application method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368734A (en) * 2012-03-30 2013-10-23 贾松仁 Three-party authentication method for circulation of goods
CN106705568A (en) * 2015-07-22 2017-05-24 富士电机(中国)有限公司 Distributed article storage cabinet and control system thereof

Also Published As

Publication number Publication date
CN109815681A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
US8931689B2 (en) Systems and methods for anti-counterfeit authentication through communication networks
CN109246053A (en) A kind of data communications method, device, equipment and storage medium
US20070174196A1 (en) System and method for verifying authenticity
CN112788042B (en) Method for determining device identifier of Internet of things and device of Internet of things
CN111163107B (en) Zigbee safety communication method and system
CN110392014A (en) Communication means and device between internet of things equipment
CN105684483A (en) Registry apparatus, agent device, application providing apparatus and corresponding methods
WO2019068893A1 (en) A system and method for authenticating a product
CN114465803B (en) Object authorization method, device, system and storage medium
CN109360008B (en) Product anti-counterfeiting authentication updating method and system
CN104125230B (en) A kind of short message certification service system and authentication method
CN109492424A (en) Data assets management method, data assets managing device and computer-readable medium
CN111164933A (en) Method for ensuring communication safety without state management
CN113709115B (en) Authentication method and device
US10050956B2 (en) System architecture and method for guaranteeing network information security
CN110505185A (en) Auth method, equipment and system
CN109522988B (en) Method and system for updating product anti-counterfeiting electronic label information
CN109815681B (en) Article distribution method and device, distribution bearing device and storage medium
CN105071939B (en) A kind of user information authentication method and system
CN110247918A (en) Number cochain method and its equipment are shaken applied to block chain
CN105959249B (en) The management method and system of electronic equipment
CN103873259A (en) Method and system for anti-fake authentication of dynamic code based on time factors
CN112633813A (en) Valuable commodity distribution management method based on block chain technology
CN110247921A (en) A kind of polled data cochain method and its equipment for applying intelligent contract
CN110263529A (en) Number cochain method and its equipment are shaken using intelligent contract

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
GR01 Patent grant
GR01 Patent grant