Track point matching method and device, route matching degree determination method and device, medium and product

By differentially segmenting the planned travel route and determining the matching range, the problem of large trajectory matching errors in patrol is solved and the accuracy of trajectory monitoring and navigation is improved.

CN118794423APending Publication Date: 2024-10-18CHINA MOBILE M2M +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410416217.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-08
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In patrol scenarios, existing technologies used to compare the matching between actual travel trajectories and planned paths have large errors, which affects the accuracy of trajectory monitoring and navigation guidance.

Method used

By segmenting the planned travel route based on differential thinking, determining the matching ranges of multiple paths to be matched, and matching the trajectory point positions of the moving targets with the matching ranges of these paths to improve the accuracy of trajectory point matching, thereby improving the route Matching accuracy.

Benefits of technology

It significantly improves the accuracy of matching results between moving targets and planned travel routes, enhances the accuracy of trajectory monitoring and navigation guidance, and is suitable for matching various planned and actual travel routes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118794423A_ABST
    Figure CN118794423A_ABST
Patent Text Reader

Abstract

The invention provides a track point matching method and device, a route matching degree determination method and device, a medium and a product, and the method comprises the steps: determining a matching range of a plurality of to-be-matched paths located in a planned advancing route based on the planned advancing route from an initial position to a target position, determining a track point matching result of the moving target based on the track point position of the moving target and the matching range of the plurality of to-be-matched paths, and then determining a plurality of track point matching results included in the actual advancing route on this basis, and determining a route matching degree between the actual advancing route and the planned advancing route based on a matching result of a plurality of track points included in the actual advancing route of the moving target from the initial position to the target position. According to the method, the track point matching accuracy of the moving target can be improved, and the matching accuracy of the actual advancing route and the planned advancing route is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a trajectory point matching method, a route matching degree determination method, a device, a medium and a product. Background Art

[0002] In related technologies, the degree of match between the actual trajectory and the planned path can be compared to determine the similarities or differences between the two. This path matching method is widely used in scenarios such as path navigation, motion tracking, and personnel positioning to determine whether the mobile target is moving along the planned path, thereby achieving trajectory monitoring, navigation guidance optimization, and other purposes.

[0003] In patrol scenarios, patrol personnel usually carry mobile terminals with location reporting capabilities. During the patrol process, the mobile terminals intermittently report the patrol personnel's location coordinates to the server. The server can match the patrol personnel's location coordinates with the planned path, but this matching method has a relatively large matching error. Summary of the invention

[0004] According to one aspect of the present disclosure, a trajectory point matching method is provided, comprising:

[0005] Based on a planned travel route from an initial position to a target position, determining a matching range of a plurality of to-be-matched paths within the planned travel route;

[0006] Based on the trajectory point position of the moving target and the matching ranges of the plurality of paths to be matched, a trajectory point matching result of the moving target is determined.

[0007] According to one aspect of the present disclosure, a method for determining a route matching degree is provided, comprising:

[0008] Determine a plurality of track point matching results of a moving target included in an actual travel route from an initial position to a target position based on the method of the exemplary embodiment of the present disclosure;

[0009] Based on the matching results of the multiple trajectory points of the mobile target, a route matching degree between the actual travel route and the planned travel route is determined.

[0010] According to another aspect of the present disclosure, there is provided a route matching device, comprising:

[0011] A determination module, configured to determine, based on a planned travel route from an initial position to a target position, a matching range of a plurality of to-be-matched paths within the planned travel route;

[0012] The judgment module is used to determine the trajectory point matching result of the moving target based on the trajectory point position of the moving target and the matching range of the multiple paths to be matched.

[0013] According to another aspect of the present disclosure, a route matching degree determination device is provided, comprising:

[0014] A matching module, used to determine a plurality of track point matching results included in an actual travel route of a mobile target from an initial position to a target position based on the method described in the exemplary embodiment of the present disclosure;

[0015] The determination module is used to determine the route matching degree between the actual route and the planned route based on the matching results of multiple track points included in the actual route of the mobile target from the initial position to the target position.

[0016] According to another aspect of the present disclosure, there is provided an electronic device, comprising:

[0017] processor; and,

[0018] A memory for storing programs;

[0019] The program includes instructions, which, when executed by the processor, cause the processor to perform the method according to the exemplary embodiment of the present disclosure.

[0020] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to execute the method according to the exemplary embodiments of the present disclosure.

[0021] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the method described in the exemplary embodiments of the present disclosure is implemented.

[0022] One or more technical solutions provided in the embodiments of the present disclosure can determine the matching range of multiple paths to be matched within the planned route based on the planned route from the initial position to the target position, and then determine the matching result of the trajectory points of the moving target based on the trajectory point position of the moving target and the matching range of multiple paths to be matched. This process essentially uses the differential idea to differentiate the planned route, obtain the matching range of the paths to be matched, and then determine the matching result of the trajectory points of the moving target through the trajectory point position of the moving target and the matching range of each path to be matched.

[0023] It can be seen that the exemplary embodiment of the present disclosure can break down the planned route into parts and match it with the track point position of the mobile target, thereby improving the accuracy of the matching result of the mobile target. When determining the route matching degree between the actual route and the planned route, each track point matching result included in the actual route of the mobile target from the initial position to the target position is matched according to this method, and then the route matching degree between the actual route and the planned route is determined based on the multiple track point matching results included in the actual route of the mobile target from the initial position to the target position. This can not only improve the accuracy of the route matching degree, so as to provide users with better route monitoring and route navigation services, but also determine the route matching degree between the actual route and the planned route from the perspective of breaking down the whole into parts, which can be applied to a variety of planned routes and actual routes for matching, thereby improving the scope of application of the method of the exemplary embodiment of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Further details, features and advantages of the present disclosure are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:

[0025] Figure 1 A schematic diagram showing a flow chart of a trajectory point matching method according to an exemplary embodiment of the present disclosure is shown;

[0026] Figure 2 A schematic diagram of a matching range determination process of a to-be-matched path according to an exemplary embodiment of the present disclosure is shown;

[0027] Figure 3 A schematic diagram showing a matching range of a path to be matched according to an exemplary embodiment of the present disclosure is shown;

[0028] Figure 4 A schematic diagram of a flow chart of a method for obtaining a trajectory point position of a moving target according to an exemplary embodiment of the present disclosure is shown;

[0029] Figure 5 A schematic diagram of a method for determining a route matching degree according to an exemplary embodiment of the present disclosure is shown;

[0030] Figure 6 A schematic diagram showing the trajectory point matching results of a moving target determined in different ways according to an exemplary embodiment of the present disclosure is shown;

[0031] Figure 7 A schematic block diagram of functional modules of a trajectory point matching device according to an exemplary embodiment of the present disclosure is shown;

[0032] Figure 8 A schematic block diagram of functional modules of a route matching degree determination device according to an exemplary embodiment of the present disclosure is shown;

[0033] Fig. 9 A schematic block diagram of a chip according to an exemplary embodiment of the present disclosure is shown;

