Search

CN-116089243-B - Map production abnormality positioning and processing method, system, medium and equipment

CN116089243BCN 116089243 BCN116089243 BCN 116089243BCN-116089243-B

Abstract

The application discloses a map production abnormality positioning and processing method, a system, a medium and equipment, belonging to the technical field of map production, wherein the method comprises the steps of collecting log information in the map production process through a log collecting module; the method comprises the steps of analyzing log information through a log analysis module, determining a corresponding first exception solution in a rule base according to an analysis result, adding a corresponding second exception solution according to the exception if the first exception solution corresponding to the exception does not exist in the rule base, establishing a relation between the second exception solution and the exception, updating the rule base, and processing the exception in the map production process according to the first exception solution or the second exception solution. By analyzing the log information in the map production process, the method realizes the accurate positioning of the abnormality in the map production, and finds a corresponding abnormality solution in a rule base according to the analysis result, thereby realizing the automatic processing of the abnormality.

Inventors

  • XU XINZHAO
  • ZOU PENG
  • ZHANG YANFENG
  • SU LONGQIANG
  • WEI LI

Assignees

  • 北京四维图新科技股份有限公司

Dates

Publication Date
20260505
Application Date
20230103

Claims (9)

  1. 1. The map production abnormality locating and processing method is characterized by comprising the following steps: The method comprises the steps that log information in the map production process is collected through a log collection module, wherein the log collection module achieves automatic collection of logs through a filebeat processing sub-module, an elk processing sub-module, a kafka processing sub-module and a python sub-module; Analyzing the log information through a log analysis module, and determining a corresponding first exception solution in a rule base according to an analysis result; If the first abnormal solution corresponding to the abnormality does not exist in the rule base, adding a corresponding second abnormal solution according to the abnormality, establishing a relation between the second abnormal solution and the abnormality, and updating the rule base; processing the abnormality in the map production process according to the first abnormality solution or the second abnormality solution; The method comprises the steps of comparing a character string in an abnormal log with a character string in a stored abnormal log to obtain a first matching degree, calculating the editing distance between the character string in the abnormal log and the character string in the stored abnormal log and taking the first matching degree as a second matching degree if the first matching degree is smaller than a first preset threshold, calculating the probability that the appearance sequence of the error character string in the abnormal log accords with an order rule and taking the probability as a third matching degree if the second matching degree is smaller than a second preset threshold, wherein the error character string is the character string which causes the stored abnormal log to be the abnormal log, the order rule is the order of the error character string in the stored abnormal log, and taking the stored abnormal log and the stored abnormal log as a first scheme if the first matching degree is not smaller than the first preset threshold.
  2. 2. The map production anomaly locating and processing method of claim 1, wherein the analyzing the log information by a log analysis module comprises: identifying abnormal keywords in the log information through a log analysis module, and screening to obtain an abnormal log; The content in the abnormal log is segmented and extracted, so that only character strings exist in the abnormal log, and adjacent character strings are segmented by specific symbols; and matching the segmented abnormal logs with the abnormal logs stored in the database to obtain a matching result, and taking the matching result as the analysis result.
  3. 3. The map production anomaly locating and processing method of claim 2, wherein the analyzing the log information by the log analysis module further comprises: aggregating the abnormal logs according to the server addresses, and aggregating the abnormal logs with the consistent server addresses together to obtain first-class abnormal logs; Aggregating the first type of exception logs according to service names, and aggregating the exception logs with consistent service names together to obtain a second type of exception logs; And aggregating the second type of abnormal logs according to the abnormal content, and aggregating the abnormal logs with consistent log abnormal content together to obtain a third type of abnormal logs.
  4. 4. The map production anomaly locating and processing method of claim 1, further comprising: The method comprises the steps of collecting index information in the map production process through an index collecting module; The index analysis module analyzes the index information according to the log analysis information provided by the log analysis module, transmits an analysis result to the log analysis module, and calls a corresponding solution from the rule base to process index abnormality.
  5. 5. The map production anomaly locating and processing method of claim 1, wherein the rule base creation process comprises: establishing an initial exception handling rule according to the existing historical exception log information; adding a corresponding exception handling rule according to the new exception log, and recording the use frequency and the use effect of the exception handling rule; And establishing the association relation between the logs and the indexes in the rule base, and coding the association relation between different services to obtain the rule base.
  6. 6. A map production anomaly locating and processing system, comprising: The system comprises a log acquisition module, a map processing module, a user interface module and a map processing module, wherein the log acquisition module acquires log information in the map production process, and the log acquisition module realizes automatic acquisition of logs through the filebeat processing sub-module, the elk processing sub-module, the kafka processing sub-module and the python sub-module; The log analysis module is used for analyzing the log information and determining a corresponding first exception solution in the rule base according to an analysis result; The fault analysis and self-healing module is used for adding a corresponding second abnormal solution according to the abnormality if the first abnormal solution corresponding to the abnormality does not exist in the rule base, establishing a relation between the second abnormal solution and the abnormality, updating the rule base, and processing the abnormality in the map production process according to the first abnormal solution or the second abnormal solution; The method comprises the steps of comparing a character string in an abnormal log with a character string in a stored abnormal log to obtain a first matching degree, calculating the editing distance between the character string in the abnormal log and the character string in the stored abnormal log and taking the first matching degree as a second matching degree if the first matching degree is smaller than a first preset threshold, calculating the probability that the appearance sequence of the error character string in the abnormal log accords with an order rule and taking the probability as a third matching degree if the second matching degree is smaller than a second preset threshold, wherein the error character string is the character string which causes the stored abnormal log to be the abnormal log, the order rule is the order of the error character string in the stored abnormal log, and taking the stored abnormal log and the stored abnormal log as a first scheme if the first matching degree is not smaller than the first preset threshold.
  7. 7. A computer readable storage medium having stored thereon computer executable instructions, wherein the computer executable instructions are executed by a processor to implement the map production anomaly locating and handling method of any one of claims 1 to 5.
  8. 8. A computer device comprising a processor and a memory, the memory storing computer-executable instructions, wherein the processor executes the computer-executable instructions to implement the map production anomaly locating and processing method of any one of claims 1-5.
  9. 9. A computer program product comprising a computer program that is executed by a processor to implement the map production anomaly locating and handling method of any one of claims 1 to 5.

