CN109615159A - Request processing method and device - Google Patents
Request processing method and device Download PDFInfo
- Publication number
- CN109615159A CN109615159A CN201811211122.XA CN201811211122A CN109615159A CN 109615159 A CN109615159 A CN 109615159A CN 201811211122 A CN201811211122 A CN 201811211122A CN 109615159 A CN109615159 A CN 109615159A
- Authority
- CN
- China
- Prior art keywords
- target
- order request
- queue
- request
- location information
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 17
- 238000012545 processing Methods 0.000 claims abstract description 46
- 238000000034 method Methods 0.000 claims abstract description 16
- 238000005516 engineering process Methods 0.000 abstract description 5
- 230000015654 memory Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 229910002056 binary alloy Inorganic materials 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013079 data visualisation Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 238000012800 visualization Methods 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
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06311—Scheduling, planning or task assignment for a person or group
-
- 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/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
Abstract
The present invention provides a kind of request processing method and devices, wherein this method comprises: receiving target order request, wherein carry the location information of user identifier start position corresponding with the target order request in the target order request;According to the positional information, target subregion locating for the start position is determined, wherein target area is divided into multiple subregions, and the corresponding indent queue of different subregions is different;The target order request is added in target indent queue corresponding with the target subregion;According to sequence of the target order request in the target indent queue, worksheet processing is carried out for the target order request.Through the invention, request processing mode in the related technology is solved there are worksheet processing low efficiency, the problem of poor user experience.
Description
Technical field
The present invention relates to computer fields, in particular to a kind of request processing method and device.
Background technique
Currently, after receiving the order request of passenger, being needed according to first come, first served time during transport power distributes
Sequence distributes transport power for passenger, meets travel requirement.In the case where transport power meets order travel requirement, worksheet processing as early as possible is needed.Such as
One region of fruit (for example, a urban area) interior large population base, quantity on order is more, then carries out according to the order of first come, first served
Worksheet processing, then worksheet processing efficiency is lower.
That is, request processing mode in the related technology is there are worksheet processing low efficiency, the problem of poor user experience.
In view of the above problems in the related art, not yet there is effective solution at present.
Summary of the invention
A kind of request processing method and device are provided in the embodiment of the present invention, at least to solve request in the related technology
Processing mode, there are worksheet processing low efficiency, the problem of poor user experience.
According to an aspect of the invention, there is provided a kind of request processing method, comprising: target order request is received,
In, the location information of start position corresponding with the target order request is carried in the target order request;According to institute
Location information is stated, determines target subregion locating for the start position, wherein target area is divided into multiple subregions, no
The corresponding indent queue of same subregion is different;The target order request is added to mesh corresponding with the target subregion
It marks in indent queue;According to sequence of the target order request in the target indent queue, asked for the target order
Seek carry out worksheet processing.
Optionally, according to the positional information, determine that the target subregion locating for the start position includes: to institute
It states location information to be parsed, determines the corresponding target latitude and longitude coordinates of the start position;According to the pre-set mesh
The relationship for marking the regional scope of latitude and longitude coordinates and the multiple subregion determines target locating for the start position
Region.
Optionally, the location information is parsed, determines that the corresponding target longitude and latitude of the start position is sat
Mark includes: to obtain the location information from the target order request, wherein the location information is by using Geo
What Hash Encryption Algorithm obtained after encrypting to the target latitude and longitude coordinates;Using with the Geo Hash Encryption Algorithm pair
The location information is decrypted in the Geo Hash decipherment algorithm answered, and obtains the target latitude and longitude coordinates.
Optionally, the target order request is being added in target indent queue corresponding with the target subregion
Later, geographic position data corresponding to each order request in the target indent queue is obtained respectively, wherein the geography
Position data is determined by the location information for carrying start position corresponding with each order request in each order request;
According to the geographic position data, each order request is marked out in the target subregion on map, wherein described
Order identification of each order request by each order request in the target indent queue.
Optionally, the sequence according to the target order request in the target indent queue, be the client into
Row worksheet processing include: according to the head of the queue order from the target indent queue to the target indent queue tail of the queue order it is suitable
Sequence, the order request being followed successively by the target indent queue distribute the vehicle in available mode.
According to another aspect of the present invention, a kind of request processing unit is provided, comprising: receiving unit, for receiving
Target order request, wherein start position corresponding with the target order request is carried in the target order request
Location information;Determination unit, for according to the positional information, determining target subregion locating for the start position, wherein
Target area is divided into multiple subregions, and the corresponding indent queue of different subregions is different;Adding unit is used for the mesh
Mark order request is added in target indent queue corresponding with the target subregion;Worksheet processing unit, for according to the mesh
Sequence of the order request in the target indent queue is marked, carries out worksheet processing for the target order request.
Optionally, the determination unit includes: parsing module, for parsing to the location information, described in determination
The corresponding target latitude and longitude coordinates of start position;Determining module, for according to the pre-set target latitude and longitude coordinates with
The relationship of the regional scope of the multiple subregion determines the target subregion locating for the start position.
Optionally, the parsing module includes: acquisition submodule, for obtaining institute's rheme from the target order request
Confidence breath, wherein the location information is to be added by using Geo Hash Encryption Algorithm to the target latitude and longitude coordinates
It is obtained after close;Submodule is decrypted, use Geo Hash decipherment algorithm pair corresponding with the Geo Hash Encryption Algorithm is used for
The location information is decrypted, and obtains the target latitude and longitude coordinates.
Optionally, described device further include: acquiring unit, for being added to and the mesh by the target order request
After marking in the corresponding target indent queue of subregion, obtained corresponding to each order request in the target indent queue respectively
Geographic position data, wherein the geographic position data in each order request by carrying with each order request
The location information of corresponding start position determines;Display unit, for according to the geographic position data, on map described in
Each order request is shown in target subregion, wherein each order request is by each order request in the mesh
Mark the order identification in indent queue.
Optionally, worksheet processing unit includes: to distribute module, for according to from the head of the queue order of the target indent queue to institute
The sequence for stating the tail of the queue order of target indent queue, the order request being followed successively by the target indent queue are distributed in available
The vehicle of state.
Through the invention, server receives target order request, wherein carries in target order request and target order
Request the location information of corresponding start position;According to location information, target subregion locating for start position is determined, wherein
Target area is divided into multiple subregions, and the corresponding indent queue of different subregions is different;Target order request is added to
In target indent queue corresponding with target subregion;It is mesh according to sequence of the target order request in target indent queue
It marks order request and carries out worksheet processing, that is, in such a way that multiple single amounts distribute parallel, target area is divided into multiple subregions,
Different subregions establish different indent queues respectively, carry out worksheet processing respectively according to each indent queue, solve related skill
Request processing mode in art is there are worksheet processing low efficiency, the problem of poor user experience, improves the efficiency of worksheet processing, and then improve
User experience.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware block diagram of the server of request processing method of the embodiment of the present invention;
Fig. 2 is the flow chart of request processing method according to an embodiment of the present invention;
Fig. 3 is the schematic diagram according to an embodiment of the present invention divided to target area;
Fig. 4 is the schematic diagram according to an embodiment of the present invention for visualizing all subregion order situation;
Fig. 5 is request processing device structure diagram one according to an embodiment of the present invention;
Fig. 6 is order processing apparatus structure schematic diagram two according to an embodiment of the present invention.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting
In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Embodiment 1
Embodiment of the method provided by the embodiment of the present application one can be filled in server, Cloud Server or similar operation
Set middle execution.For running on the server, Fig. 1 is a kind of the hard of the server of request processing method of the embodiment of the present invention
Part structural block diagram.As shown in Figure 1, server 10 may include one or more (only showing one in Fig. 1) processor 102 (places
Reason device 102 can include but is not limited to the processing unit of Micro-processor MCV or programmable logic device FPGA etc.) and for storing
The memory 104 of data, optionally, above-mentioned server can also include the transmission device 106 and input for communication function
Output equipment 108.It will appreciated by the skilled person that structure shown in FIG. 1 is only to illustrate, not to above-mentioned service
The structure of device causes to limit.For example, server 10 may also include the more perhaps less component than shown in Fig. 1 or have
The configuration different from shown in Fig. 1.
Memory 104 can be used for storing computer program, for example, the software program and module of application software, such as this hair
The corresponding computer program of request processing method in bright embodiment, processor 102 are stored in memory 104 by operation
Computer program realizes above-mentioned method thereby executing various function application and data processing.Memory 104 may include
High speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or its
His non-volatile solid state memory.In some instances, memory 104 can further comprise remotely setting relative to processor 102
The memory set, these remote memories can pass through network connection to server 10.The example of above-mentioned network includes but unlimited
In internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include
The wireless network that the communication providers of server 10 provide.In an example, transmitting device 106 includes a network adapter
(Network Interface Controller, referred to as NIC), can be connected by base station with other network equipments so as to
It is communicated with internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, referred to as RF)
Module is used to wirelessly be communicated with internet.
A kind of request processing method for running on above-mentioned server is provided in the present embodiment, and Fig. 2 is according to the present invention
The flow chart of the request processing method of embodiment, as shown in Fig. 2, the process includes the following steps:
Step S202 receives target order request, wherein carry in target order request corresponding with target order request
Start position location information;
Step S204 determines target subregion locating for start position according to location information, wherein target area divides
For multiple subregions, the corresponding indent queue difference of different subregions;
Target order request is added in target indent queue corresponding with target subregion by step S206;
Step S208 is sent according to sequence of the target order request in target indent queue for target order request
It is single.
S202 to step S208 through the above steps, server receive target order request, wherein in target order request
Carry the location information of start position corresponding with target order request;According to location information, determine locating for start position
Target subregion, wherein target area is divided into multiple subregions, and the corresponding indent queue of different subregions is different;By mesh
Mark order request is added in target indent queue corresponding with target subregion;According to target order request in target order team
Sequence in column carries out worksheet processing for target order request, that is, in such a way that multiple single amounts distribute parallel, target area is drawn
It is divided into multiple subregions, different subregions are established different indent queues respectively, sent respectively according to each indent queue
It is single, it solves request processing mode in the related technology there are worksheet processing low efficiency, the problem of poor user experience, improves worksheet processing
Efficiency, and then improve user experience.
Optionally, the executing subject of above-mentioned steps can be server etc., but not limited to this.
Above-mentioned target order request fills in travel information in webpage, third party's small routine, client etc. by user, and mentions
Hand over order triggering.Client may be mounted on user terminal, and above-mentioned travel information may include at least one of: stroke
Start position, the final position of stroke, the departure time of stroke, the requirement (for example, vehicle brand etc.) to the vehicle distributed.It is right
It in user terminal, detects that the target button (for example, " submission ") on terminal interface is triggered, travel information is obtained, according to row
Journey information generates target order request.At least one of following information is carried in target order request: being asked with target order
The location information for seeking corresponding start position, the location information in final position corresponding with target order request are the departure time, right
Distribute the requirement etc. of vehicle.The user identifier of the user by sending target order request can also be carried in target order request.
Optionally, it in the step of being related in above-mentioned the present embodiment S204, according to location information, determines locating for start position
Target subregion mode, may is that
S1 parses location information, determines the corresponding target latitude and longitude coordinates of start position;
S2 determines starting point according to the relationship of pre-set target latitude and longitude coordinates and the regional scope of multiple subregions
Target subregion locating for position.
The relationship of above-mentioned pre-set target latitude and longitude coordinates and the regional scope of multiple subregions can be for practically
Manage the relationship between position, that is, the relationship between the coordinate points of target longitude and latitude and the coordinate range of regional scope, regional scope
Coordinate range can be indicated by the coordinate points on four vertex of regional scope.
Optionally, location information is parsed, determines that the corresponding target latitude and longitude coordinates of start position may include:
S11 obtains location information from target order request, wherein location information is by using target Encryption Algorithm
(for example, Geo Hash Encryption Algorithm, geographical Hash Encryption Algorithm) obtains after encrypting to target latitude and longitude coordinates;
S12, using object decryption algorithm corresponding with target Encryption Algorithm (for example, Geo Hash decipherment algorithm) to position
Information is decrypted, and obtains target latitude and longitude coordinates.
Optionally, by target order request be added to target indent queue mode can there are many, may include but not
It is limited to: according to the chronological order for receiving order request, target order request is added in target indent queue;According to mesh
The information that carries calculates the priority of target order request in mark order request, according to the priority of target order request and/or
The time for receiving target order request, position of the target order request in target indent queue is determined, according to determining position
Target order request is added in target indent queue.
In another optional embodiment of the present embodiment, above-mentioned steps S206 by target order request be added to
After in the corresponding target indent queue of target subregion, the method for the present embodiment can also include:
Step S206-2 obtains geographic position data corresponding to each order request in target indent queue respectively,
In, geographic position data is determined by the location information of the start position corresponding with each order request carried in each order request;
Step S206-4 marks out each order request in the target subregion on map according to geographic position data,
In, order identification of each order request by each order request in target indent queue.
In addition, in the step of being related in above-mentioned the present embodiment S208, according to target order request in target indent queue
In sequence, for target order request carry out worksheet processing mode, may is that
According to the sequence of the tail of the queue order of the head of the queue order from target indent queue to target indent queue, it is followed successively by target
Order request in indent queue distributes the vehicle in available mode.
Carrying out worksheet processing for target order request can refer to: the order request is distributed to the vehicle in Idle state.
The rule of worksheet processing may is that according to the start position of the stroke carried in target order request and final position, the departure time, right
The information such as the requirement of vehicle select a vehicle from one or more in Idle state and satisfactory vehicle, may is that
A vehicle is selected from the vehicle of multiple competition for orders, it may also is that meeting distance condition with initial position and being in Idle state
Vehicle.
Above-mentioned request processing method is illustrated below with reference to the specific example of the present embodiment;
Request processing method in actual transport power distributes in this example can satisfy claimed below:
(1) fair.Passenger needs to distribute transport power according to first come, first served order, meet travel requirement.
(2) efficiency is distributed.Multiple single amounts distribute parallel, improve efficiency.In the case where transport power meets order travel requirement,
It can worksheet processing as early as possible.
(3) data visualization.By visualization tool can check current system to worksheet processing the case where, help to distribute
Operation Decision.
Order processing method in this example is using geo hash code (geographical Hash coding) to coverage (target
Region) partition is carried out, different queue queues (indent queue) is established respectively to the passenger in region, according to the excellent of each queue
First order is serviced.
The process of order processing method in this example may comprise steps of:
Step 1, by dividing to urban geography region, division geographic grid is carried out according to Geo Hash Code.
Step 2, each geographic area divided to Geo Hash Code is established independent distribute queue respectively.
Geo Hash encryption refers to: two-dimensional longitude and latitude geographic coordinate information is converted into one-dimensional character string.Geo
Hash can also adjust the size of block according to required precision, be adapted to the requirement of different schemes.
To the algorithm that Geo Hash Code is decrypted, mainly reverse ciphering process, the seat at four angles of rectangular block is found
Mark.
It is wm98r citing with Geo Hash Code, to illustrate decrypting process.
1110010011010010100010111 (binary systems) are obtained according to the anti-decryption of Base32 coding of interior customization.
Wherein, two score data of latitude are as follows: 101011000001, two divided data of longitude are as follows: 1100100110111.Latitude dichotomy
Starting section is that [- 90,90] take big section, 0 takes minizone when two score values are 1.The starting section of longitude dichotomy be [-
180,180], when two score values are 1, big section is taken, 0 takes minizone.
For example, the Geo Hash encryption for the use of length being 5 carries out division block, division result such as Fig. 3 to Dujiang weir city
It is shown.
Step 3, after user places an order, by the latitude and longitude coordinates of starting point, Geo Hash encryption is carried out, automatically into correspondence
The corresponding waiting in the region Geo Hash Code distributes queue.
Step 4, the head of the queue order of the queue queue of different zones is distributed respectively.Circulation distributes, until being lined up team
It is classified as sky.
Step 5, while algorithm is distributed, GeoHashCode geography block solution is carried out using the visual tool of Web
Code, while according to the passenger's order being lined up in order mark queue in map.
It obtains Geo Hash Code and corresponds to the order geography details data in queue queue, in conjunction with the square decrypted in step 1
Shape coordinate point data, the order carried out in the region GeoHash Code visualize, and show the order information in each region.
As shown in figure 4, Fig. 4 illustrate the range of order GeoHash Code geography block and in region under
Order after single time-sequencing.
The passenger in zonule is carried out only by this exemplary above-mentioned technical proposal by big region division at zonule
It is vertical be lined up, worksheet processing performance and fairness problem has been taken into account, meanwhile, data are visualized, substantially increases and actually operates
Effect.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) method that executes each embodiment of the present invention.
Embodiment 2
A kind of processing unit of information is additionally provided in the present embodiment, and the device is for realizing above-described embodiment and preferably
Embodiment, the descriptions that have already been made will not be repeated.As used below, predetermined function may be implemented in term " module "
The combination of software and/or hardware.Although device described in following embodiment is preferably realized with software, hardware, or
The realization of the combination of person's software and hardware is also that may and be contemplated.
Fig. 5 is request processing device structure diagram one according to an embodiment of the present invention, as shown in figure 5, the device includes:
Receiving unit 52, for receiving target order request, wherein carry in target order request and asked with target order
Seek the location information of corresponding start position;
Determination unit 54 is connected with receiving unit 52, for determining of target locating for start position according to location information
Region, wherein target area is divided into multiple subregions, and the corresponding indent queue of different subregions is different;
Adding unit 56 is connected with determination unit 54, corresponding with target subregion for being added to target order request
Target indent queue in;
Worksheet processing unit 58 is connected with adding unit 56, for suitable in target indent queue according to target order request
Sequence carries out worksheet processing for target order request.
Optionally it is determined that unit 54 may include:
Parsing module determines the corresponding target latitude and longitude coordinates of start position for parsing to location information;
Determining module is connected with parsing module, for according to pre-set target latitude and longitude coordinates and multiple subregions
Regional scope relationship, determine target subregion locating for start position.
Optionally, parsing module includes:
Acquisition submodule, for obtaining location information from target order request, wherein location information be by using
What Geo Hash Encryption Algorithm obtained after encrypting to target latitude and longitude coordinates;
Submodule is decrypted, is connected with acquisition submodule, use Geo Hash corresponding with Geo Hash Encryption Algorithm is used for
Location information is decrypted in decipherment algorithm, obtains target latitude and longitude coordinates.
Fig. 6 is order processing apparatus structure schematic diagram two according to an embodiment of the present invention, as shown in fig. 6, the device also wraps
It includes:
Acquiring unit 62 is connected with adding unit 56, for being added to and target subregion pair by target order request
After in the target indent queue answered, geographical location number corresponding to each order request in target indent queue is obtained respectively
According to, wherein geographic position data by the location information of the start position corresponding with each order request carried in each order request
It determines;
Display unit 64 is connected with acquiring unit 62, for the target subregion according to geographic position data, on map
It is middle to show each order request, wherein order identification of each order request by each order request in target indent queue.
Optionally, worksheet processing unit may include: to distribute module, for according to from the head of the queue order of target indent queue to mesh
The sequence of the tail of the queue order of indent queue is marked, the order request being followed successively by target indent queue distributes the vehicle in available mode
?.
These are only the preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art
For member, the invention may be variously modified and varied.All within the spirits and principles of the present invention, it is made it is any modification,
Equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of request processing method characterized by comprising
Receive target order request, wherein user identifier and the target order request are carried in the target order request
The location information of corresponding start position;
According to the positional information, target subregion locating for the start position is determined, wherein target area is divided into multiple
Subregion, the corresponding indent queue of different subregions are different;
The target order request is added in target indent queue corresponding with the target subregion;
According to sequence of the target order request in the target indent queue, sent for the target order request
It is single.
2. method according to claim 1, which is characterized in that according to the positional information, determine locating for the start position
The target subregion include:
The location information is parsed, determines the corresponding target latitude and longitude coordinates of the start position;
According to the relationship of the pre-set target latitude and longitude coordinates and the regional scope of the multiple subregion, determine described in
The target subregion locating for start position.
3. method according to claim 2, which is characterized in that parsed to the location information, determine described point
Setting the corresponding target latitude and longitude coordinates includes:
The location information is obtained from the target order request, wherein the location information is by using Geo Hash
What Encryption Algorithm obtained after encrypting to the target latitude and longitude coordinates;
The location information is decrypted using Geo Hash decipherment algorithm corresponding with the Geo Hash Encryption Algorithm, is obtained
To the target latitude and longitude coordinates.
4. method according to claim 1, which is characterized in that be added to and target by the target order request
After in the corresponding target indent queue in region, the method also includes:
Geographic position data corresponding to each order request in the target indent queue is obtained respectively, wherein the geography
Position data is determined by the location information for carrying start position corresponding with each order request in each order request;
According to the geographic position data, each order request is marked out in the target subregion on map, wherein
Order identification of each order request by each order request in the target indent queue.
5. according to claim 1 to any one of 4 the methods, which is characterized in that according to the target order request described
Sequence in target indent queue, carrying out worksheet processing for the target order request includes:
According to the sequence of the tail of the queue order of the head of the queue order from the target indent queue to the target indent queue, it is followed successively by
Order request in the target indent queue distributes the vehicle in available mode.
6. a kind of request processing unit characterized by comprising
Receiving unit, for receiving target order request, wherein carried in the target order request and the target order
Request the location information of corresponding start position;
Determination unit, for according to the positional information, determining target subregion locating for the start position, wherein target
Region division is multiple subregions, and the corresponding indent queue of different subregions is different;
Adding unit, for the target order request to be added to target indent queue corresponding with the target subregion
In;
Worksheet processing unit is ordered for the sequence according to the target order request in the target indent queue for the target
Single request carries out worksheet processing.
7. device according to claim 6, which is characterized in that the determination unit includes:
Parsing module determines the corresponding target latitude and longitude coordinates of the start position for parsing to the location information;
Determining module, for according to the pre-set target latitude and longitude coordinates and the regional scope of the multiple subregion
Relationship determines the target subregion locating for the start position.
8. device according to claim 7, which is characterized in that the parsing module includes:
Acquisition submodule, for obtaining the location information from the target order request, wherein the location information is logical
It crosses and obtains after being encrypted using Geo Hash Encryption Algorithm to the target latitude and longitude coordinates;
Submodule is decrypted, for use Geo Hash decipherment algorithm corresponding with the Geo Hash Encryption Algorithm to the position
Information is decrypted, and obtains the target latitude and longitude coordinates.
9. device according to claim 6, which is characterized in that described device further include:
Acquiring unit, for the target order request to be added to target indent queue corresponding with the target subregion
In after, obtain geographic position data corresponding to each order request in the target indent queue respectively, wherein describedly
Reason position data is true by the location information for carrying start position corresponding with each order request in each order request
It is fixed;
Display unit is shown in the target subregion on map and described is respectively ordered for according to the geographic position data
Single request, wherein order identification of each order request by each order request in the target indent queue.
10. according to any one of claim 6 to 9 described device, which is characterized in that worksheet processing unit includes:
Module is distributed, for the tail of the queue order according to the head of the queue order from the target indent queue to the target indent queue
Sequence, the order request being followed successively by the target indent queue distributes the vehicle in available mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811211122.XA CN109615159B (en) | 2018-10-17 | 2018-10-17 | Request processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811211122.XA CN109615159B (en) | 2018-10-17 | 2018-10-17 | Request processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109615159A true CN109615159A (en) | 2019-04-12 |
CN109615159B CN109615159B (en) | 2023-12-22 |
Family
ID=66002859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811211122.XA Active CN109615159B (en) | 2018-10-17 | 2018-10-17 | Request processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109615159B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110502474A (en) * | 2019-06-26 | 2019-11-26 | 中电万维信息技术有限责任公司 | Order allocation method, device and storage medium based on distributed memory system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150161752A1 (en) * | 2013-12-11 | 2015-06-11 | Uber Technologies Inc. | Intelligent queuing for user selection in providing on-demand services |
CN106570917A (en) * | 2016-10-25 | 2017-04-19 | 先锋智道(北京)科技有限公司 | Vehicle demand thermodynamic diagram generation method and device thereof |
CN107844886A (en) * | 2017-09-15 | 2018-03-27 | 北京百度网讯科技有限公司 | Vehicle dispatching method, device, equipment and storage medium |
CN108009654A (en) * | 2017-08-16 | 2018-05-08 | 北京嘀嘀无限科技发展有限公司 | Order processing method, apparatus, server and computer-readable recording medium |
CN108009653A (en) * | 2017-08-16 | 2018-05-08 | 北京嘀嘀无限科技发展有限公司 | Order management method, device, server and computer-readable recording medium |
CN108009650A (en) * | 2017-03-29 | 2018-05-08 | 北京嘀嘀无限科技发展有限公司 | Net about car service request processing method, device and server |
-
2018
- 2018-10-17 CN CN201811211122.XA patent/CN109615159B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150161752A1 (en) * | 2013-12-11 | 2015-06-11 | Uber Technologies Inc. | Intelligent queuing for user selection in providing on-demand services |
CN106570917A (en) * | 2016-10-25 | 2017-04-19 | 先锋智道(北京)科技有限公司 | Vehicle demand thermodynamic diagram generation method and device thereof |
CN108009650A (en) * | 2017-03-29 | 2018-05-08 | 北京嘀嘀无限科技发展有限公司 | Net about car service request processing method, device and server |
CN108009654A (en) * | 2017-08-16 | 2018-05-08 | 北京嘀嘀无限科技发展有限公司 | Order processing method, apparatus, server and computer-readable recording medium |
CN108009653A (en) * | 2017-08-16 | 2018-05-08 | 北京嘀嘀无限科技发展有限公司 | Order management method, device, server and computer-readable recording medium |
CN107844886A (en) * | 2017-09-15 | 2018-03-27 | 北京百度网讯科技有限公司 | Vehicle dispatching method, device, equipment and storage medium |
Non-Patent Citations (3)
Title |
---|
何首武 等: "基于HBase的位置数据区域查询研究" * |
王凯 等: "基于MongoDB 的轨迹大数据时空索引构建方法" * |
蒋佳维 等: "车辆定位数据实时匹配地图解决方案" * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110502474A (en) * | 2019-06-26 | 2019-11-26 | 中电万维信息技术有限责任公司 | Order allocation method, device and storage medium based on distributed memory system |
Also Published As
Publication number | Publication date |
---|---|
CN109615159B (en) | 2023-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8938245B2 (en) | Wireless transmitter identity or positioning information partitioning | |
CN105702017B (en) | A kind of vehicle dispatching method and device | |
CN105144262B (en) | Include the method and apparatus of multiple optimal paths by place for transmitting | |
CN107368986B (en) | A kind of logistics information processing method and system | |
CN103888895B (en) | information processing method, server apparatus and mobile terminal | |
CN110324781B (en) | Indoor positioning method and device, electronic equipment and computer readable storage medium | |
EP3013100A1 (en) | Method and device for releasing ssid in wlan | |
CN108260082B (en) | Method and device for selecting resources in V2X resource pool | |
CN109246621A (en) | Differential data broadcasting method and device, method of reseptance and device, storage medium | |
CN108702591B (en) | Information transmission method and device | |
CN109063121B (en) | Data storage method, device, computer equipment and computer storage medium | |
CN110121201A (en) | A kind of paths planning method, device, base station and terminal | |
CN106059651B (en) | A kind of rating information management control method and device | |
CN107580365B (en) | Region management method and system for satellite communication | |
CN113055878A (en) | Cloud card distribution method and device, electronic equipment and storage medium | |
CN109615159A (en) | Request processing method and device | |
CN110830906B (en) | Wide-narrow band fusion GIS system and communication method | |
WO2021036941A1 (en) | Broadcasting method, apparatus and system | |
CN110381586A (en) | Resource allocation methods, apparatus and system | |
CN102014487A (en) | Positioning method, device and system | |
JP6540439B2 (en) | Wireless communication method and wireless communication device | |
CN108121725A (en) | A kind of searching method and device | |
CN105264946B (en) | Service acceleration method and device | |
CN108990084B (en) | Information acquisition method, device, equipment and computer readable storage medium | |
CN105873197B (en) | A kind of method and device of intelligent management information transmission |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |