A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://patents.google.com/patent/CN113112046B/en below:

CN113112046B - Travel order state updating method and device

发明内容Summary of the invention

有鉴于此,本申请实施例的目的在于提供一种出行订单状态的更新方法及更新装置,在司机接乘过程中,网约车软件或服务器可以自动判断是否到达接乘地点,无需司机和乘客多次通话确认接乘地点,可以提高司机接乘的效率。In view of this, the purpose of the embodiments of the present application is to provide a method and device for updating the travel order status. During the driver's pick-up process, the online car-hailing software or server can automatically determine whether the pick-up location has been reached. There is no need for the driver and the passenger to have multiple phone calls to confirm the pick-up location, which can improve the driver's pick-up efficiency.

本申请主要包括以下几个方面:This application mainly includes the following aspects:

第一方面,本申请实施例提供一种出行订单状态的更新方法,所述更新方法包括:In a first aspect, an embodiment of the present application provides a method for updating a travel order status, the updating method comprising:

获取服务提供端当前的地理位置,以及所述服务提供端当前承接的出行订单对应的接乘地点;Obtain the current geographic location of the service provider and the pick-up location corresponding to the travel order currently undertaken by the service provider;

基于所述地理位置和所述接乘地点,确定所述地理位置与所述接乘地点之间的直线距离和所述服务提供端从所述地理位置到达所述接乘地点的接乘距离;Based on the geographical location and the pick-up location, determine the straight-line distance between the geographical location and the pick-up location and the pick-up distance from the geographical location to the pick-up location by the service provider;

基于所述直线距离和所述接乘距离,确定所述服务提供端是否到达所述接乘地点,并在确定出所述服务提供端到达所述接乘地点时,将所述出行订单的状态设置为到达所述接乘地点的状态。Based on the straight-line distance and the pick-up distance, determine whether the service provider has arrived at the pick-up location, and when it is determined that the service provider has arrived at the pick-up location, set the status of the travel order to the status of arriving at the pick-up location.

在一种可能的实施方式中,所述基于所述直线距离和所述接乘距离,确定所述服务提供端是否到达接乘地点,包括:In a possible implementation manner, determining whether the service provider has arrived at the pick-up location based on the straight-line distance and the pick-up distance includes:

判断所述直线距离和所述接乘距离是否均小于或等于第一预设阈值;Determine whether the straight-line distance and the connecting distance are both less than or equal to a first preset threshold;

若所述直线距离和所述接乘距离均小于或等于所述第一预设阈值,则确定所述服务提供端到达所述接乘地点。If the straight-line distance and the pick-up distance are both less than or equal to the first preset threshold, it is determined that the service provider has arrived at the pick-up location.

在一种可能的实施方式中,在所述判断所述直线距离和所述接乘距离是否均小于或等于第一预设阈值之后,所述更新方法还包括:In a possible implementation, after determining whether the straight-line distance and the connecting distance are both less than or equal to a first preset threshold, the updating method further includes:

若所述直线距离和/或所述接乘距离大于所述第一预设阈值,则每隔第一预设时长返回执行判断所述直线距离和所述接乘距离是否均小于或等于第一预设阈值的步骤。If the straight-line distance and/or the pick-up distance is greater than the first preset threshold, the step of determining whether the straight-line distance and the pick-up distance are both less than or equal to the first preset threshold is returned to every first preset time period.

在一种可能的实施方式中,在所述判断所述直线距离和所述接乘距离是否均小于或等于第一预设阈值之前,所述更新方法还包括:In a possible implementation manner, before determining whether the straight-line distance and the connecting distance are both less than or equal to a first preset threshold, the updating method further includes:

判断所述接乘距离是否小于或等于第二预设阈值;Determining whether the pick-up distance is less than or equal to a second preset threshold;

若所述接乘距离小于或等于所述第二预设阈值,则执行基于所述直线距离和所述接乘距离,确定所述服务提供端是否到达所述接乘地点的步骤;If the pick-up distance is less than or equal to the second preset threshold, executing the step of determining whether the service provider has arrived at the pick-up location based on the straight-line distance and the pick-up distance;

若所述接乘距离大于所述第二预设阈值,则每隔第二预设时长返回执行判断所述接乘距离是否小于或等于所述第二预设阈值的步骤;If the pick-up distance is greater than the second preset threshold, returning to the step of determining whether the pick-up distance is less than or equal to the second preset threshold every second preset time period;

其中,所述第一预设阈值小于所述第二预设阈值。The first preset threshold is smaller than the second preset threshold.

在一种可能的实施方式中,在判断出所述直线距离和所述接乘距离均小于或等于所述第一预设阈值之后,所述更新方法还包括:In a possible implementation manner, after determining that both the straight-line distance and the connecting distance are less than or equal to the first preset threshold, the updating method further includes:

判断所述服务提供端从所述地理位置行驶到所述接乘地点之间的接乘路线中是否存在路线转折点;Determining whether there is a route turning point in the pick-up route between the service provider and the pick-up location;

若所述接乘路线中不存在所述路线转折点,则将所述出行订单的状态设置为到达所述接乘地点的状态。If the route turning point does not exist in the pick-up route, the status of the travel order is set to the status of arriving at the pick-up location.

在一种可能的实施方式中,在所述判断所述服务提供端从所述地理位置行驶到所述接乘地点之间的接乘路线中是否存在路线转折点之后,所述更新方法还包括:In a possible implementation manner, after determining whether there is a route turning point in the pick-up route between the service provider and the geographical location, the updating method further includes:

若所述接乘路线中存在所述路线转折点,则返回执行判断所述直线距离和所述接乘距离是否均小于或等于所述第一预设阈值的步骤。If the route turning point exists in the pick-up route, the process returns to the step of determining whether both the straight-line distance and the pick-up distance are less than or equal to the first preset threshold.

在一种可能的实施方式中,所述路线转折点包括以下转折点中的一种或多种:In a possible implementation manner, the route turning point includes one or more of the following turning points:

左转折点、右转折点、掉头转折点。Left turning point, right turning point, U-turn turning point.

在一种可能的实施方式中,所述更新方法还包括:In a possible implementation, the updating method further includes:

判断是否接收到所述服务提供端发送的到达所述接乘地点的报告信息;Determining whether the report information of arrival at the pick-up location sent by the service provider is received;

若接收到所述服务提供端发送的所述报告信息,则判断所述直线距离是否小于或等于第三预设阈值;If the report information sent by the service provider is received, determining whether the straight-line distance is less than or equal to a third preset threshold;

若所述直线距离小于或等于所述第三预设阈值,将所述出行订单状态设置为到达所述接乘地点的状态;If the straight-line distance is less than or equal to the third preset threshold, the travel order status is set to a status of arriving at the pick-up location;

若所述直线距离大于所述第三预设阈值,将所述出行订单状态设置为未到达所述接乘地点的状态,并向所述服务提供端发送语音信息和/或文字信息提醒提前报告到达所述接乘地点。If the straight-line distance is greater than the third preset threshold, the travel order status is set to a state of not arriving at the pick-up location, and a voice message and/or text message is sent to the service provider to remind the service provider to report arrival at the pick-up location in advance.

在一种可能的实施方式中,在所述将所述出行订单状态设置为到达所述接乘地点的状态之后,所述更新方法还包括:In a possible implementation, after setting the travel order status to a status of arriving at the pick-up location, the updating method further includes:

向所述服务提供端以及与所述出行订单对应的服务请求端发送语音信息和/或文字信息提醒到达所述接乘地点。Send a voice message and/or a text message to the service provider and the service requester corresponding to the travel order to remind them to arrive at the pick-up location.

在一种可能的实施方式中,在所述获取服务提供端当前的地理位置之前,所述更新方法还包括:In a possible implementation manner, before obtaining the current geographical location of the service provider, the updating method further includes:

获取所述出行订单中的出行时刻;Obtaining the travel time in the travel order;

根据所述出行时刻,确定在所述出行时刻之前的距离所述出行时刻第三预设时长的获取时刻,并将所述获取时刻确定为首次获取所述服务提供端地理位置的时刻。According to the travel time, an acquisition time that is a third preset time length before the travel time is determined, and the acquisition time is determined as the time when the geographic location of the service provider is first acquired.

第二方面,本申请实施例还提供一种出行订单状态的更新装置,所述更新装置包括:In a second aspect, an embodiment of the present application further provides a device for updating a travel order status, the updating device comprising:

获取模块,用于获取服务提供端当前的地理位置,以及所述服务提供端当前承接的出行订单对应的接乘地点;An acquisition module, used to acquire the current geographic location of the service provider and the pick-up location corresponding to the travel order currently undertaken by the service provider;

确定模块,用于基于所述地理位置和所述接乘地点,确定所述地理位置与所述接乘地点之间的直线距离和所述服务提供端从所述地理位置到达所述接乘地点的接乘距离;A determination module, configured to determine, based on the geographical location and the pick-up location, a straight-line distance between the geographical location and the pick-up location and a pick-up distance from the geographical location to the pick-up location by the service provider;

设置模块,用于基于所述直线距离和所述接乘距离,确定所述服务提供端是否到达所述接乘地点,并在确定出所述服务提供端到达所述接乘地点时,将所述出行订单的状态设置为到达所述接乘地点的状态。A setting module is used to determine whether the service provider has arrived at the pick-up location based on the straight-line distance and the pick-up distance, and when it is determined that the service provider has arrived at the pick-up location, set the status of the travel order to the status of arriving at the pick-up location.