Description

Map production abnormality positioning and processing method, system, medium and equipment Technical Field The present application relates to the field of map production technologies, and in particular, to a method, a system, a medium, and an apparatus for locating and processing map production anomalies. Background In both the driving and automatic driving processes of the vehicle, a complete map or a high-precision map is required to indicate the driving process of the vehicle. In the process of producing or updating the map, some processing anomalies often exist, and if the anomalies cannot be positioned and processed as soon as possible, the production efficiency of the map is greatly influenced, and the updating efficiency of the map is influenced. In addition, after the abnormal points are determined, because there is no unified processing rule, the problem is solved manually, and the production efficiency of the map is greatly affected. Disclosure of Invention Aiming at the problem that the map production efficiency is low because the abnormality can not be rapidly positioned and automatically processed in the map production process, the application provides a method, a system, a medium and equipment for positioning and processing the map production abnormality. The map production abnormality locating and processing method includes the steps of collecting log information in a map production process through a log collecting module, analyzing the log information through a log analyzing module, determining a corresponding first abnormality solution in a rule base according to an analysis result, adding a corresponding second abnormality solution according to abnormality if the first abnormality solution corresponding to the abnormality does not exist in the rule base, establishing a relation between the second abnormality solution and the abnormality, updating the rule base, and processing the abnormality in the map production process according to the first abnormality solution or the second abnormality solution. Optionally, the log information is analyzed through a log analysis module, wherein the log analysis module is used for identifying abnormal keywords in the log information and screening to obtain an abnormal log, the content in the abnormal log is segmented and extracted, so that only character strings exist in the abnormal log, adjacent character strings are segmented through specific symbols, the segmented abnormal log is matched with the existing abnormal log in the database to obtain a matching result, and the matching result is used as an analysis result. Optionally, matching operation is performed on the segmented abnormal logs and the stored logs in the database to obtain a matching result, wherein the matching result comprises the steps of comparing the character strings in the abnormal logs with the character strings in the stored abnormal logs to obtain a first matching degree, calculating the editing distance between the character strings in the abnormal logs and the character strings in the stored abnormal logs and taking the editing distance as a second matching degree if the first matching degree is smaller than a first preset threshold value, calculating the probability that the occurrence order of the error character strings in the abnormal logs accords with an order rule if the second matching degree is smaller than a second preset threshold value, taking the probability that the error character strings are the character strings which cause the stored abnormal logs to be the abnormal logs and taking the order rule as a third matching degree, and taking the solution corresponding to the abnormal logs in the rule base as a first solution if the first matching degree is not smaller than the first preset threshold value or the third matching degree is not smaller than the third preset threshold value. Optionally, the log information is analyzed through a log analysis module, and the method further comprises the steps of aggregating the abnormal logs according to the server addresses, aggregating the abnormal logs with the same server addresses to obtain a first type of abnormal logs, aggregating the first type of abnormal logs according to the service names, aggregating the abnormal logs with the same service names to obtain a second type of abnormal logs, aggregating the second type of abnormal logs according to the abnormal content, and aggregating the abnormal logs with the same abnormal content of the logs to obtain a third type of abnormal logs. The system comprises a rule base, an index acquisition module, an index analysis module, a log analysis module and a rule base, wherein the rule base is used for acquiring the index information in the map production process, the index acquisition module is used for acquiring the index information in the map production process, the index analysis module is used for analyzing task index information according to the log analysis informati