CN111881375A - Method and device for distributing in-route orders, electronic equipment and readable storage medium - Google Patents

Method and device for distributing in-route orders, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111881375A
CN111881375A CN202010739812.3A CN202010739812A CN111881375A CN 111881375 A CN111881375 A CN 111881375A CN 202010739812 A CN202010739812 A CN 202010739812A CN 111881375 A CN111881375 A CN 111881375A
Authority
CN
China
Prior art keywords
order
distributed
service provider
road
degree
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
CN202010739812.3A
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.)
Beijing Didi Infinity Technology and Development Co Ltd
Original Assignee
Beijing Didi Infinity Technology and Development 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 Beijing Didi Infinity Technology and Development Co Ltd filed Critical Beijing Didi Infinity Technology and Development Co Ltd
Priority to CN202010739812.3A priority Critical patent/CN111881375A/en
Publication of CN111881375A publication Critical patent/CN111881375A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • 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

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Business, Economics & Management (AREA)
  • Artificial Intelligence (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Development Economics (AREA)
  • Molecular Biology (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • Traffic Control Systems (AREA)
  • Navigation (AREA)

Abstract

The application provides a method and a device for allocating an in-route order, electronic equipment and a readable storage medium, wherein the method comprises the following steps: acquiring the on-road preference information of a service provider for various on-road vehicle historical orders, the order information of each order to be distributed and the route information; aiming at each order to be distributed, determining the type of the order to be distributed according to the order information and the route information of the order to be distributed; determining the forward degree between each order to be distributed and a service provider based on the forward preference information of various forward vehicle historical orders and the type of each order to be distributed; and determining a matching result between each order to be distributed and the service provider according to the forward degree. Therefore, order receiving preference of the service provider and route information for providing service can be considered, matching degree between the order to be distributed and the service provider can be improved, probability of canceling the order by the service provider is reduced, and experience of the user and the service provider is improved.

Description

Method and device for distributing in-route orders, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a method and an apparatus for allocating a forward order, an electronic device, and a readable storage medium.
Background
With the development of internet technology, travel services based on the internet technology bring much convenience to people, and in order to save travel cost, more and more people prefer to select a travel mode in the internet, such as a road vehicle and the like.
At present, a corresponding off-road vehicle is usually matched for an order according to the initial position and the end position of the order, or a corresponding off-road vehicle is matched for the order according to the initial position of the order nearby, but the matching mode is single, the matching result according to the initial position and/or the end position of a user is not accurate enough, and inconvenience may be caused to an off-road vehicle driver, so that the probability of canceling the order is high, and the trip of the user is influenced.
Disclosure of Invention
In view of this, an object of the present application is to provide a method, an apparatus, an electronic device and a readable storage medium for allocating an order along a road, which can add the preference information of a service provider along the road, the order time and the order position of the order to be allocated into a considered range, improve the matching degree between the order to be allocated and the service provider, help to reduce the probability of canceling the order by the service provider, and improve the experience of a user and the service provider.
The application mainly comprises the following aspects:
in a first aspect, an embodiment of the present application further provides a method for allocating an on-road order, where the method for allocating an on-road order includes:
acquiring the on-road preference information of a service provider for various on-road vehicle historical orders, the order information of each order to be distributed and route information, wherein the order information comprises any one or more of the following information: order time and order location;
aiming at each order to be distributed, determining the type of the order to be distributed according to the order information and the route information of the order to be distributed;
determining the forward degree between each order to be distributed and the service provider based on the forward preference information of various forward vehicle historical orders and the type of each order to be distributed;
and determining a matching result between each order to be distributed and the service provider according to the forward road degree.
In a possible embodiment, the determining a degree of forward route between each order to be allocated and the service provider based on the forward route preference information of each type of forward route vehicle historical orders and the type of each order to be allocated includes:
converting the on-road preference information of various on-road vehicle historical orders into corresponding preference characteristic vectors, and converting the type of each order to be distributed into corresponding order characteristic vectors;
and inputting the preference characteristic vector and the order characteristic vector into a trained matching model, and determining the forward degree between each order to be distributed and the service provider.
In one possible embodiment, the matching model is trained by:
obtaining a plurality of sample service providers and a plurality of sample historical service orders of each sample service provider;
for each sample service provider, taking a sample historical service order determined by the sample service provider to be on-way as a positive training sample, and taking a sample historical service order determined by the sample service provider to be off-way as a negative training sample;
acquiring a first road following degree corresponding to each positive training sample and a second road following degree corresponding to each negative training sample, wherein the first road following degree is greater than the second road following degree;
and training the initial matching model based on the plurality of positive training samples, the plurality of negative training samples, the first forward degree corresponding to each positive training sample and the second forward degree corresponding to each negative training sample to obtain a trained matching model.
In one possible embodiment, the off-road preference information for the off-road vehicle history order is generated by:
obtaining a plurality of off-road vehicle historical orders of the service provider;
aiming at each off-road vehicle historical order, conforming the planned route of the order in the off-road vehicle historical order to the driving route of the service provider, and determining the off-road vehicle historical order with the off-road degree greater than a preset off-road threshold value by the service provider as an effective historical order;
and generating the on-road preference information of the service provider for various on-road vehicle historical orders based on the determined effective historical orders.
In a possible implementation manner, after determining a matching result between each to-be-distributed order and the service provider according to the degree of forward route, the method for distributing forward route orders further includes:
for each order to be distributed, determining a cancellation state corresponding to the service provider when the service provider cancels the order to be distributed according to the forward degree between the service provider and the order to be distributed;
and determining the order distribution priority of the service provider after the order to be distributed is cancelled based on the cancellation state.
In a possible implementation manner, the determining, according to the degree of forward route between the service provider and each to-be-allocated order, a cancellation state corresponding to the service provider when the service provider cancels each to-be-allocated order includes:
when the forward degree is larger than a preset matching threshold value, when the service provider cancels the order to be distributed corresponding to the forward degree, determining a cancellation state corresponding to the service provider as abnormal cancellation;
and when the forward degree is smaller than or equal to a preset matching threshold value, and the service provider cancels the order to be distributed corresponding to the forward degree, determining the cancellation state corresponding to the service provider as normal cancellation.
In a possible embodiment, the determining, based on the cancellation status, an order allocation priority of the service provider after canceling the order to be allocated includes:
when the cancellation state is abnormal cancellation, determining an abnormal level corresponding to the service provider according to the forward degree;
and calculating the order distribution priority of the service provider after canceling the order to be distributed based on the priority descending index corresponding to the abnormal level.
In a possible implementation manner, after determining a matching result between each to-be-distributed order and the service provider according to the degree of forward route, the method for distributing forward route orders further includes:
when the forward road degree is smaller than or equal to a preset matching threshold value, after the service provider completes the order to be distributed corresponding to the forward road degree, determining an excitation level corresponding to the service provider according to the forward road degree;
and adjusting the order distribution priority of the service provider based on the priority ascending index corresponding to the incentive level.
In one possible embodiment, the on-road preference information includes at least one of a historical pick-up rate, a historical order cancellation rate, a driver activity area, a driver online time, an early peak pick-up probability, a late peak pick-up probability, a driver service rating, historical order information, and self-feature information.
In one possible embodiment, the route information includes at least one of an origin, a destination, route information, and a departure time.
In one possible embodiment, the order time of each order to be allocated is determined by:
obtaining the order departure time and the estimated completion time of the order to be distributed from the order information of the order to be distributed;
and determining the order time of the order to be distributed based on the order departure time and the estimated completion time.
In one possible embodiment, the order location of each to-be-allocated order is determined by:
acquiring the initial position and the end position of the order to be distributed from the order information of the order to be distributed;
and determining the order position of the order to be distributed based on the starting position and the ending position.
In a second aspect, an embodiment of the present application further provides a method for allocating an on-road order, where the method for allocating an on-road order includes:
acquiring order information and route information of each order to be distributed, wherein the order information comprises any one or more of the following items: order time and order location;
aiming at each order to be distributed, determining the type of the order to be distributed according to the order information and the route information of the order to be distributed;
determining the forward degree between each order to be distributed and a service provider based on the type of each order to be distributed;
and determining a matching result between each order to be distributed and the service provider according to the forward road degree.
In a possible embodiment, the determining a degree of compliance between each to-be-allocated order and the service provider based on the type of each to-be-allocated order includes:
converting the order information of each order to be distributed into corresponding order characteristic vectors;
and inputting the order feature vectors into a trained matching model, and determining the forward degree between each order to be distributed and the service provider.
In one possible embodiment, the matching model is trained by:
taking the historical service orders determined to be on-road by the service provider as positive training samples, taking the historical service orders determined to be off-road by the service provider as negative training samples, and acquiring a first on-road degree corresponding to each positive training sample and a second on-road degree corresponding to each negative training sample;
and training the initial matching model based on the plurality of positive training samples, the plurality of negative training samples, the first forward degree corresponding to each positive training sample and the second forward degree corresponding to each negative training sample to obtain the trained matching model corresponding to the service provider.
In a third aspect, an embodiment of the present application further provides an on-road order distribution device, where the on-road order distribution device includes:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the on-road preference information of a service provider for various on-road vehicle historical orders, the order information of each order to be distributed and the route information, and the order information comprises any one or more of the following information: order time and order location;
the first type determining module is used for determining the type of each order to be distributed according to the order information and the route information of the order to be distributed;
the first degree determining module is used for determining the degree of the forward road between each order to be distributed and the service provider based on the forward road preference information of various forward road vehicle historical orders and the type of each order to be distributed;
and the first matching module is used for determining a matching result between each order to be distributed and the service provider according to the road degree.
In a possible implementation manner, when the first degree determining module is configured to determine the degree of the following between each order to be allocated and the service provider based on the following preference information of each type of following vehicle historical orders and the type of each order to be allocated, the first degree determining module is configured to:
converting the on-road preference information of various on-road vehicle historical orders into corresponding preference characteristic vectors, and converting the type of each order to be distributed into corresponding order characteristic vectors;
and inputting the preference characteristic vector and the order characteristic vector into a trained matching model, and determining the forward degree between each order to be distributed and the service provider.
In a possible implementation, the on-road order distribution apparatus further includes a first model training module, and the first model training module is configured to:
obtaining a plurality of sample service providers and a plurality of sample historical service orders of each sample service provider;
for each sample service provider, taking a sample historical service order determined by the sample service provider to be on-way as a positive training sample, and taking a sample historical service order determined by the sample service provider to be off-way as a negative training sample;
acquiring a first road following degree corresponding to each positive training sample and a second road following degree corresponding to each negative training sample, wherein the first road following degree is greater than the second road following degree;
and training the initial matching model based on the plurality of positive training samples, the plurality of negative training samples, the first forward degree corresponding to each positive training sample and the second forward degree corresponding to each negative training sample to obtain a trained matching model.
In a possible implementation manner, the on-road order distribution apparatus further includes an information generation module, and the information generation module is configured to:
obtaining a plurality of off-road vehicle historical orders of the service provider;
aiming at each off-road vehicle historical order, conforming the planned route of the order in the off-road vehicle historical order to the driving route of the service provider, and determining the off-road vehicle historical order with the off-road degree greater than a preset off-road threshold value by the service provider as an effective historical order;
and generating the on-road preference information of the service provider for various on-road vehicle historical orders based on the determined effective historical orders.
In a possible implementation, the on-road order distribution apparatus further includes a priority determination module, and the priority determination module is configured to:
for each order to be distributed, determining a cancellation state corresponding to the service provider when the service provider cancels the order to be distributed according to the forward degree between the service provider and the order to be distributed;
and determining the order distribution priority of the service provider after the order to be distributed is cancelled based on the cancellation state.
In a possible implementation manner, the priority determining module is configured to, when determining, according to a degree of forward route between the service provider and each to-be-allocated order, that when the service provider cancels each to-be-allocated order, a cancellation state corresponding to the service provider, the priority determining module is configured to:
when the forward degree is larger than a preset matching threshold value, when the service provider cancels the order to be distributed corresponding to the forward degree, determining a cancellation state corresponding to the service provider as abnormal cancellation;
and when the forward degree is smaller than or equal to a preset matching threshold value, and the service provider cancels the order to be distributed corresponding to the forward degree, determining the cancellation state corresponding to the service provider as normal cancellation.
In a possible implementation manner, when the priority determination module is configured to determine, based on the cancellation status, that the order allocation priority of the service provider after canceling the order to be allocated is to be allocated, the priority determination module is configured to:
when the cancellation state is abnormal cancellation, determining an abnormal level corresponding to the service provider according to the forward degree;
and calculating the order distribution priority of the service provider after canceling the order to be distributed based on the priority descending index corresponding to the abnormal level.
In one possible embodiment, the on-road order distribution device further comprises an actuation module, the actuation module is configured to:
when the forward road degree is smaller than or equal to a preset matching threshold value, after the service provider completes the order to be distributed corresponding to the forward road degree, determining an excitation level corresponding to the service provider according to the forward road degree;
and adjusting the order distribution priority of the service provider based on the priority ascending index corresponding to the incentive level.
In one possible embodiment, the on-road preference information includes at least one of a historical pick-up rate, a historical order cancellation rate, a driver activity area, a driver online time, an early peak pick-up probability, a late peak pick-up probability, a driver service rating, historical order information, and self-feature information.
In one possible embodiment, the route information includes at least one of an origin, a destination, route information, and a departure time.
In one possible embodiment, the on-road order distribution apparatus further comprises a time determination module, the time determination module is configured to:
obtaining the order departure time and the estimated completion time of the order to be distributed from the order information of the order to be distributed;
and determining the order time of the order to be distributed based on the order departure time and the estimated completion time.
In one possible embodiment, the on-road order distribution apparatus further comprises a location determination module, the location determination module is configured to:
acquiring the initial position and the end position of the order to be distributed from the order information of the order to be distributed;
and determining the order position of the order to be distributed based on the starting position and the ending position.
In a fourth aspect, an embodiment of the present application further provides an on-road order distribution device, where the on-road order distribution device includes:
a second obtaining module, configured to obtain order information and route information of each to-be-allocated order, where the order information includes any one or more of the following: order time and order location;
the second type determining module is used for determining the type of each order to be distributed according to the order information and the route information of the order to be distributed;
the second degree determining module is used for determining the forward degree between each order to be distributed and the service provider based on the type of each order to be distributed;
and the second matching module is used for determining a matching result between each order to be distributed and the service provider according to the road degree.
In a possible embodiment, when the second degree determining module is configured to determine the degree of smoothness between each order to be allocated and the service provider based on the type of each order to be allocated, the second degree determining module is configured to:
converting the order information of each order to be distributed into corresponding order characteristic vectors;
and inputting the order feature vectors into a trained matching model, and determining the forward degree between each order to be distributed and the service provider.
In a possible implementation, the on-road order distribution apparatus further includes a second model training module, and the second model training module is configured to:
taking the historical service orders determined to be on-road by the service provider as positive training samples, taking the historical service orders determined to be off-road by the service provider as negative training samples, and acquiring a first on-road degree corresponding to each positive training sample and a second on-road degree corresponding to each negative training sample;
and training the initial matching model based on the plurality of positive training samples, the plurality of negative training samples, the first forward degree corresponding to each positive training sample and the second forward degree corresponding to each negative training sample to obtain the trained matching model corresponding to the service provider.
In a fifth aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is operating, the machine readable instructions when executed by the processor performing the steps of the on-road order allocation method as described above.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the in-route order distribution method are performed as described above.
Therefore, the method and the device can improve the matching degree between the orders to be distributed and the service provider and help reduce the probability of order cancellation of the service provider by acquiring the forward preference information of the service provider for various forward vehicle historical orders and the order information and route information of each order to be distributed, determining the type of the order to be distributed based on the order information and route information of the order to be distributed, and determining the forward degree between each order to be distributed and the service provider according to the forward preference information of the service provider for various forward vehicle historical orders and the type of each order to be distributed, thereby determining the matching result between each order to be distributed and the service provider according to the forward degree, adding the forward preference information of the service provider, the order time and the order position of the order to be distributed into a considered range, the experience of the user and the service provider can be improved at the same time.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic diagram of an architecture of a forward order distribution system according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating a method for allocating an on-road order according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating a method for allocating an on-road order according to another embodiment of the present application;
fig. 4 is a schematic flow chart illustrating another method for allocating an on-road order according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a forward order distribution apparatus according to an embodiment of the present application;
fig. 6 is a second schematic structural diagram of an on-road order distribution device according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of another in-route order distribution apparatus according to an embodiment of the present application;
FIG. 8 is a second schematic structural view of another in-route order distribution apparatus according to the present embodiment;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Description of the main element symbols:
in the figure: 110-a server; 120-a network; 130-a service requestor; 140-a service provider; 150-a database; 500-off-road order distribution means; 501-a first obtaining module; 502-a first type determination module; 503-a first degree determination module; 504-a first matching module; 505-a first model training module; 506-an information generating module; 507-a priority determination module; 508-an excitation module; 509-time determination module; 510-a location determination module; 700-off-road order distribution means; 701-a second obtaining module; 702-a second type determination module; 703-a second degree determination module; 704-a second matching module; 705-a second model training module; 900-an electronic device; 910-a processor; 920-a memory; 930-bus.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. Every other embodiment that can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present application falls within the protection scope of the present application.
To enable those skilled in the art to use the present disclosure, the following embodiments are presented in conjunction with a specific application scenario, "on-the-road order distribution". It will be apparent to those skilled in the art that the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the application. Although the present application is described primarily in the context of off-road order distribution, it should be understood that this is merely one exemplary embodiment.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
The terms "passenger," "requestor," "service requestor," and "customer" are used interchangeably in this application to refer to an individual, entity, or tool that can request or order a service. The terms "driver," "provider," "service provider," and "provider" are used interchangeably in this application to refer to an individual, entity, or tool that can provide a service. The term "user" in this application may refer to an individual, entity or tool that requests a service, subscribes to a service, provides a service, or facilitates the provision of a service. For example, the user may be a passenger, a driver, an operator, etc., or any combination thereof. In the present application, "passenger" and "passenger terminal" may be used interchangeably, and "driver" and "driver terminal" may be used interchangeably.
The terms "service request" and "order" are used interchangeably herein to refer to a request initiated by a passenger, a service requester, a driver, a service provider, or a supplier, the like, or any combination thereof. Accepting the "service request" or "order" may be a passenger, a service requester, a driver, a service provider, a supplier, or the like, or any combination thereof. The service request may be charged or free.
The Positioning technology used in the present application may be based on a Global Positioning System (GPS), a Global Navigation Satellite System (GLONASS), a COMPASS Navigation System (COMPASS), a galileo Positioning System, a Quasi-Zenith Satellite System (QZSS), a Wireless Fidelity (WiFi) Positioning technology, or the like, or any combination thereof. One or more of the above-described positioning systems may be used interchangeably in this application.
One aspect of the present application relates to an on-road order distribution system. The system can determine the forward degree between each order to be distributed and the service provider based on the acquired forward preference information of the service provider on various forward vehicle historical orders, the order information of each order to be distributed and the scene information in the travel time period of each order to be distributed, so that the distribution between each order to be distributed and the service provider is determined according to the forward degree between each order to be distributed and the service provider, the forward degree between the forward vehicle order and the service provider can be improved, the probability of canceling the order by the service provider is reduced, and the experience of a user and the service provider can be improved simultaneously.
It is worth noting that before the application is made, a corresponding off-road vehicle is usually matched with the order according to the starting position and the end position of the order, or a corresponding off-road vehicle is matched with the order according to the starting position of the order nearby, but the matching mode is considered to be single, the matching result according to the starting position and/or the end position of the user is not accurate enough, inconvenience may be caused to an off-road vehicle driver, and the probability of canceling the order is high, and the trip of the user is affected.
In order to solve the above problems, in the embodiment of the present application, by obtaining the forward preference information of the service provider for various forward vehicle historical orders and the order information and route information of each to-be-distributed order, determining the type of the to-be-distributed order based on the order information and route information of the to-be-distributed order, and then determining the forward degree between each to-be-distributed order and the service provider according to the forward preference information of the service provider for various forward vehicle historical orders and the type of each to-be-distributed order, so as to determine the matching result between each to-be-distributed order and the service provider according to the forward degree, the forward preference information of the service provider, the order time of the to-be-distributed order and the order position can be added into a considered range, the matching degree between the to-be-distributed order and the service provider can be improved, and the probability of canceling the order by the service, the experience of the user and the service provider can be improved at the same time.
Fig. 1 is a schematic structural diagram of a forward order distribution system according to an embodiment of the present application. For example, the on-road order distribution system may be an online transportation service platform for transportation services such as taxi cab, designated drive service, express, carpool, bus service, driver rental, or regular service, or any combination thereof. The on-road order distribution system may include one or more of a server 110, a network 120, a service requester 130, a service provider 140, and a database 150.
In some embodiments, the server 110 may include a processor. The processor may process information and/or data related to the service request to perform one or more of the functions described herein. For example, the processor may determine the target vehicle based on a service request obtained from the service requester 130. In some embodiments, a processor may include one or more processing cores (e.g., a single-core processor (S) or a multi-core processor (S)). Merely by way of example, a Processor may include a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), an Application Specific Instruction Set Processor (ASIP), a Graphics Processing Unit (GPU), a Physical Processing Unit (PPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), a Programmable Logic Device (PLD), a controller, a microcontroller Unit, a reduced Instruction Set computer (reduced Instruction Set computer), a microprocessor, or the like, or any combination thereof.
In some embodiments, the device types corresponding to the service requester 130 and the service provider 140 may be mobile devices, such as smart home devices, wearable devices, smart mobile devices, virtual reality devices, or augmented reality devices, and the like, and may also be tablet computers, laptop computers, or built-in devices in motor vehicles, and the like.
In some embodiments, a database 150 may be connected to the network 120 to communicate with one or more components in the on-road order distribution system (e.g., the server 110, the service requester 130, the service provider 140, etc.). One or more components in the on-road order distribution system may access data or instructions stored in the database 150 via the network 120. In some embodiments, the database 150 may be directly connected to one or more components in the on-route order distribution system, or the database 150 may be part of the server 110.
The following describes in detail the straightforward order distribution method provided in the embodiment of the present application, with reference to the content described in the straightforward order distribution system shown in fig. 1.
Referring to fig. 2, fig. 2 is a schematic flow chart of a straightforward order distribution method according to an embodiment of the present application, where the method may be executed by a processor in a straightforward order distribution system, and the specific execution process includes:
s201, acquiring the forward preference information of the service provider for various forward vehicle historical orders, the order information of each order to be distributed and route information, wherein the order information comprises any one or more of the following items: order time and order location.
In the step, before determining the forward road degree between each order to be distributed and the service provider, the forward road preference information of the service provider for various forward road vehicle historical orders, and the order information and the route information of each order to be distributed are obtained.
Wherein the order information comprises any one or more of the following: order time and order location.
The off-road preference information comprises at least one of historical order taking rate, historical order canceling rate, driver activity area, driver online time, early peak order taking probability, late peak order taking probability, driver service evaluation, historical order information and self characteristic information.
The self characteristic information may include high value driver probability, driver home address characteristics, accumulated online time, age, subsidy sensitivity, 30 days online time on the driver, proportion of peak trips of the driver in the past week, proportion of peak trips of the driver in the past day, duration (day) of driver attendance, days of driver registration time, and the like.
The order information further includes at least one of an origin, a destination, route information, and departure time.
S202, aiming at each order to be distributed, determining the type of the order to be distributed according to the order information and the route information of the order to be distributed.
In the step, for each order to be allocated, the type of the order to be allocated is determined according to the order information and the route information of the order to be allocated.
Specifically, the type of the order to be allocated may be determined according to the order time in the order information, for example, the morning peak, the evening peak, the common time period, and the like, for example, the order to be allocated is an morning peak order, and the like.
The type of the order to be allocated may also be determined according to an order location in the order information, for example, a city, a county city, or a town, and the like, where the order to be allocated is a city order.
Or the type of the order to be allocated may be determined according to route information of the order to be allocated, for example, an on-bridge route, an off-bridge route, or a highway route, for example, where the order to be allocated is a highway order.
Or determining the type of the order to be distributed according to the order information and the route information at the same time.
S203, determining the forward degree between each order to be distributed and the service provider based on the forward preference information of various forward vehicle historical orders and the type of each order to be distributed.
In the step, after the forward preference information of various forward vehicle historical orders of the service provider is obtained and the type of each to-be-distributed order is determined, the forward degree between each to-be-distributed order and the service provider is determined based on the obtained forward preference information of various forward vehicle historical orders and the type of each to-be-distributed order.
Therefore, when the order to be distributed of the off-road vehicles is distributed, the subjective intention of the service provider, the road condition information and the like can be taken into consideration, the order to be distributed of the off-road vehicles more suitable for the service provider can be recommended for the service provider, and the probability of canceling the order by the service provider is reduced.
And S204, determining a matching result between each order to be distributed and the service provider according to the road following degree.
In the step, according to the determined forward degree between each order to be distributed and the service provider, a matching result between each order to be distributed and the service provider is determined.
Specifically, the order to be distributed with the forward degree located at the front preset position can be matched with the service provider according to the forward degree between each order to be distributed and the service provider; or matching the orders to be distributed with the forward degree larger than the preset degree threshold value to the service provider.
Therefore, the method and the device can improve the matching degree between the orders to be distributed and the service provider and help reduce the probability of the service provider canceling the orders by acquiring the forward preference information of the service provider for various forward vehicle historical orders and the order information and the route information of each order to be distributed, determining the type of the order to be distributed based on the order information and the route information of the order to be distributed, and determining the forward degree between each order to be distributed and the service provider according to the forward preference information of the service provider for various forward vehicle historical orders and the type of each order to be distributed, thereby determining the matching result between each order to be distributed and the service provider according to the forward degree, adding the forward preference information of the service provider, the order time and the order position of the order to be distributed into a considered range, the experience of the user and the service provider can be improved at the same time.
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating a forward order distribution method according to another embodiment of the present application. As shown in fig. 3, the method for allocating an order in-route provided by the embodiment of the present application includes:
s301, acquiring the forward preference information of the service provider for various forward vehicle historical orders, the order information of each order to be distributed and the route information, wherein the order information comprises any one or more of the following items: order time and order location.
S302, aiming at each order to be distributed, determining the type of the order to be distributed according to the order information and the route information of the order to be distributed.
S303, converting the forward preference information of various forward vehicle historical orders into corresponding preference characteristic vectors, and converting the type of each order to be distributed into the corresponding order characteristic vector.
In the step, the forward preference information of various forward vehicle historical orders is converted into corresponding preference characteristic vectors, and the type of each order to be distributed is converted into the corresponding order characteristic vector.
Specifically, convertible preference features are extracted from the forward preference information, and the extracted preference features are converted into corresponding preference feature vectors; and similarly, extracting the convertible type features from the type of each order to be distributed, and converting the extracted type features into corresponding order feature vectors.
S304, inputting the preference characteristic vector and the order characteristic vector into a trained matching model, and determining the forward degree between each order to be distributed and the service provider.
In the step, the preference characteristic vector and the order characteristic vector obtained through conversion are input into a pre-trained matching model, and the forward degree between each order to be distributed and a service provider is determined through the matching model.
The matching model can be obtained based on any deep learning model or deep neural network training.
S305, determining a matching result between each order to be distributed and the service provider according to the road following degree.
The descriptions of S301, S302, and S305 may refer to the descriptions of S201, S202, and S204, and the same technical effect can be achieved, which is not described in detail herein.
Further, the matching model is trained by: obtaining a plurality of sample service providers and a plurality of sample historical service orders of each sample service provider; for each sample service provider, taking a sample historical service order determined by the sample service provider to be on-way as a positive training sample, and taking a sample historical service order determined by the sample service provider to be off-way as a negative training sample; acquiring a first road following degree corresponding to each positive training sample and a second road following degree corresponding to each negative training sample, wherein the first road following degree is greater than the second road following degree; and training the initial matching model based on the plurality of positive training samples, the plurality of negative training samples, the first forward degree corresponding to each positive training sample and the second forward degree corresponding to each negative training sample to obtain a trained matching model.
In the step, a plurality of sample service providers and a plurality of sample historical service orders of each sample service provider are obtained, and for each sample service provider, the sample historical service order determined to be on-way by the sample service provider is used as a positive training sample, and the sample historical service order determined to be off-way by the sample service provider is used as a negative training sample; meanwhile, a first forward degree corresponding to each positive training sample and a second forward degree corresponding to each negative training sample are obtained, wherein the first forward degree is greater than the second forward degree.
And training the constructed initial matching model based on the obtained positive training samples, the negative training samples, the first forward degree corresponding to each positive training sample and the second forward degree corresponding to each negative training sample to obtain the trained matching model.
Further, the forward preference information of the historical forward vehicle order is generated through the following steps: obtaining a plurality of off-road vehicle historical orders of the service provider; aiming at each off-road vehicle historical order, conforming the planned route of the order in the off-road vehicle historical order to the driving route of the service provider, and determining the off-road vehicle historical order with the off-road degree greater than a preset off-road threshold value by the service provider as an effective historical order; and generating the on-road preference information of the service provider for various on-road vehicle historical orders based on the determined effective historical orders.
The method comprises the steps that a plurality of off-road vehicle historical orders of a service provider are obtained, an order planned route of each off-road vehicle historical order is determined, an actual driving route of the service provider is compared with the actual driving route when the off-road vehicle historical order is served, whether the order planned route of the off-road vehicle historical order is consistent with the driving route is determined, meanwhile, whether the off-road degree of the off-road vehicle historical order is larger than a preset off-road threshold value is determined after the off-road vehicle historical order is completed or not by the service provider, and if the order planned route of the off-road vehicle historical order is consistent with the driving route and the off-road vehicle historical order off-road degree is larger than the preset off-road threshold value, the off-road vehicle historical order is determined to be an effective historical order by the service provider; and generating the on-road preference information of the service provider for various on-road vehicle historical orders based on the determined multiple effective historical orders.
Further, after step S304, the on-road order allocation method further includes: for each order to be distributed, determining a cancellation state corresponding to the service provider when the service provider cancels the order to be distributed according to the forward degree between the service provider and the order to be distributed; and determining the order distribution priority of the service provider after the order to be distributed is cancelled based on the cancellation state.
In the step, aiming at each order to be distributed, determining a cancellation state corresponding to a service provider when the service provider cancels the order to be distributed according to the determined forward degree between the service provider and the order to be distributed; and then, determining the corresponding order distribution priority when the service provider receives the next order after canceling the order to be distributed according to the canceling state.
In the distribution process of the order to be distributed of the on-road vehicle, when the service provider receives the order and cancels the order, the order distribution priority of the service provider when the service provider receives the order next time can be properly reduced after the service provider cancels the order to be distributed according to the on-road degree between the service provider and the order to be distributed.
Illustratively, after the service provider a receives the order B to be allocated, the order taking is cancelled, it is determined that the forward degree between the service provider a and the order B to be allocated is 90%, and it is determined according to the forward degree that the order taking is cancelled by the service provider a, and then the order allocation priority of the service provider a needs to be reduced by two levels.
Further, the determining, according to the degree of the way between the service provider and each to-be-allocated order, a cancellation state corresponding to the service provider when the service provider cancels each to-be-allocated order includes: when the forward degree is larger than a preset matching threshold value, when the service provider cancels the order to be distributed corresponding to the forward degree, determining a cancellation state corresponding to the service provider as abnormal cancellation; and when the forward degree is smaller than or equal to a preset matching threshold value, and the service provider cancels the order to be distributed corresponding to the forward degree, determining the cancellation state corresponding to the service provider as normal cancellation.
In this step, when the determined degree of the forward path between the service provider and the order to be distributed is greater than the preset matching threshold, it can be determined that the cancellation state corresponding to the service provider is abnormal cancellation after the service provider cancels the order to be distributed; on the contrary, when the determined forward route degree between the service provider and the to-be-distributed order is less than or equal to the preset matching threshold, it may be determined that the cancellation state corresponding to the service provider is normally cancelled after the service provider cancels the to-be-distributed order.
Therefore, the service provider can be prevented from randomly canceling the received order, and the service experience of the user can be improved.
Further, the determining, based on the cancellation status, the order allocation priority of the service provider after canceling the order to be allocated includes: when the cancellation state is abnormal cancellation, determining an abnormal level corresponding to the service provider according to the forward degree; and calculating the order distribution priority of the service provider after canceling the order to be distributed based on the priority descending index corresponding to the abnormal level.
In this step, when it is determined that the cancellation state when the service provider cancels the order to be allocated is abnormal cancellation, the abnormal level corresponding to the service provider is determined according to the degree of the way between the service provider and the order to be allocated.
And determining a preset priority descending index corresponding to the abnormal level, and calculating the order distribution priority of the service provider after the order to be distributed is cancelled based on the current order distribution priority and the priority descending index of the service provider.
Corresponding to the above embodiment, the current order allocation priority of the service provider is 6, and according to 90% of the forward route degree between the service provider and the order to be allocated, it is determined that the abnormal level corresponding to the service provider after the order is cancelled is 4, and it is determined that the priority reduction index is 3 when the abnormal level is 4, then after the service provider cancels the order to be allocated, the order allocation priority is reduced by 3, that is, the order allocation priority of the service provider is changed to 3.
Further, after step S304, the on-road order allocation method further includes: when the forward road degree is smaller than or equal to a preset matching threshold value, after the service provider completes the order to be distributed corresponding to the forward road degree, determining an excitation level corresponding to the service provider according to the forward road degree; and adjusting the order distribution priority of the service provider based on the priority ascending index corresponding to the incentive level.
In the step, when the forward degree between the service provider and the order to be distributed is smaller than or equal to the preset matching threshold, after the service provider finishes the order to be distributed, the incentive level corresponding to the service provider is determined according to the forward degree, and meanwhile, the order distribution priority of the service provider when the order is next received is adjusted according to the preset priority ascending index corresponding to the incentive level.
Illustratively, the current order allocation priority of the service provider is 6, according to the forward route degree 40% between the service provider and the order to be allocated, it is determined that the excitation level corresponding to the service provider after the order is cancelled is 2, it is determined that the priority raising index is 1 when the excitation level is 2, then after the service provider completes the order to be allocated, the order allocation priority is raised by 1, that is, the order allocation priority of the service provider is changed to 7.
Further, the order time of each of the orders to be allocated is determined by: obtaining the order departure time and the estimated completion time of the order to be distributed from the order information of the order to be distributed; and determining the order time of the order to be distributed based on the order departure time and the estimated completion time.
In this step, the order departure time of each to-be-allocated order and the estimated completion time of the to-be-allocated order are obtained from the order information of each to-be-allocated order, and the order time of the to-be-allocated order is determined based on the obtained order departure time and estimated completion time, that is, the order time may include the order departure time, the estimated completion time, the time period for completing the to-be-allocated order, and the like, and any time information obtained by calculation according to the order departure time and the estimated completion time can be obtained.
Further, the order location of each to-be-allocated order is determined by: acquiring the initial position and the end position of the order to be distributed from the order information of the order to be distributed; and determining the order position of the order to be distributed based on the starting position and the ending position.
In this step, the starting position and the ending position of each order to be allocated are obtained from the order information of each order to be allocated, and based on the obtained starting position and ending position, a planned travel route for providing service for the order to be allocated is determined, where the starting position of the order to be allocated belongs to a city, where the ending position of the order to be allocated belongs to a city, and other order position information.
The order position also comprises the condition whether the road congestion exists in the travel planning route in the travel time period.
Therefore, the method and the device can improve the matching degree between the orders to be distributed and the service provider and help reduce the probability of order cancellation of the service provider by acquiring the forward preference information of the service provider for various forward vehicle historical orders and the order information and route information of each order to be distributed, determining the type of the order to be distributed based on the order information and route information of the order to be distributed, and determining the forward degree between each order to be distributed and the service provider according to the forward preference information of the service provider for various forward vehicle historical orders and the type of each order to be distributed, thereby determining the matching result between each order to be distributed and the service provider according to the forward degree, adding the forward preference information of the service provider, the order time and the order position of the order to be distributed into a considered range, the experience of the user and the service provider can be improved at the same time.
Referring to fig. 4, fig. 4 is a flowchart of another method for allocating a forward order according to an embodiment of the present application. As shown in fig. 4, the method for allocating an order in-route provided by the embodiment of the present application includes:
s401, obtaining order information and route information of each order to be distributed, wherein the order information comprises any one or more of the following items: order time and order location.
In this step, before determining the degree of the way between each to-be-distributed order and the service provider, order information and route information of each to-be-distributed order are acquired.
Wherein the order information comprises any one or more of the following: order time and order location.
The order information further includes at least one of an origin, a destination, route information, and departure time.
S402, aiming at each order to be distributed, determining the type of the order to be distributed according to the order information and the route information of the order to be distributed.
In the step, for each order to be allocated, the type of the order to be allocated is determined according to the order information and the route information of the order to be allocated.
Specifically, the type of the order to be allocated may be determined according to the order time in the order information, for example, the morning peak, the evening peak, the common time period, and the like, for example, the order to be allocated is an morning peak order, and the like.
The type of the order to be allocated may also be determined according to an order location in the order information, for example, a city, a county city, or a town, and the like, where the order to be allocated is a city order.
Or the type of the order to be allocated may be determined according to route information of the order to be allocated, for example, an on-bridge route, an off-bridge route, or a highway route, for example, where the order to be allocated is a highway order.
Or determining the type of the order to be distributed according to the order information and the route information at the same time.
S403, determining the forward degree between each order to be distributed and the service provider based on the type of each order to be distributed.
In this step, after the type of each to-be-allocated order is determined, the degree of the way between each to-be-allocated order and the service provider is determined based on the type of each to-be-allocated order.
Therefore, when the to-be-distributed orders of the off-road vehicles are distributed, the road condition information and the like when the to-be-distributed orders are served are taken into consideration, the to-be-distributed orders of the off-road vehicles more suitable for the service provider can be recommended for the service provider, and the probability of canceling the orders by the service provider is favorably reduced.
S404, determining a matching result between each order to be distributed and the service provider according to the road degree.
In the step, according to the determined forward degree between each order to be distributed and the service provider, a matching result between each order to be distributed and the service provider is determined.
Specifically, the order to be distributed with the forward degree located at the front preset position can be matched with the service provider according to the forward degree between each order to be distributed and the service provider; or matching the orders to be distributed with the forward degree larger than the preset degree threshold value to the service provider.
Further, step S403 includes: converting the order information of each order to be distributed into corresponding order characteristic vectors; and inputting the order feature vectors into a trained matching model, and determining the forward degree between each order to be distributed and the service provider.
In the step, the determined order information of each order to be distributed is converted into a corresponding order characteristic vector; and inputting the obtained order feature vector into a trained matching model corresponding to the service provider, and determining the forward degree between each order to be distributed and the service provider.
The matching model is trained for the service provider according to the historical service orders of the service provider, namely the matching model is suitable for the service provider, so that when the service provider is matched with the orders to be distributed, only the order information and the route information of the orders to be distributed are obtained.
The matching model can be obtained based on any deep learning model or deep neural network training.
Further, the matching model is trained by:
(1) and taking the historical service orders determined to be on-road by the service provider as positive training samples, taking the historical service orders determined to be off-road by the service provider as negative training samples, and acquiring a first on-road degree corresponding to each positive training sample and a second on-road degree corresponding to each negative training sample.
In the step, a plurality of sample historical service orders of a sample service provider are obtained, and for each sample service provider, the sample historical service order determined to be on-way by the sample service provider is used as a positive training sample, and the sample historical service order determined to be off-way by the sample service provider is used as a negative training sample; meanwhile, a first forward degree corresponding to each positive training sample and a second forward degree corresponding to each negative training sample are obtained, wherein the first forward degree is greater than the second forward degree.
(2) And training the initial matching model based on the plurality of positive training samples, the plurality of negative training samples, the first forward degree corresponding to each positive training sample and the second forward degree corresponding to each negative training sample to obtain the trained matching model corresponding to the service provider.
In the step, the constructed initial matching model is trained based on the obtained positive training samples, the negative training samples, the first forward degree corresponding to each positive training sample and the second forward degree corresponding to each negative training sample, so that the trained matching model is obtained.
Therefore, the matching model trained according to the sample historical service orders of the service provider is suitable for the service provider, and the matching model is obtained through training according to the characteristic information of the service provider, so that the direct road degree between each order to be distributed and the service provider can be more accurately determined.
Therefore, the method and the device determine the type of the order to be distributed according to the obtained order information and route information of each order to be distributed, and then determine the forward degree between each order to be distributed by the service provider according to the type of each order to be distributed, thereby determining the matching result between each order to be distributed and the service provider according to the forward degree, adding the order time and the order position of the order to be distributed into a considered range, improving the matching degree between the order to be distributed and the service provider, being beneficial to reducing the probability of the service provider for cancelling the order, and improving the experience of users and the service provider.
Referring to fig. 5 to 8, fig. 5 is a first schematic structural view of an on-road order distribution device according to an embodiment of the present disclosure, fig. 6 is a second schematic structural view of an on-road order distribution device according to an embodiment of the present disclosure, fig. 7 is a first schematic structural view of another on-road order distribution device according to an embodiment of the present disclosure, and fig. 8 is a second schematic structural view of another on-road order distribution device according to an embodiment of the present disclosure. As shown in fig. 5, the on-road order distribution device 500 includes:
a first obtaining module 501, configured to obtain the off-road preference information of various off-road vehicle historical orders, the order information of each order to be allocated, and the route information of a service provider, where the order information includes any one or more of the following: order time and order location;
a first type determining module 502, configured to determine, for each to-be-allocated order, a type of the to-be-allocated order according to the order information and the route information of the to-be-allocated order;
a first degree determining module 503, configured to determine a degree of following the road between each to-be-allocated order and the service provider based on the following road preference information of each type of following road vehicle historical orders and the type of each to-be-allocated order;
a first matching module 504, configured to determine, according to the degree of the way, a matching result between each to-be-allocated order and the service provider.
Further, as shown in fig. 6, the on-road order distribution apparatus 500 further includes a first model training module 505, and the first model training module 505 is configured to:
obtaining a plurality of sample service providers and a plurality of sample historical service orders of each sample service provider;
for each sample service provider, taking a sample historical service order determined by the sample service provider to be on-way as a positive training sample, and taking a sample historical service order determined by the sample service provider to be off-way as a negative training sample;
acquiring a first road following degree corresponding to each positive training sample and a second road following degree corresponding to each negative training sample, wherein the first road following degree is greater than the second road following degree;
and training the initial matching model based on the plurality of positive training samples, the plurality of negative training samples, the first forward degree corresponding to each positive training sample and the second forward degree corresponding to each negative training sample to obtain a trained matching model.
Further, as shown in fig. 6, the on-road order distribution apparatus 500 further includes an information generating module 506, where the information generating module 506 is configured to:
obtaining a plurality of off-road vehicle historical orders of the service provider;
aiming at each off-road vehicle historical order, conforming the planned route of the order in the off-road vehicle historical order to the driving route of the service provider, and determining the off-road vehicle historical order with the off-road degree greater than a preset off-road threshold value by the service provider as an effective historical order;
and generating the on-road preference information of the service provider for various on-road vehicle historical orders based on the determined effective historical orders.
Further, as shown in fig. 6, the on-road order distribution apparatus 500 further includes a priority determination module 507, where the priority determination module 507 is configured to:
for each order to be distributed, determining a cancellation state corresponding to the service provider when the service provider cancels the order to be distributed according to the forward degree between the service provider and the order to be distributed;
and determining the order distribution priority of the service provider after the order to be distributed is cancelled based on the cancellation state.
Further, as shown in fig. 6, the on-road order distribution device 500 further includes an incentive module 508, where the incentive module 508 is configured to:
when the forward road degree is smaller than or equal to a preset matching threshold value, after the service provider completes the order to be distributed corresponding to the forward road degree, determining an excitation level corresponding to the service provider according to the forward road degree;
and adjusting the order distribution priority of the service provider based on the priority ascending index corresponding to the incentive level.
Further, as shown in fig. 6, the on-road order distribution apparatus 500 further includes a time determination module 509, and the time determination module 509 is configured to:
obtaining the order departure time and the estimated completion time of the order to be distributed from the order information of the order to be distributed;
and determining the order time of the order to be distributed based on the order departure time and the estimated completion time.
Further, as shown in fig. 6, the on-road order distribution apparatus 500 further includes a position determination module 510, where the position determination module 510 is configured to:
acquiring the initial position and the end position of the order to be distributed from the order information of the order to be distributed;
and determining the order position of the order to be distributed based on the starting position and the ending position.
Further, when the first degree determining module 503 is configured to determine the degree of forward road between each order to be allocated and the service provider based on the forward road preference information of each type of forward road vehicle historical orders and the type of each order to be allocated, the first degree determining module 503 is configured to:
converting the on-road preference information of various on-road vehicle historical orders into corresponding preference characteristic vectors, and converting the type of each order to be distributed into corresponding order characteristic vectors;
and inputting the preference characteristic vector and the order characteristic vector into a trained matching model, and determining the forward degree between each order to be distributed and the service provider.
Further, the priority determining module 507 is configured to, when determining, according to the degree of forward route between the service provider and each to-be-allocated order, that the service provider cancels each to-be-allocated order and a cancellation state corresponding to the service provider, the priority determining module 507 is configured to:
when the forward degree is larger than a preset matching threshold value, when the service provider cancels the order to be distributed corresponding to the forward degree, determining a cancellation state corresponding to the service provider as abnormal cancellation;
and when the forward degree is smaller than or equal to a preset matching threshold value, and the service provider cancels the order to be distributed corresponding to the forward degree, determining the cancellation state corresponding to the service provider as normal cancellation.
In a possible implementation manner, when the priority determination module 507 is configured to determine, based on the cancellation status, that the order allocation priority of the service provider after canceling the order to be allocated is given, the priority determination module 507 is configured to:
when the cancellation state is abnormal cancellation, determining an abnormal level corresponding to the service provider according to the forward degree;
and calculating the order distribution priority of the service provider after canceling the order to be distributed based on the priority descending index corresponding to the abnormal level.
Further, the on-road preference information includes at least one of a historical pick-up rate, a historical order cancellation rate, a driver activity area, a driver online time, an early peak pick-up probability, a late peak pick-up probability, a driver service evaluation, historical order information, and self-feature information.
Further, the route information includes at least one of an origin, a destination, route information, and a departure time.
Further, as shown in fig. 7, the on-road order distribution apparatus 700 includes:
a second obtaining module 701, configured to obtain order information and route information of each to-be-allocated order, where the order information includes any one or more of the following: order time and order location;
a second type determining module 702, configured to determine, for each to-be-allocated order, a type of the to-be-allocated order according to the order information and the route information of the to-be-allocated order;
a second degree determining module 703, configured to determine, based on the type of each to-be-allocated order, a forward degree between each to-be-allocated order and the service provider;
a second matching module 704, configured to determine, according to the degree of the way, a matching result between each to-be-allocated order and the service provider.
Further, as shown in fig. 8, the on-road order distribution apparatus 700 further includes a second model training module 705, where the second model training module 705 is configured to:
taking the historical service orders determined to be on-road by the service provider as positive training samples, taking the historical service orders determined to be off-road by the service provider as negative training samples, and acquiring a first on-road degree corresponding to each positive training sample and a second on-road degree corresponding to each negative training sample;
and training the initial matching model based on the plurality of positive training samples, the plurality of negative training samples, the first forward degree corresponding to each positive training sample and the second forward degree corresponding to each negative training sample to obtain the trained matching model corresponding to the service provider.
Further, when the second degree determining module 703 is configured to determine the degree of smoothness between each to-be-allocated order and the service provider based on the type of each to-be-allocated order, the second degree determining module 703 is configured to:
converting the order information of each order to be distributed into corresponding order characteristic vectors;
and inputting the order feature vectors into a trained matching model, and determining the forward degree between each order to be distributed and the service provider.
Therefore, the method and the device can improve the matching degree between the orders to be distributed and the service provider and help reduce the probability of the service provider canceling the orders by acquiring the forward preference information of the service provider for various forward vehicle historical orders and the order information and the route information of each order to be distributed, determining the type of the order to be distributed based on the order information and the route information of the order to be distributed, and determining the forward degree between each order to be distributed and the service provider according to the forward preference information of the service provider for various forward vehicle historical orders and the type of each order to be distributed, thereby determining the matching result between each order to be distributed and the service provider according to the forward degree, adding the forward preference information of the service provider, the order time and the order position of the order to be distributed into a considered range, the experience of the user and the service provider can be improved at the same time.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 9, the electronic device 900 includes a processor 910, a memory 920, and a bus 930.
The memory 920 stores machine-readable instructions executable by the processor 910, when the electronic device 900 runs, the processor 910 communicates with the memory 920 through the bus 930, and when the machine-readable instructions are executed by the processor 910, the steps of the in-route order allocation method in the method embodiments shown in fig. 2, fig. 3 and fig. 4 may be executed.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the in-route order allocation method in the method embodiments shown in fig. 2, fig. 3, and fig. 4 may be executed.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. An on-road order distribution method, characterized in that the on-road order distribution method comprises:
acquiring the on-road preference information of a service provider for various on-road vehicle historical orders, the order information of each order to be distributed and route information, wherein the order information comprises any one or more of the following information: order time and order location;
aiming at each order to be distributed, determining the type of the order to be distributed according to the order information and the route information of the order to be distributed;
determining the forward degree between each order to be distributed and the service provider based on the forward preference information of various forward vehicle historical orders and the type of each order to be distributed;
and determining a matching result between each order to be distributed and the service provider according to the forward road degree.
2. The method for allocating a straightforward order according to claim 1, wherein said determining the straightforward degree between each order to be allocated and the service provider based on the straightforward preference information of each type of the straightforward vehicle history orders and the type of each order to be allocated comprises:
converting the on-road preference information of various on-road vehicle historical orders into corresponding preference characteristic vectors, and converting the type of each order to be distributed into corresponding order characteristic vectors;
and inputting the preference characteristic vector and the order characteristic vector into a trained matching model, and determining the forward degree between each order to be distributed and the service provider.
3. The on-the-road order distribution method of claim 2, wherein the matching model is trained by:
obtaining a plurality of sample service providers and a plurality of sample historical service orders of each sample service provider;
for each sample service provider, taking a sample historical service order determined by the sample service provider to be on-way as a positive training sample, and taking a sample historical service order determined by the sample service provider to be off-way as a negative training sample;
acquiring a first road following degree corresponding to each positive training sample and a second road following degree corresponding to each negative training sample, wherein the first road following degree is greater than the second road following degree;
and training the initial matching model based on the plurality of positive training samples, the plurality of negative training samples, the first forward degree corresponding to each positive training sample and the second forward degree corresponding to each negative training sample to obtain a trained matching model.
4. The on-road order distribution method of claim 1, wherein the on-road preference information for the on-road vehicle historical order is generated by:
obtaining a plurality of off-road vehicle historical orders of the service provider;
aiming at each off-road vehicle historical order, conforming the planned route of the order in the off-road vehicle historical order to the driving route of the service provider, and determining the off-road vehicle historical order with the off-road degree greater than a preset off-road threshold value by the service provider as an effective historical order;
and generating the on-road preference information of the service provider for various on-road vehicle historical orders based on the determined effective historical orders.
5. The on-the-road order distribution method as claimed in claim 1, wherein after said determining a matching result between each order to be distributed and said service provider according to said on-the-road degree, said on-the-road order distribution method further comprises:
for each order to be distributed, determining a cancellation state corresponding to the service provider when the service provider cancels the order to be distributed according to the forward degree between the service provider and the order to be distributed;
and determining the order distribution priority of the service provider after the order to be distributed is cancelled based on the cancellation state.
6. The method according to claim 5, wherein said determining, according to the degree of forward route between the service provider and each order to be distributed, a cancellation status corresponding to the service provider when the service provider cancels each order to be distributed comprises:
when the forward degree is larger than a preset matching threshold value, when the service provider cancels the order to be distributed corresponding to the forward degree, determining a cancellation state corresponding to the service provider as abnormal cancellation;
and when the forward degree is smaller than or equal to a preset matching threshold value, and the service provider cancels the order to be distributed corresponding to the forward degree, determining the cancellation state corresponding to the service provider as normal cancellation.
7. The on-the-road order distribution method according to claim 6, wherein said determining the order distribution priority of the service provider after canceling the order to be distributed based on the cancellation status comprises:
when the cancellation state is abnormal cancellation, determining an abnormal level corresponding to the service provider according to the forward degree;
and calculating the order distribution priority of the service provider after canceling the order to be distributed based on the priority descending index corresponding to the abnormal level.
8. The on-the-road order distribution method as claimed in claim 1, wherein after said determining a matching result between each order to be distributed and said service provider according to said on-the-road degree, said on-the-road order distribution method further comprises:
when the forward road degree is smaller than or equal to a preset matching threshold value, after the service provider completes the order to be distributed corresponding to the forward road degree, determining an excitation level corresponding to the service provider according to the forward road degree;
and adjusting the order distribution priority of the service provider based on the priority ascending index corresponding to the incentive level.
9. The on-road order distribution method as claimed in claim 1, wherein the on-road preference information comprises at least one of historical pick-up rate, historical order cancellation rate, driver activity area, driver online time, early peak pick-up probability, late peak pick-up probability, driver service rating, historical order information, and self-profile information.
10. The on-the-road order distribution method of claim 1, wherein the route information comprises at least one of an origin, a destination, route information, and a departure time.
11. The on-the-road order distribution method of claim 1, wherein the order time for each of said orders to be distributed is determined by:
obtaining the order departure time and the estimated completion time of the order to be distributed from the order information of the order to be distributed;
and determining the order time of the order to be distributed based on the order departure time and the estimated completion time.
12. The on-the-road order distribution method of claim 1, wherein the order location for each order to be distributed is determined by:
acquiring the initial position and the end position of the order to be distributed from the order information of the order to be distributed;
and determining the order position of the order to be distributed based on the starting position and the ending position.
13. An on-road order distribution method, characterized in that the on-road order distribution method comprises:
acquiring order information and route information of each order to be distributed, wherein the order information comprises any one or more of the following items: order time and order location;
aiming at each order to be distributed, determining the type of the order to be distributed according to the order information and the route information of the order to be distributed;
determining the forward degree between each order to be distributed and a service provider based on the type of each order to be distributed;
and determining a matching result between each order to be distributed and the service provider according to the forward road degree.
14. An on-road order distribution device, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the on-road preference information of a service provider for various on-road vehicle historical orders, the order information of each order to be distributed and the route information, and the order information comprises any one or more of the following information: order time and order location;
the first type determining module is used for determining the type of each order to be distributed according to the order information and the route information of the order to be distributed;
the first degree determining module is used for determining the degree of the forward road between each order to be distributed and the service provider based on the forward road preference information of various forward road vehicle historical orders and the type of each order to be distributed;
and the first matching module is used for determining a matching result between each order to be distributed and the service provider according to the road degree.
15. An on-road order distribution device, comprising:
a second obtaining module, configured to obtain order information and route information of each to-be-allocated order, where the order information includes any one or more of the following: order time and order location;
the second type determining module is used for determining the type of each order to be distributed according to the order information and the route information of the order to be distributed;
the second degree determining module is used for determining the forward degree between each order to be distributed and the service provider based on the type of each order to be distributed;
and the second matching module is used for determining a matching result between each order to be distributed and the service provider according to the road degree.
16. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the on-road order distribution method according to any one of claims 1 to 12 or 13.
17. A computer-readable storage medium, having stored thereon a computer program for performing, when being executed by a processor, the steps of the on-road order distribution method according to any one of claims 1 to 12 or 13.
CN202010739812.3A 2020-07-28 2020-07-28 Method and device for distributing in-route orders, electronic equipment and readable storage medium Pending CN111881375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010739812.3A CN111881375A (en) 2020-07-28 2020-07-28 Method and device for distributing in-route orders, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010739812.3A CN111881375A (en) 2020-07-28 2020-07-28 Method and device for distributing in-route orders, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN111881375A true CN111881375A (en) 2020-11-03

Family

ID=73201916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010739812.3A Pending CN111881375A (en) 2020-07-28 2020-07-28 Method and device for distributing in-route orders, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111881375A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113340316A (en) * 2021-05-19 2021-09-03 维沃软件技术有限公司 Route display method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190188818A1 (en) * 2017-04-27 2019-06-20 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for determining an estimated time of arrival
CN110796378A (en) * 2019-10-31 2020-02-14 北京三快在线科技有限公司 Order allocation method and device
CN110998648A (en) * 2018-08-09 2020-04-10 北京嘀嘀无限科技发展有限公司 System and method for distributing orders
CN111260423A (en) * 2018-11-30 2020-06-09 北京嘀嘀无限科技发展有限公司 Order distribution method and device, electronic equipment and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190188818A1 (en) * 2017-04-27 2019-06-20 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for determining an estimated time of arrival
CN110998648A (en) * 2018-08-09 2020-04-10 北京嘀嘀无限科技发展有限公司 System and method for distributing orders
CN111260423A (en) * 2018-11-30 2020-06-09 北京嘀嘀无限科技发展有限公司 Order distribution method and device, electronic equipment and computer readable storage medium
CN110796378A (en) * 2019-10-31 2020-02-14 北京三快在线科技有限公司 Order allocation method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
程月娇;施炯;黄彬;: "众包物流环境下订单合并及配送路径优化方法研究", 浙江万里学院学报, no. 04 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113340316A (en) * 2021-05-19 2021-09-03 维沃软件技术有限公司 Route display method and device, electronic equipment and storage medium
CN113340316B (en) * 2021-05-19 2022-11-15 维沃软件技术有限公司 Route display method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110503590B (en) Co-riding support device, co-riding support system and co-riding support method
US11162803B2 (en) Providing alternative routing options to a rider of a transportation management system
CN111326015A (en) Parking spot recommendation method and device
CN111324824B (en) Destination recommendation method and device, electronic device and readable storage medium
CN111651437B (en) Data cleaning method and device, electronic equipment and storage medium
CN111859171A (en) Information pushing method and device, electronic equipment and storage medium
CN111144603A (en) Service information pushing method and device, electronic equipment and storage medium
CN111861081A (en) Order allocation method and device, electronic equipment and storage medium
CN111859172B (en) Information pushing method, device, electronic equipment and computer readable storage medium
CN111323035A (en) Detection method and detection device for driving yaw and readable storage medium
CN111831967A (en) Store arrival identification method and device, electronic equipment and medium
CN111523933A (en) Method and device for predicting order taking probability, electronic equipment and readable storage medium
CN111881375A (en) Method and device for distributing in-route orders, electronic equipment and readable storage medium
CN110675208A (en) Information processing apparatus and information processing method
CN111861538A (en) Information pushing method and device, electronic equipment and storage medium
CN111242711A (en) Information prompting method and device, electronic equipment and storage medium
CN111612183A (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
CN111339468B (en) Information pushing method, device, electronic equipment and storage medium
CN111260424A (en) Information processing method and device
CN112001516B (en) Information processing method, device, electronic equipment and storage medium
CN111651686B (en) Test processing method and device, electronic equipment and storage medium
CN113739815A (en) Path planning method and device based on road comfort
CN111861650A (en) Information display method, first service request terminal, system and electronic equipment
CN112581146A (en) Feedback method of travel problems, user request terminal and service evaluation feedback system
CN111860904B (en) Method and device for ordering boarding points

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