Delivery method, device, system, unmanned vehicle and computer readable storage medium
11620609 ยท 2023-04-04
Assignee
Inventors
Cpc classification
H04L9/3228
ELECTRICITY
H04L67/125
ELECTRICITY
H04L9/0631
ELECTRICITY
G06F21/34
PHYSICS
International classification
G06F21/34
PHYSICS
H04L9/08
ELECTRICITY
H04L9/32
ELECTRICITY
Abstract
A delivery method, device, system, unmanned vehicle, and computer-readable storage medium, relating to the field of logistics technology. The delivery method includes monitoring a state of the unmanned vehicle; verifying a verification code input by the user and received from the unmanned vehicle in response to the unmanned vehicle being not in an abnormal working state, and transmitting an unpacking instruction to the unmanned vehicle in response to successful verification.
Claims
1. A delivery method, comprising: monitoring a state of an unmanned vehicle, states of the unmanned vehicle including a normal working state and an abnormal working state, the normal working state being a working state other than the abnormal working state, and the abnormal working state including at least one of a duration when the unmanned vehicle is disconnected from a server exceeding a preset duration, the unmanned vehicle being manually controlled, the unmanned vehicle malfunctioning, the unmanned vehicle being under maintenance, and the unmanned vehicle being charged; receiving a verification code, which is input into the unmanned vehicle by a user and transmitted from the unmanned vehicle; performing a verification to the verification code in response to the unmanned vehicle being in the normal working state; and transmitting an unpacking instruction to the unmanned vehicle in response to successful verification, wherein no unpacking instruction is transmitted to the unmanned vehicle and no feedback is offered for the verification code input by the user in response to the unmanned vehicle being in the abnormal working state.
2. The delivery method of claim 1, wherein the verification code is input by the user via a verification code input interface on the unmanned vehicle.
3. The delivery method of claim 1, wherein the verification comprises: a first check for determining whether or not the verification code input by the user is consistent with a pre-generated order verification code, the pre-generated order verification code being generated by encrypting intermediate data for a preset number of times; and a second check for determining whether a result of decrypting the verification code input by the user for the preset number of times is consistent with the intermediate data.
4. The delivery method of claim 3, wherein the intermediate data comprises a primitive code, encrypted data is obtained by symmetrically encrypting the primitive code; and the second check comprises: performing substitutive decryption on the verification code input by the user to obtain first decrypted data; symmetrically decrypting the first decrypted data to obtain second decrypted data in the case where the first decrypted data is consistent with the encrypted data; and determining that the verification code input by the user passes the second check in the case where the second decrypted data is consistent with the primitive code.
5. The delivery method of claim 3, wherein the pre-generated order verification code is generated by: selecting a preset number of characters to generate a primitive code, the characters including one or more of letters, numbers, and graphic symbols; generating encrypted data according to a result of symmetrically encrypting the primitive code; and performing substitutive encryption on the encrypted data to generate the pre-generated order verification code corresponding to an order to be delivered by the unmanned vehicle.
6. The delivery method of claim 5, wherein the pre-generated order verification code is re-generated for the order to be delivered by the unmanned vehicle in the case where the pre-generated order verification code is the same with another order verification code of the unmanned vehicle.
7. The delivery method of claim 5, further comprising: storing a corresponding relation among unmanned vehicle information, order information, the primitive code, the encrypted data, and the pre-generated order verification code; deleting the corresponding relation in the case where a storage duration of the corresponding relation exceeds a preset duration.
8. The delivery method of claim 1, wherein a pre-generated order verification code is transmitted to a user corresponding to an order to be delivered by the unmanned vehicle in response to a distance between the unmanned vehicle and a destination corresponding to the order to be delivered by the unmanned vehicle meeting a preset condition.
9. A non-transitory computer readable storage medium storing a computer program that, when executed by a processor, implements the delivery method of claim 1.
10. A delivery device, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute instructions for performing a delivery method comprising: monitoring a state of an unmanned vehicle, states of the unmanned vehicle including a normal working state and an abnormal working state, the normal working state being a working state other than the abnormal working state, and the abnormal working state including at least one of a duration when the unmanned vehicle is disconnected from a server exceeding a preset duration, the unmanned vehicle being manually controlled, the unmanned vehicle malfunctioning, the unmanned vehicle being under maintenance, and the unmanned vehicle being charged; receiving a verification code, which is input into the unmanned vehicle by a user and transmitted from the unmanned vehicle; performing a verification to the verification code in response to the unmanned vehicle being in the normal working state; and transmitting an unpacking instruction to the unmanned vehicle in response to successful verification, wherein no unpacking instruction is transmitted to the unmanned vehicle and no feedback is offered for the verification code input by the user in response to the unmanned vehicle being in the abnormal working state.
11. The delivery device according to claim 10, wherein the verification code is input by the user via a verification code input interface on the unmanned vehicle.
12. The delivery device according to claim 10, wherein the verification comprises: a first check for determining whether or not the verification code input by the user is consistent with a pre-generated order verification code, the pre-generated order verification code being generated by encrypting intermediate data for a preset number of times; and a second check for determining whether a result of decrypting the verification code input by the user for the preset number of times is consistent with the intermediate data.
13. The delivery device according to claim 12, wherein the intermediate data comprises a primitive code, encrypted data is obtained by symmetrically encrypting the primitive code; and the second check comprises: performing substitutive decryption on the verification code input by the user to obtain first decrypted data; symmetrically decrypting the first decrypted data to obtain second decrypted data in the case where the first decrypted data is consistent with the encrypted data; and determining that the verification code input by the user passes the second check in the case where the second decrypted data is consistent with the primitive code.
14. The delivery device according to claim 12, wherein the pre-generated order verification code is generated by: selecting a preset number of characters to generate a primitive code, the characters including one or more of letters, numbers, and graphic symbols; generating encrypted data according to a result of symmetrically encrypting the primitive code; and performing substitutive encryption on the encrypted data to generate the pre-generated order verification code corresponding to an order to be delivered by the unmanned vehicle.
15. The delivery device according to claim 14, wherein the pre-generated order verification code is re-generated for the order to be delivered by the unmanned vehicle in the case where the pre-generated order verification code is the same with another order verification code of the unmanned vehicle.
16. The delivery device according to claim 14, wherein the instructions further comprise: storing a corresponding relation among unmanned vehicle information, order information, the primitive code, the encrypted data, and the pre-generated order verification code; and deleting the corresponding relation in the case where a storage duration of the corresponding relation exceeds a preset duration.
17. The delivery device according to claim 10, wherein a pre-generated order verification code is transmitted to a user corresponding to an order to be delivered by the unmanned vehicle in response to a distance between the unmanned vehicle and a destination corresponding to the order to be delivered by the unmanned vehicle meeting a preset condition.
18. An unmanned vehicle, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute instructions for perform a delivery method comprising: transmitting a current state to a delivery device, states of the unmanned vehicle including a normal working state and an abnormal working state, the normal working state being a working state other than the abnormal working state, and the abnormal working state including at least one of a duration when the unmanned vehicle is disconnected from a server exceeding a preset duration, the unmanned vehicle being manually controlled, the unmanned vehicle malfunctioning, the unmanned vehicle being under maintenance, and the unmanned vehicle being charged; receiving a verification code input by a user; transmitting the verification code to the delivery device, so that the delivery device performs verification to the verification code in response to the unmanned vehicle being in a normal working state; and receiving an unpacking instruction transmitting from the delivery device in response to successful verification, wherein no unpacking instruction is transmitted to the unmanned vehicle and no feedback is offered for the verification code input by the user in response to the unmanned vehicle being in the abnormal working state.
19. The unmanned vehicle according to claim 18, wherein the instructions further comprise: reporting a current position to the delivery device, so that the delivery device transmits a pre-generated order verification code to a user corresponding to an order to be delivered by the unmanned vehicle in response to a distance between the unmanned vehicle and a destination corresponding to the order to be delivered by the unmanned vehicle meeting a preset condition.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) In order to more clearly illustrate the embodiments or technical solutions in existing technologies of the present disclosure, a brief introduction will be given below for the drawings required to be used in the description of the embodiments or technical solutions in existing technologies. It is obvious that, the drawings illustrated as follows are merely some of the embodiments of the present disclosure. For an ordinary skilled person in the art, he or she may also acquire other drawings according to such drawings without paying inventive efforts.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
DETAILED DESCRIPTION
(14) The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure instead of all of them. The following descriptions on at least one illustrative embodiment are actually illustrative, but shall not set any limitation on the present disclosure and its application or utilization. All other embodiments that are obtainable to those skilled in the art based on the embodiments of the present disclosure without any creative effort are included in the protection scope of the present disclosure.
(15) Unless otherwise illustrated, respective arrangements, mathematic expressions and values of the components and steps illustrated in these embodiments do not limit the scope of the present disclosure.
(16) Meanwhile, it shall be understood that in order to facilitate description, the respective parts shown in the drawings are not drawn in sizes according to actual proportional relations.
(17) Techniques, methods and devices that have already been known to ordinary technicians in the art may not be discussed here in detail, but under suitable circumstances, the techniques, methods and devices shall be deemed as parts of the granted description.
(18) In the embodiments shown and discussed here, any specific value shall be interpreted as only illustrative, instead of limitative Hence, other embodiments of the illustrative embodiments may have different values.
(19) It shall be noted that similar marks and letters represent similar items in the following figures. So once a certain item is defined in one figure, no further discussion on it is required in the following figures.
(20) The inventor of the present disclosure has found that: the existing pick-up method is less secure and will result in a loss of the benefits of the real user of the order. This is because the thief would forge a short link and send a request to the server through a pseudo base station or the like to open the door of the box and steal the goods.
(21) An unmanned vehicle, also called as a wheeled mobile robot, mainly relies on an intelligent driving system in the vehicle to realize unmanned driving. When an unmanned vehicle performs delivery, there is a great security threat because the unmanned vehicle performs delivery autonomously on planned routes or algorithms carried by the unmanned vehicle. In addition, the inventor of the present disclosure has also found that: when the unmanned vehicle is used for delivering goods, since the position of the unmanned vehicle is not fixed and the moving range of the unmanned vehicle is wide, the safety threat during delivery is further increased.
(22) Therefore, the inventor proposes a delivery method, a delivery device and a delivery system for a delivery scene of an unmanned vehicle so as to improve the safety in the delivery process of the unmanned vehicle.
(23)
(24) In step S102, a state of an unmanned vehicle is monitored.
(25) The unmanned vehicle could transmit its current state. During monitoring, for example, a request could be transmitted to the unmanned vehicle at a preset period to make the unmanned vehicle return its own state, or the unmanned vehicle could autonomously report a request at a preset period, or other aperiodic monitoring methods may be adopted, which will not be described in detail herein.
(26) In the solution of the present disclosure, the state of the unmanned vehicle may be divided into two main categories, which comprise a normal working state and an abnormal working state.
(27) An abnormal working state refers to a state in which manual intervention of the operation of the unmanned vehicle may occur, and may comprise one or more of the following states, for example: a duration when the unmanned vehicle is disconnected from the server exceeds a preset duration, the unmanned vehicle is being manually controlled, the unmanned vehicle is malfunctioning, the unmanned vehicle is under maintenance, or the unmanned vehicle is being charged. Other states may also be set as abnormal working states as required, which will not be described herein in detail.
(28) For example, when a duration of the disconnection between the unmanned vehicle and the server exceeds a preset duration, a situation may occur in which the communication process of the unmanned vehicle is manually intervened, for example, a network intruder attempts to disconnect the unmanned vehicle from the server to modify the transmission parameters of the unmanned vehicle; or someone attempts to disconnect the unmanned vehicle from the server to cause physical damage to the unmanned vehicle, etc.
(29) A normal working state could be, for example, a state in which the performance of the unmanned vehicle is normal and the delivery work is being performed according to a preset route. If necessary, other states may be set as normal working states, for example, after the abnormal working state is determined, the states not in the abnormal working state are all determined as normal working states.
(30) In step S104, a verification code transmitted from the unmanned vehicle is received, wherein the verification code is input into the unmanned vehicle by a user.
(31) In some embodiments, the user could enter the verification code via a verification code input interface on the unmanned vehicle, such as a touch screen, a keyboard, a bar code scanner such as a two-dimensional code scanner, a camera, a microphone, and the like.
(32) In step S106, the verification code is verified in response to the unmanned vehicle being in a normal working state.
(33) If the unmanned vehicle is in a normal working state, that is, the unmanned vehicle is not in an abnormal working state, it means that the current environment of the unmanned vehicle is safe, and therefore a normal verification process could be executed.
(34) The verification code could be generated in advance for the order to be delivered by the unmanned vehicle, for example, a string of characters could be selected to generate the verification code, and transmitted to the user by means of a short message, an application message, a telephone, or an email, etc. After obtaining the verification code, the user could input the verification code through input equipment such as a keyboard or a touch screen of the unmanned vehicle, and the unmanned vehicle transmits the verification code input by the user to a verification device such as a server for verification.
(35) In step S108, in response to successful verification, an unpacking instruction is transmitted to the unmanned vehicle. After receiving the unpacking instruction transmitted from the server, the unmanned vehicle could open a container.
(36) The unpacking instruction could, for example, directly comprise an identifier of the container in the unmanned vehicle and an unpacking order, and could also comprise other information. The unmanned vehicle could identify the container to be unpacked after performing decoding, converting or other processing on other information.
(37) The method of the above-described embodiment could be executed by a server for example, or another device such as a computer or a processor, as required. Furthermore, the method of this embodiment may further optionally comprise step S103.
(38) In step S103, a prompt or alarm message is transmitted in response to the unmanned vehicle being in an abnormal working state.
(39) For example, if the unmanned vehicle loses connection with the server or encounters an error, an alarm message may be transmitted to a corresponding management device or staff; if the unmanned vehicle is in states such as charging or maintenance, a prompt message could be transmitted so that relevant staff could focus on it.
(40) Other types of information could also be transmitted, or no information may be transmitted, as desired, by those skilled in the art when the unmanned vehicle is working abnormally. No matter which specific operation described above is performed, when the unmanned vehicle is working abnormally, no unpacking instruction is transmitted to the unmanned vehicle, namely no feedback is offered for the verification code used for unpacking which is input by the user.
(41) When the unmanned vehicle is in an abnormal working state, any one of the following processing methods could be adopted: instructing the unmanned vehicle not to transmit the verification code input by the user, not to receive the verification code input by the user and transmitted from the unmanned vehicle, to receive the verification code input by the user but not to perform verification, or to verify the verification code input by the user but not to transmit the unpacking instruction. No matter which processing method is adopted, the unpacking instruction would not be transmitted to the unmanned vehicle finally.
(42) By adopting the methods of the above embodiment, the verification code input by the user and transmitted from the unmanned vehicle could be verified when the unmanned vehicle is not in an abnormal working state, and the unpacking instruction is transmitted to the unmanned vehicle when the verification is successful. Therefore, the situation of manual intervention and illegal stealing of goods could be avoided when the unmanned vehicle is in an abnormal working state, and the delivery safety of the unmanned vehicle is improved.
(43) When the verification code input by the user is verified, the verification code input by the user could be directly compared with a verification code stored in the server, and the verification is passed if the verification codes are consistent. In addition, the verification method shown in
(44)
(45) In step S202, a first check is performed to determine whether or not the verification code input by the user is consistent with a pre-generated order verification code, wherein, the order verification code is generated by encrypting the intermediate data for a preset number of times.
(46) That is, the first check is passed when the verification code input by the user is consistent with the pre-generated order verification code.
(47) If the first check is passed, the second check could be performed; if not, the verification is unsuccessful.
(48) In step S204, a second check is performed to determine whether or not a result of decrypting the verification code input by the user for the preset number of times is consistent with the intermediate data.
(49) That is, the second check is passed when the result of decrypting the verification code input by the user is consistent with intermediate data.
(50) If both the first check and the second check are passed, the verification is successful.
(51) The intermediate data is data associated with the order, and may be order information, an order number, or a randomly generated string, etc. The intermediate data is encrypted to generate an order verification code.
(52) Multiple verification could be performed according to the verification code input by the user by the method of the above embodiment, thus safety is improved.
(53) In the above embodiment, the intermediate data could optionally comprise one or more kinds of data. When the intermediate data comprises plurality kinds of data, and the plurality kinds of data may be sequentially verified.
(54) In some embodiments, the intermediate data comprises a primary code corresponding to a pre-generated order verification code, and encrypted data obtained by symmetrically encrypting the primary code. The symmetric encryption method may comprise at least one of Advanced Encryption Standard (AES) algorithm, Data Encryption Standard (DES) algorithm, International Data Encryption Algorithm (IDEA), or Digital Signature Algorithm. An embodiment of the second check is described below with reference to
(55)
(56) In step S2042, substitutive decryption is performed on the verification code input by the user to obtain first decrypted data.
(57) In step S2044, the first decrypted data is symmetrically decrypted to obtain second decrypted data in the case where the first decrypted data is consistent with the encrypted data.
(58) In step S2046, it is determined whether the second decrypted data is consistent with the primary code, and if so, the verification code input by the user passes the second check.
(59) Accordingly, encryption and substitutive encryption corresponding to the adopted decryption method may also be adopted when generating an order verification code. An embodiment of the order verification code generation method of the present disclosure is described below with reference to
(60)
(61) In step S302, a preset number of characters are selected to generate a primary code.
(62) In some embodiments, a preset number of characters may be selected to generate the primary code from a preset primary code range, which comprises one or more of letters, numbers, or graphical symbols. Thus, the cracking difficulty could be improved.
(63) In step S304, encrypted data is generated according to a result of symmetrically encrypting the primary code.
(64) In some embodiments, encrypted data may be generated according to a result of performing AES (Advanced Encryption Standard) encryption on the primary code.
(65) AES encryption is a block encryption method which has the advantages of strong security, high performance, high efficiency, easy use, flexibility and the like. AES encryption could be directly performed on the primary code to generate encrypted data. In addition, data generated by performing AES encryption on the primary code may be converted, and the converted data may be used as encrypted data.
(66) In some embodiments, encrypted data may be generated specifically in the following manner: firstly, performing AES encryption on the primary code to obtain binary data; then, the binary data is converted into hexadecimal data to generate encrypted data. Therefore, the complexity of generating an order verification code could be improved, and the cracking difficulty could be improved.
(67) In step S306, substitutive encryption is performed on the encrypted data to generate an order verification code corresponding to an order to be delivered by an unmanned vehicle.
(68) Substitutive encryption is a method of encrypting data on a regular basis. So that the security of encryption can be further enhanced.
(69) Further, the method of this embodiment may further optionally comprise step S308.
(70) In step S308, it is determined whether or not the order verification code generated in step S306 is the same with another order verification code of the unmanned vehicle. If so, the method returns to the step S302, and the order verification code is re-generated for the order to be delivered by the unmanned vehicle; if not, the order verification code generated in step S306 is used as an order verification code corresponding to the order to be delivered by the unmanned vehicle.
(71) Therefore, each order of the same unmanned vehicle could have a unique order verification code.
(72) The method of this embodiment may not comprise step S308. If there are more than two same order verification codes stored in the same unmanned vehicle, the user who performs verification could be identified during verification, for example, the user information or order information is also received while a verification code input by the user is received, so as to ensure that the order verification code of the order corresponding to the user is verified.
(73) After the method of the above embodiment is performed, a corresponding relation among the unmanned vehicle information, the order information, the primary code, the encrypted data, and the verification code may be stored. When the verification code input by the user needs to be verified, a first check and a second check could be performed according to the corresponding relation. An embodiment of an order verification code processing method of the present disclosure is described below with reference to
(74)
(75) In step S312, an order verification code corresponding to an order to be delivered by an unmanned vehicle is generated.
(76) The order verification code may be generated by the method shown in
(77) In step S314, a corresponding relation among the unmanned vehicle information, the order information, the primary code, the encrypted data, and the verification code is stored.
(78) In step S316, the corresponding relation is deleted in the case where a storage duration of the corresponding relation exceeds a preset duration.
(79) For example, the corresponding relation may be stored in a cache and periodically cleared. Thus, the verification code can be made time-efficient. When the time of storage of the corresponding relation exceeds the preset time, even if the user inputs a correct verification code, the verification code input by the user would not pass the verification because the corresponding relation is deleted. Therefore, the safety of delivery is improved.
(80) After the verification code is generated, the pre-generated order verification code could be transmitted to the corresponding user corresponding to the order to be delivered by the unmanned vehicle. An embodiment of a verification code transmission method of the present disclosure is described below with reference to
(81)
(82) In step S402, the unmanned vehicle reports a current position. For example, the unmanned vehicle may report a current location to a server.
(83) In step S404, in response to a distance between the unmanned vehicle and the destination corresponding to an order to be delivered by the unmanned vehicle meeting a preset condition, for example, the distance is less than a preset value, the order verification code is transmitted to a user corresponding to the order to be delivered by the unmanned vehicle. For example, the user could be notified to pick up the goods and the order verification code could be transmitted to the user when the unmanned vehicle is approaching the destination of the delivery. Therefore, the time between the transmission of the order verification code and the pickup of the goods by the user is reduced as much as possible, and the safety of delivery is improved.
(84) In addition, a verification code could be generated and transmitted to the user corresponding to the order to be delivered by the unmanned vehicle in response to the distance between the unmanned vehicle and the destination corresponding to the order to be delivered by the unmanned vehicle meeting a preset condition. By adopting this method, the time between the generation of the order verification code and the pickup of the goods by the user could be reduced as much as possible, and the probability that someone tries to randomly input a verification code to open the container could be reduced. Therefore, the safety of the system is improved.
(85) An embodiment of a delivery system of the present disclosure is described below with reference to
(86)
(87) Some embodiments of the present disclosure may also provide another delivery system comprising a device for performing any one of the delivery methods described above.
(88) An embodiment of the delivery device of the present disclosure is described below with reference to
(89)
(90) In some embodiments, the verification code is input by the user via a verification code input interface on the unmanned vehicle.
(91) In some embodiments, an abnormal working state comprises one or more of the following states: a duration when the unmanned vehicle is disconnected from the server exceeds a preset duration, the unmanned vehicle is being manually controlled, the unmanned vehicle is malfunctioning, the unmanned vehicle is under maintenance, or the unmanned vehicle is being charged.
(92) In some embodiments, the controller is further configured to not transmit an unpacking instruction to the unmanned vehicle in response to the unmanned vehicle being in an abnormal working state.
(93) An embodiment of a delivery device 70 of the present disclosure is described below with reference to
(94)
(95) At this time, the verification performed by the controller 73 may comprise, for example: a first check for determining whether or not the verification code input by the user is consistent with a pre-generated order verification code, wherein, the order verification code is generated by encrypting the intermediate data for a preset number of times; a second check for determining whether a result of decrypting the verification code input by the user for the preset number of times is consistent with intermediate data.
(96) In some embodiments, the intermediate data may comprise a primitive code, and encrypted data is obtained by symmetrically encrypting the primitive code. At this time, the decoder 75 may also be configured to: perform substitutive decryption on the verification code input by the user to obtain first decrypted data; and symmetrically decrypt the first decrypted data to obtain second decrypted data; the second check comprises: obtaining first decrypted data from the decoder; obtaining second decrypted data from the decoder in the case where the first decrypted data is consistent with the encrypted data; determining that the verification code input by the user passes the second check in the case where the second decrypted data is consistent with the primitive code.
(97) In addition, the delivery device 70 may further comprise an encoder 76 configured to generate an order validation code by: selecting a preset number of characters to generate a primitive code, wherein the characters comprise one or more of letters, numbers or graphic symbols; generating encrypted data according to a result of symmetrically encrypting the primitive code; performing substitutive encryption on the encrypted data to generate an order verification code corresponding to an order to be delivered by the unmanned vehicle.
(98) In some embodiments, the encoder 76 may also be configured to re-generate the order verification code for the order to be delivered by the unmanned vehicle in the case where the generated order verification code is the same with another order verification code of the unmanned vehicle.
(99) In some embodiments, the encoder 76 may further be configured to select a preset number of characters to generate the primary code from a preset primary code range, comprising one or more of letters, numbers, or graphical symbols.
(100) In some embodiments, the encoder 76 may be further configured to symmetrically encrypt the primary code, e.g., perform AES encryption to obtain binary data; and the binary data is converted into hexadecimal data to generate encrypted data.
(101) In addition, the delivery device 70 may also comprise a memory 77 configured to store a corresponding relation among unmanned vehicle information, order information, the primitive code, the encrypted data and the order verification code, wherein the corresponding relation is deleted in the case where a storage duration of the corresponding relation exceeds a preset duration.
(102) In addition, the controller 73 is further configured to transmit a pre-generated order verification code to a corresponding user corresponding to the order to be delivered by the unmanned vehicle via the transmitter 74.
(103) In some embodiments, the transmitter 74 may be further configured to transmit a pre-generated order verification code to a user corresponding to an order to be delivered by the unmanned vehicle in response to a distance between the unmanned vehicle and a destination corresponding to the order to be delivered by the unmanned vehicle meeting a preset condition.
(104) Some other implementations of the delivery device are described below. In some embodiments, the delivery device comprises: a monitoring module configured to monitor a state of the unmanned vehicle; a receiving module configured to receive a verification code, which is input into the unmanned vehicle by a user and transmitted from the unmanned vehicle; a verification module configured to perform verification to the verification code in response to the unmanned vehicle being in a normal working state; and an instruction transmission module configured to transmit an unpacking instruction to the unmanned vehicle in response to successful verification.
(105) In some embodiments, the verification code is input by the user via a verification code input interface on the unmanned vehicle.
(106) In some embodiments, the verification comprises: a first check for determining whether or not the verification code input by the user is consistent with a pre-generated order verification code, wherein, the order verification code is generated by encrypting the intermediate data for a preset number of times; a second check for determining whether a result of decrypting the verification code input by the user for the preset number of times is consistent with intermediate data.
(107) In some embodiments, the intermediate data comprises a primitive code, and encrypted data is obtained by symmetrically encrypting the primitive code; the verification module is further configured to: perform substitutive decryption on the verification code input by the user to obtain first decrypted data; and symmetrically decrypt the first decrypted data to obtain second decrypted data; the second check comprises: obtaining first decrypted data from the verification module; obtaining second decrypted data from the verification module in the case where the first decrypted data is consistent with the encrypted data; determining that the verification code input by the user passes the second check in the case where the second decrypted data is consistent with the primitive code.
(108) In some embodiments, the delivery device further comprises a verification code generation module configured to select a preset number of characters to generate a primary code, wherein, the characters comprise one or more of letters, numbers or graphic symbols; to generate encrypted data according to a result of performing AES encryption on the primary code; and to perform substitutive encryption on the encrypted data to generate an order verification code corresponding to an order to be delivered by the unmanned vehicle.
(109) In some embodiments, the delivery device further comprises a verification code storage module configured to store a corresponding relation among unmanned vehicle information, order information, the primitive code, the encrypted data and the order verification code, wherein the corresponding relation is deleted in the case where a storage duration of the corresponding relation exceeds a preset duration.
(110) In some embodiments, the delivery device further comprises a verification code transmitting module configured to transmit a pre-generated order verification code to a user corresponding to an order to be delivered by the unmanned vehicle in response to a distance between the unmanned vehicle and a destination corresponding to the order to be delivered by the unmanned vehicle meeting a preset condition.
(111) An embodiment of an unmanned vehicle of the present disclosure is described below with reference to
(112)
(113) In some embodiments, the transmitter 82 may be further configured to report a current position to the delivery device, so that the delivery device transmits a pre-generated order verification code to a user corresponding to an order to be delivered by the unmanned vehicle in response to a distance between the unmanned vehicle and a destination corresponding to the order to be delivered by the unmanned vehicle meeting a preset condition.
(114)
(115) Memory 910 may comprise, for example, a system memory, fixed non-volatile storage media, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader, and other programs.
(116)
(117) The embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements any one of the foregoing delivery methods.
(118) It shall be understood by those skilled in the art that the embodiments of the present disclosure may be provided as a method, a system, or a computer program product. Therefore, examples of the present disclosure can take the form of an entirely hardware example, an entirely software example or an example containing both hardware and software elements. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including but not limited to disks, CD-ROM, optical storage, etc.) having computer-usable program code embodied in the medium.
(119) The present disclosure is described with reference to the flow diagrams and/or block diagrams of the method, device (system) and computer program product according to the embodiments of the present disclosure. It shall be understood that each flow and/or block in the flow diagrams and/or block diagrams and a combination thereof may be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, a dedicated computer, an embedded processing device or any other programmable data processing device to produce a machine causing the instructions executed by the processor of the computer or the other programmable data processing device to produce means for implementing the functions designated in the one or more flows in the flow charts and/or one or more blocks in the block diagrams.
(120) These computer program instructions may be stored in a computer readable memory that can direct a computer or any other programmable data processing device to operate in a specific manner, such that the instructions stored in the computer readable memory produce a manufactured article including instruction means that implements the functions designated in one or more flows in the flow charts and/or one or more blocks in the block diagrams.
(121) These computer program instructions may also be loaded on a computer or any other programmable data processing device causing the computer or the other programmable data processing device to perform a series of operation steps to produce a computer-implemented process, such that the instructions executed on the computer or the other programmable device provide steps for implementing the functions designated in the one or more flows in the flowcharts and/or one or more blocks in the block diagrams.
(122) The above contents are only preferred embodiments of the present disclosure, but are not used to limit the present disclosure. Any modification, equivalent replacement, improvement and etc. within spirit and principles of the present disclosure shall be contained in the protection scope of the present disclosure.