[0034] Fig.10 A structural block diagram of an exemplary electronic device that can be used to implement the embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0035] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0036] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0037] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0038] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0039] In related technologies, path matching can help users determine whether the mobile target is moving along the planned path. It can use technologies such as trajectory alignment, similarity measurement, error estimation and path correction to ensure that the matching degree between the actual route and the planned route meets the expected accuracy requirements.

[0040] In the security patrol scenario, managers usually draw a patrol route on the map in advance, which can be called a patrol planning route. The patrol planning route may pass through roads, parks, around buildings, and even forests, lakes, etc.

[0041] When patrol personnel are on patrol, they can patrol according to the patrol plan route by walking, riding or driving, and patrol personnel usually carry mobile terminals with positioning reporting functions. The mobile terminals can intermittently report the patrol personnel's positioning information to the server, and the server mostly directly performs hard matching with the patrol plan route based on the patrol personnel's positioning information, so as to determine whether the patrol personnel's position is on the patrol plan route or within the allowable deviation range of the patrol plan route.

[0042] However, the directions of patrol planning routes are various, such as straight-line planning routes, zigzag planning routes, curved planning routes and even circular planning routes. Directly using hard matching to match patrol planning routes with patrol personnel positions will result in large matching errors.

[0043] In response to the above problems, the exemplary embodiments of the present disclosure provide a trajectory point matching method and a route matching degree determination method. The trajectory point matching method can relatively accurately determine whether the trajectory points of various mobile targets match the planned routes, and the route matching degree determination method can accurately obtain the route matching degree between the actual route and the planned route based on the trajectory point matching method, thereby improving the accuracy of trajectory monitoring and navigation guidance.

[0044] In practical applications, the mobile targets of the exemplary embodiments of the present disclosure may include various biological and non-biological objects. Biological objects may include humans, animals, etc., and non-biological objects may include various movable non-biological objects, for example: including but not limited to bicycles, motorcycles, cars, trucks, vans and other land vehicles, airplanes, drones and other various aircraft, and even ships, submarines, etc.

[0045] The exemplary embodiments of the present disclosure can be applied to various electronic devices, including terminal devices or servers. The terminal device can be equipped with various mature or self-developed positioning systems to detect the track point positions of the mobile target during the movement process. The terminal device can also have a positioning reporting function, which can upload the collected track point positions to the server, and the server can execute the method of the exemplary embodiments of the present disclosure.

[0046] The terminal device of the exemplary embodiment of the present disclosure may include a notebook or laptop computer, a netbook, a tablet computer, an e-book reader, a Global Positioning System (GPS) device, a camera, a Personal Digital Assistant (PDA), a handheld electronic device, a cellular phone, a smart phone, other suitable electronic devices or any suitable combination thereof.

[0047] Figure 1FIG. 2 is a flow chart showing a trajectory point matching method according to an exemplary embodiment of the present disclosure. Figure 1 As shown, the trajectory point matching method of the exemplary embodiment of the present disclosure may include:

[0048] Step 101: Based on a planned route from an initial position to a target position, a matching range of a plurality of paths to be matched within the planned route is determined.

[0049] The initial position and the target position of the exemplary embodiment of the present disclosure may be the same position or different positions. When the initial position and the target position are the same position, the planned route may be a closed route with the position as the starting point and the position as the end point, and the trajectory shape of the closed route may include, for example, a circle, a polygon, a curve, or a special shape composed of a line segment and a curve.

[0050] Step 102: determining a trajectory point matching result of the moving target based on the trajectory point position of the moving target and the matching ranges of the multiple paths to be matched.

[0051] The exemplary embodiment of the present disclosure can divide the planned route based on the differential idea to form multiple paths to be matched, and the matching range of each path to be matched can be considered as the tolerance range of the trajectory point on the path to be matched. It can be seen that the exemplary embodiment of the present disclosure can divide the planned route into parts and match it with the trajectory point position of the mobile target, thereby improving the accuracy of the matching result of the mobile target.

[0052] When the trajectory point of the mobile target is within the matching range of a certain path to be matched, it can be considered that the mobile target is moving according to the planned route, and when the trajectory point of the mobile target is outside the matching range of a certain path to be matched, it can be considered that the mobile target is not moving according to the planned route.

[0053] Taking the patrol scene as an example, the patrol personnel hold a terminal device. If the method is executed by the terminal device, the terminal device can directly pop up an alarm message to notify the patrol personnel of the deviation. Of course, the alarm message can also be reported to the server to notify the administrator, so that the administrator can know the patrol personnel's deviation at the first time, so that the administrator can take relevant measures. If the method is executed by the server, the server can send an alarm message to the terminal device to notify the patrol personnel of the deviation. Of course, the alarm message can also be displayed on the front end of the server, so that the administrator can know the patrol personnel's deviation at the first time, so that the administrator can take relevant measures.

[0054] In an alternative approach, Figure 2 FIG. 2 shows a flow chart of determining a matching range of a path to be matched according to an exemplary embodiment of the present disclosure. Figure 2As shown, the exemplary embodiment of the present disclosure determines the matching range of multiple to-be-matched paths within the planned travel route based on the planned travel route from the initial position to the target position, including:

[0055] Step 201: Segment the planned route to obtain multiple paths to be matched. Here, the planned route can be segmented based on the differential principle, and considering the diverse directions of the planned route, the path extension direction of the planned route can be used as a priori condition to segment the planned route to obtain multiple paths to be segmented, so that the angle formed by the path extension directions of two adjacent paths to be segmented is greater than the preset angle, and then each path to be segmented is segmented to obtain multiple paths to be matched corresponding to each path to be segmented.

[0056] When the above method is used to plan the route and split it, the extension direction of the planned route is actually used as a priori condition and constraint condition to split the extended route, so that the extension direction of each path to be split does not change significantly, while the extension directions of two adjacent paths to be split are quite different.

[0057] Step 202: Split each path to be split, and obtain multiple paths to be matched corresponding to each path to be split. When the planned route is a broken line route, each straight line segment in the broken line route can be defined as a path to be split, and the path to be split is further split. Thus, each path to be split can be divided into multiple paths to be matched.

[0058] Assume that the broken line route includes L straight line segments. If the length of the kth straight line segment is L k , then the kth straight line segment can be determined according to the following formula 1: k :

[0059] N k =L k τ Formula 1

[0060] Among them, τ represents the length of the path to be matched. It is considered that the moving speed of the mobile target and the frequency of collecting the trajectory points of the mobile target affect the number of trajectory points collected from the initial position to the target position. If the number of collected trajectory points is relatively large, it is necessary to divide the planned route in detail to more accurately determine whether the trajectory point is within the range of the path to be matched. If the number of collected trajectory points is relatively small, it is not necessary to divide the planned route in detail, and it is possible to more accurately determine whether the trajectory point of the mobile target is within the range of the path to be matched. Based on this, the length of at least one path to be matched can be positively correlated with the frequency of collecting the trajectory points of the mobile target, and can also be positively correlated with the moving speed of the mobile target.

[0061] For example, the positioning device of the exemplary embodiment of the present disclosure can set the frequency of collecting the trajectory points of the mobile target according to the matching accuracy requirement. Taking the patrol scene as an example, if the manager does not have high requirements for the matching degree between the actual patrol route of the patrol personnel and the planned patrol route, the frequency of collecting the trajectory points of the mobile target can be set to be relatively low, and if the manager has high requirements for the matching degree between the actual patrol route of the patrol personnel and the planned patrol route, the frequency of collecting the trajectory points of the mobile target can be set to be relatively low.

