Vehicle detection method and device, computer equipment, storage medium and program product
Through the detection policy request and response mechanism between the vehicle and the server, the problem of complex and inefficient vehicle detection process in the prior art is solved, and more efficient and accurate vehicle detection is achieved.
Patent Information
- Application Number
- CN202411852552.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-04-08
AI Technical Summary
Existing vehicle detection methods require testers to connect to the vehicle through additional testing equipment, resulting in complex and inefficient inspection processes.
By sending a detection policy request to the server, the server provides the most appropriate detection strategy based on the latest status of the vehicle. The vehicle displays the detection strategy and executes the detection items selected by the user to display the detection results in real time.
It improves the relevance and accuracy of the detection strategy, simplifies the detection operation steps, and improves the pertinence and efficiency of vehicle detection.
Smart Images

Figure CN119779693A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of vehicle electronics and information technology, and in particular to a vehicle detection method, device, computer equipment, storage medium and program product. Background Art
[0002] With the continuous development of computer technology, computer technology has been applied to many fields, among which the application in the vehicle field is very extensive, especially in the detection of vehicle control functions and communication links.
[0003] In the related art, some automated detection methods for vehicle controllers and their communication links have been proposed and applied. For example, by executing a python script to directly detect the vehicle controller, the CAN (Controller Area Network) message is analyzed to obtain the final detection result; or, the detection signal is sent to the terminal device through an automatic detection bench, which is uploaded to the Internet of Vehicles server by the terminal. The detection bench queries the signal value from the server and makes a consistency judgment, and outputs the detection result.
[0004] However, the above solution requires the tester to connect to the vehicle through additional test equipment and trigger the test of the vehicle through the test equipment. The test process is complicated and easily leads to low detection efficiency. Summary of the invention
[0005] The embodiments of the present application provide a vehicle detection method, apparatus, computer equipment, storage medium, and program product, which can improve vehicle detection efficiency. The technical solution is as follows:
[0006] In one aspect, a vehicle detection method is provided, the method being performed by a vehicle, comprising:
[0007] In response to a trigger operation on a detection program, a detection strategy request is sent to a server; the detection program is a detection program for detecting the vehicle controller and a communication link corresponding to the vehicle controller; the detection strategy request is used to request a detection strategy corresponding to the vehicle; the detection strategy includes at least one detection item;
[0008] Receiving the detection strategy sent by the server according to the detection strategy request;
[0009] displaying the detection strategy;
[0010] In response to a selection operation of at least one detection item in the detection strategy, executing a detection operation corresponding to the selected at least one detection item;
[0011] The detection result corresponding to the detection operation is displayed.
[0012] On the other hand, a vehicle detection method is provided, the method being executed by a server and comprising:
[0013] Receiving a detection strategy request sent by a vehicle; the detection strategy request is used by the vehicle to request to obtain a detection strategy corresponding to the vehicle; the detection strategy includes at least one detection item;
[0014] Obtaining a detection strategy corresponding to the vehicle according to the detection strategy request;
[0015] The detection strategy is sent to the vehicle.
[0016] In another aspect, a vehicle detection device is provided, the device comprising:
[0017] A detection strategy request sending module, used to send a detection strategy request to a server in response to a triggering operation on a detection program; the detection program is a detection program used to detect the vehicle controller and a communication link corresponding to the vehicle controller; the detection strategy request is used to request a detection strategy corresponding to the vehicle; the detection strategy includes at least one detection item;
[0018] A detection strategy receiving module, used to receive the detection strategy sent by the server according to the detection strategy request;
[0019] A detection strategy display module, used to display the detection strategy;
[0020] a detection operation execution module, configured to execute, in response to a selection operation on at least one detection item in the detection strategy, a detection operation corresponding to the selected at least one detection item;
[0021] The detection result display module is used to display the detection result corresponding to the detection operation.
[0022] In some embodiments, the detection strategy request includes detection strategy prompt information, and the apparatus further includes:
[0023] A detection strategy prompt information acquisition module, used to obtain detection strategy prompt information before sending the detection strategy request to the server; the detection strategy prompt information includes at least one of the identity information of the detection personnel and the station identification of the detection station where the vehicle is located;
[0024] The detection strategy request sending module is used to send the detection strategy request containing the detection strategy prompt information to the server, so that the server determines and sends the detection strategy according to the detection strategy prompt information.
[0025] In some embodiments, when the detection strategy prompt information includes identity information of the detection personnel, the detection strategy prompt information acquisition module is used to obtain the identity information corresponding to the specified operation in response to receiving a specified operation; the specified operation includes at least one of card swiping, fingerprint recognition and facial recognition.
[0026] In some embodiments, when the detection strategy prompt information includes the station identification of the detection station where the vehicle is located, the detection strategy prompt information acquisition module is used to receive a Bluetooth signal sent by a Bluetooth device corresponding to the detection station when the vehicle is parked at the detection station; the Bluetooth signal includes the station identification; and extract the station identification from the Bluetooth signal.
[0027] In some embodiments, when the detection strategy prompt information includes the station identification of the detection station where the vehicle is located, the detection strategy prompt information acquisition module is used to receive a Bluetooth signal sent by a Bluetooth device corresponding to the detection station when the vehicle is parked at the detection station; the Bluetooth signal includes the station identification; and extract the station identification from the Bluetooth signal.
[0028] In some embodiments, the entrance of the detection program is hidden by default, and the device further comprises:
[0029] An entry display module of the detection program, used for displaying the entry of the detection program in response to receiving a display instruction;
[0030] The detection program starting module is used to start the detection program in response to a triggering operation on the entry of the detection program.
[0031] On the other hand, a computer device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the vehicle detection method as described above.
[0032] On the other hand, a computer-readable storage medium is provided, in which at least one instruction, at least one program, code set or instruction set is stored, and the at least one instruction, the at least one program, the code set or instruction set is loaded and executed by a processor to implement the vehicle detection method as described above.
[0033] In another aspect, a computer program product is provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the vehicle detection method provided in the above-mentioned various optional implementations.
[0034] The technical solution provided by this application may have the following beneficial effects:
[0035] The detection strategy request sent by the vehicle to the server enables the server to obtain the most appropriate detection strategy based on the latest status of the vehicle, thereby improving the relevance and accuracy of the obtained detection strategy to the detection; when the vehicle receives the detection strategy sent by the server, it is immediately displayed to the user, so that the user can intuitively understand the upcoming detection content and select specific detection items as needed, effectively improving the pertinence and efficiency of the detection; when executing the selected detection items, the vehicle can display the corresponding detection results in real time, making the detection results more transparent; the above scheme can effectively simplify the test operation steps and effectively improve the vehicle detection efficiency.
[0036] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0038] Figure 1 is a system configuration diagram of a vehicle detection method involved in one embodiment of the present application;
[0039] Figure 2 is a flow chart of a vehicle detection method provided by an embodiment of the present application;
[0040] Figure 3 is a flow chart of a vehicle detection method provided by an embodiment of the present application;
[0041] Figure 4 is a flow chart of a vehicle detection method provided by an embodiment of the present application;
[0042] Figure 5 is a system flow chart of a vehicle detection method provided by an embodiment of the present application;
[0043] Figure 6 is a timing diagram of a vehicle detection method provided by an embodiment of the present application;
[0044] Figure 7It is a code schematic diagram of a detection strategy provided by an embodiment of the present application;
[0045] Figure 8 This is a rendering of a vehicle detection provided by an embodiment of the present application;
[0046] Fig. 9 It is an interface diagram of a detection program provided by an embodiment of the present application;
[0047] Fig.10 is a block diagram of a vehicle detection device provided by an exemplary embodiment of the present application;
[0048] Fig.11 It is a structural diagram of a computer device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0049] Here, exemplary embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application.
[0050] Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.
[0051] Figure 1 FIG. 1 is a system configuration diagram of a vehicle detection method according to an embodiment of the present application. Figure 1 As shown, the system includes a vehicle 120 and a server 130 of the vehicle detection method.
[0052] The vehicle 120 may be a personal computer device such as a desktop computer, a laptop computer, a personal workstation, or the like.
[0053] The server 130 may be one server, or a plurality of servers, or a virtualization platform, or a cloud computing service center.
[0054] The vehicle 120 and the server 130 may be connected via a communication network. Optionally, the communication network is a wired network or a wireless network.
[0055] Optionally, the above-mentioned wireless network or wired network uses standard communication technology and / or protocol. The network is usually the Internet, but it can also be any network, including but not limited to any combination of local area network (LAN), metropolitan area network (MAN), wide area network (WAN), mobile, wired or wireless network, private network or virtual private network. In some embodiments, the data exchanged through the network is represented by technology and / or format including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec) can also be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technology can also be used to replace or supplement the above-mentioned data communication technology.
[0056] In an embodiment of the present application, the vehicle 120 sends a detection strategy request for requesting a detection strategy corresponding to the vehicle to the server 130 in response to a trigger operation on a detection program for detecting a vehicle controller and a communication link corresponding to the vehicle controller; the detection strategy includes at least one detection item; the server 130 sends the detection strategy sent according to the detection strategy request; the vehicle 120 receives the detection strategy request and displays the detection strategy; in response to a selection operation of at least one detection item in the detection strategy, the vehicle 120 performs a detection operation corresponding to the selected at least one detection item; and the detection result corresponding to the detection operation is displayed.
[0057] Figure 2 is a flow chart of a vehicle detection method provided by an embodiment of the present application. The vehicle detection method can be executed by a vehicle, for example, the vehicle can be the above-mentioned Figure 1 The vehicle 120 shown. The above vehicle detection method may include steps 210, 220, 230, 240 and 250, which are specifically implemented as follows:
[0058] Step 210: In response to a trigger operation on a detection program, a detection strategy request is sent to a server; the detection program is a detection program for detecting a vehicle controller and a communication link corresponding to the vehicle controller; the detection strategy request is used to request a detection strategy corresponding to the vehicle; the detection strategy includes at least one detection item.
[0059] The above-mentioned detection program is an application program pre-written by the detection personnel to check and verify the functions of the vehicle controller and whether the communication link between the vehicle controller and other components is working normally.
[0060] The above detection strategy is a detection plan for instructing the vehicle to perform detailed detection operations.
[0061] In an embodiment of the present application, each detection strategy includes at least one detection item, and different detection items correspond to different detection aspects, such as the functionality of the vehicle controller and the stability of the communication link between the vehicle controller and other components.
[0062] In an embodiment of the present application, when the above-mentioned detection program is triggered, the detection program establishes a connection with the server and sends a detection strategy request containing vehicle information to the server. The vehicle information helps the server determine whether the specific detection item matches the current vehicle configuration.
[0063] Step 220: Receive the detection policy sent by the server according to the detection policy request.
[0064] In an embodiment of the present application, after the vehicle sends a detection strategy request to the server, the server can determine the detection strategy corresponding to the vehicle based on the vehicle information in the detection strategy request, and send the detection strategy to the vehicle, which receives it.
[0065] Step 230: Display the detection strategy.
[0066] In an embodiment of the present application, after the vehicle receives the detection strategy, the detection strategy can be displayed through the vehicle-mounted terminal. The detection strategy can be displayed in at least one form of text, pattern, and voice broadcast.
[0067] In an embodiment of the present application, after the vehicle receives the detection strategy sent by the server according to the detection strategy request, all detection items corresponding to the detection strategy are displayed.
[0068] Step 240: In response to a selection operation of at least one detection item in the detection strategy, a detection operation corresponding to the selected at least one detection item is executed.
[0069] In an embodiment of the present application, the above-mentioned selection operation can be a manual operation, for example, a user manually selects a detection item through a vehicle-mounted terminal interface; or an automatic operation, for example, selecting a detection item according to a preset rule. Optionally, the preset rule can be the climate temperature, that is, the vehicle selects different detection items under different climate temperatures. For example, when the climate temperature of the vehicle is below zero, the "battery health status check" and "heating system function verification" are automatically selected.
[0070] The above selection operation includes but is not limited to: single-clicking, double-clicking, long-pressing, and dragging operations on at least one detection item.
[0071] In some embodiments, the vehicle responds to the selection operation of at least one detection item in the detection strategy and performs the detection operation corresponding to the selected at least one detection item according to the order in which the at least one detection item is selected. For example, there are detection items A, B, and C, and the order in which the user selects the detection items is B, C, and A. The vehicle first performs the detection operation corresponding to detection item B, and after the detection of detection item B is completed, the detection operation corresponding to detection item C is performed, and after the detection of detection item C is completed, the detection operation corresponding to detection item A is finally performed.
[0072] In other embodiments, the vehicle responds to the completion of all selection operations for at least one detection item in the detection strategy and simultaneously executes the detection operation corresponding to the selected detection item.
[0073] Step 250: Display the detection result corresponding to the detection operation.
[0074] In some embodiments, the above-mentioned detection results include the actual data detected by each detection item corresponding to the detection operation, such as detecting that the current vehicle battery power is 50% left, displaying "Battery: 50%"; it can also indicate the detected evaluation level, such as detecting that the current vehicle battery power is less than 10%, displaying "Low Battery".
[0075] In some embodiments, the above-mentioned detection results include a detection score corresponding to each detection item, and the detection score is used to indicate the quality of the performance corresponding to the detection item in the current vehicle. The detection score is proportional to the performance corresponding to the detection item in the vehicle. The higher the detection score, the better the performance corresponding to the detection item in the vehicle; conversely, the lower the detection score, the worse the performance corresponding to the detection item in the vehicle.
[0076] In some embodiments, the above-mentioned detection results include an average score calculated based on all detection items corresponding to this detection operation. The average score is used to indicate the overall performance of the vehicle. The average score is proportional to the overall performance of the vehicle. The higher the average score, the higher the overall performance of the vehicle.
[0077] In some embodiments, the above-mentioned detection results include the number of items that have been successfully detected and the number of items that have failed to be detected in at least one detection item corresponding to the detection operation. Optionally, the above-mentioned detection results also include a detection success rate report generated and displayed based on the number of items that have been successfully detected and the number of items that have failed to be detected, and the detection success rate report displays two parts: the detection success rate and the detection failure rate. Among them, the vehicle can also display the detection items that failed to be detected, the reasons for the failure of the detection items, and the retry control in the detection success rate report. The user can click the retry control, and the vehicle responds to the retry control being triggered, re-executes the detection operation corresponding to the detection item, and updates and displays the detection success rate report after the detection operation is completed.
[0078] In some embodiments, the vehicle may simultaneously voice broadcast the detection results while displaying the detection results corresponding to the detection operation.
[0079] In some embodiments, while displaying the detection result corresponding to the detection operation, the vehicle may emit a specific light to indicate the detection result.
[0080] In an embodiment of the present application, the detection strategy request sent by the vehicle to the server enables the server to obtain the most appropriate detection strategy based on the latest condition of the vehicle, thereby improving the relevance and accuracy of the obtained detection strategy and the detection; when the vehicle receives the detection strategy sent by the server, it is immediately displayed to the user, so that the user can intuitively understand the upcoming detection content and select specific detection items as needed, effectively improving the pertinence and efficiency of the detection; when executing the selected detection items, the vehicle can display the corresponding detection results in real time, making the detection results more transparent. The above scheme can effectively avoid the problem of insufficient detection coverage and effectively improve the vehicle detection efficiency.
[0081] Based on the solutions shown in any one or more of the above embodiments, based on Figure 2 , please refer to Figure 3 , Figure 3 is a flow chart of a vehicle detection method provided by an embodiment of the present application. The detection strategy request includes detection strategy prompt information. Figure 2 Before step 210 in the embodiment, step 205 is also included; the above step 210 can be implemented as step 210a:
[0082] Step 205: Acquire detection strategy prompt information; the detection strategy prompt information includes at least one of the identity information of the detection personnel and the station identification of the detection station where the vehicle is located.
[0083] Among them, the above-mentioned inspectors refer to professionals who are responsible for executing, supervising or managing inspection tasks during the vehicle inspection process.
[0084] The above-mentioned identity information is the identification data of the technician or operator who performs the detection operation, and the identity information may include the detection type corresponding to the detection personnel. In the embodiment of the present application, each detection personnel may correspond to a detection type, that is, each detection personnel is specifically responsible for performing one or several types of detection operations, and different detection personnel correspond to different detection types.
[0085] Among them, the above-mentioned inspection station refers to the workstation where the vehicle is located when it is being inspected.
[0086] The above-mentioned station identification is information used to uniquely identify each detection station, and the station identification can be a digital number or an alphabetic code. In the embodiment of the present application, each detection station can correspond to a detection type, that is, each detection station can perform a detection operation corresponding to a detection type, different detection stations correspond to different detection types, and different detection stations perform detection operations corresponding to different detection types.
[0087] Step 210a: Send a detection policy request including detection policy prompt information to the server, so that the server determines and sends the detection policy according to the detection policy prompt information.
[0088] In an embodiment of the present application, before the vehicle sends a detection and control strategy request to the server, it preferentially obtains necessary detection strategy prompt information from a local or networked database. Optionally, before the vehicle sends a detection and control strategy request to the server, it queries the employee management system to obtain the identity information corresponding to the current detection personnel; optionally, before the vehicle sends a detection and control strategy request to the server, it obtains the workstation identification by scanning the QR code of the detection workstation.
[0089] In an embodiment of the present application, the detection strategy request includes the identity information of the detection personnel and the identification of the detection station where the vehicle is located, and expands the type of detection strategy prompt information, so that the server can obtain the corresponding detection strategy based on the specific detection strategy prompt information, making the obtained detection strategy more targeted.
[0090] Based on the scheme shown in any one or more of the above-mentioned embodiments, when the detection strategy prompt information includes the identity information of the detection personnel, in response to receiving a specified operation, the vehicle obtains the identity information corresponding to the specified operation; the specified operation includes at least one of card swiping, fingerprint recognition and facial recognition.
[0091] Optionally, in the case where the detection strategy prompt information includes the identity information of the detection personnel, in response to receiving the detection personnel's card swiping operation, the vehicle obtains the identity information corresponding to the detection personnel's work card. For example, when the detection personnel approaches the vehicle, they need to swipe the work card in the designated area of the vehicle to obtain work authority. At the moment when the detection personnel swipes the card, the vehicle obtains the detection personnel's identity information and effectively determines the detection type corresponding to the detection personnel based on the identity information.
[0092] Optionally, when the detection strategy prompt information includes the identity information of the detection personnel, in response to receiving the fingerprint recognition of the detection personnel, the vehicle obtains the identity information corresponding to the detection personnel's work card. For example, when the detection personnel approaches the vehicle, they need to swipe their fingerprints in a designated area of the vehicle to obtain work authority. After the detection personnel swipes their fingerprints, the vehicle obtains the detection personnel's identity information and effectively determines the detection type corresponding to the detection personnel based on the identity information.
[0093] Optionally, in the case where the detection strategy prompt information includes the identity information of the detection personnel, in response to receiving the facial recognition operation of the detection personnel, the vehicle obtains the identity information corresponding to the face of the detection personnel. For example, when the detection personnel approaches the vehicle, it is necessary to perform a facial recognition operation through the vehicle terminal to obtain work authority. After the facial recognition operation of the detection personnel is completed, the vehicle obtains the identity information of the detection personnel and effectively determines the detection type corresponding to the detection personnel based on the identity information.
[0094] In the embodiment of the present application, the above scheme expands the method of obtaining identity information. By introducing detection strategy prompt information based on identity authentication, it can effectively ensure that in the actual application of this scheme, the vehicle can obtain corresponding identity information in different environments, thereby improving the efficiency of obtaining identity information.
[0095] Based on the scheme shown in any one or more of the above-mentioned embodiments, when the detection strategy prompt information includes the station identification of the detection station where the vehicle is located; when the vehicle is parked at the detection station, a Bluetooth signal sent by a Bluetooth device corresponding to the detection station is received; the Bluetooth signal includes the station identification; and the station identification in the Bluetooth signal is extracted.
[0096] In an embodiment of the present application, before the vehicle performs a detection operation, it can drive to the detection station. When the vehicle is in a stopped state at the detection station, the detection station sends a Bluetooth signal containing a station identification to the vehicle. After receiving the Bluetooth signal, the vehicle extracts the station identification in the Bluetooth signal.
[0097] In an embodiment of the present application, by including the station identification of the inspection station where the vehicle is located in the inspection strategy prompt information, the station identification is automatically obtained based on the Bluetooth signal, which effectively improves the degree of automation of the vehicle inspection process and improves the efficiency of obtaining the station identification.
[0098] Based on the scheme shown in any one or more of the above-mentioned embodiments, the entrance to the detection program is hidden by default. Before the vehicle sends a detection strategy request to the server, the vehicle displays the entrance to the detection program in response to receiving a display instruction; and starts the detection program in response to a triggering operation on the entrance to the detection program.
[0099] The entry to the detection program refers to an interface element or option used by a user to start or access the detection program. The entry to the detection program may be a button, menu item or icon in an application.
[0100] The above-mentioned display instruction is an action or condition that triggers the display of the detection program entry.
[0101] Optionally, the entrance to the detection program is hidden by default. Before sending a detection strategy request to the server, the vehicle displays the entrance to the detection program in response to receiving a request from the user to wake up the entrance to the detection program through a specific gesture; and starts the detection program in response to a trigger operation on the entrance to the detection program.
[0102] Optionally, the entrance to the detection program is hidden by default. Before the vehicle sends a detection strategy request to the server, in response to receiving display parameters of the detection program configured by the user, the entrance to the detection program is displayed; in response to a trigger operation on the entrance to the detection program, the detection program is started.
[0103] Optionally, the entrance to the detection program is hidden by default. Before the vehicle sends a detection strategy request to the server, in response to receiving a signal that the vehicle has entered a maintenance mode, the entrance to the detection program is displayed; in response to a trigger operation on the entrance to the detection program, the detection program is started.
[0104] In the embodiment of the present application, when the vehicle receives the display instruction, the hidden entrance of the detection program is displayed, allowing the user to interact with the entrance of the detection program. If the user selects the entrance of the detection program, the detection program is started.
[0105] In an embodiment of the present application, by setting the entrance to the detection program to be hidden by default and displaying it only when a specific display instruction is received, user misoperation is effectively avoided, ensuring that only authorized personnel can start the detection program when needed. After the display instruction is triggered, the vehicle displays the entrance to the detection program, allowing detection strategy requests to be initiated through the entrance of the detection program, thereby improving the relevance and specificity of vehicle detection.
[0106] Please refer to Figure 4 , Figure 4 is a flow chart of a vehicle detection method provided by an embodiment of the present application. The vehicle detection method may be executed by a server, for example, the server may be the above-mentioned Figure 1The vehicle 120 shown. The above vehicle detection method may include steps 410, 420 and 430 which are specifically implemented as follows:
[0107] Step 410: receiving a detection strategy request sent by a vehicle; the detection strategy request is used by the vehicle to request to obtain a detection strategy corresponding to the vehicle; the detection strategy includes at least one detection item.
[0108] Step 420: Obtain the detection strategy corresponding to the vehicle according to the detection strategy request.
[0109] In an embodiment of the present application, the server includes a detection strategy database, which includes at least one detection strategy and a test type corresponding to the detection strategy. In some embodiments, after receiving a detection strategy request sent by a vehicle, the server determines the detection type according to the identity information of the detection personnel in the detection strategy request or the station identification of the detection station where the vehicle is located, traverses the detection strategy database, and obtains the detection strategy corresponding to the detection type in the detection strategy database.
[0110] Furthermore, the detection strategy database contains at least one detection item included in the detection strategy. After the server obtains the detection strategy request, it obtains at least one detection item included in the detection strategy in the detection strategy database and sends it to the vehicle.
[0111] In an embodiment of the present application, the server includes a detection strategy database, which includes a strategy number of at least one detection strategy, and a strategy number-type number relationship pair consisting of a type number of a test type corresponding to the detection strategy. In some embodiments, after receiving a detection strategy request sent by a vehicle, the server determines the detection type according to the identity information of the detection personnel in the detection strategy request or the station identification of the detection station where the vehicle is located, obtains the type number corresponding to the detection type, traverses the detection strategy database, obtains the strategy number-type number relationship pair where the type number is located in the detection strategy database, obtains the detection strategy corresponding to the strategy number in the strategy number-type number relationship pair, and uses it as the detection request corresponding to the detection strategy request.
[0112] Step 430: Send the detection strategy to the vehicle.
[0113] In an embodiment of the present application, when the vehicle sends a detection strategy request, the server obtains the most appropriate detection strategy based on the detection strategy, ensuring that the detection strategy sent each time meets the needs of the vehicle, making the sent detection strategy more targeted and effectively improving the vehicle's detection efficiency.
[0114] Based on the above Figures 2 to 4 In the steps of the embodiments, the embodiments of the present application illustrate a method, system and device for automatically testing and stress testing an automobile controller and its communication link.
[0115] The steps of the scheme of this embodiment are as follows: 1. Write a detection strategy; 2. Upload the detection strategy to the server through the management background; 3. Write a detection program; 4. Preset the detection program in the vehicle computer ROM (Read-Only Memory) and hide the program entry; 5. Send instructions to the vehicle computer through the diagnostic equipment to display the program entry, so that the vehicle computer connects to the designated router to connect to the network; 6. Start the detection program by clicking the program icon on the terminal large screen, select the detection item, and start the detection work; 7. After the detection is completed, the detection result is displayed.
[0116] Among them, the above step 5 requires a network environment to facilitate the detection program to obtain the detection strategy from the server.
[0117] Among them, the above step 2 requires a server.
[0118] Among them, the above step 5 requires a diagnostic instrument.
[0119] In the embodiment of the present application, the above scheme tests the automobile controller and its communication link and supports stress testing thereof. It is simple and convenient to operate and has a very low threshold for use. It greatly reduces the testing cost and greatly improves the testing efficiency. It can perform full-link detection from the terminal large screen to the controller and has higher business value.
[0120] For example, please refer to Figure 5 , Figure 5 FIG. 1 is a system flow chart of a vehicle detection method provided by an embodiment of the present application. Figure 5 As shown, the above scheme includes a preparation stage and a detection stage.
[0121] S1. Preparation stage
[0122] The inspection personnel write the inspection strategy and inspection program in advance, and transfer the written inspection strategy to the server through the management background; the written inspection program is preset in the vehicle computer ROM, and the program entry of the inspection program is hidden in the vehicle computer ROM.
[0123] S2. Detection stage
[0124] The inspector sends instructions to the vehicle ROM through the diagnostic instrument. The vehicle ROM connects to the server and displays the program entry of the detection program. In response to the start of the detection program, at least one detection item in the server is obtained and displayed in the detection program. After the inspector performs a selection operation on the detection item to be tested, the vehicle starts to execute the detection operation corresponding to the selected detection item. After the detection is completed, the detection result is displayed.
[0125] For example, please refer to Figure 6 , Figure 6It is a timing diagram of a vehicle detection method provided by an embodiment of the present application.
[0126] like Figure 6 As shown, the vehicle detection method shown in the embodiment of the present application is executed in the order of the first stage and the second stage.
[0127] Phase 1: The inspectors write the inspection strategy and inspection program in advance, and pass the inspection strategy to the server through the management background; the inspection program is preset into the vehicle ROM and hidden.
[0128] After completing the operations of the first stage, execute the corresponding operation steps of the second stage.
[0129] The second stage: The inspector sends instructions to the vehicle ROM through the diagnostic instrument. The vehicle ROM connects to the router and displays the detection program at the same time. The detection program is started. The detection program obtains and displays the detection items. After the inspector selects the specified detection items, the vehicle performs the detection operation. After the detection is completed, the detection results are displayed and synchronized to the server and management background.
[0130] The above detection strategy is a json format file, which contains the following basic nodes. For example, please refer to Figure 7 , Figure 7 It is a code diagram of a detection strategy provided by an embodiment of the present application.
[0131] detectionItem represents the name of the detection item;
[0132] executions represents the number of times the detection item is executed;
[0133] txCans represents the signal set sent to the controller;
[0134] rxCans represents the signal set of the controller execution results;
[0135] checkTitle represents the signal name in the detection item;
[0136] signalId represents the signal key in the detection item;
[0137] value represents the signal value in the detection item.
[0138] In an embodiment of the present application, the detection strategy is uploaded to the server through the management background. The management background can import files in json format. The management background parses the detection strategy file in json format and stores the parsed data in the server database. The data corresponds to the vehicle model one by one for use by the detection program. The management background can also maintain the detection strategy.
[0139] For example, please refer to Figure 8 , Figure 8 This is a rendering of a vehicle detection effect provided by an embodiment of the present application.
[0140] like Figure 8 As shown, during the vehicle inspection process, the vehicle's on-board terminal can display the vehicle version and the inspection items corresponding to this inspection; and after the inspection is completed, the inspection report can be displayed. The inspection report includes the inspection task status of the entire vehicle and a list of failed items. The inspection task status of the entire vehicle includes the number of inspection items that have been successfully inspected and the number of inspection items that have failed in this inspection operation. The list of failed items includes the specific inspection items that failed in this inspection operation and the reasons for the failure.
[0141] In an embodiment of the present application, by displaying various types of information related to the detection operation in the vehicle's on-board terminal, it is helpful for the inspection personnel to better understand the situation of the current detection operation and the actual performance of the vehicle, thereby improving the efficiency of vehicle inspection.
[0142] For example, please refer to Fig. 9 , Fig. 9 This is an interface diagram of a detection program provided by an embodiment of the present application.
[0143] The writing process of the detection program: First, call the HTTPS network request, obtain the corresponding detection strategy from the server according to the current car version, and display it in the form of a list. Second, the detection item list supports being checked, and the checked items are the items to be detected. Third, traverse the list of checked detection items, execute the combined signal (on, off, on...) X times-->change the data structure--> execute the single signal (on, off, on...) once-->change the data structure-->execute X times for each group (on, off, on...), and execute multiple groups concurrently with multiple threads. Take one group as an example, traverse the group of data, obtain the signalId and value in txCans, recorded as tx_signalId and tx_value, and obtain the signalId and value in rxCans, recorded as rx_signalId and rx_value. Fourth, send tx_signalId and tx_value through canlib, and then get rx_signalId through canlib, and record the result as rx_value_new. If rx_value_new is equal to rx_value, the current signal detection is successful and the communication link between the controller and it is normal. Otherwise, the detection fails. Fifth, report the detection result to the server.
[0144] The detection program is preset in the vehicle computer ROM, and the program entry is hidden. The program is only visible to the tester to prevent misoperation. Send instructions to the vehicle computer through the diagnostic equipment, display the program entry, and connect the vehicle computer to the designated router to connect to the network. Start the detection program by clicking the program icon on the terminal large screen. The detection program obtains the corresponding detection strategy from the server according to the current car version, and displays it in the form of a list. Select the detection item and start the detection work. After the detection is completed, the detection program displays the most recent detection report and reports the detection results to the server. The historical detection data can be queried and the detection results can be displayed through the management background.
[0145] The above is only an embodiment of the present application and should not be regarded as limiting the present application. Professionals should understand that various deformations and modifications can be made to the embodiments to adapt to different application requirements. Therefore, the scope of the present application should be limited by the claims attached to the claims.
[0146] Please refer to Fig.10 , which shows a block diagram of a vehicle detection device provided by an exemplary embodiment of the present application. The data processing device can be implemented as all or part of a computer device by hardware or a combination of hardware and software to achieve the above Figures 2 to 4 All or part of the steps in the illustrated embodiments.
[0147] like Fig.10 As shown, the vehicle detection device comprises:
[0148] The detection strategy request sending module 1001 is used to send a detection strategy request to the server in response to a trigger operation on a detection program; the detection program is a detection program for detecting a vehicle controller and a communication link corresponding to the vehicle controller; the detection strategy request is used to request a detection strategy corresponding to the vehicle; the detection strategy includes at least one detection item;
[0149] The detection strategy receiving module 1002 is used to receive the detection strategy sent by the server according to the detection strategy request;
[0150] A detection strategy display module 1003 is used to display the detection strategy;
[0151] A detection operation execution module 1004, configured to execute, in response to a selection operation on at least one detection item in the detection strategy, a detection operation corresponding to the selected at least one detection item;
[0152] The detection result display module 1005 is used to display the detection result corresponding to the detection operation.
[0153] In some embodiments, the detection strategy request includes detection strategy prompt information, and the apparatus further includes:
[0154] A detection strategy prompt information acquisition module, used to obtain detection strategy prompt information before sending a detection strategy request to the server; the detection strategy prompt information includes at least one of the identity information of the detection personnel and the station identification of the detection station where the vehicle is located;
[0155] The detection strategy request sending module 1001 is used to send a detection strategy request including detection strategy prompt information to the server, so that the server determines and sends the detection strategy according to the detection strategy prompt information.
[0156] In some embodiments, when the detection strategy prompt information includes the identity information of the detection personnel, the detection strategy prompt information acquisition module is used to obtain the identity information corresponding to the specified operation in response to receiving the specified operation; the specified operation includes at least one of card swiping, fingerprint recognition and facial recognition.
[0157] In some embodiments, when the detection strategy prompt information includes the station identification of the detection station where the vehicle is located, the detection strategy prompt information acquisition module is used to receive a Bluetooth signal sent by a Bluetooth device corresponding to the detection station when the vehicle is parked at the detection station; the Bluetooth signal includes the station identification; and extract the station identification in the Bluetooth signal.
[0158] In some embodiments, when the detection strategy prompt information includes the station identification of the detection station where the vehicle is located, the detection strategy prompt information acquisition module is used to receive a Bluetooth signal sent by a Bluetooth device corresponding to the detection station when the vehicle is parked at the detection station; the Bluetooth signal includes the station identification; and extract the station identification in the Bluetooth signal.
[0159] In some embodiments, the entrance to the detection program is hidden by default, and the device further comprises:
[0160] The detection program entry display module is used to display the detection program entry in response to receiving the display instruction;
[0161] The detection program starting module is used to start the detection program in response to a trigger operation on the entry of the detection program.
[0162] Please refer to Fig.11 , Fig.111 is a schematic diagram of the structure of a computer device provided by an exemplary embodiment of the present application. The computer device 1100 includes a central processing unit (CPU) 1101, a system memory 1104 including a random access memory (RAM) 1102 and a read-only memory (ROM) 1103, and a system bus 1105 connecting the system memory 1104 and the central processing unit 1101. The computer device 1100 also includes a basic input / output system (I / O system) 1106 that helps transmit information between various devices in the computer, and a large-capacity storage device 1107 for storing an operating system 1113, application programs 1114 and other program modules 1115.
[0163] The basic input / output system 1106 includes a display 1108 for displaying information and an input device 1109 such as a mouse and a keyboard for user inputting information. The display 1108 and the input device 1109 are connected to the central processing unit 1101 through an input / output controller 1110 connected to the system bus 1105. The basic input / output system 1106 may also include an input / output controller 1110 for receiving and processing inputs from a plurality of other devices such as a keyboard, a mouse, or an electronic stylus. Similarly, the input / output controller 1110 also provides output to a display screen, a printer, or other types of output devices.
[0164] The mass storage device 1107 is connected to the central processing unit 1101 through a mass storage controller (not shown) connected to the system bus 1105. The mass storage device 1107 and its associated computer readable media provide non-volatile storage for the computer device 1100. That is, the mass storage device 1107 may include a computer readable medium (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.
[0165] Without loss of generality, computer readable media may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer readable instructions, data structures, program modules or other data. Computer storage media include RAM (Random Access Memory), ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technologies, CD-ROM, DVD (Digital Video Disc) or other optical storage, cassettes, magnetic tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media are not limited to the above. The above-mentioned system memory 1104 and mass storage device 1107 can be collectively referred to as memory.
[0166] The computer device 1100 can be connected to the Internet or other network devices through a network interface unit 1111 connected to the system bus 1105 .
[0167] The memory also includes one or more programs, one or more programs are stored in the memory, and the central processing unit 1101 implements the one or more programs by executing the one or more programs. Figures 2 to 4 All or part of the steps in the method shown.
[0168] In an exemplary embodiment, a chip is also provided. The chip includes a programmable logic circuit and / or program instructions. When the chip runs on a computer device, it is used to implement all or part of the steps of the method shown in the above embodiments of the present application.
[0169] In an exemplary embodiment, a computer program product is also provided, the computer program product includes computer instructions, the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor reads and executes the computer instructions from the computer-readable storage medium to implement all or part of the steps of the method shown in the above-mentioned various embodiments of the present application.
[0170] In an exemplary embodiment, a computer-readable storage medium is also provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement all or part of the steps of the method shown in the above-mentioned embodiments of the present application.
[0171] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program. The above program may be stored in a computer-readable storage medium. The above storage medium may be a read-only memory, a disk or an optical disk, etc.
[0172] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.
[0173] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A vehicle detection method, characterized in that: The method is performed by a vehicle and includes: In response to a trigger operation on a detection program, a detection strategy request is sent to a server; the detection program is a detection program for detecting the vehicle controller and a communication link corresponding to the vehicle controller; the detection strategy request is used to request a detection strategy corresponding to the vehicle; the detection strategy includes at least one detection item; Receiving the detection strategy sent by the server according to the detection strategy request; displaying the detection strategy; In response to a selection operation of at least one detection item in the detection strategy, executing a detection operation corresponding to the selected at least one detection item; The detection result corresponding to the detection operation is displayed.
2. The method according to claim 1, characterized in that The detection strategy request includes detection strategy prompt information. Before sending the detection strategy request to the server, the method further includes: Acquire detection strategy prompt information; the detection strategy prompt information includes at least one of the identity information of the detection personnel and the station identification of the detection station where the vehicle is located; The sending of the detection strategy request to the server includes: The detection policy request including the detection policy prompt information is sent to the server, so that the server determines and sends the detection policy according to the detection policy prompt information.
3. The method according to claim 2, characterized in that In the case where the detection strategy prompt information includes identity information of the detection personnel, the step of obtaining the detection strategy prompt information includes: In response to receiving a designated operation, the identity information corresponding to the designated operation is acquired; the designated operation includes at least one of card swiping, fingerprint recognition, and facial recognition.
4. The method according to claim 2, characterized in that: In the case where the detection strategy prompt information includes a station identifier of the detection station where the vehicle is located, the acquiring of the detection strategy prompt information includes: When the vehicle is parked at the detection station, receiving a Bluetooth signal sent by a Bluetooth device corresponding to the detection station; the Bluetooth signal includes the station identifier; The workstation identifier is extracted from the Bluetooth signal.
5. The method according to claim 1, characterized in that The entrance of the detection program is hidden by default. Before sending the detection strategy request to the server, the method further includes: In response to receiving the display instruction, displaying the entry of the detection program; In response to a triggering operation on an entry of the detection program, the detection program is started.
6. A vehicle detection method, characterized in that: The method is executed by a server and includes: Receiving a detection strategy request sent by a vehicle; the detection strategy request is used by the vehicle to request to obtain a detection strategy corresponding to the vehicle; the detection strategy includes at least one detection item; Obtaining a detection strategy corresponding to the vehicle according to the detection strategy request; The detection strategy is sent to the vehicle so that the vehicle displays the detection strategy, and in response to a selection operation of at least one detection item in the detection strategy, a detection operation corresponding to the selected at least one detection item is performed, and a detection result corresponding to the detection operation is displayed.
7. A vehicle detection method and device, characterized in that: The device comprises: A detection strategy request sending module, used to send a detection strategy request to a server in response to a triggering operation on a detection program; the detection program is a detection program used to detect the vehicle controller and a communication link corresponding to the vehicle controller; the detection strategy request is used to request a detection strategy corresponding to the vehicle; the detection strategy includes at least one detection item; A detection strategy receiving module, used to receive the detection strategy sent by the server according to the detection strategy request; A detection strategy display module, used to display the detection strategy; a detection operation execution module, configured to execute, in response to a selection operation on at least one detection item in the detection strategy, a detection operation corresponding to the selected at least one detection item; The detection result display module is used to display the detection result corresponding to the detection operation.
8. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores instructions, and the instructions are executed by the processor to implement the vehicle detection method according to any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that: The storage medium stores instructions, and the instructions are executed by a processor of a computer device to implement the vehicle detection method according to any one of claims 1 to 5.
10. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium; the computer instructions are read and executed by a processor of a computer device to implement the vehicle detection method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Vehicle function test method, device and equipment and computer readable storage medium
CN114594751A
Vehicle electric detection method and device, vehicle and storage medium
CN115439950A
Vehicle remote detection method and device, readable storage medium and vehicle
CN117253300A
Vehicle quality inspection method and device, electronic equipment and storage medium
CN117491030A
Information determination method and device, equipment, medium and vehicle
CN118585543A
Cited By
Vehicle function automatic detection method and device and storage medium
CN121090121A