在一种可能的实施方式中,所述设置模块包括:In a possible implementation, the setting module includes:

第一判断单元,用于判断所述直线距离和所述接乘距离是否均小于或等于第一预设阈值;A first judging unit, used to judge whether the straight-line distance and the connecting distance are both less than or equal to a first preset threshold;

第一确定单元,用于若所述直线距离和所述接乘距离均小于或等于所述第一预设阈值,则确定所述服务提供端到达所述接乘地点。The first determining unit is configured to determine that the service provider has arrived at the pick-up location if both the straight-line distance and the pick-up distance are less than or equal to the first preset threshold.

在一种可能的实施方式中,所述第一判断单元还用于:In a possible implementation manner, the first determination unit is further configured to:

若所述直线距离和/或所述接乘距离大于所述第一预设阈值,则每隔第一预设时长返回执行判断所述直线距离和所述接乘距离是否均小于或等于第一预设阈值的步骤。If the straight-line distance and/or the pick-up distance is greater than the first preset threshold, the step of determining whether the straight-line distance and the pick-up distance are both less than or equal to the first preset threshold is returned to every first preset time period.

在一种可能的实施方式中,所述设置模块还包括:In a possible implementation, the setting module further includes:

第二判断单元,用于判断所述接乘距离是否小于或等于第二预设阈值;A second judging unit, used to judge whether the pick-up distance is less than or equal to a second preset threshold;

第二确定单元,用于若所述接乘距离小于或等于所述第二预设阈值,则执行基于所述直线距离和所述接乘距离,确定所述服务提供端是否到达所述接乘地点的步骤;A second determining unit, configured to, if the pick-up distance is less than or equal to the second preset threshold, execute a step of determining whether the service provider has arrived at the pick-up location based on the straight-line distance and the pick-up distance;

所述第二判断单元,还用于若所述接乘距离大于所述第二预设阈值,则每隔第二预设时长返回执行判断所述接乘距离是否小于或等于所述第二预设阈值的步骤;The second judgment unit is further configured to return to the step of judging whether the pick-up distance is less than or equal to the second preset threshold at a second preset time interval if the pick-up distance is greater than the second preset threshold;

其中,所述第一预设阈值小于所述第二预设阈值。The first preset threshold is smaller than the second preset threshold.

在一种可能的实施方式中,所述更新装置还包括第一判断模块:In a possible implementation manner, the updating device further includes a first determining module:

所述第一判断模块,用于判断所述服务提供端从所述地理位置行驶到所述接乘地点之间的接乘路线中是否存在路线转折点;The first determination module is used to determine whether there is a route turning point in the pick-up route between the service provider and the geographical location;

所述设置模块,还用于若所述接乘路线中不存在所述路线转折点,则将所述出行订单的状态设置为到达所述接乘地点的状态。The setting module is further used to set the status of the travel order to the status of arriving at the pick-up location if the route turning point does not exist in the pick-up route.

在一种可能的实施方式中,所述第一判断模块还用于:In a possible implementation manner, the first determination module is further configured to:

若所述接乘路线中存在所述路线转折点,则返回执行判断所述直线距离和所述接乘距离是否均小于或等于所述第一预设阈值的步骤。If the route turning point exists in the pick-up route, the process returns to the step of determining whether both the straight-line distance and the pick-up distance are less than or equal to the first preset threshold.

在一种可能的实施方式中,所述路线转折点包括以下转折点中的一种或多种:In a possible implementation manner, the route turning point includes one or more of the following turning points:

左转折点、右转折点、掉头转折点。Left turning point, right turning point, U-turn turning point.

在一种可能的实施方式中,所述更新装置还包括第二判断模块和第一发送模块;In a possible implementation manner, the updating device further includes a second determining module and a first sending module;

所述第二判断模块,用于判断是否接收到所述服务提供端发送的到达所述接乘地点的报告信息;The second determination module is used to determine whether the report information of arrival at the pick-up location sent by the service provider is received;

所述第二判断模块,还用于若接收到所述服务提供端发送的所述报告信息,则判断所述直线距离是否小于或等于第三预设阈值;The second judgment module is further configured to judge whether the straight-line distance is less than or equal to a third preset threshold value if the report information sent by the service provider is received;

所述设置模块,用于若所述直线距离小于或等于所述第三预设阈值,将所述出行订单状态设置为到达所述接乘地点的状态;The setting module is used to set the travel order status to a status of arriving at the pick-up location if the straight-line distance is less than or equal to the third preset threshold;

所述第一发送模块,用于若所述直线距离大于所述第三预设阈值,将所述出行订单状态设置为未到达所述接乘地点的状态,并向所述服务提供端发送语音信息和/或文字信息提醒提前报告到达所述接乘地点。The first sending module is used to set the travel order status to a state of not arriving at the pick-up location if the straight-line distance is greater than the third preset threshold, and send a voice message and/or a text message to the service provider to remind it to report arriving at the pick-up location in advance.

在一种可能的实施方式中,所述更新装置还包括第二发送模块:In a possible implementation manner, the updating device further includes a second sending module:

所述第二发送模块,用于向所述服务提供端以及与所述出行订单对应的服务请求端发送语音信息和/或文字信息提醒到达所述接乘地点。The second sending module is used to send a voice message and/or a text message to the service provider and the service requester corresponding to the travel order to remind them to arrive at the pick-up location.

在一种可能的实施方式中,所述获取模块,还用于获取所述出行订单中的出行时刻;In a possible implementation manner, the acquisition module is further used to acquire the travel time in the travel order;

所述确定模块,还用于根据所述出行时刻,确定在所述出行时刻之前的距离所述出行时刻第三预设时长的获取时刻,并将所述获取时刻确定为首次获取所述服务提供端地理位置的时刻。The determination module is further used to determine, based on the travel time, an acquisition time that is a third preset time length before the travel time, and determine the acquisition time as the time when the geographic location of the service provider is first acquired.

第三方面,本申请实施例还提供一种电子设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过所述总线进行通信,所述机器可读指令被所述处理器运行时执行上述第一方面或第一方面中任一种可能的实施方式中所述的出行订单状态的更新方法的步骤。In the third aspect, an embodiment of the present application also provides an electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the method for updating the travel order status described in the first aspect or any possible implementation scheme of the first aspect.

第四方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行上述第一方面或第一方面中任一种可能的实施方式中所述的出行订单状态的更新方法的步骤。In a fourth aspect, an 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 a processor, the steps of the method for updating the travel order status described in the first aspect or any possible implementation scheme of the first aspect are executed.

本申请实施例中,通过获取的服务提供端当前的地理位置,以及服务提供端当前承接的出行订单对应的接乘地点,可以确定地理位置与接乘地点之间的直线距离和服务提供端从地理位置行驶到接乘地点的接乘距离,进一步地,基于直线距离和接乘距离,可以确定服务提供端是否到达接乘地点,即在司机接乘过程中,网约车软件或服务器可以自动判断是否到达接乘地点,无需司机和乘客多次通话确认接乘地点,可以提高司机接乘的效率,并在确定出服务提供端到达接乘地点时,将出行订单的状态设置为到达接乘地点的状态,可以提升处理出行订单的效率。In an embodiment of the present application, by obtaining the current geographic location of the service provider and the pick-up location corresponding to the travel order currently undertaken by the service provider, the straight-line distance between the geographic location and the pick-up location and the pick-up distance traveled by the service provider from the geographic location to the pick-up location can be determined. Furthermore, based on the straight-line distance and the pick-up distance, it can be determined whether the service provider has arrived at the pick-up location. That is, during the driver's pick-up process, the online car-hailing software or server can automatically determine whether it has arrived at the pick-up location. There is no need for the driver and the passenger to have multiple phone calls to confirm the pick-up location, which can improve the efficiency of the driver's pick-up. When it is determined that the service provider has arrived at the pick-up location, the status of the travel order is set to the status of arriving at the pick-up location, which can improve the efficiency of processing travel orders.

为使本申请的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,应当理解,本申请中的附图仅起到说明和描述的目的,并不用于限定本申请的保护范围。另外,应当理解,示意性的附图并未按实物比例绘制。本申请中使用的流程图示出了根据本申请的一些实施例实现的操作。应当理解,流程图的操作可以不按顺序实现,没有逻辑的上下文关系的步骤可以反转顺序或者同时实施。此外,本领域技术人员在本申请内容的指引下,可以向流程图添加一个或多个其他操作,也可以从流程图中移除一个或多个操作。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.

另外,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的全部其他实施例,都属于本申请保护的范围。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.

为了使得本领域技术人员能够使用本申请内容,结合特定应用场景“网约车出行”,给出以下实施方式,对于本领域技术人员来说,在不脱离本申请的精神和范围的情况下,可以将这里定义的一般原理应用于其他实施例和应用场景。In order to enable those skilled in the art to use the contents of this application, the following implementation methods are provided in combination with the specific application scenario of “online car-hailing travel”. For those skilled in the art, the general principles defined here can be applied to other embodiments and application scenarios without departing from the spirit and scope of this application.

