Method, device and equipment for judging deviation of vehicle driving route and medium

By converting the latitude and longitude coordinates of the track point into geographic grid encoding, and comparing the encoding of the actual driving route with the encoding of the pre-specified route, the problem of relying on map services or GIS software in the prior art is solved, and efficient and low-cost judgment of vehicle driving deviations is achieved.

CN119705464APending Publication Date: 2025-03-28CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411589881.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

When judging that the vehicle deviates from the route, the prior art requires the use of map services or professional GIS software, which poses problems such as risk of data out-of-domain, high cost and high usage threshold.

Method used

By converting the latitude and longitude coordinates of the track point into geographic grid code, and comparing the code of the actual driving route with the code of the pre-specified route, we can determine whether the vehicle deviates from the route. This method does not rely on map services or professional GIS software.

Benefits of technology

It realizes efficient judgment of the vehicle's driving deviation from the route without uploading data to the external system, reducing costs and usage thresholds, and supporting real-time or batch data analysis, improving judgment efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119705464A_ABST
    Figure CN119705464A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of logistics transportation monitoring, in particular to a method, a device, equipment and a medium for judging deviation of a vehicle driving route, and the method comprises the steps: converting a first track point set on a target driving route into a first geographic grid code set; acquiring a second track point formed on the actual driving route of the target vehicle, and converting the second track point into a second geographic grid code; and comparing the second geographic grid code with the geographic grid codes in the first geographic grid code set, and judging whether the target vehicle deviates from the target driving route or not according to a comparison result. Analysis and judgment of deviation between the actual driving route of the vehicle and the pre-specified route are realized under the condition of not using map service or professional GIS (Geographic Information System) software.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of logistics and transportation monitoring, and in particular to a method, device, equipment and medium for determining whether a vehicle deviates from a route. Background Art

[0002] Monitoring whether vehicles carrying out transportation tasks follow pre-specified routes is a common requirement in the field of logistics and transportation. For example, vehicles transporting high-value goods, sensitive goods (such as hazardous waste, raw materials for making narcotics), etc. need to strictly follow pre-specified routes, and timely alarms are required in case of deviations.

[0003] The existing comparison method of whether a vehicle has deviated from the designated route often requires the use of some professional GIS (Geographic Information Technology) engine tools, or the vehicle's driving coordinate set and the designated route coordinate set need to be uploaded to the system of an external map service provider for processing to make a judgment, such as using Amap's Falcon Track Service or Baidu's Eagle Eye Track Service. Although the services provided by external map service providers are highly accurate, they have the following problems:

[0004] 1. Data out of the domain (i.e. uploading data to an external system) involves the risk of data leakage, which is not allowed in every enterprise or scenario. For example, for the transportation of high-value goods and dangerous goods, there are corresponding confidentiality requirements for the routes and vehicle locations.

[0005] 2. The interfaces provided by map service providers generally have strict concurrent QPS and daily access limit. There are also limits on the number of parameters that the interface can accept at one time (such as the number of coordinate points allowed to be transmitted at one time). If you need to analyze large amounts of data, you often need to call repeatedly to get the results.

[0006] If it is achieved with the help of professional GIS software, the cost is relatively high and it is necessary to deploy related software or purchase services. The existing data may need to be re-cleaned and stored in the format required by the GIS software. At the same time, users are required to master the use of relevant GIS methods. Summary of the invention

[0007] The present invention provides a method, device, equipment and medium for judging whether a vehicle has deviated from a route, so as to analyze and judge whether the actual route of the vehicle deviates from a pre-specified route without the aid of map services or professional GIS software.

[0008] In a first aspect, the present disclosure provides a method for determining whether a vehicle deviates from a route, comprising:

[0009] Converting a first track point set on the target driving route into a first geographic grid code set;

[0010] Acquire a second trajectory point formed by the target vehicle on the actual driving route, and convert the second trajectory point into a second geographic grid code;

[0011] The second geographic grid code is compared with the geographic grid code in the first geographic grid code set, and whether the target vehicle deviates from the target driving route is determined according to the comparison result.

[0012] In some embodiments, the first geographic grid code set and the second geographic grid code set are obtained by converting the longitude and latitude coordinates of the trajectory points into codes of the corresponding geographic grids using a grid algorithm.

[0013] In some embodiments, the grid algorithm includes one of GeoHash, uber H3, and google s2.

[0014] In some embodiments, comparing the second geographic grid code with the geographic grid code in the first geographic grid code set, and determining whether the target vehicle deviates from the target driving route according to the comparison result includes:

