Carpooling service providing method, device and electronic equipment
By calculating the matching factor in the carpooling service and replacing the service objects, the problem of being unable to effectively match the best ride-sharing companions in the existing carpooling service is solved, the efficiency and smoothness of the carpooling service are improved, and a better experience for passengers is ensured.
Patent Information
- Application Number
- CN202011488282.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-16
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-12-16
AI Technical Summary
Existing ride-sharing services cannot effectively match the best ride-sharing partners when passengers request ride-sharing, resulting in a waste of resources and low efficiency.
Obtain the master service object and slave service object of the existing carpooling agreement, calculate their matching factors, and if the matching factor is greater than the slave service object, replace the slave service object to establish a new carpooling agreement to ensure smooth access between carpooling objects. The degree is better, reducing detours and improving the efficiency of carpooling services.
It achieves better matching of carpooling objects, reduces unnecessary detours, improves the efficiency of carpooling services, and ensures smooth access and passenger experience during the carpooling process.
Smart Images

Figure CN112561164B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and more specifically, to a method, device and electronic device for providing a carpooling service. Background Art
[0002] As more and more passengers choose online ride-hailing, the driver resources (vehicles) that can provide driving services are becoming increasingly scarce. In order to improve the efficiency of driving services and reduce the cost of passengers, carpooling services have emerged.
[0003] Current carpooling services match passengers with other passengers when they request a carpooling. Once a carpooling agreement is reached, the service stops matching other passengers with other passengers. However, the time when different passengers request a carpooling is uncontrollable, which causes many passengers to miss the best carpooling partners and take unnecessary detours, which not only wastes driver resources but also causes low efficiency of carpooling services. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a method, device and electronic device for providing carpooling services, which can continuously find better carpooling partners for service objects with existing carpooling agreements, and promptly replace the better carpooling partners after finding them, thereby solving the problem of missing the best carpooling partners existing in the prior art, avoiding unnecessary detours, and improving the efficiency of carpooling services.
[0005] In a first aspect, the present invention provides a method for providing a carpooling service, comprising:
[0006] Obtain the main service object and the secondary service object that have reached a carpooling agreement;
[0007] Calculating a first matching factor between the main service object and the service object to be assembled;
[0008] If the first matching factor is greater than the second matching factor between the primary service object and the secondary service object, the secondary service object is replaced by the to-be-carpooled service object to reach a new carpooling agreement.
[0009] In an optional implementation manner, the step of obtaining the primary service object and the secondary service object for reaching a carpooling agreement includes:
[0010] Get available carpooling orders in the pickup state;
[0011] The multiple service objects corresponding to the optional carpooling order are respectively used as the main service object and the slave service object.
[0012] In an optional implementation, the step of calculating the first matching factor between the primary service object and the service object to be assembled includes:
[0013] Acquire the real-time location information of the service provider corresponding to the carpooling agreement, and the first trip starting point and the first trip end point corresponding to the primary service object;
[0014] Obtain the second trip starting point and the second trip end point corresponding to the object to be carpooled;
[0015] Planning a pick-up route starting from the real-time location information and passing through the first trip starting point, the first trip end point, the second trip starting point, and the second trip end point;
[0016] The first matching factor corresponding to the pick-up route is evaluated according to at least one traffic factor of the pick-up route.
[0017] In an optional implementation, the step of evaluating the corresponding first matching factor according to at least one traffic factor of the pick-up route includes:
[0018] estimating the driving time for the pickup route;
[0019] Evaluate the congested distance ratio corresponding to the pick-up route according to the driving period;
[0020] Obtain the pick-up distance in the pick-up route;
[0021] Combined with the vehicle information corresponding to the service provider, estimating the driving time corresponding to the pick-up route;
[0022] The first matching factor is calculated based on one or a combination of the congested distance ratio, the pick-up distance and the driving time.
[0023] In an optional implementation manner, when there is a carpooling agreement between the to-be-carpooled service object and a third service object, before the to-be-carpooled service object is used to replace the secondary service object, the method further includes:
[0024] Calculating a third matching factor between the third service object and the slave service object and a fourth matching factor between the to-be-assembled service object and the third service object;
[0025] When the third matching factor is not lower than a preset value and the fourth matching factor is lower than the sum of the first matching factor and a set value, determining a magnitude relationship between the first matching factor and the second matching factor;
[0026] After a new carpooling agreement is established between the primary service object and the service object to be carpooled, a new carpooling agreement is established between the third service object and the secondary service object.
[0027] In an optional implementation manner, after replacing the secondary service object with the to-be-carpooled service object, the method further includes:
[0028] Carpool matching is performed for the slave service object;
[0029] When the slave service object is matched with the fourth service object, a carpooling agreement is created between the slave service object and the fourth service object, and a carpooling agreement is established between the master service object and the service object to be carpooled.
[0030] In an optional implementation manner, after replacing the secondary service object with the to-be-carpooled service object, the method further includes:
[0031] Calculate a pick-up route from a first trip starting point corresponding to the primary service object to a second trip starting point of the to-be-shared service object;
[0032] If the pick-up route does not exceed the preset mileage, a carpooling agreement is established between the main service object and the service object to be carpooled.
[0033] In a second aspect, the present invention provides a carpooling service providing device, comprising:
[0034] An acquisition module is used to acquire the main service object and the slave service object for reaching a carpooling agreement;
[0035] A calculation module, used for calculating a first matching factor between the main service object and the service object to be assembled;
[0036] The updating module is used for replacing the slave service object with the to-be-carpooled service object to reach a new carpooling agreement if the first matching factor is greater than the second matching factor between the master service object and the slave service object.
[0037] In an optional implementation, the acquisition module includes:
[0038] The acquisition submodule is used to obtain the optional carpooling orders in the pick-up state;
[0039] The determination submodule is used to respectively use the multiple service objects corresponding to the optional carpooling order as the main service object and the slave service object.
[0040] In an optional implementation, the calculation module is further used for:
[0041] Acquire the real-time location information of the service provider corresponding to the carpooling agreement, and the first trip starting point and the first trip end point corresponding to the primary service object;
[0042] Obtain the second trip starting point and the second trip end point corresponding to the object to be carpooled;
[0043] Planning a pick-up route starting from the real-time location information and passing through the first trip starting point, the first trip end point, the second trip starting point, and the second trip end point;
[0044] The first matching factor corresponding to the pick-up route is evaluated according to at least one traffic factor of the pick-up route.
[0045] In an optional implementation manner, when there is a carpooling agreement between the object to be carpooled and the third service object, the device further includes:
[0046] The calculation module is further used to calculate a third matching factor between the third service object and the slave service object and a fourth matching factor between the to-be-assembled service object and the third service object;
[0047] A judging module, configured to judge the magnitude relationship between the first matching factor and the second matching factor when the third matching factor is not lower than a preset value and the fourth matching factor is lower than the sum of the first matching factor and a set value;
[0048] The establishing module is used to establish a new carpooling agreement between the third service object and the slave service object after the new carpooling agreement is established between the main service object and the service object to be shared.
[0049] In an optional embodiment, the device further comprises:
[0050] A matching module, used for performing carpool matching for the slave service object;
[0051] An establishing module is used to create a carpooling agreement between the slave service object and the fourth service object and to establish a carpooling agreement between the master service object and the service object to be carpooled when the slave service object is matched with the fourth service object.
[0052] In an optional embodiment, the device further comprises:
[0053] The calculation module is further used to calculate a pick-up route from a first trip starting point corresponding to the primary service object to a second trip starting point of the to-be-carpooled service object;
[0054] The establishment module is used to establish a carpooling agreement between the main service object and the service object to be shared if the pick-up route does not exceed the preset mileage.
[0055] In a third aspect, the present invention provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the method described in any of the aforementioned implementations.
[0056] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, executes the steps of the method as described in any of the aforementioned embodiments.
[0057] Based on any of the above aspects, the method for providing carpooling services provided by the embodiment of the present invention obtains the main service object and the slave service object that have reached a carpooling agreement, and calculates the first matching factor between the main service object and the service object to be carpooled. If the first matching factor is greater than the second matching factor between the main service object and the slave service object, the service object to be carpooled is used to replace the slave service object to reach a new carpooling agreement. In the event of a better carpooling service object, the carpooling agreement is updated in a timely manner, so that the degree of convenience between the carpooling objects corresponding to the carpooling agreement is better, which reduces the detours during the carpooling process to a certain extent and improves the efficiency of the carpooling service. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0059] Figure 1 A schematic diagram of the architecture of a carpooling service providing system provided by an embodiment of the present application is shown;
[0060] Figure 2 One of the flow charts of a method for providing a carpooling service provided by an embodiment of the present application is shown;
[0061] Figure 3 A flowchart showing a specific method of step S101 in the method for providing a carpooling service provided in an embodiment of the present application is shown;
[0062] Figure 4 A flowchart showing a specific method of step S102 in the method for providing a carpooling service provided in an embodiment of the present application is shown;
[0063] Figure 5 A second flowchart of a method for providing a carpooling service provided by an embodiment of the present application is shown;
[0064] Figure 6 A third flowchart of a method for providing a carpooling service provided by an embodiment of the present application is shown;
[0065] Figure 7 A schematic diagram of the structure of a carpooling service providing device provided in an embodiment of the present application is shown;
[0066] Figure 8 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown.
[0067] Icons: 100 - carpooling service providing system; 110 - server; 120 - network; 130 - service request end; 140 - service providing end; 500 - carpooling service providing device; 501 - acquisition module; 502 - calculation module; 503 - update module; 60 - electronic device; 61 - processor; 62 - memory; 63 - bus. DETAILED DESCRIPTION
[0068] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0069] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0070] In order to enable those skilled in the art to use the contents of this application, the following implementation is provided in conjunction with a specific application scenario of "online car-hailing carpooling". For those skilled in the art, the general principles defined herein can be applied to other embodiments and application scenarios without departing from the spirit and scope of this application. Although this application is mainly described around online car-hailing carpooling, it should be understood that this is only an exemplary embodiment.
[0071] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0072] The terms "passenger", "service object", "service request end 130", "carpool object" and "customer" in this application are used interchangeably to refer to individuals, entities or tools that can request or order services. The terms "driver", "provider", "service provider 140" and "vehicle" in this application are used interchangeably to refer to individuals, entities or tools that can provide services. The term "user" in this application may refer to an individual, entity or tool that requests a service, orders a service, provides a service or facilitates the provision of a service. For example, a user may be a passenger, a driver, an operator, etc., or any combination thereof.
[0073] The terms "service request" and "order" in this application are used interchangeably to refer to a request initiated by a passenger, a service requester, a driver, a service provider, a supplier, etc., or any combination thereof. The "service request" or "order" may be accepted by a passenger, a service requester, a driver, a service provider, a supplier, etc., or any combination thereof. A service request may be charged or free of charge.
[0074] The positioning technology used in this application can be based on the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the Compass Navigation System (COMPASS), the Galileo Positioning System, the Quasi-Zenith Satellite System (QZSS), the Wireless Fidelity (WiFi) positioning technology, etc., or any combination thereof. One or more of the above positioning systems can be used interchangeably in this application.
[0075] One aspect of the present application relates to a carpooling service providing system 100. The system can match better carpooling partners to service partners who have reached carpooling agreements, ensuring that the carpooling orders actually executed are as convenient as possible, making carpooling more flexible, reducing the possibility of detours, and improving the efficiency of carpooling services.
[0076] Figure 1 1 is a schematic diagram of the architecture of a carpooling service providing system 100 provided in an embodiment of the present application. For example, the carpooling service providing system 100 may be an online transportation service platform for transportation services such as taxi, express, carpooling, bus service, or shuttle service, or any combination thereof. The carpooling service providing system 100 may include one or more of a server 110, a network 120, a service request end 130, and a service provider end 140.
[0077] In some embodiments, the server 110 may include a processor 61. The processor 61 may process information and / or data related to the service request to perform one or more functions described in the present application. For example, the processor 61 may determine a target vehicle based on the service request obtained from the service request end 130. In some embodiments, the processor 61 may include one or more processing cores (e.g., a single-core processor 61(S) or a multi-core processor 61(S)). Just by way of example, the processor 61 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), an application specific instruction set processor 61 (Application Specific Instruction-set Processor, ASIP), a graphics processing unit (Graphics Processing Unit, GPU), a physical processing unit (Physics Processing Unit, PPU), a digital signal processor 61 (Digital Signal Processor, DSP), a field programmable gate array (Field Programmable Gate Array, FPGA), a programmable logic device (Programmable Logic Device, PLD), a controller, a microcontroller unit, a reduced instruction set computer (Reduced Instruction Set Computing, RISC), or a microprocessor 61, or any combination thereof.
[0078] In some embodiments, the device types corresponding to the service request end 130 and the service provider end 140 may be mobile devices, such as smart home devices, wearable devices, smart mobile devices, virtual reality devices, or augmented reality devices, etc., or may be tablet computers, laptop computers, or built-in devices in motor vehicles, etc.
[0079] The following is combined with the above Figure 1The contents described in the carpooling service providing system 100 are used to explain in detail the carpooling service providing method provided in the embodiment of the present application.
[0080] Reference Figure 2 As shown, it is a flowchart of a method for providing a carpooling service provided by an embodiment of the present application. The method can be executed by the server 110 in the carpooling service providing system 100. The specific execution process is:
[0081] Step S101, obtaining a primary service object and a secondary service object for reaching a carpooling agreement.
[0082] The above carpooling agreement is created based on the vehicle (service provider 140) providing the carpooling service. In other words, each carpooling agreement uniquely corresponds to one service provider 140. In addition, the above carpooling agreement is essentially a mapping relationship, which is used to represent the corresponding relationship between multiple service objects sharing the same service provider 140.
[0083] There is a master-slave relationship between the service objects in the carpooling agreement, however, the master-slave relationship is determined only according to the order of matching to the same service provider 140. It can be understood that the above-mentioned master service object and slave service object are both service request terminals 130 that have sent carpooling service requests to the server 110 and have been matched to the same service provider 140 one after another. That is, after a service provider 140 is matched with a vehicle (service provider 140) for service, if the vehicle has not been matched to other service providers 140 at this time, then the service provider 140 is used as the master service object. Thereafter, if other service objects that are on the same route as the main service object are matched to the service provider 140, then the other service objects are determined as slave service objects. In this way, a carpooling agreement can be established between the master service object, the slave service object and the service provider 140.
[0084] Step S102, calculating a first matching factor between the main service object and the service object to be assembled.
[0085] The service object to be combined is also the service request end 130 that has sent a carpooling request to the server 110. At the same time, the service object to be combined is the service request end 130 that has sent a carpooling request to the server 110 except the main service object and the slave service object. For example, the service object to be combined may be a service request end 130 that has not yet been matched with a service provider 140. For another example, the service object to be combined may also be a service request end 130 that has been matched with other service providers 140 but whose carpooling request is still valid.
[0086] It should be noted that each carpooling request made by the service request end 130 has a time limit. If the current time point is still within the time limit, it means that the carpooling request of the service request end 130 is valid. Generally speaking, the time limit of the above carpooling request is from the time the request is made to the time the service request end 130 confirms the boarding. Within the time limit, if the service request end 130 withdraws the carpooling request or communicates with the service provider 140, the time limit of the carpooling request can be interrupted. After the time limit of the carpooling request is interrupted, the carpooling request becomes invalid.
[0087] In some embodiments, the pick-up and drop-off routes required to complete the pick-up and drop-off services for the main service object and the object to be carpooled may be obtained first, and then the pick-up and drop-off routes are evaluated from the perspective of time and distance, so as to obtain a first matching factor representing the degree of convenience between the main service object and the object to be carpooled.
[0088] Step S103: if the first matching factor is greater than the second matching factor between the primary service object and the secondary service object, the secondary service object is replaced by the service object to be carpooled to reach a new carpooling agreement.
[0089] The second matching factor is a factor that characterizes the degree of concurrency between the main service object and the secondary service object. In order to compare whether the main service object is more concurrency with the secondary service object or with the waiting carpooling service object, the second matching factor and the first matching factor can be calculated in the same way.
[0090] In some embodiments, if the first matching factor is greater than the second matching factor, the carpooling agreement between the slave service object and the master service object is canceled, and a carpooling agreement between the candidate service object corresponding to the first matching factor and the master service object is established. After the new carpooling agreement is established, the candidate service object corresponding to the first matching factor becomes the slave service object corresponding to the master service object. This ensures that the master service object and the slave service object for carpooling are as close as possible.
[0091] In some embodiments, there may be multiple objects to be served by carpooling, so the above step S102 may be to calculate the first matching factor between each object to be served by carpooling and the main service object in turn. Correspondingly, the first matching factor provided in the above step S103 is the factor with the largest value among the obtained first matching factors. Of course, in the case where the object to be served by carpooling corresponding to the first matching factor with the largest value cannot establish a carpooling agreement with the main service object due to objective conditions, the first matching factor with the second highest value may be selected as the first matching factor mentioned in step S103, and so on.
[0092] Of course, if the first matching factor greater than the second matching factor is not obtained through the cooperation of the above steps S102 and S103, the existing carpooling agreement will not be changed.
[0093] In order to facilitate those skilled in the art to understand the principle of the method for providing a carpooling service provided by the embodiment of the present invention, an example is given below:
[0094] The service request end A corresponding to the operation of user A sends a carpooling request to the server 110. In response to the carpooling request sent by the service request end A, the server 110 matches the service request end A with the vehicle B bound to the service provider B. After that, the service request end C corresponding to the operation of user C sends a carpooling request to the server 110. The server 110 decides to establish a carpooling agreement between the service request end A and the service request end C after analyzing the degree of convenience. At this time, the service request end A is the main service object in the carpooling agreement established on the service provider B, and the service request end C is the slave service object in the carpooling agreement established on the service provider B.
[0095] During the process of vehicle B picking up user A and user C, server 110 continuously calculates the first matching factor between service requester A and the object to be carpooled. Assuming that the first matching factor between service requester A and service requester D that has sent the carpooling request is greater than the second matching factor between service requester A and service requester C, the carpooling agreement between service requester A and service requester C is terminated, and a carpooling agreement between service requester A and service requester D is established. In this way, service requester A is still the main service object in the carpooling agreement established on service provider B, and service requester D replaces the original service requester C to become the slave service object in the carpooling agreement established on service provider B.
[0096] The implementation details provided by the embodiments of the present invention are described below:
[0097] After a carpooling agreement is reached between different service request terminals 130, a carpooling order for recording the carpooling agreement can be created accordingly. The carpooling order includes not only multiple service objects with carpooling agreements, but also the master-slave relationship between different service objects. In addition, the carpooling order can also carry the starting point and end point of the trip for each service object. In some embodiments, the carpooling order can include a pick-up route planned according to the starting point and end point of the trip for each service object.
[0098] From the perspective of optimal itinerary matching, even if the primary service object and the secondary service object have already been confirmed to be on board, they can also be used as the primary service object and the secondary service object mentioned in step S101. However, from the perspective of user experience, asking passengers who have already boarded to change the vehicle they ride has a very large impact on the user's riding experience. Therefore, in some embodiments, such as Figure 3 As shown, the above step S101 may include the following steps:
[0099] Step S101 - 1 , obtaining optional carpooling orders in the pick-up state.
[0100] In some embodiments, whether a carpooling order is an optional carpooling order can be determined based on whether the service provider 140 has received all service objects. For example, if the service provider 140 corresponding to carpooling order a currently only receives the main service object but not the slave service object, then the carpooling order a can be determined to be an optional carpooling order in the pick-up state. For another example, if the service provider 140 corresponding to carpooling order b has not currently received the main service object and the slave service object, then the carpooling order b can also be determined to be an optional carpooling order in the pick-up state.
[0101] Step S101 - 2 , taking multiple service objects corresponding to the optional carpooling order as the main service object and the slave service object respectively.
[0102] In some embodiments, the optional carpooling order includes multiple service objects with established carpooling agreements, and the main service object can be determined according to the order in which different service objects are matched to the corresponding service providers 140 in the optional carpooling order. For example, the first service object in the optional carpooling order that matches the service provider 140 is determined as the main service object. In addition, other service objects in the optional carpooling order are determined as slave service objects.
[0103] As mentioned above, the degree of congruence (matching factor) between the main service object and other service objects (including the service object to be shared and the secondary service object) can be evaluated from the perspective of time and / or distance. Figure 4 As shown, the above step S102 may include the following steps:
[0104] Step S102-1, obtaining the real-time location information of the service provider 140 corresponding to the carpooling agreement, and the first trip starting point and the first trip end point corresponding to the main service object.
[0105] In some embodiments, the server 110 may receive real-time location information fed back by all service providers 140. Thus, the above step S102-1 may utilize the identifier of the service provider 140 corresponding to the carpooling agreement to query the latest real-time location information uploaded by the service provider 140 in the received real-time location information.
[0106] In some embodiments, the above step S102-1 may be to obtain the first trip starting point and the first trip end point corresponding to the primary service object from the optional carpooling order corresponding to the above carpooling agreement. In other embodiments, the above step S102-1 may also be to obtain the corresponding first trip starting point and the first trip end point from the carpooling request sent by the primary service object.
[0107] Step S102-2, obtaining the second trip starting point and the second trip end point corresponding to the object to be served by the carpooling service.
[0108] In some embodiments, the corresponding second trip starting point and second trip end point may be obtained from the carpooling request sent by the object of the carpooling service.
[0109] Step S102-3, planning a pick-up route starting from the real-time location information, passing through the first trip starting point, the first trip end point, the second trip starting point, and the second trip end point.
[0110] In some embodiments, multiple routes to be selected may be planned based on the first trip starting point, the first trip end point, the second trip starting point, and the second trip end point, with the real-time location information as the starting point. Of course, the order of passing through the first trip starting point and the second trip starting point may not be restricted during planning, as long as the first trip starting point is passed between the first trip end point and the second trip starting point is passed between the second trip end point. Then, the route with the shortest distance or time consumption is selected from the candidate routes as the corresponding pick-up route.
[0111] Step S102-4: Evaluate the corresponding first matching factor according to at least one traffic factor of the pick-up route.
[0112] In some embodiments, the above step S102-4 may be:
[0113] (1) Estimate the driving time for the pick-up and drop-off routes.
[0114] In some embodiments, the driving period is the period from the current time point to the estimated time point when both the main service object and the object to be carpooled are delivered to the destination. For example, it is currently 9 o'clock, and it is estimated that the main service object and the object to be carpooled will be delivered to the destination at 10 o'clock, then the estimated driving period is from 9 o'clock to 10 o'clock.
[0115] Of course, the method for estimating the time point for delivering the main service object and the waiting carpool service object to the destination can be: estimating according to the distance length of the pick-up and drop-off section and the average driving speed of the service provider 140.
[0116] (2) Evaluate the proportion of congested distances corresponding to the pick-up and drop-off routes based on driving time.
[0117] In some embodiments, the driving time period and the pick-up route may be input into a congestion assessment model and processed to output a corresponding congested distance ratio.
[0118] In some embodiments, the congestion assessment model can be trained based on historical road network data, which includes congestion probability values of each road section at different time periods. After receiving the input time period information and route, the trained congestion assessment model can output the congestion probability value corresponding to each road section in the route under the input time period information.
[0119] In this way, the above step (2) can also be that the driving period and the pick-up route are input into the congestion assessment model, and the congestion probability value corresponding to each section in the receiving route output by the congestion assessment model during the driving period is obtained, and the section with a congestion probability value greater than a set probability threshold is taken as the target section, and the corresponding congested distance ratio is obtained by calculating the ratio of the target section in the pick-up route.
[0120] (3) Obtain the pick-up distance in the pick-up route.
[0121] In some embodiments, the pick-up distance may be the distance from the real-time location information of the service provider 140 to the last service object. For example, if the main service object is picked up first in the pick-up route, the pick-up distance may be the distance from the real-time location information, passing through the first trip starting point, to the second trip starting point. For another example, if the carpooling service object is picked up first in the pick-up route, the pick-up distance may be the distance from the real-time location information, passing through the second trip starting point, to the first trip starting point.
[0122] (4) Based on the vehicle information corresponding to the service provider 140, the driving time corresponding to the pick-up route is estimated.
[0123] In some embodiments, the server 110 can analyze the average driving speed of the vehicles bound to each service provider 140 according to the historical orders completed by each service provider 140, so that the average driving speed of the corresponding vehicle can be queried according to the vehicle information corresponding to the service provider 140. Then, the mileage of the pick-up route is obtained. According to the mileage of the pick-up route and the average driving speed, the corresponding driving time is calculated.
[0124] (5) Calculate a first matching factor based on one or a combination of the congested distance ratio, the pick-up distance, and the driving time.
[0125] In some embodiments, the corresponding first matching factor can be calculated based on one or a combination of the congested distance ratio, the pick-up distance and the driving time configuration combined with the corresponding preset weight factor.
[0126] In some embodiments, the corresponding weight factors of the above-mentioned congested distance ratio, pick-up distance and driving time may be different in different combinations.
[0127] In addition, the principle of calculating the second matching factor between the main service object and the slave service object is the same as the principle of calculating the first matching factor, which can also be to obtain the real-time location information of the service provider 140 corresponding to the carpooling agreement, the first trip starting point and the first trip end point corresponding to the main service object, and the third trip starting point and the third trip end point corresponding to the slave service object. Plan a pick-up route starting from the real-time location information and passing through the first trip starting point, the first trip end point, the third trip starting point and the third trip end point. Evaluate the corresponding second matching factor based on at least one road condition factor of the pick-up route.
[0128] In order to further improve the passenger experience, Figure 5 As shown, after replacing the secondary service object with the to-be-shared service object, the method further includes:
[0129] Step S201, performing carpool matching for the service object.
[0130] In some embodiments, the carpool matching for the slave service object may be to re-match the slave service object with a carpool partner who is going the same way. The carpool partner is also the service request end 130 that sent the carpool request to the server 110, and the corresponding carpool request is still valid at this time.
[0131] The determination of whether the person is a ride-along companion can also be made by calculating the matching factor between the two. The method of calculating the matching factor can refer to the description of the first matching factor mentioned above, which will not be repeated here. When the matching factor exceeds the preset value, it is determined that the person is a ride-along companion.
[0132] It can be understood that when there are multiple ride-along companions who are traveling together, the ride-along companion with the highest corresponding matching factor is determined as the matched ride-along companion.
[0133] Step S202, when the slave service object is matched with the fourth service object, a carpooling agreement is created between the slave service object and the fourth service object, and a carpooling agreement is established between the master service object and the service object to be carpooled.
[0134] The fourth service object is the carpooling companion matched in step S201. When the fourth service object corresponding to the slave service object is matched, a carpooling agreement is created between the slave service object and the fourth service object and a carpooling agreement is established between the master service object and the service object to be carpooled.
[0135] In this way, while ensuring that the main service recipients get better carpooling partners, the secondary service recipients also have corresponding carpooling partners, ensuring a carpooling experience for all parties.
[0136] Of course, if the fourth service object corresponding to the slave service object is not matched, in some embodiments, the step of replacing the slave service object with the to-be-carpooled service object can be terminated, and the existing carpooling agreement is not changed. In other embodiments, a new service provider 140 (vehicle) can be matched for the slave service object on the premise of receiving a confirmation instruction from the slave service object, and the slave service object can be used as the main service object corresponding to the newly matched service provider 140, and then the search for carpooling partners can continue.
[0137] The service object to be shared can be a service object that has not reached a carpooling agreement, or a service object that has reached a carpooling agreement. Figure 6 As shown, before replacing the slave service object with the to-be-shared service object, the method further includes:
[0138] Step S301, calculating a third matching factor between the third service object and the slave service object and a fourth matching factor between the service object to be assembled and the third service object.
[0139] In some embodiments, the principle of calculating the third matching factor between the third service object and the slave service object and calculating the fourth matching factor between the service object to be assembled and the third service object can refer to the method of calculating the first matching factor, which will not be repeated here.
[0140] Step S302: when the third matching factor is not lower than the preset value and the fourth matching factor is lower than the sum of the first matching factor and the set value, determine the magnitude relationship between the first matching factor and the second matching factor.
[0141] The above-mentioned setting value can be a preset relatively small value. In this way, when the third matching factor is not lower than the preset value, the fourth matching factor is less than the first matching factor (indicating that the degree of convenience between the object to be carpooled and the main service object is higher than the degree of convenience between the object to be carpooled and the third service object), which can trigger the judgment of the size relationship between the first matching factor and the second matching factor. The fourth matching factor is equal to the first matching factor (indicating that the degree of convenience between the object to be carpooled and the main service object is about the same as the degree of convenience between the object to be carpooled and the third service object), which can also trigger the judgment of the size relationship between the first matching factor and the second matching factor. The fourth matching factor is slightly larger than the first matching factor (indicating that the degree of convenience between the object to be carpooled and the main service object is slightly lower than the degree of convenience between the object to be carpooled and the third service object, but it does not affect the passenger experience), which can also trigger the judgment of the size relationship between the first matching factor and the second matching factor.
[0142] Step S303, after establishing a new carpooling agreement between the main service object and the service object to be carpooled, establishing a new carpooling agreement between the third service object and the slave service object.
[0143] That is to say, the exchange of carpooling partners is realized, which ensures that the other carpooling order is not affected while increasing the convenience of the other carpooling order.
[0144] For example, before changing the ride-sharing partner, user A and user B are matched and have called a car, and car 1 is on the way to pick up the driver; user C and user D are matched and have called a car, and car 2 is on the way to pick up the driver. The backend matches that user A and user C are more convenient, and user B and user D are more convenient, so the ride-sharing partner is changed. After changing the ride-sharing partner, user A and user C are matched and have called a car, and car 1 is on the way to pick up the driver; user B and user D are matched and have called a car, and car 2 is on the way to pick up the driver. Everyone rides more smoothly.
[0145] In some embodiments, after replacing the secondary service object with the to-be-shared service object, the method further includes:
[0146] Step 1: Calculate the pick-up route from the first trip starting point corresponding to the main service object to the second trip starting point of the to-be-shared service object.
[0147] Step 2: If the pick-up route does not exceed the preset mileage, a carpooling agreement is established between the main service object and the service object to be carpooled.
[0148] The purpose of the above steps is to ensure the order-taking experience of the driver operating the service provider 140. It is understandable that the driver's pick-up route will change after the replacement of the carpooling partner. The intuitive change is that the pick-up distance will increase. Therefore, a preset mileage can be set to evaluate whether the change of the pick-up route will affect the driver's order-taking experience. In addition, for the case where the service provider 140 corresponding to the carpooling agreement is preset with a convenient range, before re-establishing the carpooling agreement between the main service object and the service object to be carpooled, it is also necessary to determine whether the pick-up route planned based on the main service object and the service object to be carpooled matches the preset convenient range. If it matches, the creation of a new carpooling agreement can be continued. Otherwise, the carpooling agreement between the newly created main service object and the service object to be carpooled is abandoned, and the carpooling agreement between the main service object and the original slave service object is continued. In addition, when the number of carpooling partners based on the same service provider 140 exceeds the specified value, the carpooling agreement between the newly created main service object and the service object to be carpooled can also be abandoned, and the carpooling agreement between the main service object and the original slave service object can be continued.
[0149] The above-mentioned restrictions on the mileage of pick-up, the scope of the ride, and the number of changes of the corresponding carpooling partners of the service provider 140 are actually objective conditions set from the perspective of the driver's side that "a carpooling agreement cannot be established with the main service object". In some embodiments, the objective condition of "a carpooling agreement cannot be established with the main service object" can also be set from the perspective of the passenger side. For example, if two people have already formed a carpool, and one of them has a carpooling partner who is more convenient, both of them need to match the more convenient one before they can change. For another example, for users who have called a car, the pick-up time and distance after the route change do not exceed a certain value (although the total time is less after changing to a carpooling partner who is more convenient, it is possible that the pick-up time will be longer and the delivery time will be shorter). For another example, the driver will not be changed in a scenario where the driver and the passenger have communicated (for example, the driver has spoken before, is on the phone, or has IM communication); for another example, the number of times the carpooling partner is changed for a single order does not exceed a certain value.
[0150] Based on the same inventive concept, the embodiment of the present application also provides a carpooling service providing device 500 corresponding to the carpooling service providing method. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the above-mentioned carpooling service providing method in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0151] Reference Figure 7 As shown, it is a schematic diagram of a carpooling service providing device 500 provided in Embodiment 5 of the present application, and the device includes: an acquisition module 501, a calculation module 502, and an update module 503; wherein,
[0152] The acquisition module 501 is used to acquire the main service object and the slave service object for reaching the carpooling agreement.
[0153] The calculation module 502 is used to calculate a first matching factor between the main service object and the service object to be assembled.
[0154] The updating module 503 is configured to replace the slave service object with the to-be-carpooled service object to reach a new carpooling agreement if the first matching factor is greater than the second matching factor between the master service object and the slave service object.
[0155] In some embodiments, the acquisition module 501 includes:
[0156] The acquisition submodule is used to obtain the optional carpooling orders in the pick-up state;
[0157] The determination submodule is used to respectively use the multiple service objects corresponding to the optional carpooling order as the main service object and the slave service object.
[0158] In some embodiments, the calculation module 502 is further used to:
[0159] Acquire the real-time location information of the service provider 140 corresponding to the carpooling agreement, and the first trip starting point and the first trip end point corresponding to the primary service object;
[0160] Obtain the second trip starting point and the second trip end point corresponding to the object to be carpooled;
[0161] Planning a pick-up route starting from the real-time location information and passing through the first trip starting point, the first trip end point, the second trip starting point, and the second trip end point;
[0162] The first matching factor corresponding to the pick-up route is evaluated according to at least one traffic factor of the pick-up route.
[0163] In some embodiments, when there is a carpooling agreement between the object to be carpooled and the third service object, the device further includes:
[0164] The calculation module 502 is further used to calculate a third matching factor between the third service object and the slave service object and a fourth matching factor between the to-be-assembled service object and the third service object;
[0165] A judging module, configured to judge the magnitude relationship between the first matching factor and the second matching factor when the third matching factor is not lower than a preset value and the fourth matching factor is lower than the sum of the first matching factor and a set value;
[0166] The establishing module is used to establish a new carpooling agreement between the third service object and the slave service object after the new carpooling agreement is established between the main service object and the service object to be shared.
[0167] In some embodiments, the apparatus further comprises:
[0168] A matching module, used for performing carpool matching for the slave service object;
[0169] An establishing module is used to create a carpooling agreement between the slave service object and the fourth service object and to establish a carpooling agreement between the master service object and the service object to be carpooled when the slave service object is matched with the fourth service object.
[0170] In some embodiments, the apparatus further comprises:
[0171] The calculation module 502 is further used to calculate a pick-up route from a first trip starting point corresponding to the primary service object to a second trip starting point of the to-be-shared service object;
[0172] The establishment module is used to establish a carpooling agreement between the main service object and the service object to be shared if the pick-up route does not exceed the preset mileage.
[0173] The present application embodiment also provides an electronic device 60, such as Figure 8 As shown, it is a schematic diagram of the structure of an electronic device 60 provided in an embodiment of the present application, including: a processor 61, a memory 62, and a bus 63. The memory 62 stores machine-readable instructions executable by the processor 61 (for example, Figure 7 The machine-readable instructions corresponding to the acquisition module 501, the calculation module 502, and the update module 503 in the device are executed, etc. When the electronic device 60 is running, the processor 61 communicates with the memory 62 through the bus 63, and the following processing is performed when the machine-readable instructions are executed by the processor 61:
[0174] Get the main service object and the slave service object that have reached a carpooling agreement.
[0175] A first matching factor between the main service object and the service object to be assembled is calculated.
[0176] If the first matching factor is greater than the second matching factor between the primary service object and the secondary service object, the secondary service object is replaced by the to-be-carpooled service object to reach a new carpooling agreement.
[0177] In a possible implementation, in the instructions executed by the processor 61, the step of obtaining the main service object and the slave service object for reaching a carpooling agreement includes: obtaining an optional carpooling order in a pick-up state; and using multiple service objects corresponding to the optional carpooling order as the main service object and the slave service object, respectively.
[0178] In a possible implementation manner, in the instruction executed by the processor 61, the step of calculating the first matching factor between the primary service object and the service object to be assembled includes:
[0179] The real-time location information of the service provider 140 corresponding to the carpooling agreement, and the first trip starting point and the first trip end point corresponding to the main service object are obtained.
[0180] The second trip starting point and the second trip end point corresponding to the object to be carpooled are obtained.
[0181] A pick-up route is planned that takes the real-time location information as a starting point and passes through the first trip starting point, the first trip end point, the second trip starting point, and the second trip end point.
[0182] The first matching factor corresponding to the pick-up route is evaluated according to at least one traffic factor of the pick-up route.
[0183] In a possible implementation manner, in the instructions executed by the processor 61, the step of evaluating the corresponding first matching factor according to at least one traffic factor of the pick-up route includes:
[0184] estimating the driving time for the pickup route;
[0185] Evaluate the congested distance ratio corresponding to the pick-up route according to the driving period;
[0186] Obtain the pick-up distance in the pick-up route;
[0187] Combined with the vehicle information corresponding to the service provider 140, the driving time corresponding to the pick-up route is estimated;
[0188] The first matching factor is calculated based on one or a combination of the congested distance ratio, the pick-up distance and the driving time.
[0189] In a possible implementation manner, in the instructions executed by the processor 61, when there is a carpooling agreement between the to-be-carpooled service object and the third service object, before the to-be-carpooled service object is used to replace the secondary service object, the method further includes:
[0190] Calculating a third matching factor between the third service object and the slave service object and a fourth matching factor between the to-be-assembled service object and the third service object;
[0191] When the third matching factor is not lower than a preset value and the fourth matching factor is lower than the sum of the first matching factor and a set value, determining a magnitude relationship between the first matching factor and the second matching factor;
[0192] After a new carpooling agreement is established between the primary service object and the service object to be carpooled, a new carpooling agreement is established between the third service object and the secondary service object.
[0193] In a possible implementation manner, in the instructions executed by the processor 61, after replacing the slave service object with the to-be-carpooled service object, the method further includes:
[0194] Carpool matching is performed for the slave service object;
[0195] When the slave service object is matched with the fourth service object, a carpooling agreement is created between the slave service object and the fourth service object, and a carpooling agreement is established between the master service object and the service object to be carpooled.
[0196] In a possible implementation manner, in the instructions executed by the processor 61, after replacing the slave service object with the to-be-carpooled service object, the method further includes:
[0197] Calculate a pick-up route from a first trip starting point corresponding to the primary service object to a second trip starting point of the to-be-shared service object;
[0198] If the pick-up route does not exceed the preset mileage, a carpooling agreement is established between the main service object and the service object to be carpooled.
[0199] The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by the processor 61, the steps of the above-mentioned method for providing carpooling services are executed.
[0200] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is run, the above-mentioned carpooling service providing method can be executed.
[0201] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0202] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0203] In addition, each functional unit in each embodiment of the present application can be integrated into one. In order to make the purpose, technical solution and advantages of the embodiment of the present application clearer, the technical solution in the embodiment of the present application will be clearly and completely described in conjunction with the drawings in the embodiment of the present application. It should be understood that the drawings in the present application only serve the purpose of illustration and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art, under the guidance of the content of the present application, can add one or more other operations to the flowchart, or remove one or more operations from the flowchart.
Claims
1. A method for providing a carpooling service, characterized in that: include: Obtaining a primary service object and a secondary service object for reaching a carpooling agreement, wherein the primary service object and the secondary service object are determined according to the order in which different service objects are matched to corresponding service providers in the optional carpooling order, so that the first service object matched to the service provider in the optional carpooling order is used as the primary service object, and the other service objects in the optional carpooling order are used as the secondary service objects; The step of obtaining the main service object and the slave service object for reaching the carpooling agreement includes: obtaining an optional carpooling order in a pick-up state; using a plurality of service objects corresponding to the optional carpooling order as the main service object and the slave service object respectively; Calculating a first matching factor between the main service object and the service object to be assembled; If the first matching factor is greater than the second matching factor between the primary service object and the secondary service object, the secondary service object is replaced by the service object to be shared so as to reach a new carpooling agreement.
2. The method according to claim 1, characterized in that The step of calculating the first matching factor between the main service object and the service object to be assembled comprises: Acquire the real-time location information of the service provider corresponding to the carpooling agreement, and the first trip starting point and the first trip end point corresponding to the primary service object; Obtain the second trip starting point and the second trip end point corresponding to the service object to be assembled; Planning a pick-up route starting from the real-time location information and passing through the first trip starting point, the first trip end point, the second trip starting point, and the second trip end point; The first matching factor corresponding to the pick-up route is evaluated according to at least one traffic factor of the pick-up route.
3. The method according to claim 2, characterized in that The step of evaluating the first matching factor corresponding to the at least one traffic factor of the pick-up route comprises: estimating the driving time for the pickup route; Evaluate the congested distance ratio corresponding to the pick-up route according to the driving period; Obtain the pick-up distance in the pick-up route; Combined with the vehicle information corresponding to the service provider, estimating the driving time corresponding to the pick-up route; The first matching factor is calculated based on one or a combination of the congested distance ratio, the pick-up distance and the driving time.
4. The method according to claim 1, characterized in that: In the case that there is a carpooling agreement between the to-be-shared service object and the third service object, before the to-be-shared service object is used to replace the secondary service object, the method further includes: Calculating a third matching factor between the third service object and the slave service object and a fourth matching factor between the to-be-assembled service object and the third service object; When the third matching factor is not lower than a preset value and the fourth matching factor is lower than the sum of the first matching factor and a set value, determining a magnitude relationship between the first matching factor and the second matching factor; After a new carpooling agreement is established between the primary service object and the service object to be carpooled, a new carpooling agreement is established between the third service object and the secondary service object.
5. The method according to claim 1, characterized in that After replacing the slave service object with the to-be-assembled service object, the method further includes: Carpool matching is performed for the slave service object; When the slave service object is matched with the fourth service object, a carpooling agreement is created between the slave service object and the fourth service object, and a carpooling agreement is established between the master service object and the service object to be carpooled.
6. The method according to claim 1, characterized in that After replacing the slave service object with the to-be-assembled service object, the method further includes: Calculate a pick-up route from a first trip starting point corresponding to the primary service object to a second trip starting point of the to-be-joined service object; If the pick-up route does not exceed the preset mileage, a carpooling agreement is established between the main service object and the service object to be carpooled.
7. A carpooling service providing device, characterized in that: include: an acquisition module, for acquiring a primary service object and a secondary service object for reaching a carpooling agreement, wherein the primary service object and the secondary service object are determined according to the order in which different service objects are matched to corresponding service providers in an optional carpooling order, so that the first service object matched to the service provider in the optional carpooling order is used as the primary service object, and the other service objects in the optional carpooling order are used as the secondary service objects; The acquisition module includes: an acquisition submodule for acquiring an optional carpooling order in a pick-up state; a determination submodule for using a plurality of service objects corresponding to the optional carpooling order as the main service object and the slave service object respectively; A calculation module, used for calculating a first matching factor between the main service object and the service object to be assembled; The updating module is used for replacing the slave service object with the service object to be shared so as to reach a new carpooling agreement if the first matching factor is greater than the second matching factor between the master service object and the slave service object.
8. The device according to claim 7, characterized in that The calculation module is also used for: Acquire the real-time location information of the service provider corresponding to the carpooling agreement, and the first trip starting point and the first trip end point corresponding to the primary service object; Obtain the second trip starting point and the second trip end point corresponding to the service object to be assembled; Planning a pick-up route starting from the real-time location information and passing through the first trip starting point, the first trip end point, the second trip starting point, and the second trip end point; The first matching factor corresponding to the pick-up route is evaluated according to at least one traffic factor of the pick-up route.
9. The device according to claim 7, characterized in that In the case that there is a carpooling agreement between the service object to be shared and the third service object, the device further includes: The calculation module is further used to calculate a third matching factor between the third service object and the slave service object and a fourth matching factor between the to-be-assembled service object and the third service object; A judging module, configured to judge the magnitude relationship between the first matching factor and the second matching factor when the third matching factor is not lower than a preset value and the fourth matching factor is lower than the sum of the first matching factor and a set value; The establishing module is used to establish a new carpooling agreement between the third service object and the slave service object after the new carpooling agreement is established between the main service object and the service object to be shared.
10. The device according to claim 7, characterized in that The device also includes: A matching module, used for performing carpool matching for the slave service object; An establishing module is used to create a carpooling agreement between the slave service object and the fourth service object and to establish a carpooling agreement between the master service object and the service object to be carpooled when the slave service object is matched with the fourth service object.
11. The device according to claim 7, characterized in that The device also includes: The calculation module is further used to calculate a pick-up route from a first trip starting point corresponding to the main service object to a second trip starting point of the to-be-assembled service object; The establishment module is used to establish a carpooling agreement between the main service object and the service object to be shared if the pick-up route does not exceed the preset mileage.
12. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of any method as claimed in claims 1 to 6.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are executed.
