CN113902201A - Optimization method for detecting conflict list of taxi booking drivers - Google Patents

Optimization method for detecting conflict list of taxi booking drivers Download PDF

Info

Publication number
CN113902201A
CN113902201A CN202111201251.2A CN202111201251A CN113902201A CN 113902201 A CN113902201 A CN 113902201A CN 202111201251 A CN202111201251 A CN 202111201251A CN 113902201 A CN113902201 A CN 113902201A
Authority
CN
China
Prior art keywords
order
driver
conflict
information
dispatching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111201251.2A
Other languages
Chinese (zh)
Inventor
赵雨
郑晕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shouyue Technology Beijing Co Ltd
Original Assignee
Shouyue Technology Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shouyue Technology Beijing Co Ltd filed Critical Shouyue Technology Beijing Co Ltd
Priority to CN202111201251.2A priority Critical patent/CN113902201A/en
Publication of CN113902201A publication Critical patent/CN113902201A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides an optimization method for detecting a conflict list of a taxi booking driver, which comprises the following steps: a network appointment platform inlet, a user places an order, and a platform agent layer assembles an order information request order system; the order system successfully places the order and returns the order number to the platform agent layer; the platform agent layer receives order numbers returned by the order system and assembles an order information request order; the order dispatching system receives the order dispatching request and screens drivers; searching and screening whether a driver has a conflict order or not to obtain conflict order information; the order dispatching system carries out order dispatching decision according to the conflict order information; and updating the order to be served, simultaneously sending an order MQ message to the order message consumption system, writing the order into a driver order information table, wherein the state of the driver order table is to be served, and the order starts to be served. As the number of the orders in the order form increases, the pressure of a database and the data storage capacity increase, the efficiency of obtaining conflicting orders of drivers is improved, and the pressure of dispatching a single link on the order form is reduced.

Description