[0015] Obtaining the time when the second track point corresponding to the second geographic grid code is generated;

[0016] In the abnormal case that the current second geographic grid code is inconsistent with the geographic grid code corresponding to the first trajectory point at the same time, recording the current second geographic grid code;

[0017] When the abnormal situation occurs continuously and the duration reaches a set threshold, it is determined that the target vehicle deviates from the target driving route.

[0018] In some embodiments, when a target vehicle deviates from a target driving route, an alarm is issued and / or information about the target vehicle deviating from the target driving route is recorded.

[0019] In some embodiments, the second trajectory points formed by the target vehicle on the actual driving route are acquired in real time or offline; when the second trajectory points formed by the target vehicle on the actual driving route are acquired in real time, the latitude and longitude coordinates of the second trajectory points sent during the driving process of the target vehicle are continuously read through real-time processing technology.

[0020] In a second aspect, the present disclosure provides a device for determining whether a vehicle has deviated from a route, comprising:

[0021] A first conversion module, used to convert a first track point set on the target driving route into a first geographic grid code set;

[0022] A second conversion module is used to obtain a second track point formed by the target vehicle on the actual driving route, and convert the second track point into a second geographic grid code;

[0023] The judgment module is used to compare the second geographic grid code with the geographic grid code in the first geographic grid code set, and judge whether the target vehicle deviates from the target driving route according to the comparison result.

[0024] In a third aspect, the present disclosure provides a computer device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method described in the first aspect.

[0025] In a fourth aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the method described in the first aspect when executed by a processor.

[0026] In a fifth aspect, the present disclosure provides a computer program product, comprising a computer program / instructions, characterized in that when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0027] The present disclosure provides a method, device, equipment and medium for judging whether a vehicle has deviated from its route, so as to analyze and judge whether the actual route of a vehicle deviates from the pre-specified route without the help of map services or professional GIS software, so as to avoid possible data out of domain (i.e., not uploading enterprise data to an external third-party system) or high usage threshold (such as deploying professional GIS software, developers need to use some spatial computing principles). In addition, it supports the use of big data technology to judge the vehicle coordinate data collected during the existing driving tasks in real time or in batches, thereby improving the judgment efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The present disclosure will be described in more detail below based on embodiments and with reference to the accompanying drawings:

[0029] Figure 1 A flowchart of a method for determining whether a vehicle has deviated from a route provided in an embodiment of the present disclosure.

[0030] Figure 2 A schematic diagram for determining whether a target vehicle deviates from a target driving route provided in an embodiment of the present disclosure;

[0031] In the drawings, the same reference numerals are used for the same components, and the drawings are not drawn to scale. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, and to fully understand and implement how the present disclosure applies technical means to solve technical problems and achieve the corresponding technical effects, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only embodiments of a part of the present disclosure, not all of the embodiments. The embodiments of the present disclosure and the various features in the embodiments can be combined with each other without conflict, and the technical solutions formed are all within the scope of protection of the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work should fall within the scope of protection of the present disclosure.

[0033] Embodiment 1

[0034] Figure 1 The following is a flow chart of a method for determining whether a vehicle has deviated from a route provided by an embodiment of the present disclosure. Figure 1 As shown, this embodiment provides a method for determining whether a vehicle deviates from a route, including:

[0035] Step S11: converting a first track point set on the target driving route into a first geographic grid code set.

[0036] Step S12: Acquire second track points formed by the target vehicle on the actual driving route, and convert the second track points into second geographic grid codes.

[0037] The geographic grid technology is to convert the longitude and latitude coordinates into the code of the corresponding grid. This embodiment uses the geographic grid technology to convert the coordinates of the track point from longitude and latitude to the code of the grid where it is located.

[0038] In some specific embodiments, the first geographic grid code set and the second geographic grid code set are obtained by converting the longitude and latitude coordinates of the trajectory point into the code of the corresponding geographic grid using a grid algorithm. The grid algorithm includes one of GeoHash, Uber H3, and Google S2. It should be understood that other grid algorithms can also be used in practical applications to achieve code conversion. Different grid algorithms correspond to different grid shapes. For example, the grid shapes corresponding to geographic hashing are rectangles and squares, and Uber H3 is hexagonal. At the same time, for each grid algorithm, the side length of its grid can be specified by different precision settings. For example, for the geographic hashing algorithm, if the precision is set to 7, the side length of the grid is about 152 meters. It can be imagined that the surface of the earth is covered with many rectangles with a side length of 152 meters. Each rectangle has a unique code, such as the 7-bit geographic hash code corresponding to the longitude and latitude coordinates (116.20, 39.56) is wx49h1w.

