A method, device, equipment and medium for processing geographic fences

By determining the construction and cancellation of geofences based on actual and simulated operating data, the problem of poor geofence stability is solved, and the stability and reliability of autonomous driving functions are achieved.

CN116513239BActive Publication Date: 2025-09-09CHINA FAW CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310481304.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2025-09-09
Estimated Expiration
2043-04-28

AI Technical Summary

Technical Problem

The stability of geo-fencing in existing technologies is poor, resulting in unstable activation and deactivation of autonomous driving functions.

Method used

By determining the operation level value and maturity based on actual operation data and simulated operation data, geofences are constructed or cancelled to improve the stability of geofences.

Benefits of technology

Automatic generation and stability of geo-fences are achieved to ensure reliable activation and deactivation of autonomous driving functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116513239B_ABST
    Figure CN116513239B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and medium for processing geographic fences, and relates to the field of data processing technology. The method comprises: determining the operation level value of the operation route in the second operation mode based on the actual operation data of each operation route that is in the first operation mode and operates according to the target navigation path and the simulated operation data of each operation route that is in the second operation mode and operates along the operation route; determining the operation maturity of the target navigation path in the second operation mode based on each operation level value; if the operation maturity is greater than or equal to the operation maturity threshold in the second operation mode, and the target navigation path does not have a geographic fence in the second operation mode, then constructing a geographic fence in the second operation mode for the target navigation path. This technical solution constructs a geographic fence for the target navigation path based on the actual operation data and simulated operation data of each operation route, thereby improving the stability of the geographic fence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, equipment and medium for processing geographic fences. Background Art

[0002] Geofencing (Location Based Services, LBS) is a new location-based application that uses a virtual fence to create a virtual geographic boundary. Autonomous driving can be enabled when the autonomous vehicle is within the virtual geographic boundary. Specifically, autonomous driving is enabled when the vehicle is within the area specified by the geofence rules. Otherwise, the vehicle is deemed outside the geofence and the autonomous driving function is disabled. Existing technologies primarily process geofencing by identifying geofence markers along the path. This technical solution suffers from the drawback of poor geofence stability. Summary of the Invention

[0003] The present invention provides a method, device, equipment and medium for processing geo-fences to improve the stability of geo-fences.

[0004] In a first aspect, the present invention provides a method for processing geo-fences, comprising:

[0005] determining an operation level value of the operation route in the second operation mode according to actual operation data of each operation route in the first operation mode and operated according to the target navigation path and simulated operation data of the operation route in the second operation mode;

[0006] Determining the operational maturity of the target navigation path in the second operational mode according to each operational level value;

[0007] If the operational maturity is greater than or equal to the operational maturity threshold in the second operational mode, and the target navigation path does not have a geo-fence in the second operational mode, constructing a geo-fence in the second operational mode for the target navigation path;

[0008] If the operation maturity is less than the operation maturity threshold in the second operation mode, and the target navigation path has a geo-fence in the second operation mode, the geo-fence in the second operation mode is canceled for the target navigation path.

[0009] In a second aspect, the present invention further provides a geo-fence processing device, comprising:

[0010] a level value determining module, configured to determine an operation level value of each operation route in the second operation mode based on actual operation data of each operation route in the first operation mode and operated according to the target navigation path and simulated operation data of each operation route in the second operation mode;

[0011] a maturity determination module, configured to determine an operation maturity of the target navigation path in the second operation mode according to each operation level value;

[0012] a geo-fence building module, configured to build a geo-fence in the second operating mode for the target navigation path if the operating maturity is greater than or equal to an operating maturity threshold in the second operating mode and no geo-fence in the second operating mode exists for the target navigation path;

[0013] The geo-fence cancellation module is used to cancel the geo-fence in the second operating mode for the target navigation path if the operating maturity is less than the operating maturity threshold in the second operating mode and the target navigation path has a geo-fence in the second operating mode.