[0062] For example, the moving speed of the moving target in the exemplary embodiment of the present disclosure may be determined by various possible factors, which may include, but are not limited to, the road conditions of the planned travel path, the properties of the moving target itself, etc. The following examples are given to illustrate.

[0063] In complex road conditions, the complexity of the road conditions may affect the moving speed of the moving target. When the road conditions of the planned route are relatively stable, the lengths of different straight line segments can be the same. If the road width of the planned route is relatively complex, the lengths of the paths to be matched divided by the same path to be split can be set to be equal.

[0064] Taking patrol scenarios as an example, the planned route may pass through roads, forests, densely populated areas, sparsely populated areas, etc. The density of people in these areas and the flatness of the roads will affect the speed of patrol personnel. For areas with flat roads and low density of people, such areas can be defined as areas with good road conditions, while for areas with poor road flatness and / or high density of people, such areas can be defined as areas with poor road conditions.

[0065] For sections with better road conditions, the patrol speed may be faster, while for sections with mixed road conditions, the patrol speed may be slower. If the positioning device uses a fixed frequency to collect trajectory point positions, for sections with better road conditions, the number of trajectory points of patrol personnel obtained is relatively small. Therefore, the length of the section to be matched in this section can be set to be longer. For sections with poor road width, the number of trajectory points of patrol personnel obtained is relatively large. Therefore, the length of the section to be matched in this section can be set to be shorter.

[0066] For patrol personnel, they can patrol on foot or by various possible means of transportation, and there is a large difference between the walking speed and the driving speed of the means of transportation, and there is also a large difference between the driving speeds of different means of transportation. For example: patrol personnel can patrol by walking, riding a bicycle and driving, among which the walking speed is less than the bicycle speed, and the bicycle speed is less than the driving speed. If the segmented path is divided according to the same length of the path to be matched, the probability of matching the corresponding trajectory points with the matching path may decrease when patrolling by car, patrolling by bicycle and patrolling by foot. Based on this, referring to the previous text, the number of trajectory points of patrol personnel collected by the positioning device when the patrol personnel adopt walking patrol is the largest, the number of trajectory points of patrol personnel collected by the positioning device when patrolling by bicycle is the second largest, and the number of trajectory points of patrol personnel collected by the positioning device when patrolling by car is the least. Correspondingly, the length of the road section to be matched is the largest when patrolling by car, the length of the road section to be matched is the second largest when patrolling by bicycle, and the length of the road section to be matched is the smallest when patrolling by foot.

[0067] It can be seen that the exemplary embodiment of the present disclosure sets the length of the path to be matched to be positively correlated with the moving speed of the moving target, thereby reducing unnecessary trajectory point collection operations while ensuring matching accuracy, thereby effectively reducing the power consumption of the positioning device and helping to improve the battery life of the positioning device.

[0068] Exemplarily, the exemplary embodiments of the present disclosure may introduce different elastic factors α according to the moving speed of the moving target, and configure the number of paths to be matched included in the same path to be segmented according to Formula 2 to adjust the number of paths to be matched.

[0069] N k =αL k τ Formula 2

[0070] Taking the patrol scene as an example, when the patrol personnel patrol on foot, the elasticity factor α = 0.6, when the patrol personnel patrol by bicycle, the elasticity factor α = 0.3, and when the patrol personnel patrol by car, the elasticity factor α = 0.1. It can be seen that the faster the patrol personnel move, the smaller the corresponding elasticity factor, and accordingly, the number of paths to be matched is getting smaller and smaller, while the length of the paths to be matched is getting longer and longer, thereby reducing the impact of different patrol methods on matching accuracy.

[0071] In an optional manner, in order to reduce the problem of trajectory point matching errors, the matching range parameters (such as the radius of a circle) can be configured so that the matching ranges of two adjacent paths to be matched partially intersect. In this case, when the trajectory point of the moving target appears in the boundary area of ​​the matching range of two adjacent paths to be matched, but the distance characteristics to the two adjacent paths to be matched are close, there will be no matching error problem. It should be understood that the outer boundary of the matching range of the path to be matched in the exemplary embodiment of the present disclosure can be set to a circle, or it can be set to a polygon, a broken line, a curve, etc., and the following description takes a circle as an example.

[0072] Figure 3 FIG. 4 is a schematic diagram showing a matching range of a path to be matched according to an exemplary embodiment of the present disclosure. Figure 3 As shown, the extended path shape of the planned route 301 of the exemplary embodiment of the present disclosure is a quadrilateral, which can be divided into four to-be-divided paths with relatively different extension directions, and then the four to-be-divided paths are divided to obtain 14 to-be-matched paths, and the matching ranges 302 of two adjacent to-be-matched paths partially overlap. In this case, if a trajectory point of a moving target appears at the junction of two adjacent to-be-matched paths, it will not be mistaken as not matching the to-be-matched paths.

[0073] Exemplarily, the matching range of the path to be matched may be an area covered by a circle with a certain length as a radius and a certain point on the path to be matched as the center. Here, the matching range of each path to be matched is determined by the midpoint position of the path to be matched and the length of the path to be matched. Assuming the length of the path to be matched is L, the matching range of the path to be matched may be an area covered by a circle with a radius greater than L / 2 and less than or equal to 2L / 3 and with the midpoint position of the path to be matched as the center, so as to ensure that the trajectory points of all mobile targets matching the path to be matched can be matched correctly.

[0074] As a possible implementation method, the exemplary embodiment of the present disclosure may use a spatial position judgment method to judge the spatial relationship between the matching range of each path to be matched and the trajectory point of the mobile target, so as to determine the trajectory point matching result of the mobile target using the spatial relationship.

[0075] In practical applications, the exemplary embodiment of the present disclosure determines the trajectory point matching result of the mobile target based on the trajectory point position of the mobile target and the matching ranges of the multiple paths to be matched, including: determining the spatial relationship between the matching range of each path to be matched and the trajectory point position of the mobile target, and then determining the trajectory point matching result of the mobile target based on the spatial relationship between the matching ranges of the multiple paths to be matched and the trajectory point of the mobile target.

[0076] In practical applications, the matching ranges of multiple paths to be matched can be regarded as a matching range set, and then the matching range of any path to be matched is obtained from the matching range set. Then, based on the matching range of the path to be matched and the trajectory point position of the mobile target, the spatial relationship between the matching range of the path to be matched and the trajectory point of the mobile target is determined.

[0077] When the spatial relationship between the matching range of the path to be matched and the trajectory point of the mobile target includes that the trajectory point of the mobile target is outside the matching range of the path to be matched, it means that the matching result of the trajectory point of the mobile target includes that the mobile target does not match the path to be matched. At this time, the trajectory point of the mobile target has not yet matched the path to be matched, and the matching range of another path to be matched can be obtained from the matching range set, based on the spatial relationship between it and the trajectory point of the mobile target.