本申请实施例下述方法、装置、电子设备或计算机可读存储介质可以应用于任何需要进行出行订单状态的更新的场景,本申请实施例并不对具体的应用场景作限制,任何使用本申请实施例提供的出行订单状态的更新方法及更新装置的方案均在本申请保护范围内。The following methods, devices, electronic devices or computer-readable storage media of the embodiments of the present application can be applied to any scenario where the travel order status needs to be updated. The embodiments of the present application are not limited to specific application scenarios. Any scheme using the travel order status update method and update device provided by the embodiments of the present application is within the scope of protection of the present application.

值得注意的是,在本申请提出之前,现有方案中的网约车业务,司机在接乘客时通常需要凭借经验或者感觉判断是否到达接乘地点,因此可能出现停车位置不准确的情况发生,而且在司机停车之后,司机还需要与乘客进行电话沟通以确定准确的接乘地点,且在到达准确的地点后还需要再进一步电话告知乘客,并手动点击司机端界面的按钮以确认到达接乘地点。这样,不仅会浪费司机和乘客双方的时间,还会降低司机接乘的效率。It is worth noting that before this application was filed, in the existing online car-hailing business, drivers usually need to rely on experience or feeling to judge whether they have arrived at the pick-up location when picking up passengers, so the parking location may be inaccurate. After the driver parks the car, the driver needs to communicate with the passenger by phone to determine the exact pick-up location. After arriving at the exact location, the driver needs to further inform the passenger by phone and manually click the button on the driver's interface to confirm that he has arrived at the pick-up location. This not only wastes the time of both the driver and the passenger, but also reduces the efficiency of the driver's pick-up.

针对上述问题,本申请实施例通过获取的服务提供端当前的地理位置,以及服务提供端当前承接的出行订单对应的接乘地点,可以确定地理位置与接乘地点之间的直线距离和服务提供端从地理位置行驶到接乘地点的接乘距离,进一步地,基于直线距离和接乘距离,可以确定服务提供端是否到达接乘地点,即在司机接乘过程中,网约车软件或服务器可以自动判断是否到达接乘地点,无需司机和乘客多次通话确认接乘地点,可以提高司机接乘的效率,并在确定出服务提供端到达接乘地点时,将出行订单的状态设置为到达接乘地点的状态,可以提升处理出行订单的效率。In response to the above problems, the embodiments of the present application can determine the straight-line distance between the geographical location and the pick-up location and the pick-up distance from the geographical location to the pick-up location by obtaining the current geographical location of the service provider and the pick-up location corresponding to the travel order currently undertaken by the service provider. Furthermore, based on the straight-line distance and the pick-up distance, it can be determined whether the service provider has arrived at the pick-up location. That is, during the driver's pick-up process, the online car-hailing software or server can automatically determine whether it has arrived at the pick-up location. There is no need for the driver and the passenger to have multiple phone calls to confirm the pick-up location, which can improve the driver's pick-up efficiency. When it is determined that the service provider has arrived at the pick-up location, the status of the travel order is set to the status of arrival at the pick-up location, which can improve the efficiency of processing travel orders.

需要说明的是,本申请方案可以通过与乘客终端和司机终端交互的云平台或服务器实施,也可以通过司机终端安装的网约车软件实施,本申请中的术语“服务提供方”和“司机”可互换使用,“服务请求方”和“乘客”可互换使用,“服务提供端”和“司机终端”可互换使用,“服务请求端”和“乘客终端”可互换使用。It should be noted that the present application scheme can be implemented through a cloud platform or server that interacts with the passenger terminal and the driver terminal, or through an online car-hailing software installed on the driver terminal. The terms "service provider" and "driver" in this application can be used interchangeably, "service requester" and "passenger" can be used interchangeably, "service providing end" and "driver terminal" can be used interchangeably, and "service requesting end" and "passenger terminal" can be used interchangeably.

为便于对本申请进行理解,下面结合具体实施例对本申请提供的技术方案进行详细说明。To facilitate the understanding of the present application, the technical solution provided by the present application is described in detail below in conjunction with specific embodiments.

参见图1,执行出行订单状态的更新方法的设备可以是云平台或服务器或安装在服务提供端的网约车软件。图1为本申请实施例所提供的一种出行订单状态的更新方法的流程图。下面从执行主体为服务器的角度,对本申请实施例所提供的出行订单状态的更新方法加以说明。如图1所示,本申请实施例提供的出行订单状态的更新方法,包括以下步骤:Referring to Figure 1, the device that executes the method for updating the travel order status may be a cloud platform or a server or an online car-hailing software installed on the service provider side. Figure 1 is a flow chart of a method for updating the travel order status provided in an embodiment of the present application. The following is an explanation of the method for updating the travel order status provided in an embodiment of the present application from the perspective of the execution subject being a server. As shown in Figure 1, the method for updating the travel order status provided in an embodiment of the present application includes the following steps:

S101:获取服务提供端当前的地理位置,以及所述服务提供端当前承接的出行订单对应的接乘地点。S101: Acquire the current geographic location of the service provider and the pick-up location corresponding to the travel order currently undertaken by the service provider.

在具体实施中,在服务提供方的接乘过程中,可以从服务提供端当前承接的出行订单中获取对应的接乘地点,可以实时或以预设时间间隔获取服务提供端的地理位置。这里,接乘地点可以为出行订单中的订单起点、也可以为乘客与司机约定的上车起点、还可以为成单后推荐的新起点。In a specific implementation, during the pick-up process of the service provider, the corresponding pick-up location can be obtained from the travel order currently undertaken by the service provider, and the geographical location of the service provider can be obtained in real time or at a preset time interval. Here, the pick-up location can be the order starting point in the travel order, the boarding starting point agreed upon by the passenger and the driver, or a new starting point recommended after the order is placed.

需要说明的是,对于实时订单,接乘过程可以指服务提供方接单后到服务提供方到达接乘地点之间的时间段;对于预约订单,接乘过程可以指预约出发时间前的预设时刻到服务提供方到达接乘地点之间的时间段。It should be noted that, for real-time orders, the pick-up process may refer to the time period from the time the service provider accepts the order to the time the service provider arrives at the pick-up location; for scheduled orders, the pick-up process may refer to the time period from the preset time before the scheduled departure time to the time the service provider arrives at the pick-up location.

S102:基于所述地理位置和所述接乘地点,确定所述地理位置与所述接乘地点之间的直线距离和所述服务提供端从所述地理位置到达所述接乘地点的接乘距离。S102: Based on the geographical location and the pick-up location, determine the straight-line distance between the geographical location and the pick-up location and the pick-up distance from the geographical location to the pick-up location by the service provider.

在具体实施中,可以根据服务提供端当前的地理位置和服务提供端当前承接的出行订单对应的接乘地点之间的距离,确定出服务提供端是否到达接乘地点,具体地,服务提供端的地理位置与接乘地点之间的距离包括直线距离和接乘距离,这里,直线距离为服务提供端的地理位置与接乘地点两点之间的直线距离,接乘距离为服务提供端从服务提供端当前的地理位置移动到接乘地点之间的实际路面距离。In a specific implementation, whether the service provider has arrived at the pick-up location can be determined based on the service provider's current geographical location and the distance between the pick-up location corresponding to the travel order currently undertaken by the service provider. Specifically, the distance between the service provider's geographical location and the pick-up location includes a straight-line distance and a pick-up distance. Here, the straight-line distance is the straight-line distance between the service provider's geographical location and the pick-up location, and the pick-up distance is the actual road distance between the service provider's current geographical location and the pick-up location.

S103:基于所述直线距离和所述接乘距离,确定所述服务提供端是否到达所述接乘地点,并在确定出所述服务提供端到达所述接乘地点时,将所述出行订单的状态设置为到达所述接乘地点的状态。S103: Determine whether the service provider has arrived at the pick-up location based on the straight-line distance and the pick-up distance, and when it is determined that the service provider has arrived at the pick-up location, set the status of the travel order to the status of arriving at the pick-up location.

在具体实施中,若服务提供端当前的地理位置与接乘地点之间的直线距离和接乘距离均满足预设条件,即进行了直线距离和接乘距离的双重验证,可以准确地确定出此时服务提供端已经到达接乘地点,避免地图定位不准的干扰。示例性的,干扰的情况可以为定位地点原本应该在道路的一侧,却定位在道路的另一侧。进一步地,在确定出服务提供端到达接乘地点时,还可以将服务提供端和服务请求端的出行订单状态均设置为到达接乘地点的状态,如订单状态设置为“已到达接乘地点”,这样,无需服务提供方人为对是否到达接乘地点进行判断,服务器可以实现自动判断是否到达接乘地点的效果,进而可以提高司机接乘的效率,并可以提升处理出行订单的效率。In a specific implementation, if the straight-line distance and the pick-up distance between the current geographical location of the service provider and the pick-up location both meet the preset conditions, that is, a double verification of the straight-line distance and the pick-up distance is performed, it can be accurately determined that the service provider has arrived at the pick-up location at this time, avoiding the interference of inaccurate map positioning. Exemplary interference may be that the location should have been on one side of the road, but was located on the other side of the road. Furthermore, when it is determined that the service provider has arrived at the pick-up location, the travel order status of the service provider and the service requester can also be set to the status of arriving at the pick-up location, such as setting the order status to "arrived at the pick-up location". In this way, the service provider does not need to manually judge whether it has arrived at the pick-up location. The server can automatically judge whether it has arrived at the pick-up location, thereby improving the efficiency of the driver's pick-up and the efficiency of processing travel orders.