[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, including:

[0015] at least one processor; and

[0016] a memory communicatively coupled to at least one processor; wherein

[0017] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the geo-fence processing method provided by any embodiment of the present invention.

[0018] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a processor to implement the geographic fence processing method of any embodiment of the present invention when executed.

[0019] An embodiment of the present invention determines an operation level value for each operation route in the second operation mode based on actual operation data of each operation route in the first operation mode and operating along the target navigation path, and simulated operation data of each operation route in the second operation mode and operating along the operation route. Based on each operation level value, the operation maturity of the target navigation path in the second operation mode is determined. If the operation maturity is greater than or equal to the operation maturity threshold for the second operation mode, and no geo-fence exists for the target navigation path in the second operation mode, a geo-fence is constructed for the target navigation path in the second operation mode. If the operation maturity is less than the operation maturity threshold for the second operation mode, and a geo-fence exists for the target navigation path in the second operation mode, the geo-fence in the second operation mode is canceled for the target navigation path. The technical solution of the embodiment of the present invention constructs a geo-fence for the target navigation path based on the actual operation data and simulated operation data of each operation route, thereby improving the stability of the geo-fence.

[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1A is a flowchart of a method for processing a geo-fence according to the first embodiment of the present invention;

[0023] Figure 1B is a structural diagram of a geo-fence processing system provided according to the first embodiment of the present invention;

[0024] Figure 2 is a flowchart of a method for processing a geo-fence according to a second embodiment of the present invention;

[0025] Figure 3 This is a structural diagram of a geo-fence processing device provided according to a third embodiment of the present invention;

[0026] Figure 4 2 is a schematic diagram of an electronic device for a geo-fence processing method provided according to a fourth embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "first," "second," and "target" and the like in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the numbers used in this way are interchangeable where appropriate so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to these processes, methods, products, or apparatus.

[0029] In addition, it should be noted that the collection, storage, use, processing, transmission, provision and disclosure of actual operating data involved in the technical solution of the present invention are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0030] Example 1

[0031] Figure 1A This is a flowchart of a geo-fence processing method provided in Example 1 of the present invention. This embodiment is applicable to situations where geo-fences are processed. The method can be executed by a geo-fence processing device, which can be implemented in the form of hardware and / or software and specifically configured in an electronic device, such as a server.

[0032] like Figure 1A As shown, the method includes:

[0033] S101. Determine an operation level value of each operation route in the second operation mode based on actual operation data of each operation route in the first operation mode and running according to a target navigation path and simulated operation data of each operation route in the second operation mode and running along the operation route.

[0034] In this embodiment, the first operating mode may be an operating mode in which the vehicle actually operates, including but not limited to a manual operating mode, an auxiliary operating mode, and an automatic operating mode. The second operating mode may be an operating mode in which the vehicle simulates operation. Among them, the operating modes may include but are not limited to a manual operating mode, an auxiliary operating mode, and an automatic operating mode. The manual operating mode may be a mode in which the driver controls the operation of the vehicle; the auxiliary operating mode may be a mode in which the vehicle automatically operates but requires the driver to monitor the vehicle; the automatic operating mode may be a mode in which the vehicle automatically operates without the driver monitoring the vehicle. In an optional embodiment, when the first operating mode is a manual operating mode, the second operating mode is an auxiliary operating mode; when the first operating mode is an auxiliary operating mode or an automatic operating mode, the second operating mode is an automatic operating mode.

[0035] The target navigation path may be the navigation path for which geofencing processing is to be performed. The operating route may be the route operated along the target navigation path. Actual operating data may be the actual operating data of the vehicle during manual takeover. Simulated operating data may be the operating data of a simulated operation of the vehicle in the second operating mode during manual takeover. Operating data may include, but is not limited to, vehicle speed, wheel speed, pedal height, steering wheel angle, steering wheel speed, operating turn signals, heading, vehicle location longitude, and vehicle location latitude. An operating turn signal is a turn signal that is on. The operating turn signal is represented as a numerical value in the operating data, with different values ​​corresponding to different operating turn signals. The relationship between the operating turn signal and the numerical value can be determined by technicians based on actual needs or practical experience. For example, if only the left turn signal is on, the value of the operating turn signal is 1; if only the right turn signal is on, the value of the operating turn signal is 2; if both the left and right turn signals are on, the value of the operating turn signal is 3; and if both the left and right turn signals are off, the value of the operating turn signal is 0. The operating level value may be used to indicate the degree to which the second operating mode is usable in the operating route.

[0036] Specifically, a certain algorithm is used to determine the operation level value of the operation route in the second operation mode based on the actual operation data of each operation route in the first operation mode and running according to the target navigation path and the simulated operation data of the operation route in the second operation mode.

[0037] In an optional embodiment, the method for determining the operating level value of the operating route in the second operating mode also includes: if the first operating mode is an auxiliary operating mode or an automatic operating mode, and the manual takeover time during the actual operation along the operating route is greater than the manual takeover time threshold, then the preset first operating level value is used as the operating level value of the operating route in the second operating mode; if the first operating mode is an auxiliary operating mode or an automatic operating mode, and there is no manual takeover during the actual operation along the operating route, then the preset second operating level value is used as the operating level value of the operating route in the second operating mode; wherein, the second operating level value is greater than the first operating level value.

[0038] The manual takeover duration may be the duration of manual takeover of vehicle operation. The manual takeover duration threshold, the first operating level value, and the second operating level value may be independently set by technicians based on actual needs or practical experience. In one specific embodiment, the first operating level value is 0 and the second operating level value is 1.

[0039] By adopting the above technical solution, when the first operating mode is the auxiliary operating mode or the automatic operating mode, the operating level value in the second operating mode can be flexibly determined according to the length of manual takeover during the actual operation process along the operating route, thereby improving the accuracy of the operating level value in the second operating mode and further improving the accuracy of the operation maturity in the second operating mode.

[0040] S102: Determine the operation maturity of the target navigation path in the second operation mode according to each operation level value.

[0041] In this embodiment, the operational maturity can be used to characterize the usability of the second operational mode in the target navigation path. Specifically, the minimum value among the operational level values ​​is determined as the operational maturity of the target navigation path in the second operational mode. Exemplarily, the operational maturity in the second operational mode can be determined by the following formula:

[0042] Level_Mat = min(Level(i));

[0043] Wherein, Level_Mat represents the operation maturity in the second operation mode; Level(i) represents the operation level value of the operation route i in the second operation mode.

[0044] In an optional embodiment, if the second operating mode is an auxiliary operating mode, the operating maturity can be determined by the following formula:

[0045] Level_AdMat=min(Level_Ad(i));

[0046] Wherein, Level_AdMat represents the operation maturity in the auxiliary operation mode; Level_Ad(i) represents the operation level value of route i in the auxiliary operation mode;

[0047] In yet another optional embodiment, if the second operating mode is an automatic operating mode, the operating maturity can be determined by the following formula:

[0048] Level_AdasMat=min(Level_Adas(i));

[0049] Among them, Level_AdasMat represents the operation maturity in the automatic operation mode; Level_Adas(i) represents the operation level value of the operation route i in the automatic operation mode.

[0050] S103A: If the operational maturity is greater than or equal to the operational maturity threshold in the second operational mode, and the target navigation path does not have a geo-fence in the second operational mode, construct a geo-fence in the second operational mode for the target navigation path. Execution ends.

[0051] Specifically, if the operating maturity is greater than or equal to the operating maturity threshold in the second operating mode, and there is no geo-fence in the second operating mode on the target navigation path, a geo-fence in the second operating mode is constructed for the target navigation path so that the vehicle can operate in the second operating mode on the target navigation path according to the geo-fence to which the target navigation path belongs.

[0052] In a specific embodiment, the operation maturity threshold in the second operation mode can be predetermined by: using the candidate navigation path operation route with the existing geo-fence in the second operation mode as the auxiliary operation route; using the actual operation data of the auxiliary operation route in the first operation mode and the simulated operation data in the second operation mode and running along the auxiliary operation route as algorithm input data, using the operation maturity of the auxiliary operation route in the second operation mode as the optimization function, and using a machine learning algorithm to determine the operation maturity threshold in the second operation mode.

[0053] S103B: If the operation maturity is less than the operation maturity threshold in the second operation mode, and the target navigation path has a geo-fence in the second operation mode, cancel the geo-fence in the second operation mode for the target navigation path.

[0054] Specifically, if the operating maturity is less than the operating maturity threshold in the second operating mode, and there is a geo-fence in the second operating mode on the target navigation path, the geo-fence in the second operating mode is canceled for the target navigation path so that the vehicle cannot operate in the second operating mode on the target navigation path.

[0055] Optional, Figure 1B This is a structural diagram of a geographic fence processing system. Figure 1B As shown, the geofence processing system includes the cloud and the vehicle side. The cloud side includes the geofence processing module and the geofence publishing module. The vehicle side includes the network connection module, the intelligent operation module and the navigation module.

[0056] The navigation module is configured to determine a target navigation path based on a target departure point and a target destination set by the vehicle driver; receive updated existing geofences from the networking module; prompt the driver whether to allow the vehicle to operate in a second operating mode within the geofence of the target navigation path based on whether the existing geofences include the geofence of the target navigation path; and, if the driver allows the vehicle to operate in the second mode, send a second operating mode activation instruction to the intelligent operation module, so that the intelligent operation module controls the vehicle to operate in the second operating mode and according to the operating route of the target navigation path; wherein the existing geofence data may be geofence data already in the geofence publishing module;

[0057] an intelligent operation module, configured to control the vehicle to be in the second operation mode and to operate along the operation route of the target navigation path when receiving a second operation mode activation instruction from the navigation module; or to simulate the vehicle being in the second operation mode and operating along the operation route of the target navigation path when not receiving a second operation mode activation instruction;

[0058] The network connection module is configured to collect actual operation data of each operation route in a first operation mode and according to a target navigation path, and simulated operation data in a second operation mode and along the operation route from the intelligent operation module; upload the actual operation data and the simulated operation data to the geo-fence processing module in the cloud; receive updated existing geo-fence data from the geo-fence publishing module in the cloud; and send the updated existing geo-fence data to the navigation module on the vehicle side;

[0059] a geo-fence processing module for determining an operation level value of the operation route in the second operation mode based on actual operation data of each operation route in the first operation mode and operating along the target navigation path and simulated operation data of each operation route in the second operation mode and operating along the operation route uploaded by the networking module; determining an operation maturity of the target navigation path in the second operation mode based on each operation level value; if the operation maturity is greater than or equal to an operation maturity threshold for the second operation mode and no geo-fence in the second operation mode exists for the target navigation path, constructing a geo-fence in the second operation mode for the target navigation path and sending the constructed geo-fence data to the geo-fence publishing module; if the operation maturity is less than the operation maturity threshold for the second operation mode and a geo-fence in the second operation mode exists for the target navigation path, generating geo-fence cancellation information for the target navigation path and sending the geo-fence cancellation information to the geo-fence publishing module;

[0060] The geofence publishing module is configured to receive completed geofence data or canceled geofence data from the geofence creation module; update the existing geofence data in the geofence publishing module based on the received geofence data, i.e., add the completed geofence data to the existing geofence data, or delete the geofence data of the target navigation path from the existing geofence data based on the geofence cancellation information, so as to update the existing geofence data; and send the updated existing geofence data to the network connection module;

[0061] An embodiment of the present invention determines an operation level value for each operation route in the second operation mode based on actual operation data of each operation route in the first operation mode and running along a target navigation path, and simulated operation data of each operation route in the second operation mode and running along the operation route. Based on each operation level value, the operation maturity of the target navigation path in the second operation mode is determined. If the operation maturity is greater than or equal to the operation maturity threshold for the second operation mode and no geo-fence exists for the target navigation path in the second operation mode, a geo-fence is constructed for the target navigation path in the second operation mode. If the operation maturity is less than the operation maturity threshold for the second operation mode and no geo-fence exists for the target navigation path in the second operation mode, the geo-fence in the second operation mode is removed for the target navigation path. The technical solution of the embodiment of the present invention constructs a geo-fence for the target navigation path based on the actual operation data and simulated operation data of each operation route, thereby achieving automatic generation of geo-fences and improving the stability of geo-fences. It also decouples geo-fence processing from the automatic operation algorithm, achieving universal applicability of geo-fence processing for different navigation paths.

[0062] Example 2

[0063] Figure 2This is a flowchart of a method for processing a geographic fence provided in the second embodiment of the present invention. Based on the technical solutions of the above embodiments, the embodiment of the present invention optimizes and improves the operation of determining the operating level value of the operating route in the second operating mode.

[0064] Furthermore, “determining the operating level value of the operating route in the second operating mode based on the actual operating data of each operating route that is in the first operating mode and runs according to the target navigation path and the simulated operating data that is in the second operating mode and runs along the operating route” is refined into “for each target operating route, constructing an error data matrix based on the actual operating data of the target operating route and the simulated operating data that is in the second operating mode along the target operating route; wherein, the target operating route is the operating route that is in the first operating mode and runs according to the target navigation path; determining the target data matrix based on the error data matrix and the data threshold matrix, and determining the number of first elements in the target data matrix whose element values ​​are greater than the preset element threshold, and the number of second elements in the target data matrix whose element values ​​are less than the preset element threshold; determining the sum of the number of elements between the first number of elements and the second number of elements, and determining the operating level value of the operating route in the second operating mode by the ratio between the first number of elements and the sum of the number of elements”, so as to improve the operation of determining the operating level value of the operating route in the second operating mode.

[0065] It should be noted that for the parts not described in detail in the embodiments of the present invention, reference can be made to the description of the aforementioned embodiments.

[0066] like Figure 2 The method shown comprises:

[0067] S201. For each target operating route, construct an error data matrix based on actual operating data of the target operating route and simulated operating data of operating in the second operating mode along the target operating route; wherein the target operating route is an operating route in the first operating mode and operating according to the target navigation path.

[0068] In this embodiment, the error data matrix may be a matrix of data errors between the actual operation data and the simulated operation data.

[0069] Optionally, for each target operation route, an error data matrix is ​​constructed based on the actual operation data of the target operation route and the simulated operation data of the target operation route in the second operation mode, including: for each target operation route, determining the difference between the actual operation data of the candidate operation dimension during the actual operation on the target operation route at each unit moment and the simulated operation data of the candidate operation dimension during the operation on the target operation route in the second operation mode at each unit moment, as the operation data difference of the candidate operation dimension at each unit moment; for each candidate operation dimension, determining the maximum operation data difference, standard deviation of the operation data difference and variance of the operation data difference of the candidate operation dimension based on the operation data difference of the candidate operation dimension at each unit moment; and constructing an error data matrix based on the maximum operation data difference, standard deviation of the operation data difference and variance of the operation data difference of each candidate operation dimension.

[0070] The actual operation process is the operation process in the first operation mode. The candidate operation dimensions can be dimensions of vehicle operation data, including but not limited to vehicle speed, wheel speed, pedal height, steering wheel angle, steering wheel speed, working turn signal, heading, vehicle position longitude and vehicle position latitude, etc. Accordingly, the actual operation data can include but not limited to actual vehicle speed, actual wheel speed, actual pedal height, actual steering wheel angle, actual steering wheel speed, actual working turn signal, actual heading, actual vehicle position longitude and actual vehicle position latitude, etc.; the simulated operation data can include but not limited to simulated vehicle speed, simulated wheel speed, simulated pedal height, simulated steering wheel angle, simulated steering wheel speed, simulated working turn signal, simulated heading, simulated vehicle position longitude and simulated vehicle position latitude, etc.

[0071] In a specific embodiment, for each target operation route, an actual operation data matrix for each unit moment is constructed based on the actual operation data of the candidate operation dimensions during the actual operation process on the target operation route at each unit moment; wherein, the number of dimensions of the actual operation data matrix is ​​the number of candidate operation dimensions; according to the simulated operation data of the candidate operation dimensions during the operation in the second operation mode on the target operation route at each unit moment, a simulated operation data matrix for each unit moment is constructed; wherein, the number of dimensions of the simulated operation data matrix is ​​the number of candidate operation dimensions; for each unit moment, the matrix obtained by subtracting the actual operation data matrix of the unit moment from the simulated operation data matrix of the unit moment is used as the operation data difference matrix of the unit moment; and the element value in the operation data difference matrix of the unit moment is used as the operation data difference of the candidate operation dimension at the unit moment.

[0072] Exemplarily, the running data difference matrix can be determined using the following formula:

[0073]

[0074]

[0075] E(t)=NAV_h(t)-NAV_a(t);

[0076] Among them, t represents the unit time; NAV_h represents the actual operation data matrix; v_h represents the actual vehicle speed; wss_h represents the actual wheel speed; p_h represents the actual pedal height; st_h represents the actual steering wheel angle; sts_h represents the actual steering wheel speed; light_h represents the actual working turn signal; heading_h represents the actual heading; lat_h represents the actual vehicle position longitude; lon_h represents the actual vehicle position dimension; NAV_a represents the simulated operation data matrix; v_a represents the simulated vehicle speed; wss_a represents the simulated wheel speed; p_a represents the simulated pedal height; st_a represents the simulated steering wheel angle; sts_a represents the simulated steering wheel speed; light_a represents the simulated working turn signal; heading_a represents the simulated heading; lat_a represents the simulated vehicle position longitude; lon_a represents the simulated vehicle position dimension; E represents the operation data difference matrix.

[0077] It can be understood that the above technical solution is adopted to determine the operating data difference of the candidate operating dimensions at each unit time, and construct an error data matrix based on the maximum operating data difference of each candidate operating dimension, the standard deviation of the operating data difference and the variance of the operating data difference. The maximum operating data difference of each candidate operating dimension, the standard deviation of the operating data difference and the variance of the operating data difference are used to characterize the error between the actual operating data and the simulated operating data, thereby improving the accuracy of the error data between the actual operating data and the simulated operating data and improving the efficiency of determining the operating level value under the second operating mode.

[0078] S202. Determine a target data matrix based on the error data matrix and the data threshold matrix, and determine the number of first elements in the target data matrix whose element values ​​are greater than a preset element threshold, and the number of second elements in the target data matrix whose element values ​​are less than the preset element threshold.

[0079] In this embodiment, the data threshold matrix can be a matrix of data error thresholds between the actual operating data of the target operating route and the simulated operating data of the target operating route in the second operating mode. The target data matrix can be a matrix obtained by subtracting the error data matrix from the data threshold matrix. The first number of elements is the number of elements in the target data matrix whose element values ​​are greater than the preset element threshold. The second number of elements can be the number of first elements in the target data matrix whose element values ​​are less than the preset element threshold. The preset element threshold can be independently set by technical personnel based on actual needs or practical experience. In a preferred embodiment, the preset element threshold is 0.

[0080] In an optional embodiment, the elements of the error data matrix include the maximum difference value of the operation data, the standard deviation of the difference value of the operation data, and the variance of the difference value of the operation data for each candidate operation dimension; the elements of the data threshold matrix include the threshold value of the maximum difference value of the operation data, the threshold value of the standard deviation of the difference value of the operation data, and the threshold value of the variance of the difference value of the operation data for each candidate operation dimension; and the error data matrix is ​​subtracted from the data threshold matrix to obtain the target data matrix. In a specific embodiment, the threshold value of the maximum difference value of the operation data, the threshold value of the standard deviation of the difference value of the operation data, and the threshold value of the variance of the difference value of the operation data for each candidate operation dimension can be predetermined by: using a candidate navigation path operation route with a geo-fence in the second operation mode as an auxiliary operation route; using actual operation data of the auxiliary operation route in the first operation mode and simulated operation data of the auxiliary operation route in the second operation mode and running along the auxiliary operation route as algorithm input data; using the operation maturity of the auxiliary operation route in the second operation mode as an optimization function; and using a machine learning algorithm to determine the threshold value of the maximum difference value of the operation data, the threshold value of the standard deviation of the difference value of the operation data, and the threshold value of the variance of the operation data for each candidate operation dimension.

[0081] S203 : Determine the sum of the number of elements between the first number of elements and the second number of elements, and determine the operation level value of the operation route in the second operation mode by using the ratio between the first number of elements and the sum of the number of elements.

[0082] For example, the operating level value can be determined by the following formula:

[0083]

[0084] Among them, Level represents the operating level value; M1 represents the number of the first elements; M2 represents the number of the second elements; M1+M2 represents the sum of the number of elements.

[0085] In an optional embodiment, if the first operating mode is an auxiliary operating mode or an automatic operating mode, and the operating level value of the operating route in the second operating mode is less than the operating level value threshold, the preset first operating level value is used as the operating level value of the operating route in the second operating mode.

[0086] The operational level threshold can be predetermined by using a candidate navigation route with a geo-fenced navigation path in the second operational mode as an auxiliary operational route; using actual operational data for the auxiliary operational route in the first operational mode and simulated operational data along the auxiliary operational route in the second operational mode as algorithm input data; and using the operational maturity of the auxiliary operational route in the second operational mode as an optimization function to determine the operational level threshold using a machine learning algorithm. In one specific embodiment, the first operational level is 0.

[0087] It can be understood that by adopting the above technical solution, when the first operating mode is the auxiliary operating mode or the automatic operating mode, the operating level value in the second operating mode is determined according to the operating level value threshold, and the operating level value in the second operating mode can be flexibly determined, thereby improving the accuracy of the operating level value in the second operating mode, and thereby improving the accuracy of the operating maturity in the second operating mode.

[0088] S204: Determine the operation maturity of the target navigation path in the second operation mode according to each operation level value.

[0089] S205A: If the operational maturity is greater than or equal to the operational maturity threshold in the second operational mode, and the target navigation path does not have a geo-fence in the second operational mode, construct a geo-fence in the second operational mode for the target navigation path. Execution ends.

[0090] S205B: If the operation maturity is less than the operation maturity threshold in the second operation mode, and the target navigation path has a geo-fence in the second operation mode, cancel the geo-fence in the second operation mode for the target navigation path.

[0091] In an embodiment of the present invention, for each operation route in a first operation mode and operating according to a target navigation path, an error data matrix is ​​constructed based on actual operation data of the operation route and simulated operation data of the operation route in a second operation mode. A target data matrix is ​​determined based on the error data matrix and a data threshold matrix, and the number of first elements in the target data matrix whose element values ​​are greater than a preset element threshold and the number of second elements in the target data matrix whose element values ​​are less than the preset element threshold are determined. The sum of the first and second element numbers is determined, and the operation level value of the operation route in the second operation mode is determined based on the ratio between the first and second element numbers. Using the above technical solution, the target data matrix is ​​determined, and the operation level value is determined based on the first and second element numbers in the target data matrix. This improves the efficiency of determining the operation level value and the accuracy of the operation level value in the second operation mode, thereby improving the accuracy of the operation maturity in the second operation mode and further improving the accuracy of geo-fence processing.

[0092] Example 3

[0093] Figure 3 This is a structural diagram of a geo-fence processing device provided in Example 3 of the present invention. This embodiment is applicable to the situation of processing geo-fences. The geo-fence processing device can be implemented in the form of hardware and / or software and specifically configured in an electronic device, such as a server.

[0094] like Figure 3 The geo-fence processing device shown in the figure includes a level value determination module 301, a maturity determination module 302, a geo-fence construction module 303 and a geo-fence cancellation module 304.

[0095] The level value determining module 301 is configured to determine an operation level value of each operation route in the second operation mode based on actual operation data of each operation route in the first operation mode and according to the target navigation path and simulated operation data of each operation route in the second operation mode;

[0096] A maturity determination module 302 is configured to determine an operation maturity of the target navigation path in the second operation mode according to each operation level value;

[0097] The geo-fence building module 303 is configured to build a geo-fence in the second operating mode for the target navigation path if the operating maturity is greater than or equal to the operating maturity threshold in the second operating mode and the target navigation path does not have a geo-fence in the second operating mode;

[0098] The geo-fence canceling module 304 is configured to cancel the geo-fence in the second operating mode for the target navigation path if the operating maturity is less than the operating maturity threshold in the second operating mode and the target navigation path has a geo-fence in the second operating mode.

[0099] In an embodiment of the present invention, a level value determination module determines an operation level value for each operation route in the second operation mode based on actual operation data of each operation route in the first operation mode and along a target navigation path, and simulated operation data of each operation route in the second operation mode and along the operation route. A maturity determination module determines the operation maturity of the target navigation path in the second operation mode based on each operation level value. A geofence construction module constructs a geofence for the target navigation path in the second operation mode if the operation maturity is greater than or equal to an operation maturity threshold for the second operation mode and no geofence exists for the target navigation path in the second operation mode. A geofence cancellation module cancels the geofence for the target navigation path in the second operation mode if the operation maturity is less than the operation maturity threshold for the second operation mode and a geofence exists for the target navigation path in the second operation mode. The technical solution of this embodiment of the present invention constructs a geofence for the target navigation path based on the actual operation data and simulated operation data of each operation route, thereby achieving automatic determination of the geofence and utilizing the data of each operation route to determine the geofence, thereby improving the stability of the geofence.

[0100] Optionally, the level value determination module 301 includes:

[0101] an error matrix construction unit, configured to construct, for each target operating route, an error data matrix based on actual operating data of the target operating route and simulated operating data of the target operating route in the second operating mode; wherein the target operating route is an operating route in the first operating mode and operating according to the target navigation path;

[0102] a target matrix construction unit, configured to determine a target data matrix based on the error data matrix and the data threshold matrix, and determine the number of first elements in the target data matrix whose element values ​​are greater than a preset element threshold, and the number of second elements in the target data matrix whose element values ​​are less than the preset element threshold;

[0103] The first level value determining unit is used to determine the sum of the number of elements between the first number of elements and the second number of elements, and determine the operation level value of the operation route in the second operation mode based on the ratio between the first number of elements and the sum of the number of elements.

[0104] Optionally, an error matrix construction unit is used to:

[0105] For each target operating route, determine the difference between the actual operating data of the candidate operating dimension during the actual operation on the target operating route at each unit time and the simulated operating data of the candidate operating dimension during the operation in the second operating mode on the target operating route at each unit time, as the operating data difference of the candidate operating dimension at each unit time;

[0106] For each candidate operating dimension, determine the maximum operating data difference, the standard deviation, and the variance of the operating data difference of the candidate operating dimension based on the operating data difference of the candidate operating dimension at each unit time;

[0107] An error data matrix is ​​constructed based on the maximum value of the running data difference, the standard deviation of the running data difference, and the variance of the running data difference of each candidate running dimension.

[0108] Optionally, the level value determination module 301 further includes:

[0109] The second level value determining unit is configured to use the preset first operating level value as the operating level value of the operating route in the second operating mode if the first operating mode is the auxiliary operating mode or the automatic operating mode and the operating level value of the operating route in the second operating mode is less than the operating level value threshold.

[0110] Optionally, the device further includes:

[0111] If the first operation mode is the auxiliary operation mode or the automatic operation mode, and the manual takeover time during the actual operation along the operation route is greater than the manual takeover time threshold, the preset first operation level value is used as the operation level value of the operation route in the second operation mode;

[0112] If the first operating mode is an auxiliary operating mode or an automatic operating mode, and no manual control is taken over during the actual operation along the operating route, the preset second operating level value will be used as the operating level value of the operating route in the second operating mode; wherein the second operating level value is greater than the first operating level value.

[0113] Optionally, in the device, when the first operating mode is a manual operating mode, the second operating mode is an auxiliary operating mode; when the first operating mode is an auxiliary operating mode or an automatic operating mode, the second operating mode is an automatic operating mode.

[0114] The above-mentioned geo-fence processing device can execute the geo-fence processing method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing each geo-fence processing method.

[0115] Example 4

[0116] Figure 4A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, 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 (such as helmets, glasses, watches, etc.) 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 invention described and / or claimed herein.

[0117] like Figure 4 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0118] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0119] The processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the geofencing processing method.

