Radar state detection method, apparatus, device, and storage medium

By analyzing and comparing the characteristic information of radar data with standard characteristic information, radar hardware faults can be quickly located, solving the problem of long fault location time in traditional methods and improving detection efficiency and convenience.

CN117849739BActive Publication Date: 2026-11-24CHINA FAW CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410037942.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-10
Publication Date
2026-11-24
Estimated Expiration
2044-01-10

AI Technical Summary

Technical Problem

Traditional radar condition detection methods require viewing a large number of log files, resulting in long fault location times and an inability to quickly pinpoint the fault location.

Method used

By acquiring data transmitted by the radar, analyzing the data's characteristic information, and comparing it with pre-stored standard radar characteristic information, if there is a discrepancy, it is determined that the radar has a hardware fault.

Benefits of technology

It enables rapid location of radar faults, improves radar status detection efficiency, simplifies the detection process, and facilitates wider adoption and applicability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117849739B_ABST
    Figure CN117849739B_ABST
Patent Text Reader

Abstract

This invention discloses a radar condition detection method, apparatus, device, and storage medium, relating to the field of radar detection technology. The method includes: acquiring data transmitted by the radar; analyzing the data to obtain its characteristic information; and determining that the radar has a hardware fault if the characteristic information of the data is inconsistent with pre-stored standard characteristic information of the radar. The technical solution of this invention can achieve rapid location of radar faults and improve the efficiency of radar condition detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of radar detection technology, and in particular to a radar state detection method, apparatus, device and storage medium. Background Technology

[0002] With the continuous advancement of technology, radar technology is being used more and more widely in military and civilian fields. The operating status of radar directly affects the performance and security of its corresponding systems; therefore, condition monitoring of radar is of paramount importance.

[0003] Traditional radar status detection methods typically involve a computer directly acquiring the data packets transmitted by the radar, then parsing them using analysis software, and determining whether the radar status is normal based on the parsing results. When the parsing results are abnormal, various log files need to be checked to determine the radar status.

[0004] However, the above method requires checking log files to determine the radar's status. The large number and variety of log files make the judgment process time-consuming and prevents quick location of faults. Summary of the Invention

[0005] This invention provides a radar condition detection method, apparatus, device, and storage medium to achieve rapid location of radar faults and improve radar condition detection efficiency.

[0006] In a first aspect, embodiments of the present invention provide a radar state detection method, applied to a computer device, the method comprising:

[0007] Acquire data transmitted by the radar;

[0008] Analyze the data to obtain its feature information;

[0009] If the characteristic information of the data is determined to be inconsistent with the pre-stored standard characteristic information of the radar, then it is determined that the radar has a hardware fault.

[0010] The technical solution of this invention provides a radar state detection method, including: acquiring data transmitted by the radar; analyzing the data to obtain its feature information; and determining that the radar has a hardware fault if the feature information of the data is inconsistent with pre-stored standard feature information of the radar. This technical solution, when detecting the radar, first acquires the data transmitted by the radar, providing a data foundation for obtaining the feature information of the data later. Then, it analyzes the data to obtain its feature information, providing a data foundation for determining whether the radar has a hardware fault. If the feature information of the data is inconsistent with pre-stored standard feature information of the radar, it determines that the radar has a hardware fault. By determining that the feature information of the data is inconsistent with pre-stored standard feature information of the radar, the detection efficiency is improved. Therefore, compared with the prior art, the radar state detection method proposed in this invention can quickly locate the radar fault location, thereby improving the radar state detection efficiency. Furthermore, the technical solution of this invention is simple and convenient to implement, easy to popularize, and has a wider range of applications.

[0011] Secondly, embodiments of the present invention also provide a radar state detection device, the device comprising:

[0012] The acquisition module is used to acquire data transmitted by the radar;

[0013] The analysis module is used to analyze the data and obtain the feature information of the data;

[0014] The determination module is used to determine that the radar has a hardware fault if the characteristic information of the data is inconsistent with the pre-stored standard characteristic information of the radar.

[0015] Thirdly, embodiments of the present invention also provide a computer device, the computer device comprising:

[0016] At least one processor; and a memory communicatively connected to said at least one processor;

