Vehicle detection control method, device, equipment and storage medium
Patent Information
- Application Number
- CN202310810506.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-03
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2043-07-03
AI Technical Summary
[0004]本申请实施例涉及一种车辆检测的控制方法、装置、设备及存储介质,用以解决现有技术中对车辆检测进行控制的效率较低的缺陷
[0093]本申请实施例提供一种车辆检测的控制方法、装置、设备及存储介质,该方法中,通过获取待检测车辆的车辆信息,车辆信息中包括待检测车辆的目标车辆类型,根据目标车辆类型,确定目标服务器,向目标服务器请求获取待检测车辆对应的检测配置信息,根据检测配置信息,控制检测设备对待检测车辆进行检测处理。在上述过程中,无需工作人员在检测设备中配置检测流程,提高了对车辆检测进行控制的效率。
Smart Images

Figure CN116679685B_ABST
Abstract
Description
Technical Field
[0001] This application pertains to the field of vehicle manufacturing, specifically relating to control methods, devices, equipment, and storage media for vehicle inspection. Background Technology
[0002] In the field of vehicle manufacturing, in order to ensure the quality of vehicles, testing equipment can be used to test vehicles before they leave the factory.
[0003] A single vehicle manufacturer can produce vehicles under multiple brands, each with its own testing procedures. In existing technologies, when a vehicle of a particular brand needs testing, staff configure the testing equipment with the corresponding brand's testing procedure, allowing the equipment to perform the testing according to that procedure. However, when a vehicle manufacturer frequently changes the brands of its vehicles, staff need to frequently configure the testing equipment, leading to lower efficiency in controlling vehicle testing. Summary of the Invention
[0004] This application relates to a vehicle detection control method, apparatus, device, and storage medium, which addresses the shortcomings of low efficiency in vehicle detection control in the prior art.
[0005] In a first aspect, embodiments of this application provide a vehicle detection control method, applied to a control device, the method comprising:
[0006] Obtain vehicle information of the vehicle to be detected, wherein the vehicle information includes the target vehicle type of the vehicle to be detected;
[0007] The target server is determined based on the target vehicle type;
[0008] Request the target server to obtain the detection configuration information corresponding to the vehicle to be detected;
[0009] Based on the detection configuration information, the detection equipment is controlled to perform detection processing on the vehicle to be detected.
[0010] In one possible implementation, requesting the target server to obtain the detection configuration information corresponding to the vehicle to be detected includes:
[0011] The target server is requested to authenticate the control device.
[0012] After the target server authenticates the control device, the system receives the detection configuration information sent by the target server.
[0013] In one possible implementation, requesting the target server to perform authentication processing for the control device includes:
[0014] Determine the authentication code and private key corresponding to the control device;
[0015] The authentication code is encrypted using the private key to obtain an encrypted authentication code.
[0016] An authentication request is sent to the target server, the authentication request including the encrypted authentication code and the vehicle information.
[0017] In one possible implementation, based on the detection configuration information, controlling the detection equipment to perform detection processing on the vehicle to be detected includes:
[0018] The detection configuration information is decrypted to obtain the decrypted detection configuration information;
[0019] The decrypted detection configuration information is parsed to obtain the detection strategy corresponding to each detection device. The detection strategy includes multiple detection steps, the execution order of the multiple detection steps, and the execution script corresponding to each detection step.
[0020] According to the execution order and the detection steps, the corresponding execution scripts are sent to the corresponding detection devices in sequence, so that the detection devices can perform detection processing on the vehicles to be detected according to the corresponding execution scripts.
[0021] In one possible implementation, for any one detection device, an execution script is sequentially sent to the detection device, including:
[0022] Send an initialization command to the detection device, the initialization command being used to instruct the detection device to initialize;
[0023] Send a detection command to the detection device;
[0024] Receive the response instruction corresponding to the detection instruction sent by the detection device;
[0025] The device status of the detection device is determined according to the detection command and the response command, wherein the device status is normal or abnormal.
[0026] When the device status is determined to be in the normal state, the execution script is sent to the detection device in sequence.
[0027] In one possible implementation, the method further includes:
[0028] Receive the detection results of the vehicle to be detected sent by the detection equipment;
[0029] The detection results are sent to the target server.
[0030] Secondly, embodiments of this application provide a vehicle detection control method applied to a server, the method comprising:
[0031] Receive an authentication request sent by the control device, the authentication request including an encrypted authentication code and vehicle information of the vehicle to be detected;
[0032] The control device is authenticated based on the encrypted authentication code;
[0033] After the control device is authenticated, the detection configuration information is determined based on the vehicle information;
[0034] The detection configuration information is sent to the control device, and the detection configuration information is used by the control device to control the detection device to perform detection processing on the vehicle to be detected.
[0035] In one possible implementation, authenticating the control device based on the encrypted authentication code includes:
[0036] The assembly identifier is determined from the vehicle information;
[0037] Determine the public key and first authentication code corresponding to the assembly identifier;
[0038] The encrypted authentication code is decrypted using the public key to obtain the second authentication code;
[0039] If the first authentication code and the second authentication code are the same, then the authentication of the control device is confirmed to be successful.
[0040] If the first authentication code and the second authentication code are different, it is determined that the authentication of the control device has failed.
[0041] In one possible implementation, determining detection configuration information based on the vehicle information includes:
[0042] Determine the vehicle feature code from the vehicle information;
[0043] Based on the vehicle feature code, the detection configuration information is obtained from a preset database.
[0044] Thirdly, embodiments of this application provide a vehicle detection control device, applied to a control equipment, the device comprising:
[0045] The first acquisition module is used to acquire vehicle information of the vehicle to be detected, wherein the vehicle information includes the target vehicle type of the vehicle to be detected;
[0046] The determination module is used to determine the target server based on the target vehicle type;
[0047] The second acquisition module is used to request the target server to obtain the detection configuration information corresponding to the vehicle to be detected;
[0048] The control module is used to control the detection equipment to perform detection processing on the vehicle to be detected according to the detection configuration information.
[0049] In one possible implementation, the second acquisition module is specifically used for:
[0050] The target server is requested to authenticate the control device.
[0051] After the target server authenticates the control device, the system receives the detection configuration information sent by the target server.
[0052] In one possible implementation, the second acquisition module is specifically used for:
[0053] Determine the authentication code and private key corresponding to the control device;
[0054] The authentication code is encrypted using the private key to obtain an encrypted authentication code.
[0055] An authentication request is sent to the target server, the authentication request including the encrypted authentication code and the vehicle information.
[0056] In one possible implementation, the control module is specifically used for:
[0057] The detection configuration information is decrypted to obtain the decrypted detection configuration information;
[0058] The decrypted detection configuration information is parsed to obtain the detection strategy corresponding to each detection device. The detection strategy includes multiple detection steps, the execution order of the multiple detection steps, and the execution script corresponding to each detection step.
[0059] According to the execution order and the detection steps, the corresponding execution scripts are sent to the corresponding detection devices in sequence, so that the detection devices can perform detection processing on the vehicles to be detected according to the corresponding execution scripts.
[0060] In one possible implementation, for any given detection device, the control module is specifically used for:
[0061] Send an initialization command to the detection device, the initialization command being used to instruct the detection device to initialize;
[0062] Send a detection command to the detection device;
[0063] Receive the response instruction corresponding to the detection instruction sent by the detection device;
[0064] The device status of the detection device is determined according to the detection command and the response command, wherein the device status is normal or abnormal.
[0065] When the device status is determined to be in the normal state, the execution script is sent to the detection device in sequence.
[0066] In one possible implementation, the device further includes:
[0067] A receiving module is used to receive the detection results of the vehicle to be detected sent by the detection device;
[0068] The sending module is used to send the detection results to the target server.
[0069] Fourthly, embodiments of this application provide a vehicle detection control device applied to a server, the device comprising:
[0070] The receiving module is used to receive an authentication request sent by the control device, the authentication request including an encrypted authentication code and vehicle information of the vehicle to be detected;
[0071] The authentication module is used to authenticate the control device based on the encrypted authentication code;
[0072] The determination module is used to determine detection configuration information based on the vehicle information after the control device has been authenticated.
[0073] The sending module is used to send the detection configuration information to the control device, and the detection configuration information is used by the control device to control the detection device to perform detection processing on the vehicle to be detected.
[0074] In one possible implementation, the authentication module is specifically used for:
[0075] The assembly identifier is determined from the vehicle information;
[0076] Determine the public key and first authentication code corresponding to the assembly identifier;
[0077] The encrypted authentication code is decrypted using the public key to obtain the second authentication code;
[0078] If the first authentication code and the second authentication code are the same, then the authentication of the control device is confirmed to be successful.
[0079] If the first authentication code and the second authentication code are different, it is determined that the authentication of the control device has failed.
[0080] In one possible implementation, the determining module is specifically used for:
[0081] Determine the vehicle feature code from the vehicle information;
[0082] Based on the vehicle feature code, the detection configuration information is obtained from a preset database.
[0083] Fifthly, embodiments of this application provide a control device for vehicle detection, including: a memory and a processor;
[0084] The memory stores computer-executed instructions;
[0085] The processor executes computer execution instructions stored in the memory to implement the method as described in any of the first aspects.
[0086] Sixthly, embodiments of this application provide a control device for vehicle detection, including: a memory and a processor;
[0087] The memory stores computer-executed instructions;
[0088] The processor executes computer execution instructions stored in the memory to implement the method as described in any of the second aspects.
[0089] In a seventh aspect, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, are used to implement the method described in any one of the first aspects.
[0090] Eighthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, are used to implement the method described in any one of the second aspects.
[0091] Ninthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method described in any one of the first aspects.
[0092] In a tenth aspect, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method described in any one of the second aspects.
[0093] This application provides a vehicle detection control method, apparatus, device, and storage medium. The method involves acquiring vehicle information, including the target vehicle type, of the vehicle to be detected. Based on the target vehicle type, a target server is determined, and a request is sent to the target server to obtain the detection configuration information corresponding to the vehicle to be detected. Based on the detection configuration information, the detection equipment is controlled to perform detection processing on the vehicle to be detected. In this process, no operator is required to configure the detection process in the detection equipment, thus improving the efficiency of vehicle detection control. Attached Figure Description
[0094] To more clearly illustrate the technical solutions in this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0095] Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of this application;
[0096] Figure 2 A schematic flowchart illustrating a vehicle detection control method provided in an embodiment of this application;
[0097] Figure 3 This is a schematic diagram of the VIN code structure provided in an embodiment of this application;
[0098] Figure 4 A schematic flowchart illustrating another vehicle detection control method provided in an embodiment of this application;
[0099] Figure 5 A schematic diagram of a control method for vehicle detection provided as an exemplary embodiment of this application;
[0100] Figure 6 A schematic flowchart illustrating another vehicle detection control method provided in this application embodiment;
[0101] Figure 7 This is a schematic diagram of the structure of a vehicle detection control device provided in an embodiment of this application;
[0102] Figure 8 This is a schematic diagram of the structure of another vehicle detection control device provided in an embodiment of this application;
[0103] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0104] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0105] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0106] It should be noted that although the terms "first," "second," etc., are used to describe various types of information in the embodiments of this application, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. Optionally, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information.
[0107] It should be understood that the terms "comprising" or "including" indicate the presence of the previously mentioned features, steps, or operations, but do not preclude the presence, occurrence, or addition of one or more other features, steps, or operations. The terms "and / or," etc., used in this application can be interpreted as inclusive, or mean any one or any combination thereof. Optionally, "A and / or B" means "any one of the following: A; B; A and B." Additionally, the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0108] In related technologies, when a vehicle of a certain brand needs to be inspected, staff configure the inspection equipment with the corresponding inspection procedure for that brand, so that the equipment can inspect the vehicle according to that procedure. However, when vehicle manufacturers frequently change the brand of the vehicles they produce, staff need to frequently configure the inspection procedure in the inspection equipment, resulting in low efficiency in controlling vehicle inspections.
[0109] To solve the above technical problems, Figure 1 This is a schematic diagram illustrating an application scenario provided by an embodiment of this application. Please refer to [link / reference]. Figure 1 It includes detection equipment, control equipment, and a server. The control equipment can communicate with the detection equipment, and it can also communicate with the server.
[0110] The server side can include multiple servers from different brands. These servers can be configured in the cloud (cloud servers) or locally (local servers), with no specific limitation. Each brand's server stores its own testing configuration information. This configuration information can include controller software, ECU (Electronic Control Unit) flashing scripts, and Broadcast files, enabling data downloading, testing, and fault diagnosis of the electronic control system in that brand of vehicle, as well as testing the operational status of various vehicle modules.
[0111] The control device may include an identification module, a communication module, and a control module. The control device can identify the vehicle to be inspected through the identification module, establish a communication connection with the server corresponding to the vehicle through the communication module to obtain the inspection configuration information sent by the server, and then control the inspection device to perform inspection processing on the vehicle according to the inspection configuration information through the control module.
[0112] The testing equipment may include a hub inspection device, a fluid filling inspection device, and a four-wheel alignment inspection device. The hub inspection device can be used to adjust the hubs and check the functionality of the vehicle's powertrain, transmission, and other power systems. The fluid filling inspection device can be used to fill multiple fluids and check whether they meet the filling standards; the fluids can be brake fluid, brake hydrant, etc. The four-wheel alignment inspection device can be used to adjust the front and rear wheels and check whether the four-wheel alignment is normal. Under the control of the control equipment, the testing equipment can perform inspection and processing on the vehicle.
[0113] This application provides a vehicle detection control method. Different types of vehicles correspond to different servers, and the servers store the detection configuration information for that type of vehicle. In practical applications, when a vehicle needs to be detected, the detection configuration information can be obtained from the server corresponding to the vehicle, and the detection equipment can be controlled to process the vehicle based on this configuration information. In this process, there is no need for personnel to configure the detection process in the detection equipment, thus improving the efficiency of vehicle detection control.
[0114] The technical solutions shown in this application will now be described in detail through specific embodiments. It should be noted that the following embodiments may exist independently or in combination with each other; for the same or similar content, the description will not be repeated in different embodiments.
[0115] Figure 2This is a flowchart illustrating a vehicle detection control method provided in an embodiment of this application. The executing entity in this embodiment can be a control device or a vehicle detection control device installed in an electronic device. The vehicle detection control device can be implemented through software or a combination of software and hardware. See also... Figure 2 The method includes:
[0116] S201. Obtain vehicle information of the vehicle to be inspected.
[0117] Vehicle information can include the target vehicle type of the vehicle to be detected. The target vehicle type can be either the vehicle brand type or the vehicle manufacturer type.
[0118] The vehicle to be inspected is equipped with a VIN (Vehicle Identification Number), which can be used to retrieve vehicle information. The VIN can be processed and identified to obtain vehicle information.
[0119] For example, the vehicle to be inspected is located at the inspection station, which is equipped with a camera. When the vehicle needs to be inspected, the camera can capture the VIN code on the vehicle and send the VIN code to the control equipment. The control equipment then processes the VIN code to obtain vehicle information.
[0120] Below, in conjunction with Figure 3 The VIN code will be explained.
[0121] Figure 3 This is a schematic diagram of the VIN code structure provided in an embodiment of this application. Please refer to [link / reference]. Figure 3 .
[0122] The VIN code includes the World Manufacturer Identifier (WMI), Vehicle Description Section (VDS), and Vehicle Indication Section (VIS). Counting from left to right, the first digit indicates the geographical region; the second digit indicates the country of origin; the third digit indicates the manufacturer; the fourth to eighth digits represent the vehicle characteristic code, including engine type, displacement, and manufacturer model code; the ninth digit is the check digit; the tenth digit indicates the year; the eleventh digit indicates the assembly plant; and the twelfth to seventeenth digits represent the production sequence number.
[0123] S202. Determine the target server based on the target vehicle type.
[0124] Multiple servers are set up in the cloud, and the target server can be determined from among these servers based on the target vehicle type. These multiple servers correspond to different target vehicle types.
[0125] Optionally, there is a correspondence between vehicle types and servers, with one vehicle type corresponding to one server. For example, this correspondence can be shown in Table 1:
[0126] Table 1
[0127] Vehicle Type 1 Server 1 Vehicle Type 2 Server 2 Vehicle type 3 Server 3 …… ……
[0128] Please refer to Table 1. Assuming the target vehicle type is vehicle type 2, then the target server can be determined to be server 2.
[0129] S203. Request the target server to obtain the detection configuration information corresponding to the vehicle to be detected.
[0130] The target server stores the detection configuration information corresponding to the vehicle to be detected. The control device can send a request message to the target server, and the target server sends the detection configuration information to the control device based on the request message.
[0131] Optionally, to ensure the security of communication between the control device and the target server, the target server can first authenticate the control device. After the server successfully authenticates the control device, it can then send the detection configuration information to the control device.
[0132] S204. Based on the detection configuration information, control the detection equipment to perform detection and processing on the vehicle to be detected.
[0133] Based on the detection configuration information, the detection strategy corresponding to each detection device can be determined, and the detection device can be controlled to perform detection and processing on the vehicle to be detected according to the detection strategy.
[0134] The detection strategy may include multiple detection steps, the execution order of the multiple detection steps, and the execution script corresponding to each detection step.
[0135] After the detection equipment completes the detection of the vehicle, it can also receive the detection results of the vehicle to be detected sent by the detection equipment; and send the detection results to the target server.
[0136] The test results may include test equipment information and result information. The result information may include normal test, abnormal test, and the test code corresponding to the abnormal test. The test code is used to indicate the specific reason for the abnormal test.
[0137] The vehicle detection control method provided in this embodiment is applied to control equipment. It acquires vehicle information of the vehicle to be detected, including the target vehicle type. Based on the target vehicle type, a target server is determined, and the detection configuration information corresponding to the vehicle to be detected is requested from the target server. Based on the detection configuration information, the detection equipment is controlled to perform detection processing on the vehicle to be detected. In this process, no operator is required to configure the detection process in the detection equipment, thus improving the efficiency of vehicle detection control.
[0138] Figure 4 This is a flowchart illustrating another vehicle detection control method provided in an embodiment of this application. Based on the above embodiments, see also... Figure 4 The method is described in detail below. The method includes:
[0139] S401. The control equipment acquires vehicle information of the vehicle to be tested.
[0140] The execution process of S401 can be found in the execution process of S201, and will not be repeated here.
[0141] S402. The control equipment determines the target server based on the target vehicle type.
[0142] The execution process of S402 can be found in the execution process of S202, and will not be repeated here.
[0143] S403. The control device determines the authentication code and private key corresponding to the control device.
[0144] The authentication code can be the same character sequence pre-stored on the respective servers of both the assembly plant where the control device is located and the target server.
[0145] The assembly plant where the control equipment is located and the servers corresponding to each brand can be securely managed through asymmetric encryption algorithms. The assembly plant can store the private key in the key, and the servers corresponding to each brand can store the public key in the key.
[0146] The control device can determine its corresponding authentication code and private key based on the assembly plant where it is located.
[0147] S404. The control device encrypts the authentication code using a private key to obtain an encrypted authentication code.
[0148] The control device can use an asymmetric encryption algorithm to encrypt the authentication code with a private key to obtain an encrypted authentication code. This encrypted authentication code can only be decrypted by the public key corresponding to the target server, thereby realizing identity authentication between the control device and the target server and improving the confidentiality of the detection configuration information.
[0149] S405. The control device sends an authentication request to the target server.
[0150] The authentication request includes an encrypted authentication code and vehicle information, which may include the VIN code.
[0151] S406. The target server performs authentication processing on the control device based on the encrypted authentication code.
[0152] The target server can determine the corresponding assembly plant information based on the vehicle information, determine the corresponding public key based on the assembly plant information, decrypt the encrypted authentication code based on the public key, and then authenticate the decrypted authentication code to determine whether the identity information of the control device is legitimate.
[0153] Optionally, the control device can be authenticated as follows: determine the assembly identifier in the vehicle information; determine the public key and first authentication code corresponding to the assembly identifier; decrypt the encrypted authentication code using the public key to obtain the second authentication code; if the first authentication code and the second authentication code are the same, the authentication of the control device is confirmed to be successful; if the first authentication code and the second authentication code are different, the authentication of the control device is confirmed to be unsuccessful.
[0154] The assembly identifier can be the third bit of the VIN code, and the first authentication code can be a character sequence pre-stored in the target server. This character sequence can also be stored in the server of the assembly plant where the control equipment is located.
[0155] S407. After the target server authenticates the control device, it determines the detection configuration information based on the vehicle information.
[0156] After the control device is authenticated, the target server can determine the vehicle's feature code from the vehicle information; based on the vehicle's feature code, it can retrieve the detection configuration information from the preset database.
[0157] The vehicle identification number (VIN) can be the 4th to 8th digits of the VIN code.
[0158] S408, The target server sends detection configuration information to the control device.
[0159] The detection configuration information is used to control the detection equipment to perform detection and processing on the vehicles to be detected.
[0160] The target server can encrypt the detection configuration information according to the public key determined in S406 and send the encrypted detection configuration information to the control device.
[0161] S409. The control device decrypts the detection configuration information to obtain the decrypted detection configuration information.
[0162] The control device can decrypt the encrypted detection configuration information based on the private key determined in S403 to obtain the decrypted detection configuration information.
[0163] The decrypted detection configuration information can exist in the form of a message, as shown in Table 2:
[0164] Table 2
[0165]
[0166] The message header can be 20 bytes, and the data portion can be 40 bytes. The header indicates the validity of the data packet; the status indicates the message status flags; the validity indicates the validity of the data packet; reserved bits indicate protocol byte alignment; identifier bits indicate uplink and downlink messages; the sequence number indicates the packet number; the serial number indicates the message serial number; and the timestamp indicates the Beijing time of message transmission. The data portion can include detection configuration information.
[0167] S410: The control device parses and processes the decrypted detection configuration information to obtain the detection strategy corresponding to each detection device.
[0168] The detection strategy includes multiple detection steps, the execution order of the multiple detection steps, and the execution script corresponding to each detection step.
[0169] The detection steps may include the executing entity, the executing object, the execution protocol, the interaction content, and the priority, etc., which are not limited here. The execution script can be the script code that controls the detection device, and the execution script can correspond one-to-one with the detection steps.
[0170] The detection strategy will be explained below with reference to Table 3.
[0171] Table 3
[0172]
[0173] Please refer to Table 3. Assume that the detection strategy corresponding to the refill detection device includes two detection steps, the execution order of the detection steps, and the execution script corresponding to each detection step, such as the execution script for the refill operation corresponding to detection step 1.
[0174] S411. The control equipment sends the corresponding execution scripts to the corresponding detection equipment in sequence according to the execution order and detection steps, so that the detection equipment can perform detection processing on the vehicle to be detected according to the corresponding execution scripts.
[0175] According to the execution order and detection steps in the detection strategy, the execution scripts corresponding to the detection steps can be retrieved sequentially, and the corresponding execution scripts can be sent to the corresponding detection devices through the corresponding execution protocol.
[0176] For example, in the detection step with the sequence number 1 for the refueling detection equipment, the control equipment retrieves the corresponding execution script and sends the execution script corresponding to the refueling operation to the refueling equipment via the User Datagram UDP protocol of the vehicle Ethernet, so that the refueling equipment can perform the refueling operation on the vehicle to be tested.
[0177] Below, we will take any one of the multiple testing devices as an example.
[0178] Optionally, before sending the execution script to the testing equipment in sequence, the testing equipment can be initialized. The initialization operation includes starting ECU communication and electrical testing.
[0179] In one possible implementation, the execution script can be sent to the testing device sequentially as follows: send an initialization command to the testing device; send a testing command to the testing device; receive a response command corresponding to the testing command sent by the testing device; determine the device status of the testing device based on the testing command and the response command, wherein the device status is normal or abnormal; and when the device status is determined to be normal, send the execution script to the testing device sequentially.
[0180] The initialization command can be used to instruct the testing equipment to initialize, the testing command can be an electrical testing command with high and low parameters, and the response command can be the response information given by the testing equipment when executing the electrical testing command. This allows confirmation of the testing equipment's normal status, avoiding situations where abnormal testing results are sent by the testing equipment itself due to abnormal status.
[0181] The implementation details of each step in this application embodiment can be found in the description of the corresponding steps or operations in the above method embodiments; repeated content will not be repeated.
[0182] The vehicle detection control method provided in this embodiment obtains vehicle information of the vehicle to be detected, determines the target server based on the target vehicle type, and identifies the authentication code and private key corresponding to the control device. The authentication code is encrypted using the private key to obtain an encrypted authentication code, which is then sent to the target server as an authentication request. The authentication request includes the encrypted authentication code and vehicle information. The target server authenticates the control device based on the encrypted authentication code. After successful authentication, the target server determines detection configuration information based on the vehicle information and sends this configuration information to the control device. The control device receives the detection configuration information from the target server, decrypts it, and parses it to obtain the detection strategy corresponding to each detection device. Based on the execution order and detection steps, the corresponding execution scripts are sent sequentially to the corresponding detection devices, enabling them to perform detection processing on the vehicle to be detected according to the scripts. In this process, no operator needs to configure the detection process in the detection device, thus improving the efficiency of vehicle detection control.
[0183] Below, based on any of the above embodiments, combined with Figure 5 The above control equipment will be further explained in detail through specific examples.
[0184] Figure 5 This is a schematic diagram illustrating a control method for vehicle detection provided as an exemplary embodiment of this application. Please refer to... Figure 5 The control device may include an identification module, a communication module, and a control module. The communication module can communicate with the target server, and the control module can communicate with multiple detection devices.
[0185] The identification module includes an identification unit and a management unit; the communication module includes an authentication unit and a transceiver unit; and the control module includes a monitoring unit, a parsing unit, a control unit, and a write-back unit.
[0186] In step ①, the identification unit can obtain the vehicle information of the vehicle to be detected, which may be the VIN code.
[0187] In step ②, the management unit can determine the target server based on the vehicle information.
[0188] In step ③, the authentication unit can determine the authentication code and private key corresponding to the target server, and encrypt the authentication code using the private key to obtain the encrypted authentication code.
[0189] In step ④, the transceiver unit can send an authentication request to the target server, wherein the authentication request includes an encrypted authentication code and vehicle information.
[0190] In step ⑤, the transceiver unit can receive the detection configuration information sent by the target server after the target server has authenticated the control device.
[0191] In step ⑥, the authentication unit can decrypt the detection configuration information.
[0192] In step ⑦, the monitoring unit can determine that the detection configuration information decryption is complete.
[0193] In step ⑧, the parsing unit can parse the decrypted detection configuration information to obtain the detection strategy corresponding to each detection device.
[0194] In step 9, the control unit can control the detection equipment according to the detection strategy.
[0195] In step 10, the write-back unit can receive the detection results of the vehicle to be detected.
[0196] In the steps In this process, the transceiver unit can send the detection results to the target server.
[0197] In this embodiment, vehicle information of the vehicle to be inspected is obtained. Based on the vehicle information, a target server is determined, and the authentication code and private key corresponding to the control device are identified. The authentication code is encrypted using the private key to obtain an encrypted authentication code. An authentication request, including the encrypted authentication code and vehicle information, is sent to the target server. After the target server authenticates the control device, the detection configuration information sent by the target server is received, decrypted, and parsed to obtain the detection strategy corresponding to each detection device. The detection devices are then controlled according to the detection strategy to perform detection processing on the vehicle to be inspected. The detection results of the vehicle to be inspected are received and sent to the target server. In this process, no operator needs to configure the detection process in the detection device, thus improving the efficiency of vehicle detection control.
[0198] Figure 6 This is a flowchart illustrating another vehicle detection control method provided in this application. Based on the above embodiments, the execution entity of this application embodiment can be a server. See also... Figure 6 The method includes:
[0199] S601, Receive authentication request sent by control device.
[0200] S602. Authenticate the control device based on the encryption authentication code.
[0201] S603. After the control equipment has been certified, the testing configuration information is determined based on the vehicle information.
[0202] S604. Send detection configuration information to the control equipment.
[0203] The execution process of S601-S604 can be found in the execution process of S405-S408, and will not be repeated here.
[0204] The implementation details of each step in this application embodiment can be found in the description of the corresponding steps or operations in the above method embodiments; repeated content will not be repeated.
[0205] The vehicle detection control method provided in this embodiment is applied in a server. It receives an authentication request from a control device, which includes an encrypted authentication code and vehicle information of the vehicle to be detected. The server authenticates the control device based on the encrypted authentication code. After successful authentication, the server determines detection configuration information based on the vehicle information and sends this configuration information to the control device. This configuration information is used by the control device to control the detection device to perform detection processing on the vehicle to be detected. In this process, after the server successfully authenticates the control device, it can send detection configuration information corresponding to the target vehicle type of the vehicle to be detected. This improves the efficiency of vehicle detection control while ensuring the security of the detection configuration information.
[0206] Figure 7 This is a schematic diagram of a vehicle detection control device provided in an embodiment of this application. Please refer to... Figure 7 The device 700 includes a first acquisition module 701, a determination module 702, a second acquisition module 703, and a control module 704, wherein...
[0207] The first acquisition module 701 is used to acquire vehicle information of the vehicle to be detected, wherein the vehicle information includes the target vehicle type of the vehicle to be detected.
[0208] The determination module 702 is used to determine the target server based on the target vehicle type;
[0209] The second acquisition module 703 is used to request the target server to obtain the detection configuration information corresponding to the vehicle to be detected;
[0210] The control module 704 is used to control the detection equipment to perform detection processing on the vehicle to be detected according to the detection configuration information.
[0211] In one possible implementation, the second acquisition module 703 is specifically used for:
[0212] The target server is requested to authenticate the control device.
[0213] After the target server authenticates the control device, the system receives the detection configuration information sent by the target server.
[0214] In one possible implementation, the second acquisition module 703 is specifically used for:
[0215] Determine the authentication code and private key corresponding to the control device;
[0216] The authentication code is encrypted using the private key to obtain an encrypted authentication code.
[0217] An authentication request is sent to the target server, the authentication request including the encrypted authentication code and the vehicle information.
[0218] In one possible implementation, the control module 704 is specifically used for:
[0219] The detection configuration information is decrypted to obtain the decrypted detection configuration information;
[0220] The decrypted detection configuration information is parsed to obtain the detection strategy corresponding to each detection device. The detection strategy includes multiple detection steps, the execution order of the multiple detection steps, and the execution script corresponding to each detection step.
[0221] According to the execution order and the detection steps, the corresponding execution scripts are sent to the corresponding detection devices in sequence, so that the detection devices can perform detection processing on the vehicles to be detected according to the corresponding execution scripts.
[0222] In one possible implementation, for any given detection device, the control module 704 is specifically used for:
[0223] Send an initialization command to the detection device, the initialization command being used to instruct the detection device to initialize;
[0224] Send a detection command to the detection device;
[0225] Receive the response instruction corresponding to the detection instruction sent by the detection device;
[0226] The device status of the detection device is determined according to the detection command and the response command, wherein the device status is normal or abnormal.
[0227] When the device status is determined to be in the normal state, the execution script is sent to the detection device in sequence.
[0228] In one possible implementation, the device further includes:
[0229] The receiving module 705 is used to receive the detection result of the vehicle to be detected sent by the detection device;
[0230] The sending module 706 is used to send the detection result to the target server.
[0231] Figure 8 This is a schematic diagram of another vehicle detection control device provided in an embodiment of this application. Please refer to... Figure 8 The device 800 includes a receiving module 801, an authentication module 802, a determining module 803, and a sending module 804, wherein...
[0232] The receiving module 801 is used to receive an authentication request sent by the control device, the authentication request including an encrypted authentication code and vehicle information of the vehicle to be detected;
[0233] Authentication module 802 is used to authenticate the control device according to the encrypted authentication code;
[0234] The determination module 803 is used to determine the detection configuration information based on the vehicle information after the control device has been authenticated.
[0235] The sending module 804 is used to send the detection configuration information to the control device, and the detection configuration information is used by the control device to control the detection device to perform detection processing on the vehicle to be detected.
[0236] In one possible implementation, the authentication module 802 is specifically used for:
[0237] The assembly identifier is determined from the vehicle information;
[0238] Determine the public key and first authentication code corresponding to the assembly identifier;
[0239] The encrypted authentication code is decrypted using the public key to obtain the second authentication code;
[0240] If the first authentication code and the second authentication code are the same, then the authentication of the control device is confirmed to be successful.
[0241] If the first authentication code and the second authentication code are different, it is determined that the authentication of the control device has failed.
[0242] In one possible implementation, the determining module 803 is specifically used for:
[0243] Determine the vehicle feature code from the vehicle information;
[0244] Based on the vehicle feature code, the detection configuration information is obtained from a preset database.
[0245] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Please refer to... Figure 9 The electronic device 900 may include: a memory 901, a processor 902, and a transceiver 903.
[0246] Memory 901 is used to store program instructions;
[0247] The processor 902 is used to execute the program instructions stored in the memory so that the electronic device 900 performs the above-described method.
[0248] Transceiver 903 may include a transmitter and / or a receiver. The transmitter may also be referred to as a transmitter, transmitter port, or transmitter interface, and the receiver may also be referred to as a receiver port, receiver interface, or similar descriptions. Exemplarily, memory 901, processor 902, and transceiver 903 are interconnected via bus 904.
[0249] This application also provides a computer program product that can be executed by a processor, and when the computer program product is executed, the above-described method can be implemented.
[0250] The vehicle detection control device, electronic device, computer-readable storage medium, and computer program product of the embodiments of this application can execute the technical solutions shown in the above-described vehicle detection control method embodiments. Their implementation principles and beneficial effects are similar and will not be repeated here.
[0251] All or part of the steps in the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, it performs the steps of the above-described method embodiments; and the aforementioned memory (storage medium) includes: read-only memory (ROM), random access memory (RAM), flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disc, and any combination thereof.
[0252] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0253] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0254] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0255] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the spirit and scope of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims of this application and their equivalents, this application also intends to include these modifications and variations.
Claims
1. A control method for vehicle detection, characterized in that, Applied to control equipment, the method includes: Obtain vehicle information of the vehicle to be detected, wherein the vehicle information includes the target vehicle type of the vehicle to be detected; Based on the target vehicle type, a target server is determined from multiple servers; wherein, different servers store detection configuration information for different target vehicle types; The target server is requested to authenticate the control device. After the target server authenticates the control device, the encrypted detection configuration information corresponding to the vehicle to be detected is sent by the target server. The encrypted detection configuration information is decrypted to obtain the decrypted detection configuration information; Based on the decrypted detection configuration information, control the detection equipment to perform detection processing on the vehicle to be detected; The request to the target server to perform authentication processing on the control device includes: Determine the authentication code and private key corresponding to the control device; the authentication code is the same character sequence pre-stored on the respective servers of both the assembly plant where the control device is located and the target server. The authentication code is encrypted using the private key to obtain an encrypted authentication code. An authentication request is sent to the target server. The authentication request includes the encrypted authentication code and the vehicle information. The target server is used to decrypt the encrypted authentication code according to the public key corresponding to the vehicle information and to authenticate the decrypted authentication code. For any given testing device, controlling the testing device to perform testing on the vehicle to be tested includes: Send an initialization command to the detection device, the initialization command being used to instruct the detection device to initialize; Send a detection command to the detection device; Receive the response instruction corresponding to the detection instruction sent by the detection device; The device status of the detection device is determined according to the detection command and the response command, wherein the device status is normal or abnormal. When the device is determined to be in the normal state, the detection device is controlled to perform detection processing on the vehicle to be detected.
2. The method according to claim 1, characterized in that, Based on the decrypted detection configuration information, the detection equipment is controlled to perform detection processing on the vehicle to be detected, including: The decrypted detection configuration information is parsed to obtain the detection strategy corresponding to each detection device. The detection strategy includes multiple detection steps, the execution order of the multiple detection steps, and the execution script corresponding to each detection step. According to the execution order and the detection steps, the corresponding execution scripts are sent to the corresponding detection devices in sequence, so that the detection devices can perform detection processing on the vehicles to be detected according to the corresponding execution scripts.
3. The method according to claim 1 or 2, characterized in that, The method further includes: Receive the detection results of the vehicle to be detected sent by the detection equipment; The detection results are sent to the target server.
4. A control method for vehicle detection, characterized in that, The method is applied to a server, wherein the server is one of multiple servers determined by the control device that corresponds to the target vehicle type of the vehicle to be detected, and the method includes: The system receives an authentication request sent by a control device. The authentication request includes an encrypted authentication code and vehicle information of the vehicle to be detected. The encrypted authentication code is obtained by the control device encrypting the authentication code using a private key. The authentication code is the same character sequence that is pre-stored on the respective servers of the assembly plant where the control device is located and the server. The encrypted authentication code is decrypted using the public key corresponding to the vehicle information, and the decrypted authentication code is then authenticated. After the control device is authenticated, the detection configuration information is determined based on the vehicle information; The control device sends encrypted detection configuration information, which is used by the control device to control the detection device to perform detection processing on the vehicle to be detected.
5. The method according to claim 4, characterized in that, The encrypted authentication code is decrypted using the public key corresponding to the vehicle information, and the decrypted authentication code is then authenticated, including: The assembly identifier is determined from the vehicle information; Determine the public key and first authentication code corresponding to the assembly identifier; The encrypted authentication code is decrypted using the public key to obtain the second authentication code; If the first authentication code and the second authentication code are the same, then the authentication of the control device is confirmed to be successful. If the first authentication code and the second authentication code are different, it is determined that the authentication of the control device has failed.
6. The method according to claim 4 or 5, characterized in that, The detection configuration information is determined based on the vehicle information, including: Determine the vehicle feature code from the vehicle information; Based on the vehicle feature code, the detection configuration information is obtained from a preset database.
7. A control device for vehicle detection, characterized in that, Applied to control equipment, the device includes: The first acquisition module is used to acquire vehicle information of the vehicle to be detected, wherein the vehicle information includes the target vehicle type of the vehicle to be detected; The determination module is used to determine the target server among multiple servers based on the target vehicle type; wherein, different servers store detection configuration information for different target vehicle types; The second acquisition module is used to request the target server to authenticate the control device; after the target server authenticates the control device, it receives encrypted detection configuration information corresponding to the vehicle to be detected sent by the target server; the control module is used to decrypt the encrypted detection configuration information to obtain decrypted detection configuration information; and control the detection device to perform detection processing on the vehicle to be detected according to the decrypted detection configuration information. The second acquisition module is specifically used to determine the authentication code and private key corresponding to the control device; the authentication code is the same character sequence pre-stored on the respective servers of the assembly plant where the control device is located and the target server; the authentication code is encrypted using the private key to obtain an encrypted authentication code; an authentication request is sent to the target server, the authentication request including the encrypted authentication code and the vehicle information, and the target server is used to decrypt the encrypted authentication code according to the public key corresponding to the vehicle information, and to authenticate the decrypted authentication code; For any given testing device, the control module is specifically configured to: send an initialization command to the testing device, the initialization command instructing the testing device to initialize; send a testing command to the testing device; receive a response command corresponding to the testing command sent by the testing device; determine the device status of the testing device based on the testing command and the response command, the device status being either normal or abnormal; and when the device status is determined to be normal, control the testing device to perform testing on the vehicle to be tested.
8. A control device for vehicle detection, characterized in that, The device is applied to a server, wherein the server is one of multiple servers determined by the control device that corresponds to the target vehicle type of the vehicle to be detected, and the device includes: The receiving module is used to receive an authentication request sent by the control device. The authentication request includes an encrypted authentication code and vehicle information of the vehicle to be detected. The encrypted authentication code is obtained by the control device through encryption of the authentication code using a private key. The authentication code is the same character sequence that is pre-stored on the respective servers of the assembly plant where the control device is located and the server. The authentication module is used to decrypt the encrypted authentication code based on the public key corresponding to the vehicle information, and to authenticate the decrypted authentication code; the determination module is used to determine the detection configuration information based on the vehicle information after the control device has been successfully authenticated. The sending module is used to send encrypted detection configuration information to the control device, and the detection configuration information is used by the control device to control the detection device to perform detection processing on the vehicle to be detected.
9. A control device for vehicle detection, characterized in that, include: Memory, processor, and transceiver; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as claimed in any one of claims 1-3 or any one of claims 4-6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions that, when executed by a processor, are used to implement the method as claimed in any one of claims 1-3 or any one of claims 4-6.
Citation Information
Patent Citations
Vehicle diagnosis method, device and system, equipment and computer readable storage medium
CN111026096A
Vehicle detection method and device
CN111177168A
Communication method and device, vehicle and storage medium
CN114124578A