这里,预设条件可以为直线距离和接乘距离均小于一个预设阈值,预设条件还可以为直线距离小于一个预设阈值,接乘距离小于另一个预设阈值。Here, the preset condition may be that both the straight-line distance and the pick-up distance are less than a preset threshold value. The preset condition may also be that the straight-line distance is less than one preset threshold value and the pick-up distance is less than another preset threshold value.

在本申请实施例中,通过获取的服务提供端当前的位置信息,以及服务提供端当前承接的出行订单对应的接乘地点,可以确定位置信息对应的位置与接乘地点之间的直线距离和服务提供端从位置信息对应的位置行驶到接乘地点的接乘距离,进一步地,基于直线距离和接乘距离,可以确定服务提供端是否到达接乘地点,即在司机接乘过程中,服务器可以自动判断是否到达接乘地点,无需司机和乘客多次通话确认接乘地点,可以提高司机接乘的效率,并在确定出服务提供端到达接乘地点时,将出行订单的状态设置为到达接乘地点的状态,可以提升处理出行订单的效率。In an embodiment of the present application, by acquiring the current location information of the service provider and the pick-up location corresponding to the travel order currently undertaken by the service provider, the straight-line distance between the location corresponding to the location information and the pick-up location and the pick-up distance traveled by the service provider from the location corresponding to the location information to the pick-up location can be determined. Furthermore, based on the straight-line distance and the pick-up distance, it can be determined whether the service provider has arrived at the pick-up location. That is, during the driver's pick-up process, the server can automatically determine whether it has arrived at the pick-up location, without the driver and the passenger having multiple phone calls to confirm the pick-up location, which can improve the efficiency of the driver's pick-up, and when it is determined that the service provider has arrived at the pick-up location, the status of the travel order is set to the status of arriving at the pick-up location, which can improve the efficiency of processing travel orders.

在一种可能的实施方式中,在S103中基于所述直线距离和所述接乘距离,确定所述服务提供端是否到达所述接乘地点,包括以下步骤:In a possible implementation manner, determining whether the service provider has arrived at the pick-up location based on the straight-line distance and the pick-up distance in S103 includes the following steps:

步骤1031:判断所述直线距离和所述接乘距离是否均小于或等于第一预设阈值。Step 1031: Determine whether the straight-line distance and the connecting distance are both less than or equal to a first preset threshold.

步骤1032:若所述直线距离和所述接乘距离均小于或等于所述第一预设阈值,则确定所述服务提供端到达所述接乘地点。Step 1032: If the straight-line distance and the pick-up distance are both less than or equal to the first preset threshold, it is determined that the service provider has arrived at the pick-up location.

在具体实施中,当判断出服务提供端的当前地理位置与接乘地点之间的直线距离和接乘距离均满足预设条件时,可以确定出服务提供端已经到达了接乘地点,即,只需通过服务提供端的实时地理位置与接乘地点之间的接乘距离和直线距离,就可以直接判断出服务提供端是否到达接乘地点,并根据判断结果确定是否更改出行订单的状态。In a specific implementation, when it is determined that the straight-line distance and the pick-up distance between the current geographic location of the service provider and the pick-up location meet the preset conditions, it can be determined that the service provider has arrived at the pick-up location. That is, it is possible to directly determine whether the service provider has arrived at the pick-up location simply by using the pick-up distance and the straight-line distance between the real-time geographic location of the service provider and the pick-up location, and determine whether to change the status of the travel order based on the determination result.

这里,预设条件可以为直线距离和接乘距离均小于或等于第一预设阈值,第一预设阈值可以根据实际业务需求进行设定,用来判断服务提供端当前的地理位置是否较为接近服务提供端当前承接的出行订单中的接乘地点,第一预设阈值优选设置为40米,即当直线距离与接乘距离均小于40米时,就可以默认服务提供端到达接乘地点。Here, the preset condition may be that both the straight-line distance and the pick-up distance are less than or equal to a first preset threshold. The first preset threshold may be set according to actual business needs to determine whether the current geographical location of the service provider is relatively close to the pick-up location in the travel order currently undertaken by the service provider. The first preset threshold is preferably set to 40 meters, that is, when both the straight-line distance and the pick-up distance are less than 40 meters, it can be assumed that the service provider has arrived at the pick-up location.

在一种可能的实施方式中,在步骤1031判断所述直线距离和所述接乘距离是否均小于或等于第一预设阈值之后,更新方法还包括:In a possible implementation manner, after determining in step 1031 whether the straight-line distance and the connecting distance are both less than or equal to a first preset threshold, the updating method further includes:

步骤1033:若所述直线距离和/或所述接乘距离大于所述第一预设阈值,则每隔第一预设时长返回执行判断所述直线距离和所述接乘距离是否均小于或等于第一预设阈值的步骤。Step 1033: If the straight-line distance and/or the pick-up distance is greater than the first preset threshold, return to the step of determining whether the straight-line distance and the pick-up distance are both less than or equal to the first preset threshold every first preset time period.

在具体实施中,若服务提供端当前的地理位置与接乘地点之间的直线距离和接乘距离中只有一个满足预设条件,或者直线距离和接乘距离均不满足预设条件,可以确定出此时服务提供端没有到达接乘地点,这里,随着时间的变化,服务提供端的地理位置也随之变化,所以可以每隔第一预设时长继续获取服务提供端的地理位置,并重复循环判断直线距离和接乘距离是否均小于或等于第一预设阈值,直至直线距离和接乘距离均小于或等于第一预设阈值才能结束此判断步骤,即确定服务提供端到达接乘地点时,结束此判断步骤。In a specific implementation, if only one of the straight-line distance and the pick-up distance between the current geographical location of the service provider and the pick-up location meets the preset conditions, or if both the straight-line distance and the pick-up distance do not meet the preset conditions, it can be determined that the service provider has not arrived at the pick-up location at this time. Here, as time changes, the geographical location of the service provider also changes accordingly, so the geographical location of the service provider can continue to be obtained at intervals of a first preset time period, and the straight-line distance and the pick-up distance can be repeatedly determined in a cycle to determine whether both are less than or equal to the first preset threshold value, until both the straight-line distance and the pick-up distance are less than or equal to the first preset threshold value to end this judgment step, that is, when it is determined that the service provider has arrived at the pick-up location, this judgment step is ended.

这里,第一预设时长根据实际业务需求进行设定,优选设置为3秒。Here, the first preset duration is set according to actual business needs, and is preferably set to 3 seconds.

在一种可能的实施方式中,在步骤1031判断所述直线距离和所述接乘距离是否均小于或等于第一预设阈值之前,更新方法还包括以下步骤:In a possible implementation manner, before determining in step 1031 whether the straight-line distance and the connecting distance are both less than or equal to a first preset threshold, the updating method further includes the following steps:

步骤a:判断所述接乘距离是否小于或等于第二预设阈值。Step a: Determine whether the pick-up distance is less than or equal to a second preset threshold.

在具体实施中,考虑到从服务提供端在接单时的地理位置到接乘地点之间的距离可能较长,从该地理位置到达接乘地点的花费的时间可能较长,故在整个接乘过程中,如果不断重复循环判断直线距离和接乘距离是否均小于或等于第一预设阈值的步骤,这里,第一预设阈值较小,会造成服务器资源的大量占用,所以本申请在判断直线距离和接乘距离是否均小于或等于第一预设阈值之前,增设一个步骤,即先判断接乘距离是否小于或等于第二预设阈值,这里,第二预设阈值远大于第一预设阈值。这样,可以减少大并发下的流量,可以减轻服务器压力。In the specific implementation, considering that the distance from the geographical location of the service provider when accepting the order to the pick-up location may be long, and the time spent from the geographical location to the pick-up location may be long, if the step of judging whether the straight-line distance and the pick-up distance are both less than or equal to the first preset threshold is repeatedly repeated in the entire pick-up process, the first preset threshold is small, which will cause a large amount of server resources to be occupied. Therefore, before judging whether the straight-line distance and the pick-up distance are both less than or equal to the first preset threshold, the present application adds a step, that is, first judging whether the pick-up distance is less than or equal to the second preset threshold, and the second preset threshold is much larger than the first preset threshold. In this way, the traffic under high concurrency can be reduced, and the server pressure can be relieved.

这里,第二预设阈值可以根据实际业务需求进行设定,用来确定是否进行判断轮询过程的切换,第二预设阈值优选设置为500米。Here, the second preset threshold can be set according to actual business needs to determine whether to switch the polling process. The second preset threshold is preferably set to 500 meters.

需要说明的是,在服务提供端的地理位置与接乘地点之间的距离较远时,地图定位相对准确,所以只需要对接乘距离作为判断条件即可,不需要进行直线距离和接乘距离双重判断也可以准确地得到判断结果。It should be noted that when the distance between the geographical location of the service provider and the pick-up location is far, the map positioning is relatively accurate, so only the pick-up distance needs to be used as a judgment condition. The judgment result can be accurately obtained without the need for double judgment of the straight-line distance and the pick-up distance.

