Invention content
In view of this, the embodiment of the present invention is designed to provide a kind of vehicle worksheet processing method, apparatus and server, to change
The kind above problem.
For the target for reaching above-mentioned, technical solution provided by the invention is as follows:
In a first aspect, an embodiment of the present invention provides a kind of vehicle worksheet processing method, it is applied to connect with user terminal communication
Server, the vehicle of the user terminal and special train driver binds, the method includes:
The off-running time of the vehicle is estimated according to the history order of user terminal record and place of returning the vehicle to the garage and knock off;
According to the current location of the vehicle and the place of returning the vehicle to the garage and knock off, estimates the vehicle and travelled from current location to institute
State the running time in place of returning the vehicle to the garage and knock off;
It is described by destination when matching with the running time time difference of current time and the off-running time
The order that place region or destination are the place direction of returning the vehicle to the garage and knock off that returns the vehicle to the garage and knock off preferentially is pushed to the user terminal.
Optionally, the method further includes:
It is the place location of returning the vehicle to the garage and knock off by destination when request is returned the vehicle to the garage and knock off in the preparation for receiving the user terminal uploads
Domain or destination are that the order of the place direction of returning the vehicle to the garage and knock off preferentially is pushed to the user terminal.
Optionally, described when matching with the running time time difference of current time and the off-running time, packet
It includes:
When the time difference and the running time difference in scheduled difference range or the time difference with it is described
When the ratio of running time is in scheduled ratio range.
Optionally, described by destination is described to return the vehicle to the garage and knock off place region or destination is the place place side of returning the vehicle to the garage and knock off
To order be preferentially pushed to the user terminal, including:
According to the order that destination is the place region of returning the vehicle to the garage and knock off be highest priority or destination is described returns the vehicle to the garage and knock off
The order of place direction is that order is pushed to the user terminal by the mode of highest priority.
Optionally, off-running time and the receipts that the vehicle is estimated according to the history order of user terminal record
Vehicle place, including:
The time corresponding to last single order and place received every time according to the user terminal estimates the receipts
Vehicle time and the place of returning the vehicle to the garage and knock off.
Second aspect is applied to connect with user terminal communication an embodiment of the present invention provides a kind of vehicle worksheet processing device
Server, the vehicle of the user terminal and special train driver binds, and the vehicle worksheet processing device includes:
First computing module, for estimating when returning the vehicle to the garage and knock off of the vehicle according to the history order of user terminal record
Between and return the vehicle to the garage and knock off place;
Second computing module, for according to the vehicle current location and the place of returning the vehicle to the garage and knock off, estimate the vehicle
It is travelled from current location to the running time in the place of returning the vehicle to the garage and knock off;
Judgment module, for judge time difference of current time and the off-running time and the running time whether phase
Match;
Pushing module, for when matching with the running time time difference of current time and the off-running time,
It is described to return the vehicle to the garage and knock off place region or order that destination is the place direction of returning the vehicle to the garage and knock off preferentially is pushed to by destination
The user terminal.
Optionally, vehicle worksheet processing device further includes:
Receiving module, the preparation for receiving the user terminal uploads are returned the vehicle to the garage and knock off request;
The pushing module is additionally operable to
It is whole that return the vehicle to the garage and knock off place region or the destination are that the order of the place direction of returning the vehicle to the garage and knock off preferentially is pushed to the user
End.
Optionally, the pushing module is used to according to the order that destination is the place region of returning the vehicle to the garage and knock off be that highest is excellent
First grade or destination are that the order of the place direction of returning the vehicle to the garage and knock off is that order is pushed to the use by the mode of highest priority
Family terminal.
Optionally, last single order institute that first computing module is used to be received every time according to the user terminal is right
The time and place answered estimate the off-running time and the place of returning the vehicle to the garage and knock off.
The third aspect, an embodiment of the present invention provides a kind of server, the server is connect with user terminal communication, institute
It states user terminal and the vehicle of special train driver is bound, the server includes:
Memory;
Processor;And
Vehicle worksheet processing device, the vehicle worksheet processing device be installed in the memory and include one or more by described
The software function module that processor executes, the vehicle worksheet processing device include:
First computing module, for according to the history order of user terminal record estimate the vehicle off-running time and
It returns the vehicle to the garage and knock off place;
Second computing module, for according to the vehicle current location and the place of returning the vehicle to the garage and knock off, estimate the vehicle
It is travelled from current location to the running time in the place of returning the vehicle to the garage and knock off;
Judgment module, for judge time difference of current time and the off-running time and the running time whether phase
Match;
Pushing module, for when matching with the running time time difference of current time and the off-running time,
It is described to return the vehicle to the garage and knock off place region or order that destination is the place direction of returning the vehicle to the garage and knock off preferentially is pushed to by destination
The user terminal.
For the prior art, vehicle worksheet processing method, apparatus provided by the invention and server have following advantageous effect:
Vehicle worksheet processing method, apparatus provided by the invention and server can be recorded according to the history order of user terminal to be estimated
It calculates the off-running time of vehicle and place of returning the vehicle to the garage and knock off, and estimates vehicle and travelled from current location to the running time in place of returning the vehicle to the garage and knock off,
It is return the vehicle to the garage and knock off place region or mesh by destination when the time difference of current time and off-running time and running time match
Ground be that the return the vehicle to the garage and knock off order of place direction is preferentially pushed to user terminal.So, it is ensured that special train driver can be when returning the vehicle to the garage and knock off
Between reach place of returning the vehicle to the garage and knock off on time, facilitate special train driver to return the vehicle to the garage and knock off, promoted special train driver experience.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate
Appended attached drawing, is described in detail below.
Specific implementation mode
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below
Range, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing
The every other embodiment obtained under the premise of going out creative work, shall fall within the protection scope of the present invention.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.Meanwhile the present invention's
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
As shown in Figure 1, being that the server 100 that present pre-ferred embodiments provide shows with what user terminal 200 interacted
It is intended to.The server 100 is communicatively coupled by network 300 and one or more user terminals 200, logical to carry out data
Letter or interaction.The server 100 can be network server, database server etc..The user terminal 200 can be
People's computer (personal computer, PC), tablet computer, smart mobile phone, personal digital assistant (personal digital
Assistant, PDA) etc..
As shown in Fig. 2, being the block diagram of the server 100.The server 100 includes vehicle worksheet processing device
110, memory 130, processor 150 and communication unit 170, each element is directly or indirectly electrically connected between each other, with reality
The transmission or interaction of existing data.For example, these elements can be realized between each other by one or more communication bus or signal wire
It is electrically connected.Vehicle worksheet processing device 110 include it is at least one can be stored in the form of software or firmware (firmware) it is described
Software function module in memory 130.The processor 150 is for executing the executable mould stored in the memory 130
Block, such as software function module included by the vehicle worksheet processing device 110 and computer program etc..
Wherein, the memory 130 may be, but not limited to, random access memory (Random Access
Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable
Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only
Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only
Memory, EEPROM) etc..Wherein, memory 130 is for storing program, the processor 150 after receiving and executing instruction,
Execute described program.The communication unit 170 is used to establish the user terminal 200 and server 100 by the network 300
Communication unit 170 between communication connection.
Referring to Fig. 3, being the vehicle applied to vehicle worksheet processing device 110 shown in Fig. 2 that present pre-ferred embodiments provide
The flow chart of worksheet processing method.Detailed process shown in Fig. 3 will be described in detail below.
Step S101 estimates the off-running time of vehicle and place of returning the vehicle to the garage and knock off according to the history order of user terminal record.
Method provided in an embodiment of the present invention is applied to server 100, and server 100 passes through network 300 and user terminal
200 are communicatively coupled.
In the embodiment of the present invention, user terminal 200 and the vehicle of special train driver are bound, i.e., special train driver passes through the user
Terminal 200 carries out order (as drop drop is called a taxi).Server 100 is previously stored with the history order record of each user terminal 200,
The history order record include user terminal 200 every time (continuous) order when last list order corresponding to time and ground
Point.When carrying out order by user terminal 200, server 100 records special train driver according to the history order of user terminal 200
Estimate the off-running time of corresponding vehicle and place of returning the vehicle to the garage and knock off.For example, the time of certain special train driver last single order usually is basic
On all at 18 points or so, corresponding place is near the places A, then the off-running time of the vehicle of the estimation of server 100 special train driver
It it is 18 points, place of returning the vehicle to the garage and knock off is at A.
Step S102 according to the current location of vehicle and returns the vehicle to the garage and knock off place, estimates vehicle and is travelled from current location to returning the vehicle to the garage and knock off
The running time in place.
User terminal 200 is provided with positioning unit and can obtain its current position, when special train driver completes a upper list
After order, server 100 according to the current location of vehicle, return the vehicle to the garage and knock off place and automobile speedestimate goes out current location and travels to returning the vehicle to the garage and knock off ground
The running time of point.
Speed can be according to the normally travel speed determination that special train driver thinks, also can be true according to the speed limit situation of current region
It is fixed, it can also be determined according to the jam situation of present road, be not specifically limited in the embodiment of the present invention.
Step S103, judges whether current time and the time difference of off-running time match with running time, if so, holding
Row step S105.
It estimates vehicle to travel to the running time in place of returning the vehicle to the garage and knock off from current location, server 100 judges current time
Whether match with running time with the time difference of off-running time, if it is thening follow the steps S105.
In the embodiment of the present invention, the time difference of current time and off-running time match with running time refers to, the time
Difference and the difference of running time are in scheduled difference range (within such as 10 minutes) or the ratio of the time difference and running time
When being worth in scheduled ratio range (such as the ratio of the two is within 0.7-1.3), it is not specifically limited in the present embodiment.
Step S104, the preparation for receiving user terminal uploads are returned the vehicle to the garage and knock off request.
During worksheet processing, it can be uploaded and be prepared to server 100 by user terminal 200 when special train driver prepares to return the vehicle to the garage and knock off
Request return the vehicle to the garage and knock off to terminate order manually.The preparation that server 100 receives the upload of user terminal 200 is returned the vehicle to the garage and knock off request.
Step S105, by destination be return the vehicle to the garage and knock off place region or destination be return the vehicle to the garage and knock off place direction order it is excellent
First it is pushed to user terminal.
If the time difference of current time and off-running time match with running time, illustrate in current time, currently
Place order simultaneously to return the vehicle to the garage and knock off place nearby travel, when reach return the vehicle to the garage and knock off place when the time just differed with the off-running time estimated
It is not far.At this point, destination is to return the vehicle to the garage and knock off place region or destination is the order of place direction of returning the vehicle to the garage and knock off by server 100
Preferentially it is pushed to user terminal 200.In this way, when special train driver order and after send passenger to arrive at the destination, the time substantially with it is flat
When the time consistency that returns the vehicle to the garage and knock off.
Likewise, when server 100 receive user terminal 200 upload preparation return the vehicle to the garage and knock off request when, be also by destination
It returns the vehicle to the garage and knock off place region or destination is that the return the vehicle to the garage and knock off order of place direction is preferentially pushed to user terminal 200, so as to special
Vehicle driver picks up on the way last order in the way of recovery vehicle point, facilitates passenger, while maximizing the income of special train driver.
In the embodiment of the present invention, when server 100 receive user terminal 200 upload preparation return the vehicle to the garage and knock off request when, can will
Destination is to return the vehicle to the garage and knock off place region or destination is that the return the vehicle to the garage and knock off order of place direction is preferentially pushed to user terminal
200.Certainly, in some other embodiments, when the preparation that server 100 receives the upload of user terminal 200 is returned the vehicle to the garage and knock off request
When, it also can directly stop pushing order to user terminal 200, can specifically be set according to actual conditions.
It is to return the vehicle to the garage and knock off place region or destination is place direction of returning the vehicle to the garage and knock off by destination in the embodiment of the present invention
Order is preferentially pushed to user terminal, according to destination be the return the vehicle to the garage and knock off order of place region is highest priority, or
It is that order is pushed to the user terminal by the mode of highest priority that destination, which is the return the vehicle to the garage and knock off order of place direction,.Purpose
Ground be return the vehicle to the garage and knock off place region refer to destination and return the vehicle to the garage and knock off in the same compass of competency or destination and the ground that returns the vehicle to the garage and knock off away from
From in a certain distance range (such as 3 kilometers).
In conclusion vehicle worksheet processing method provided in an embodiment of the present invention, can remember according to the history order of user terminal
Record estimates the off-running time of vehicle and returns the vehicle to the garage and knock off place, and estimates vehicle and travelled from current location to returning the vehicle to the garage and knock off place when driving
Between, it is place region of returning the vehicle to the garage and knock off by destination when matching with running time the time difference of current time and off-running time
Or destination is that the return the vehicle to the garage and knock off order of place direction is preferentially pushed to user terminal.So, it is ensured that special train driver can receive
The vehicle time just reaches place of returning the vehicle to the garage and knock off, and is rationally special train driver's specification order stroke, special train driver is facilitated to return the vehicle to the garage and knock off on time, is promoted special
Vehicle driver experiences.Meanwhile when server 100 receive user terminal 200 upload preparation return the vehicle to the garage and knock off request when, be also by destination
It returns the vehicle to the garage and knock off place region or destination is that the return the vehicle to the garage and knock off order of place direction is preferentially pushed to user terminal 200, so as to special
Vehicle driver picks up on the way last order in the way of recovery vehicle point, facilitates passenger, while maximizing the income of special train driver.
Referring to Fig. 4, being the function module for the vehicle worksheet processing device 110 shown in Fig. 2 that present pre-ferred embodiments provide
Schematic diagram.The vehicle worksheet processing device 110 include the first computing module 111, the second computing module 112, judgment module 113,
Pushing module 114 and receiving module 115.
First computing module 111 is used to estimate the off-running time of vehicle according to the history order of user terminal 200 record
With place of returning the vehicle to the garage and knock off.
It should be understood that first computing module 111 can be used for executing above-mentioned step S101.
Second computing module 112 is used for the current location according to vehicle and place of returning the vehicle to the garage and knock off, and estimates vehicle from current location
It travels to the running time in place of returning the vehicle to the garage and knock off.
It should be understood that second computing module 112 can be used for executing above-mentioned step S102.
Judgment module 113 is for judging whether current time and the time difference of off-running time match with running time.
It should be understood that the judgment module 113 can be used for executing above-mentioned step S103.
The preparation that receiving module 115 is used to receive user terminal uploads is returned the vehicle to the garage and knock off request.
It should be understood that the receiving module 115 can be used for executing above-mentioned step S104.
Pushing module 114 is used to destination be to return the vehicle to the garage and knock off place region or destination is place direction of returning the vehicle to the garage and knock off
Order is preferentially pushed to user terminal.
It should be understood that the pushing module 114 can be used for executing above-mentioned step S105.
In conclusion vehicle worksheet processing device 110 provided in an embodiment of the present invention, it can be according to the history order of user terminal
Record estimates the off-running time of vehicle and place of returning the vehicle to the garage and knock off, and estimates vehicle and travelled from current location to the traveling in place of returning the vehicle to the garage and knock off
Destination is place location of returning the vehicle to the garage and knock off when matching with running time the time difference of current time and off-running time by the time
Domain or destination are that the return the vehicle to the garage and knock off order of place direction is preferentially pushed to user terminal.So, it is ensured that special train driver can be
Off-running time just reaches place of returning the vehicle to the garage and knock off, and is rationally special train driver's specification order stroke, special train driver is facilitated to return the vehicle to the garage and knock off on time, promoted
Special train driver experiences.Meanwhile being also to return the vehicle to the garage and knock off ground by destination when request is returned the vehicle to the garage and knock off in the preparation for receiving the upload of user terminal 200
Point region or destination are that the return the vehicle to the garage and knock off order of place direction is preferentially pushed to user terminal 200, so as to special train driver
It picks up last order on the way in the way of recovery vehicle point, facilitates passenger, while maximizing the income of special train driver.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, the flow chart in attached drawing and block diagram
Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code
Part, a part for the module, section or code, which includes that one or more is for implementing the specified logical function, to be held
Row instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be to be different from
The sequence marked in attached drawing occurs.For example, two continuous boxes can essentially be basically executed in parallel, they are sometimes
It can execute in the opposite order, this is depended on the functions involved.It is also noted that every in block diagram and or flow chart
The combination of box in a box and block diagram and or flow chart can use function or the dedicated base of action as defined in executing
It realizes, or can be realized using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion
Point, can also be modules individualism, can also two or more modules be integrated to form an independent part.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.It needs
Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with
Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities
The relationship or sequence on border.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability
Contain, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes
Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device.
In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element
Process, method, article or equipment in there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and is explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.