Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the specification, as detailed in the appended claims.
The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the present specification. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The order distribution system receives orders to be distributed issued upstream, each order in a time period can be matched with each distribution party capable of receiving orders when the system distributes the orders, the order distribution calculation of each order distribution is one-time calling of an operation and research optimization algorithm, and the N orders are distributed to the M riders to find the distribution parties meeting the matching standard. The order distributed by the order distribution scheme is a proper distribution party selected in a fixed time period. The delivery party, i.e. the delivery capacity with delivery capability, in this embodiment means a party for delivering the articles, including but not limited to a dispenser, a robot, a drone or an unmanned vehicle, etc.
However, the distribution party may encounter many variables during the distribution process, such as traffic congestion, extended meal times, and so on. These factors cause the delivery side to time out when delivering certain orders. Then, from a certain point of view, the occurrence of an emergency, the previously selected suitable current delivery party, may not be suitable at the current moment.
The whole distribution process is changed in real time, the order distribution system cannot call distribution logic in real time to carry out operation planning calculation, and in consideration of other factors which may affect distribution efficiency after the order is distributed to a distributor for distribution, the embodiment hopes to provide a scheme which can continuously optimize the distributor for distributing the order after the distribution of the distribution order to the distributor, and how to continuously optimize the distributor corresponding to the order after the distribution of the order to the distributor is the difficulty of solving the problem. On one hand, because the distribution side is in the state of distributing the orders, it is very important how to determine the time for re-optimizing the orders, because the selection of the time can affect the optimization result of the orders, and if the orders are optimized and need to be re-distributed to other distribution sides, the distribution flow of the existing distribution side is interrupted, and if the optimization result is unreliable, the distribution efficiency and experience of the distribution side are seriously affected; on the other hand, the order distribution system has called an algorithm in advance to match the order to the delivery side, the reliability of the matching degree is actually high, and how to further improve the matching degree is also a difficult problem to be faced in the present case.
The embodiment of the specification creatively provides a solution, and in the distribution process based on the distribution parties, the distribution parties have a head-meeting event, for example, when waiting for meal at the doorway of a restaurant and at a red light at the intersection. These opportunities for end-to-end make it possible for orders that may have been delivered over time by the current delivery party to be forwarded to the delivery party more appropriate for delivery. According to the scheme of the embodiment, after the order is distributed to the delivery side, the target delivery side which is in an interaction range with the local side is determined, and the transfer order between the local side and the target delivery side is determined according to the unfinished order of the local side and the unfinished order of the target delivery side, so that the possibility that the order is suitable for the delivery side again is improved, the order receiving efficiency of an order system can be further improved, the human efficiency and the time efficiency are improved, and the cost of a platform is reduced.
The embodiments of the present invention will be described in detail below. Fig. 1A is a flowchart illustrating a delivery order processing method according to an exemplary embodiment, which may be applied to a client of a delivery party. The method comprises the following steps:
in step 102, searching communication signals, and after identifying a signal carrying a first identifier from the searched communication signals, determining a terminal sending the signal carrying the first identifier as a target distribution end;
in step 104, obtaining a transfer order between the local terminal and the target delivery terminal, wherein the transfer order is determined based on the incomplete order information of the local terminal and the incomplete order information of the target delivery terminal;
in step 106, the transfer processing flow of the transfer order is triggered to be executed.
In this embodiment, the delivery party may start delivery after acquiring the delivery order distributed by the order distribution system, and before delivering to the designated location, the delivery order is in an incomplete state, that is, the aforementioned incomplete order. In the process of processing the unfinished order, the distribution end can determine a target distribution end which is in an interaction range with the local end, namely, whether the distribution end of the local end collides with other distribution ends or not is determined, if the distribution end of the local end is determined to be in the interaction range with the local end, a subsequent processing flow can be triggered, for example, the unfinished order is optimized, so that whether the possibility of transferring the order exists between the distribution end of the local end and the target distribution end or not is found out.
In practical applications, there are many implementation manners for determining the target distribution end in the interaction range with the local end. In some examples, a trigger function may be provided in the client to the delivery party, the delivery party manually determines that other delivery parties are within the interaction range, and then the delivery party sends a message to the server by using the trigger function of the client to inform the server of the target delivery party within the interaction range with the client.
In other examples, the client may automatically determine the target delivery end within the interaction range with the home end, and may be implemented in various ways in practical applications. As an example, the client and the server cooperate to determine a target delivery end that is within an interaction range with the local end, the client may continuously send its geographic location information to the server, the server may continuously collect geographic location information of multiple clients, and the server determines which clients are within the interaction range by comparing the geographic location information of the clients. Or, each client may continuously communicate with the server, the server may obtain network parameters such as an IP address of each client, and the server determines which clients are in the interaction range by comparing geographical location information of each client.
In another example, the client may determine a target distribution end within an interaction range with the client, for example, each client may emit a specific sound wave, and the client may identify whether there is a target distribution end within an interaction range with the client by identifying whether there is another client in the periphery that emits the specific sound wave. Optionally, the sound wave in each client of the distribution party may carry the first identifier and a client identifier representing the local identifier, so that other clients can identify the target distribution end through the first identifier and the client identifier.
In other examples, communication signals sent by other distribution terminals can be acquired, and a target distribution terminal in an interaction range with the local terminal is determined. Optionally, each client of the distribution party can send a communication signal for other distribution parties to search; each client of the distribution party identifies a signal carrying the first identifier from the searched communication signals by searching the communication signals to determine whether other clients of the distribution party exist at the periphery, and determines a terminal sending the specific signal as a target distribution end, so that the target distribution end of which the periphery has an interaction range with the local terminal can be determined.
In some examples, the communication signal sent by the client of the distribution party may carry a first identifier, and optionally, the first identifier may include an identifier characterizing the client of the distribution party, where the first identifier may be flexibly configured as required, and the first identifier is used to identify the client of the distribution party, so that other clients can identify the communication signal sent by the client of the distribution party to distinguish the communication signal sent by the client of the non-distribution party.
Optionally, in order to identify more accurately, the determining the target distribution end in the interaction range with the local end may include: and determining a target distribution end in an interaction range with the local end according to the strength and/or duration of the communication signal. In this embodiment, if the distance between the two clients of the delivery party is short, the strength of the detected communication signal is stronger, so that whether the two clients are in the interaction range can be determined according to the strength of the communication signal; if the two sending party clients are continuously in the interaction range, the sending party client can continuously detect the communication signal within a certain time, so that the communication signal can be continuously detected within the set time by continuously detecting the communication signal within the set time, namely, the target sending party in the interaction range with the local terminal can be determined by the duration of the detected communication signal. As an example, a signal carrying a first identifier may be identified from the searched communication signals, the duration of the signal carrying the first identifier is obtained, and after it is determined that the duration meets a set duration threshold, the distribution end that sends the signal carrying the first identifier is determined to be the target distribution end.
In some examples, the communication signal may be a bluetooth signal or a WiFi signal. For example, in one aspect, the electronic device where the client of the distribution party is located turns on the bluetooth module to continuously send out bluetooth signals, or continuously sends out communication signals as WiFi hotspots, so that other client of the distribution party can search for the signals and determine whether the two are in the interaction range. On the other hand, the local distribution client also continuously searches whether or not there is another distribution client in the periphery. The first Identifier of the communication signal may be carried in a name of the communication signal, for example, a name of a bluetooth signal or a hotspot name (Service Set Identifier) of a WiFi signal, and the other distribution client may quickly identify the other distribution client in the search signal by the name of the communication signal.
In addition to the manner in which the distribution side client sends the communication signal, in another example, the target communication terminal may be configured at a specific location, the target communication terminal is used to send the communication signal, and each distribution side client searches the communication signal sent by the target communication terminal and sends the search result, such as the strength and duration of the communication signal, to the server, so that the server determines the distribution terminal in the interaction range according to the strength and frequency of the communication signal sent by the distribution terminal that obtains the same target communication terminal. The configuration position of the target communication terminal can be flexibly configured according to actual service scenes and requirements, for example, the target communication terminal can be configured at a merchant side, and when each distribution party arrives at the merchant to receive the distribution articles, each distribution party determines the target distribution terminal in an interaction range with the local terminal based on a communication signal sent by the target communication terminal. In other examples, the target communication terminal may also be configured at an office building, a traffic intersection, or other locations, where each distributor usually stays for a certain time, and each distributor determines the target distribution terminal in the interaction range with the local terminal based on the communication signal sent by the target communication terminal. As an example, after a signal carrying a first identifier is identified from the searched communication signals, obtaining a duration of the signal carrying the first identifier and sending the duration to a server, obtaining the target distribution end determined by the server, where the target distribution end is determined by the server based on the following manner: and receiving the duration of the specific signals sent by each distribution end, and determining the distribution end with the same sent specific signals and the duration satisfying a set duration threshold as the target distribution end. In this embodiment, each distribution end sends the identified signal carrying the first identifier to the server end, and the server end determines which distribution ends are in the interaction range by receiving the signal carrying the first identifier sent by each distribution end.
After the distribution end determines a target distribution end which is in an interaction range with the local end, a transfer order between the local end and the target distribution end can be determined according to an unfinished order of the local end and an unfinished order of the target distribution end. The transfer order in this embodiment refers to an order that can be transferred from the local terminal to the target distribution terminal, or an order that can be transferred from the target distribution terminal to the local terminal. The transfer order of this embodiment is determined from the incomplete orders of the local terminal and the incomplete orders of the target delivery terminal. Wherein the transfer order comprises: the local terminal transfers the unfinished order to the order delivered by the target delivery terminal, and/or the unfinished order of the target delivery terminal is transferred to the order delivered by the local terminal.
The transfer order may refer to an order suitable for transfer between the local terminal and the target delivery terminal, and the transfer order may be determined based on similarity between the incomplete order information of the local terminal and the incomplete order information of the target delivery terminal, as an example. For example, the transfer order includes: the similarity between the incomplete orders of the local terminal and the local terminal is lower than that between the incomplete orders of the local terminal and the target delivery terminal, and/or the similarity between the incomplete orders of the target delivery side and the target delivery terminal is lower than that between the incomplete orders of the target delivery side and the local terminal. In this embodiment, when it is determined that two distributors meet, orders that have not been dispatched by the two distributors are collected, and these orders are likely to be more suitable for distribution by other distributors that are currently met by the dispatching distributor.
In practical applications, the determination manner of the transfer order may be various, for example, the determination manner may be determined according to the similarity between the incomplete orders of the local terminal and the incomplete orders of the target delivery terminal, for example, the overall similarity analysis is performed on all the incomplete orders of the local terminal and all the incomplete orders of the target delivery terminal, or the similarity analysis is performed on each incomplete order of the local terminal and all the incomplete orders of the target delivery terminal, and the similarity analysis is performed on each incomplete order of the target delivery terminal and all the incomplete orders of the local terminal. The consideration factor for measuring the similarity of two orders can be flexibly configured according to needs, for example, each order has an attribute, the similarity of two orders can be determined according to the similarity of at least one attribute information, and the attribute information for determining an order can include: the remaining number of outstanding orders, the delivery address of the order, the probability of timeout of the order, the delivery path of the order, the delivery direction of the order, or the location from which the delivered item was picked, among others.
In some examples, the determining process of the local terminal and the target client terminal within the interaction range with the local terminal may be determined by the service terminal, or the client terminal of the distributor determines and sends the determined result to the service terminal. The process of determining the order to be transferred can be determined by the delivery side or performed by the service side.
In some examples, the delivery end may calculate the transfer order, as an example, the delivery end needs to acquire unfinished order information of a target delivery end, and after sending an acquisition request carrying the information of the target delivery end to a service end, the delivery end may receive unfinished order information of the target delivery end returned by the service end according to the acquisition request, and calculate a similarity between the unfinished order information of the local end and the unfinished order information of the target delivery end to determine the transfer order.
In other examples, the service end may calculate a transfer order, and the delivery end may send the target delivery end information to the service end, so that the service end calculates the transfer order; as an example, the target delivery side information is used for instructing the service side to find out the incomplete order information of the target delivery side so as to calculate the transfer order; the target distribution end information may be flexibly configured according to needs, for example, the target distribution end information may include device information (for example, an MAC address of the device, etc.) of a device where the target distribution end is located, distribution party account information (for example, an account identifier of the distribution party, a mobile phone number of the distribution party, a name of the distribution party, etc.) of the login target distribution end, when the distribution party sends the target distribution end information to the service end, and can also simultaneously carry the information of the self equipment, the account information of the local distribution party, the sending time, the located geographic position and the like, and based on the information, after the service end obtains the target distribution end information sent by the local end, the transfer order can be calculated based on the incomplete order information of the local terminal and the incomplete order information of the target delivery terminal and then returned to the delivery terminal, so that the delivery terminal can obtain the transfer order returned by the service terminal.
In some examples, a machine learning model may be utilized to determine similarity of orders. By way of example, the server may be pre-trained with a machine learning model for determining order similarity, which may be computed using xgboost or a deep learning model such as a twin network, etc. The model can give out whether a pair of orders are similar or not, and also can give out a similarity value of the pair of orders, so that the detection and calculation of the subsequent order transfer possibility are facilitated. For example, all of the orders that were not completed by each of the two competing suppliers may be compared to find an order that is more suitable for delivery by the other.
Optionally, after determining the similarity between the two orders, it is necessary to measure whether the order is more suitable for distribution by other distribution parties. Optionally, the obtaining manner of the transfer order includes any one of the following: comparing and determining the overall similarity of each unfinished order of the local terminal and all unfinished orders of the local terminal with the overall similarity of each unfinished order of the local terminal and all unfinished orders of the target delivery terminal; or comparing and determining the similarity between each incomplete order of the target delivery end and all the incomplete orders of the target delivery end with the similarity between each incomplete order of the target delivery end and all the incomplete orders of the local end. During specific implementation, the similarity between each order and all other unfinished orders of the delivery party carrying the order can be calculated to obtain an overall similarity Si, the overall similarity Si is compared with all the orders of the target delivery party to obtain an overall similarity value Sj, and when Sj is greater than Si, the order is more suitable for delivery by another delivery party.
After determining the transfer order, the transfer order can be an order transferred from the local terminal to the target delivery party, or an order transferred from the target delivery party to the local terminal; then, a transfer processing flow of the transfer order can be executed; the transfer processing flow of this embodiment may be configured with various implementation manners as needed, and as an example, optionally, a confirmation function of the transfer order may be further provided, so that the distributor determines whether to transfer or accept the transfer order. For example, if the transfer order is an order that the target delivery end does not complete the order and transfers the order to the local end for delivery, the transfer processing flow includes: after the transfer receiving operation of the distributor is obtained through the transfer determining function, the distributor is determined to receive the transfer order, so that the transfer order is determined to be successfully transferred to the local terminal, and whether the distributor of the local terminal needs to transfer the transfer order to a target distributor or not can be determined through the confirmation function of the transfer order; if the confirmed transfer operation of the distribution side of the local terminal is obtained through the confirmation function of the transfer order, the transfer order can be confirmed to be transferred to the target distribution side, and at the target distribution side, the target distribution side can confirm whether the distribution side of the target distribution side needs to accept the transfer order through the confirmation function of the transfer order. Similarly, at the local end, if the transfer order is an order that the target delivery end does not complete the transfer of the order to the local end for delivery, the transfer processing flow includes: and after obtaining the transfer receiving operation of the distributor through the transfer determining function, determining that the distributor receives the transfer order, thereby determining that the transfer order is successfully transferred to the local terminal.
Optionally, in another example, a prompt message for the transfer order may be output at the local end to prompt the delivery party that there is an order that can be transferred, where the prompt message includes: and the identification information of the distribution party corresponding to the target distribution end is used for the distribution party of the local end to identify the distribution party corresponding to the target distribution end through the identification information. In the case that the local delivery party and the target delivery party have a delivery order, the two delivery parties may need to deliver the delivered article, for example, the delivery party may pick up the article and need to hand the article to another delivery party, so the prompt message of the client may include the identification information of the delivery party corresponding to the target delivery party, so that the local delivery party can quickly identify the target delivery party corresponding to the target delivery party at the periphery through the identification information, where the identification information may be the head portrait information of the target delivery party. Optionally, the prompt message may further include transfer reason information of the transfer order, where the transfer reason information may be determined after the transfer order is determined, for example, the transfer order is transferred from the local terminal, and may be determined by analyzing information such as a delivery path of the transfer order and information such as a delivery path of an unfinished order at the local terminal. For example, the order to be transferred is transferred from the target delivery terminal, and the information such as the delivery path of the order to be transferred and the information such as the delivery path of the unfinished order at the local terminal can be analyzed to determine, so that the delivery side can be helped to better decide whether to accept or need to transfer the order to be transferred. After the distributor determines the transfer, the server may further perform other processing, such as modifying the order record, modifying the parameters related to the distributor in the order parameters of the transfer order, and planning the distribution path for the distributor again based on the new order due to the change in the order transmission of the distributor.
As shown in fig. 1B, which is a schematic page diagram of a distributor client according to an exemplary embodiment shown in this specification, in the example of fig. 1B, the distributor client shows a prompt message of a transfer order to remind the distributor that the order can be transferred, and at the same time, the client further provides a confirmation function of the transfer order, where the confirmation function of the transfer order may be a control provided in the client and triggered by a user, and the user can confirm whether to transfer the order; optionally, the prompt message further includes an avatar of the target delivery party, so that the delivery party at the home terminal can identify the target delivery party through the avatar. Optionally, the prompt message further includes transfer reason information of the transfer order, and the transfer reason information may be determined after the transfer order is determined, for example, the transfer order is transferred from the local terminal, and may be determined by analyzing information such as a delivery path of the transfer order and information such as a delivery path of an unfinished order at the local terminal.
As shown in fig. 1C, the schematic diagram of a page of a distributor client according to an exemplary embodiment is shown in this specification, where this embodiment shows a schematic diagram of transferring an order from a target distributor, and the distributor client shows a prompt message of the order to remind the distributor of having the order that can be transferred, where the order that can be transferred is specifically the order that is transferred from the target distributor, and meanwhile, the client further provides a confirmation function of the order to be transferred, where the confirmation function of the order to be transferred is specifically a control provided in the client and can be triggered by a user, so that the user can confirm whether to transfer the order; optionally, the prompt message further includes an avatar of the target delivery party, so that the delivery party at the home terminal can identify the target delivery party through the avatar. Optionally, the prompt message further includes transfer reason information of the transfer order, and the transfer reason information may be determined after the transfer order is determined, for example, the transfer order is transferred from the target delivery terminal, and may be determined by analyzing information such as a delivery path of the transfer order and information such as a delivery path of an unfinished order at the local terminal.
Next, a detailed description will be given by way of an embodiment. In the distribution order processing scheme of this embodiment, the distributor takes the rider as an example, and the communication signal takes the bluetooth beacon signal as an example, as shown in fig. 2, the following five aspects can be included:
1) judging whether a rider head-touching event occurs or not by using beacon signals
The rider cell-phone can send beacon signal with certain frequency at the rider in-process of sending the order, also can receive beacon signal simultaneously. When two riders meet, the mobile phones of the two riders search for the beacon signal of the other rider. Based on this, the type and frequency of beacon signals received on each of the rider handsets can be analyzed. If the beacon signal is detected continuously, the duration of the detected beacon signal can be determined to exceed a threshold, and the two riders can be determined to meet each other for a certain time and have the opportunity of single-change operation.
2) Enquiring unported orders on rider
In this step, orders that have not been dispatched yet on both riders may be collected, which may be more suitable for dispatch by the rider encountered on the way of the current dispatching rider, and therefore, it is necessary to count the orders on both meeting riders in the event of a detected meeting.
3) Order similarity model
After querying the set of orders that meet on the rider, it is necessary to detect whether some of the two riders' outstanding orders are more appropriately diverted to the other rider. Thus, there is a need for a model that compares the similarity of orders, which finds similar pairs of orders to determine if an order is more closely related to the attributes of all orders by another rider, such as order delivery direction, order pick-up location, etc.
The order similarity model may be calculated using a conventional machine learning model such as xgboost or a deep learning model such as a twin network, etc. The model can give out whether a pair of orders are similar or not, and also can give out a similarity value of the pair of orders so as to facilitate the detection and calculation of the possibility of transferring orders subsequently.
4) Calculating the similarity of the orders on two riders, and finding out a combined transfer order
At this time, all the incomplete orders on the two riders need to be compared, and an order more suitable for the other rider to distribute needs to be found out. The method comprises the following specific steps: and calculating the similarity of each order and all other unfinished orders of the rider carrying the order to obtain an overall similarity Si, comparing the overall similarity Si with all the orders of the rider at the head collision to obtain an overall similarity value Sj, and when Sj is larger than Si, representing that the order is more suitable for the other rider to deliver.
5) Transfer order
After several current steps have determined which of the incomplete orders are more suitable for the meeting rider to dispatch, this step requires that the order to be forwarded to another meeting rider in the dispatch system. As an example, the server may rewrite a dispatch record in the order system. At the client side, a prompt message for the transfer order may be output.
Fig. 3 is a flowchart illustrating a delivery order processing method according to an exemplary embodiment, where the method is applied to a server, and the method includes:
in step 302, first distribution end information and at least one second distribution end information within an interaction range with the first distribution end are obtained. The first distribution end information and the second distribution end information are determined by identifying a signal carrying a first identifier from the searched communication signals by using the first distribution end;
in step 304, a transfer order between the first distribution terminal and the second distribution terminal is calculated based on the incomplete order information of the first distribution terminal and the incomplete order information of the second distribution terminal.
In step 306, a transfer process is executed according to the calculated order information of the transfer order.
In some examples, the transfer process flow includes:
and updating the unfinished order information of the first distribution end and the unfinished order information of the second distribution end by using the order information of the transfer order, and respectively sending the updated order information to the first distribution end and the second distribution end.
In some examples, the transfer process flow includes:
and sending the order information of the transfer order to the first distribution end and the second distribution end to prompt whether the first distribution end and the second distribution end execute a transfer processing flow of the transfer order or not.
In some examples, the transfer order includes: the local terminal transfers the unfinished order to the order delivered by the target delivery terminal, and/or the unfinished order of the target delivery terminal is transferred to the order delivered by the local terminal.
In some examples, the transfer order is determined based on a similarity between the local incomplete order information and the target delivery side incomplete order information.
In some examples, the transfer order includes: the order with the similarity lower than that of the second distribution end in the unfinished orders of the second distribution side and/or the order with the similarity lower than that of the first distribution end in the unfinished orders of the second distribution side.
In some examples, the obtaining manner of the transfer order includes any one of the following:
comparing and determining the overall similarity of each unfinished order information of the first distribution end with all unfinished order information of the first distribution end, and the overall similarity of each unfinished order information of the first distribution end with all unfinished order information of the second distribution end; or the like, or, alternatively,
and comparing the overall similarity of each unfinished order information of the second distribution end with all the unfinished order information of the second distribution end, and determining the overall similarity of each unfinished order information of the second distribution end with all the unfinished order information of the first distribution end.
Corresponding to the foregoing embodiments of the delivery order processing method, the present specification also provides embodiments of a delivery order processing apparatus and a computer device to which the delivery order processing apparatus is applied.
The embodiments of the distributed order processing apparatus described herein can be applied to a computer device, such as a smart phone, a tablet computer, a personal digital assistant, a multimedia player, or a server device. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a device in a logical sense, the device is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory for operation through a processor in which the processor is located to process a delivery order. From a hardware aspect, as shown in fig. 4, which is a hardware structure diagram of an electronic device in which a delivery order processing apparatus is located in the present specification, except for the processor 410, the memory 430, the network interface 420, and the nonvolatile memory 440 shown in fig. 4, a computer device in which the delivery order processing apparatus 431 is located in an embodiment may also include other hardware according to an actual function of the computer device, which is not described again.
As shown in fig. 5, fig. 5 is a block diagram of a delivery order processing apparatus according to an exemplary embodiment, the apparatus being applied to a delivery side, the apparatus including:
a determining module 51 for: searching communication signals, and determining a terminal which sends the signals carrying the first identification as a target distribution end after identifying the signals carrying the first identification from the searched communication signals;
an order acquisition module 52 for: acquiring a transfer order between a local terminal and the target delivery terminal, wherein the transfer order is determined based on the similarity between the incomplete order information of the local terminal and the incomplete order information of the target delivery terminal;
an execution module 53, configured to: and triggering and executing the transfer processing of the transfer order.
In some examples, the determining module 51 is further configured to:
identifying a signal carrying a first identifier from the searched communication signals, acquiring the duration of the signal carrying the first identifier, and determining that the delivery end sending the signal carrying the first identifier is the target delivery end after determining that the duration meets a set duration threshold.
In some examples, the determining module 51 is further configured to:
after a signal carrying a first identifier is identified from the searched communication signals, obtaining the duration of the signal carrying the first identifier and sending the duration to a server, and obtaining the target distribution end determined by the server, wherein the target distribution end is determined by the server in the following way: and receiving the duration of the signals carrying the first identification sent by each distribution end, and determining the distribution end which has the same sent signals carrying the first identification and the duration of which meets a set duration threshold as the target distribution end.
In some examples, the specific signal carrying the first identifier is transmitted by a terminal located at a specific location.
In some examples, the first identifier is carried in a name of the communication signal.
In some examples, the order obtaining module 52 is further configured to:
and after sending an acquisition request carrying the information of the target delivery end to a server, receiving the unfinished order information of the target delivery end returned by the server according to the acquisition request, and calculating the transfer order according to the unfinished order information of the local end and the unfinished order information of the target delivery end.
In some examples, the order obtaining module 52 is further configured to:
sending the target distribution end information to a server end so that the server end can calculate the transfer order;
and acquiring the transfer order returned by the server.
In some examples, the transfer order includes: the local terminal transfers the unfinished order to the order delivered by the target delivery terminal, and/or the unfinished order of the target delivery terminal is transferred to the order delivered by the local terminal.
In some examples, the transfer order is determined based on a similarity between the local incomplete order information and the target delivery side incomplete order information.
In some examples, the transfer order includes: the similarity between the incomplete orders of the local terminal and the local terminal is lower than that between the incomplete orders of the local terminal and the target delivery terminal, and/or the similarity between the incomplete orders of the target delivery side and the target delivery terminal is lower than that between the incomplete orders of the target delivery side and the local terminal.
In some examples, the obtaining manner of the transfer order includes any one of the following:
comparing and determining the overall similarity between each unfinished order information of the local terminal and all unfinished order information of the local terminal and the overall similarity between each unfinished order information of the local terminal and all unfinished order information of the target delivery terminal; and/or the presence of a gas in the gas,
and comparing the similarity of each unfinished order of the target delivery end with all unfinished orders of the target delivery end, and determining the similarity of each unfinished order of the target delivery end with all unfinished orders of the local end.
In some examples, the apparatus further comprises a signaling module to: and sending out a communication signal for other distribution terminals to search.
In some examples, the communication signal includes any of: bluetooth signals or WiFi signals.
In some examples, the execution module 53 is further configured to:
and providing a transfer determining function for the transfer order, and acquiring the triggering operation of the distributor through the transfer determining function to determine whether the distributor at the local end needs to transfer or accept the transfer order.
In some examples, the execution module 53 is further configured to:
the transfer order is an order which is transferred to the local terminal for delivery by the unfinished order of the target delivery terminal, and the transfer processing flow comprises the following steps: and after obtaining the transfer receiving operation of the distributor through the transfer determining function, determining that the distributor receives the transfer order, thereby determining that the transfer order is successfully transferred to the local terminal.
In some examples, the execution module 53 is further configured to:
and outputting a prompt message for the transfer order at the local terminal.
In some examples, the prompting message includes: and the identification information of the distribution party corresponding to the target distribution end is used for the distribution party of the local end to identify the distribution party corresponding to the target distribution end through the identification information.
Accordingly, the present specification also provides a delivery order processing apparatus, as shown in fig. 6, which is applied to a server side, and the apparatus may include:
an information obtaining module 61, configured to: acquiring first distribution end information and at least one second distribution end information in an interaction range with the first distribution end; the first distribution end information and the second distribution end information are determined by identifying a signal carrying a first identifier from the searched communication signals by using the first distribution end;
a calculation module 62 for: calculating a transfer order between the first distribution end and the second distribution end based on the unfinished order information of the first distribution end and the unfinished order information of the second distribution end;
an execution module 63 configured to: and executing transfer processing according to the calculated order information of the transfer order.
In some examples, the execution module 63 is further configured to:
and updating the unfinished order information of the first distribution end and the unfinished order information of the second distribution end by using the order information of the transfer order, and respectively sending the updated order information to the first distribution end and the second distribution end.
In some examples, the execution module 63 is further configured to:
and sending the order information of the transfer order to the first distribution end and the second distribution end to prompt whether the first distribution end and the second distribution end execute a transfer processing flow of the transfer order or not.
In some examples, the transfer order includes: the local terminal transfers the unfinished order to the order delivered by the target delivery terminal, and/or the unfinished order of the target delivery terminal is transferred to the order delivered by the local terminal.
In some examples, the transfer order is determined based on a similarity between the local incomplete order information and the target delivery side incomplete order information.
In some examples, the transfer order includes: the order with the similarity lower than that of the second distribution end in the unfinished orders of the second distribution side and/or the order with the similarity lower than that of the first distribution end in the unfinished orders of the second distribution side.
In some examples, the calculation of the transfer order includes any of the following:
the overall similarity of each unfinished order information of the first distribution end and all unfinished order information of the first distribution end is compared with the overall similarity of each unfinished order information of the first distribution end and all unfinished order information of the second distribution end to obtain the overall similarity; or the like, or, alternatively,
and comparing and calculating the overall similarity of each unfinished order information of the second distribution end with all the unfinished order information of the second distribution end, and the overall similarity of each unfinished order information of the second distribution end with all the unfinished order information of the first distribution end.
Accordingly, the present specification further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the delivery order processing method of fig. 1A.
Accordingly, the present specification further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the delivery order processing method of fig. 3.
The implementation process of the function and the action of each module in the delivery order processing apparatus is specifically detailed in the implementation process of the corresponding step in the delivery order processing method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in the specification. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Other embodiments of the present description will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This specification is intended to cover any variations, uses, or adaptations of the specification following, in general, the principles of the specification and including such departures from the present disclosure as come within known or customary practice within the art to which the specification pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the specification being indicated by the following claims.
It will be understood that the present description is not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
The above description is only a preferred embodiment of the present disclosure, and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.