Optimization method for detecting conflict list of taxi booking drivers
Technical Field
The invention relates to the field of online taxi booking, in particular to an optimization method for detecting a conflict list of drivers of online taxi booking.
Background
In the main process of the network car-booking platform, the order dispatching is an indispensable link, in the order dispatching process, one of rules that whether a driver can dispatch the order is to verify whether a conflict order exists in a corresponding time period of the driver, if the conflict order exists, the driver cannot be dispatched, the existing main network car-booking platform stores more and more data due to the accumulation of daily order-placing quantity and historical orders, and a performance bottleneck exists when the driver ID is used for obtaining whether the conflict order exists in the corresponding time period.
Under the condition that the order placing quantity of the online car appointment is gradually increased, the order form can lead to more and more data of the database along with the increase of the order placing quantity, the order form is generally dimensional by using a user, namely corresponding travel information or order information is obtained through a user ID, and the query of the online car appointment and order sending link is mainly dimensional by using a driver ID.
As the amount of data in the order form increases, a large number of requests for driver order query are typically made from the dispatch link, resulting in slow database query or performance bottlenecks.
The data of the order form table is generally a basic information field of the order form, and the inquiry of the driver conflict form only needs to know whether a conflict order number exists or not.
Disclosure of Invention
In view of the above, the present invention has been developed to provide an optimized method of web reservation driver conflict ticket detection that overcomes or at least partially solves the above-mentioned problems.
According to one aspect of the invention, an optimization method for detecting a net car booking driver conflict list is provided, and comprises the following steps:
a network appointment platform inlet, a user places an order, and a platform agent layer assembles an order information request order system;
the order system successfully places the order and returns the order number to the platform agent layer;
the platform agent layer receives order numbers returned by the order system and assembles an order information request order;
the order dispatching system receives the order dispatching request and screens drivers;
calling an order system according to the information of the screened driver assembled driver, searching whether the screened driver has a conflict order or not, and obtaining conflict order information;
the order dispatching system carries out order dispatching decision according to the conflict order information;
and dispatching the order to call the order system, binding the order by the driver, updating the order into a state to be served, simultaneously sending an order MQ message to the order message consumption system, writing the order into a driver order information table, wherein the state of the driver order table is to be served, and the order starts to be served.
Optionally, the ordering information includes an order number of the network booking platform, a city, longitude and latitude of getting on and off a vehicle, a reserved vehicle-using time and basic information of a passenger.
Optionally, the searching whether the screening driver has a conflicting order specifically includes: the order system receives a detection request of the order conflict order and judges whether an order MQ switch is abnormal or not; if yes, acquiring a conflict order from the order table; otherwise, the driver order form information is synchronous with the order form, and a conflict order is obtained from the driver order form; the order MQ switch is a degradation switch, and when the MQ is abnormal, the MQ is manually switched to the order table, so that the condition that conflicting orders cannot be inquired is prevented.
Optionally, the step of making a dispatching decision by the dispatching system according to the conflict order information specifically includes: the driver has conflict orders and the corresponding driver is unavailable; the driver has no conflict order, and the corresponding driver is available to bind the order.
Optionally, the optimization method further includes: completed and cancelled orders are deleted from the driver order table.
The invention provides an optimization method for detecting a conflict list of a taxi appointment driver, which comprises the following steps: a network appointment platform inlet, a user places an order, and a platform agent layer assembles an order information request order system; the order system successfully places the order and returns the order number to the platform agent layer; the platform agent layer receives order numbers returned by the order system and assembles an order information request order; the order dispatching system receives the order dispatching request and screens drivers; calling an order system according to the information of the screened driver assembled driver, searching whether the screened driver has a conflict order or not, and obtaining conflict order information; the order dispatching system carries out order dispatching decision according to the conflict order information; and dispatching the order to call the order system, binding the order by the driver, updating the order into a state to be served, simultaneously sending an order MQ message to the order message consumption system, writing the order into a driver order information table, wherein the state of the driver order table is to be served, and the order starts to be served. When the online taxi appointment dispatching single ring section is solved and an order is requested to obtain a driver conflict order, the database pressure and the data storage capacity are increased due to the fact that the number of the order table data is increased along with the increase of services, the efficiency of obtaining the driver conflict order is improved through the flow scheme of new driver conflict order detection, the pressure of the dispatching single ring section on the order table is reduced, and the overall performance is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an optimization method for detecting a net appointment driver conflict ticket according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The terms "comprises" and "comprising," and any variations thereof, in the present description and claims and drawings are intended to cover a non-exclusive inclusion, such as a list of steps or elements.
The technical solution of the present invention is further described in detail with reference to the accompanying drawings and embodiments. Order System introduction:
database basic information, database: 1 is provided with
Order form table: order; table structure: enumerating partial fields
Figure BDA0003304990530000041
Order number rule:
prefix (BX | PX) + yyMMddHHmmss (12 bits) + three bits behind machine IP + auto-increment sequence (4 bits)
Case (2): BX2109081758561620001
Driver order form: driver _ order _0-driver _ order _255 (order number field is the same as order table)
Table structure: enumerating partial fields
Figure BDA0003304990530000051
Order number rules: prefix BX | PX) + yyMMddHHmmss (12 bit) + three bits behind machine IP + auto-increment sequence (4 bit)
Case (2): BX2109081758561620001
And (3) a table division strategy: driver _ id% 256-corresponding table number
Order message middleware MQ:
message middleware: rockmq, version: 4.2.0
Scenario of driver conflict ticket query:
obtaining from an order form: direct query by driver ID
Obtaining from a driver order form: firstly, obtaining a table number through driver _ ID% 256, and inquiring through a driver ID;
and (3) query conditions: reservation pick-up time range + driver ID + order status (including status in all services) so that the driver can be obtained whether there is an order in progress for the driver inquiry period.
Examples are: when the driver ID is 8011, the corresponding data table is: driver _ order _ 075.
As shown in fig. 1, the network car booking platform entry user orders, and the platform agent layer assembles an order information request order system, including: the network appointment platform order number, the city, the longitude and latitude of getting on and off the vehicle, the appointed time of using the vehicle, the basic information of the passenger and the like comprise all order public information.
And the order system successfully places the order and returns the order number to the platform agent layer.
The platform agent layer receives the order number returned by the order system and assembles the order information to request the order.
And the dispatching system receives the dispatching request and begins to screen the drivers.
And assembling the driver information of the screened drivers to call an order system to request whether the drivers have conflicting orders.
The order system receives a detection request of the order conflict order and judges whether an order MQ switch is abnormal or not;
if no abnormity exists, the driver order list information is synchronous with the order list, and a conflict order is obtained from the driver order list;
and abnormal, acquiring the conflict order from the order table.
The switch is a degradation switch, and when the MQ is abnormal, the MQ is manually switched to the order table, so that the condition that the conflict order cannot be inquired is prevented.
Receiving conflict order information returned by the order, making order decision,
driver has conflicting orders, the driver is unavailable;
the driver has no conflicting orders and the driver is available to make the binding.
And dispatching the order to call the order system, binding the order by the driver, updating the order into a state to be served, sending an order MQ message to the order message consumption system, writing the order into a driver order information table, and enabling the state of the driver order table to be served.
And (4) starting service of the order, and updating the state of the order corresponding to the driver order list by sending MQ information to the order information consumption system while updating the state of the order in the subsequent order service process.
Driver order form data exit:
the reason for quitting is as follows: because the driver order form is used for dispatching orders to inquire whether a driver has a conflict order, and the order state of the conflict order is a state in service, for the completed or cancelled order, data can be quitted from the driver order form, the lightweight of the driver order form is ensured, and the efficiency of detecting the driver conflict order is improved.
Exit rules: the data that the vehicle-using time for the order reservation is less than the current time by 1 day and the order state is equal to the completed data can be quitted with the cancelled order data through the reserved vehicle-using time + the order state of the order, so that the service is not influenced, and the query efficiency can be ensured.
Examples are: the current time: 2021-09-13
And (3) exit conditions: book _ date <2021-09-12and status is either completed or cancelled.
Data exit frequency: the exit may be performed daily during a low peak of traffic requests, such as zero-point daily, or 1, 2 a.m..
Has the advantages that: by adding the driver order form table, the order information table with the driver as the dimension is used, the table fields are greatly reduced, the fields such as driver ID, order number, order state, order reservation getting-on time and the like are basically only needed, other service fields are not needed as much as the original order form table, the data table becomes light-weight, simultaneously, conflict order information is obtained from the driver order form table, and the request of a dispatching link to the original order form table can be reduced.
The time for writing in the driver order list is after the driver is dispatched, so that a large amount of order writing before the driver is dispatched is reduced, and meanwhile, data quitting is carried out every day to ensure that all orders in the driver order list are in progress, so that the data in the data list is greatly reduced, and the query performance of conflicting orders of the driver is improved.
The driver order table carries out a table dividing strategy according to the driver ID, and with the increase of platform drivers, the data size of a single table can be prevented from being too large, so that the query performance is guaranteed.
The above embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, it should be understood that the above embodiments are merely exemplary embodiments of the present invention and are not intended to limit the scope of the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (5)