步骤b:若所述接乘距离小于或等于所述第二预设阈值,则执行基于所述直线距离和所述接乘距离,确定所述服务提供端是否到达所述接乘地点的步骤。Step b: If the pick-up distance is less than or equal to the second preset threshold, executing the step of determining whether the service provider has arrived at the pick-up location based on the straight-line distance and the pick-up distance.

在具体实施中,只有在判断出接乘距离小于或等于第二预设阈值时,才进行基于直线距离和接乘距离,确定服务提供端是否到达接乘地点的步骤,即在接乘距离比较短时,再进行直线距离和接乘距离的双重判定,这样,可以兼顾服务器处理效率,还可以实现快速对是否到达接乘地点的判断。In a specific implementation, only when it is determined that the pick-up distance is less than or equal to the second preset threshold value, the step of determining whether the service provider has arrived at the pick-up location based on the straight-line distance and the pick-up distance is performed. That is, when the pick-up distance is relatively short, a dual determination of the straight-line distance and the pick-up distance is performed. In this way, the server processing efficiency can be taken into account while also achieving a quick determination of whether the pick-up location has been reached.

步骤c:若所述接乘距离大于所述第二预设阈值,则每隔第二预设时长返回执行判断所述接乘距离是否小于或等于所述第二预设阈值的步骤。Step c: If the pick-up distance is greater than the second preset threshold, returning to the step of determining whether the pick-up distance is less than or equal to the second preset threshold every second preset time period.

在具体实施中,若服务提供端当前的地理位置与接乘地点之间的接乘距离大于第二预设阈值,即服务提供端与接乘地点之间的接乘距离较远,则不进行判断轮询过程的切换,每隔第二预设时长返回执行判断接乘距离是否小于或等于第二预设阈值的步骤,直至接乘距离小于或等于第二预设阈值才切换到判断直线距离和接乘距离是否小于或等于第一预设阈值的步骤。In a specific implementation, if the pick-up distance between the current geographic location of the service provider and the pick-up location is greater than a second preset threshold, that is, the pick-up distance between the service provider and the pick-up location is far, the judgment polling process will not be switched, and the process will return to the step of judging whether the pick-up distance is less than or equal to the second preset threshold every second preset time period until the pick-up distance is less than or equal to the second preset threshold, then the process will be switched to the step of judging whether the straight-line distance and the pick-up distance are less than or equal to the first preset threshold.

这里,第一预设时长小于第二预设时长,第二预设时长根据实际业务需求进行设定,第二预设时长优选设置为10秒。Here, the first preset time length is smaller than the second preset time length, and the second preset time length is set according to actual business requirements, and the second preset time length is preferably set to 10 seconds.

在一种可能的实施方式中,在步骤1032判断出所述直线距离和所述接乘距离均小于或等于所述第一预设阈值之后,更新方法还包括:In a possible implementation manner, after it is determined in step 1032 that both the straight-line distance and the connecting distance are less than or equal to the first preset threshold, the updating method further includes:

步骤1033:判断所述服务提供端从所述地理位置行驶到所述接乘地点之间的接乘路线中是否存在路线转折点。Step 1033: Determine whether there is a route turning point in the pick-up route from the geographical location to the pick-up location.

在具体实施中,在确定出服务提供端当前的地理位置和接乘地点之间的直线距离和接乘距离均小于第一预设阈值后,本申请通过对该地理位置行驶到接乘地点之间的接乘路线中是否存在路线转折点进行判断,可以进一步确认服务提供端是否真正到达了接乘地点,使服务提供方顺利接到服务请求方。In a specific implementation, after determining that the straight-line distance and the pick-up distance between the service provider's current geographic location and the pick-up location are both less than a first preset threshold, the present application can further confirm whether the service provider has actually arrived at the pick-up location by determining whether there is a route turning point in the pick-up route from the geographic location to the pick-up location, so that the service provider can smoothly connect to the service requester.

在地图导航过程中,通常会出现这种情况,例如,定位地点原本应该在道路的一侧,却定位在道路的另一侧,或者当前服务提供端的地理位置与接乘地点之间存在左拐转折点或右拐转折点,这样,即使接乘地点与服务提供的当前地理位置很近,服务提供方也不能顺利接到服务请求方,本申请通过添加路线转折点的判断步骤,可以实现服务提供方与服务请求方的顺利碰面。During the map navigation process, this situation usually occurs. For example, the location should have been on one side of the road, but it is located on the other side of the road, or there is a left turn or a right turn between the current geographical location of the service provider and the pick-up location. In this way, even if the pick-up location is very close to the current geographical location of the service provider, the service provider cannot successfully connect to the service requester. This application can achieve a smooth meeting between the service provider and the service requester by adding a judgment step for the route turning point.

步骤1034:若所述接乘路线中不存在所述路线转折点,则将所述出行订单的状态设置为到达所述接乘地点的状态。Step 1034: If the route turning point does not exist in the pick-up route, the status of the travel order is set to the status of arriving at the pick-up location.

在具体实施中,若服务提供端当前的地理位置和接乘地点之间的直线距离和接乘距离均小于第一预设阈值,且从该地理位置行驶到接乘地点之间的接乘路线中不存在路线转折点,就可以确定出服务提供端到达接乘地点,并可以将出行订单的状态设置为到达接乘地点的状态。In a specific implementation, if the straight-line distance and pick-up distance between the service provider's current geographic location and the pick-up location are both less than a first preset threshold, and there is no route turning point in the pick-up route from the geographic location to the pick-up location, it can be determined that the service provider has arrived at the pick-up location, and the status of the travel order can be set to the status of arriving at the pick-up location.

步骤1035:若所述接乘路线中存在所述路线转折点,则返回执行判断所述直线距离和所述接乘距离是否均小于或等于所述第一预设阈值的步骤。Step 1035: If the route turning point exists in the pick-up route, return to the step of determining whether the straight-line distance and the pick-up distance are both less than or equal to the first preset threshold.

在具体实施中,若服务提供端当前的地理位置和接乘地点之间的直线距离和接乘距离均小于第一预设阈值,但从该地理位置行驶到接乘地点之间的接乘路线中存在路线转折点,此时,即使接乘地点与服务提供的当前地理位置很近,服务提供方也不能顺利接到服务请求方,例如服务提供端当前的地理位置与接乘地点分别在道路两侧且无法直接在该道路上直接掉头的情况,本申请针对这一问题,在判断出接乘路线中存在路线转折点后,则返回执行判断直线距离和接乘距离是否均小于或等于第一预设阈值的步骤,直至直线距离和接乘距离均小于第一预设阈值,且接乘路线中不存在路线转折点时,才确定服务提供端到达接乘地点。In a specific implementation, if the straight-line distance and the pick-up distance between the current geographical location of the service provider and the pick-up location are both less than a first preset threshold, but there is a route turning point in the pick-up route from the geographical location to the pick-up location, at this time, even if the pick-up location is very close to the current geographical location of the service provider, the service provider cannot successfully connect to the service requester. For example, the current geographical location of the service provider and the pick-up location are respectively on both sides of the road and it is impossible to turn around directly on the road. To address this problem, the present application, after determining that there is a route turning point in the pick-up route, returns to the step of determining whether the straight-line distance and the pick-up distance are both less than or equal to the first preset threshold, until the straight-line distance and the pick-up distance are both less than the first preset threshold and there is no route turning point in the pick-up route, then it is determined that the service provider has arrived at the pick-up location.

其中,路线转折点包括以下转折点中的一种或多种:左转折点、右转折点、掉头转折点。Among them, the route turning point includes one or more of the following turning points: left turning point, right turning point, and U-turn turning point.

在一种可能的实施方式中,在步骤S103将所述出行订单的状态设置为到达所述接乘地点的状态之后,更新方法还包括:In a possible implementation manner, after the status of the travel order is set to the status of arriving at the pick-up location in step S103, the updating method further includes:

向所述服务提供端以及与所述出行订单对应的服务请求端发送语音信息和/或文字信息提醒到达所述接乘地点。Send a voice message and/or a text message to the service provider and the service requester corresponding to the travel order to remind them to arrive at the pick-up location.

在具体实施中,服务器在确定服务提供端到达接乘地点后,可以向服务提供端以及服务请求端发送语音信息和/或文字信息提醒到达接乘地点,这样,服务提供方和服务请求方可以顺利碰面。In a specific implementation, after determining that the service provider has arrived at the pick-up location, the server may send a voice message and/or text message to the service provider and the service requester to remind them to arrive at the pick-up location, so that the service provider and the service requester can meet smoothly.

在一种可能的实施方式中,在步骤S101获取服务提供端当前的地理位置之前,更新方法还包括:In a possible implementation manner, before obtaining the current geographical location of the service provider in step S101, the updating method further includes:

获取所述出行订单中的出行时刻;根据所述出行时刻,确定在所述出行时刻之前的距离所述出行时刻第三预设时长的获取时刻,并将所述获取时刻确定为首次获取所述服务提供端地理位置的时刻。Obtain the travel time in the travel order; based on the travel time, determine the acquisition time that is a third preset time period before the travel time, and determine the acquisition time as the time when the geographic location of the service provider is first acquired.

