Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a system, a computer device, and a storage medium for detecting an automatic driving sensor, which can improve the detection efficiency of the automatic driving sensor.
A method of detecting an autopilot sensor, the method comprising:
responding to the detection operation of each automatic driving sensor, and sending a preset sensor detection instruction to each automatic driving sensor; the preset sensor detection instruction is used for acquiring detection response information of each automatic driving sensor;
receiving the detection response information returned by each automatic driving sensor;
extracting target detection response values of the automatic driving sensors from the detection response information;
and comparing each target detection response value with a preset response value of each automatic driving sensor to obtain a detection result of each automatic driving sensor.
In one embodiment, the sending of the preset sensor detection instruction to each of the automatic driving sensors includes:
acquiring an IP address of each automatic driving sensor and a preset sensor detection instruction;
and respectively sending each preset sensor detection instruction to each automatic driving sensor corresponding to the IP address through a physical channel between the home terminal and the automatic driving sensor.
In one embodiment, the extracting the target detection response value of each of the automatic driving sensors from the detection response information includes:
acquiring a detection response value identifier;
extracting a numerical value corresponding to the detection response value identifier from the detection response information as a target detection response value of the automatic driving sensor.
In one embodiment, the comparing the target detection response values with preset response values of the automatic driving sensors to obtain detection results of the automatic driving sensors includes:
if the target detection response value of the automatic driving sensor is larger than the corresponding preset response value, confirming that the running condition of the automatic driving sensor is normal;
and if the target detection response value of the automatic driving sensor is smaller than or equal to the corresponding preset response value, confirming that the running condition of the automatic driving sensor is abnormal.
In one embodiment, after confirming that the operating condition of the automatic driving sensor is abnormal, the method further comprises:
acquiring a preset fault detection instruction;
sending the preset fault detection instruction to the automatic driving sensor; the preset fault detection instruction is used for triggering the automatic driving sensor to carry out fault troubleshooting to obtain a fault troubleshooting result;
receiving the troubleshooting result returned by the automatic driving sensor, and analyzing the troubleshooting result to obtain the fault information of the automatic driving sensor;
and acquiring a fault maintenance instruction corresponding to the fault information, and sending the fault maintenance instruction to the automatic driving sensor so as to perform maintenance processing on the fault of the automatic driving sensor through the fault maintenance instruction.
In one embodiment, after comparing each of the target detection response values with a preset response value of each of the automatic driving sensors to obtain a detection result of each of the automatic driving sensors, the method further includes:
inquiring the corresponding relation between a preset detection result and a state lamp display instruction according to the detection result of each automatic driving sensor to obtain the state lamp display instruction of each automatic driving sensor;
and controlling the corresponding state lamp to display through the state lamp display instruction.
In one embodiment, after comparing each of the target detection response values with a preset response value of each of the automatic driving sensors to obtain a detection result of each of the automatic driving sensors, the method further includes:
generating a corresponding detection report according to the detection result of each automatic driving sensor;
and sending the detection report to a corresponding user terminal.
In one embodiment, the responding to the detecting operation of each of the automatic driving sensors includes:
receiving a detection instruction sent by an operation terminal to each automatic driving sensor;
responding to the detection operation of each automatic driving sensor according to the detection instruction;
and/or the presence of a gas in the gas,
detecting a trigger operation of a user; the triggering operation is used for triggering the detection operation of each automatic driving sensor;
and responding to the detection operation of each automatic driving sensor if the trigger operation is detected.
A detection device of an automatic driving sensor, the device comprising:
the instruction sending module is used for responding to the detection operation of each automatic driving sensor and sending a preset sensor detection instruction to each automatic driving sensor; the preset sensor detection instruction is used for acquiring detection response information of each automatic driving sensor;
the information receiving module is used for receiving the detection response information returned by each automatic driving sensor;
a response value extraction module for extracting a target detection response value of each of the automatic driving sensors from the detection response information;
and the result acquisition module is used for comparing each target detection response value with a preset response value of each automatic driving sensor to obtain a detection result of each automatic driving sensor.
A detection system for an autopilot sensor, the system comprising: a detection device and a status light display; the detection equipment is connected with the status light display; the detection equipment is also connected with an automatic driving sensor;
the detection device is used for executing the detection method of the automatic driving sensor;
and the status light display is used for displaying corresponding status lights according to the status light display instructions of the automatic driving sensors sent by the detection equipment.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
responding to the detection operation of each automatic driving sensor, and sending a preset sensor detection instruction to each automatic driving sensor; the preset sensor detection instruction is used for acquiring detection response information of each automatic driving sensor;
receiving the detection response information returned by each automatic driving sensor;
extracting target detection response values of the automatic driving sensors from the detection response information;
and comparing each target detection response value with a preset response value of each automatic driving sensor to obtain a detection result of each automatic driving sensor.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
responding to the detection operation of each automatic driving sensor, and sending a preset sensor detection instruction to each automatic driving sensor; the preset sensor detection instruction is used for acquiring detection response information of each automatic driving sensor;
receiving the detection response information returned by each automatic driving sensor;
extracting target detection response values of the automatic driving sensors from the detection response information;
and comparing each target detection response value with a preset response value of each automatic driving sensor to obtain a detection result of each automatic driving sensor.
According to the detection method, the detection device, the computer equipment and the storage medium of the automatic driving sensors, the detection operation of each automatic driving sensor is responded, and the detection instruction of the preset sensor is sent to each automatic driving sensor so as to obtain the detection response information of each automatic driving sensor; then receiving detection response information returned by each automatic driving sensor, and extracting a target detection response value of each automatic driving sensor from the detection response information; finally, comparing each target detection response value with a preset response value of each automatic driving sensor to obtain a detection result of each automatic driving sensor; the purpose of automatically detecting the automatic driving sensor is achieved, and a detection instruction does not need to be manually input, so that the detection process of the automatic driving sensor is simplified, the detection time is saved, and the detection efficiency of the automatic driving sensor is improved; meanwhile, the detection result of each automatic driving sensor is automatically obtained by comparing the target detection response value of each automatic driving sensor with the corresponding preset response value, and whether the automatic driving sensors normally operate or not does not need to be analyzed manually, so that the detection process of the automatic driving sensors is further simplified, and the detection efficiency of the automatic driving sensors is improved; in addition, under the condition of responding to the detection operation of each automatic driving sensor, synchronous detection of each automatic driving sensor can be triggered by presetting a sensor detection instruction, so that the purpose of one-key detection of each automatic driving sensor is realized, each automatic driving sensor does not need to be detected step by step manually, and the detection efficiency of the automatic driving sensors is improved.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The detection method of the automatic driving sensor provided by the application can be applied to the application environment shown in fig. 1. Thedetection device 110 is connected to thestatus light display 120, and may be connected to a wired connection or a wireless connection, which is not limited herein; thedetection device 110 is further connected to anautopilot sensor 130 of the autopilot vehicle, wherein thedetection device 110 is connected to theautopilot sensor 130 by a wire, such as thedetection device 110 is connected to theautopilot sensor 130 by rj45 twisted pair. Thedetection device 110 refers to a processor with an automatic driving sensor detection function, such as a central control processor, a central processing unit, and the like; thestatus light display 120 refers to a display having a status light display function, such as an LED display; theautopilot sensor 130 refers to a sensor utilized in an autopilot vehicle, such as a lidar sensor, a camera, a time synchronization sensor, and the like.
Specifically, referring to fig. 1, thedetection device 110 transmits a preset sensor detection instruction to each of theautomatic driving sensors 130 in response to a detection operation of each of the automatic driving sensors; the preset sensor detection instruction is used for acquiring detection response information of eachautomatic driving sensor 130; receiving detection response information returned by each of theautomatic driving sensors 130; extracting target detection response values of the respectiveautomatic driving sensors 130 from the detection response information; comparing each target detection response value with a preset response value of eachautomatic driving sensor 130 to obtain a detection result of eachautomatic driving sensor 130; inquiring the corresponding relation between the preset detection result and the state lamp display instruction according to the detection result of eachautomatic driving sensor 130 to obtain the state lamp display instruction of eachautomatic driving sensor 130; the status light display instruction of eachautopilot sensor 130 is sent to statuslight display 120, and statuslight display 120 controls the corresponding status light display according to the received status light display instruction, so that the operating status of eachautopilot sensor 130 is fed back to the operator.
In one embodiment, as shown in fig. 2, a method for detecting an automatic driving sensor is provided, which is described by taking the method as an example applied to the detection device in fig. 1, and comprises the following steps:
step S201, responding to the detection operation of each automatic driving sensor, and sending a preset sensor detection instruction to each automatic driving sensor; the preset sensor detection instruction is used for acquiring detection response information of each automatic driving sensor.
The detection operation of each of the automatic driving sensors means a one-key detection operation of each of the automatic driving sensors triggered by the user.
The preset sensor detection instruction is an instruction for detecting the automatic driving sensor, and specifically is an instruction for detecting whether the running condition of the automatic driving sensor is normal or not; different automatic driving sensors correspond to different preset sensor detection instructions; in an actual scenario, the preset sensor detection instruction may be a Ping IP instruction.
The detection response information of the automatic driving sensor is information obtained after the automatic driving sensor responds to a preset sensor detection instruction, and a target detection response value used for indicating whether the running condition of the automatic driving sensor is normal or not is contained in the detection response information.
Specifically, the detection device detects detection operations of each automatic driving sensor, responds to the detection operations of each automatic driving sensor if the detection operations of each automatic driving sensor are detected, acquires a preset sensor detection instruction of each automatic driving sensor from a local database, and respectively sends the preset sensor detection instruction of each automatic driving sensor to the corresponding automatic driving sensor; after receiving a preset sensor detection instruction, the automatic driving sensor responds to the preset sensor detection instruction to obtain corresponding detection response information, and sends the corresponding detection response information to the detection equipment. Therefore, detection instructions do not need to be manually input, the detection process of the automatic driving sensor is simplified, the detection time is saved, and the detection efficiency of the automatic driving sensor is improved.
For example, the detection device is provided with a one-key detection button for triggering one-key detection operation on each automatic driving sensor; in an actual scene, an operator presses a one-key detection button on the detection equipment to trigger one-key detection operation on each automatic driving sensor; and the detection equipment responds to the one-key detection operation when detecting the one-key detection operation of each automatic driving sensor, automatically acquires the Ping IP instruction of each automatic driving sensor, sends the Ping IP instruction of each automatic driving sensor to the corresponding automatic driving sensor, responds to the Ping IP instruction by the automatic driving sensor, obtains corresponding detection response information, and sends the detection response information to the detection equipment.
In step S202, detection response information returned from each of the automatic driving sensors is received.
In step S203, the target detection response values of the respective automatic driving sensors are extracted from the detection response information.
The target detection response value is a response value indicating whether the running condition of the automatic driving sensor is normal or not; it should be noted that, for example, a target detection response value indicating whether the operation condition of the laser radar sensor is normal is different from a target detection response value indicating whether the operation condition of the camera is normal.
Specifically, the detection equipment receives detection response information returned by each automatic driving sensor; acquiring a target detection response value extraction instruction of each automatic driving sensor, extracting a corresponding numerical value from the detection response information according to the target detection response value extraction instruction, and taking the numerical value as a target detection response value of the automatic driving sensor; with reference to this method, the target detection response values of the respective automatic driving sensors can be obtained. Therefore, each target detection response value is favorably compared with the preset response value of each automatic driving sensor subsequently to obtain the detection result of each automatic driving sensor, whether the automatic driving sensors normally operate or not is not required to be analyzed manually, the detection process of the automatic driving sensors is further simplified, and the detection efficiency of the automatic driving sensors is improved.
And step S204, comparing each target detection response value with a preset response value of each automatic driving sensor to obtain a detection result of each automatic driving sensor.
The preset response value of the automatic driving sensor is a response value corresponding to the normal running condition of the automatic driving sensor; different automatic driving sensors have different corresponding preset response values.
The detection result of the automatic driving sensor refers to a result of whether the operation condition of the automatic driving sensor is normal, for example, the operation condition of the automatic driving sensor is normal, and the operation condition of the automatic driving sensor is abnormal.
Specifically, the detection device acquires preset response values of all automatic driving sensors, and compares target detection response values of the automatic driving sensors with corresponding preset response values to obtain comparison results; obtaining a detection result of the automatic driving sensor according to the comparison result; for example, if the target detection response value of the automatic driving sensor is greater than the corresponding preset response value, it is determined that the operating condition of the automatic driving sensor is normal. Therefore, the target detection response value of each automatic driving sensor is compared with the corresponding preset response value, the detection result of each automatic driving sensor is automatically obtained, and whether the automatic driving sensors normally operate or not is not required to be analyzed manually, so that the manual detection cost is effectively reduced, and the detection efficiency of the automatic driving sensors is further improved.
Further, after obtaining the detection results of the respective automatic driving sensors, the detection device takes the detection results of the respective automatic driving sensors as the first detection results of the respective automatic driving sensors, and performs step S201 to step S203 again to obtain the second detection results of the respective automatic driving sensors; if the second detection result of the automatic driving sensor is the same as the corresponding first detection result, the detection result of the automatic driving sensor is correct, and if the second detection result of the automatic driving sensor is not the same as the corresponding first detection result, the detection result of the automatic driving sensor is wrong. Therefore, the detection results of the automatic driving sensors are verified, and the detection accuracy of the automatic driving sensors is improved.
In the detection method of the automatic driving sensor, a preset sensor detection instruction is sent to each automatic driving sensor by responding to the detection operation of each automatic driving sensor so as to obtain the detection response information of each automatic driving sensor; then receiving detection response information returned by each automatic driving sensor, and extracting a target detection response value of each automatic driving sensor from the detection response information; finally, comparing each target detection response value with a preset response value of each automatic driving sensor to obtain a detection result of each automatic driving sensor; the purpose of automatically detecting the automatic driving sensor is achieved, and a detection instruction does not need to be manually input, so that the detection process of the automatic driving sensor is simplified, the detection time is saved, and the detection efficiency of the automatic driving sensor is improved; meanwhile, the detection result of each automatic driving sensor is automatically obtained by comparing the target detection response value of each automatic driving sensor with the corresponding preset response value, and whether the automatic driving sensors normally operate or not does not need to be analyzed manually, so that the detection process of the automatic driving sensors is further simplified, and the detection efficiency of the automatic driving sensors is improved; in addition, under the condition of responding to the detection operation of each automatic driving sensor, synchronous detection of each automatic driving sensor can be triggered by presetting a sensor detection instruction, so that the purpose of one-key detection of each automatic driving sensor is realized, each automatic driving sensor does not need to be detected step by step manually, and the detection efficiency of the automatic driving sensors is improved.
In one embodiment, the step S201, responding to the detection operation of each of the automatic driving sensors, includes: receiving detection instructions sent by an operation terminal to each automatic driving sensor; according to the detection instruction, the detection operation of each automatic driving sensor is responded.
In this embodiment, when the detection device is far away from the user, the user may perform remote control on the detection device by performing network connection between the operation terminal (e.g., a smart phone or a tablet computer) and the detection device; for example, a user triggers a detection instruction for each automatic driving sensor through the operation terminal and sends the detection instruction for each automatic driving sensor to the detection device, and the detection device receives the detection instruction for each automatic driving sensor and responds to the detection operation for each automatic driving sensor to automatically detect each automatic driving sensor. Therefore, each automatic driving sensor does not need to be detected step by step manually, so that the detection efficiency of the automatic driving sensor is improved, and the aim of remotely detecting the automatic driving sensor is fulfilled.
In another embodiment, the step S201, in response to the detection operation of each of the automatic driving sensors, includes: detecting a trigger operation of a user; the triggering operation is used for triggering the detection operation of each automatic driving sensor; if the trigger operation is detected, the detection operation of each automatic driving sensor is responded.
In this embodiment, the detection device is provided with a one-key detection option or a one-key detection button, and when a user clicks the one-key detection option or presses the one-key detection button, one-key detection operation on each automatic driving sensor is triggered; at this time, the detection device may detect a one-key detection operation of each of the automatic driving sensors triggered by the user, and respond to the detection operation of each of the automatic driving sensors to automatically detect each of the automatic driving sensors. Therefore, detection of each automatic driving sensor can be achieved through one-time operation of a user, detection of each automatic driving sensor through manual steps is not needed, and therefore detection efficiency of the automatic driving sensors is improved.
In one embodiment, the step S201 of sending a preset sensor detection command to each automatic driving sensor includes: acquiring IP addresses of all automatic driving sensors and preset sensor detection instructions; and respectively sending the detection instruction of each preset sensor to the automatic driving sensor corresponding to each IP address through the physical channels of the home terminal and the automatic driving sensor.
The IP (Internet Protocol) address of the automatic driving sensor refers to an IP address preset or allocated to the automatic driving sensor, and the IP addresses corresponding to the automatic driving sensors are different.
The physical channel between the home terminal and the autopilot sensor is a physical channel between the detection device and the autopilot sensor, and specifically is an rj45 twisted-pair channel.
Specifically, the detection device queries a local database in which IP addresses and preset sensor detection instructions corresponding to a plurality of sensor identifications are stored according to the sensor identification (such as a sensor name, a sensor number, and the like) of each autopilot sensor to obtain the IP address and the preset sensor detection instruction of each autopilot sensor; and sending a preset sensor detection instruction of each automatic driving sensor to the automatic driving sensor corresponding to the IP address of the automatic driving sensor through a physical channel between the home terminal and the automatic driving sensor so as to trigger and detect the running state of the automatic driving sensor.
For example, the detection device obtains the IP addresses of the lidar sensor, the camera, and the time synchronization sensor and the preset Ping IP command, and sends the preset Ping IP command of the lidar sensor, the camera, and the time synchronization sensor to the lidar sensor, the camera, and the time synchronization sensor corresponding to each IP address through the rj45 twisted-pair channel between the detection device and the autopilot sensor, so as to trigger the detection of the operating conditions of the lidar sensor, the camera, and the time synchronization sensor, and obtain the detection response information of the lidar sensor, the camera, and the time synchronization sensor.
In the embodiment, the purpose of automatically detecting the automatic driving sensor is achieved, and a detection instruction does not need to be manually input, so that the detection process of the automatic driving sensor is simplified, the detection time is saved, and the detection efficiency of the automatic driving sensor is improved.
In one embodiment, the step S203 of extracting the target detection response value of each of the automatic driving sensors from the detection response information includes: acquiring a detection response value identifier; a value corresponding to the detection response value identifier is extracted from the detection response information as a target detection response value of the automatic driving sensor.
Wherein the detection response value identifier is an identifier for identifying a target detection response value in the detection response information.
Specifically, the detection device acquires a detection response value identifier from a local database, and extracts a numerical value corresponding to the detection response value identifier from detection response information returned by the automatic driving sensor, wherein the numerical value is used as a target detection response value of the automatic driving sensor; with reference to this method, the target detection response values of the respective automatic driving sensors can be obtained.
For example, assuming that the detection response information returned by the automatic driving sensor includes a plurality of values, a1, B1, C1, D1, and E1, the detection device extracts the value C1 corresponding to the detection response value identifier C from the detection response information as the target detection response value of the automatic driving sensor
In this embodiment, the target detection response values of the automatic driving sensors are extracted from the detection response information, so that each target detection response value is favorably compared with the preset response value of each automatic driving sensor subsequently, the detection result of each automatic driving sensor is obtained, whether the automatic driving sensors normally operate or not is not required to be analyzed manually, the detection process of the automatic driving sensors is further simplified, and the detection efficiency of the automatic driving sensors is improved.
In an embodiment, in step S204, comparing each target detection response value with a preset response value of each automatic driving sensor to obtain a detection result of each automatic driving sensor, includes: if the target detection response value of the automatic driving sensor is larger than the corresponding preset response value, confirming that the running condition of the automatic driving sensor is normal; and if the target detection response value of the automatic driving sensor is smaller than or equal to the corresponding preset response value, determining that the running condition of the automatic driving sensor is abnormal.
Specifically, the detection device compares a target detection response value of the automatic driving sensor with a corresponding preset response value, and if the target detection response value of the automatic driving sensor is larger than the corresponding preset response value, which indicates that the automatic driving sensor passes the detection, it is determined that the running condition of the automatic driving sensor is normal; and if the target detection response value of the automatic driving sensor is smaller than or equal to the corresponding preset response value, which indicates that the automatic driving sensor does not pass the detection, determining that the running condition of the automatic driving sensor is abnormal.
In this embodiment, the target detection response value of each automatic driving sensor is compared with the corresponding preset response value, so that the detection result of each automatic driving sensor is automatically obtained, and whether the automatic driving sensor normally operates is not required to be manually analyzed, so that the manual detection cost is effectively reduced, and the detection efficiency of the automatic driving sensor is further improved.
In one embodiment, after confirming that the operating condition of the automatic driving sensor is abnormal, the method further comprises: acquiring a preset fault detection instruction; sending a preset fault detection instruction to an automatic driving sensor; the preset fault detection instruction is used for triggering the automatic driving sensor to carry out fault troubleshooting to obtain a fault troubleshooting result; receiving a troubleshooting result returned by the automatic driving sensor, and analyzing the troubleshooting result to obtain fault information of the automatic driving sensor; and acquiring a fault maintenance instruction corresponding to the fault information, and sending the fault maintenance instruction to the automatic driving sensor so as to perform maintenance processing on the fault of the automatic driving sensor through the fault maintenance instruction.
Specifically, under the condition that the operating condition of the automatic driving sensor is confirmed to be abnormal, the detection device can also send a preset fault detection instruction to the automatic driving sensor so as to trigger the automatic driving sensor to perform fault troubleshooting according to the preset fault detection instruction, obtain a fault troubleshooting result, and send the fault troubleshooting result to the detection device; the detection equipment analyzes the troubleshooting result to obtain the fault information of the automatic driving sensor; and acquiring a fault maintenance instruction corresponding to the fault information, and sending the fault maintenance instruction to the automatic driving sensor so as to perform maintenance processing on the fault of the automatic driving sensor through the fault maintenance instruction.
Of course, the detection device may also upload the fault information of the automatic driving sensor to the cloud server, and the cloud server acquires a fault maintenance instruction corresponding to the fault information from the local database, sends the fault maintenance instruction to the detection device, and sends the fault maintenance instruction to the automatic driving sensor through the detection device, so as to perform maintenance processing on the fault of the automatic driving sensor through the fault maintenance instruction.
In this embodiment, when it is determined that the operation condition of the automatic driving sensor is abnormal, troubleshooting and fault maintenance are performed on the automatic driving sensor, which is beneficial to timely guarantee the normal operation of the automatic driving.
In one embodiment, the step S204, after comparing each target detection response value with a preset response value of each automatic driving sensor to obtain a detection result of each automatic driving sensor, further includes: inquiring the corresponding relation between a preset detection result and a state lamp display instruction according to the detection result of each automatic driving sensor to obtain the state lamp display instruction of each automatic driving sensor; and controlling the corresponding status light to display through the status light display instruction.
The status light display instruction is an instruction for controlling display of a corresponding status light (such as an LED light); the preset corresponding relation between the detection result and the status light display instruction refers to different detection results and corresponds to different status light display instructions.
For example, if the automatic driving sensor is a detection result of the time synchronization sensor, the lidar sensor, and the camera, the LED display is controlled to display a corresponding status light according to the detection result of the time synchronization sensor, the lidar sensor, and the camera; for example, if the operating condition of the laser radar sensor is abnormal, controlling a red light on a second row on the LED display to be on; if the operation condition of the laser radar sensor is normal, controlling the red light of the second row on the LED display to be turned off; if the running condition of the camera is abnormal, controlling yellow lamps in a second row on the LED display to be on; if the running condition of the camera is normal, controlling the yellow light in the second row on the LED display to be turned off; if the running state of the time synchronization sensor is abnormal, controlling a blue light of a second row on the LED display to be on; if the running state of the time synchronization sensor is normal, controlling a blue lamp in a second row on the LED display to be turned off; if the running conditions of the time synchronization sensor, the laser radar sensor and the camera are all abnormal, controlling green lights of a second row on the LED display to be on; and if the running conditions of the laser radar sensor and the camera are abnormal and the running conditions of the time synchronization sensor are normal, only controlling the red light and the yellow light in the second row on the LED display to be on.
It should be noted that, in the above embodiment, the red light, the yellow light, and the blue light on the second row of the LED display respectively correspond to the operating conditions of the laser radar sensor, the camera, and the time synchronization sensor; of course, the on/off of the lamps with other colors in the second row of the LED display may also be used to correspond to the operation conditions of the lidar sensor, the camera, and the time synchronization sensor, which is not limited herein.
In this embodiment, with each autopilot sensor's testing result to the form that the control corresponds status light is bright to go out shows, is favorable to feeding back operating conditions to operating personnel with each autopilot sensor, and the operating conditions of each autopilot sensor is in time looked over to the operating personnel of being convenient for simultaneously.
In one embodiment, the step S204, after comparing each target detection response value with a preset response value of each automatic driving sensor to obtain a detection result of each automatic driving sensor, further includes: generating a corresponding detection report according to the detection result of each automatic driving sensor; and sending the detection report to the corresponding user terminal.
The detection report is a report for recording the detection result of each of the automatic driving sensors.
Specifically, the detection equipment acquires a preset detection report template, guides the detection result of each automatic driving sensor to a corresponding position in the preset detection report template, generates a corresponding detection report, sends the detection report to a corresponding user terminal, displays the detection result of each automatic driving sensor through a user terminal interface, facilitates operators to check the detection result of each automatic driving sensor at any time and any place, and is very convenient.
In one embodiment, as shown in fig. 3, another method for detecting an automatic driving sensor is provided, which is described by taking the method as an example of being applied to the detection device in fig. 1, and comprises the following steps:
step S301, in response to the detection operation of each of the automatic driving sensors, acquires an IP address of each of the automatic driving sensors and a preset sensor detection instruction.
Step S302, respectively sending each preset sensor detection instruction to the automatic driving sensor corresponding to each IP address through the physical channel between the home terminal and the automatic driving sensor; the preset sensor detection instruction is used for acquiring detection response information of each automatic driving sensor.
In step S303, detection response information returned from each of the automatic driving sensors is received.
Step S304, acquiring a detection response value identifier; a value corresponding to the detection response value identifier is extracted from the detection response information as a target detection response value of the automatic driving sensor.
Step S305, comparing each target detection response value with a preset response value of each automatic driving sensor to obtain a detection result of each automatic driving sensor.
Step S306, inquiring the corresponding relation between the preset detection result and the status light display instruction according to the detection result of each automatic driving sensor to obtain the status light display instruction of each automatic driving sensor.
And step S307, controlling the corresponding status light to display through the status light display instruction.
According to the detection method of the automatic driving sensor, the purpose of automatically detecting the automatic driving sensor is achieved, and a detection instruction does not need to be manually input, so that the detection process of the automatic driving sensor is simplified, the detection time is saved, and the detection efficiency of the automatic driving sensor is improved; meanwhile, the detection result of each automatic driving sensor is automatically obtained by comparing the target detection response value of each automatic driving sensor with the corresponding preset response value, and whether the automatic driving sensors normally operate or not does not need to be analyzed manually, so that the detection process of the automatic driving sensors is further simplified, and the detection efficiency of the automatic driving sensors is improved; in addition, under the condition of responding to the detection operation of each automatic driving sensor, synchronous detection of each automatic driving sensor can be triggered by presetting a sensor detection instruction, so that the purpose of one-key detection of each automatic driving sensor is realized, each automatic driving sensor does not need to be detected step by step manually, and the detection efficiency of the automatic driving sensors is improved.
In one embodiment, referring to fig. 4, the present application further provides an application scenario applying the detection method of the automatic driving sensor described above. Specifically, the detection method of the automatic driving sensor is applied to the application scene as follows:
in step S401, the detection device initializes.
Specifically, the operator presses a start key of the detection device, and the detection device starts initialization.
Step S402, the detection device establishes line connection with the automatic driving sensor system.
Specifically, an operator accesses an rj45 twisted-pair cable of the detection device into an internal network system of an automatic driving sensor system of an automatic driving automobile, and if the connection is successful, the LED lamps in the first row on the LED display are controlled to be displayed by green lamps and are normally on; if the connection fails, the LED lamps in the first row on the LED display are controlled to be turned off, and the fact that the detection equipment is in line connection with the automatic driving sensor system is indicated, and the detection equipment needs to be reconnected.
Step S403, the detection equipment automatically runs a preset Ping instruction to obtain detection results of the time synchronization sensor, the laser radar sensor and the camera; and analyzing whether the running conditions of the time synchronization sensor, the laser radar sensor and the camera are normal or not according to the detection result.
Specifically, an operator presses a one-key detection button of the detection device, the detection device can automatically run a preset Ping IP instruction, the IP addresses of the Ping time synchronization sensor, the laser radar sensor and the camera are respectively obtained, the target detection response values returned by the time synchronization sensor, the laser radar sensor and the camera are compared with the corresponding detection response values, the detection results of the time synchronization sensor, the laser radar sensor and the camera are obtained, and whether the running conditions of the time synchronization sensor, the laser radar sensor and the camera are normal or not is analyzed through the detection results.
And S404, controlling the on and off of the corresponding LED lamp on the LED display according to the detection results of the time synchronization sensor, the laser radar sensor and the camera.
The embodiment can achieve the following technical effects: (1) the detection time is saved, and compared with the manual Ping IP, the detection time is reduced by 10 minutes; (2) detection of each automatic driving sensor can be realized through the detection equipment, and other equipment (such as a universal meter) is not needed, so that the use of various detection tools is reduced, and the detection equipment has convenience; (3) the purpose of one-key detection of each automatic driving sensor is achieved through the detection equipment, and the detection efficiency of the automatic driving sensors is further improved.
It should be understood that although the various steps in the flow charts of fig. 2-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 5, there is provided a detection apparatus of an automatic driving sensor, including: aninstruction sending module 510, aninformation receiving module 520, a responsevalue extracting module 530, and aresult obtaining module 540, wherein:
aninstruction sending module 510, configured to send a preset sensor detection instruction to each of the automatic driving sensors in response to a detection operation on each of the automatic driving sensors; the preset sensor detection instruction is used for acquiring detection response information of each automatic driving sensor.
And aninformation receiving module 520, configured to receive detection response information returned by each of the automatic driving sensors.
And a responsevalue extraction module 530, configured to extract a target detection response value of each of the automatic driving sensors from the detection response information.
And theresult obtaining module 540 is configured to compare each target detection response value with a preset response value of each automatic driving sensor, so as to obtain a detection result of each automatic driving sensor.
In an embodiment, theinstruction sending module 510 is further configured to obtain an IP address of each autopilot sensor and a preset sensor detection instruction; and respectively sending the detection instruction of each preset sensor to the automatic driving sensor corresponding to each IP address through the physical channels of the home terminal and the automatic driving sensor.
In one embodiment, the responsevalue extracting module 530 is further configured to obtain a detection response value identifier; a value corresponding to the detection response value identifier is extracted from the detection response information as a target detection response value of the automatic driving sensor.
In an embodiment, theresult obtaining module 540 is further configured to determine that the operation condition of the automatic driving sensor is normal if the target detection response value of the automatic driving sensor is greater than the corresponding preset response value; and if the target detection response value of the automatic driving sensor is smaller than or equal to the corresponding preset response value, determining that the running condition of the automatic driving sensor is abnormal.
In one embodiment, the detection device of the automatic driving sensor further comprises a fault maintenance module for acquiring a preset fault detection instruction; sending the preset fault detection instruction to the automatic driving sensor; the preset fault detection instruction is used for triggering the automatic driving sensor to carry out fault troubleshooting to obtain a fault troubleshooting result; receiving the troubleshooting result returned by the automatic driving sensor, and analyzing the troubleshooting result to obtain the fault information of the automatic driving sensor; and acquiring a fault maintenance instruction corresponding to the fault information, and sending the fault maintenance instruction to the automatic driving sensor so as to perform maintenance processing on the fault of the automatic driving sensor through the fault maintenance instruction.
In one embodiment, the detection device of the automatic driving sensor further comprises a status light control module, configured to query a preset correspondence between a detection result and a status light display instruction according to the detection result of each automatic driving sensor, so as to obtain the status light display instruction of each automatic driving sensor; and controlling the corresponding status light to display through the status light display instruction.
In one embodiment, the detection device of the automatic driving sensor further comprises a detection report sending module, configured to generate a corresponding detection report according to a detection result of each automatic driving sensor; and sending the detection report to the corresponding user terminal.
In an embodiment, theinstruction sending module 510 is further configured to receive a detection instruction sent by an operation terminal to each of the automatic driving sensors; responding to the detection operation of each automatic driving sensor according to the detection instruction; and/or detecting a trigger operation of a user; the triggering operation is used for triggering the detection operation of each automatic driving sensor; and responding to the detection operation of each automatic driving sensor if the trigger operation is detected.
For specific limitations of the detection device of the automatic driving sensor, reference may be made to the above limitations of the detection method of the automatic driving sensor, which are not described herein again. The modules in the detection device of the automatic driving sensor can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, as shown in fig. 1, there is provided a detection system of an automatic driving sensor, including: adetection device 110 and a statuslight display 120;detection device 110 is connected to statuslight display 120; thedetection device 110 is also connected to anautopilot sensor 130;
adetection device 110 for executing a detection method of an automatic driving sensor according to any of the embodiments of the present application;
thedetection device 110 is further configured to query a preset corresponding relationship between the detection result and the status light display instruction according to the detection result of each automatic driving sensor, so as to obtain the status light display instruction of each automatic driving sensor; sending status light display instructions for each autopilot sensor to statuslight display 120;
and a statuslight display 120 for displaying corresponding status lights according to status light display instructions of the respective automatic driving sensors sent by thedetection device 110.
The detection system of the automatic driving sensor achieves the purpose of automatically detecting the automatic driving sensor, and does not need to manually input a detection instruction, so that the detection process of the automatic driving sensor is simplified, the detection time is saved, and the detection efficiency of the automatic driving sensor is improved; meanwhile, the target detection response values of the automatic driving sensors are compared with the corresponding preset response values, the detection results of the automatic driving sensors are automatically obtained, whether the automatic driving sensors normally operate or not does not need to be analyzed manually, the detection process of the automatic driving sensors is further simplified, and therefore the detection efficiency of the automatic driving sensors is improved.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of detecting an autopilot sensor. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the above-described method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile memory may include Read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, or the like. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.