[0078] When the spatial relationship between the matching range of the path to be matched and the trajectory point of the mobile target includes that the trajectory point of the mobile target is within the matching range of the path to be matched, it means that the trajectory point matching result of the mobile target includes that the mobile target matches the corresponding path to be matched. In this case, it is considered that the mobile target has been matched to the path to be matched, and there is no need to continue matching with other paths to be matched. Therefore, it is possible to stop obtaining the matching ranges of other paths to be matched from the matching range set, thereby reducing unnecessary calculations.

[0079] In an optional method, considering that the battery power of the positioning device is limited when it is carried, resulting in limited endurance, the positioning system collects or reports the trajectory point position of the mobile target every certain period of time (such as 10s). At the same time, the positioning device is easily affected by the geographical environment, making it difficult to accurately estimate the trajectory point position of the mobile target.

[0080] In order to perform trajectory point matching normally, the exemplary embodiment of the present disclosure may pre-process the trajectory point positioning data of the mobile target to achieve the purpose of correcting the trajectory point positioning data of the mobile target, thereby obtaining the trajectory point position of the mobile target with higher accuracy. Figure 4 FIG. 1 is a flow chart showing a method for obtaining the position of a trajectory point of a mobile target according to an exemplary embodiment of the present disclosure. Figure 4 As shown, the method for obtaining the trajectory point position of a moving target according to an exemplary embodiment of the present disclosure includes:

[0081] Step 401: Obtain the measured positions of the trajectory points of the moving target during its travel from the initial position to the target position. Here, a trajectory point measurement data packet of the moving target during its travel from the initial position to the target position may be first obtained from the positioning device and decompressed to obtain the measured positions of the trajectory points of the moving target during its travel from the initial position to the target position.

[0082] When the method is executed by a terminal device, the terminal device can obtain a trajectory point measurement data packet of the mobile target's travel process from the initial position to the target position from the positioning system; when the method is executed by a server, the positioning device can send the trajectory point measurement data packet of the mobile target's travel process from the initial position to the target position to the terminal device, and the terminal device forwards it to the server.

[0083] Step 402: Determine the moving parameters of the moving target based on the measured positions of the trajectory points of the moving target during the moving process from the initial position to the target position.

[0084] The travel parameters of the mobile target of the exemplary embodiment of the present disclosure can be determined by the measured positions of the trajectory points of the mobile target during the travel process from the initial position to the target position, or can be determined by the measured positions of the trajectory points of the mobile target during the travel process from the initial position to the target position and at least one historical trajectory point position of the mobile target.

[0085] Exemplarily, after obtaining the measured positions of the trajectory points of the moving target during its travel from the initial position to the target position, the travel parameters of the moving target can be determined based on the current measured positions of the trajectory points of the moving target during its travel from the initial position to the target position and the previous trajectory point positions of the moving target.

[0086] Step 403: Determine whether the moving target's travel parameters match the preset travel parameters. When the moving target's travel parameters do not match the preset travel parameters, it means that the moving target's track point positioning data is abnormal and the track point positioning data cannot be used, and step 404 can be executed. When the moving target's travel parameters match the preset travel parameters, it means that the moving target's track point positioning data is normal and the track point positioning data cannot be used, and step 405 can be executed.

[0087] Step 404: Determine the trajectory point position of the moving target based on the trajectory point measurement position of the moving target during the moving process from the initial position to the target position and the historical trajectory point position of the moving target.

[0088] In practical applications, the exemplary embodiments of the present disclosure may determine the trajectory point position of the mobile target in various ways. For example, a Kalman filter may be used to determine the trajectory point position of the mobile target by taking the historical trajectory point position of the mobile target as a reference and combining the trajectory point positioning data of the mobile target during the process of moving from the initial position to the target position. Of course, other parameters related to the movement of the mobile target, such as speed, acceleration, etc., may also be predicted.

[0089] Step 405: Determine the trajectory point position of the moving target based on the trajectory point measurement position of the moving target from the initial position to the target position. For example, the trajectory point position of the moving target can be the trajectory point measurement position of the moving target from the initial position to the target position.

[0090] When the exemplary embodiment of the present disclosure uses a Kalman filter to predict the trajectory point position of a mobile target, the historical trajectory point position of the mobile target may be determined by the trajectory point measurement position of the mobile target from the initial position to the target position collected by the positioning device, or may be predicted by the Kalman filter.

[0091] When the kth trajectory point measurement position Z of the moving target from the initial position to the target position is obtained k If the moving parameters of the moving target do not match the preset moving parameters, the state equation shown in Formula 3 can be used to obtain the predicted position of the kth trajectory point of the moving target. The prior variance P of the predicted position of the kth trajectory point is determined by the prior difference equation shown in Formula 4: k .

[0092]

[0093]

[0094] On this basis, the predicted position of the kth trajectory point of the moving target obtained in Formula 3 can be Based on the k-th trajectory point measurement position of the moving target from the initial position to the target position, the k-th trajectory point position x of the moving target is determined by referring to the state update method shown in Formula 5. k , and then determine the posterior variance P of the kth trajectory point position of the moving target through the posterior variance equation shown in Formula 6 k '.

[0095]

[0096]

[0097] Among them, x k-1 represents the k-1th trajectory point position of the moving target. The k-1th trajectory point position x of the moving target k-1 According to the actual situation, it can be predicted by the Kalman filter or determined by the measured position of the k-1th trajectory point in the process of the moving target moving from the initial position to the target position. k represents the state transfer matrix from the k-1th trajectory point to the kth trajectory point, B k represents the control matrix, such as the pedestrian’s walking decision, u k represents the control vector, such as the moving acceleration of the moving target, P k-1 represents the prior variance of the predicted position of the k-1th trajectory point, Q k represents the system noise, H krepresents the state observation matrix of the kth trajectory point, K represents the Kalman gain, which can be expressed as formula 7:

[0098]

[0099] Among them, R k represents the measurement noise variance of the kth trajectory point position.

[0100] In some embodiments, the positioning device may not be able to receive the positioning signal due to geographical environment problems, resulting in missing data of the trajectory points of the mobile target. In order to ensure the position of each trajectory point of the mobile target, the method for obtaining the position of the trajectory point of the mobile target of the exemplary embodiment of the present disclosure may also include:

[0101] Step 406: If the measured positions of the trajectory points of the moving target during its travel from the initial position to the target position are not obtained, the trajectory point positions of the moving target are determined based on the historical trajectory point positions of the moving target.

[0102] When the measured position of the trajectory points of the moving target from the initial position to the target position is not obtained, it means that the positioning device has not collected the trajectory point positioning parameters of the moving target, and the data missing needs to be repaired. The trajectory point position of the moving target can be determined directly based on the historical trajectory point position of the moving target.

[0103] In practical applications, the exemplary embodiments of the present disclosure may determine the trajectory point position of the moving target in various ways. For example, a Kalman filter may be used to predict the trajectory point position of the moving target with reference to the historical trajectory point data of the moving target.

[0104] Exemplarily, in order to predict the trajectory point position of a moving target, the current trajectory point predicted position of the moving target can be determined by referring to Formula 3. Since the trajectory point measurement position of the moving target from the initial position to the target position is not obtained, the current trajectory point predicted position of the moving target can be used as the current trajectory point position of the final moving target.