[0017] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform any of the radar state detection methods described in the first aspect.

[0018] Fourthly, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform any of the radar state detection methods described in the first aspect.

[0019] It should be noted that the aforementioned computer instructions may be stored, in whole or in part, on a computer-readable storage medium. This computer-readable storage medium may be packaged together with the processor of the radar state detection device, or it may be packaged separately from the processor of the radar state detection device; this application does not impose any limitations on this.

[0020] The descriptions of the second, third, and fourth aspects in this application can be referenced to the detailed description of the first aspect; and the beneficial effects described in the second, third, and fourth aspects can be referenced to the analysis of the beneficial effects of the first aspect, which will not be repeated here.

[0021] In this application, the name of the aforementioned radar state detection device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear under other names. As long as the function of each device or functional module is similar to that of this application, it falls within the scope of the claims of this application and its equivalents.

[0022] These or other aspects of this application will become more readily apparent in the following description. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0024] Figure 1 A flowchart of a radar state detection method provided in an embodiment of the present invention;

[0025] Figure 2 A flowchart of another radar state detection method provided in an embodiment of the present invention;

[0026] Figure 3 This is a schematic diagram of the structure of a radar state detection device provided in an embodiment of the present invention;

[0027] Figure 4 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Detailed Implementation

[0028] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.

[0029] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.

[0030] The terms "first" and "second," etc., used in the specification and drawings of this application are used to distinguish different objects or to distinguish different treatments of the same object, rather than to describe a specific order of objects.

[0031] Furthermore, the terms "comprising" and "having," and any variations thereof, used in the description of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.

[0032] Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of these operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but may also have additional steps not included in the figures. The process can correspond to a method, function, procedure, subroutine, subroutine, etc. Moreover, embodiments and features in the embodiments of the present invention can be combined with each other without conflict.

[0033] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0034] In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0035] Figure 1 This is a flowchart illustrating a radar state detection method provided in an embodiment of the present invention. This embodiment is applicable to detecting whether the radar state is normal. The method can be executed by a radar state detection device, which can be implemented in software and / or hardware. This device can be configured in a computer device, such as an Electronic Control Unit (ECU) in a vehicle. Figure 1 As shown, the method specifically includes the following steps:

[0036] Step 110: Acquire the data transmitted by the radar.

[0037] The radar state detection device in this embodiment can acquire data transmitted by the radar based on a preset communication protocol. Optionally, the radar in this embodiment can be a radar using the User Datagram Protocol (UDP).

[0038] In one implementation, the radar state detection device can directly acquire the data transmitted by the radar.

[0039] In another implementation, to facilitate operation and improve data acquisition efficiency, packet capture software can be used to capture the data packets sent by the radar, thereby obtaining relevant radar data. Specifically, first, determine the packet capture software, such as Wireshark or Sniffer, then use the packet capture software to capture data packets in the network. Filters can be used to filter data packets from specific sources or protocols. Finally, the detailed information of the captured data packets can be viewed in the packet capture software interface, obtaining corresponding data information such as packet length, IP address, and port.

[0040] In this embodiment, acquiring the data transmitted by the radar provides a data foundation for obtaining the feature information of the data subsequently.

[0041] In one implementation, the radar in this embodiment can be a vehicle-mounted radar. For example, the radar can be a lidar, ultrasonic radar, or millimeter-wave radar. The data transmitted by the radar in this embodiment can be point cloud data of the vehicle's surrounding environment acquired by the radar during vehicle operation. For example, the point cloud data of the vehicle's surrounding environment acquired by the radar can be the three-dimensional coordinate information of objects around the vehicle.

[0042] Step 120: Analyze the data to obtain its characteristic information.

[0043] The data feature information refers to the information extracted from the data that reflects its characteristics. In this embodiment, the data feature information is used to determine whether the radar has experienced a hardware failure. Optionally, the data feature information includes at least one of the following: the amount of data, the length of the data packets included in the data, the port number corresponding to the data, and the Internet Protocol (IP) address corresponding to the data.

[0044] Specifically, the data packet can be parsed based on the protocol information in the data packet to obtain the information of each field in the data packet, and then the feature information of the data can be extracted based on the parsed field information.