在具体实施中,出行订单可以分为两种,实时订单和预约订单,对于这两种出行订单,都可以从出行订单中获取到出行时刻,可以根据出行时刻确定出首次获取服务提供端地理位置的获取时刻,具体地,可以将在出行时刻之前距离出行时刻为第三预设时长的时刻作为获取时刻,这样,可以避免在距离接乘时刻很长的时间段内就获取信息,避免浪费服务器资源。In specific implementations, travel orders can be divided into two types, real-time orders and reservation orders. For both types of travel orders, the travel time can be obtained from the travel order, and the time for first obtaining the geographic location of the service provider can be determined based on the travel time. Specifically, the time that is the third preset time before the travel time can be used as the acquisition time. In this way, it can avoid obtaining information within a long period of time away from the pick-up time, thereby avoiding wasting server resources.

这里,第三预设时长也可以根据实际业务需求进行设定,优选设置为10分钟。Here, the third preset duration can also be set according to actual business needs, preferably set to 10 minutes.

需要说明的是,上述实施过程仅为本申请的示例性实施例,其中的各个步骤在实际操作中可以针对不同场景进行适当调整。例如,在拼车服务中可能存在两个或以上的接乘地点,因此可以按照拼车接乘顺序依次进行判断。又例如,在站点拼车服务中,若一个上车点对应一个订单,则当服务提供端实时的地理位置距接乘地点的直线距离以及接乘距离均满足条件时,对该出行订单触发自动到达,即将出行状态设为“已到达接乘地点”;若一个接乘地点对应两个或以上的订单,则当服务提供端的地理位置距接乘地点的直线距离以及接乘距离满足条件时,同时对一个或以上出行订单触发自动到达。It should be noted that the above implementation process is only an exemplary embodiment of the present application, and each step therein can be appropriately adjusted for different scenarios in actual operation. For example, there may be two or more pick-up locations in a carpooling service, so the judgment can be made in sequence according to the carpooling pick-up order. For another example, in a station carpooling service, if one boarding point corresponds to one order, then when the straight-line distance and the pick-up distance of the real-time geographical location of the service provider meet the conditions, the automatic arrival is triggered for the travel order, that is, the travel status is set to "arrived at the pick-up location"; if one pick-up location corresponds to two or more orders, then when the straight-line distance and the pick-up distance of the geographical location of the service provider meet the conditions, the automatic arrival is triggered for one or more travel orders at the same time.

参见图2,图2为本申请实施例所提供的另一种出行订单状态的更新方法的流程图。如图2所示,本申请实施例提供的出行订单状态的更新方法,包括以下步骤:Referring to Figure 2, Figure 2 is a flow chart of another method for updating the travel order status provided in an embodiment of the present application. As shown in Figure 2, the method for updating the travel order status provided in an embodiment of the present application includes the following steps:

S201:获取服务提供端当前的地理位置,以及所述服务提供端当前承接的出行订单对应的接乘地点。S201: Acquire the current geographic location of the service provider and the pick-up location corresponding to the travel order currently undertaken by the service provider.

S202:基于所述地理位置和所述接乘地点,确定所述地理位置与所述接乘地点之间的直线距离和所述服务提供端从所述地理位置到达所述接乘地点的接乘距离。S202: Based on the geographical location and the pick-up location, determine the straight-line distance between the geographical location and the pick-up location and the pick-up distance from the geographical location to the pick-up location by the service provider.

S203:判断是否接收到所述服务提供端发送的到达所述接乘地点的报告信息。S203: Determine whether the report information of arrival at the pick-up location sent by the service provider is received.

在具体实施中,可以在服务提供端设置报告到达接乘地点的功能,服务提供方可以操作服务提供端向服务器发送到达接乘地点的报告信息。In a specific implementation, a function of reporting arrival at the pick-up location may be set at the service provider, and the service provider may operate the service provider to send report information of arrival at the pick-up location to the server.

S204:若接收到所述服务提供端发送的所述报告信息,则判断所述直线距离是否小于或等于第三预设阈值。S204: If the report information sent by the service provider is received, determine whether the straight-line distance is less than or equal to a third preset threshold.

在具体实施中,服务器在确认接收到服务提供端发送的达到接乘地点的报告信息后,通过判断服务提供端当前的地理位置是否小于或等于第三预设阈值,可以确定出服务提供方是确实到达了接乘地点,还是在没有到达接乘地点提前上报到达信息,这样,可以对服务提供端进行监控,避免服务提供端提前上报到达接乘地点的报告信息,以保障服务请求方的权益。In a specific implementation, after confirming that it has received the report information of arrival at the pick-up location sent by the service provider, the server can determine whether the service provider has actually arrived at the pick-up location or has reported the arrival information in advance without arriving at the pick-up location by judging whether the current geographical location of the service provider is less than or equal to the third preset threshold. In this way, the service provider can be monitored to prevent the service provider from reporting the report information of arrival at the pick-up location in advance, so as to protect the rights and interests of the service requester.

这里,第三预设阈值大于第一预设阈值且小于第二预设阈值,第三预设阈值可以根据实际业务需求进行设定,优选设置为120米。Here, the third preset threshold is greater than the first preset threshold and less than the second preset threshold. The third preset threshold can be set according to actual business needs, and is preferably set to 120 meters.

S205:若所述直线距离小于或等于所述第三预设阈值,将所述出行订单状态设置为到达所述接乘地点的状态。S205: If the straight-line distance is less than or equal to the third preset threshold, the travel order status is set to a status of arriving at the pick-up location.

在具体实施中,若服务提供端当前的地理位置与接乘地点之间的直线距离小于或等于第三预设阈值,说明服务提供端准确发送到达接乘地点的报告信息,可以将出行订单状态设置为到达接乘地点的状态。In a specific implementation, if the straight-line distance between the service provider's current geographic location and the pick-up location is less than or equal to the third preset threshold, it means that the service provider has accurately sent the report information of arriving at the pick-up location, and the travel order status can be set to the status of arriving at the pick-up location.

S206:若所述直线距离大于所述第三预设阈值,将所述出行订单状态设置为未到达所述接乘地点的状态,并向所述服务提供端发送语音信息和/或文字信息提醒提前报告到达所述接乘地点。S206: If the straight-line distance is greater than the third preset threshold, the travel order status is set to a state of not arriving at the pick-up location, and a voice message and/or text message is sent to the service provider to remind the service provider to report the arrival at the pick-up location in advance.

在具体实施中,若判断出服务提供端当前的地理位置和接乘地点之间的直线距离大于第三预设阈值,说明服务提供方在没有到达接乘地点时,提前发送到达接乘地点的报告信息,则将出行订单状态设置为未到达接乘地点的状态,并向服务提供端发送语音信息和/或文字信息提醒提前报告到达接乘地点。这样,可以对服务提供端进行监控,避免服务提供端提前上报到达接乘地点的报告信息,以保障服务请求方的权益。In a specific implementation, if it is determined that the straight-line distance between the current geographical location of the service provider and the pick-up location is greater than the third preset threshold, indicating that the service provider has not yet arrived at the pick-up location, and has sent a report of arrival at the pick-up location in advance, the travel order status is set to the state of not arriving at the pick-up location, and a voice message and/or text message is sent to the service provider to remind it to report its arrival at the pick-up location in advance. In this way, the service provider can be monitored to prevent the service provider from reporting its arrival at the pick-up location in advance, so as to protect the rights and interests of the service requester.

其中,S201、S202的描述可以参照S101、S102的描述,并且能达到相同的技术效果,对此不做赘述。Among them, the description of S201 and S202 can refer to the description of S101 and S102, and can achieve the same technical effect, which is not repeated here.

基于同一申请构思,本申请实施例中还提供了与如图1和如图2所示的出行订单状态的更新方法对应的出行订单状态的更新装置,由于本申请实施例中的装置解决问题的原理与本申请上述如图1和如图2所示的出行订单状态的更新方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same application concept, the embodiment of the present application also provides a travel order status updating device corresponding to the travel order status updating method as shown in Figures 1 and 2. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the travel order status updating method as shown in Figures 1 and 2 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.

参见图3至如图5所示,图3为本申请实施例提供的一种出行订单状态的更新装置300的功能模块图之一,图4为本申请实施例提供的一种出行订单状态的更新装置300的功能模块图之二,图5为出行订单状态的更新装置300中的设置模块330的功能模块图。其中如图3和图4所示,出行订单状态的更新装置300包括:Referring to FIG. 3 to FIG. 5, FIG. 3 is a functional module diagram of a travel order status update device 300 provided in an embodiment of the present application, FIG. 4 is a functional module diagram of a travel order status update device 300 provided in an embodiment of the present application, and FIG. 5 is a functional module diagram of a setting module 330 in the travel order status update device 300. As shown in FIG. 3 and FIG. 4, the travel order status update device 300 includes:

获取模块310,用于获取服务提供端当前的地理位置,以及所述服务提供端当前承接的出行订单对应的接乘地点;The acquisition module 310 is used to acquire the current geographic location of the service provider and the pick-up location corresponding to the travel order currently undertaken by the service provider;

确定模块320,用于基于所述地理位置和所述接乘地点,确定所述地理位置与所述接乘地点之间的直线距离和所述服务提供端从所述地理位置到达所述接乘地点的接乘距离;A determination module 320, configured to determine, based on the geographic location and the pick-up location, a straight-line distance between the geographic location and the pick-up location and a pick-up distance from the geographic location to the pick-up location by the service provider;