[0105] In some embodiments, the travel parameters of the mobile target of the exemplary embodiments of the present disclosure may reflect the actual situation of the mobile target during the travel process, for example: the travel parameters of the mobile target may include the speed parameters of the mobile target, or the travel direction of the mobile target.

[0106] Exemplarily, when the moving target's traveling parameters include the moving target's speed parameters, the preset traveling parameters include the preset traveling speed parameters. If the moving target's speed parameters are greater than the preset traveling speed parameters, the moving target's traveling parameters do not match the preset traveling parameters, otherwise, the moving target's traveling parameters match the preset traveling parameters.

[0107] Exemplarily, the speed parameter of the moving target may be the speed of the moving target or the acceleration of the moving target. Similarly, the preset travel speed parameter may include the preset travel speed and the preset travel acceleration. When the speed of the moving target is greater than the preset travel speed, or the acceleration of the moving target is greater than the preset travel acceleration, it indicates that there is an abnormal movement of the moving target, which is likely to be caused by the offset of the trajectory point positioning data. Therefore, the trajectory point positioning data of the moving target is abnormal and needs to be corrected.

[0108] When the moving parameters of the mobile target include the moving direction of the mobile target, the preset moving direction can also be obtained from the planned moving route based on the trajectory point position of the mobile target. If the moving direction of the trajectory point of the mobile target does not match the preset moving direction, it is determined that the moving parameters of the mobile target do not match the preset moving parameters.

[0109] For example: based on the trajectory point positioning data of the moving target from the initial position to the target position, the travel direction of the section of the preset route that is closest to the trajectory point of the moving target can be found from the planned travel route, and the travel direction is defined as the preset travel route. Then, it is determined whether the preset travel route is consistent with the travel direction of the moving target. The consistency here can be relative consistency, that is, as long as the angle between the two directions is less than a certain angle, the two directions can be considered to belong to the same direction.

[0110] For example, the exemplary embodiments of the present disclosure may utilize the current trajectory point position x of the mobile target. k and the last trajectory point positioning data x of the moving target k-1 , determine the speed and direction of the moving target. Of course, the current trajectory point position of the moving target and the recent historical trajectory point positions of the moving target can also be used to determine the acceleration of the moving target.

[0111] For example, the period of the terminal device reporting the trajectory point positioning data of the moving target from the initial position to the target position is T. When the patrol personnel patrol on foot, the preset travel speed can be defined as the maximum walking speed V of the pedestrian. m The speed v of the moving target can be obtained through formula 8 k .

[0112] v k =(x k -x k-1 )T Type Eight

[0113] When the speed v of the moving target k Greater than the maximum walking speed V m, the speed of the moving target matches the preset travel speed, otherwise it means that the two do not match. It is necessary to determine the trajectory point position of the moving target based on the trajectory point positioning data of the moving target from the initial position to the target position.

[0114] The exemplary embodiment of the present disclosure may also provide a route matching degree determination method, which may compare the matching degree of the actual new route with the planned route based on the trajectory point matching method of the exemplary embodiment of the present disclosure, so as to accurately determine whether the mobile target travels from the initial position to the target position according to the planned route.

[0115] Figure 5 FIG. 2 shows a schematic flow chart of a method for determining a route matching degree according to an exemplary embodiment of the present disclosure. Figure 5 As shown, the route matching degree determination method of the exemplary embodiment of the present disclosure may include:

[0116] Step 501: Determine a plurality of trajectory point matching results included in an actual travel route of a moving target from an initial position to a target position based on a trajectory point matching method according to an exemplary embodiment of the present disclosure.

[0117] In some embodiments, the exemplary embodiment of the present disclosure may first obtain the measurement positions of each trajectory point included in the actual travel route of the mobile target from the initial position to the target position at one time, and then use the trajectory point matching method of the exemplary embodiment of the present disclosure to determine the matching result of each trajectory point.

[0118] In other embodiments, the exemplary embodiments of the present disclosure may obtain the measured position of the trajectory point of the moving target from the initial position to the target position from the positioning device, and then determine the trajectory point position according to the trajectory point matching method of the exemplary embodiments of the present disclosure, and then obtain the measured position of the trajectory point of the moving target from the initial position to the target position from the positioning device again, and continue to determine the next trajectory point position.

[0119] Assuming that the positioning device reports the measured position of the trajectory points of the mobile target through the mobile terminal every 10 seconds, the terminal device can theoretically report the measured positions of 14 trajectory points of the mobile target within a certain period of time. According to the reporting order of the measured positions of the trajectory points, the 14 measured positions of the trajectory points are respectively the first trajectory point P 1 , the second trajectory point P 2 , the third trajectory point P 3 , the fourth trajectory point P 4 , the fifth trajectory point P 5 , the sixth trajectory point P 6 , the seventh trajectory point P 7 , the eighth trajectory point P 8 , the ninth track point P 9 , the tenth trajectory point P 10, the eleventh trajectory point P 11 , the twelfth trajectory point P 12 , the thirteenth trajectory point P 13 and the fourteenth trajectory point P 14 .

[0120] Figure 6 FIG. 2 shows a schematic diagram of the matching principle of the actual route planning route of the exemplary embodiment of the present disclosure. Figure 6 As shown, the planned travel route of the exemplary embodiment of the present disclosure is a solid line quadrilateral, and is arranged in accordance with Figure 3 The paths to be matched are divided in the manner shown.

[0121] exist Figure 6 13 black solid circles are shown in the figure, representing the 13 trajectory points of the mobile target measured by the positioning device in a certain period of time through the terminal device. The 13 trajectory points are the first trajectory point P 1 , the second trajectory point P 2 , the third trajectory point P 3 , the fourth trajectory point P 4 , the fifth trajectory point P 5 , the sixth trajectory point P 6 , the seventh trajectory point P 7 , the eighth trajectory point P 8 , the ninth track point P 9 , the eleventh trajectory point P 11 , the twelfth trajectory point P 12 , the thirteenth trajectory point P 13 and the fourteenth trajectory point P 14 , and the tenth trajectory point P appears 10 The measured position of the track point is missing.

[0122] By processing the measurement positions of the 13 track points represented by the 13 black solid circles using steps 401 to 405, it can be found that the first track point P 1 , the second trajectory point P 2 , the third trajectory point P 3 , the fourth trajectory point P 4 , the fifth trajectory point P 5 , the sixth trajectory point P 6 , the seventh trajectory point P 7 , the eighth trajectory point P 8 , the ninth track point P 9 , the eleventh trajectory point P 11 , the twelfth trajectory point P 12 and the fourteenth trajectory point P 14 The measurement position is more accurate.

[0123] exist Figure 6Two hollow circles are shown in FIG. 1 , representing the positions of the trajectory points predicted by the Kalman filter. For example, the thirteenth trajectory point P 13 The measured position of is inaccurate, and this position is an outlier position. It is necessary to use the Kalman filter to filter the thirteenth trajectory point P 13 The measured position and the twelfth trajectory point P 12 The measurement position of the thirteenth trajectory point P is processed (refer to equations 3 to 6) to achieve 13 The purpose of measuring position correction is to obtain the correction point P of the third trajectory point 13 ', for example, for the missing test position of the tenth trajectory point, the ninth trajectory point P can be directly calculated based on the Kalman filter. 9 The measured position is processed to obtain the predicted point P of the tenth trajectory point 10 'Predict the position, and then use the predicted point P of the tenth trajectory point 10 ' Based on the predicted position, step 101 and step 102 are executed to obtain the matching result of the correction point of the tenth trajectory point.