[0120] In some embodiments, the geofence processing method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the geofence processing method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the geofence processing method in any other appropriate manner (e.g., by means of firmware).

[0121] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0122] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0123] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0124] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device 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 electronic device. 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).

[0125] The systems and techniques described herein can 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 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 can 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), a blockchain network, and the Internet.

[0126] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.

[0127] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.

[0128] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.

Claims

1. A method for processing geographic fences, characterized in that: The method comprises: For each target operating route, determine the difference between the actual operating data of the candidate operating dimension during the actual operation on the target operating route at each unit time and the simulated operating data of the candidate operating dimension during the operation in the second operating mode on the target operating route at each unit time, as the operating data difference of the candidate operating dimension at each unit time; For each candidate operating dimension, determine the maximum operating data difference, the standard deviation, and the variance of the operating data difference of the candidate operating dimension based on the operating data difference of the candidate operating dimension at each unit time; An error data matrix is ​​constructed based on the maximum difference value of the operation data, the standard deviation of the operation data difference, and the variance of the operation data difference of each candidate operation dimension; wherein the target operation route is an operation route in the first operation mode and running according to the target navigation path; Determining a target data matrix based on the error data matrix and the data threshold matrix, and determining the number of first elements in the target data matrix whose element values ​​are greater than a preset element threshold, and the number of second elements in the target data matrix whose element values ​​are less than the preset element threshold; determining a sum of the number of elements between the first number of elements and the second number of elements, and determining an operation level value of the operation route in a second operation mode by using a ratio between the first number of elements and the sum of the number of elements; Determining the operational maturity of the target navigation path in the second operational mode according to each operational level value; If the operation maturity is greater than or equal to the operation maturity threshold in the second operation mode, and the target navigation path does not have a geo-fence in the second operation mode, constructing a geo-fence in the second operation mode for the target navigation path; If the operation maturity is less than the operation maturity threshold in the second operation mode, and the target navigation path has a geo-fence in the second operation mode, the geo-fence in the second operation mode is canceled for the target navigation path.