[0045] In this embodiment, by determining the characteristic information of the data, a data foundation is provided for subsequent determination of whether the radar has a hardware fault.

[0046] Step 130: If the characteristic information of the judgment data is inconsistent with the pre-stored standard characteristic information of the radar, then it is determined that there is a hardware fault in the radar.

[0047] In this embodiment, the standard characteristic information of the data refers to the characteristic information exhibited by the radar under normal operating conditions, which can help determine whether the radar has experienced a hardware failure. Optionally, the standard characteristic information of the data includes at least one of the following: the standard data volume, the standard length of the data packets included in the data, the standard port number corresponding to the data, and the standard IP address corresponding to the data. In this embodiment, hardware failure refers to the failure of the hardware components of the radar and its related equipment when the radar cannot operate normally. Optionally, hardware failure includes at least one of the following: a communication link failure between the radar and the computer equipment, for example, a loose connection interface between the radar and the computer equipment; a network failure between the radar and the computer equipment, for example, congestion in the communication network between the radar and the computer equipment; and a failure of the radar itself, for example, a dirty radar sensor, a short circuit in the radar circuit, or water ingress into the radar probe, etc.

[0048] Specifically, after determining the characteristic information of the data, it is compared with the pre-stored standard characteristic information of the radar. If the comparison results are inconsistent, it is determined that there is a hardware fault in the radar.

[0049] For example, if the pre-stored standard characteristic information of the radar includes the standard port number corresponding to the data as 3000, and the characteristic information of the data includes the port number corresponding to the data as 2000, then it can be determined that there is a network fault between the radar and the computer equipment.

[0050] For example, if the pre-stored standard characteristic information of the radar includes the standard port number corresponding to the data as 3000 and the standard IP address corresponding to the data as 192.168.1.201, and the characteristic information of the data includes the port number corresponding to the data as 3000 and the IP address corresponding to the data as 192.168.1.195, then it can be determined that there is a network fault between the radar and the computer equipment.

[0051] In this embodiment, a hardware fault in the radar is determined by judging that the feature information of the data is inconsistent with the standard feature information of the radar that is stored in advance, thereby improving the detection efficiency.

[0052] This invention provides a radar state detection method, comprising: acquiring data transmitted by the radar; analyzing the data to obtain its feature information; and determining that the radar has a hardware fault if the feature information of the data is inconsistent with pre-stored standard feature information of the radar. The above technical solution, when detecting the radar, first acquires the data transmitted by the radar, providing a data foundation for obtaining the feature information of the data later. Then, it analyzes the data to obtain its feature information, providing a data foundation for determining whether the radar has a hardware fault. If the feature information of the data is inconsistent with pre-stored standard feature information of the radar, it determines that the radar has a hardware fault. By determining that the feature information of the data is inconsistent with pre-stored standard feature information of the radar, the detection efficiency is improved. Therefore, compared with the prior art, the radar state detection method proposed in this invention can quickly locate the radar fault location, thereby improving the radar state detection efficiency. Furthermore, the technical solution of this invention is simple and convenient to implement, easy to popularize, and has a wider range of applications.

[0053] Figure 2 This is a flowchart of another radar state detection method provided by an embodiment of the present invention. It is based on the above technical solution and further optimized and extended, and can be combined with the various optional implementation methods described above. For example... Figure 2 As shown, the radar state detection method may include the following steps:

[0054] Step 210: Acquire the data transmitted by the radar.

[0055] For example, point cloud data packets sent by the radar can be obtained using Wireshark software.

[0056] Step 220: Analyze the data to obtain its characteristic information.

[0057] Optionally, the data characteristics include at least one of the following: the data volume, the length of the data packets included in the data, the port number corresponding to the data, and the IP address corresponding to the data.

[0058] For example, you can use the Wireshark software to view the detailed information window for each data packet. In the detailed information window, you can obtain information about each field of the corresponding data packet, including the IP address, port number, and length of the data packet, that is, the characteristic information of the data.

[0059] Step 230: Determine whether the feature information of the data is consistent with the pre-stored standard feature information of the radar. If the feature information of the data is consistent with the pre-stored standard feature information of the radar, proceed to step 231; otherwise, proceed to step 232.