[0124] By the above method, the first trajectory point P with normal position can be determined. 1 , the second trajectory point P 2 , the third trajectory point P 3 , the fourth trajectory point P 4 , the fifth trajectory point P 5 , the sixth trajectory point P 6 , the seventh trajectory point P 7 , the eighth trajectory point P 8 , the ninth track point P 9 , the predicted point P of the tenth trajectory point 10 ', the eleventh trajectory point P 11 , the twelfth trajectory point P 12 And the predicted point P of the thirteenth trajectory point 13 ' and the fourteenth trajectory point P 14 Then, according to the trajectory point matching method of the exemplary embodiment of the present disclosure, the first trajectory point P is determined 1 , the second trajectory point P 2 , the third trajectory point P 3 , the fourth trajectory point P 4 , the fifth trajectory point P 5 , the sixth trajectory point P 6 , the seventh trajectory point P 7 , the eighth trajectory point P 8 , the ninth track point P 9 , the predicted point P of the tenth trajectory point 10 ', the eleventh trajectory point P 11 , the twelfth trajectory point P 12 And the predicted point P of the thirteenth trajectory point13 ' and the fourteenth trajectory point P 14 The matching results.

[0125] like Figure 6 As shown, the first trajectory point P 1 , the second trajectory point P 2 , the third trajectory point P 3 , the fourth trajectory point P 4 And the fourteenth trajectory point P 14 are all outside the matching range of the corresponding path to be matched. 5 , the sixth trajectory point P 6 , the seventh trajectory point P 7 , the eighth trajectory point P 8 , the ninth track point P 9 , the predicted point P of the tenth trajectory point 10 ', the eleventh trajectory point P 11 , the twelfth trajectory point P 12 And the predicted point P of the thirteenth trajectory point 13 ' are all located within the matching range of the corresponding path to be matched (ie, the area covered by the dotted circle on the solid quadrilateral).

[0126] Step 502: Based on the matching results of multiple trajectory points included in the actual route of the mobile target from the initial position to the target position, determine the route matching degree between the actual route and the planned route.

[0127] In practical applications, the exemplary embodiments of the present disclosure can determine the number of target paths to be matched based on the matching results of multiple trajectory points of the mobile target, and determine the route matching degree between the actual travel route and the planned travel route based on the number of target paths to be matched and the total number of paths to be matched.

[0128] Exemplarily, the target to-be-matched path of the exemplary embodiment of the present disclosure includes a to-be-matched path that has the same spatial relationship with the trajectory point of the mobile target. Here, the spatial relationship between the to-be-matched path and the trajectory point of the mobile target may include: the trajectory point of the mobile target is located within the to-be-matched path, and may also include the trajectory point of the mobile target is located outside the to-be-matched path.

[0129] For example, when the trajectory points of the mobile target with the same spatial relationship are located within the path to be matched, the route matching degree S between the actual route and the planned route can be determined by Formula 9:

[0130]

[0131] Among them, C i Indicates the matching range of the i-th path to be matched of the k-th path to be split, N krepresents the number of paths to be matched included in the i-th path to be split. I(·) represents the indicator function, P j represents the jth trajectory point. When the jth trajectory point P exists in the matching range of the i-th path to be matched of the k-th path to be segmented j , the value is 1, otherwise the value is 0.

[0132] One or more technical solutions provided in the embodiments of the present disclosure can determine the matching range of multiple paths to be matched within the planned route based on the planned route from the initial position to the target position, and then determine the matching result of the trajectory points of the moving target based on the trajectory point position of the moving target and the matching range of multiple paths to be matched. This process essentially uses the differential idea to differentiate the planned route, obtain the matching range of the paths to be matched, and then determine the matching result of the trajectory points of the moving target through the trajectory point position of the moving target and the matching range of each path to be matched.

[0133] It can be seen that the exemplary embodiment of the present disclosure can break down the planned route into parts and match it with the track point position of the mobile target, thereby improving the accuracy of the matching result of the mobile target. When determining the route matching degree between the actual route and the planned route, each track point matching result included in the actual route of the mobile target from the initial position to the target position is matched according to this method, and then the route matching degree between the actual route and the planned route is determined based on the multiple track point matching results included in the actual route of the mobile target from the initial position to the target position. This can not only improve the accuracy of the route matching degree, so as to provide users with better route monitoring and route navigation services, but also determine the route matching degree between the actual route and the planned route from the perspective of breaking down the whole into parts, which can be applied to a variety of planned routes and actual routes for matching, thereby improving the scope of application of the method of the exemplary embodiment of the present disclosure.

[0134] Furthermore, the exemplary embodiment of the present disclosure corrects the measured positions of each track point included in the actual route through a Kalman filter, thereby reducing the impact of environmental influences on the accuracy of track point matching and route matching. At the same time, the non-linear shape of the planned route, such as a broken line, a polygonal condition, can be considered, and the planned route can be infinitely divided to form multiple routes to be matched, and the matching degree determination process of the planned route and the actual route can be broken down into parts.

[0135] The exemplary embodiment of the present disclosure can also adjust the number of paths to be matched included in the planned route in combination with the difference in moving speed of the mobile target (such as patrol personnel using different means of transportation), so that the trajectory point matching method and the determination of route matching degree are closer to reality.

[0136] The above mainly introduces the solution provided by the embodiment of the present disclosure from the perspective of an electronic device. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present disclosure.

[0137] The disclosed embodiment can divide the electronic device into functional units according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the disclosed embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0138] In the case of dividing each functional module according to each function, an exemplary embodiment of the present disclosure provides a trajectory point matching device, which may be an electronic device or a chip applied to the electronic device. Figure 7 FIG. 2 shows a schematic block diagram of functional modules of a trajectory point matching device according to an exemplary embodiment of the present disclosure. Figure 7 As shown, the trajectory point matching device 700 includes:

[0139] A determination module 701 is used to determine, based on a planned travel route from an initial position to a target position, a matching range of a plurality of to-be-matched paths within the planned travel route;

[0140] The judgment module 702 is used to determine the trajectory point matching result of the moving target based on the trajectory point position of the moving target and the matching ranges of the multiple paths to be matched.

[0141] In a possible implementation, the matching ranges of two adjacent paths to be matched partially intersect; and / or,

[0142] The matching range of each of the to-be-matched paths is determined by the midpoint position of the to-be-matched path and the length of the to-be-matched path.

[0143] In a possible implementation, the determination module 701 is used to divide the planned travel route to obtain multiple to-be-matched paths, and configure a matching range corresponding to the to-be-matched path based on the size of each to-be-matched path.

[0144] In a possible implementation, the determination module 701 is used to divide the planned route to obtain multiple paths to be divided, and the angle formed by the path extension directions of two adjacent paths to be divided is greater than a preset angle; each path to be divided is divided to obtain multiple paths to be matched corresponding to each path to be divided.