1. An optimization method for detecting a network car booking driver conflict list, which is characterized by comprising the following steps:
a network appointment platform inlet, a user places an order, and a platform agent layer assembles an order information request order system;
the order system successfully places the order and returns the order number to the platform agent layer;
the platform agent layer receives order numbers returned by the order system and assembles an order information request order;
the order dispatching system receives the order dispatching request and screens drivers;
calling an order system according to the information of the screened driver assembled driver, searching whether the screened driver has a conflict order or not, and obtaining conflict order information;
the order dispatching system carries out order dispatching decision according to the conflict order information;
and dispatching the order to call the order system, binding the order by the driver, updating the order into a state to be served, simultaneously sending an order MQ message to the order message consumption system, writing the order into a driver order information table, wherein the state of the driver order table is to be served, and the order starts to be served.
2. The optimization method for detecting the driver conflict ticket of the network car booking according to the claim 1, wherein the ticket ordering information comprises a network car booking platform order number, a city, a longitude and latitude for getting on and off, a reserved car time and basic information of a passenger.
3. The method as claimed in claim 1, wherein said searching for said screening driver having a conflict order specifically comprises:
the order system receives a detection request of the order conflict order and judges whether an order MQ switch is abnormal or not; if yes, acquiring a conflict order from the order table; otherwise, the driver order form information is synchronous with the order form, and a conflict order is obtained from the driver order form;
the order MQ switch is a degradation switch, and when the MQ is abnormal, the MQ is manually switched to the order table, so that the condition that conflicting orders cannot be inquired is prevented.
4. The optimization method for online car booking driver conflict resolution detection as claimed in claim 1, wherein the step of making a booking decision by the booking system according to the conflict order information specifically comprises:
the driver has conflict orders and the corresponding driver is unavailable;
the driver has no conflict order, and the corresponding driver is available to bind the order.
5. The optimization method for online car booking driver conflict ticket detection as claimed in claim 1, wherein the optimization method further comprises: completed and cancelled orders are deleted from the driver order table.
CN202111201251.2A 2021-10-15 2021-10-15 Optimization method for detecting conflict list of taxi booking drivers Pending CN113902201A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111201251.2A CN113902201A (en) 2021-10-15 2021-10-15 Optimization method for detecting conflict list of taxi booking drivers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111201251.2A CN113902201A (en) 2021-10-15 2021-10-15 Optimization method for detecting conflict list of taxi booking drivers

Publications (1)

Publication Number Publication Date
CN113902201A true CN113902201A (en) 2022-01-07

Family

ID=79192232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111201251.2A Pending CN113902201A (en) 2021-10-15 2021-10-15 Optimization method for detecting conflict list of taxi booking drivers

