Designated driving state abnormity processing method and device
By obtaining the position and movement information of the designated vehicle, combining the order status and abnormal judgment rules, the designated vehicle service process is monitored in real time, and technical and human interference problems in safety risk assessment in the designated vehicle service are solved, timely identification and handling of abnormal situations are realized, and user experience is improved.
Patent Information
- Application Number
- CN202510326585.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-19
- Publication Date
- 2025-07-29
AI Technical Summary
In the existing designated driving services, safety risk assessment is affected by the dual interference of technology and human factors, making it difficult to effectively monitor and warn of abnormal situations, affecting the personal safety of passengers.
By obtaining the location information, motion information and order status of the target vehicle, the abnormality determination rules are used to monitor the driver's process in real time, and abnormal situations are identified and handled, including setting geographic fences and waiting time to determine whether there are abnormalities in the driver's vehicle.
Real-time monitoring and accurate abnormal identification of the designated driving process are realized, and early warnings are issued in a timely manner, which improves users' trust and satisfaction with the designated driving service and reduces safety risks.
Smart Images

Figure CN120387865A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and specifically to a method and device for handling abnormal chauffeuring states. Background Art
[0002] The chauffeuring service refers to a paid driving labor service provided by a service provider to a customer, which can reduce the customer's auxiliary working time. The emergence of this service model aims to solve the problem that vehicle owners are unable to drive their vehicles by themselves under specific circumstances (such as after drinking), thereby reducing the occurrence of drunk driving and traffic accidents. However, chauffeuring may also pose a serious threat to the personal safety of passengers.
[0003] Currently, often by reviewing documents such as the chauffeuring driver's driver's license and professional qualification certificate, and conducting background checks on them, to ensure that the chauffeuring driver has certain driving abilities and good professional ethics, so as to avoid serious threats to the personal safety of passengers posed by the chauffeuring driver.
[0004] However, the safety risk assessment in the chauffeuring service is not only affected by technical factors but may also be interfered with by human factors. For example, a chauffeuring driver may deliberately conceal or forge information to evade review and monitoring.
[0005] Therefore, how to improve the abnormal monitoring during the chauffeuring service execution has become a problem to be solved. Summary of the Invention
[0006] In view of this, the present invention provides a method and device for handling abnormal chauffeuring states.
[0007] In a first aspect, the present invention provides a method for handling abnormal chauffeuring states, the method comprising: obtaining associated information of a target vehicle; wherein, the associated information of the target vehicle includes the location information of the target vehicle, the movement information of the target vehicle, and the order status; determining whether there is an abnormality in the chauffeuring driver corresponding to the target vehicle according to the associated information of the target vehicle and the abnormal determination rules corresponding to the associated information; when there is an abnormality in the chauffeuring driver corresponding to the target vehicle, performing processing on the abnormal chauffeuring state through the platform to which the chauffeuring driver belongs.
[0008] The method for handling abnormal chauffeuring states provided in this embodiment, by obtaining the associated information of the target vehicle, including location information, movement information, and order status, can reflect the key elements in the chauffeuring service process in real time. According to the associated information of the target vehicle, the corresponding abnormal determination rules are determined. By real-time monitoring of the associated information of the target vehicle and comparing it with the abnormal determination rules, abnormal situations during the chauffeuring process can be discovered in a timely manner. Once an abnormality is detected, a warning can be immediately issued to remind the platform or relevant personnel to handle it.
[0009] In a possible implementation, determining whether there is an abnormality in the driver corresponding to the target vehicle according to the association information of the target vehicle and the abnormality determination rule corresponding to the association information includes: when the order status is in the open execution state, the movement information of the target vehicle is in the moving state, and the first waiting time is reached, determining the first position information of the target vehicle within the first preset time period; wherein, the first position information indicates the distance traveled by the target vehicle within the first preset time period; determining whether there is an abnormality in the driver corresponding to the target vehicle according to the first position information of the target vehicle; and when the first position information of the target vehicle does not exceed the first geographical fence, determining that there is an abnormality in the driver corresponding to the target vehicle.
[0010] The method for processing the abnormal driver state provided in this embodiment can quickly capture abnormal situations during the driver service process by real-time monitoring of the order status, the movement information of the target vehicle, and the position information. By using the first waiting time, the first preset time, and parameters such as the first geographical fence, it is possible to accurately judge the driving situation of the target vehicle within a specific time period, thereby accurately identifying whether there is an abnormality in the driver.
[0011] In a possible implementation, determining whether there is an abnormality in the driver corresponding to the target vehicle according to the association information of the target vehicle and the abnormality determination rule corresponding to the association information includes: when the order status is in the executing state, the movement information of the target vehicle is in the stopped state, and the second waiting time is reached, determining the second position information of the target vehicle within the second preset time period; wherein, the second position information indicates the distance traveled by the target vehicle within the second preset time period; determining whether there is an abnormality in the driver corresponding to the target vehicle according to the second position information of the target vehicle; and when the second position information of the target vehicle does not exceed the second geographical fence, determining that there is an abnormality in the driver corresponding to the target vehicle.
[0012] The method for processing the abnormal driver state provided in this embodiment not only considers the order status and the movement information of the target vehicle, but also introduces the second waiting time and the second position information (i.e., the distance traveled by the vehicle within the second preset time period) as the judgment basis, improving the accuracy of abnormal detection.
[0013] In a possible implementation, determining whether there is an abnormality in the designated driver corresponding to the target vehicle according to the associated information of the target vehicle and the abnormality determination rule corresponding to the associated information includes: when the order status is the executing status, the movement information of the target vehicle is the status of driving to the destination, and the third waiting time is reached, determining the third position information of the target vehicle within the third preset time period; wherein, the second position information indicates the distance traveled by the target vehicle within the third preset time period; determining whether there is an abnormality in the designated driver corresponding to the target vehicle according to the third position information of the target vehicle; and when the third position information of the target vehicle does not exceed the third geographical fence, determining that there is an abnormality in the designated driver corresponding to the target vehicle.
[0014] The method for handling the abnormal status of the designated driver provided in this embodiment particularly considers the state that the target vehicle has driven to the destination, and more accurately determines whether the designated driver has completed the service and stays in a reasonable position. By setting the third waiting time and the third geographical fence, this method can more precisely capture the abnormal situation after the designated driver service ends.
[0015] In a possible implementation, determining whether there is an abnormality in the designated driver corresponding to the target vehicle according to the associated information of the target vehicle and the abnormality determination rule corresponding to the associated information includes: when the order status is the end status, the running information of the target vehicle is the status of driving to the destination, and the fourth waiting time is reached, determining the fourth position information of the designated driver within the fourth preset time period; wherein, the fourth position information indicates the distance moved by the designated driver within the fourth preset time period; determining whether there is an abnormality in the designated driver according to the fourth position information of the designated driver; and when the fourth position information of the designated driver does not exceed the fourth geographical fence, determining that there is an abnormality in the designated driver.
[0016] For the method for handling the abnormal status of the designated driver provided in this embodiment, when the fourth position information of the designated driver does not exceed the fourth geographical fence, the system can immediately give an abnormal prompt, which helps the user to timely understand the abnormal situation of the designated driver service and take corresponding countermeasures. By providing accurate and timely designated driver position information and abnormal warnings, this method can enhance the user's trust and satisfaction with the designated driver service, and thus improve the overall user experience.
[0017] In a possible implementation, the method further includes: updating the abnormality determination rule corresponding to the associated information according to a preset time interval.
[0018] For the method for handling the abnormal status of the designated driver provided in this embodiment, by updating the abnormality determination rule corresponding to the associated information according to a preset time interval, it can ensure that the abnormality determination rule corresponding to the associated information is in the latest state, so as to accurately determine whether there is an abnormality in the designated driver.
[0019] Second aspect, the present invention provides a processing device for abnormal driver service status. The device includes: an acquisition module, configured to acquire the associated information of a target vehicle; wherein, the associated information of the target vehicle includes the location information of the target vehicle, the movement information of the target vehicle, and the order status; a determination module, configured to determine whether there is an abnormality in the driver corresponding to the target vehicle according to the associated information of the target vehicle and the abnormal determination rules corresponding to the associated information; a processing module, configured to, when there is an abnormality in the driver corresponding to the target vehicle, perform processing on the abnormal driver service status through the platform to which the driver belongs.
[0020] Third aspect, the present invention provides a computer device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to execute the method for processing abnormal driver service status according to the first aspect or any corresponding embodiment thereof.
[0021] Fourth aspect, the present invention provides a computer-readable storage medium, on which computer instructions are stored. The computer instructions are used to cause a computer to execute the method for processing abnormal driver service status according to the first aspect or any corresponding embodiment thereof.
[0022] Fifth aspect, the present invention provides a computer program product, including computer instructions, which are used to cause a computer to execute the method for processing abnormal driver service status according to the first aspect or any corresponding embodiment thereof. Description of the Drawings
[0023] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0024] Figure 1 is a flowchart of the method for processing abnormal driver service status according to an embodiment of the present invention;
[0025] Figure 2 is a structural block diagram of the processing device for abnormal driver service status according to an embodiment of the present invention;
[0026] Figure 3 is a schematic diagram of the hardware structure of the computer device according to an embodiment of the present invention. Detailed Embodiments
[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0028] In the related art, the designated driver service refers to a paid driving labor service provided by a service provider to a customer, which can reduce the customer's auxiliary working time. The emergence of this service mode aims to solve the problem that vehicle owners are unable to drive their vehicles by themselves under specific circumstances (such as after drinking), thereby reducing the occurrence of drunk driving and traffic accidents. However, the designated driver may also pose a serious threat to the personal safety of passengers.
[0029] Currently, often by reviewing documents such as the designated driver's driver's license and professional qualification certificate, and conducting background investigations on them, to ensure that the designated driver has certain driving abilities and good professional ethics, so as to avoid the designated driver posing a serious threat to the personal safety of passengers.
[0030] However, the safety risk assessment in the designated driver service is not only affected by technical factors but may also be interfered with by human factors. For example, the designated driver may deliberately conceal or forge information to evade review and monitoring.
[0031] According to the embodiments of the present invention, an embodiment of a method for handling abnormal designated driver status is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0032] In this embodiment, a method for handling abnormal designated driver status is provided, which can be used in computer devices such as computers and servers. Figure 1 It is a flowchart of the method for handling abnormal designated driver status according to the embodiments of the present invention, as Figure 1 shown, and the process includes the following steps:
[0033] Step S101, obtain the associated information of the target vehicle; wherein, the associated information of the target vehicle includes the location information of the target vehicle, the movement information of the target vehicle, and the order status.
[0034] The associated information may include the location information of the target vehicle, the movement information of the target vehicle, and the order status. The location information of the target vehicle can characterize the driving distance of the target vehicle. Among them, the location information of the target vehicle can be S1, or S2, etc., and no specific limitation is made here.
[0035] The motion information of the target vehicle can characterize the state of the target vehicle. Among them, the motion information of the target vehicle can be that the target vehicle is in a moving state, the target vehicle is in a stopped state, etc., which are not specifically limited herein.
[0036] The order status can characterize the status of the order received by the driver on the platform. Among them, the order status can be the status that the order is being processed, the status that the order has ended, the status of order settlement, etc., which are not specifically limited herein.
[0037] Step S102: Determine whether there is an abnormality in the driver corresponding to the target vehicle according to the associated information of the target vehicle and the abnormality determination rule corresponding to the associated information.
[0038] The abnormality determination rule can characterize the rule for the associated information to be in an abnormal state. That is, when the associated information of the target vehicle conforms to the abnormality determination rule, it is determined whether there is an abnormality in the driver corresponding to the target vehicle.
[0039] As an example, the abnormality determination rule can be that the distance traveled by the target vehicle within 5 minutes is less than 15 m. When the associated information of the target vehicle indicates that the distance traveled by the target vehicle within 5 minutes is 10 m, it is determined that there is an abnormality in the driver corresponding to the target vehicle.
[0040] As an example, the abnormality determination rule can be that after the order ends, the distance traveled by the driver within 5 minutes is less than 15 m. When the associated information of the target vehicle indicates that after the order ends, the distance traveled by the driver within 5 minutes is 10 m, it is determined that there is an abnormality in the driver corresponding to the target vehicle.
[0041] Step S103: When there is an abnormality in the driver corresponding to the target vehicle, process the abnormal driver status through the platform to which the driver belongs.
[0042] When there is an abnormality in the driver corresponding to the target vehicle, it can be processed through the platform corresponding to the driver.
[0043] As an example, the platform corresponding to the driver can automatically send an alarm message to the platform and the terminal associated with the driver. Among them, the terminal can be the driver's mobile phone, the driver's tablet, etc., which are not specifically limited herein.
[0044] As an example, the platform corresponding to the driver can automatically send an alarm message to the platform and the terminal associated with the driver, and perform voice broadcast through the terminal.
[0045] As an example, the platform corresponding to the driver can back up relevant materials such as voice recordings in advance.
[0046] The method for handling abnormal chauffeuring status provided in this embodiment can reflect the key elements in the chauffeuring service process in real time by obtaining the associated information of the target vehicle, including location information, movement information, and order status. According to the associated information of the target vehicle, the corresponding abnormal determination rule is determined. By monitoring the associated information of the target vehicle in real time and comparing it with the abnormal determination rule, abnormal situations in the chauffeuring process can be detected in a timely manner. Once an abnormality is detected, a warning can be immediately issued to remind the platform or relevant personnel to handle it.
[0047] In a possible implementation manner, the above step S102 includes:
[0048] Step S201, when the order status is in the open execution state, the movement information of the target vehicle is in the moving state, and the first waiting time is reached, determine the first position information of the target vehicle within the first preset time period; wherein, the first position information indicates the distance traveled by the target vehicle within the first preset time period.
[0049] The first waiting time can represent the interval time for starting to monitor the location information of the target vehicle. For example: if the first waiting time is 5 minutes, then after the chauffeuring service receives the order and starts to execute the order, and the target vehicle has been traveling for 5 minutes, the vehicle can start to be monitored.
[0050] The first preset time period can represent any one of multiple consecutive monitoring time periods. For example: taking 5 minutes as a time period, the distance traveled by the target vehicle can be monitored in each first preset time period. Specifically, when the chauffeuring service receives the order and starts to execute the order, and the target vehicle is in motion, the position of the target vehicle in each first preset time period can be determined after the first waiting time. For example: in the first 5 minutes, the target vehicle travels 10 meters, and in the second 5 minutes, the target vehicle travels 15 meters, etc.
[0051] Step S202, determine whether there is an abnormality in the chauffeuring corresponding to the target vehicle according to the first position information of the target vehicle; and when the first position information of the target vehicle does not exceed the first geographical fence, determine that there is an abnormality in the chauffeuring corresponding to the target vehicle.
[0052] The first geographical fence may represent a circle centered on the target vehicle and enclosed with a preset radius (such as 25 meters). Among them, the circular area may represent the area occupied by the first geographical fence. Among them, if the first position information of the target vehicle exceeds the first geographical fence during the first monitoring process, the starting point reached by the target vehicle within the first preset time interval is used as the new center of the first geographical fence, and the first geographical fence is redefined. Then, according to the new first geographical fence, it is monitored again whether the first position information of the target vehicle within the first preset time interval exceeds the first geographical fence. If the first position information of the target vehicle does not exceed the first geographical fence, it is determined that there is an abnormality in the corresponding driver service.
[0053] As an example, in the state where the driver starts to serve the passenger, monitoring starts 5 minutes after starting to serve the passenger. If the moving distance within each 5 minutes is less than 50 meters, it is regarded as staying.
[0054] The method for handling abnormal driver service states provided in this embodiment can quickly capture abnormal situations during the driver service process by real-time monitoring of the order status, the movement information, and the position information of the target vehicle. Through the first waiting time and the first preset time, and by using parameters such as the first geographical fence, it is possible to accurately judge the driving situation of the target vehicle within a specific time period, so as to accurately identify whether there is an abnormality in the driver service.
[0055] In a possible implementation manner, the above step S102 includes:
[0056] Step S301, when the order status is in the executing state, the movement information of the target vehicle is in the stopped running state, and the second waiting time is reached, determine the second position information of the target vehicle within the second preset time period; among them, the second position information indicates the distance traveled by the target vehicle within the second preset time period.
[0057] The second waiting time may represent the waiting time for continuously monitoring the position information of the target vehicle and the movement information of the target vehicle being in the stopped running state. For example: if the second waiting time is 15 minutes, then the vehicle can be monitored after 15 minutes when the movement information of the target vehicle is in the stopped running state.
[0058] The second preset time period may represent any one of multiple consecutive monitoring time periods. For example: 5 minutes is used as a time period, and the distance traveled by the target vehicle can be monitored for each second preset time period. Specifically, when the movement information of the target vehicle is in the stopped running state, the position of the target vehicle within each second preset time period can be determined after the second waiting time. For example: within the first 5 minutes, the target vehicle travels 10 meters, and within the second 5 minutes, the target vehicle travels 15 meters, etc.
[0059] Step S302: Determine whether there is an abnormality in the designated driver corresponding to the target vehicle based on the second position information of the target vehicle; and when the second position information of the target vehicle does not exceed the second geographical fence, determine that there is an abnormality in the designated driver corresponding to the target vehicle.
[0060] The second geographical fence can represent a circle formed with the target vehicle as the center and a preset radius (such as 10 meters). Among them, the circular area can represent the area occupied by the second geographical fence. Among them, if the second position information of the target vehicle exceeds the second geographical fence during the first monitoring process, use the starting point reached by the target vehicle within the first preset time interval as the new center of the second geographical fence, redefine the second geographical fence, and then re-monitor whether the second position information of the target vehicle exceeds the second geographical fence within the second preset time interval according to the new second geographical fence. If the second position information of the target vehicle does not exceed the second geographical fence, determine that there is an abnormality in the designated driver corresponding to the target vehicle.
[0061] As an example, it is defined that when the designated driver has a normal stop (parking) service state during the process of sending the passenger, monitoring starts after waiting for 15 minutes. If the moving distance within every 5 minutes is less than 20 (D) meters, it is regarded as a stop.
[0062] The method for handling the abnormal state of the designated driver provided in this embodiment not only considers the order state and the movement information of the target vehicle, but also introduces the second waiting time and the second position information (that is, the distance traveled by the vehicle within the second preset time period) as the judgment basis, improving the accuracy of abnormal detection.
[0063] In a possible implementation manner, the above step S102 includes:
[0064] Step S401: When the order state is the executing state, the movement information of the target vehicle is the state of driving to the destination, and the third waiting time is reached, determine the third position information of the designated driver within the third preset time period; where the third position information indicates the distance traveled by the designated driver within the third preset time period.
[0065] The third waiting time can represent the interval time for starting to monitor the moving position of the designated driver when the position information of the target vehicle is that the target vehicle reaches the destination. For example: if the third waiting time is 5 minutes, then the monitoring of the designated driver can start after the target vehicle reaches the destination.
[0066] Step S402: Determine whether there is an abnormality in the designated driver according to the third position information of the designated driver; and when the third position information of the designated driver does not exceed the third geographical fence, determine that there is an abnormality in the designated driver.
[0067] The third geographical fence may represent a circle centered on the target vehicle and enclosed with a preset radius (such as 7.5 meters). Among them, the circular area may represent the area occupied by the third geographical fence. Among them, if the third position information of the driver exceeds the third geographical fence during the first monitoring process, the starting point reached by the driver within the third preset time interval is used as the new center of the third geographical fence, and the third geographical fence is redefined. Then, according to the new third geographical fence, it is monitored again whether the third position information of the driver within the third preset time interval exceeds the third geographical fence. If the third position information of the driver does not exceed the third geographical fence, it is determined that the driver is abnormal.
[0068] As an example, it is defined that in the service state where the driver delivers the passenger to the destination, monitoring starts after waiting for 3 minutes. If the moving distance within every 5 minutes is less than 15 meters, it is regarded as staying.
[0069] The method for handling the abnormal state of the driver provided in this embodiment particularly considers the state where the target vehicle has traveled to the destination, and can more accurately determine whether the driver has completed the service and stays in a reasonable position. By setting the third waiting time and the third geographical fence, this method can more precisely capture the abnormal situation after the driver service ends.
[0070] In a possible implementation manner, the above step S102 includes:
[0071] Step S501, when the order status is the end status, the running information of the target vehicle is the status of traveling to the destination, and the fourth waiting time is reached, determine the fourth position information of the driver within the fourth preset time period; among them, the fourth position information indicates the distance that the driver moves within the fourth preset time period.
[0072] The fourth waiting time may represent the interval time of the driving position of the driver after the user settles the price based on the position information of the target vehicle. For example: if the fourth waiting time is 25 minutes, then the driver can be monitored 25 minutes after the user settles the price.
[0073] Step S502, determine whether the driver is abnormal according to the fourth position information of the driver; and when the fourth position information of the driver does not exceed the fourth geographical fence, determine that the driver is abnormal.
[0074] The fourth geographical fence may represent a circle centered on the target vehicle and enclosed with a preset radius (such as 7.5 meters). Among them, the circular area may represent the area occupied by the fourth geographical fence. Among them, if the fourth position information exceeds the fourth geographical fence during the first monitoring of the driver service, the starting point reached by the driver service at the fourth preset time interval is used as the new center of the fourth geographical fence, and the fourth geographical fence is redefined. Then, according to the new fourth geographical fence, it is monitored again whether the fourth position information of the driver service within the fourth preset time interval exceeds the fourth geographical fence. If the fourth position information of the driver service does not exceed the fourth geographical fence, it is determined that the driver service is abnormal.
[0075] In a possible implementation, when the fourth position information detected for the first time exceeds the fourth geographical fence and exceeds the fourth geographical fence by a certain distance (such as 30 meters), there is no need to monitor again.
[0076] As an example, after the driver service confirms the ride fee, it waits for 10 minutes to start monitoring and continuously monitors for 25 minutes (multiple rounds of monitoring). If the moving distance within every 5 minutes is less than 20 meters, it is regarded as staying.
[0077] For the method for handling abnormal driver service status provided in this embodiment, when the fourth position information of the driver service does not exceed the fourth geographical fence, the system can immediately give an abnormal prompt, which helps the user to timely understand the abnormal situation of the driver service and take corresponding countermeasures. By providing accurate and timely driver service position information and abnormal warnings, this method can enhance the user's trust and satisfaction with the driver service, and thus improve the overall user experience.
[0078] In a possible implementation, the above method further includes: updating the abnormal determination rule corresponding to the associated information according to a preset time interval.
[0079] The abnormal determination rule can be updated at a preset time interval. For example, at 60s, the abnormal determination rule can be reloaded. When the new abnormal determination rule is inconsistent with the current abnormal determination rule, the current abnormal determination rule can be updated.
[0080] For the method for handling abnormal driver service status provided in this embodiment, by updating the abnormal determination rule corresponding to the associated information at a preset time interval, it can ensure that the abnormal determination rule corresponding to the associated information is in the latest state, so as to accurately determine whether the driver service is abnormal.
[0081] In a possible implementation, this embodiment provides a method for handling abnormal driver service status, and the method includes:
[0082] Define the stay rules for different service states of the designated driver, including the rule abstraction of staying and the dynamically adjustable thresholds included in the rules (ST represents how long to wait in a specific service state before starting monitoring, ET represents the time interval for identifying stays, CT represents how long to continuously monitor, and D represents how far to move within the interval time (ET) to be considered a stay).
[0083] a. Rule 1: Define that when the driver starts the service of sending the passenger, monitoring starts 5 (ST) minutes after starting to send the passenger. If the moving distance within every 5 (ET) minutes is less than 50 (D) meters, it is considered a stay.
[0084] b. Rule 2: Define that when the driver has a normal stop (parking) during the process of sending the passenger, monitoring starts after waiting 15 (ST) minutes. If the moving distance within every 5 (ET) minutes is less than 20 (D) meters, it is considered a stay.
[0085] c. Rule 3: Define that when the driver sends the passenger to the destination, monitoring starts after waiting 3 (ST) minutes. If the moving distance within every 5 (ET) minutes is less than 15 meters, it is considered a stay.
[0086] d. Rule 4: Define that after the driver confirms the ride fee, monitoring starts after waiting 10 (ST) minutes and continuously monitors for 25 (CT) minutes (multiple rounds of monitoring). If the moving distance within every 5 (ET) minutes is less than 20 (D) meters, it is considered a stay.
[0087] 2. Define the data source of this system. Define the source through Flink and subscribe to the location data of different service states of the driver, including the longitude and latitude information of the driver in different service states. The key fields are driver id, service_state (service status), service_state_time (time when the service status occurs), lon (longitude), lat (latitude), and event_time (time when the location event occurs).
[0088] 3.Define the external dimension table of Flink, load the rules defined in [1], and define the cache period as 60s, that is: load the rules once every 60 seconds to achieve the ability of dynamic loading and dynamic rule change recognition.
[0089] 4. Based on the location data of different states in [2] as the basic data, and using service_state (service status) as the association condition, associate the rule information loaded in [3], that is: attach the corresponding rules and dynamically adjustable thresholds ST, ET, CT, and D to each location data.
[0090] 5. In Flink-CEP, define the key events A, B, and C for identifying stay behaviors.
[0091] a. Start event A (when to start recognizing the stay). The condition for A is that in the service state in [1], the time of the location event is greater than ST (how long to wait to start recognizing and monitoring) compared to the time when the service state occurs;
[0092] b. Re-identification event B. It is defined that if the driver exceeds D in advance within ET or the driver's service state changes <such as changing from dropping off a passenger to staying and resting midway, the stay recognition needs to be re-performed according to the rules of the new service state>;
[0093] c. Stay recognition event C. It is defined that when the time difference between the occurrence time event_time of the driver's location event and the occurrence time of the service state is greater than ET and the driver's moving distance is less than D relative to the longitude and latitude of event A, it is regarded as a stay. For the driver in the service state of confirming the ride fee, it is only continuously monitored for CT minutes, that is, the time of the service state of confirming the ride and event A needs to be less than CT.
[0094] 6. Through the event definitions in [a], [b], and [c], when the driver is in a certain service state, it waits for (ST) minutes to start monitoring, and checks whether the driver is staying every (ET) minutes. If the driver's moving distance exceeds D or the service state changes during this period, it directly enters the next round of stay recognition. If after reaching the time of ST + ET, the driver's moving distance is less than D, the stay recognition is successful, and the driver's information is sent to the downstream system. Through the above continuous monitoring of recognition, the risk behaviors of the driver can be effectively known in the first time, and platform intervention or early backup of relevant materials such as voice recording can be carried out.
[0095] It should be noted that ST (Start Time): How long to wait to start monitoring in a specific service state.
[0096] ET (Event Time): The time interval for recognizing the stay, that is, how often to check whether the driver is staying.
[0097] CT (Continuous Time): How long to continuously monitor, especially for some specific states, continuous monitoring for a period of time is required.
[0098] D (Distance): How long a moving distance is regarded as a stay within the ET interval.
[0099] The method for handling abnormal driver service states provided in this embodiment can recognize and continuously monitor the risk behaviors of staying during the ride in real time based on the driver location service data, with strong timeliness and high recognition. Moreover, different rules for different driver service states can be defined and dynamically loaded based on specific business scenarios, which is convenient for project implementation and promotion.
[0100] In addition, the system abstracts the core dynamic rule thresholds through the driver service scenario, enabling the definition of different stay rules for specific scenarios in real time. It has a wide range of applications, high recognition accuracy, and is flexible and adjustable.
[0101] In addition, the system is developed based on Flink and Flink-CEP technologies, featuring stability, timeliness, reliability, etc., and is easy to develop, scalable, and has low deployment costs.
[0102] In this embodiment, a processing device for abnormal driver service status is also provided. This device is used to implement the above-mentioned embodiments and preferred implementation manners, and those that have been described will not be repeated. As used hereinafter, the term "module" can be a combination of software and / or hardware that can achieve a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0103] This embodiment provides a processing device for abnormal driver service status, as Figure 2 shown, including: an acquisition module 201 for acquiring the associated information of the target vehicle; wherein, the associated information of the target vehicle includes the location information of the target vehicle, the movement information of the target vehicle, and the order status; a determination module 202 for determining whether there is an abnormality in the driver corresponding to the target vehicle according to the associated information of the target vehicle and the abnormal determination rule corresponding to the associated information; and a processing module 203 for, when there is an abnormality in the driver corresponding to the target vehicle, performing processing on the abnormal driver service status through the platform to which the driver belongs.
[0104] In a possible implementation manner, the determination module 202 includes: a first determination unit for determining the first location information of the target vehicle within a first preset time period when the order status is the start execution status, the movement information of the target vehicle is the moving status, and the first waiting time is reached; wherein, the first location information indicates the distance traveled by the target vehicle within the first preset time period; a second determination unit for determining whether there is an abnormality in the driver corresponding to the target vehicle according to the first location information of the target vehicle; and determining that there is an abnormality in the driver corresponding to the target vehicle when the first location information of the target vehicle does not exceed the first geographical fence.
[0105] In a possible implementation, the determination module 202 includes: a third determination unit that determines the second position information of the target vehicle within a second preset time period when the order status is the executing status, the movement information of the target vehicle is the stopped running status, and the second waiting time is reached; wherein the second position information indicates the distance traveled by the target vehicle within the second preset time period; a fourth determination unit that determines whether there is an abnormality in the driver corresponding to the target vehicle according to the second position information of the target vehicle; and determines that there is an abnormality in the driver corresponding to the target vehicle when the second position information of the target vehicle does not exceed the second geographical fence.
[0106] In a possible implementation, the determination module 202 includes: a fifth determination unit that determines the third position information of the driver within a third preset time period when the order status is the executing status, the movement information of the target vehicle is the traveling-to-destination status, and the third waiting time is reached; wherein the third position information indicates the distance traveled by the driver within the third preset time period; a sixth determination unit that determines whether there is an abnormality in the driver according to the third position information of the driver; and determines that there is an abnormality in the driver when the third position information of the driver does not exceed the third geographical fence.
[0107] In a possible implementation, the determination module 202 includes: a seventh determination unit that determines the fourth position information of the driver within a fourth preset time period when the order status is the ended status, the running information of the target vehicle is the traveling-to-destination status, and the fourth waiting time is reached; wherein the fourth position information indicates the distance the driver has moved within the fourth preset time period; an eighth determination unit that determines whether there is an abnormality in the driver according to the fourth position information of the driver; and determines that there is an abnormality in the driver when the fourth position information of the driver does not exceed the fourth geographical fence.
[0108] In a possible implementation, the above device further includes: an update module that updates the abnormality determination rule corresponding to the association information according to a preset time interval.
[0109] The further function descriptions of the above various modules and units are the same as those in the corresponding above embodiments, and will not be repeated here.
[0110] The device for handling abnormal driver status in this embodiment is presented in the form of functional units. Here, the functional units refer to ASIC (Application Specific Integrated Circuit) circuits, processors and memories that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0111] The embodiment of the present invention also provides a computer device having the above Figure 2The handling device for abnormal designated driver status shown in the figure.
[0112] Please refer to Figure 3 , Figure 3 which is a schematic structural diagram of a computer device provided by an optional embodiment of the present invention. As Figure 3 shown, the computer device includes: one or more processors 10, a memory 20, and an interface for connecting each component, including a high-speed interface and a low-speed interface. Each component communicates with each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed within the computer device, including instructions stored in the memory or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a set of blade servers, or a multi-processor system). Figure 3 In
[0113] which, one processor 10 is taken as an example.
[0114] The processor 10 can be a central processing unit, a network processor, or a combination thereof. Among them, the processor 10 can further include a hardware chip. The above hardware chip can be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The above programmable logic device can be a complex programmable logic device, a field programmable gate array, a general array logic, or any combination thereof.
[0115] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiments.
[0116] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, a hard disk, or a solid state drive; the memory 20 may further include a combination of the above types of memory.
[0117] The computer device further includes a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0118] An embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or be implemented as computer code that can be recorded on a storage medium, or be implemented as computer code that is originally stored in a remote storage medium or a non-transitory machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid state drive, etc.; further, the storage medium can also include a combination of the above types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code, and when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the method shown in the above embodiment is implemented.
[0119] A part of the present invention can be applied as a computer program product, such as computer program instructions, which when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should be able to understand that the forms of existence of computer program instructions in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Herein, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible by the computer.
[0120] Although the embodiments of the present invention are described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for handling abnormal driving service states, characterized in that, The method includes: Obtaining the associated information of the target vehicle; wherein, the associated information of the target vehicle includes the location information of the target vehicle, the movement information of the target vehicle, and the order status; Determining whether there is an abnormality in the driver corresponding to the target vehicle according to the associated information of the target vehicle and the abnormality determination rule corresponding to the associated information; When there is an abnormality in the driver corresponding to the target vehicle, processing the abnormal driver status through the platform to which the driver belongs.
2. The method for processing abnormal driving service states according to claim 1, wherein Determining whether there is an abnormality in the driver corresponding to the target vehicle according to the associated information of the target vehicle and the abnormality determination rule corresponding to the associated information includes: When the order status is the start execution status, the movement information of the target vehicle is the moving status, and the first waiting time is reached, determining the first location information of the target vehicle within the first preset time period; wherein, the first location information indicates the distance traveled by the target vehicle within the first preset time period; Determining whether there is an abnormality in the driver corresponding to the target vehicle according to the first location information of the target vehicle; and when the first location information of the target vehicle does not exceed the first geographical fence, determining that there is an abnormality in the driver corresponding to the target vehicle.
3. The method for handling abnormal driving service states according to claim 1, wherein Determining whether there is an abnormality in the driver corresponding to the target vehicle according to the associated information of the target vehicle and the abnormality determination rule corresponding to the associated information includes: When the order status is the in-execution status, the movement information of the target vehicle is the stopped operation status, and the second waiting time is reached, determining the second location information of the target vehicle within the second preset time period; wherein, the second location information indicates the distance traveled by the target vehicle within the second preset time period; Determining whether there is an abnormality in the driver corresponding to the target vehicle according to the second location information of the target vehicle; and when the second location information of the target vehicle does not exceed the second geographical fence, determining that there is an abnormality in the driver corresponding to the target vehicle.
4. The method for processing abnormal driving service states according to claim 1, wherein Determining whether there is an abnormality in the driver corresponding to the target vehicle according to the associated information of the target vehicle and the abnormality determination rule corresponding to the associated information includes: When the order status is the in-execution status, the movement information of the target vehicle is the arrived-at-destination status, and the third waiting time is reached, determining the third location information of the driver within the third preset time period; wherein, the third location information indicates the distance traveled by the driver within the third preset time period; Determining whether there is an abnormality in the driver according to the third location information of the driver; and when the third location information of the driver does not exceed the third geographical fence, determining that there is an abnormality in the driver.
5. The method for handling abnormal driving service status according to claim 1, wherein Determining whether there is an abnormality in the driver corresponding to the target vehicle according to the associated information of the target vehicle and the abnormality determination rule corresponding to the associated information includes: When the order status is the end status, the operation information of the target vehicle is the arrived-at-destination status, and the fourth waiting time is reached, determining the fourth location information of the driver within the fourth preset time period; wherein, the fourth location information indicates the distance the driver has moved within the fourth preset time period; Determine whether there is an abnormality in the designated driver according to the fourth location information of the designated driver; and determine that there is an abnormality in the designated driver when the fourth location information of the designated driver does not exceed the fourth geographical fence.
6. The method for handling abnormal driving service states according to any one of claims 1-5, characterized in that, The method further includes: Updating the abnormality determination rule corresponding to the association information at a preset time interval.
7. A handling device for abnormal driving service status, characterized in that The device includes: An acquisition module, configured to acquire the association information of a target vehicle; wherein, the association information of the target vehicle includes the location information of the target vehicle, the movement information of the target vehicle, and the order status; A determination module, configured to determine whether there is an abnormality in the designated driver corresponding to the target vehicle according to the association information of the target vehicle and the abnormality determination rule corresponding to the association information; A processing module, configured to, when there is an abnormality in the designated driver corresponding to the target vehicle, perform processing on the abnormal state of the designated driver through the platform to which the designated driver belongs.
8. A computer device, characterized in that, Includes: A memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to execute the method for processing the abnormal state of the designated driver according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, Computer instructions are stored on the computer-readable storage medium, and the computer instructions are used to cause a computer to execute the method for processing the abnormal state of the designated driver according to any one of claims 1 to 6.
10. A computer program product, characterized in that, Includes computer instructions, and the computer instructions are used to cause a computer to execute the method for processing the abnormal state of the designated driver according to any one of claims 1 to 6.