[0145] In a possible implementation manner, the length of at least one of the to-be-matched paths is positively correlated with the moving speed of the moving target and / or the frequency of collecting trajectory points of the moving target.

[0146] In a possible implementation, the judgment module 702 is used to determine the spatial relationship between the matching range of each path to be matched and the trajectory point of the mobile target based on the matching range of each path to be matched and the trajectory point position of the mobile target; based on the spatial relationship between the matching ranges of multiple paths to be matched and the trajectory points of the mobile target, determine the trajectory point matching result of the mobile target.

[0147] In a possible implementation, when the spatial relationship between the matching range of the path to be matched and the trajectory point of the mobile target includes that the trajectory point of the mobile target is located within the matching range of the path to be matched, the trajectory point matching result of the mobile target includes that the mobile target matches the corresponding path to be matched;

[0148] When the spatial relationship between the matching range of the path to be matched and the trajectory points of the mobile target includes that the trajectory points of the mobile target are outside the matching range of the path to be matched, the trajectory point matching result of the mobile target includes that the mobile target does not match the path to be matched.

[0149] In a possible implementation, the device also includes a preprocessing module 703, which is used to obtain the measured positions of trajectory points of the moving target during the movement from the initial position to the target position, and determine the travel parameters of the moving target based on the measured positions of the trajectory points of the moving target during the movement from the initial position to the target position; if the travel parameters of the moving target do not match the preset travel parameters, the trajectory point positions of the moving target are determined based on the measured positions of the trajectory points of the moving target during the movement from the initial position to the target position and the historical trajectory point positions of the moving target; if the travel parameters of the moving target match the preset travel parameters, the trajectory point positions of the moving target are determined based on the measured positions of the trajectory points of the moving target during the movement from the initial position to the target position.

[0150] In a possible implementation, the preprocessing module 703 is further used to determine the trajectory point position of the moving target based on the historical trajectory point position of the moving target if the trajectory point measurement position of the moving target from the initial position to the target position is not obtained.

[0151] In a possible implementation, the preprocessing module 703 is used to determine the travel parameter of the mobile target based on the trajectory point position of the mobile target and at least one historical trajectory point position of the mobile target.

[0152] In a possible implementation, the moving target's travel parameter includes a speed parameter of the moving target, and the preset travel parameter includes a preset travel speed parameter;

[0153] When the speed parameter of the moving object is greater than the preset traveling speed parameter, the traveling parameter of the moving object does not match the preset traveling parameter.

[0154] In one possible implementation, the moving parameters of the mobile target include the moving direction of the mobile target, and the preprocessing module 703 is also used to obtain a preset moving direction from the planned moving route based on the trajectory point positioning data of the moving target from the initial position to the target position; if the moving direction of the trajectory point of the mobile target does not match the preset moving direction, it is determined that the moving parameters of the mobile target do not match the preset moving parameters.

[0155] In the case of dividing each functional module according to each function, an exemplary embodiment of the present disclosure provides a route matching degree determination device, which may be an electronic device or a chip applied to an electronic device. Figure 8 FIG. 1 shows a schematic block diagram of functional modules of a route matching degree determination device according to an exemplary embodiment of the present disclosure. Figure 8 As shown, the trajectory point matching device 800 includes:

[0156] A matching module 801 is used to determine a plurality of track point matching results included in an actual travel route of a moving target from an initial position to a target position based on the method described in the exemplary embodiment of the present disclosure;

[0157] The determination module 802 is used to determine the route matching degree between the actual route and the planned route based on the matching results of multiple track points included in the actual route of the mobile target from the initial position to the target position.

[0158] In a possible implementation, the determination module 802 is used to determine the number of target paths to be matched based on the matching results of multiple trajectory points of the mobile target, and the target paths to be matched include paths to be matched that have the same spatial relationship with the trajectory points of the mobile target; based on the number of target paths to be matched and the total number of paths to be matched included in the planned route, determine the route matching degree between the actual route and the planned route.

[0159] Fig. 9 Schematic block diagram of a chip according to an exemplary embodiment of the present disclosure is shown. Fig. 9 As shown, the chip 900 includes one or more (including two) processors 901 and a communication interface 902. The communication interface 902 can support the electronic device to perform the data transceiving steps in the above method, and the processor 901 can support the electronic device to perform the data processing steps in the above method.

[0160] Optional, such as Fig. 9 As shown, the chip 900 also includes a memory 903, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory (NVRAM).

[0161] In some embodiments, Fig. 9 As shown, the processor 901 performs corresponding operations by calling the operation instructions stored in the memory (the operation instructions may be stored in the operating system). The processor 901 controls the processing operations of any one of the terminal devices, and the processor may also be called a central processing unit (CPU). The memory 903 may include a read-only memory and a random access memory, and provides instructions and data to the processor 901. A portion of the memory 903 may also include NVRAM. For example, in an application, the memory, the communication interface, and the memory are coupled together through a bus system, wherein the bus system may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clarity, in Fig. 9 Various buses are labeled as bus system 904.

[0162] The method disclosed in the above-mentioned embodiment of the present disclosure can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above-mentioned processor may be a general-purpose processor, a digital signal processor (digital signal processing, DSP), an ASIC, a field-programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiment of the present disclosure can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware.

[0163] The exemplary embodiment of the present disclosure also provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication. The memory stores a computer program that can be executed by the at least one processor, and the computer program is used to cause the electronic device to perform the method according to the embodiment of the present disclosure when executed by the at least one processor.

[0164] The exemplary embodiments of the present disclosure also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to perform the method according to the embodiments of the present disclosure.

[0165] The exemplary embodiments of the present disclosure further provide a computer program product, including a computer program, wherein when the computer program is executed by a processor of a computer, the computer is used to enable the computer to perform the method according to the embodiments of the present disclosure.

[0166] refer to Fig.10, a block diagram of an electronic device 1000 that can be used as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0167] like Fig.10 As shown, the electronic device 1000 includes a computing unit 1001, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1002 or a computer program loaded from a storage unit 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the device 1000 can also be stored. The computing unit 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0168] like Fig.10 As shown, multiple components in the electronic device 1000 are connected to the I / O interface 1005, including: an input unit 1006, an output unit 1007, a storage unit 1008, and a communication unit 1009. The input unit 1006 can be any type of device that can input information to the electronic device 1000, and the input unit 1006 can receive input digital or character information, and generate key signal input related to the user settings and / or function control of the electronic device. The output unit 1007 can be any type of device that can present information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 1008 can include but is not limited to a disk, an optical disk. The communication unit 1009 allows the electronic device 1000 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth TM device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0169] like Fig.10As shown, the computing unit 1001 can be various general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1001 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1001 performs the various methods and processes described above. For example, in some embodiments, the method of the exemplary embodiment of the present disclosure may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1008. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 1000 via ROM 1002 and / or communication unit 1009. In some embodiments, the computing unit 1001 can be configured to perform the method of the exemplary embodiment of the present disclosure in any other appropriate manner (e.g., by means of firmware).

[0170] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0171] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0172] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0173] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0174] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.

