Order processing method and device
By displaying electronic maps in the online car-hailing order matching system and obtaining driver click or marking operation information, the problem of drivers being difficult to set reasonable matching areas by themselves is solved, the rationality and matching efficiency of matching areas are improved, and the user experience is improved .
Patent Information
- Application Number
- CN202310822223.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-05
- Publication Date
- 2025-01-07
AI Technical Summary
The existing online ride-hailing order matching system is difficult for drivers to set up reasonable matching areas on their own, resulting in insufficient matching efficiency and accuracy.
By displaying the electronic map, the driver can obtain the driver's click or marking operation information in the electronic map, determine the matching area based on the operation information, and allow the driver to set the matching area by himself.
It improves the rationality and matching efficiency of the matching area, allowing drivers to set the matching area more accurately, thereby improving user experience and matching success rate.
Smart Images

Figure CN119273415A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of order processing, and in particular to an order processing method and device. Background Art
[0002] With the development of Internet technology, various types of online ride-hailing services based on Internet technology are increasingly being used in people's daily lives, such as ride-sharing, taxi-hailing, and carpooling, which bring great convenience to users. In the ride-sharing scenario, matching the ride-sharing driver with passengers along the way based on the ride-sharing driver's departure, destination, and route information plays an important role in energy conservation, environmental protection, and reducing traffic pressure. Summary of the invention
[0003] In view of this, an object of an embodiment of the present invention is to provide an order processing method and device, which can enable drivers to set matching areas by themselves and improve the rationality of matching areas.
[0004] In a first aspect, an embodiment of the present invention provides an order processing method, the method comprising:
[0005] Display electronic maps;
[0006] Obtaining the driver's operation information in the electronic map; and
[0007] A matching area is determined according to the position of the operation information in the electronic map.
[0008] In some embodiments, the electronic map is displayed as follows:
[0009] In response to the fuzzy ordering control being triggered, the electronic map is displayed.
[0010] In some embodiments, the method further comprises:
[0011] An order placement interface is displayed, wherein the order placement interface includes the fuzzy order placement control.
[0012] In some embodiments, the order placement interface further includes a normal order placement control and an order placement information input box;
[0013] The method further comprises:
[0014] Obtaining order information input by the driver through the order information input box, wherein the order information includes one or more of a departure place, a destination, and the number of travelers;
[0015] In response to the normal order placing control being triggered, an order placing request is sent to the server, the order placing request includes the order placing information, so that the server obtains the corresponding passenger according to the order placing information.
[0016] In some embodiments, the operation information includes at least one of a click and a stroke.
[0017] In some embodiments, in response to the operation information being a click, determining a matching area according to a position of the operation information in the electronic map includes:
[0018] Get the clicked location in the electronic map;
[0019] Acquire a target area corresponding to the click position in the pre-divided area; and
[0020] The matching area is determined according to the target area.
[0021] In some embodiments, determining the matching area according to the target area includes:
[0022] In response to the click position being one, the target area is determined as the matching area.
[0023] In some embodiments, determining the matching area according to the target area includes:
[0024] In response to the plurality of click positions, determining a target area corresponding to each click position; and
[0025] The matching area is determined according to the target areas corresponding to the respective click positions, and the matching area includes the target areas corresponding to the respective click positions.
[0026] In some embodiments, in response to the operation information being a stroke, determining a matching area according to a position of the operation information in the electronic map includes:
[0027] Determining a closed curve according to the drawing; and
[0028] The area where the closed curve is located is determined as the matching area.
[0029] In some embodiments, in response to the operation information being a stroke, determining a matching area according to a position of the operation information in the electronic map includes:
[0030] Determining a closed curve according to the drawing; and
[0031] An area matching the area where the closed curve is located is obtained from the pre-divided area and determined as the matching area.
[0032] In some embodiments, the pre-divided area is a grid or a geographical location boundary.
[0033] In some embodiments, the pre-divided area includes multiple levels, and the area at the previous level includes multiple areas at the next level.
[0034] In some embodiments, the method further comprises:
[0035] An order request is generated and sent to a server, wherein the order request includes the matching area, so that the server obtains corresponding passengers according to the matching area.
[0036] In some embodiments, the method further comprises:
[0037] receiving an order response sent by a server, wherein the order response includes at least one optional passenger;
[0038] Displaying a passenger selection interface, wherein the passenger selection interface includes the optional passengers;
[0039] Obtaining the target passenger selected by the driver; and
[0040] Sending first selection information to the server, wherein the first selection information includes the target passenger, to request the server to match an order for the driver and the target passenger.
[0041] In some embodiments, the method further comprises:
[0042] receiving a second invitation request sent by the server, where the second invitation request is generated by the server according to second selection information for the driver sent by the passenger terminal; and
[0043] Generate an invitation acceptance message or a rejection invitation message based on the driver's choice and send it to the server.
[0044] In some embodiments, the method further comprises:
[0045] Receive order information sent by the server, where the order information is generated after the server obtains a paired passenger for the driver.
[0046] In a second aspect, an embodiment of the present invention provides an order processing device, the device comprising:
[0047] A map display unit, used for displaying an electronic map;
[0048] an operation information acquisition unit, used to acquire the driver's operation information in the electronic map; and
[0049] The matching area determination unit is used to determine the matching area according to the position of the operation information in the electronic map.
[0050] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory and a processor, wherein the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method described in the first aspect.
[0051] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer program instructions, wherein the computer program instructions implement the method described in the first aspect when executed by a processor.
[0052] The technical solution of the embodiment of the present invention obtains the operation information of the driver clicking or drawing on the electronic map by displaying the electronic map, and determines the matching area according to the position of the operation information on the electronic map. In this way, the driver can set the matching area by himself, which improves the rationality of the matching area. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0054] Figure 1 is a schematic diagram of an information interaction system according to an embodiment of the present invention;
[0055] Figure 2 is a flow chart of an order processing method according to an embodiment of the present invention;
[0056] Figure 3 is a schematic diagram of an order issuing interface of an embodiment of the present invention;
[0057] Figure 4 is a schematic diagram of a fuzzy order issuing interface according to an embodiment of the present invention;
[0058] Figure 5 is a schematic diagram of an interface for setting a matching area according to an embodiment of the present invention;
[0059] Figure 6 is a flow chart of determining a clicked matching area according to an embodiment of the present invention;
[0060] Figure 7 is a schematic diagram of a first example of a matching area according to an embodiment of the present invention;
[0061] Figure 8 is a schematic diagram of a second example of a matching area according to an embodiment of the present invention;
[0062] Fig. 9 is a flow chart of determining a matching area of a stroke according to an embodiment of the present invention;
[0063] Fig.10 is a schematic diagram of a closed curve according to an embodiment of the present invention;
[0064] Fig.11 is a flow chart of determining a matching area of a stroke according to another embodiment of the present invention;
[0065] Fig.12 is a schematic diagram of an order processing device according to an embodiment of the present invention;
[0066] Fig.13 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0067] The present invention is described below based on embodiments, but the present invention is not limited to these embodiments. In the detailed description of the present invention below, some specific details are described in detail. It is possible for a person skilled in the art to fully understand the present invention without the description of these details. In order to avoid confusing the essence of the present invention, known methods, processes, flows, components and circuits are not described in detail.
[0068] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.
[0069] Unless the context clearly requires otherwise, the words "include", "comprising" and the like throughout this application should be interpreted as including rather than exclusive or exhaustive; that is, as meaning "including but not limited to".
[0070] In the description of the present invention, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.
[0071] Figure 1 Schematic diagram of an information interaction system according to an embodiment of the present invention. Figure 1 In the embodiment shown, the information interaction system includes a server 1, a passenger terminal 2 and a driver terminal 3. The passenger terminal 2 and the driver terminal 3 are connected to the server 1 for communication.
[0072] In this embodiment, the passenger terminal 2 is a terminal device used by taxi users, and orders can be placed through APP (application), web pages, mini-programs, etc.
[0073] Among them, the passenger terminal 2 can be realized through terminal devices such as mobile phones, tablet computers, laptops, desktop computers, etc.
[0074] In this embodiment, the driver terminal 3 is a terminal device used by the driver, and can process orders through APP (application), web pages, mini-programs, etc., such as placing orders, grabbing orders, accepting orders, canceling orders, etc.
[0075] Among them, the driver terminal 3 can be implemented through terminal devices such as mobile phones, tablet computers, and vehicle-mounted terminals.
[0076] In this embodiment, the server 1 is a platform server, which can be implemented by a single server or a server cluster consisting of multiple servers.
[0077] Figure 2 is a flow chart of an order processing method according to an embodiment of the present invention. Figure 2 In the illustrated embodiment, the method for obtaining the matching area is applicable to the driver terminal, and specifically includes the following steps:
[0078] Step S100: display an electronic map.
[0079] In this embodiment, when the driver needs to start a ride-sharing service when traveling, he opens the ride-sharing ordering interface through the driver's terminal APP (application), web page, mini-program, etc. When the matching area needs to be set, the setting interface of the matching area is opened to display the electronic map.
[0080] Specifically, Figure 3 Schematic diagram of the order issuing interface of an embodiment of the present invention. Figure 3 In the embodiment shown, when the driver opens the driver's ride-sharing service through an APP, web page, mini program, etc., the driver enters Figure 3 The order placement interface shown in the figure includes a normal order placement control and an order information input box. Figure 3 In the order information input box shown, the driver can enter information such as the departure place, destination, departure time and number of available seats.
[0081] It should be understood that Figure 3 The order information input box shown is only an example provided by the embodiment of the present invention. The embodiment of the present invention does not limit the specific information content input by the driver, which may include part or all of the above content, and may also include other content, such as vehicle model, information on the party responsible for the highway fee, etc. At the same time, the embodiment of the present invention does not limit the display method of the order placement interface. For example, the above information can be input based on one interface, or divided into multiple interfaces for input separately.
[0082] When the driver triggers the normal order issuing control, the order is issued according to the usual order issuing process. The driver terminal sends an order request to the server, and the order request includes the order information, so that the server obtains the corresponding passenger according to the order information. That is, the driver terminal sends the departure and destination information to the server, and the server matches the order for the driver based on various existing methods.
[0083] When the driver triggers the fuzzy order issuance control, it jumps to the fuzzy order issuance interface.
[0084] Figure 4 Schematic diagram of the fuzzy order issuing interface of an embodiment of the present invention. In the fuzzy order issuing interface, the driver can choose "set departure place" or "set destination". When the driver clicks "set departure place" or "set destination", an electronic map of the set matching area is displayed.
[0085] It should be understood that the embodiment of the present invention does not limit the method of jumping to the electronic map. It can jump to the electronic map based on various triggers. For example, it can jump directly to the electronic map when the driver starts the ride-sharing. Figure 4 The fuzzy ordering interface shown, or, when the driver starts the ride-sharing, it directly jumps to the electronic map of the set departure place, or, when the fuzzy ordering is selected, it directly jumps to the electronic map of the set departure place.
[0086] Figure 5 FIG. 1 is a schematic diagram of an interface for setting a matching area according to an embodiment of the present invention. Figure 5 As shown, when the driver selects "Set departure point" or "Set destination", it jumps to the interface of setting the matching area, and the interface of the matching area includes an electronic map.
[0087] Specifically, the earth is regarded as a sphere, and longitude and latitude are a spherical coordinate system that uses a three-dimensional sphere to define the space on the earth. It can mark any position on the earth and can be expressed as (lng, lat) where longitude is lng and latitude is lat. The embodiment of the present invention projects the longitude and latitude coordinates to two-dimensional plane coordinates by map projection. Map projection is to transfer the longitude and latitude grid on the sphere to the plane according to certain mathematical rules, and establish a functional relationship between the points on the sphere and the points on the plane. The specific projection method can be achieved by Gauss-Kruger projection or Mercator projection. At the same time, according to the determined geographic information classification, the classification information is expressed and recorded in a symbol system that is easy to be recognized by computers and people to generate an electronic map. In other words, an electronic map is a two-dimensional plane, and each coordinate in the electronic map has its corresponding longitude and latitude.
[0088] Step S200: obtaining the driver's operation information in the electronic map.
[0089] In this embodiment, the operation information refers to the information related to the electronic map input by the driver through the display interface of the driver terminal. It is understandable that the operation information here can be implemented by technical means related to user interactive operations in existing technologies or future technologies, and this application does not limit this. For example, the operation information can be one or more of click (single click, double click, etc.), slide (line), knuckle tapping, knuckle sliding, etc.
[0090] For the sake of convenience, the embodiment of the present invention is described by taking the operation information of clicking or drawing a line as an example. That is to say, the driver can set the matching area in the electronic map by clicking or drawing a line.
[0091] The operation information includes an operation type and an operation position, wherein the operation type includes click and draw, and the operation position is the coordinates of the click or draw in the electronic map.
[0092] Specifically, for the driver terminal, after the electronic map is displayed on the screen of the driver terminal, a first coordinate system is established, and the first coordinate system is the plane rectangular coordinate system of the screen. At the same time, the second coordinates of the points of the electronic map displayed on the screen in the second coordinate system are obtained, and the second coordinate system is the plane rectangular coordinate system of the electronic map. Thus, the second coordinates of each point in the second coordinate system and the first coordinates in the first coordinate system can be obtained, and then the functional relationship f between the first coordinate system and the second coordinate system can be obtained according to the first coordinate and the second coordinate of the same point. Thus, when the driver clicks or slides on the screen, the first coordinates (x1, y1) of the click or slide operation in the first coordinate system can be obtained, and then the corresponding second coordinates (x2, y2) = f(x1, y1) can be obtained according to the functional relationship f. Thus, the location and operation type of the driver's operation can be obtained.
[0093] Step S300: determining a matching area according to the position of the operation information in the electronic map.
[0094] In this embodiment, the position of the operation information in the electronic map is the coordinates of the click or slide in the electronic map, and the matching area is determined according to the coordinates in the electronic map.
[0095] Figure 6 4 is a flow chart of determining a clicked matching area according to an embodiment of the present invention. Figure 6 In the illustrated embodiment, in response to the operation information being a click, determining a matching area according to the position of the operation information in the electronic map includes the following steps:
[0096] Step S310: Obtain the clicked position in the electronic map.
[0097] In this embodiment, a click position in the electronic map is obtained, and the click position is a coordinate in the second coordinate system.
[0098] Step S320: Acquire a target area corresponding to the click position in the pre-divided area.
[0099] In this embodiment, the electronic map is pre-divided into various areas, and after the click position is obtained, the area where the click position is located is determined as the target area.
[0100] The method of dividing the areas can be implemented based on various existing methods.
[0101] In an optional implementation, the region can be divided according to grids. For example, the electronic map is divided into a plurality of grids, each grid being a region. The grids can be one or more combinations of triangles, rectangles, regular polygons or other irregular shapes.
[0102] In an optional implementation, the regions may be divided according to management units. For example, a store, house, building, community, street, township, town, county, district, city, or province may be considered as a region.
[0103] Regions can be divided into multiple levels, and the upper level region can include multiple lower level regions. Among them, the target region is the region of the lowest level.
[0104] Step S330: determine the matching area according to the target area.
[0105] In this embodiment, the manner of determining the matching area varies according to different click positions.
[0106] In which, in response to the click position being one, the target area is determined as the matching area.
[0107] Figure 7 FIG. 1 is a schematic diagram of a first example of a matching area according to an embodiment of the present invention. Figure 7 In the illustrated embodiment, assuming that the click position is P1 and the target area where the click position is located is Q2, the matching area is the target area Q2.
[0108] In response to the fact that there are multiple click positions, a target area corresponding to each click position is determined, and the matching area is determined according to the target area corresponding to each click position, wherein the matching area includes the target area corresponding to each click position.
[0109] Figure 8 FIG. 1 is a schematic diagram of a second example of a matching area according to an embodiment of the present invention. Figure 8In the illustrated embodiment, it is assumed that the driver clicks twice, and the click positions of the two times are P1 and P2 respectively, the target area where P1 is located is Q1, and the target area where P2 is located is Q2. As described above, the areas are divided into multiple levels, and the upper level area can include multiple lower level areas. Thus, an area one level higher than Q1 and Q2 is obtained, and if there is such an area that includes both Q1 and Q2, the area is determined as a matching area. If there is no area that includes both Q1 and Q2, a higher level area is obtained until a certain area includes both Q1 and Q2, and the corresponding area is determined as a matching area. Assuming that the group of Q1 and Q2 areas is one area, the matching area is the combined area of Q1 and Q2.
[0110] Fig. 9 FIG. 1 is a flow chart of determining a matching area of a line according to an embodiment of the present invention. Fig. 9 In the illustrated embodiment, in response to the operation information being a stroke, determining the matching area according to the position of the operation information in the electronic map includes the following steps:
[0111] Step S340: determining a closed curve according to the line drawing.
[0112] In this embodiment, since the driver draws the line manually by touching the screen, there may be a problem of irregular drawing. Therefore, the drawing is corrected to obtain a closed curve.
[0113] Fig.10 Schematic diagram of a closed curve according to an embodiment of the present invention. Fig.10 As shown in FIG. 1 , La, Lb and Lc are the driver's lines, among which Lb is relatively standard and can be directly determined as the closed curve, while La has redundant line segments and Lc lacks line segments. For the line La, there is a closed curve, and the redundant parts can be removed. For Lc, there is no closed curve, so it is necessary to connect the two ends of the line to obtain a closed curve. The corrected closed curve is shown in Ld.
[0114] Step S350: determine the area where the closed curve is located as the matching area.
[0115] In this embodiment, the area where the closed curve is located is determined as the matching area. Fig.10 For example, if the closed curve is shown as Ld, the matching area finally determined is the area formed by the closed curve Ld, that is, the matching area.
[0116] Fig.11 FIG. 1 is a flowchart of determining a matching area of a line according to another embodiment of the present invention. Fig.11 In the illustrated embodiment, in response to the operation information being a stroke, determining the matching area according to the position of the operation information in the electronic map includes the following steps:
[0117] Step S360: determining a closed curve according to the line drawing.
[0118] In this embodiment, since the driver draws the line manually by touching the screen, there may be a problem of irregular drawing. Therefore, the drawing is corrected to obtain a closed curve.
[0119] Step S370: Acquire an area in the pre-divided area that matches the area where the closed curve is located and determine it as the matching area.
[0120] In an optional implementation, the area with the highest similarity to the closed curve is determined as the matching area. The similarity is used to characterize the proportion of the intersection area of the closed curve and the pre-divided area. Specifically, all areas intersecting with the closed curve are obtained as candidate areas, the intersection area of the closed curve and each of the candidate areas is calculated, and the ratio of the intersection area to the area of the closed curve area is determined as the similarity, and the candidate area with the highest similarity is determined as the matching area. Therefore, directly determining the area marked by the driver as the matching area can meet the driver's wishes to the greatest extent.
[0121] In another optional implementation, the lowest level area containing the closed curve is determined as the matching area. Thus, the matching area is determined in the pre-planned area according to the area marked by the driver, so that the finally obtained matching area includes the area expected by the driver, which improves the driver experience, and at the same time satisfies the pre-planned area, which is convenient for subsequent matching processing.
[0122] Thus, the driver can set the matching area of the departure place through the above process. When the matching area of the departure place is set, it will automatically jump to the matching area of the destination. Or, when the matching area of the departure place is set, it will return to Figure 4 In the interface shown, the driver can continue to select and set the matching area of the destination. The setting of the matching area of the destination is similar to that of the departure place, and the embodiment of the present invention will not be repeated here.
[0123] The embodiment of the present invention displays an electronic map, obtains the operation information of the driver clicking or drawing on the electronic map, and determines the matching area according to the position of the operation information on the electronic map. Thus, the driver can set the matching area by himself, and the rationality of the matching area is improved.
[0124] In some embodiments, the method further comprises
[0125] Step S400: Generate an order request and send it to the server.
[0126] In this embodiment, the order request includes the matching area, so that the server obtains the corresponding passenger according to the matching area.
[0127] In some embodiments, when a passenger needs to use a ride-sharing service, the passenger inputs the corresponding itinerary information in the taxi-hailing interface through the APP (application), web page, mini-program, etc. of the passenger terminal, and the passenger terminal sends the passenger's itinerary information to the server. Among them, the itinerary information includes one or more of the passenger's departure place, destination, departure time, number of passengers, business type, and other information. At the same time, the driver terminal sends the driver's order request to the server. When the server receives the passenger's itinerary information and the driver's order request, it matches the passenger and the driver, obtains passengers whose departure point and destination are within the driver's matching area for the driver, and executes the order matching process to facilitate orders for the driver and the passenger.
[0128] In some embodiments, after receiving the order information sent by the driver, the server parses the order request to obtain the driver's matching area. At the same time, the server obtains information such as the departure and destination of each passenger, matches the driver's matching area and the passenger's itinerary information, obtains optional passengers for the driver, and then executes the driver selection process.
[0129] For the driver's selection of passengers, the server sends an order response to the driver's terminal, the order response includes optional passengers, the driver's terminal displays a passenger selection interface, the passenger selection interface includes a list of optional passengers, the driver can select one or more passengers according to his own wishes through the list of optional passengers, and send the corresponding first selection information to the server. After receiving the first selection information, the server sends a first invitation message to the passenger corresponding to the first selection information, the passenger terminal displays the invitation message, the passenger can choose to accept the driver's invitation or reject the driver's invitation, if the passenger chooses to reject the driver's invitation, the server sends the driver a corresponding message to prompt the driver to reselect a passenger. If the passenger chooses to accept the driver's invitation, the passenger terminal sends a reception invitation message to the server, after receiving the reception invitation message, the server binds the driver and the passenger, indicating that the driver and the passenger have been placed in an order, and sends order information to the driver and the passenger.
[0130] Similarly, for a passenger's choice of a driver, the server sends an order response to the passenger terminal, the order response includes optional drivers, the passenger terminal displays a driver selection interface, the driver selection interface includes a list of optional drivers, through the list of optional drivers, the passenger can choose one or more drivers according to his or her wishes, and send the corresponding second selection information to the server, after receiving the second selection information, the server sends a second invitation message to the driver corresponding to the second selection information, the driver terminal displays the invitation message, the driver can choose to accept the passenger invitation or reject the passenger invitation, if the driver chooses to reject the passenger invitation, the server sends the corresponding information to the passenger to prompt the passenger to reselect a driver. If the driver chooses to accept the passenger invitation, the driver terminal sends a reception invitation message to the server, after receiving the reception invitation message, the server binds the driver and the passenger, indicating that the driver and the passenger have been placed in an order, and sends the order information to the driver and the passenger.
[0131] In this way, the orders between drivers and passengers can be matched.
[0132] In some embodiments, after the server obtains a paired passenger for the driver, the server sends order information to the driver's terminal, wherein the paired passenger is a passenger who sends an invitation to the driver and the driver receives the invitation, or the paired passenger is a passenger who receives the invitation.
[0133] The embodiment of the present invention displays an electronic map, obtains the operation information of the driver clicking or drawing on the electronic map, and determines the matching area according to the position of the operation information on the electronic map. Thus, the driver can set the matching area by himself, and the rationality of the matching area is improved.
[0134] Fig.12 Schematic diagram of an order processing device according to an embodiment of the present invention. Fig.12 In the illustrated embodiment, the matching area acquisition device includes a map display unit 121, an operation information acquisition unit 122, and a matching area determination unit 123. The map display unit 121 is used to display an electronic map. The operation information acquisition unit 122 is used to obtain the driver's operation information in the electronic map, and the operation information includes clicks and strokes. The matching area determination unit 123 is used to determine the matching area according to the position of the operation information in the electronic map.
[0135] In some embodiments, the map display unit is specifically used to:
[0136] In response to the fuzzy ordering control being triggered, the electronic map is displayed.
[0137] In some embodiments, the apparatus further comprises:
[0138] The order placement interface display unit is used to display the order placement interface, and the order placement interface includes the fuzzy order placement control.
[0139] In some embodiments, the order placement interface further includes a normal order placement control and an order placement information input box;
[0140] The device also includes:
[0141] An order information acquisition unit, used to acquire the order information input by the driver through the order information input box, wherein the order information includes one or more of a departure place, a destination and a number of travelers;
[0142] The first request sending unit is used to send an order request to the server in response to the normal order placing control being triggered, wherein the order request includes the order information so that the server obtains the corresponding passenger according to the order information.
[0143] In some embodiments, the matching area determination unit includes:
[0144] A location acquisition subunit, used to acquire a clicked location in an electronic map;
[0145] a target area acquisition subunit, configured to acquire a target area corresponding to the click position in a pre-divided area; and
[0146] The first determining subunit is configured to determine the matching area according to the target area.
[0147] In some embodiments, the first determining subunit is used to:
[0148] In response to the click position being one, the target area is determined as the matching area.
[0149] In some embodiments, the first determining subunit is used to:
[0150] In response to the plurality of click positions, determining a target area corresponding to each click position; and
[0151] The matching area is determined according to the target areas corresponding to the respective click positions, and the matching area includes the target areas corresponding to the respective click positions.
[0152] In some embodiments, the matching area determination unit includes:
[0153] A first curve determining subunit, configured to determine a closed curve according to the drawn line; and
[0154] The second determining subunit is configured to determine the area where the closed curve is located as the matching area.
[0155] In some embodiments, the matching area determination unit includes:
[0156] A second curve determination subunit, configured to determine a closed curve according to the stroke line; and
[0157] The third determining subunit is used to obtain a region matching the region where the closed curve is located in the pre-divided region and determine it as the matching region.
[0158] In some embodiments, the pre-divided area is a grid or a geographical location boundary.
[0159] In some embodiments, the pre-divided area includes multiple levels, and the area at the previous level includes multiple areas at the next level.
[0160] In some embodiments, the apparatus further comprises:
[0161] The second request sending unit is used to generate an order request and send it to the server, wherein the order request includes the matching area, so that the server obtains the corresponding passenger according to the matching area.
[0162] In some embodiments, the apparatus further comprises:
[0163] An order response receiving unit, configured to receive an order response sent by the server, wherein the order response includes at least one optional passenger;
[0164] A selection interface display unit, used to display a passenger selection interface, wherein the passenger selection interface includes the selectable passengers;
[0165] a target passenger acquiring unit, configured to acquire the target passenger selected by the driver; and
[0166] The first selection information sending unit is used to send the first selection information to the server, wherein the first selection information includes the target passenger, so as to request the server to match an order for the driver and the target passenger.
[0167] In some embodiments, the apparatus further comprises:
[0168] A second invitation request sending unit, configured to receive a second invitation request sent by the server, where the second invitation request is generated by the server according to second selection information for the driver sent by the passenger terminal; and
[0169] The invitation processing unit is used to generate an invitation acceptance message or an invitation rejection message according to the driver's selection and send it to the server.
[0170] In some embodiments, the apparatus further comprises:
[0171] The order information receiving unit is used to receive the order information sent by the server, and the order information is generated after the server obtains the paired passenger for the driver.
[0172] The embodiment of the present invention displays an electronic map, obtains the operation information of the driver clicking or drawing on the electronic map, and determines the matching area according to the position of the operation information on the electronic map. Thus, the driver can set the matching area by himself, and the rationality of the matching area is improved.
[0173] Fig.13 is a schematic diagram of an electronic device according to an embodiment of the present invention. Fig.13 The electronic device shown is a general data processing device, which includes a general computer hardware structure, which includes at least a processor 131 and a memory 132. The processor 131 and the memory 132 are connected via a bus 133. The memory 132 is suitable for storing instructions or programs executable by the processor 131. The processor 131 can be an independent microprocessor or a collection of one or more microprocessors. Thus, the processor 131 executes the instructions stored in the memory 132, thereby executing the method flow of the embodiment of the present invention as described above to realize the processing of data and the control of other devices. The bus 133 connects the above-mentioned multiple components together, and at the same time connects the above-mentioned components to the display controller 134 and the display device and the input / output (I / O) device 135. The input / output (I / O) device 135 can be a mouse, a keyboard, a modem, a network interface, a touch input device, a somatosensory input device, a printer, and other devices known in the art. Typically, the input / output device 135 is connected to the system through an input / output (I / O) controller 136.
[0174] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, devices (equipment) or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0175] The present invention is described with reference to flowcharts of methods, apparatuses (devices) and computer program products according to embodiments of the present application. It should be understood that each process in the flowchart can be implemented by computer program instructions.
[0176] These computer program instructions may be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device that implements the process Figure 1 A function specified in a process or multiple processes.
[0177] These computer program instructions may also be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce the instructions for implementing the process Figure 1 A device that specifies functions in a process or multiple processes.
[0178] The solutions described in this specification and in the examples, if they involve the processing of personal information, will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.
[0179] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An order processing method, characterized in that: The method comprises: Display electronic maps; Obtaining the driver's operation information in the electronic map; and A matching area is determined according to the position of the operation information in the electronic map.
2. The method according to claim 1, characterized in that The electronic map displayed is specifically: In response to the fuzzy ordering control being triggered, the electronic map is displayed.
3. The method according to claim 2, characterized in that The method further comprises: An order placement interface is displayed, wherein the order placement interface includes the fuzzy order placement control.
4. The method according to claim 3, characterized in that The order placement interface also includes a normal order placement control and an order placement information input box; The method further comprises: Obtaining order information input by the driver through the order information input box, wherein the order information includes one or more of a departure place, a destination, and the number of travelers; In response to the normal order placing control being triggered, an order placing request is sent to the server, the order placing request includes the order placing information, so that the server obtains the corresponding passenger according to the order placing information.
5. The method according to claim 1, characterized in that The operation information includes at least one of clicking and drawing.
6. The method according to claim 5, characterized in that In response to the operation information being a click, determining a matching area according to a position of the operation information in the electronic map includes: Get the clicked location in the electronic map; Acquire a target area corresponding to the click position in the pre-divided area; and The matching area is determined according to the target area.
7. The method according to claim 6, characterized in that Determining the matching area according to the target area includes: In response to the click position being one, the target area is determined as the matching area.
8. The method according to claim 6, characterized in that Determining the matching area according to the target area includes: In response to the plurality of click positions, determining a target area corresponding to each click position; and The matching area is determined according to the target areas corresponding to the respective click positions, and the matching area includes the target areas corresponding to the respective click positions.
9. The method according to claim 5, characterized in that In response to the operation information being a stroke, determining a matching area according to a position of the operation information in the electronic map includes: Determining a closed curve according to the drawing; and The area where the closed curve is located is determined as the matching area.
10. The method according to claim 5, characterized in that In response to the operation information being a stroke, determining a matching area according to a position of the operation information in the electronic map includes: Determining a closed curve according to the drawing; and An area matching the area where the closed curve is located is obtained from the pre-divided area and determined as the matching area.
11. The method according to claim 6 or 10, characterized in that: The pre-divided area is a grid or a geographical location boundary.
12. The method according to claim 11, characterized in that The pre-divided area includes multiple levels, and an area at an upper level includes multiple areas at a lower level.
13. The method according to claim 1, characterized in that The method further comprises: An order request is generated and sent to a server, wherein the order request includes the matching area, so that the server obtains corresponding passengers according to the matching area.
14. The method according to claim 1, characterized in that The method further comprises: receiving an order response sent by a server, wherein the order response includes at least one optional passenger; Displaying a passenger selection interface, wherein the passenger selection interface includes the optional passengers; Obtaining the target passenger selected by the driver; and Sending first selection information to the server, wherein the first selection information includes the target passenger, to request the server to match an order for the driver and the target passenger.
15. The method according to claim 1, characterized in that The method further comprises: receiving a second invitation request sent by the server, where the second invitation request is generated by the server according to second selection information for the driver sent by the passenger terminal; and Generate an invitation acceptance message or a rejection invitation message based on the driver's choice and send it to the server.
16. The method according to claim 1, characterized in that The method further comprises: Receive order information sent by the server, where the order information is generated after the server obtains a paired passenger for the driver.
17. An order processing device, characterized in that: The device comprises: A map display unit, used for displaying an electronic map; an operation information acquisition unit, used to acquire the driver's operation information in the electronic map; and The matching area determination unit is used to determine the matching area according to the position of the operation information in the electronic map.
18. An electronic device comprising a memory and a processor, characterized in that: The memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of claims 1-16.
19. A computer-readable storage medium storing computer program instructions, characterized in that: The computer program instructions, when executed by a processor, implement the method of any one of claims 1-16.