[0039] The advantage of geographic grid technology is that it can easily determine a set of identical or adjacent areas (i.e. grids) by string comparison. If two coordinate points have the same converted spatial grid code, they can be considered to be in the same area, without the need to calculate the distance between each coordinate point and other coordinate points through mathematical formulas. This greatly improves convenience, because in many logistics monitoring scenarios, it is not necessary to strictly know the exact distance between points, but only to know whether these points are in a specific area.

[0040] At the same time, since the spatial grid code is just a simple string, it can be stored in the VARCHAR field of a common database table, or represented by a String field in the development language, without the need to use a professional geographic information storage format. In addition, whether it is geographic hashing, uber h3, or google s2 and other spatial grid algorithms, there are a large number of open source algorithm packages available for direct use.

[0041] In this embodiment, the target driving route is a set of trajectory points (coordinates). Each coordinate can be converted into a corresponding spatial grid code and stored. The side length of the grid can be specified based on the width of the road corresponding to the route and the side length determined by multiple tests. The first geographic grid code set obtained after the coordinate conversion of the target driving route can be expressed as GR1.

[0042] Step S13: compare the second geographic grid code with the geographic grid code in the first geographic grid code set, and determine whether the target vehicle deviates from the target driving route based on the comparison result.

[0043] In some embodiments, when the target vehicle deviates from the target driving route, an alarm is issued and / or information about the target vehicle deviating from the target driving route is recorded.

[0044] The alarm may be fed back to the owner of the target vehicle, the manager of the monitoring information, or other persons / subjects with monitoring needs. The information recorded that the target vehicle deviates from the target driving route includes but is not limited to the interval, time period, and relevant information of the target vehicle.

[0045] This embodiment uses geographic grid technology (including but not limited to geographic hash technology, Uber H3 technology, Google S2 technology) to analyze the deviation of the vehicle's driving trajectory and the designated route. There is no need to upload data to an external map system or use professional GIS software. Based on this method, the deviation analysis, judgment and alarm of the transportation vehicle's driving trajectory can be carried out in a timely and accurate manner through simple coding.

[0046] In some specific embodiments, Figure 2 As shown, comparing the second geographic grid code with the geographic grid code in the first geographic grid code set, and judging whether the target vehicle deviates from the target driving route according to the comparison result may further include:

[0047] Step S13a: Obtain the time when the second track point corresponding to the second geographic grid code is generated.

[0048] Step S13b: In the abnormal case that the current second geographic grid code is inconsistent with the geographic grid code corresponding to the first trajectory point at the same time, the current second geographic grid code is recorded.

[0049] Step S13c: when the abnormal situation occurs continuously and the duration reaches a set threshold, it is determined that the target vehicle deviates from the target driving route.

[0050] In some embodiments, the second trajectory points formed by the target vehicle on the actual driving route are acquired in real time or offline; when the second trajectory points formed by the target vehicle on the actual driving route are acquired in real time, the latitude and longitude coordinates of the second trajectory points sent during the driving process of the target vehicle are continuously read through real-time processing technology.

[0051] Real-time processing technologies include but are not limited to flink, spark structured streaming and other real-time processing technologies, which continuously read the coordinates sent by the vehicle during driving, convert the coordinates into spatial grid codes with the same accuracy and algorithm as the road coordinates corresponding to the target driving route, and determine whether the code appears in the code set corresponding to the road coordinates. If not, it is recorded. Once a group of grids that are not in GR1 appear continuously, it means that a group of continuous coordinates are not within the original route range.

[0052] Since each coordinate signal fed back by the vehicle has a sending time, the duration of these continuous coordinates can be calculated. Once the set monitoring threshold is reached, for example, if the vehicle is not on the original road for 30 minutes during driving, an alarm can be given or recorded.

[0053] For offline analysis of whether the target vehicle deviates from the target driving route, the recorded coordinates of the vehicle during driving are taken out, converted and compared with the coding set generated by the coordinates in the target driving route.

[0054] The method of this embodiment realizes the analysis and judgment of the deviation between the actual driving route of the vehicle and the pre-specified route without the help of map services or professional GIS software.

[0055] Embodiment 2

[0056] Corresponding to the first embodiment, this embodiment provides a device for determining whether a vehicle has deviated from a route, comprising:

[0057] A first conversion module, used to convert a first track point set on the target driving route into a first geographic grid code set;

[0058] A second conversion module is used to obtain a second track point formed by the target vehicle on the actual driving route, and convert the second track point into a second geographic grid code;