[0175] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present disclosure is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a terminal, a user device or other programmable device. The computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instruction may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server, data center, etc. that integrates one or more available media. The available medium may be a magnetic medium, for example, a floppy disk, a hard disk, a tape; it may also be an optical medium, for example, a digital video disc (DVD); it may also be a semiconductor medium, for example, a solid state drive (SSD).

[0176] Although the present disclosure has been described in conjunction with specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present disclosure. Accordingly, this specification and the drawings are merely exemplary illustrations of the present disclosure as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present disclosure. Obviously, those skilled in the art may make various modifications and variations to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to include these modifications and variations.

Claims

1. A trajectory point matching method, characterized in that: include: Based on a planned travel route from an initial position to a target position, determining a matching range of a plurality of to-be-matched paths within the planned travel route; Based on the trajectory point position of the moving target and the matching ranges of the plurality of paths to be matched, a trajectory point matching result of the moving target is determined.

2. The method according to claim 1, characterized in that The matching ranges of two adjacent paths to be matched partially intersect; and / or, The matching range of each of the to-be-matched paths is determined by the midpoint position of the to-be-matched path and the length of the to-be-matched path.

3. The method according to claim 1, characterized in that: The determining, based on the planned route from the initial position to the target position, a matching range of a plurality of paths to be matched within the planned route comprises: Dividing the planned route to obtain multiple paths to be matched; A matching range corresponding to each of the paths to be matched is configured based on the size of each of the paths to be matched.

4. The method according to claim 3, characterized in that The step of dividing the planned route to obtain a plurality of paths to be matched includes: The planned route is divided into multiple paths to be divided, and the angle formed by the path extension directions of two adjacent paths to be divided is greater than a preset angle; Each of the to-be-split paths is segmented to obtain a plurality of to-be-matched paths corresponding to each of the to-be-split paths.

5. The method according to claim 3, characterized in that: The length of at least one of the to-be-matched paths is positively correlated with the moving speed of the moving target and / or the frequency of collecting trajectory points of the moving target.

6. The method according to any one of claims 1 to 5, characterized in that: The determining the trajectory point matching result of the moving target based on the trajectory point position of the moving target and the matching ranges of the plurality of paths to be matched comprises: Based on the matching range of each of the to-be-matched paths and the position of the trajectory point of the mobile target, determining the spatial relationship between the matching range of each of the to-be-matched paths and the trajectory point of the mobile target; Based on the spatial relationship between the matching ranges of the plurality of paths to be matched and the trajectory points of the moving target, a matching result of the trajectory points of the moving target is determined.

7. The method according to claim 6, characterized in that When the spatial relationship between the matching range of the path to be matched and the trajectory point of the mobile target includes that the trajectory point of the mobile target is located within the matching range of the path to be matched, the trajectory point matching result of the mobile target includes that the mobile target matches the corresponding path to be matched; When the spatial relationship between the matching range of the path to be matched and the trajectory points of the mobile target includes that the trajectory points of the mobile target are outside the matching range of the path to be matched, the trajectory point matching result of the mobile target includes that the mobile target does not match the path to be matched.

8. The method according to any one of claims 1 to 7, characterized in that: The method for acquiring the trajectory point position of the mobile target comprises: Obtaining the measured positions of the trajectory points of the moving target from the initial position to the target position; Determining the travel parameters of the mobile target based on the measured positions of the trajectory points of the mobile target during its travel from the initial position to the target position; If the travel parameters of the mobile target do not match the preset travel parameters, determining the trajectory point positions of the mobile target based on the measured trajectory point positions of the mobile target during its travel from the initial position to the target position and the historical trajectory point positions of the mobile target; If the travel parameters of the mobile target match the preset travel parameters, the track point positions of the mobile target are determined based on the measured positions of the track points during the travel process of the mobile target from the initial position to the target position.

9. The method according to claim 8, characterized in that The method for acquiring the trajectory point position of the mobile target also includes: If the measured positions of the trajectory points of the moving target during its travel from the initial position to the target position are not obtained, the trajectory point positions of the moving target are determined based on the historical trajectory point positions of the moving target.

10. The method according to claim 8, characterized in that The determining of the travel parameters of the mobile target based on the measured positions of the trajectory points of the mobile target during the process of the mobile target moving from the initial position to the target position comprises: Based on the track point position of the mobile target and at least one historical track point position of the mobile target, a travel parameter of the mobile target is determined.

11. The method according to claim 8, characterized in that The moving target's travel parameters include the moving target's speed parameters, and the preset travel parameters include preset travel speed parameters; When the speed parameter of the moving object is greater than the preset traveling speed parameter, the traveling parameter of the moving object does not match the preset traveling parameter.

12. The method according to claim 8, characterized in that The moving parameters of the moving target include the moving direction of the moving target, and the method for acquiring the position of the trajectory point of the moving target further includes: Acquiring a preset travel direction from the planned travel route based on the trajectory point positioning data of the mobile target during its travel from the initial position to the target position; If the moving direction of the trajectory point of the moving target does not match the preset moving direction, it is determined that the moving parameter of the moving target does not match the preset moving parameter.

13. A method for determining a route matching degree, characterized in that: include: Determine the actual route of the moving target from the initial position to the target position based on the method described in any one of claims 1 to 12, including a plurality of track point matching results; Based on the matching results of multiple track points included in the actual travel route of the mobile target from the initial position to the target position, the route matching degree between the actual travel route and the planned travel route is determined.

14. The method according to claim 13, characterized in that The determining of the route matching degree between the actual route and the planned route based on the matching results of the multiple trajectory points of the mobile target includes: Based on the matching results of the multiple trajectory points of the mobile target, determining the number of target paths to be matched, wherein the target paths to be matched include paths to be matched that have the same spatial relationship with the trajectory points of the mobile target; Based on the number of target to-be-matched paths and the total number of to-be-matched paths included in the planned traveling route, a route matching degree between the actual traveling route and the planned traveling route is determined.

15. A trajectory point matching device, characterized in that: include: A determination module, configured to determine, based on a planned travel route from an initial position to a target position, a matching range of a plurality of to-be-matched paths within the planned travel route; The judgment module is used to determine the trajectory point matching result of the moving target based on the trajectory point position of the moving target and the matching range of the multiple paths to be matched.

16. A route matching degree determination device, characterized in that: include: A matching module, used to determine a plurality of track point matching results included in an actual travel route of a mobile target from an initial position to a target position based on the method according to any one of claims 1 to 12; The determination module is used to determine the route matching degree between the actual route and the planned route based on the matching results of multiple track points included in the actual route of the mobile target from the initial position to the target position.

17. An electronic device, characterized in that: include: processor; as well as, A memory for storing programs; The program includes instructions, which, when executed by the processor, cause the processor to perform the method according to any one of claims 1 to 14.

18. A non-transitory computer-readable storage medium, characterized in that The non-transitory computer-readable storage medium stores computer instructions for causing the computer to execute the method according to any one of claims 1 to 14.

19. A computer program product, characterized in that The method comprises a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 14 is implemented.

Citation Information

Cited By

  • Trajectory point matching method and apparatus, route matching degree determination method and apparatus, medium, and product

    WO2025214239A1