2. The method according to claim 1, characterized in that Also includes: If the first operating mode is the auxiliary operating mode or the automatic operating mode, and the operating level value of the operating route in the second operating mode is less than the operating level value threshold, the preset first operating level value is used as the operating level value of the operating route in the second operating mode.

3. The method according to claim 1, characterized in that Also includes: If the first operation mode is the auxiliary operation mode or the automatic operation mode, and the manual takeover time during the actual operation along the operation route is greater than the manual takeover time threshold, the preset first operation level value is used as the operation level value of the operation route in the second operation mode; If the first operating mode is an auxiliary operating mode or an automatic operating mode, and no manual control is taken over during the actual operation along the operating route, the preset second operating level value will be used as the operating level value of the operating route under the second operating mode; wherein, the second operating level value is greater than the first operating level value.

4. The method according to claim 1, wherein In the case where the first operating mode is a manual operating mode, the second operating mode is an auxiliary operating mode; When the first operation mode is the assist operation mode or the automatic operation mode, the second operation mode is the automatic assist operation mode.

5. A geographic fence processing device, characterized in that: The device is used to execute the geo-fence processing method according to any one of claims 1 to 4; The geo-fence processing device includes: a level value determining module, configured to determine an operation level value of each operation route in the second operation mode based on actual operation data of each operation route in the first operation mode and operated according to the target navigation path and simulated operation data of each operation route in the second operation mode; a maturity determination module, configured to determine an operation maturity of the target navigation path in the second operation mode according to each operation level value; a geo-fence building module, configured to build a geo-fence in the second operating mode for the target navigation path if the operating maturity is greater than or equal to an operating maturity threshold in the second operating mode and no geo-fence in the second operating mode exists for the target navigation path; The geo-fence cancellation module is used to cancel the geo-fence in the second operating mode for the target navigation path if the operating maturity is less than the operating maturity threshold in the second operating mode and the target navigation path has a geo-fence in the second operating mode.

6. The device according to claim 5, characterized in that The level value determination module includes: an error matrix construction unit, configured to construct, for each target operating route, an error data matrix based on actual operating data of the target operating route and simulated operating data of the target operating route in the second operating mode; wherein the target operating route is an operating route in the first operating mode and operating according to the target navigation path; a target matrix construction unit, configured to determine a target data matrix based on the error data matrix and the data threshold matrix, and determine the number of first elements in the target data matrix whose element values ​​are greater than a preset element threshold, and the number of second elements in the target data matrix whose element values ​​are less than the preset element threshold; The level value determining unit is used to determine the sum of the number of elements between the first number of elements and the second number of elements, and determine the operation level value of the operation route in the second operation mode based on the ratio between the first number of elements and the sum of the number of elements.

7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the geo-fence processing method according to any one of claims 1 to 4.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the geo-fence processing method according to any one of claims 1 to 4 when executed.

Citation Information

Patent Citations

  • Design operation domain identification method and device for automatic driving, medium and equipment

    CN114396952A

  • Track line optimization method and system, and display

    CN115218919A