Detailed Description
In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the attached drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, references to the terms "first \ second \ third" are only to distinguish similar objects and do not denote a particular order, but rather the terms "first \ second \ third" are used to interchange specific orders or sequences, where appropriate, so as to enable the embodiments of the application described herein to be practiced in other than the order shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
Based on the fact that users take milk every other day when delivering fresh milk in the related technology, in order to avoid the risk that different subscribers take the same box and are taken, only one box can be allocated to each subscriber independently, the utilization rate of the fresh milk self-extracting cabinet is low, and the operation and maintenance cost of operators is increased. In view of the problem, embodiments of the present application provide a distribution method applied to a server or to a distribution apparatus. The distribution method can be realized by a computer program, and when the computer program is executed, each step in the distribution method provided by the embodiment of the application is completed. Fig. 1 is a schematic flow chart of an implementation of a distribution method according to an embodiment of the present application, as shown in fig. 1, the distribution method includes the following steps:
step S101, a request message sent by the distribution device is received.
The distribution method provided by the embodiment of the application is applied to a server, the server and distribution equipment establish a network connection relation, when a user needs to take out a distribution object temporarily stored in a distribution equipment cell, an input equipment of the distribution equipment is used for inputting an unpacking password, and after the input is finished, a confirmation key is pressed to execute unpacking operation. The distribution equipment obtains the unpacking passwords based on the unpacking operation executed by the user, carries the equipment identification and the unpacking passwords of the distribution equipment in the request message and sends the request message to the server.
And after receiving the request message, the server analyzes the request message to obtain the equipment identifier and the unpacking password carried in the request message.
And step S102, responding to the request message, and acquiring a target order corresponding to the unpacking password based on the equipment identifier and the unpacking password.
In one implementation, obtaining the target order may be implemented as: acquiring an order form of the distribution equipment according to the equipment identification, wherein the order form comprises at least one order and a reference password corresponding to each order; each reference password may be a reference password acquired based on an input operation of the user at the time of generating each order. And then searching the unpacking passwords in the order table, when the reference passwords matched with the unpacking passwords are found, taking the reference passwords as target reference passwords, and determining the orders corresponding to the target reference passwords as the target orders corresponding to the unpacking passwords.
Step S103, if the target order is a valid order, acquiring a delivery status of the delivery device at the current date.
In some embodiments, after determining that a target order is present in the order table, it may be desirable to further determine whether the target order is a valid order, i.e., whether the target order has finished delivery, or whether the target order has suspended delivery. If the current date is within the delivery cycle of the target order, determining that the target order is a valid order, and at the moment, obtaining the delivery state of the delivery equipment on the current date, wherein the delivery state comprises a delivered state and an undelivered state, each delivery equipment delivers once a day, and all valid orders of the delivery equipment on the current date are delivered during each delivery.
If the current date is no longer within the delivery cycle of the target order, but objects which are not taken out temporarily by the user exist in the objects delivered by the target order, determining that the target order is a semi-effective order; if the current date is not within the delivery cycle of the target order and all objects delivered by the target order have been retrieved, then the target order is determined to be an invalid order.
Step S104, the identification of the target cell is determined based on the distribution state.
The target cell is a cell occupied by a target order on the current date, and if a first sub-order of the target order on the current date is delivered, the cell occupied by the target order on the current date comprises a cell occupied by the first sub-order and a cell which is delivered but not taken in each second sub-order of the target order on the previous date. If the first sub-order of the target order on the current date is not delivered, the boxes occupied by the target order on the current date are cut off, and the boxes which are left after the boxes occupied by the first sub-order are removed from the boxes occupied by other orders, and the boxes which are delivered but not taken in each second sub-order of the target order on the previous date are included.
And step S105, sending the identification of the target cell to the distribution equipment so that the distribution equipment controls the target cell to be opened.
The identification of the target cell has uniqueness, and different sub-orders correspond to different identifications of the target cell in the same date, so that the distribution objects of different users are ensured to be temporarily stored in different cells of the distribution equipment. After receiving the identification of the target cell, the distribution equipment opens the door of the target cell corresponding to the identification of the target cell, so that the user can take out the object to be taken in the target cell.
In some embodiments, the user may further temporarily store the delivery object to be returned in the cell of the delivery device, so that the delivery person takes out the delivery object to be returned to the operator at the next delivery, for example, in the fresh milk delivery, based on the consideration of cost and environmental protection, the glass bottle may be used to hold the fresh milk to be delivered, and after the user pours out the fresh milk, the user may place the empty glass bottle into the target cell occupied by the first sub-order at the current date, so that the delivery person takes the empty bottle back at the next delivery date.
The distribution method applied to the server provided by the embodiment of the application comprises the following steps: receiving a request message sent by a distribution device, wherein the request message carries a device identifier and a box opening password of the distribution device, and the box opening password is obtained by the distribution device based on a box opening operation executed by a user; responding to the request message, and acquiring a target order corresponding to the unpacking password based on the equipment identifier and the unpacking password; under the condition that the target order is an effective order, acquiring the distribution state of distribution equipment on the current date, and determining the identification of a target cell based on the distribution state, wherein the target cell is a cell occupied by the target order on the current date; and sending the identification of the target cell to the distribution equipment so that the distribution equipment controls the target cell to be opened. So based on the delivery state of delivery equipment current date determines different target cell to make delivery equipment open different chamber doors, there is the problem of the risk of being taken when solving the delivery object and detaining, convenience of customers gets goods in a flexible way, can improve delivery equipment's utilization ratio moreover, reduces operator's fortune dimension cost.
Fig. 2 is a schematic flow chart of an implementation of obtaining a target order according to an embodiment of the present application, and in an implementation manner, step S102 in the embodiment shown in fig. 1 may be implemented by step S1021 to step S1024 shown in fig. 2:
step S1021, according to the device identification, obtaining an order form of the distribution device.
The order table comprises at least one order and a reference password corresponding to each order. Each reference password may be a reference password acquired based on an input operation of the user at the time of generating each order.
In step S1022, it is determined whether a target reference password matching the unpacking password exists in the order table.
When the target reference password matched with the unpacking password exists in the order table, the order table indicates that an order corresponding to the unpacking password input by the user exists, and then the step S1023 is carried out; when the target reference password matching the box opening password does not exist in the order table, it indicates that the order corresponding to the box opening password input by the user does not exist in the order table, and then the process proceeds to step S1024.
In step S1023, the order corresponding to the target reference password is determined as the target order.
After the target order is determined, the process continues to step S103.
Step S1024, determining that the target order corresponding to the box opening password does not exist.
In some embodiments, after determining that the target order corresponding to the box opening password does not exist in step S1024, "the server sends a first message to the delivery device, where the first message indicates that the target order corresponding to the box opening password does not exist in the order table, so that the delivery device outputs prompt information of failure in box opening. The user can know that the input unpacking password is wrong according to the prompt message of the unpacking failure output by the distribution equipment, so that the user can input the correct unpacking password again according to the prompt message.
In some embodiments, after determining that a target order is present in the order table, it may be desirable to further determine whether the target order is a valid order, i.e., whether the target order has finished delivery, or whether the target order has suspended delivery. Referring to fig. 3, fig. 3 is a schematic flow chart of an implementation of determining a target order as a valid order according to the embodiment of the present application, and after step S102 shown in fig. 1 or step 1023 shown in fig. 2, the following steps are continuously performed:
in step S11, the current date is acquired.
The current date is the date of receiving the request message, namely the date of the user performing the box opening operation, and the two times are real-time synchronous times.
Step S12, determine whether the current date is within the delivery cycle of the target order.
If the current date is within the delivery cycle of the target order, indicating that the delivery of the target order has not been completed, go to step S13; if the current date is not within the delivery cycle of the target order, there are two possibilities: one is that the delivery is completed, but the delivery is not completed, and the delivery can not be finished at this time; the other is that the delivery is completed and the pickup is completed, at which point it is determined to end the delivery, and therefore the process proceeds to step S14.
Step S13, determine the target order as a valid order.
After determining that the target order is a valid order, the process proceeds to "acquiring the delivery status of the delivery apparatus at the current date" in step S103.
Step S14, obtaining status information of each second sub-order included in the target order.
The second, different sub-orders are sub-orders for which the target order was delivered on a different historical date, and the status information includes completed and incomplete.
Step S15, it is determined whether there is any second sub-order in which the status information is incomplete.
When there is a second sub-order whose status information is incomplete in each second sub-order, it indicates that the target order has completed the distribution of all sub-orders, but there is a sub-order whose pickup has not been completed, and at this time, the distribution cannot be ended, and the process proceeds to step S16; when there is no second sub-order in which the status information is not completed in each second sub-order, that is, the status information of all the second sub-orders is completed, the process proceeds to step S18.
Step S16, obtaining the identifiers of the occupied cells of the second sub-order whose status information is incomplete, and forming a second identifier set.
In step S17, the identifier in the second identifier set is determined as the identifier of the target cell.
The target cell is a cell for storing an object to be taken, namely a cell occupied by the second sub-order which does not finish taking goods.
Step S18, the target order is determined to be an invalid order.
The target order is an invalid order, that is, all the sub-orders ordered by the user are delivered and taken, the order is invalid, the box opening password allocated to the order is invalid, and any box door of the distribution equipment cannot be opened any more.
In some embodiments, after determining that the target order is an invalid order in step S18, the server sends a second message to the delivery equipment, where the second message indicates that the target order is an invalid order, so that the delivery equipment outputs a prompt that the order is invalid. The user can know that the current date is not in the distribution cycle of the target order according to the prompt information of invalid orders output by the distribution equipment, and when the target order is completely distributed, the user can renew distribution according to the prompt information; when the target order delivery is suspended, the user can resume delivery according to the prompt message.
In some embodiments, step S104 "determining the identification of the target cell based on the delivery status" in the embodiment shown in fig. 1 may be implemented by steps S1041 to S1057 shown in fig. 4:
step S1041, determining, according to the distribution status, distribution information of the first sub-order included in the target order.
The first sub-order is a sub-order in which the target order is delivered on the current date, the delivery status comprises a delivered status and an undelivered status, each delivery equipment delivers once a day, and all valid orders of the delivery equipment on the current date are delivered at each delivery. When the distribution state of the distribution equipment is the distributed state, the first sub-order of the target order on the current date can be determined to be distributed, and the distribution information is distributed; when the delivery status of the delivery equipment is the non-delivery status, it may be determined that the first sub-order of the target order on the current date is not delivered, and the delivery information is to be delivered.
Step S1042, obtaining status information of each second sub-order included in the target order.
The second, different sub-orders are sub-orders for which the target order was delivered on a different historical date, and the status information includes completed and incomplete. When the second sub-order is delivered and the delivery object is taken out of the delivery equipment by the user, the state information of the second sub-order is considered to be completed; and when the second sub-order is delivered, the delivery object stays in the cell of the delivery equipment and the user does not take out the second sub-order, the status information of the second sub-order is considered to be incomplete.
Step S1043, determining whether the delivery information of the first sub-order is delivered.
When the delivery information of the first sub-order is delivered, it indicates that the delivery object delivered by the target order on the current date has been temporarily stored in the cell of the delivery equipment, and then step S1044 is executed; when the delivery information of the first sub-order is not delivered, it indicates that the object that the target order expects to be delivered at the current date is not temporarily stored in the compartment of the delivery equipment, and then the process proceeds to step S1050.
Step S1044 is to obtain the identifiers of the occupied boxes of the first sub-order, and form a first identifier set.
Step S1045, determining whether the status information of each second sub-order is completed.
When the status information of each second sub-order is completed, that is, no detained object which has been delivered on the previous date but has not been delivered exists in the delivery equipment, that is, all the users of the objects delivered on the previous date of the target order have delivered the goods and no detained object exists, at this time, the object to be delivered only includes the delivery object on the current date, the step S1046 is performed; when the status information of each second sub-order is not completely completed, that is, there is a second sub-order whose status information is not completed in each second sub-order, it indicates that there is a retained object that has been delivered but has not been taken for the target order on the previous date in the delivery device, and at this time, the to-be-taken object includes the retained object on the previous date and the delivery object on the current date, and the process proceeds to step S1047.
Step S1046, determining each identifier in the first identifier set as an identifier of the target cell.
The target cell is a cell for storing an object to be taken.
Step S1047, obtaining the identifier of the cell occupied by the second sub-order whose status information is incomplete, and forming a second identifier set.
Step S1048, determining a union of the first identifier set and the second identifier set as a third identifier set.
Step S1049, determining each identifier in the third identifier set as an identifier of the target cell.
The target cell is a cell for storing an object to be taken.
Step 1050, obtaining identifiers of the cells to be occupied by the first sub-order, and forming a fourth identifier set.
Step S1051, determining whether the status information of each second sub-order is completed.
When the status information of each second sub-order is completed, that is, there is no detained object that has been delivered but has not been delivered on the previous date in the delivery device, that is, the object users that have been delivered on the previous date of the target order all have delivered goods and no detained object, then step S1052 is entered, and it is further determined whether there is a detained object on the previous date of another user in the currently expected occupancy compartment; when the status information of each second sub-order is not completely completed, that is, there is a second sub-order whose status information is not completed in each second sub-order, it indicates that there is a retained object that has been delivered but not taken on the previous date for the target order in the delivery equipment, and the to-be-taken object includes the retained object on the previous date, the process proceeds to step S1056.
Step S1052, determining whether there is a target identifier in the fourth identifier set.
The target identifier is the identifier of occupied cells of other orders in the order table except the target order.
When the target identifier exists in the fourth identifier set, it indicates that the detained objects with the occupied orders and the unoccupied goods in the first sub-order are expected to exist in the occupied cells at the present day, and at this time, the user can only open other cells except the cells occupied by other users in the cells to be occupied by the first sub-order, and the process goes to step S1053; when the target identifier does not exist in the fourth identifier set, it indicates that no retention object for which the first sub-order currently expects to occupy the cell and which is not occupied by other orders for picking up goods does not exist in the first sub-order currently expects to occupy the cell, that is, the first sub-order currently expects to occupy the cell and which is in an unoccupied state, and then the process goes to step S1055.
And step S1053, forming other identifiers in the fourth identifier set except the target identifier into a fifth identifier set.
And step S1054, determining the identifier in the fifth identifier set as the identifier of the target cell.
The target cell is a cell which is not occupied by other orders in the cells for storing the objects to be taken.
And step S1055, determining the identifier in the fourth identifier set as the identifier of the target cell.
The target cell is a cell for storing an object to be taken.
Step S1056, obtaining the identifier of the occupied cell of the second sub-order whose status information is unfinished, and forming a second identifier set.
Step S1057, determining the identifier in the second identifier set as the identifier of the target cell.
The target cell is a cell for storing the staying object.
The method provided by the embodiment of the application determines different target boxes by the delivery state of the current date of the delivery equipment and analyzing whether the delivery object which is not delivered exists in the previous date or not, so that the delivery equipment opens different box doors, the problem that the delivery object is exposed to the risk of being taken when being detained is solved, convenience is brought to a user to flexibly take the goods, the utilization rate of the delivery equipment can be improved, and the operation and maintenance cost of an operator is reduced.
On the basis of the foregoing illustrated embodiment, a distribution method applied to a server is further provided in the embodiment of the present application, and fig. 5 is a schematic flow chart of another implementation of the distribution method provided in the embodiment of the present application, as shown in fig. 5, the distribution method includes the following steps:
step S501 receives a request message sent by a distribution device.
The request message carries the device identifier of the delivery device and an opening password, and the opening password is obtained by the delivery device based on the opening operation executed by the user.
Step S502, in response to the request message, acquiring an order form of the distribution device according to the device identifier.
The order table comprises at least one order and a reference password corresponding to each order.
Step S503, judging whether a target reference password matched with the unpacking password exists in the order table.
When the target reference password matched with the unpacking password exists in the order table, the order table indicates that an order corresponding to the unpacking password input by the user exists, and the step S504 is executed; when the target reference password matching the box opening password does not exist in the order table, it indicates that there is no order corresponding to the box opening password input by the user in the order table, and then it proceeds to step S505.
Step S504, determine the order corresponding to the target reference password as the target order.
After the target order is determined, step S507 is performed to further determine whether the target order is a valid order.
Step S505 determines that there is no target order corresponding to the opening password.
Step S506, a first message is sent to the distribution device.
The first message table indicates that the target order corresponding to the box opening password does not exist in the order table, so that the delivery equipment outputs prompt information of failure in box opening. The user can know that the input unpacking password is wrong according to the prompt message of the unpacking failure output by the distribution equipment, so that the user can input the correct unpacking password again according to the prompt message. After step S506, the process proceeds to step S535.
In step S507, the current date is acquired.
Step S508, determine whether the current date is within the delivery cycle of the target order.
If the current date is within the distribution cycle of the target order, it indicates that the target order has not been distributed yet, then step S509 is performed; if the current date is not within the delivery cycle of the target order, there are two possibilities: one is that the delivery is completed, but the delivery is not completed, and the delivery can not be finished at this time; the other is that the delivery is completed and the pickup is completed, and it is determined that the delivery is ended, so the process proceeds to step S510.
In step S509, the target order is determined to be a valid order.
After determining that the target order is a valid order, the process proceeds to step S516.
Step S510, obtaining status information of each second sub-order included in the target order.
The second, different sub-orders are sub-orders for which the target order was delivered on a different historical date, and the status information includes completed and incomplete.
Step S511, determining whether there is a second sub-order in which the status information is incomplete in each second sub-order.
When there is a second sub-order whose status information is incomplete in each second sub-order, it indicates that the target order has completed the distribution of all sub-orders, but there is a sub-order whose pickup has not been completed, and at this time, the distribution cannot be ended, and step S512 is entered; when there is no second sub-order in which the status information is not completed, that is, the status information of all the second sub-orders is completed, the process proceeds to step S514.
Step S512, acquiring the identifiers of the occupied cells of the second sub-order whose status information is unfinished, and forming a second identifier set.
In step S513, the identifier in the second identifier set is determined as the identifier of the target cell.
The target cell is a cell for storing the object to be taken, that is, a cell occupied by the second sub-order that does not complete taking goods, and the process proceeds to step S534.
In step S514, the target order is determined to be an invalid order.
The target order is an invalid order, that is, all the sub-orders ordered by the user are delivered and taken, the order is invalid, the box opening password allocated to the order is invalid, and any box door of the distribution equipment cannot be opened any more.
Step S515, sending a second message to the distribution device.
The second message is used for indicating that the target order is an invalid order, so that the distribution equipment outputs prompt information for invalidating the order. The user can know that the current date is not in the distribution cycle of the target order according to the prompt information of invalid orders output by the distribution equipment, and when the target order is completely distributed, the user can renew distribution according to the prompt information; when the target order delivery is suspended, the user can resume delivery according to the prompt message. After step S515, the process proceeds to step S535.
In step S516, the distribution status of the distribution device on the current date is obtained.
Step S517, determining the delivery information of the first sub-order included in the target order according to the delivery status.
The first sub-order is a sub-order for the target order to be delivered on the current date, and the delivery information comprises delivered information and delivery waiting information.
In step S518, status information of each second sub-order included in the target order is obtained.
The second, different sub-orders are sub-orders for which the target order was delivered on a different historical date, and the status information includes completed and incomplete.
In step S519, it is determined whether the delivery information of the first sub-order is delivered.
When the delivery information of the first sub-order is delivered, it indicates that the delivery object delivered by the target order on the current date has been temporarily stored in the cell of the delivery equipment, and then step S520 is performed; when the delivery information of the first sub-order is not delivered, it indicates that the object that the target order expects to be delivered at the current date is not temporarily stored in the compartment of the delivery equipment, and then the process proceeds to step S526.
Step S520, obtain the identifiers of the occupied cells of the first sub-order, and form a first identifier set.
In step S521, it is determined whether the status information of each second sub-order is complete.
When the status information of each second sub-order is completed, that is, there is no detained object that has been delivered but has not been delivered on the previous date in the delivery device, that is, the user of the object that is delivered on the previous date of the target order has all delivered goods and there is no detained object, at this time, the object to be delivered only includes the delivery object on the current date, the step S522 is entered; when the status information of each second sub-order is not completely completed, that is, there is a second sub-order whose status information is not completed in each second sub-order, it indicates that there is a retained object that has been delivered but has not been taken for the target order on the previous date in the delivery device, and at this time, the to-be-taken object includes a retained object on the previous date and a delivery object on the current date, and the process proceeds to step S523.
In step S522, each identifier in the first identifier set is determined as an identifier of the target cell.
The target cell is a cell for storing the object to be fetched, and the process proceeds to step S534.
Step S523, obtain the identifiers of the occupied boxes of the second sub-order whose status information is incomplete, and form a second identifier set.
Step S524, determine the union of the first identification set and the second identification set as a third identification set.
And step S525, determining each identifier in the third identifier set as an identifier of the target cell.
The target cell is a cell for storing the object to be fetched, and the process proceeds to step S534.
Step 526, obtaining the identifiers of the cells to be occupied by the first sub-order, and forming a fourth identifier set.
Step S527, determining whether the status information of each second sub-order is complete.
When the status information of each second sub-order is completed, that is, there is no detained object that has been delivered but has not been delivered on the previous date in the delivery device, that is, the object users delivered on the previous date of the target order all have delivered goods and no detained object, then step S528 is entered, and it is further determined whether there is a detained object on the previous date of another user in the currently expected occupied compartment; when the status information of each second sub-order is not completely completed, that is, there is a second sub-order whose status information is not completed in each second sub-order, it indicates that there is a retained object that has been delivered but not taken on the previous date for the target order in the delivery equipment, and at this time, the to-be-taken object includes the retained object on the previous date, and the process proceeds to step S532.
In step S528, it is determined whether the target identifier exists in the fourth identifier set.
The target identifier is the identifier of occupied cells of other orders in the order table except the target order.
When the target identifier exists in the fourth identifier set, it indicates that the detained objects with the occupied orders and the unoccupied goods in the first sub-order are expected to exist in the occupied cells at the present day, and at this time, the user can only open other cells except the cells occupied by other users in the cells to be occupied by the first sub-order, and the step S529 is entered; when the target identifier does not exist in the fourth identifier set, it indicates that no retention object for which the first sub-order currently expects to occupy the cell and which is not occupied by other orders for picking up goods does not exist in the first sub-order currently expects to occupy the cell, that is, the first sub-order currently expects to occupy the cell and all the cells are in an unoccupied state, and then the process proceeds to step S531.
And step S529, forming other identifications except the target identification in the fourth identification set into a fifth identification set.
Step S530, determining the identifier in the fifth identifier set as the identifier of the target cell.
The target cell is the cell occupied by another order from the cells to be stored with the object to be taken, and the process proceeds to step S534.
And step S531, determining the identifier in the fourth identifier set as the identifier of the target cell.
The target cell is a cell in which the object to be taken is to be stored, and the process proceeds to step S534.
Step S532, the identifier of the cell occupied by the second sub-order whose status information is incomplete is obtained, and a second identifier set is formed.
In step S533, the identifier in the second identifier set is determined as the identifier of the target cell.
The target cell is a cell for storing the retention target, and the process advances to step S534.
Step S534, the identifier of the target cell is sent to the distribution device, so that the distribution device controls the target cell to open.
Step S535, end.
The method provided by the embodiment of the application determines different target boxes by the delivery state of the current date of the delivery equipment and analyzing whether the delivery object which is not delivered exists in the previous date or not, so that the delivery equipment opens different box doors, the problem that the delivery object is exposed to the risk of being taken when being detained is solved, convenience is brought to a user to flexibly take the goods, the utilization rate of the delivery equipment can be improved, and the operation and maintenance cost of an operator is reduced.
Fig. 6 is a schematic flow chart of another implementation of the distribution method provided in the embodiment of the present application, and as shown in fig. 6, the method includes the following steps:
step S601, in response to the unpacking operation performed by the user, acquires an unpacking password.
The unpacking operation may be an operation performed by a user based on an input device of the delivery apparatus, such as pressing a key, or may be an operation performed by the user on the terminal when the delivery apparatus is an apparatus capable of interacting with the terminal.
Step S602, sending the request message carrying the device identifier of the distribution device and the unpacking password to the server, so that the server obtains the target order corresponding to the unpacking password.
After the distribution equipment sends the request message to the server, the server acquires an order form of the distribution equipment according to the equipment identification, and then judges whether a target reference password matched with the unpacking password exists in the order form.
If the order table does not have the target reference password matched with the unpacking password, the fact that the order corresponding to the unpacking password input by the user does not exist in the order table is indicated, at the moment, the fact that the target order corresponding to the unpacking password does not exist is determined, the server can send a first message to the distribution equipment, the first message indicates that the target order corresponding to the unpacking password does not exist in the order table, and therefore the distribution equipment can output prompt information of unpacking failure. After receiving the first message, the distribution apparatus executes step S61, and outputs a notification message indicating that the box opening failed according to the first message. The user can know that the input unpacking password is wrong according to the prompt message of the unpacking failure output by the distribution equipment, so that the user can input the correct unpacking password again according to the prompt message.
If the target reference password matched with the box opening password exists in the order table, the fact that the order corresponding to the box opening password input by the user exists in the order table is indicated, at the moment, the order corresponding to the target reference password is determined to be the target order, whether the target order is the valid order is further determined, and whether the target order is delivered or not is determined, namely whether the delivery of the target order is finished or whether the delivery of the target order is suspended or not is determined. When the target order is determined to be an effective order or the existence state information is an incomplete second sub-order, acquiring the delivery state of the delivery equipment on the current date, determining the identification of the target cell based on the delivery state, and sending the determined identification of the target cell to the delivery equipment; when the target order is determined to be an invalid order,
the server may send a second message to the distribution equipment, where the second message indicates that the target order is an invalid order, so that the distribution equipment outputs a prompt that the order is invalid. After receiving the second message, the distribution apparatus executes step S62, and outputs a prompt message indicating that the order is invalid according to the second message. The user can know that the current date is not in the distribution cycle of the target order according to the prompt information of invalid orders output by the distribution equipment, and when the target order is completely distributed, the user can renew distribution according to the prompt information; when the target order delivery is suspended, the user can resume delivery according to the prompt message.
Step S603, receiving the identifier of the target cell determined by the server according to the request message.
The target cell is the cell occupied by the target order by the current date.
And step S604, controlling the door of the target cell to be opened.
The distribution method applied to the distribution equipment provided by the embodiment of the application comprises the following steps: responding to the unpacking operation executed by the user, and acquiring an unpacking password; sending a request message carrying the equipment identification of the distribution equipment and the unpacking password to a server so that the server acquires a target order corresponding to the unpacking password; receiving the identification of the target cell determined by the server according to the request message, wherein the target cell is a cell occupied by the target order at the current date; and controlling the door of the target cell to open. Through the delivery state of server analysis delivery equipment current date, determine different target cell to make delivery equipment open different chamber doors, there is the problem of the risk of being taken by the quilt when solving the delivery object and detaining, convenience of customers gets goods in a flexible way, can improve the utilization ratio of delivery equipment moreover, reduces operator's fortune dimension cost.
Based on the foregoing embodiments, a distribution method applied to a distribution system is further provided in an embodiment of the present application, where the distribution system includes a server and a distribution device, fig. 7 is a schematic diagram of a further implementation flow of the distribution method provided in the embodiment of the present application, and as shown in fig. 7, the method includes the following steps:
in step S701, the distribution device obtains an unpacking password in response to an unpacking operation performed by a user.
The unpacking operation may be an operation performed by a user based on an input device of the delivery apparatus, such as pressing a key, or may be an operation performed by the user on the terminal when the delivery apparatus is an apparatus capable of interacting with the terminal.
Step S702, the distribution equipment sends the request message carrying the equipment identification and the box opening password of the distribution equipment to the server.
Step S703, the server responds to the request message, and obtains the order form of the distribution device according to the device identifier.
The order table comprises at least one order and a reference password corresponding to each order.
In step S704, the server determines whether a target reference password matching the unpacking password exists in the order table.
When the target reference password matched with the unpacking password exists in the order table, the order table indicates that an order corresponding to the unpacking password input by the user exists, and the step S705 is executed; when the target reference password matching the out-of-box password does not exist in the order table, it indicates that there is no order corresponding to the out-of-box password input by the user in the order table, and then it goes to step S706.
In step S705, the server determines the order corresponding to the target reference password as the target order.
After the target order is determined, step S709 is entered to continuously determine whether the target order is valid.
In step S706, the server determines that there is no target order corresponding to the open box password.
In step S707, the server sends a first message to the distribution apparatus.
The first message table indicates that the target order corresponding to the box opening password does not exist in the order table, so that the delivery equipment outputs prompt information of failure in box opening.
In step S708, the distribution device outputs a notification message indicating that the box opening has failed.
The dispensing device may display an interface based on which the reminder information is output for viewing by the user. The user can know that the input unpacking password is wrong according to the prompt message of the unpacking failure output by the distribution equipment, so that the user can input the correct unpacking password again according to the prompt message.
In step S709, the server acquires the current date.
In step S710, the server determines whether the current date is within the delivery cycle of the target order.
If the current date is within the delivery cycle of the target order, indicating that the delivery of the target order is not finished, entering step S711; if the current date is not within the delivery cycle of the target order, there are two possibilities: one is that the delivery is completed, but the delivery is not completed, and the delivery can not be finished at this time; the other is that the delivery is completed and the pickup is completed, and it is determined that the delivery is ended, so the process proceeds to step S712.
In step S711, the server determines the target order as a valid order.
After determining that the target order is a valid order, proceed to step S719.
In step S712, the server obtains status information of each second sub-order included in the target order.
The second, different sub-orders are sub-orders for which the target order was delivered on a different historical date, and the status information includes completed and incomplete.
In step S713, the server determines whether there is a second sub-order in which the status information is incomplete in each second sub-order.
When there is a second sub-order whose status information is incomplete in each second sub-order, it indicates that the target order has completed the distribution of all sub-orders, but there is a sub-order whose pickup has not been completed, and at this time, the distribution cannot be ended, and step S714 is performed; when there is no second sub-order in which the status information is not completed, that is, the status information of all the second sub-orders is completed, the process proceeds to step S716.
Step S714, the server obtains the identifier of the cell occupied by the second sub-order whose status information is incomplete, and forms a second identifier set.
In step S715, the server determines the identifier in the second identifier set as the identifier of the target cell.
The target cell is a cell for storing an object to be taken, namely a cell occupied by the second sub-order which does not finish taking goods.
In step S716, the server determines the target order as an invalid order.
The target order is an invalid order, that is, all the sub-orders ordered by the user are delivered and taken, the order is invalid, the box opening password allocated to the order is invalid, and any box door of the distribution equipment cannot be opened any more.
In step S717, the server transmits a second message to the delivery apparatus.
The second message is used for indicating that the target order is an invalid order, so that the distribution equipment outputs prompt information for invalidating the order.
In step S718, the distribution device outputs a prompt message indicating that the order is invalid.
The distribution equipment can display an interface, output the prompt information based on the display interface, and send the prompt information to a terminal corresponding to the target order so as to be convenient for a user to view. The user can know that the current date is not in the distribution cycle of the target order according to the prompt information of invalid orders output by the distribution equipment, and when the target order is completely distributed, the user can renew distribution according to the prompt information; when the target order delivery is suspended, the user can resume delivery according to the prompt message.
In step S719, the server determines the identification of the target cell based on the delivery status.
The target cell is the cell occupied by the target order by the current date.
In step S720, the server sends the identifier of the target cell to the distribution device.
In step S721, the distribution apparatus controls the door of the target cell to open.
After the door of the target cell, the user can take out the object to be taken in the target cell or put the object to be returned into the target cell.
According to the method provided by the embodiment of the application, different target boxes are determined by the distribution state of the current date of the distribution equipment and the fact that whether the previous date has the distribution object which is not delivered is analyzed, so that the distribution equipment opens different box doors, the problem that the distribution object is taken when being detained is solved, a user can conveniently and flexibly take the goods, the utilization rate of the distribution equipment can be improved, and the operation and maintenance cost of an operator is reduced; and when the target order corresponding to the unpacking password does not exist, the first message is output through the distribution equipment, and when the target order is an invalid order, the second message is output through the distribution equipment, so that the user can conveniently check the feedback message.
Next, an exemplary application of the embodiment of the present application in a practical application scenario will be described.
The milk ordering mode of the fresh milk self-service cabinet (namely the distribution equipment) in the current market is based on multiple days, the milk can be ordered continuously for N days, and one small grid (namely the box grid) can be occupied in the N days, but the occupied small grid may not be the same small grid due to the fact that the distribution can be stopped, changed and continued in the N days under the actual operation condition, so that the grid number M1 is occupied in a certain day 1, and the grid number M2 is occupied in a certain day 2; grid number M1 for day 2 may then be occupied by other subscribers, so that the self-service chest grid utilization is maximum for the operator, but there is a risk of getting fresh milk from different subscribers into the same small grid for every other day. The embodiment of the application provides a delivery method for solving the risk problem aiming at the scene that the milk is taken every other day in the order in the period. In the embodiment of the application, the self-service cabinet only delivers all orders on the same day once per day.
1) The service end calculates a small lattice subset which is to be delivered on the current day and has not been delivered and taken on the last day, then judges the attribution problem of the lattices to be delivered and not taken, determines the order lattices of the client, returns the order lattices to the equipment to open the small lattices, the user finishes taking the goods, and records the goods taking state of the order on the current day;
2) the order is delivered on the same day, the server calculates a small lattice set which is delivered on the same day and delivered on the last day and has no goods taken, then the attribution problem of the lattice which has no goods taken is judged, the order lattice of the client is determined, the order lattice which can be occupied by the client is returned to the equipment, the user finishes taking the goods, and the server records the goods taking state of the order on the same day;
3) if the device is in delivery, a distributor finds that milk of a grid subscriber is not taken according to a delivery program, but the grid is of other subscribers on the same day, the distributor takes out the grid milk, then judges whether the cabinet has other idle grids, if the idle grids exist, the milk of the grid subscriber is moved to the idle grids, then the occupied grids of the subscriber are updated in the delivery program, when the user takes the milk, a service end calculates a new occupied grid, if the idle grids do not exist, the milk is recovered or the milk is sent to the home, and the milk state of the subscriber is updated in the delivery program.
Therefore, the server can order the goods taking state on the current day, update the state of goods not taken on the past day and update the state of goods taking together, thereby achieving the advantage of an algorithm that the client can take milk every other day.
The current fresh milk self-extracting cabinet occupies small lattices based on an order in a period, the delivery is completed in the same day, a client needs to take the milk in the same day in time, but the milk is not taken in time for some special reasons, the delivery is not taken in time in the last day after the milk is taken every other day, the client is not changed greatly, and the operation and maintenance cost is also brought to an operator.
Aiming at the problems, the embodiment of the application provides a solution for taking milk and opening small lattices every other day based on a fresh milk self-extracting cabinet, so that the problem that the fresh milk self-extracting cabinet occupies small lattices based on orders in a period is solved, goods cannot be taken in time on the day after delivery, goods of the small lattices occupied by customers can still be taken after every other day, and great convenience is brought to the customers in use.
Fig. 8 is a flowchart of an implementation of a distribution method according to an embodiment of the present application, as shown in fig. 8:
1) after a user places an order for a fresh milk self-service cabinet, the small lattice of the cabinet is occupied by the order of the user, the order of the user always occupies a certain small lattice in a continuous period, namely the small lattice belongs to the user in the period, but the user stops milk due to some reason, the small lattice is damaged, the small lattice needs to cross other lattices with other customers to occupy other lattices, but the occupied dates are different, so that the problem of picking the fresh milk every other day can be caused;
2) fresh milk self-taking cabinet equipment, wherein a password keyboard detects a door opening password input by a user and is attached with an equipment unique number and a door opening password request server; the unique number of the device is the device identification, and the door opening password is the box opening password.
3) The server side inquires milk ordering orders according to the equipment number, the door opening passwords and the date of the corresponding request, because each order has the unique door opening password, the server side judges whether the milk ordering order exists or not, if not, the server side directly returns a result to the equipment, the order small lattice information does not exist, the equipment does not carry the lock, the voice prompt of the equipment does not exist, and the process is ended;
4) step 3, milk orders are ordered, whether the order occupation period is finished or not is detected, if yes, the result of the step 3 is returned to the equipment, the equipment prompts no orders through voice, and the process is finished;
5) the system inquires whether the equipment is delivered today, each equipment delivers one day, and all orders on the day are delivered;
6) if not, inquiring a small lattice subset 1 to be delivered at present and a small lattice subset 2 which is delivered on the past date and has not taken goods of the order, judging whether the small lattice subset 2 is empty, if so, calculating whether other customers have delivered and has not taken goods on the past date of the small lattice subset 1 to obtain a small lattice subset 3, judging whether the small lattice subset 3 is empty, if so, returning the small lattice subset 1 to the equipment, only opening small lattices of the subset 1 by the equipment, and ending the flow;
7) when the small lattice set 2 in the step 6 is not empty, returning the small lattice set 2 to the equipment, and opening only the small lattice of the set 2 by the equipment to finish the process;
8) when the small lattice set 3 is not empty in the step 6, comparing the small lattice set 1 with the small lattice set 3, calculating that the small lattice set 1 is not in the small lattice set 3, obtaining a small lattice set 4, returning the set 4 to the equipment, and if the set 4 is empty, not lifting the lock of the equipment, ending the process;
9) if the equipment is delivered on the current day, inquiring a small lattice set 1 delivered on the order today and a small lattice set 2 delivered on the last day and not taken, judging whether the small lattice set 2 is empty, if so, directly returning the small lattice set 1 to the equipment, opening a small lattice of the set 1 by the equipment, taking the order goods of the small lattice set 1 by a user, and ending the process;
10) when the set 2 is not empty in the step 9, comparing the small lattice set 1 with the small lattice set 2, calculating the small lattice set 2 but not the small lattice set 1 to obtain a small lattice set 3, judging whether the small lattice set 3 is empty, directly returning the small lattice set 1 to the equipment if the small lattice set 3 is empty, opening the small lattice of the set 1 by the equipment, and taking the order goods of the small lattice of the set 1 by the user;
11) if the set 3 in the step 10 is not empty, judging whether the small lattice set 3 is occupied by other clients today, if yes, returning the small lattice set 1, if not, returning all small lattices in the set 1 and the set 3 to the equipment, and ending the process;
according to the delivery method provided by the embodiment of the application, the order lattices in different states are determined by detecting whether the equipment is delivered on the same day, and the occupation and the goods taking states of the lattices on the same day and the last day are judged, so that the problem that the milk is taken every other day when different small lattices are occupied by orders on different dates in the period can be solved, the rapid and convenient delivery service is provided for users, the operation and maintenance cost of operators is saved, and the fresh milk self-extracting cabinet can realize accurate goods taking, and is more reliable and convenient.
Based on the foregoing embodiments, the present application provides a delivery apparatus, where the delivery apparatus includes modules and units included in the modules, and the modules and the units may be implemented by a processor in a computer device; of course, the implementation can also be realized through a specific logic circuit; in the implementation process, the processor may be a Central Processing Unit (CPU), a Microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 9 is a schematic structural diagram of a distribution apparatus provided in an embodiment of the present application, where thedistribution apparatus 900 is applied to a server, and as shown in fig. 9, thedistribution apparatus 900 includes:
afirst receiving module 901, configured to receive a request message sent by a distribution device, where the request message carries a device identifier and an unpacking password of the distribution device;
a first obtainingmodule 902, configured to, in response to the request message, obtain, based on the device identifier and the unpacking password, a target order corresponding to the unpacking password;
a second obtainingmodule 903, configured to obtain, when the target order is an effective order, a distribution state of the distribution device on a current date;
a first determiningmodule 904, configured to determine, based on the delivery status, an identifier of a target cell, where the target cell is a cell occupied by the target order by a current date;
afirst sending module 905, configured to send the identifier of the target cell to the distribution device, so that the distribution device controls the target cell to be opened.
In some embodiments, the first obtainingmodule 902 is further configured to:
acquiring an order form table of the distribution equipment according to the equipment identification, wherein the order form table comprises at least one order and a reference password corresponding to each order;
and under the condition that a target reference password matched with the unpacking password exists in the order table, determining the order corresponding to the target reference password as a target order.
In some embodiments, thedispensing device 900 further comprises:
the fourth acquisition module is used for acquiring the current date;
a second determining module for determining whether the current date is within a delivery period of the target order;
and a third determining module, configured to determine that the target order is a valid order when the current date is determined to be within the delivery cycle of the target order.
In some embodiments, the first determiningmodule 904 is further configured to:
determining delivery information of a first sub-order included in the target order according to the delivery state, wherein the first sub-order is a sub-order delivered by the target order on the current date, and the delivery information includes delivered information and to-be-delivered information;
acquiring state information of each second sub-order included in the target order, wherein different second sub-orders are sub-orders delivered by the target order on different historical dates, and the state information includes completed and incomplete;
under the condition that the distribution information of the first sub-order is distributed, acquiring the identifier of the occupied cell of the first sub-order to form a first identifier set;
and under the condition that the state information of each second sub-order is completed, determining each identifier in the first identifier set as the identifier of the target cell.
In some embodiments, the first determiningmodule 904 is further configured to:
under the condition that the state information of the second sub-orders is incomplete, acquiring identifiers of the cells occupied by the incomplete second sub-orders to form a second identifier set;
determining a union of the first identification set and the second identification set as a third identification set;
and determining each identifier in the third identifier set as the identifier of the target cell.
In some embodiments, the first determiningmodule 904 is further configured to:
under the condition that the distribution information of the first sub-order is not distributed, acquiring the identifier of the box to be occupied by the first sub-order to form a fourth identifier set;
under the condition that the state information of each second sub-order is completed, determining whether a target identifier exists in the fourth identifier set, wherein the target identifier is an identifier of a cell occupied by other orders except the target order in an order table;
and under the condition that the fourth identification set does not have the target identification, determining the identification in the fourth identification set as the identification of the target cell.
In some embodiments, the first determiningmodule 904 is further configured to:
under the condition that the target identification exists in the fourth identification set, other identifications except the target identification in the fourth identification set are formed into a fifth identification set;
and determining the identifier in the fifth identifier set as the identifier of the target cell.
In some embodiments, the first determiningmodule 904 is further configured to:
under the condition that the state information of the second sub-orders is incomplete, acquiring identifiers of the cells occupied by the incomplete second sub-orders to form a second identifier set;
and determining the identifiers in the second identifier set as the identifiers of the target cells.
In some embodiments, thedispensing device 900 further comprises:
a fifth obtaining module, configured to obtain status information of each second sub-order included in the target order when it is determined that the current date is not within a delivery cycle of the target order, where different second sub-orders are sub-orders delivered by the target order on different historical dates, where the status information includes completed and incomplete;
a sixth obtaining module, configured to, when there is a second sub-order whose status information is incomplete in each second sub-order, obtain an identifier of a cell occupied by the second sub-order whose status information is incomplete, and form a second identifier set;
a fourth determining module, configured to determine an identifier in the second identifier set as an identifier of the target cell;
and a fifth determining module, configured to determine that the target order is an invalid order when the status information of each second sub-order is completed.
In some embodiments, thedispensing device 900 further comprises:
a sixth determining module, configured to determine that there is no target order corresponding to the unpacking password when there is no target reference password matching the unpacking password in the order table;
and the third sending module is used for sending a first message to the distribution equipment, wherein the first message represents that the target order corresponding to the unpacking password does not exist in the order table, so that the distribution equipment outputs prompt information of unpacking failure.
On the basis of the foregoing embodiments, an embodiment of the present application further provides a dispensing apparatus, which is applied to a dispensing device, and the dispensing apparatus includes:
the third acquisition module is used for responding to the unpacking operation executed by the user and acquiring the unpacking password;
the second sending module is used for sending a request message carrying the equipment identifier of the distribution equipment and the unpacking password to a server so that the server can obtain a target order corresponding to the unpacking password based on the equipment identifier and the unpacking password;
a second receiving module, configured to receive an identifier of a target cell that is determined by the server according to a delivery status of the delivery device on a current date, where the target cell is a cell occupied by the target order by the current date;
and the control module is used for controlling the opening of the box door of the target box.
Here, it should be noted that: the above description of the dispenser embodiments, similar to the above description of the method, has the same advantages as the method embodiments. For technical details not disclosed in the embodiments of the dispensing device of the present application, a person skilled in the art shall understand with reference to the description of the embodiments of the method of the present application.
It should be noted that, in the embodiment of the present application, if the distribution method is implemented in the form of a software functional module and sold or used as a standalone product, the distribution method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Accordingly, embodiments of the present application provide a computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the steps in the distribution method provided in the above embodiments.
An electronic device is provided in an embodiment of the present application, fig. 10 is a schematic diagram of a composition structure of the electronic device provided in the embodiment of the present application, and according to an exemplary structure of theelectronic device 1000 shown in fig. 10, other exemplary structures of theelectronic device 1000 can be foreseen, so that the structure described herein should not be considered as a limitation, for example, some components described below may be omitted, or components not described below may be added to adapt to special requirements of some applications.
Theelectronic apparatus 1000 shown in fig. 10 includes: a processor 1001, at least onecommunication bus 1002, auser interface 1003, at least oneexternal communication interface 1004, and amemory 1005. Wherein thecommunication bus 1002 is configured to enable connective communication between these components. Among other things, theuser interface 1003 may include adisplay panel 10031, and theexternal communication interface 1004 may include a standard wired interface and a wireless interface. The processor 1001 is configured to execute a program of the fault storage method stored in the memory to implement the steps in the fault storage method provided in the above embodiment.
The above description of the electronic device and storage medium embodiments, similar to the description of the method embodiments above, has similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the electronic device and the storage medium of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
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; can be located in one place or 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, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a product to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.