[0060] Optionally, the standard characteristic information of the data includes at least one of the following: the standard data volume, the standard length of the data packets included in the data, the standard port number corresponding to the data, and the standard IP address corresponding to the data.

[0061] Specifically, if the data's feature information matches the pre-stored standard feature information of the radar, the acquired data is parsed; if the data's feature information does not match the pre-stored standard feature information of the radar, it is determined that the radar has a hardware fault.

[0062] In this embodiment, the presence of a hardware fault in the radar is determined by judging whether the feature information of the data is consistent with the standard feature information of the radar that has been stored in advance.

[0063] Furthermore, if the first preset condition is met, it is determined that the feature information of the data is inconsistent with the pre-stored standard feature information of the radar. The first preset condition includes any of the following: the data volume is inconsistent with the standard data volume; the length of the data packets included in the data is inconsistent with the standard length of the data packets included in the data; the port number corresponding to the data is inconsistent with the standard port number corresponding to the data; the IP address corresponding to the data is inconsistent with the standard IP address corresponding to the data.

[0064] The first preset condition is a condition where the characteristic information of the determined data, set according to the actual situation or needs, is inconsistent with the standard characteristic information of the radar that has been stored in advance.

[0065] Specifically, when the amount of data is inconsistent with the standard amount of data, or the length of the data packet is inconsistent with the standard length of the data packet, or the port number corresponding to the data is inconsistent with the standard port number corresponding to the data, or the IP address corresponding to the data is inconsistent with the standard IP address corresponding to the data, it can be determined that the feature information of the data is inconsistent with the pre-stored standard feature information of the radar.

[0066] For example, if the pre-stored standard characteristic information of the radar includes the standard port number corresponding to the data as 3000, the standard IP address corresponding to the data as 192.168.1.201, and the standard data size as 35M, and the characteristic information of the data includes the port number corresponding to the data as 3000, the IP address corresponding to the data as 192.168.1.201, and the data size as 20M, then it can be determined that there is a network fault between the radar and the computer equipment.

[0067] Step 231: Parse the data and obtain the parsing results.

[0068] The analysis result refers to the result obtained after parsing the data. In this embodiment, the analysis result refers to the result obtained after parsing the data acquired from the radar. Based on the analysis result, it can be determined whether the radar has malfunctioned. Optionally, the analysis result includes at least the number of point clouds and the morphology of the point clouds.

[0069] Specifically, after confirming that the data's feature information matches the pre-stored standard radar feature information, to improve efficiency, parsing software such as Cloud Compare or ArcGIS can be used to parse the data. This yields the parsing results, which can then be used to determine whether to retrieve log information. For example, if the number of point clouds in the parsing results does not match the preset number of point clouds, then retrieving log information is recommended.

[0070] In this embodiment, the parsing results are obtained by parsing the data, which provides a judgment condition for determining whether to obtain log information.

[0071] Step 232: Determine if there is a hardware fault in the radar.

[0072] Hardware failures include at least one of the following: communication link failure between the radar and computer equipment; network failure between the radar and computer equipment; or failure of the radar itself.

[0073] Specifically, if the data's characteristic information is inconsistent with the pre-stored standard characteristic information of the radar, it can be determined that the radar has a hardware fault. After determining that the radar has a hardware fault, appropriate configuration software, such as Inventor, can be used to reconfigure the radar.

[0074] For example, if the standard data size of the pre-stored radar characteristic information includes 100M, and the data size of the data characteristic information includes 50M, then a hardware fault can be identified.

[0075] In this embodiment, a hardware fault in the radar is determined by judging that the feature information of the data is inconsistent with the standard feature information of the radar that is stored in advance, thereby improving the detection efficiency.

[0076] Step 240: Determine whether the feature information of the parsing result matches the preset standard feature information of the parsing result. If the feature information of the parsing result matches the preset standard feature information of the parsing result, proceed to step 241; otherwise, proceed to step 242.