设置模块330,用于基于所述直线距离和所述接乘距离,确定所述服务提供端是否到达所述接乘地点,并在确定出所述服务提供端到达所述接乘地点时,将所述出行订单的状态设置为到达所述接乘地点的状态。The setting module 330 is used to determine whether the service provider has arrived at the pick-up location based on the straight-line distance and the pick-up distance, and when it is determined that the service provider has arrived at the pick-up location, set the status of the travel order to the status of arriving at the pick-up location.

在本申请实施例中,通过获取模块310获取的服务提供端当前的位置信息,以及服务提供端当前承接的出行订单对应的接乘地点,可以通过确定模块320确定位置信息对应的位置与接乘地点之间的直线距离和服务提供端从位置信息对应的位置行驶到接乘地点的接乘距离,进一步地,基于直线距离和接乘距离,可以确定服务提供端是否到达接乘地点,即在司机接乘过程中,网约车软件或服务器可以自动判定是否到达接乘地点,无需司机和乘客多次通话确认接乘地点,可以提高司机接乘的效率,并在确定出服务提供端到达接乘地点时,将出行订单的状态设置为到达接乘地点的状态,可以提升处理出行订单的效率。In an embodiment of the present application, by acquiring the current location information of the service provider and the pick-up location corresponding to the travel order currently undertaken by the service provider, the straight-line distance between the location corresponding to the location information and the pick-up location and the pick-up distance traveled by the service provider from the location corresponding to the location information to the pick-up location can be determined by determining module 320. Furthermore, based on the straight-line distance and the pick-up distance, it can be determined whether the service provider has arrived at the pick-up location. That is, during the driver's pick-up process, the online car-hailing software or server can automatically determine whether it has arrived at the pick-up location, without the driver and the passenger having multiple phone calls to confirm the pick-up location, which can improve the driver's pick-up efficiency. When it is determined that the service provider has arrived at the pick-up location, the status of the travel order is set to the status of arriving at the pick-up location, which can improve the efficiency of processing travel orders.

在一种可能的实施方式中,如图5所示,所述设置模块330包括:In a possible implementation, as shown in FIG5 , the setting module 330 includes:

第一判断单元331,用于判断所述直线距离和所述接乘距离是否均小于或等于第一预设阈值;The first judging unit 331 is used to judge whether the straight-line distance and the connecting distance are both less than or equal to a first preset threshold;

第一确定单元332,用于若所述直线距离和所述接乘距离均小于或等于所述第一预设阈值,则确定所述服务提供端到达所述接乘地点。The first determining unit 332 is configured to determine that the service provider has arrived at the pick-up location if both the straight-line distance and the pick-up distance are less than or equal to the first preset threshold.

在一种可能的实施方式中,如图5所示,所述第一判断单元331还用于:In a possible implementation, as shown in FIG5 , the first determining unit 331 is further configured to:

若所述直线距离和/或所述接乘距离大于所述第一预设阈值,则每隔第一预设时长返回执行判断所述直线距离和所述接乘距离是否均小于或等于第一预设阈值的步骤。If the straight-line distance and/or the pick-up distance is greater than the first preset threshold, the step of determining whether the straight-line distance and the pick-up distance are both less than or equal to the first preset threshold is returned to every first preset time period.

在一种可能的实施方式中,如图5所示,所述设置模块330还包括:In a possible implementation, as shown in FIG5 , the setting module 330 further includes:

第二判断单元333,用于判断所述接乘距离是否小于或等于第二预设阈值;A second judging unit 333 is used to judge whether the pick-up distance is less than or equal to a second preset threshold;

第二确定单元334,用于若所述接乘距离小于或等于所述第二预设阈值,则执行基于所述直线距离和所述接乘距离,确定所述服务提供端是否到达所述接乘地点的步骤;A second determining unit 334 is configured to, if the pick-up distance is less than or equal to the second preset threshold, perform a step of determining whether the service provider has arrived at the pick-up location based on the straight-line distance and the pick-up distance;

所述第二判断单元333,还用于若所述接乘距离大于所述第二预设阈值,则每隔第二预设时长返回执行判断所述接乘距离是否小于或等于所述第二预设阈值的步骤;The second judging unit 333 is further configured to return to the step of judging whether the pick-up distance is less than or equal to the second preset threshold at a second preset time interval if the pick-up distance is greater than the second preset threshold;

其中,所述第一预设阈值小于所述第二预设阈值。The first preset threshold is smaller than the second preset threshold.

在一种可能的实施方式中,如图4所示,所述更新装置还包括第一判断模块340:In a possible implementation, as shown in FIG4 , the updating device further includes a first determining module 340:

所述第一判断模块340,用于判断所述服务提供端从所述地理位置行驶到所述接乘地点之间的接乘路线中是否存在路线转折点;The first determination module 340 is used to determine whether there is a route turning point in the pick-up route between the service provider and the geographical location;

所述设置模块330,还用于若所述接乘路线中不存在所述路线转折点,则将所述出行订单的状态设置为到达所述接乘地点的状态。The setting module 330 is further configured to set the status of the travel order to the status of arriving at the pick-up location if the route turning point does not exist in the pick-up route.

在一种可能的实施方式中,如图4所示,所述第一判断模块340还用于:In a possible implementation, as shown in FIG4 , the first determination module 340 is further configured to:

若所述接乘路线中存在所述路线转折点,则返回执行判断所述直线距离和所述接乘距离是否均小于或等于所述第一预设阈值的步骤。If the route turning point exists in the pick-up route, the process returns to the step of determining whether both the straight-line distance and the pick-up distance are less than or equal to the first preset threshold.

在一种可能的实施方式中,所述路线转折点包括以下转折点中的一种或多种:In a possible implementation manner, the route turning point includes one or more of the following turning points:

左转折点、右转折点、掉头转折点。Left turning point, right turning point, U-turn turning point.

在一种可能的实施方式中,如图4所示,出行订单状态的设置300还包括第二判断模块350和第一发送模块360;In a possible implementation, as shown in FIG4 , the travel order status setting 300 further includes a second determination module 350 and a first sending module 360 ;

所述第二判断模块350,用于判断是否接收到所述服务提供端发送的到达所述接乘地点的报告信息;The second determination module 350 is used to determine whether the report information of arrival at the pick-up location sent by the service provider is received;

所述第二判断模块350,还用于若接收到所述服务提供端发送的所述报告信息,则判断所述直线距离是否小于或等于第三预设阈值;The second determination module 350 is further configured to determine whether the straight-line distance is less than or equal to a third preset threshold value if the report information sent by the service provider is received;

所述设置模块330,用于若所述直线距离小于或等于所述第三预设阈值,将所述出行订单状态设置为到达所述接乘地点的状态;The setting module 330 is used to set the travel order status to a status of arriving at the pick-up location if the straight-line distance is less than or equal to the third preset threshold;

所述第一发送模块360,用于若所述直线距离大于所述第三预设阈值,将所述出行订单状态设置为未到达所述接乘地点的状态,并向所述服务提供端发送语音信息和/或文字信息提醒提前报告到达所述接乘地点。The first sending module 360 is used to set the travel order status to a state of not arriving at the pick-up location if the straight-line distance is greater than the third preset threshold, and to send a voice message and/or a text message to the service provider to remind it to report arriving at the pick-up location in advance.

在一种可能的实施方式中,如图4所示,出行订单状态的设置300还包括第二发送模块370:In a possible implementation, as shown in FIG. 4 , the travel order status setting 300 further includes a second sending module 370:

所述第二发送模块370,用于向所述服务提供端以及与所述出行订单对应的服务请求端发送语音信息和/或文字信息提醒到达所述接乘地点。The second sending module 370 is used to send a voice message and/or a text message to the service provider and the service requester corresponding to the travel order to remind them to arrive at the pick-up location.

在一种可能的实施方式中,如图3和如图4所示,所述获取模块310,还用于获取所述出行订单中的出行时刻;In a possible implementation, as shown in FIG. 3 and FIG. 4 , the acquisition module 310 is further used to acquire the travel time in the travel order;

所述确定模块320,还用于根据所述出行时刻,确定在所述出行时刻之前的距离所述出行时刻第三预设时长的获取时刻,并将所述获取时刻确定为首次获取所述服务提供端地理位置的时刻。The determination module 320 is further configured to determine, based on the travel time, an acquisition time that is a third preset time period before the travel time, and determine the acquisition time as a time when the geographic location of the service provider is first acquired.

基于同一申请构思,参见图6所示,为本申请实施例提供的一种电子设备600的结构示意图,包括:处理器610、存储器620和总线630,所述存储器620存储有所述处理器610可执行的机器可读指令,当电子设备600运行时,所述处理器610与所述存储器620之间通过所述总线630进行通信,所述机器可读指令被所述处理器610运行时执行如图1和/或如图2所示的出行订单状态的更新方法的步骤。Based on the same application concept, referring to FIG6 , a schematic diagram of the structure of an electronic device 600 provided in an embodiment of the present application includes: a processor 610, a memory 620 and a bus 630, wherein the memory 620 stores machine-readable instructions executable by the processor 610. When the electronic device 600 is running, the processor 610 communicates with the memory 620 through the bus 630, and the machine-readable instructions are executed by the processor 610 when running to perform the steps of the method for updating the travel order status as shown in FIG1 and/or FIG2 .