Country Status (1)

Country Link
CN (1) CN113902201A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114386832A (en) * 2022-01-12 2022-04-22 首约科技(北京)有限公司 Channel order second cancellation problem processing method
CN114581191A (en) * 2022-03-08 2022-06-03 首约科技(北京)有限公司 Method for improving binding order efficiency of instant vehicle

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130097123A (en) * 2013-07-10 2013-09-02 주식회사 케이티렌탈 Method for providing vehicle lease service and vehicle lease system
US20180108062A1 (en) * 2016-10-15 2018-04-19 Wal-Mart Stores, Inc. Courier management system
US20180315319A1 (en) * 2017-04-26 2018-11-01 Dropoff, Inc. Systems and methods for automated real-time and advisory routing within a fleet of geographically distributed drivers
CN109472482A (en) * 2018-10-31 2019-03-15 北京趣拿软件科技有限公司 With distributing method and device, storage medium, the electronic device of vehicle order
CN111325501A (en) * 2020-02-07 2020-06-23 珠海随变科技有限公司 Logistics state management method, device, equipment and storage medium
CN111352960A (en) * 2020-03-11 2020-06-30 上海东普信息科技有限公司 Express order information query method, device, equipment and storage medium
CN113139726A (en) * 2021-04-23 2021-07-20 北京白龙马云行科技有限公司 Multi-tenant order dispatching method and network car booking system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130097123A (en) * 2013-07-10 2013-09-02 주식회사 케이티렌탈 Method for providing vehicle lease service and vehicle lease system
US20180108062A1 (en) * 2016-10-15 2018-04-19 Wal-Mart Stores, Inc. Courier management system
US20180315319A1 (en) * 2017-04-26 2018-11-01 Dropoff, Inc. Systems and methods for automated real-time and advisory routing within a fleet of geographically distributed drivers
CN109472482A (en) * 2018-10-31 2019-03-15 北京趣拿软件科技有限公司 With distributing method and device, storage medium, the electronic device of vehicle order
CN111325501A (en) * 2020-02-07 2020-06-23 珠海随变科技有限公司 Logistics state management method, device, equipment and storage medium
CN111352960A (en) * 2020-03-11 2020-06-30 上海东普信息科技有限公司 Express order information query method, device, equipment and storage medium
CN113139726A (en) * 2021-04-23 2021-07-20 北京白龙马云行科技有限公司 Multi-tenant order dispatching method and network car booking system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114386832A (en) * 2022-01-12 2022-04-22 首约科技(北京)有限公司 Channel order second cancellation problem processing method
CN114581191A (en) * 2022-03-08 2022-06-03 首约科技(北京)有限公司 Method for improving binding order efficiency of instant vehicle

Similar Documents

Publication Publication Date Title
CN113902201A (en) Optimization method for detecting conflict list of taxi booking drivers
US6732080B1 (en) System and method of providing personal calendar services
US6615046B1 (en) Automatic dispatch of mobile services
US8370054B2 (en) User location driven identification of service vehicles
US6990407B1 (en) Method and system for developing traffic messages
CN101194485A (en) Providing traffic information relating to a prediction of congestion status and using the same
CN102479431A (en) Taxi calling system possessing matching function and method thereof
JP2003227723A (en) Event finder using navigation system and its displaying method
JPH11120487A (en) Mobile object terminal equipment, for providing device, system, and method information and medium recording program for mobile object terminal equipment
JP2011248864A (en) Traffic information client device
CN101243478A (en) Method and system for using cellular data for transportation planning and engineering
JP5011074B2 (en) MAP DATA UPDATE METHOD, MAP DATA UPDATE PROGRAM, AND CAR NAVIGATION DEVICE
CN1497521A (en) Method for providing time of bus arriving using special short-term communication
CN104794887A (en) System and method for sending a taxi by using favorites in networked taxi renting
CN113139726A (en) Multi-tenant order dispatching method and network car booking system
JP2002261685A (en) Road-vehicle communication system
JP2002024659A (en) Taxi dispatch reserving system
JP2018200589A (en) Reservation management apparatus, reservation management method, and program
JP2003196791A (en) Vehicle operation support system
CN102117547A (en) Business processing method of vehicle service system
CN114118493A (en) Optimization method for cost generated when passengers do not get on bus
JP2005301629A (en) Taxi search system, on-vehicle device and its program, server device and its program, accounting server device and its program, and business method
CN114529368A (en) Instant single answering method for network car booking platform
JP4209204B2 (en) Information distribution method, information distribution system and in-vehicle terminal device to in-vehicle terminal
JPH09128693A (en) Control station device

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