[0077] The characteristic information of the analysis results refers to the information reflecting the characteristics of the target object extracted from the analysis results. This information is key data that can be used for further data analysis and processing. In this embodiment, the characteristic information of the analysis results refers to the information extracted from the analysis results that can determine whether a fault has occurred during the detection process. In this embodiment, the detection process is the process of detecting the radar status. Optionally, the characteristic information of the analysis results includes: the number of point clouds and the shape of the point clouds. The preset standard characteristic information of the analysis results refers to the standards set in advance during the data analysis process to measure whether the analysis results are correct. These standards can be formulated according to actual application needs and data characteristics to evaluate the accuracy and reliability of the analysis results. In this embodiment, the standard characteristic information of the analysis results is the characteristic information exhibited by the analysis results after the radar is in normal working condition and the data is normally analyzed. This information can be used to determine whether a fault has occurred during the detection process. Optionally, the standard characteristic information of the analysis results includes: the standard number of point clouds and the standard shape of the point clouds.

[0078] Specifically, after obtaining the analysis results, the feature information of the analysis results is filtered out, namely, the number of point clouds and the shape of point clouds. When the number of point clouds and the shape of point clouds both meet the standard number and standard shape of point clouds, it can be determined that the feature information of the analysis results meets the preset standard feature information of the analysis results; otherwise, it is determined that the feature information of the analysis results does not meet the preset standard feature information of the analysis results.

[0079] In this embodiment, the determination of whether to obtain log information is made by judging whether the feature information of the parsing result matches the preset standard feature information of the parsing result, which saves time and improves efficiency.

[0080] Furthermore, if the second preset condition is met, it is determined that the feature information of the analysis result does not conform to the preset standard feature information of the analysis result. The second preset condition includes any one of the following: the number of point clouds is inconsistent with the standard number of point clouds; the shape of the point clouds is inconsistent with the standard shape of point clouds.

[0081] The second preset condition is a condition set according to the actual situation or needs to determine whether the feature information of the parsing result meets the preset standard feature information of the parsing result.

[0082] Specifically, after obtaining the analysis results and filtering out the number and shape of the point cloud from the analysis results, if the number of point clouds is inconsistent with the standard number of point clouds or the shape of the point cloud is inconsistent with the standard shape of point clouds, then it is determined that the feature information of the analysis results does not conform to the preset standard feature information of the analysis results.

[0083] Step 241: End the detection.

[0084] Specifically, if the feature information of the analysis result matches the preset standard feature information of the analysis result, then the radar is determined to be in normal condition and can be put into use in the future, that is, the detection ends.

[0085] Step 242: Obtain log information.

[0086] Log information may include, but is not limited to, data transmission status, network status, data processing errors, and / or application crashes.

[0087] For example, the corresponding log information can be obtained through parsing software.

[0088] In this embodiment, obtaining log information provides a data foundation for determining fault information based on the log information later.

[0089] Step 250: Determine the fault information based on the log information.

[0090] In this embodiment, the fault information is related to a fault that occurs when receiving data transmitted by the radar. The fault information includes at least one of the following: a time synchronization failure between the radar and the computer equipment; a failure in the data parsing process; or the radar transmitter being blocked.

[0091] Specifically, after obtaining the log information, key information such as error codes, error messages, or the time of occurrence can be extracted by analyzing the log information, and related information can be found to determine the fault information.

[0092] In this embodiment, fault information is determined through log information, providing a data foundation for subsequent maintenance of the radar and related equipment.

[0093] This invention provides a radar status detection method, comprising: acquiring data transmitted by the radar; analyzing the data to obtain its feature information; determining whether the feature information of the data is consistent with pre-stored standard feature information of the radar; if the feature information of the data is consistent with the pre-stored standard feature information of the radar, parsing the data and obtaining the parsing result; otherwise, determining that the radar has a hardware fault. Then, it is determined whether the feature information of the parsing result conforms to the preset standard feature information of the parsing result; if the feature information of the parsing result conforms to the preset standard feature information of the parsing result, the detection ends; otherwise, log information is acquired; and fault information is determined based on the log information. This technical solution, when detecting the radar, first acquires the data transmitted by the radar, providing a data foundation for obtaining the feature information of the data later. Then, it analyzes the data to obtain its feature information, providing a data foundation for determining whether the radar has a hardware fault. Finally, by determining whether the feature information of the data is consistent with the pre-stored standard feature information of the radar, it determines whether the radar has a hardware fault, improving detection efficiency and facilitating subsequent problem investigation. If the data's feature information matches the pre-stored standard feature information of the radar, the data is parsed, and the parsing result is obtained, providing a judgment condition for determining whether to acquire log information. Then, the acquisition of log information is determined by judging whether the feature information of the parsing result matches the preset standard feature information of the parsing result. If the feature information of the parsing result matches the preset standard feature information of the parsing result, the detection ends; otherwise, the log information is acquired, and fault information is determined based on the log information, providing a data basis for subsequent maintenance of the radar and its related equipment. If the data's feature information is inconsistent with the pre-stored standard feature information of the radar, it is determined that the radar has a hardware fault. Therefore, compared with the prior art, the radar status detection method proposed in this embodiment can directly divide radar status detection into two parts, namely, radar hardware device status detection and computer parsing status detection, thereby saving labor costs and improving the convenience of radar status detection.