具体地,所述机器可读指令被所述处理器610执行时可以执行如下处理:Specifically, when the machine-readable instruction is executed by the processor 610, the following processing may be performed:

获取服务提供端当前的地理位置,以及所述服务提供端当前承接的出行订单对应的接乘地点;Obtain the current geographic location of the service provider and the pick-up location corresponding to the travel order currently undertaken by the service provider;

基于所述地理位置和所述接乘地点,确定所述地理位置与所述接乘地点之间的直线距离和所述服务提供端从所述地理位置到达所述接乘地点的接乘距离;Based on the geographical location and the pick-up location, determine the straight-line distance between the geographical location and the pick-up location and the pick-up distance from the geographical location to the pick-up location by the service provider;

基于所述直线距离和所述接乘距离,确定所述服务提供端是否到达所述接乘地点,并在确定出所述服务提供端到达所述接乘地点时,将所述出行订单的状态设置为到达所述接乘地点的状态。Based on the straight-line distance and the pick-up distance, determine whether the service provider has arrived at the pick-up location, and when it is determined that the service provider has arrived at the pick-up location, set the status of the travel order to the status of arriving at the pick-up location.

本申请实施例中,通过获取的服务提供端当前的位置信息,以及服务提供端当前承接的出行订单对应的接乘地点,可以确定位置信息对应的位置与接乘地点之间的直线距离和服务提供端从位置信息对应的位置行驶到接乘地点的接乘距离,进一步地,基于直线距离和接乘距离,可以确定服务提供端是否到达接乘地点,即在司机接乘过程中,网约车软件或服务器可以自动判定是否到达接乘地点,无需司机和乘客多次通话确认接乘地点,可以提高司机接乘的效率,并在确定出服务提供端到达接乘地点时,将出行订单的状态设置为到达接乘地点的状态,可以提升处理出行订单的效率。In an embodiment of the present application, by obtaining the current location information of the service provider and the pick-up location corresponding to the travel order currently undertaken by the service provider, the straight-line distance between the location corresponding to the location information and the pick-up location and the pick-up distance traveled by the service provider from the location corresponding to the location information to the pick-up location can be determined. Furthermore, based on the straight-line distance and the pick-up distance, it can be determined whether the service provider has arrived at the pick-up location. That is, during the driver's pick-up process, the online car-hailing software or server can automatically determine whether it has arrived at the pick-up location. There is no need for the driver and the passenger to call multiple times to confirm the pick-up location, which can improve the efficiency of the driver's pick-up. When it is determined that the service provider has arrived at the pick-up location, the status of the travel order is set to the status of arriving at the pick-up location, which can improve the efficiency of processing travel orders.

进一步地,所述机器可读指令被所述处理器610执行时还可以执行如下处理:Furthermore, when the machine-readable instruction is executed by the processor 610, the following processing may also be performed:

判断所述直线距离和所述接乘距离是否均小于或等于第一预设阈值;Determine whether the straight-line distance and the connecting distance are both less than or equal to a first preset threshold;

若所述直线距离和所述接乘距离均小于或等于所述第一预设阈值,则确定所述服务提供端到达所述接乘地点。If the straight-line distance and the pick-up distance are both less than or equal to the first preset threshold, it is determined that the service provider has arrived at the pick-up location.

进一步地,所述机器可读指令被所述处理器610执行时还可以执行如下处理:Furthermore, when the machine-readable instruction is executed by the processor 610, the following processing may also be performed:

若所述直线距离和/或所述接乘距离大于所述第一预设阈值,则每隔第一预设时长返回执行判断所述直线距离和所述接乘距离是否均小于或等于第一预设阈值的步骤。If the straight-line distance and/or the pick-up distance is greater than the first preset threshold, the step of determining whether the straight-line distance and the pick-up distance are both less than or equal to the first preset threshold is returned to every first preset time period.

进一步地,所述机器可读指令被所述处理器610执行时还可以执行如下处理:Furthermore, when the machine-readable instruction is executed by the processor 610, the following processing may also be performed:

判断所述接乘距离是否小于或等于第二预设阈值;Determining whether the pick-up distance is less than or equal to a second preset threshold;

若所述接乘距离小于或等于所述第二预设阈值,则执行基于所述直线距离和所述接乘距离,确定所述服务提供端是否到达所述接乘地点的步骤;If the pick-up distance is less than or equal to the second preset threshold, executing the step of determining whether the service provider has arrived at the pick-up location based on the straight-line distance and the pick-up distance;

若所述接乘距离大于所述第二预设阈值,则每隔第二预设时长返回执行判断所述接乘距离是否小于或等于所述第二预设阈值的步骤;If the pick-up distance is greater than the second preset threshold, returning to the step of determining whether the pick-up distance is less than or equal to the second preset threshold every second preset time period;

其中,所述第一预设阈值小于所述第二预设阈值。The first preset threshold is smaller than the second preset threshold.

进一步地,所述机器可读指令被所述处理器610执行时还可以执行如下处理:Furthermore, when the machine-readable instruction is executed by the processor 610, the following processing may also be performed:

判断所述服务提供端从所述地理位置行驶到所述接乘地点之间的接乘路线中是否存在路线转折点;Determining whether there is a route turning point in the pick-up route between the service provider and the pick-up location;

若所述接乘路线中不存在所述路线转折点,则将所述出行订单的状态设置为到达所述接乘地点的状态。If the route turning point does not exist in the pick-up route, the status of the travel order is set to the status of arriving at the pick-up location.

进一步地,所述机器可读指令被所述处理器610执行时还可以执行如下处理:Furthermore, when the machine-readable instruction is executed by the processor 610, the following processing may also be performed:

若所述接乘路线中存在所述路线转折点,则返回执行判断所述直线距离和所述接乘距离是否均小于或等于所述第一预设阈值的步骤。If the route turning point exists in the pick-up route, the process returns to the step of determining whether both the straight-line distance and the pick-up distance are less than or equal to the first preset threshold.

进一步地,所述机器可读指令被所述处理器610执行时还可以执行如下处理:Furthermore, when the machine-readable instruction is executed by the processor 610, the following processing may also be performed:

判断是否接收到所述服务提供端发送的到达所述接乘地点的报告信息;Determining whether the report information of arrival at the pick-up location sent by the service provider is received;

若接收到所述服务提供端发送的所述报告信息,则判断所述直线距离是否小于或等于第三预设阈值;If the report information sent by the service provider is received, determining whether the straight-line distance is less than or equal to a third preset threshold;

若所述直线距离小于或等于所述第三预设阈值,将所述出行订单状态设置为到达所述接乘地点的状态;If the straight-line distance is less than or equal to the third preset threshold, the travel order status is set to a status of arriving at the pick-up location;

若所述直线距离大于所述第三预设阈值,将所述出行订单状态设置为未到达所述接乘地点的状态,并向所述服务提供端发送语音信息和/或文字信息提醒提前报告到达所述接乘地点。If the straight-line distance is greater than the third preset threshold, the travel order status is set to a state of not arriving at the pick-up location, and a voice message and/or text message is sent to the service provider to remind the service provider to report arrival at the pick-up location in advance.

进一步地,所述机器可读指令被所述处理器610执行时还可以执行如下处理:Furthermore, when the machine-readable instruction is executed by the processor 610, the following processing may also be performed:

向所述服务提供端以及与所述出行订单对应的服务请求端发送语音信息和/或文字信息提醒到达所述接乘地点。Send a voice message and/or a text message to the service provider and the service requester corresponding to the travel order to remind them to arrive at the pick-up location.

进一步地,所述机器可读指令被所述处理器610执行时还可以执行如下处理:Furthermore, when the machine-readable instruction is executed by the processor 610, the following processing may also be performed:

获取所述出行订单中的出行时刻;Obtaining the travel time in the travel order;

根据所述出行时刻,确定在所述出行时刻之前的距离所述出行时刻第三预设时长的获取时刻,并将所述获取时刻确定为首次获取所述服务提供端地理位置的时刻。According to the travel time, an acquisition time that is a third preset time length before the travel time is determined, and the acquisition time is determined as the time when the geographic location of the service provider is first acquired.

基于同一申请构思,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行如图1和/或如图2所示的出行订单状态的更新方法的步骤。Based on the same application concept, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for updating the travel order status as shown in Figure 1 and/or Figure 2 are executed.

具体地,所述存储介质能够为通用的存储介质,如移动磁盘、硬盘等,所述存储介质上的计算机程序被运行时,能够执行上述出行订单状态的更新方法,通过自动判定是否到达接乘地点,可以提高司机接乘的效率,并在确定出服务提供端到达接乘地点时,将出行订单的状态设置为到达接乘地点的状态,可以提升处理出行订单的效率。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 travel order status update method can be executed. By automatically determining whether the pick-up location has been arrived at, the driver's pick-up efficiency can be improved. When it is determined that the service provider has arrived at the pick-up location, the status of the travel order is set to the status of arriving at the pick-up location, which can improve the efficiency of processing travel orders.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本申请所提供的几个实施例中,应所述理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。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 aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present 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 units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units 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 units, which can be electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units 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.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者所述技术方案的部分可以以软件产品的形式体现出来,所述计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

以上仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4