[0059] The judgment module is used to compare the second geographic grid code with the geographic grid code in the first geographic grid code set, and judge whether the target vehicle deviates from the target driving route according to the comparison result.

[0060] In some specific embodiments, the first geographic grid code set and the second geographic grid code set are obtained by converting the longitude and latitude coordinates of the trajectory point into the code of the corresponding geographic grid using a grid algorithm. The grid algorithm includes one of GeoHash, Uber H3, and Google S2. It should be understood that other grid algorithms can also be used in practical applications to achieve code conversion. Different grid algorithms correspond to different grid shapes. For example, the grid shapes corresponding to geographic hashing are rectangles and squares, and Uber H3 is hexagonal. At the same time, for each grid algorithm, the side length of its grid can be specified by different precision settings. For example, for the geographic hashing algorithm, if the precision is set to 7, the side length of the grid is about 152 meters. It can be imagined that the surface of the earth is covered with many rectangles with a side length of 152 meters. Each rectangle has a unique code, such as the 7-bit geographic hash code corresponding to the longitude and latitude coordinates (116.20, 39.56) is wx49h1w.

[0061] The advantage of geographic grid technology is that it can easily determine a set of identical or adjacent areas (i.e. grids) by string comparison. If two coordinate points have the same converted spatial grid code, they can be considered to be in the same area, without the need to calculate the distance between each coordinate point and other coordinate points through mathematical formulas. This greatly improves convenience, because in many logistics monitoring scenarios, it is not necessary to strictly know the exact distance between points, but only to know whether these points are in a specific area.

[0062] At the same time, since the spatial grid code is just a simple string, it can be stored in the VARCHAR field of a common database table, or represented by a String field in the development language, without the need to use a professional geographic information storage format. In addition, whether it is geographic hashing, uber h3, or google s2 and other spatial grid algorithms, there are a large number of open source algorithm packages available for direct use.

[0063] In this embodiment, the target driving route is a set of trajectory points (coordinates). Each coordinate can be converted into a corresponding spatial grid code and stored. The side length of the grid can be specified based on the width of the road corresponding to the route and the side length determined by multiple tests. The first geographic grid code set obtained after the coordinate conversion of the target driving route can be expressed as GR1.

[0064] In some embodiments, when the target vehicle deviates from the target driving route, an alarm is issued and / or information about the target vehicle deviating from the target driving route is recorded.

[0065] The alarm may be fed back to the owner of the target vehicle, the manager of the monitoring information, or other persons / subjects with monitoring needs. The information recorded that the target vehicle deviates from the target driving route includes but is not limited to the interval, time period, and relevant information of the target vehicle.

[0066] This embodiment uses geographic grid technology (including but not limited to geographic hash technology, Uber H3 technology, Google S2 technology) to analyze the deviation of the vehicle's driving trajectory and the designated route. There is no need to upload data to an external map system or use professional GIS software. Based on this method, the deviation analysis, judgment and alarm of the transportation vehicle's driving trajectory can be carried out in a timely and accurate manner through simple coding.

[0067] In some specific implementations, comparing the second geographic grid code with the geographic grid code in the first geographic grid code set, and determining whether the target vehicle deviates from the target driving route according to the comparison result may further include:

[0068] The time when the second track point corresponding to the second geographic grid code is generated is obtained. In the abnormal case that the current second geographic grid code is inconsistent with the geographic grid code corresponding to the first track point at the same time, the current second geographic grid code is recorded. And when the abnormal situation occurs continuously and the duration reaches a set threshold, it is determined that the target vehicle deviates from the target driving route.

[0069] In some embodiments, the second trajectory points formed by the target vehicle on the actual driving route are acquired in real time or offline; when the second trajectory points formed by the target vehicle on the actual driving route are acquired in real time, the latitude and longitude coordinates of the second trajectory points sent during the driving process of the target vehicle are continuously read through real-time processing technology.

[0070] Real-time processing technologies include but are not limited to flink, spark structured streaming and other real-time processing technologies, which continuously read the coordinates sent by the vehicle during driving, convert the coordinates into spatial grid codes with the same accuracy and algorithm as the road coordinates corresponding to the target driving route, and determine whether the code appears in the code set corresponding to the road coordinates. If not, it is recorded. Once a group of grids that are not in GR1 appear continuously, it means that a group of continuous coordinates are not within the original route range.

[0071] This embodiment realizes the analysis and judgment of the deviation between the actual driving route of the vehicle and the pre-specified route without the help of map services or professional GIS software.

[0072] Embodiment 3

[0073] This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory, and the processor executes the computer program to implement the steps of the method of the first embodiment.