[0094] Figure 3 This is a schematic diagram of a radar status detection device provided in an embodiment of the present invention. The device can be used to detect whether the radar status is normal. The device can be implemented by software and / or hardware.

[0095] like Figure 3 As shown, the device includes:

[0096] The acquisition module 310 is used to acquire data transmitted by the radar;

[0097] Analysis module 320 is used to analyze the data and obtain the feature information of the data;

[0098] The determination module 330 is used to determine that the radar has a hardware fault if the characteristic information of the data is inconsistent with the pre-stored standard characteristic information of the radar.

[0099] The radar status detection device provided in this embodiment includes an acquisition module for acquiring data transmitted by the radar; an analysis module for analyzing the data to obtain its feature information; and a determination module for determining whether the radar has a hardware fault if the feature information of the data is inconsistent with pre-stored standard feature information of the radar. This technical solution, when detecting the radar, first acquires the data transmitted by the radar, providing a data foundation for obtaining the feature information of the data later. Then, it analyzes the data to obtain its feature information, providing a data foundation for determining whether the radar has a hardware fault. If the feature information of the data is inconsistent with the pre-stored standard feature information of the radar, it determines that the radar has a hardware fault. By determining the radar's hardware fault based on the inconsistency between the feature information of the data and the pre-stored standard feature information of the radar, the detection efficiency is improved.

[0100] Based on the above embodiments, the device further includes:

[0101] The parsing module is used to: parse the data and obtain a parsing result if the feature information of the data is consistent with the standard feature information; obtain log information if it is determined that the feature information of the parsing result does not conform to the preset standard feature information of the parsing result; and determine fault information based on the log information.

[0102] Based on the above embodiments, the characteristic information of the data includes at least one of the following: the data volume, the length of the data packets included in the data, the port number corresponding to the data, and the Internet Protocol IP address corresponding to the data; the standard characteristic information of the data includes at least one of the following: the standard data volume, the standard length of the data packets included in the data, the standard port number corresponding to the data, and the standard IP address corresponding to the data.

[0103] Based on the above embodiments, the characteristic information of the data includes: the data volume, the length of the data packets included in the data, the port number corresponding to the data, and the IP address corresponding to the data; the standard characteristic information of the data includes: the standard data volume, the standard length of the data packets included in the data, the standard port number corresponding to the data, and the standard IP address corresponding to the data; the device further includes:

[0104] A first judgment module is configured to determine, if a first preset condition is met, that the feature information of the data is inconsistent with the pre-stored standard feature information of the radar. The first preset condition includes any one of the following: the data volume of the data is inconsistent with the standard data volume of the data; the length of the data packets included in the data is inconsistent with the standard length of the data packets included in the data; the port number corresponding to the data is inconsistent with the standard port number corresponding to the data; the IP address corresponding to the data is inconsistent with the standard IP address corresponding to the data.

[0105] Based on the above embodiments, the hardware failure includes at least one of the following: a communication link failure between the radar and the computer device; a network failure between the radar and the computer device; or a failure of the radar itself.

[0106] Based on the above embodiments, the feature information of the analysis result includes: the number of point clouds and the shape of the point clouds; the standard feature information of the analysis result includes: the standard number of point clouds and the standard shape of the point clouds; the device further includes:

