A kind of method and apparatus that order distribution information is provided
Technical field
Match somebody with somebody the present invention relates to computer and its software technology field, more particularly to a kind of order that provides
Deliver letters the method and apparatus of breath.
Background technology
After client buys commodity from e-commerce website, website generates corresponding order;For
The client can be allowed to have a clear understanding of the state of order, website is according to the transport of the parcel of order in net
The physical state information of order is updated on standing, so as to allow client to understand the thing of order
Flow state information, reasonable arrangement oneself is received the time.
At present, logistics express company is generally by showing that business operation temporal information informs that client orders
Single physical state, client can substantially speculate that order is sent to according to order logistic track information when
Between.Assuming that current order logistic track information is as follows:
T1:2015-12-08 09:55:05 you have submitted order, ask waiting system confirm;
T2:2015-12-08 09:55:18 your orders come into A storehouses and prepare outbound;
T3:2015-12-08 09:55:18 your orders are sent in your hand estimated December 08;
T4:2015-12-08 09:57:12 your orders, which have been printed, to be finished;
T5:2015-12-08 10:09:41 your order pickings are completed;
T6:2015-12-08 10:20:38 scanning persons are scanned;
T7:2015-12-08 10:23:16 pack successfully;
T8:2015-12-08 14:31:29 your orders exist【B RDCs】Sorting is completed;
T9:2015-12-08 14:31:59 your orders exist【B RDCs】Delivery is completed,
Preparation is sent to【C stands】;
T10:2015-12-08 15:23:26 your orders exist【C stands】Examine goods completion, divide
With dispatching person;
T11:2015-12-08 15:41:42 dispatching persons【Zhang San】It has been set out that, telephone number
13812345678, thank to your bear with!;
T12:2015-12-08 18:50:19 your orders have been completed, and welcome you to come again!
Order logistic track information more than, when client sees sequence number T3 information, knows
Road order is sent to estimated December 08;When client sees sequence number T11 information, Ke Huzhi
The parcel of oneself order has been mounted on the dispensing vehicle of the dispatching person by road dispatching person, through preparing
Give him delivery.
When dispatching person has multiple orders to need dispatching, the corresponding client of each order sees
It is that such as T11 information, client is not aware that oneself order specifically dispatching order and time, thus
In the anticipation of order delivery time it is not very accurate, it is impossible to which reasonable arrangement oneself is received the time,
The dispatching success rate of dispatching person is not only have impact on, the shopping of client is also have impact on to a certain extent
Experience.
The content of the invention
In view of this, the present invention provides a kind of method and apparatus for providing order distribution information, visitor
Family can determine that the current dispatching of oneself order is suitable by currently provided order distribution information
Sequence and distribution time scope, so as to reasonably arrange receiving the time for oneself, are not only improved
The dispatching success rate of dispatching person, also improves the purchase experiences of client to a certain extent.
To achieve the above object, according to an aspect of the invention, there is provided a kind of provide order
The method of distribution information.
The method of the offer order distribution information of the present invention includes:Receive and start entrucking instruction, so
The entrucking order of order is recorded afterwards;Entrucking END instruction is received, it is then suitable according to the entrucking of order
Sequence determines the dispatching order of order;According to the distribution time of first order on default car, pre-
If car on last order distribution time and quantity on order calculate obtain on car own
The average dispatching duration of order, duration is averagely dispensed further according to this and determines matching somebody with somebody for each order on car
Send the time;By the distribution time scope belonging to the distribution time of the dispatching order of order and order
It is supplied to the client corresponding to each order.
Alternatively, include before the step of entrucking order of the record order:Receive on order
Bar code information;And the entrucking order of the record order is to receive the bar code on the order
The order of information.
Alternatively, the step of entrucking order according to order determines the dispatching order of order is wrapped
Include:The entrucking order of order is reversed, then the order after arrangement is regard as order
Dispatching order.
Alternatively, it is described according to the distribution time of first order, default car on default car
The distribution time and quantity on order of last upper order, which are calculated, obtains all orders on car
Distribution time is averaged the step of determining the distribution time of each order on car to include:According to as follows
Formula calculates the average dispatching duration of all orders on car:On car during the average dispatching of all orders
Long=(first order is matched somebody with somebody on the distribution time of last order-default car on default car
Send the time)/(quantity on order -1);The distribution time of each order on car is determined according to equation below:
On car on distribution time=car of n-th order first order distribution time+(N-1) × car
The average dispatching duration of upper all orders, N >=1, N is positive integer.
Alternatively, the dispatching by belonging to the distribution time of the dispatching order of order and order
Include after the step of time range is supplied to the client corresponding to each order:When completion dispatching
In order after the dispatching of the order of serial number 1, matching somebody with somebody for the order after the renewal of remaining order is calculated
Order is sent with the renewal for the dispatching order for completing remaining order, and according to the order of serial number 1
The distribution time that the dispatching deadline calculates the order after the renewal of remaining order is ordered with completing residue
The renewal of single distribution time, and by the dispatching order of the order after renewal and the dispatching of order
Distribution time scope belonging to time is supplied to corresponding to each order in the remaining order
Client.
Alternatively, the dispatching order for calculating the order after the renewal of remaining order is ordered with completing residue
The step of renewal of single dispatching order, includes:Order after updating is calculated according to equation below
Dispatching order:The dispatching order -1 of dispatching order=current order of order after renewal;Ought
The dispatching order of preceding order replaces with the dispatching order of the order after updating to complete the dispatching of order
The renewal of order.
Alternatively, remaining order is calculated more according to the dispatching deadline of the order of serial number 1
The step of renewal of the distribution time of order after new to complete the distribution time of remaining order, wraps
Include:The distribution time that the order of the serial number 1 is calculated according to equation below is poor:Serial number 1
Order distribution time difference=serial number 1 order dispatching deadline-serial number 1 order
Distribution time;The distribution time of the order after the renewal is calculated according to equation below:Update
During the dispatching of the order of distribution time+serial number 1 of distribution time=current order of order afterwards
Between it is poor;The distribution time of current order is replaced with the distribution time of the order after updating to complete
The renewal of the distribution time of order.
There is provided a kind of device for providing order distribution information according to another aspect of the present invention.
The device of the offer order distribution information of the present invention includes:Logging modle, is opened for receiving
Beginning entrucking is instructed, and then records the entrucking order of order;Determining module, for receiving entrucking knot
Shu Zhiling, then determines the dispatching order of order according to the entrucking of order order;Computing module,
According to last order on the distribution time of first order on default car, default car
Distribution time and quantity on order calculate the average dispatching duration for obtaining all orders on car, then
The distribution time that duration determines each order on car is averagely dispensed according to this;Module is provided, is used for
Distribution time scope belonging to the distribution time of the dispatching order of order and order is supplied to often
Client corresponding to individual order.
Alternatively, in addition to receiving module, for receiving the bar code information on order;And institute
The entrucking order for stating order is the order for receiving the bar code information on the order.
Alternatively, the determining module is additionally operable to be reversed the entrucking order of order,
Then using the order after arrangement as order dispatching order.
Alternatively, the computing module is additionally operable to calculate all orders on car according to equation below
Averagely dispense duration:The average dispatching duration of all orders on car=(on default car last
The distribution time of first order on the distribution time of order-default car)/(quantity on order -1);
The distribution time of each order on car is determined according to equation below;The dispatching of n-th order on car
On time=car on the distribution time of first order+(N-1) × car all orders average dispatching
Duration, N >=1, N is positive integer.
Alternatively, in addition to update module, for when completing ordering for serial number 1 in dispatching order
After single dispatching, the dispatching order for calculating the order after the renewal of remaining order is ordered with completing residue
The renewal of single dispatching order, and calculate surplus according to the dispatching deadline of the order of serial number 1
The distribution time of order after the renewal of remaining order is to complete the distribution time of remaining order more
Newly, during and by dispatching belonging to the distribution time of the dispatching of the order after renewal order and order
Between scope be supplied to client corresponding to each order in the remaining order.
Alternatively, the update module is additionally operable to calculate the order after updating according to equation below
Dispatching order:The dispatching order -1 of dispatching order=current order of order after renewal, then
The dispatching order of current order is replaced with the dispatching order of the order after updating to complete order
The renewal of dispatching order.
Alternatively, the update module is additionally operable to calculate the serial number 1 according to equation below
The distribution time of order is poor:The order of distribution time difference=serial number 1 of the order of serial number 1
Dispense the distribution time of the order of deadline-serial number 1;According to being calculated equation below more
The distribution time of order after new:During the dispatching of distribution time=current order of the order after renewal
Between+distribution time of the order of serial number 1 is poor;The distribution time of current order is replaced with into renewal
The distribution time of order afterwards is to complete the renewal of the distribution time of order.
Technique according to the invention scheme, due to can by accurately dispatching order and it is relatively small
Distribution time scope be supplied to client, thus client can be determined by order distribution information from
The current dispatching order and distribution time scope of own order, so as to reasonably arrange oneself
Receive the time, not only increase the dispatching success rate of dispatching person, also improve to a certain extent
The purchase experiences of client.
Brief description of the drawings
Accompanying drawing is used to more fully understand the present invention, does not constitute inappropriate limitation of the present invention.Wherein:
Fig. 1 is a kind of signal of the device of offer order distribution information according to embodiments of the present invention
Figure;
Fig. 2 is a kind of signal of the method for offer order distribution information according to embodiments of the present invention
Figure.
Embodiment
The one exemplary embodiment of the present invention is explained below in conjunction with accompanying drawing, including this hair
The various details of bright embodiment should think them only exemplary to help understanding.
Therefore, it will be appreciated by those of ordinary skill in the art that, the embodiments described herein can be done
Go out various changes and modifications, without departing from scope and spirit of the present invention.Equally, in order to clear
Chu and simplicity, eliminate the description to known function and structure in following description.
In the technical scheme of the embodiment of the present invention, the implication of the relevant information for the order being previously mentioned is all
Refer to the information of the parcel of the order;The entrucking order of such as order refers to that dispatching person will order
Single parcel loads onto the order of the dispensing vehicle of the dispatching person, and the dispatching order of order refers to that this is ordered
The dispatching order of single parcel.
Fig. 1 is a kind of signal of the device of offer order distribution information according to embodiments of the present invention
Figure.As shown in figure 1, the device 10 of the offer order distribution information of the embodiment of the present invention is mainly wrapped
Include logging modle 11, determining module 12, computing module 13 and module 14 is provided;Record
Module 11, which is used to receive, starts entrucking instruction, then records the entrucking order of order;Determining module
12 are used to receive entrucking END instruction, and the dispatching of order is then determined according to the entrucking of order order
Sequentially;Computing module 13 is used for according to the distribution time of first order on default car, default
Car on last order distribution time and quantity on order calculate obtain all on car order
Single average dispatching duration, the dispatching that duration determines each order on car is averagely dispensed further according to this
Time;There is provided module 14 is used for belonging to the distribution time of the dispatching order of order and order
Distribution time scope is supplied to the client corresponding to each order.
The device 10 of the offer order distribution information of the embodiment of the present invention may also include receiving module
(not shown), for receiving the bar code information on order;And the entrucking of the order
Order is that the order for receiving the bar code information on the order saves as the entrucking of order sequentially.
The determining module 12 of the device 10 of the offer order distribution information of the embodiment of the present invention may be used also
For the entrucking order of order to be reversed, then the order after arrangement is regard as order
Dispatching order.
The computing module 13 of the device 10 of the offer order distribution information of the embodiment of the present invention may be used also
Average dispatching duration for calculating all orders on car according to equation below:All orders on car
Average dispatching duration=(on default car on the distribution time of last order-default car
The distribution time of one order)/(quantity on order -1);According on car during the average dispatching of all orders
The long distribution time for determining each order on car;Distribution time=Che Shang of n-th order on car
The average dispatching duration of all orders on the distribution time of one order+(N-1) × car, N >=1,
N is positive integer.
The device 10 of the offer order distribution information of the embodiment of the present invention may also include update module
(not shown), for when complete dispatching order in serial number 1 order dispatching after,
The dispatching order of the order after the renewal of remaining order is calculated to complete the dispatching order of remaining order
Renewal, and calculate according to the dispatching deadline of the order of serial number 1 renewal of remaining order
The distribution time of order afterwards is to complete the renewal of the distribution time of remaining order, and after updating
Order dispatching order and order distribution time belonging to distribution time scope be supplied to institute
State the client corresponding to each order in remaining order.
The update module of the device 10 of the offer order distribution information of the embodiment of the present invention can be additionally used in
The dispatching order of the order after updating is calculated according to equation below:The dispatching of order after renewal is suitable
The dispatching order -1 of the order of sequence=current, then replaces with renewal by the dispatching order of current order
The dispatching order of order afterwards is with the renewal for the dispatching order for completing order.
The update module of the device 10 of the offer order distribution information of the embodiment of the present invention can be additionally used in
The distribution time that the order of the serial number 1 is calculated according to equation below is poor:Serial number 1 is ordered
The order of dispatching deadline-serial number 1 of the order of single distribution time difference=serial number 1 is matched somebody with somebody
Send the time;The distribution time of the order after the renewal is calculated according to equation below:After renewal
The distribution time of the order of distribution time+serial number 1 of distribution time=current order of order is poor;
The distribution time of current order is replaced with the distribution time of the order after updating to complete order
The renewal of distribution time.
Fig. 2 is a kind of signal of the method for offer order distribution information according to embodiments of the present invention
Figure.As shown in Fig. 2 the executive agent of this method dispenses for the offer order being previously mentioned in Fig. 1
The device 10 of information, mainly includes steps S20 to step S23.
Step S20:Receive and start entrucking instruction, then record the entrucking order of order.In the step
In rapid, start mark of the entrucking instruction for start recording order entrucking, this starts entrucking instruction can
With by dispatching person by click on it is corresponding entrucking button produce;Order distribution information dress is provided
Put 10 to receive after beginning entrucking instruction, receive dispatching person and pass through ordering that scanning device scanning is obtained
Bar code information on list;Then sequentially it regard the reception of bar code information on order as the entrucking of order
Order is recorded.
Step S21:Entrucking END instruction is received, order is then determined according to the entrucking of order order
Dispatching order.Entrucking END instruction in the step is similar with the beginning entrucking in step S20,
To terminate the mark of record order entrucking, the entrucking END instruction can equally be clicked on by dispatching person
Corresponding end entrucking button is produced;Order distribution information device 10 is provided and is receiving entrucking knot
After Shu Zhiling, then the entrucking order of order is completed with regard to record on car;Because dispatching person is in entrucking
During, the remote first entrucking of order dispatching distance, the near rear entrucking of order dispatching distance, therefore,
The entrucking order of order is carried out there is provided order distribution information device 10 after order entrucking terminates
Reverse, the order after arrangement is then being generated into order as the dispatching order of order
After dispatching order, dispatching person can matching somebody with somebody the order that deviation sequentially occurs during order entrucking
Order is sent to be finely adjusted.
Step S22:According on the distribution time of first order on default car, default car most
The distribution time and quantity on order of latter order, which are calculated, obtains being averaged for all orders on car
Duration is dispensed, the distribution time that duration determines each order on car is averagely dispensed further according to this.
In the step, on the distribution time and default car of first order on default car last
The distribution time of individual order is the setting rule of thumb carried out by dispatching person;In this, it is assumed that dispatching
The distribution time of first order is 9 on car set by member:00, on the car set by dispatching person
The distribution time of last order is 18:00, the quantity of order is 101 on car, then calculates car
The average dispatching duration of all orders on the average dispatching duration of upper all orders, car=
(18:00-9:00)/(101-1)=5.4 minute, that is, obtaining the duration of one order of dispatching needs 5.4
Minute, then the average dispatching duration further according to all orders on car determines each order on car
Distribution time;On car on distribution time=car of n-th order first order distribution time+
(N-1) the average dispatching duration of all orders on × car, N >=1, N is positive integer, then preceding 5
The distribution time of individual order is respectively:As N=1, then serial number 1 in dispatching order on car
The distribution time of order is the distribution time (i.e. 9 of first order on default car:00),
The distribution time for dispensing the order of serial number 2 is on the basis of serial number 1 plus 5.4 minutes, with
This analogizes, and can obtain the distribution time of the order in dispatching order corresponding to each sequence number.
Step S23:By the distribution time belonging to the distribution time of the dispatching order of order and order
Scope is supplied to the client corresponding to each order.In this step, distribution time scope is pre-
If identical duration time interval.Such as using 30 minutes as one time interval to dispatching when
Between scope divided, then 9:00 to 9:30 be a distribution time scope, 9:30 to 10:00
It is also a distribution time scope, naturally it is also possible to 15 minutes or 60 minutes for time zone
Between go divide distribution time scope.When step S22 is obtained in dispatching order corresponding to each sequence number
Order distribution time after there is provided dispatching of the order distribution information device 10 according to each order
Time determines the distribution time scope of each order, such as, using 30 minutes as one time zone
Between distribution time scope is divided, be 9 points when some order calculates obtained distribution time
22 points, then the distribution time scope belonging to the order is 9:00 to 9:30, then this is ordered again
Single dispatching order and corresponding distribution time are supplied to client, i.e., send out the distribution information of order
The client currently logged in client, after client logs in client, can also pass through point
The distribution information hit the button for obtaining distribution information and obtain current order.
(the dispatching herein after dispatching person completes the dispatching of the order of serial number 1 in dispatching order
Completion refers to that order is normally signed for by client or client rejects) there is provided order distribution information
Device calculate after the renewal of remaining order (order i.e. in addition to the order of serial number 1)
The dispatching order of order, wherein, the dispatching of the order of the dispatching of the order after renewal order=current
Sequentially -1;For example, being completed when the order of serial number 1 in dispatching order is dispensed, then dispense before suitable
The sequence number of the order of serial number 2 is just updated to 1 in sequence, by that analogy, will be in dispatching order
The sequence number of the order of other sequence numbers subtracts 1 with the renewal for the dispatching order for completing remaining order;Then
The device 10 for providing order distribution information is calculated according to the dispatching deadline of the order of serial number 1
The distribution time of order after the renewal of remaining order is to complete the distribution time of remaining order more
Newly, for example, the default distribution time of the order of serial number 1 is 9 in dispatching order:00, and be somebody's turn to do
The time that the actual dispatching of order is completed is 9:03, then distribution time difference=serial number 1 of order order
Distribution time=3 minute of the order of single dispatching deadline-serial number 1;If originally dispensed
The distribution time of the order of serial number 2 is 9 in order:05, then, order after renewal is matched somebody with somebody
Send the distribution time of the order of distribution time+serial number 1 of time=current order poor;Update
The distribution time of the order of original serial number 2 afterwards is updated to 9:08, by that analogy, obtain
The renewal time of remaining order in addition to the order of serial number 1, when the dispatching to all orders
After the completion of order and distribution time update, matching somebody with somebody belonging to the distribution time of each order is equally determined
Time range is sent, and by belonging to the distribution time of the dispatching order of the order after renewal and order
Distribution time scope be supplied to client corresponding to each order.
Technical scheme according to embodiments of the present invention, due to can by accurately dispatching order and phase
Client is supplied to less distribution time scope, thus client can pass through order distribution information
The current dispatching order and distribution time scope of oneself order is determined, so as to rational peace
Row's oneself receives the time, the dispatching success rate of dispatching person is not only increased, also to a certain degree
On improve the purchase experiences of client.
Above-mentioned embodiment, does not constitute limiting the scope of the invention.This area
Technical staff is it is to be understood that depending on design requirement and other factors, can occur various
Modification, combination, sub-portfolio and the replacement of various kinds.It is any within the spirit and principles in the present invention
Modifications, equivalent substitutions and improvements made etc., should be included within the scope of the present invention.