[0074] Embodiment 4

[0075] This embodiment 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 of the first embodiment are implemented.

[0076] Embodiment 5

[0077] This embodiment provides a computer program product, including a computer program / instructions. When the computer program is executed by a processor, the steps of the method of the first embodiment are implemented.

[0078] The processor may include, but is not limited to, one or more processors or microprocessors. Each processor may be an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components to execute the method in the above embodiments.

[0079] The computer-readable storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, and the computer-readable storage medium may include but is not limited to, for example, random access memory (RAM), read-only memory (ROM), flash memory, EPROM memory, EEPROM memory, registers, computer storage media (e.g., hard disk, floppy disk, solid-state drive, removable disk, CD-ROM, DVD-ROM, Blu-ray disc, etc.).

[0080] The computer-readable storage medium may also store at least one computer executable program / instruction, which may be, for example, a computer-readable instruction. The computer-readable storage medium includes, but is not limited to, for example, a volatile memory and / or a non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The computer-readable storage medium may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. For example, a non-transitory computer-readable storage medium may be connected to a computing device such as a computer, and then, when the computing device runs the computer-readable instructions stored on the computer-readable storage medium, the various methods described above may be performed.

[0081] In addition, the computer device may also include (but not limited to) a data bus, an input / output (I / O) bus, a display, and input / output devices (eg, keyboard, mouse, speaker, etc.), etc.

[0082] The processor may communicate with external devices via an I / O bus via a wired or wireless network.

[0083] In one embodiment, the at least one computer executable instruction may also be compiled into or constitute a software product / computer program product, wherein one or more computer executable instructions are executed by a processor to perform the various functions and / or method steps in the embodiments described in the present technology.

[0084] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0085] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0086] In the embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0087] It should be noted that in the present disclosure, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element limited by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0088] Although the embodiments disclosed in the present disclosure are as above, the above contents are only embodiments adopted for facilitating the understanding of the present disclosure and are not intended to limit the present disclosure. Any technician in the technical field to which the present disclosure belongs can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present disclosure, but the scope of patent protection of the present disclosure shall still be subject to the scope defined in the attached claims.

Claims

1. A method for determining whether a vehicle has deviated from a route, characterized in that: include: Converting a first track point set on the target driving route into a first geographic grid code set; Acquire a second trajectory point formed by the target vehicle on the actual driving route, and convert the second trajectory point into a second geographic grid code; The second geographic grid code is compared with the geographic grid code in the first geographic grid code set, and whether the target vehicle deviates from the target driving route is determined according to the comparison result.

2. The method according to claim 1, characterized in that The first geographic grid code set and the second geographic grid code set are obtained by converting the longitude and latitude coordinates of the trajectory points into codes of corresponding geographic grids using a grid algorithm.

3. The method according to claim 2, characterized in that The grid algorithm includes one of GeoHash, uber H3, and google s2.

4. The method according to claim 1, characterized in that Comparing the second geographic grid code with the geographic grid code in the first geographic grid code set, and judging whether the target vehicle deviates from the target driving route according to the comparison result, including: Obtaining the time when the second track point corresponding to the second geographic grid code is generated; In the abnormal case that the current second geographic grid code is inconsistent with the geographic grid code corresponding to the first trajectory point at the same time, recording the current second geographic grid code; When the abnormal situation occurs continuously and the duration reaches a set threshold, it is determined that the target vehicle deviates from the target driving route.

5. The method according to claim 4, characterized in that In the case where the target vehicle deviates from the target driving route, an alarm is issued and / or information that the target vehicle deviates from the target driving route is recorded.

6. The method according to claim 5, characterized in that The second track points formed by the target vehicle on the actual driving route are obtained in real time or offline; when the second track points formed by the target vehicle on the actual driving route are obtained in real time, the latitude and longitude coordinates of the second track points sent by the target vehicle during driving are continuously read through real-time processing technology.

7. A device for determining whether a vehicle has deviated from a route, characterized in that: include: A first conversion module, used to convert a first track point set on the target driving route into a first geographic grid code set; A second conversion module is used to obtain a second track point formed by the target vehicle on the actual driving route, and convert the second track point into a second geographic grid code; The judgment module is used to compare the second geographic grid code with the geographic grid code in the first geographic grid code set, and judge whether the target vehicle deviates from the target driving route according to the comparison result.

8. A computer device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product comprising a computer program / instructions, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • GIS-based position flow anomaly detection method and device, and medium

    CN120873692A

  • A GIS-based location flow anomaly detection method, device and medium

    CN120873692B