[0107] The second judgment module is used to determine that the feature information of the parsing result does not conform to the preset parsing result standard feature information if the second preset condition is met; the second preset condition includes any one of the following: the number of point clouds is inconsistent with the standard number of point clouds; the shape of the point clouds is inconsistent with the standard shape of point clouds.

[0108] Based on the above embodiments, the fault information includes at least one of the following: time synchronization failure between the radar and the computer equipment; failure in the data parsing process; and obstruction of the radar transmitter.

[0109] The radar state detection device provided in the embodiments of the present invention can execute the radar state detection method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the method.

[0110] It is worth noting that in the embodiments of the radar status detection device described above, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the scope of protection of the present invention.

[0111] Figure 4 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Figure 4 A block diagram of an exemplary computer device 4 suitable for implementing embodiments of the present invention is shown. Figure 4The computer device 4 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.

[0112] like Figure 4 As shown, the computer device 4 is represented in the form of a general-purpose computing electronic device. The components of the computer device 4 may include, but are not limited to: one or more processors or processing units 16, system memory 28, and bus 18 connecting different system components (including system memory 28 and processing unit 16).

[0113] Bus 18 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0114] Computer device 4 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 4, including volatile and non-volatile media, removable and non-removable media.

[0115] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Computer device 4 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (…). Figure 4 Not shown; usually referred to as a "hard drive"). Although Figure 4 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.

[0116] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 42 typically perform the functions and / or methods described in the embodiments of the present invention.

[0117] Computer device 4 can also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), and with one or more devices that enable a user to interact with computer device 4, and / or with any device that enables computer device 4 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed through input / output (I / O) interface 22. Furthermore, computer device 4 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) through network adapter 20. Figure 4 As shown, network adapter 20 communicates with other modules of computer device 4 via bus 18. It should be understood that, although... Figure 4 Not shown, it can be used in conjunction with computer device 4 with other hardware and / or software modules, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0118] Processing unit 16 executes various functional applications and page displays by running programs stored in system memory 28, such as implementing the radar state detection method provided in this embodiment of the invention, which includes:

[0119] Acquire data transmitted by the radar;

[0120] Analyze the data to obtain its feature information;

[0121] If the characteristic information of the data is determined to be inconsistent with the pre-stored standard characteristic information of the radar, then it is determined that the radar has a hardware fault.

[0122] Of course, those skilled in the art will understand that the processor can also implement the technical solution of the radar state detection method provided in any embodiment of the present invention.

[0123] This invention provides a computer-readable storage medium storing a computer program thereon. When executed by a processor, the program implements, for example, the radar state detection method provided in this invention, which includes:

[0124] Acquire data transmitted by the radar;

[0125] Analyze the data to obtain its feature information;

[0126] If the characteristic information of the data is determined to be inconsistent with the pre-stored standard characteristic information of the radar, then it is determined that the radar has a hardware fault.

[0127] The computer storage medium of this invention can be any combination of one or more computer-readable media. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. For example, a computer-readable storage medium can be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0128] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.

[0129] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0130] Computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0131] Those skilled in the art will understand that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby allowing them to be stored in a storage device for execution by a computing device, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0132] Furthermore, the acquisition, storage, use, and processing of data in the technical solution of this invention all comply with the relevant provisions of national laws and regulations.

[0133] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

Claims

