CN108520452A - Worksheet processing method, apparatus and server - Google Patents
Worksheet processing method, apparatus and server Download PDFInfo
- Publication number
- CN108520452A CN108520452A CN201810261004.3A CN201810261004A CN108520452A CN 108520452 A CN108520452 A CN 108520452A CN 201810261004 A CN201810261004 A CN 201810261004A CN 108520452 A CN108520452 A CN 108520452A
- Authority
- CN
- China
- Prior art keywords
- order
- distance
- terminal
- bus
- target terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 19
- 230000015654 memory Effects 0.000 claims description 25
- 238000012545 processing Methods 0.000 claims description 25
- 238000000034 method Methods 0.000 claims description 21
- 230000006870 function Effects 0.000 claims description 11
- 238000012546 transfer Methods 0.000 claims description 11
- 238000012216 screening Methods 0.000 claims description 10
- 238000001914 filtration Methods 0.000 claims 2
- 239000012141 concentrate Substances 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 11
- 238000003860 storage Methods 0.000 description 9
- 230000002093 peripheral effect Effects 0.000 description 6
- 238000011156 evaluation Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- DKOQGJHPHLTOJR-WHRDSVKCSA-N cefpirome Chemical compound N([C@@H]1C(N2C(=C(C[N+]=3C=4CCCC=4C=CC=3)CS[C@@H]21)C([O-])=O)=O)C(=O)\C(=N/OC)C1=CSC(N)=N1 DKOQGJHPHLTOJR-WHRDSVKCSA-N 0.000 description 1
- 229960000466 cefpirome Drugs 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 235000013305 food Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000011068 loading method Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 235000012054 meals Nutrition 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
- G06Q10/047—Optimisation of routes or paths, e.g. travelling salesman problem
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/40—Business processes related to the transportation industry
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Tourism & Hospitality (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Game Theory and Decision Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
A kind of worksheet processing method, apparatus of offer of the embodiment of the present invention and server, are related to computer realm.By the terminal that order will be not finished, also it is included in in single object in the driver for sending passenger, as long as the position of getting on the bus that the terminal that order is not finished reaches passenger is met the requirements, order can be distributed to the terminal that order is not finished, be not finished at this order the corresponding driver of terminal the passenger picked is sent to destination locations after, the position that can go to get on the bus is gone to meet passenger, realizes order relay effect.Service Order is more efficient in succession by driver, and more orders can be serviced in same time, improve efficiency of operation.The appearance for the case where peak period is less than vehicle is also reduced for passenger, improves user satisfaction.Certainly, if there is the position of the terminal of non-order is shorter to the distance got on the bus a little, then order can be distributed to the terminal of non-order by server, to improve the experience sense of user, be conducive to manage.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of worksheet processing method, apparatus and server.
Background technology
Taxi-hailing software has become the essential tool of people's go off daily, basic at present in existing taxi-hailing software
All it is same worksheet processing pattern:Driver has met a passenger after the completion of order, next order is continued waiting for, during waiting lists
The mostly vehicle empty driving stage.Even share-car pattern, there is different passenger loadings during share-car, but for driver
It is to belong to a share-car list, only after the completion of this share-car list, just continues to the order of driver's Cefpirome Culfate.In this way, driver
Wait for the time of order more, order inefficiency;In addition, in trip peak period, driver is generally all in ordering
Single state, passenger is difficult to get to vehicle, to passenger's inconvenience.
Invention content
In view of this, the embodiment of the present invention is designed to provide a kind of worksheet processing method, apparatus and server, to solve
The problem of driver's order inefficiency.
The embodiment of the present invention provides a kind of worksheet processing method, is applied to server, and the server is communicated to connect with terminal,
The method includes:Order is received, the order includes a position of getting on the bus;The reality of multiple terminals is transferred from database
When position, and transfer the destination locations that order is not finished;The real time position for calculating separately multiple terminals reaches on described
First distance of vehicle point position, and the real time position of the terminal of order is not finished and arrives described get on the bus a little again to destination locations
Second distance of position, the size according to first distance and second distance filter out target terminal;It is ordered described
Singly it is distributed to the target terminal.
The embodiment of the present invention also provides a kind of worksheet processing device, is applied to server, the server and terminal communication link
It connects, described device includes:Receiving module, for receiving order, the order includes a position of getting on the bus;Calling module, for from
The real time position of multiple terminals is transferred in database, and transfers the destination locations that order is not finished;Screening module is used
It gets on the bus described in being reached in the real time position for calculating separately multiple terminals the first distance of position, and order is not finished
The real time position of terminal arrive the second distance of a position of getting on the bus again to destination locations, according to first distance and
The size of second distance filters out target terminal;Module is distributed, for the order to be distributed to the target terminal.
The embodiment of the present invention also provides a kind of server, and the server is communicated to connect with terminal, the server packet
It includes:Memory;Processor;And worksheet processing device, the worksheet processing device be stored in the memory and include it is one or more by
The software function module that the processor executes, the worksheet processing device include:Receiving module, for receiving order, the order
Including a position of getting on the bus;Calling module, the real time position for transferring multiple terminals from database, and transfer and do not tie
The destination locations of beam order;Screening module is got on the bus for calculating separately described in the real time position arrival of multiple terminals
First distance of point position, and be not finished the terminal of order real time position arrived again to destination locations described in get on the bus point
The second distance set, the size according to first distance and second distance filter out target terminal;Module is distributed, is used
In the order is distributed to the target terminal.
Compared with prior art, worksheet processing method, apparatus provided in an embodiment of the present invention and server, by that will be not finished
The terminal of order, i.e., also in the object that the driver for sending passenger is included in list, as long as the terminal that order is not finished reaches passenger's
A position of getting on the bus is met the requirements, so that it may order is distributed to the terminal that order is not finished, in the terminal that order is not finished
After the passenger picked is sent to destination locations by corresponding driver, so that it may go to meet passenger with a position of going to get on the bus, realize
Order relay effect.Service Order is more efficient in succession by driver, and more orders can be serviced in same time, improves fortune
Seek efficiency.The appearance for the case where peak period is less than vehicle is also reduced for passenger, improves user satisfaction.Certainly, if
There is the position of the terminal of non-order shorter to the distance got on the bus a little, then order can be distributed to the terminal of non-order by server, with
The experience sense of user is improved, while the driver that order is not finished and waiting driver can be taken into account, is conducive to manage.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment cited below particularly, and match
Appended attached drawing is closed, is described in detail below.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment
Attached drawing is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not to be seen as
It is the restriction to range, it for those of ordinary skill in the art, without creative efforts, can be with
Other relevant attached drawings are obtained according to these attached drawings.
Fig. 1 is the schematic diagram that server provided in an embodiment of the present invention is interacted with terminal and user equipment.
Fig. 2 is the flow chart of worksheet processing method provided in an embodiment of the present invention.
Fig. 3 is road schematic diagram provided in an embodiment of the present invention.
Fig. 4 is the sub-step of step S103 in Fig. 2.
Fig. 5 is the high-level schematic functional block diagram of worksheet processing device provided in an embodiment of the present invention.
Icon:10- servers;20- terminals;30- networks;40- user equipmenies;50- databases;101- memories;102-
Storage control;103- processors;104- Peripheral Interfaces;200- worksheet processing devices;201- receiving modules;202- calling modules;
203- screening modules;204- distributes module;205- limits module.
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 be merely representative of the present invention selected embodiment.Based on the embodiment of the present invention, those skilled in the art are not having
There is the every other embodiment obtained under the premise of making 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 item exists
It is defined, then it further need not be defined and explained in subsequent attached drawing in one attached drawing.Meanwhile in this hair
In bright description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relatively important
Property.
Referring to FIG. 1, server 10 provided in an embodiment of the present invention is interacted with terminal 20 and user equipment 40
Schematic diagram.The user equipment 40 (User Equipment, UE) referred in the embodiment of the present invention refers to calling service side, such as chauffeur
The equipment such as mobile terminal or personal computer used in the passenger in service (Personal Computer, abbreviation PC), example
Such as smart mobile phone, personal digital assistant (PDA), tablet computer, laptop, vehicle-mounted computer (carputer), palm trip
Gaming machine, intelligent glasses, smartwatch, wearable smart machine, virtual display device or display enhancing equipment (such as Google
Glass, Oculus Rift, Hololens, Gear VR) etc..The terminal 20 referred in the embodiment of the present invention is to provide service
Side, for equipment such as the mobile terminal of order or the ends PC as used in the driver in vehicles dial-a-cab.The present invention is real
It applies in example, in order to distinguish passenger and driver, user equipment 40 and terminal 20 is respectively adopted to indicate passenger and driver institute respectively
The equipment such as the mobile terminal held.Server 10 may be, but not limited to, network server, database server, cloud server
Deng.
User equipment 40 can be interacted by network 30 and server 10, obtain the recommendation stored on server 10
It gets on the bus point, estimated price etc., establishes order, and order is sent to server 10.Server 10 can pass through network 30 and end
End 20 interacts, and can distribute order to terminal 20, can also repair order after the driver of terminal 20 arrives at
It is changed to completion status etc..
Referring to FIG. 2, being the flow chart of worksheet processing method provided in an embodiment of the present invention.The worksheet processing method is applied to clothes
Business device 10, the worksheet processing method include:
Step S101 receives order.
Passenger can be got on the bus by selected a little and behind destination by 40 chauffeur of user equipment, establish order, and send
To server 10, server 10 receives the order, includes at least get on the bus a position, destination locations in the order, can also wrap
It includes and estimates the amount of money, Customer information such as telephone number, patronage, gender etc..
Step S102, transfers the real time position of multiple terminals from database, and transfers the purpose that order is not finished
Position.
The position of itself can be sent to database 50 (please referring to Fig.4) by the terminal 20 of each driver, such as every 3 seconds, 5
The position of terminal 20 is sent to database 50 by second or 10 etc..Server 10 can transfer each terminal 20 from database 50
Real time position, which can reflect the position of driver.Multiple terminals 20 can be that some in database 50 stores
The real time position of the terminal 20 in space, for example, database 50 it is empty can to establish different storages according to different prefecture-level cities
Between, the real time position of all terminals 20 of a certain prefecture-level city is put into corresponding memory space, compared to every time by all ends
The real time position at end 20, which takes out, to be handled, and operand can be reduced.In addition, server 10 can be by from memory 101
The case where middle lookup order etc., finds out the terminal 20 that the terminal 20 of order is not finished and does not receive.Some drivers may be
Order is not finished in the upper order of processing, i.e. terminal 20, and server 10 can be from the equipment of itself or other storage orders
Transfer the destination locations of an order.
Step S103 calculates separately the first distance of position of getting on the bus described in the real time position arrival of multiple terminals,
And the real time position of the terminal of order is not finished and arrives the second distance of a position of getting on the bus, foundation again to destination locations
The size of first distance and second distance filters out target terminal.
Wherein, the first distance is in the free time and to wait for the driver of order to the short line for a position of getting on the bus, second
Distance be not finished order driver the passenger of ongoing order is sent to destination after, then to getting on the bus a position most
Short-circuit journey.
The purpose of the real time position of multiple terminals and the terminal of backlog has been transferred in step s 102
Position.Server 10 can calculate the position of the terminal 20 of non-order to the distance for getting on the bus position a little, the i.e. first via
Journey;Behind the position to the destination locations of a upper order that the driver for handling an order can also be calculated, then to getting on the bus
The distance of the position of point, i.e. the second distance.
In the present embodiment, the first distance being calculated and the second distance can be compared, choose minimum value and correspond to
Terminal 20 be used as target terminal.
It, can also be by the first distance being calculated and the second distance and second is pre- in other specific implementation modes
If distance compares, the second default distance can be 1km, 2km, 3km etc., randomly select the first distance and the second distance is less than
Second default distance counterpart terminal 20 is used as target terminal.It is, of course, also possible to be preferential 20 conduct of terminal for choosing non-order
Target terminal.
Referring to FIG. 3, being road schematic diagram provided in an embodiment of the present invention.It is horizontal and vertical in the presence of 3 roads in figure
Road, the interval between every road is 1 km.If there are two drivers of first and second, first driver just one order of processing, i.e., just
Passenger I, second driver is being sent to be in idle and wait for order state, the position of first driver at this time is in the positions A1, the purpose of passenger I
Position is in B location, and the position of second driver at this time is in the positions A2.At this point, passenger II initiates order, need to get on the bus in location of C,
A position get on the bus in location of C.
First driver goes before meeting passenger II to need first to be sent to passenger I, and server 10 calculates first driver and goes to connect passenger II's
Route is A1-B-C, and distance is about 2.4km, i.e. the second distance is 2.4km.Server 10 calculates second driver and goes to meet passenger II
Route be A2-C, distance is about 3km.In the present embodiment, the terminal 20 of first driver is selected as target end by the server 10
End.
It, can also be by the first distance being calculated and the second distance and second is pre- in other specific implementation modes
If distance compares, the second default distance can be 1km, 2km, 3km etc., randomly select the first distance and the second distance is less than
Second default distance counterpart terminal 20 is used as target terminal.If the second default distance is 3km, first driver and second driver
Terminal 20 be satisfied by the condition for being selected as target terminal, server 10 can be in the terminal 20 of first driver and second driver
Random selection one is used as target terminal.
It is, of course, also possible to be that the preferential terminal 20 for choosing non-order is used as target terminal.For example, then first driver and second
The terminal 20 of driver is satisfied by the condition for being selected as target terminal and is examined although first driver is shorter to the distance got on the bus a little
The passenger I considered on first driver also needs to get off, in fact it could happen that the article situation of oneself carrying is removed, it is preferential to select second driver
Terminal 20 be target terminal.
The order is distributed to the target terminal by step S104.
After server 10 filters out target terminal, the step S101 orders received are sent to the target terminal, the mesh
Mark the mobile intelligent terminal that terminal is driver, such as mobile phone.Driver can choose whether that receiving this orders by operating target terminal
It is single.
It is not tie since server 10 has recorded the target terminal when the target terminal rejects the order
The terminal 20 of the terminal 20 of beam order still non-order, if the target terminal is the terminal 20 that order is not finished, the mesh
The order rate for marking terminal is constant;If the target terminal is the terminal 20 of non-order, the order rate of the target terminal subtracts
It is small.When the target terminal receives the order, the real time position of the target terminal is sent to user equipment 40, in institute
After the completion of stating order, the singularization of the target terminal increases.
Summarize in other specific implementation modes, can also include step before step S103:By real time position to destination
List to be selected is added in the terminal 20 that order is not finished that the distance of position is less than the first default distance.
Wherein, the described first default distance can be 1km, 2km, 3km etc..For example, when server 10 inquire into
The driver of row order has 1000 people, but according to the real time position of this 1000 people and is carrying out the destination locations in order,
Can obtain only 100 people will arrive at the destination, i.e. the distance of the only real time position of 100 people to destination locations is less than
(list to be selected is added in the terminal 20 of this 100 drivers to first default distance by such as 1km.
Corresponding, the first distance and band that the terminal of non-order need to can be only calculated in step S103 select end in list
Second distance at end, to screen target terminal.
Referring to FIG. 4, being the sub-step of step S103 in Fig. 2.It, can also be according to the first distance in the embodiment of the present invention
With the size of the second distance, the size of corresponding first estimated time and the second estimated time are estimated, then filters out driver and goes
The terminal 20 of vehicle point position time shortest driver, specifically, including:
Step S1031 calculates separately the first distance of position of getting on the bus described in the real time position arrival of multiple terminals, with
And the real time position of the terminal of order is not finished and arrives the second distance of a position of getting on the bus again to destination locations.
Step S1032, real time position, a position and first distance of getting on the bus according to multiple terminals
Calculate the first estimated time that the terminal reaches a position of getting on the bus, according to the terminal that order is not finished real time position,
The destination locations, get on the bus a position and second distance calculate the terminal and reach a position of getting on the bus
The second estimated time.
Wherein, the first estimated time was in the free time and to wait for the driver of order to the evaluation time for a position of getting on the bus,
Second estimated time be not finished order driver the passenger of ongoing order is sent to destination after, then to getting on the bus a little
The evaluation time of position.
When calculating estimated time and the second estimated time, it may be considered that the case where traffic lights are with a upper passenger getting off car is waited for.
Referring again to Fig. 3, there are 3 roads in horizontal and vertical in figure, the interval between every road is 1 km.If depositing
In two drivers of first and second, first driver just one order of processing is sending passenger I, second driver to be in idle and wait for order shape
State, the position of first driver at this time is in the positions A1, and the destination locations of passenger I are in B location, and the position of second driver at this time is at A2
It sets.At this point, passenger II initiates order, need to get on the bus in location of C, that is, a position of getting on the bus is in location of C.Set average waiting one
The time of traffic lights is 1min, and the time that waiting Passengen is got off is 2min, average speed 60km/h.
First driver goes before meeting passenger II to need first to be sent to passenger I, and server 10 calculates first driver and goes to connect passenger II's
Route is A1-B-C, and distance is about 2.4km, i.e. the second distance is 2.4km, needs to wait for 2 traffic lights, and passenger I is also
It gets off, it is 6.4min to be calculated for the second estimated time.It is A2- that server 10, which calculates the route that second driver goes to meet passenger II,
C, distance are about 3km, i.e., the first distance of the terminal 20 of second driver is 3km, need to wait for 3 traffic lights, be calculated
First estimated time was 6min.
Step S1033, the size according to first estimated time and second estimated time filter out target end
End.In the present embodiment, the evaluation time that all terminals for meeting condition reach a position of getting on the bus is compared, is chosen most in short-term
Between corresponding terminal as target terminal.
The server 10 includes worksheet processing device 200, memory, storage control, processor and Peripheral Interface.Institute
Memory, storage control, processor and each element of Peripheral Interface is stated directly or indirectly to be electrically connected between each other, with
Realize the transmission or interaction of data.For example, these elements between each other can be real by one or more communication bus or signal wire
Now it is electrically connected.The worksheet processing device 200 can be stored in institute including at least one in the form of software or firmware (firmware)
State in memory or be solidificated in the software function module in the operating system (operating system, OS) of server 10.
The processor is for executing the executable module stored in memory, for example, the software work(that the worksheet processing device 200 includes
It can module or computer program.
Wherein, memory 101 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)
Deng.Wherein, memory 101 is for storing program, and the processor 103 executes described program after receiving and executing instruction,
The method performed by server 10 that the stream process that any embodiment of the embodiment of the present invention discloses defines can be applied to processor
In 103, or realized by processor 103.
Processor 103 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 103 can
To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit
(Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), application-specific integrated circuit (ASIC),
Field programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard
Part component.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General procedure
Device can be microprocessor or the processor 103 can also be any conventional processor etc..
The Peripheral Interface 104 couples various input/output devices to processor 103 and memory 101.One
In a little embodiments, Peripheral Interface 104, processor 103 and storage control 102 can be realized in one single chip.At other
In some examples, they can be realized by independent chip respectively.
Server 10 can be communicated by Peripheral Interface 104 with database 50, and the real-time of terminal 20 is obtained from database 50
Position.Database 50 can be MongoDB, be a database based on distributed document storage, can be carried for WEB application
It is stored for expansible high-performance data.
Referring to FIG. 5, being the high-level schematic functional block diagram of worksheet processing device 200 provided in an embodiment of the present invention.The worksheet processing dress
Set 200 include receiving module 201, calling module 202, screening module 203, distribute module 204 and limit module 205.
The receiving module 201, for receiving order, the order includes a position of getting on the bus.
In the embodiment of the present invention, the receiving module 201 can execute step S101.
The calling module 202, the real time position for transferring multiple terminals from database 50, and transfer not
Terminate the destination locations of order.
In the embodiment of the present invention, the calling module 202 can execute step S102.
The screening module 203, for calculating separately a position of getting on the bus described in the real time position arrival of multiple terminals
The first distance, and the real time position of the terminal of order is not finished and is up to the of a position of getting on the bus to destination locations again
Two distances, the size according to first distance and second distance filter out target terminal.
In the embodiment of the present invention, the screening module 203 can execute step S103.
It is described to distribute module 204, for the order to be distributed to the target terminal.
In the embodiment of the present invention, the module 204 that distributes can execute step S104.
The restriction module 205, for presetting the distance of the real time position to the destination locations less than first
List to be selected is added in the terminal that order is not finished of distance.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the phase of description
Place is closed referring to the part of embodiment of the method to illustrate.
Although it should be understood that in worksheet processing method above mainly for call a taxi/with vehicle application, the implementation of the disclosure
Example is not limited to this, and could be applicable to other vehicles (such as, non-motor vehicle, private car, ship, aircraft etc.), especially
It is that transport object described in the following domestic or commercial vehicles occurred is also not limited to passenger, also may include express mail, meal
Food etc. needs transport/transport object.
In conclusion worksheet processing method, apparatus provided in an embodiment of the present invention and server, this method include:Reception is ordered
Single, the order includes a position of getting on the bus;The real time position of multiple terminals is transferred from database, and is transferred and be not finished
The destination locations of order;The first distance of position of getting on the bus described in the real time position arrival of multiple terminals is calculated separately,
And the real time position of the terminal of order is not finished and arrives the second distance of a position of getting on the bus, foundation again to destination locations
The size of first distance and second distance filters out target terminal;The order is distributed to the target terminal.
By the way that the terminal of order will be not finished, i.e., also in the object that the driver for sending passenger is included in list, as long as the end of order is not finished
The position of getting on the bus that end reaches passenger is met the requirements, so that it may order is distributed to the terminal that order is not finished, not tied at this
After the passenger picked is sent to destination locations by the corresponding driver of terminal of beam order, so that it may which to go to get on the bus, a position is gone
Passenger is met, realizes order relay effect.Service Order is more efficient in succession by driver, can be serviced in same time more
Order improves efficiency of operation.The appearance for the case where peak period is less than vehicle is also reduced for passenger, and it is full to improve user
Meaning degree.Certainly, if there is the position of the terminal of non-order is shorter to the distance or evaluation time got on the bus a little, then server can incite somebody to action
Order is distributed to the terminal of non-order, to improve the experience sense of user, while can take into account the driver that order is not finished and waiting
In driver, be conducive to manage.
In several embodiments provided herein, it should be understood that disclosed device and method can also lead to
Other modes are crossed to realize.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, method and computer program product system in the cards
Framework, function and operation.In this regard, each box in flowchart or block diagram can represent a module, program segment or generation
A part for code, the part of the module, section or code include one or more for realizing defined logic function
Executable instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also
Occur in a different order than that indicated in the drawings.For example, two continuous boxes can essentially be basically executed in parallel,
They can also be executed in the opposite order sometimes, this is depended on the functions involved.It is also noted that block diagram and/or stream
The combination of each box in journey figure and the box in block diagram and or flow chart can use function or dynamic as defined in executing
The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
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.
If the function is realized and when sold or used as an independent product in the form of software function module, can
To be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention substantially or
Say that the part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products,
The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with
It is personal computer, server or the network equipment etc.) execute all or part of each embodiment the method for the present invention
Step.And storage medium above-mentioned includes:It is USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random
Access various Jie that can store program code such as memory (RAM, Random Access Memory), magnetic disc or CD
Matter.It should be noted that herein, relational terms such as first and second and the like be used merely to an entity or
Person operates to be distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation
Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in the process, method, article or apparatus that includes the element.
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
Modification, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and word
Mother indicates similar terms in following attached drawing, therefore, once it is defined in a certain Xiang Yi attached drawing, then in subsequent attached drawing
In it further need not be defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, appoints
What those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, answer
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a kind of worksheet processing method, is applied to server, the server is communicated to connect with terminal, which is characterized in that the method
Including:
Order is received, the order includes a position of getting on the bus;
The real time position of multiple terminals is transferred from database, and transfers the destination locations that order is not finished;
The first distance of position of getting on the bus described in the real time position arrival of multiple terminals is calculated separately, and order is not finished
The real time position of terminal arrive the second distance of a position of getting on the bus again to destination locations, according to first distance and institute
The size for stating the second distance filters out target terminal;
The order is distributed to the target terminal.
2. worksheet processing method according to claim 1, which is characterized in that the method further includes:
The terminal that order is not finished that the distance of the real time position to the destination locations is less than to the first default distance adds
Enter list to be selected;
The size of first distance of the terminal according to non-order and the second distance of the terminal in the list to be selected, filters out institute
State target terminal.
3. worksheet processing method according to claim 1, which is characterized in that the size of the foundation the first distance and the second distance
The step of filtering out target terminal include:
From first distance and the corresponding terminal of second distance, first distance and second distance are filtered out
Minimum target terminal.
4. worksheet processing method according to claim 1, which is characterized in that the size of the foundation the first distance and the second distance
The step of filtering out target terminal further include:
Filter out first distance and target terminal collection when second distance is respectively less than the second default distance;
The target terminal is randomly selected from target terminal concentration, if the target terminal concentrates the end for including non-order
End then randomly selects target terminal in the preferential never terminal of order.
5. worksheet processing method according to claim 1, which is characterized in that the method further includes:
It is described if the target terminal is the terminal that order is not finished when the target terminal rejects the order
The order rate of target terminal is constant;If the target terminal is the terminal of non-order, the order rate of the target terminal reduces;
When the target terminal receives the order, the real time position of the target terminal is sent to user equipment, described
After the completion of order, the singularization of the target terminal increases.
6. worksheet processing method according to claim 1, which is characterized in that the real-time position for calculating separately multiple terminals
The first distance of position of getting on the bus described in reaching is set, and the real time position of the terminal of order is not finished and is arrived again to destination locations
Second distance of a position of getting on the bus, the size according to first distance and second distance filter out target terminal
Step further includes:
It calculates the terminal according to the real time position of multiple terminals, get on the bus a position and first distance and reaches
First estimated time of a position of getting on the bus, real time position, the destination locations, institute according to the terminal that order is not finished
It states and gets on the bus a position and second distance calculates the second estimated time that the terminal reaches a position of getting on the bus;
Size according to first estimated time and second estimated time filters out target terminal.
7. a kind of worksheet processing device, is applied to server, the server is communicated to connect with terminal, which is characterized in that described device
Including:
Receiving module, for receiving order, the order includes a position of getting on the bus;
Calling module, the real time position for transferring multiple terminals from database, and transfer the purpose that order is not finished
Position;
Screening module, the first distance for calculating separately position of getting on the bus described in the real time position arrival of multiple terminals,
And the real time position of the terminal of order is not finished and arrives the second distance of a position of getting on the bus again to destination locations, according to institute
The size for stating the first distance and second distance filters out target terminal;
Module is distributed, for the order to be distributed to the target terminal.
8. worksheet processing device according to claim 7, which is characterized in that described device further includes:
Module is limited, for the distance of the real time position to the destination locations to be less than being not finished for the first default distance
List to be selected is added in the terminal of order;
The screening module be additionally operable to according to non-order terminal the first distance and the terminal in the list to be selected second
The size of distance filters out the target terminal.
9. worksheet processing device according to claim 7, which is characterized in that the screening module is additionally operable to:According to multiple described
The real time position of terminal described gets on the bus a position and first distance calculates the terminal and reaches a position of getting on the bus
First estimated time, according to be not finished the real time position of terminal of order, the destination locations, it is described get on the bus a position and
Second distance calculates the second estimated time that the terminal reaches a position of getting on the bus;According to first estimated time
Target terminal is filtered out with the size of second estimated time.
10. a kind of server, which is characterized in that the server is communicated to connect with terminal, and the server includes:
Memory;
Processor;And
Worksheet processing device, the worksheet processing device are stored in the memory and include that one or more is executed by the processor
Software function module, the worksheet processing device include:
Receiving module, for receiving order, the order includes a position of getting on the bus;
Calling module, the real time position for transferring multiple terminals from database, and transfer the purpose that order is not finished
Position;
Screening module, the first distance for calculating separately position of getting on the bus described in the real time position arrival of multiple terminals,
And the real time position of the terminal of order is not finished and arrives the second distance of a position of getting on the bus again to destination locations, according to institute
The size for stating the first distance and second distance filters out target terminal;
Module is distributed, for the order to be distributed to the target terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810261004.3A CN108520452A (en) | 2018-03-27 | 2018-03-27 | Worksheet processing method, apparatus and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810261004.3A CN108520452A (en) | 2018-03-27 | 2018-03-27 | Worksheet processing method, apparatus and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108520452A true CN108520452A (en) | 2018-09-11 |
Family
ID=63434137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810261004.3A Pending CN108520452A (en) | 2018-03-27 | 2018-03-27 | Worksheet processing method, apparatus and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108520452A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109781128A (en) * | 2019-01-14 | 2019-05-21 | 闽江学院 | A kind of method and device for planning travel route |
CN109781127A (en) * | 2019-01-14 | 2019-05-21 | 闽江学院 | A kind of air navigation aid and device based on vehicle platform |
CN109919713A (en) * | 2019-01-30 | 2019-06-21 | 杭州飞步科技有限公司 | Method for pushing, device and the readable storage medium storing program for executing of order |
CN110570100A (en) * | 2019-08-20 | 2019-12-13 | 南京领行科技股份有限公司 | Real-time order dispatching method and device based on real-time single-stroke vehicle |
CN110956515A (en) * | 2018-09-26 | 2020-04-03 | 北京嘀嘀无限科技发展有限公司 | Order processing method and device, electronic equipment and computer storage medium |
CN111080048A (en) * | 2018-10-22 | 2020-04-28 | 北京嘀嘀无限科技发展有限公司 | Order dispatching method and device for reserving order of taxi taking, electronic equipment and storage medium |
CN111105285A (en) * | 2018-10-29 | 2020-05-05 | 北京嘀嘀无限科技发展有限公司 | Interlinked dispatching method, device, server and storage medium |
CN111311164A (en) * | 2020-05-07 | 2020-06-19 | 北京每日优鲜电子商务有限公司 | Electronic order pushing method and system, server and storage medium |
CN111866049A (en) * | 2019-05-10 | 2020-10-30 | 北京嘀嘀无限科技发展有限公司 | Service request processing method, terminal, electronic device and storage medium |
CN112017009A (en) * | 2020-08-31 | 2020-12-01 | 北京百度网讯科技有限公司 | Order processing method and device, electronic equipment and readable storage medium |
CN112668919A (en) * | 2021-01-04 | 2021-04-16 | 腾讯科技(深圳)有限公司 | Data processing method and device, computer equipment and storage medium |
CN113065921A (en) * | 2021-04-13 | 2021-07-02 | 上海钧正网络科技有限公司 | Travel order distribution and initiation method, device, terminal and storage medium |
WO2021226925A1 (en) * | 2020-05-14 | 2021-11-18 | Beijing Didi Infinity Technology And Development Co., Ltd. | Method and system for constructing virtual environment for ride-hailing platforms |
CN113723673A (en) * | 2021-08-18 | 2021-11-30 | 郑州时空隧道信息技术有限公司 | Order assignment method and system |
CN113762800A (en) * | 2021-09-17 | 2021-12-07 | 首约科技(北京)有限公司 | Automatic dispatching list radius adjusting method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105957337A (en) * | 2016-06-02 | 2016-09-21 | 深圳市永兴元科技有限公司 | Order processing method and apparatus |
CN106341787A (en) * | 2015-07-15 | 2017-01-18 | 上海苏先信息技术有限公司 | Vehicle reservation dispatching system and method |
CN107368904A (en) * | 2017-07-12 | 2017-11-21 | 乐山易通天下网络科技有限公司 | A kind of net of trip in time about car order allocation method and system |
CN107767206A (en) * | 2016-08-23 | 2018-03-06 | 北京嘀嘀无限科技发展有限公司 | Order allocation method and device |
-
2018
- 2018-03-27 CN CN201810261004.3A patent/CN108520452A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106341787A (en) * | 2015-07-15 | 2017-01-18 | 上海苏先信息技术有限公司 | Vehicle reservation dispatching system and method |
CN105957337A (en) * | 2016-06-02 | 2016-09-21 | 深圳市永兴元科技有限公司 | Order processing method and apparatus |
CN107767206A (en) * | 2016-08-23 | 2018-03-06 | 北京嘀嘀无限科技发展有限公司 | Order allocation method and device |
CN107368904A (en) * | 2017-07-12 | 2017-11-21 | 乐山易通天下网络科技有限公司 | A kind of net of trip in time about car order allocation method and system |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110956515A (en) * | 2018-09-26 | 2020-04-03 | 北京嘀嘀无限科技发展有限公司 | Order processing method and device, electronic equipment and computer storage medium |
CN111080048A (en) * | 2018-10-22 | 2020-04-28 | 北京嘀嘀无限科技发展有限公司 | Order dispatching method and device for reserving order of taxi taking, electronic equipment and storage medium |
CN111105285A (en) * | 2018-10-29 | 2020-05-05 | 北京嘀嘀无限科技发展有限公司 | Interlinked dispatching method, device, server and storage medium |
CN111105285B (en) * | 2018-10-29 | 2024-01-05 | 北京嘀嘀无限科技发展有限公司 | Method, device, server and storage medium for serial dispatch |
CN109781127A (en) * | 2019-01-14 | 2019-05-21 | 闽江学院 | A kind of air navigation aid and device based on vehicle platform |
CN109781128A (en) * | 2019-01-14 | 2019-05-21 | 闽江学院 | A kind of method and device for planning travel route |
CN109919713B (en) * | 2019-01-30 | 2021-07-27 | 杭州飞步科技有限公司 | Order pushing method and device and readable storage medium |
CN109919713A (en) * | 2019-01-30 | 2019-06-21 | 杭州飞步科技有限公司 | Method for pushing, device and the readable storage medium storing program for executing of order |
CN111866049A (en) * | 2019-05-10 | 2020-10-30 | 北京嘀嘀无限科技发展有限公司 | Service request processing method, terminal, electronic device and storage medium |
CN111866049B (en) * | 2019-05-10 | 2023-04-18 | 北京嘀嘀无限科技发展有限公司 | Service request processing method, terminal, electronic device and storage medium |
CN110570100A (en) * | 2019-08-20 | 2019-12-13 | 南京领行科技股份有限公司 | Real-time order dispatching method and device based on real-time single-stroke vehicle |
CN111311164A (en) * | 2020-05-07 | 2020-06-19 | 北京每日优鲜电子商务有限公司 | Electronic order pushing method and system, server and storage medium |
WO2021226925A1 (en) * | 2020-05-14 | 2021-11-18 | Beijing Didi Infinity Technology And Development Co., Ltd. | Method and system for constructing virtual environment for ride-hailing platforms |
CN112017009A (en) * | 2020-08-31 | 2020-12-01 | 北京百度网讯科技有限公司 | Order processing method and device, electronic equipment and readable storage medium |
CN112668919A (en) * | 2021-01-04 | 2021-04-16 | 腾讯科技(深圳)有限公司 | Data processing method and device, computer equipment and storage medium |
CN113065921A (en) * | 2021-04-13 | 2021-07-02 | 上海钧正网络科技有限公司 | Travel order distribution and initiation method, device, terminal and storage medium |
CN113723673A (en) * | 2021-08-18 | 2021-11-30 | 郑州时空隧道信息技术有限公司 | Order assignment method and system |
CN113762800A (en) * | 2021-09-17 | 2021-12-07 | 首约科技(北京)有限公司 | Automatic dispatching list radius adjusting method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108520452A (en) | Worksheet processing method, apparatus and server | |
CN106919993A (en) | A kind of high accuracy acquiescence destination Forecasting Methodology and device based on historical data | |
US11475393B2 (en) | Method and apparatus for delivery order dispatch and assignment | |
CN108475466A (en) | System and method for matching and showing service request and available vehicle | |
CN104639756A (en) | Short message display method and device | |
US20090164295A1 (en) | Device, system, and method of dynamic modification of sale terms of electronic transactions | |
CN107871175A (en) | A kind of vehicle and goods matching distribute leaflets method and device | |
CN105787659A (en) | Intelligent scheduling method | |
CN106919996A (en) | A kind of destination Forecasting Methodology and device | |
CN106971282A (en) | A kind of determination method and system of storage scheme validity | |
CN105096129A (en) | Data processing system and method | |
CN108256800A (en) | A kind of data processing method and oil truck running orbit system | |
US8953765B2 (en) | Call prioritization methods in a call center | |
CN106663305A (en) | Product of interest precedent delivery service providing device and method using unmanned courier box, and recording medium on which computer program is recorded | |
CN109508923A (en) | Order allocator, device, server and storage medium | |
CN107563710A (en) | Trip recommendation method, system and electronic equipment | |
CN111985865B (en) | Order receiving and distribution management method, management platform and terminal equipment | |
CN110544055A (en) | order processing method and device | |
CN113935507A (en) | Foreign currency cash exchange reservation method and device based on block chain | |
CN108090721A (en) | A kind of logistics order processing method, apparatus, server and storage medium | |
CN110648194A (en) | Processing method and device based on shopping in driving and storage medium | |
CN113408877A (en) | Network appointment information processing method, device, equipment and computer storage medium | |
CN105634922A (en) | Online ticket buying realization method and terminal | |
CN104200420A (en) | Railway passenger traffic section integrated application platform system | |
CN110648209A (en) | Tourism order processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180911 |