1. A radar state detection method, characterized in that, Applied to a computer device, the method includes: Acquire data transmitted by the radar; Analyze the data to obtain its feature information; If the characteristic information of the data is determined to be inconsistent with the pre-stored standard characteristic information of the radar, then it is determined that the radar has a hardware fault. If the feature information of the data is consistent with the standard feature information, the data is parsed and a parsing result is obtained; if it is determined that the feature information of the parsing result does not conform to the preset standard feature information of the parsing result, log information is obtained; and fault information is determined based on the log information. The data's characteristic information includes: the data volume, the length of the data packets included in the data, the port number corresponding to the data, and the IP address corresponding to the data. The data's standard characteristic information includes: the standard data volume, the standard length of the data packets included in the data, the standard port number corresponding to the data, and the standard IP address corresponding to the data. After analyzing the data and obtaining the feature information of the data, before determining that the radar has a hardware fault if it is determined that the feature information of the data is inconsistent with the pre-stored standard feature information of the radar, the method further includes: if a first preset condition is met, then determining that the feature information of the data is inconsistent with the pre-stored standard feature information of the radar. The first preset condition includes any one of the following: the data volume of the data is inconsistent with the standard data volume of the data; the length of the data packets included in the data is inconsistent with the standard length of the data packets included in the data; the port number corresponding to the data is inconsistent with the standard port number corresponding to the data; the IP address corresponding to the data is inconsistent with the standard IP address corresponding to the data. The feature information of the analysis result includes: the number of point clouds and the shape of the point clouds; the standard feature information of the analysis result includes: the standard number of point clouds and the standard shape of the point clouds. If the feature information of the data is consistent with the standard feature information, then after parsing the data and obtaining the parsing result, before obtaining the log information if it is determined that the feature information of the parsing result does not conform to the preset standard feature information of the parsing result, the method further includes: if a second preset condition is met, then determining that the feature information of the parsing result does not conform to the preset standard feature information of the parsing result; the second preset condition includes any one of the following: the number of point clouds is inconsistent with the standard number of point clouds; the shape of the point cloud is inconsistent with the standard shape of the point cloud.

2. The radar state detection method according to claim 1, characterized in that, The hardware failure includes at least one of the following: The communication link between the radar and the computer equipment failed; A network failure occurred between the radar and the computer equipment; The radar itself is faulty.

3. The radar state detection method according to claim 1, characterized in that, The fault information includes at least one of the following: The radar and the computer equipment experienced a time synchronization failure. The data parsing process encountered a failure; The radar transmitter was obstructed.

4. A radar status detection device, characterized in that, include: The acquisition module is used to acquire data transmitted by the radar; The analysis module is used to analyze the data and obtain the feature information of the data; The determination module is used to determine that the radar has a hardware fault if the characteristic information of the data is inconsistent with the pre-stored standard characteristic information of the radar. If the feature information of the data is consistent with the standard feature information, the data is parsed and a parsing result is obtained; if it is determined that the feature information of the parsing result does not conform to the preset standard feature information of the parsing result, log information is obtained. The fault information is determined based on the log information; The data's characteristic information includes: the data volume, the length of the data packets included in the data, the port number corresponding to the data, and the IP address corresponding to the data. The data's standard characteristic information includes: the standard data volume, the standard length of the data packets included in the data, the standard port number corresponding to the data, and the standard IP address corresponding to the data. After analyzing the data and obtaining the feature information of the data, before determining that the radar has a hardware fault if it is determined that the feature information of the data is inconsistent with the pre-stored standard feature information of the radar, the device further includes: if a first preset condition is met, determining that the feature information of the data is inconsistent with the pre-stored standard feature information of the radar. The first preset condition includes any one of the following: the data volume of the data is inconsistent with the standard data volume of the data; the length of the data packets included in the data is inconsistent with the standard length of the data packets included in the data; the port number corresponding to the data is inconsistent with the standard port number corresponding to the data; the IP address corresponding to the data is inconsistent with the standard IP address corresponding to the data. The feature information of the analysis result includes: the number of point clouds and the shape of the point clouds; the standard feature information of the analysis result includes: the standard number of point clouds and the standard shape of the point clouds. If the feature information of the data is consistent with the standard feature information, then after parsing the data and obtaining the parsing result, before obtaining the log information if it is determined that the feature information of the parsing result does not conform to the preset standard feature information of the parsing result, the device further includes: if a second preset condition is met, then determining that the feature information of the parsing result does not conform to the preset standard feature information of the parsing result; the second preset condition includes any one of the following: the number of point clouds is inconsistent with the standard number of point clouds; the shape of the point cloud is inconsistent with the standard shape of the point cloud.

5. A computer device, characterized in that, The computer device includes: At least one processor; and a memory communicatively connected to said at least one processor; The memory stores a computer program that can be executed by the at least one processor, which is then executed by the at least one processor to enable the at least one processor to perform the radar state detection method according to any one of claims 1-3.

6. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the radar state detection method according to any one of claims 1-3.

Citation Information

Patent Citations

  • A method and apparatus for testing a DNS server

    CN109067938A

  • Laser radar calibration method and device, storage medium and electronic equipment

    CN114280582A