Vehicle function parallel aging detection method and device and vehicle
Through the collaborative work of the on-board terminal and the cloud server, the automation of vehicle function aging detection is realized, which solves the problem of low detection efficiency in existing technologies and improves the accuracy and efficiency of detection.
Patent Information
- Application Number
- CN202510617184.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-13
- Publication Date
- 2025-09-16
AI Technical Summary
The existing technology lacks mature automated vehicle function detection tools, resulting in low efficiency in vehicle function aging detection and inability to effectively improve vehicle safety and reduce failure rates.
Through the collaborative work of the on-board terminal and the cloud server, the aging detection command is received and parsed, the aging detection related to the current scene of the vehicle is executed, and the results are fed back to the cloud server to realize the automation of aging detection.
It improves the automation level and efficiency of vehicle functional aging detection, reduces the inefficiency caused by manual participation, and ensures the accuracy and safety of the test results.
Smart Images

Figure CN120652945A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of vehicle detection technology, and in particular relates to a vehicle function parallel aging detection method, device and vehicle. Background Art
[0002] With the development of electric and connected vehicles, how to improve vehicle safety and reduce vehicle functional failure rates has become an important research direction in automobile R&D and manufacturing. Aging detection, as a quality control method, can effectively detect vehicle functions by continuously aging the vehicle functions for a preset number of aging times. In related technologies, there are no mature and available tools or systems for automated detection of vehicle functions. Production lines still invest a lot of manpower to detect production line vehicles; or, aging detection is performed through external equipment based on the Unified Diagnostic Services (UDS) protocol. However, the UDS diagnostic message is a single-function request question-and-answer mode, which has low execution efficiency. Summary of the Invention
[0003] This application aims to solve at least one of the technical problems existing in the prior art. To this end, this application proposes a method, device, and vehicle for parallel vehicle function aging detection, which can automate the aging detection process and improve the automation level and detection efficiency of vehicle function aging detection.
[0004] In a first aspect, the present application provides a vehicle function parallel aging detection method, which is applied to a vehicle terminal and includes:
[0005] receiving an aging detection command sent by a cloud server, wherein the aging detection command is related to a current scene of the vehicle;
[0006] parsing the aging detection command to obtain aging detection command information;
[0007] Based on the aging detection command information, performing an aging detection related to a current scene in which the vehicle is located, and determining an aging detection result;
[0008] Sending the aging detection result to the cloud server.
[0009] In the above technical solution, the on-board terminal receives the aging detection command sent by the cloud server, parses the aging detection command to obtain aging detection command information, performs aging detection based on the aging detection command information, and sends the obtained aging detection result to the cloud server, thereby realizing aging detection of vehicle functions. The aging detection process can be automatically performed based on the command sent by the cloud server, improving the low efficiency of aging detection caused by manual participation and improving the degree of automation of vehicle function aging detection.
[0010] In a second aspect, the present application provides a vehicle function parallel aging detection method, which is applied to a cloud server. The method includes:
[0011] Determine the aging detection command information corresponding to the vehicle;
[0012] generating an aging detection command according to the aging detection command information, wherein the aging detection command is related to a current scene in which the vehicle is located;
[0013] sending the aging detection command to the vehicle;
[0014] Receive the aging detection result sent by the vehicle.
[0015] In the above technical solution, after determining the aging detection command information corresponding to the vehicle, an aging detection command is generated based on the aging detection command information and sent to the vehicle, and the aging detection result sent by the vehicle is received. The vehicle's aging detection process can be automatically performed based on the sent command, thereby improving the low efficiency of aging detection caused by manual participation and improving the degree of automation of vehicle function aging detection.
[0016] In a third aspect, the present application provides a vehicle function parallel aging detection device, comprising:
[0017] a first receiving unit, configured to receive an aging detection command sent by a cloud server, wherein the aging detection command is related to a current scene in which the vehicle is located;
[0018] a parsing unit, configured to parse the aging detection command to obtain aging detection command information;
[0019] an execution unit, configured to execute an aging test related to a current scene in which the vehicle is located based on the aging test command information, and determine an aging test result;
[0020] The first sending unit is configured to send the aging detection result to the cloud server.
[0021] In a fourth aspect, the present application provides a vehicle function parallel aging detection device, comprising:
[0022] a first determining unit, configured to determine aging detection command information corresponding to the vehicle;
[0023] a generating unit, configured to generate an aging detection command according to the aging detection command information, wherein the aging detection command is related to a current scene in which the vehicle is located;
[0024] a second sending unit, configured to send the aging detection command to the vehicle;
[0025] The second receiving unit is configured to receive the aging detection result sent by the vehicle.
[0026] In a fifth aspect, the present application provides a vehicle, comprising: an on-board terminal, wherein the on-board terminal executes the vehicle function parallel aging detection method as described in the first aspect above.
[0027] In a sixth aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for detecting parallel aging of vehicle functions as described in the first aspect above is implemented, or the method for detecting parallel aging of vehicle functions as described in the second aspect above is implemented.
[0028] In the seventh aspect, the present application provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it implements the vehicle function parallel aging detection method as described in the first aspect above, or implements the vehicle function parallel aging detection method as described in the second aspect above.
[0029] In an eighth aspect, the present application provides a chip comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the vehicle function parallel aging detection method as described in the first aspect above, or to implement the vehicle function parallel aging detection method as described in the second aspect above.
[0030] In a ninth aspect, the present application provides a computer program product, comprising a computer program, which, when executed by a processor, implements the vehicle function parallel aging detection method as described in the first aspect above, or implements the vehicle function parallel aging detection method as described in the second aspect above.
[0031] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0033] Figure 1 This is one of the flow charts of the vehicle function parallel aging detection method provided in some embodiments of the present application;
[0034] Figure 2 This is a schematic diagram of the connection between the vehicle terminal and the cloud server provided in some embodiments of the present application;
[0035] Figure 3 is a schematic diagram of executing an aging use case script provided by some embodiments of the present application;
[0036] Figure 4 This is a schematic diagram of confirming the actual execution results of a burn-in use case through auxiliary equipment provided in some embodiments of the present application;
[0037] Figure 5 This is the second flow chart of the vehicle function parallel aging detection method provided in some embodiments of the present application;
[0038] Figure 6 This is one of the structural diagrams of the vehicle function parallel aging detection device provided in some embodiments of the present application;
[0039] Figure 7 This is the second structural diagram of the vehicle function parallel aging detection device provided in some embodiments of the present application;
[0040] Figure 8 This is a schematic diagram of the structure of an electronic device provided in some embodiments of the present application. DETAILED DESCRIPTION
[0041] The following will be combined with the accompanying drawings in the embodiments of this application to clearly describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0042] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0043] The vehicle function parallel aging detection method, device and vehicle provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0044] The vehicle function parallel aging detection method provided in the embodiment of the present application can be executed by an on-board terminal in the vehicle or a functional module or functional entity in the on-board terminal that can implement the vehicle function parallel aging detection method. The vehicle function parallel aging detection method provided in the embodiment of the present application is described below using the vehicle terminal as an example of the execution entity.
[0045] Figure 1 This is one of the flow charts of the vehicle function parallel aging detection method provided in some embodiments of the present application. Figure 1 As shown, the vehicle function parallel aging detection method is applied to the vehicle-mounted terminal of the vehicle, including: step 110, step 120, step 130 and step 140.
[0046] Figure 2 This is a schematic diagram of the connection between the vehicle terminal and the cloud server provided in some embodiments of the present application. Figure 2 As shown, in some embodiments, the method further includes: in response to the vehicle being powered on, establishing a communication connection with a cloud server and logging into the cloud server; receiving an installation package of an aging detection application sent by the cloud server, and installing the aging detection application.
[0047] In the embodiment of the present application, the vehicle terminal refers to an electronic device installed inside the vehicle for realizing vehicle information processing, data transmission, monitoring and management functions, including a wireless communication module for establishing a communication connection with a cloud server. The wireless communication module can establish a communication connection with the cloud server in a variety of ways, including but not limited to Figure 2 The mobile wireless network and wireless network communication technology WIFI wireless network shown in the figure. The vehicle terminal is pre-installed with a vehicle system. The vehicle system is the operating system of the vehicle terminal provided by the automobile manufacturer, which supports the installation of various applications. The aging detection application is one of the applications installed in the vehicle system. The vehicle terminal can exchange data with the cloud server through the aging detection application in the vehicle system. For example, the aging detection application receives the aging detection command sent by the cloud server, or the aging detection application sends the result script corresponding to each aging use case script to the cloud server. The vehicle system is also connected to other control modules or domain controllers on the vehicle to realize the sending and receiving of security messages for aging detection of vehicle functions.
[0048] During the specific implementation process, the target vehicle under aging detection is in dynamic mode except for certain scenarios, and all other aging detections are carried out in static mode.
[0049] Target vehicles in different states can be powered on manually or remotely to the power OK state to test the functions of high-voltage electrical appliances.
[0050] After the vehicle is powered on, the wireless communication module will actively log in to the cloud server through the first communication protocol and maintain a heartbeat. During login, user authentication is required to ensure access. After the vehicle logs in to the cloud, the cloud system will identify the specific identity information of the logged-in vehicle.
[0051] During the aging process, in addition to ensuring that the power battery has sufficient power, the starting battery must also have sufficient power to ensure that the energy loss caused by long-term aging of the vehicle does not affect its reuse after aging.
[0052] In the vehicle function parallel aging detection method provided in the embodiment of the present application, parallel means that aging detection is performed simultaneously on multiple functions or modules of the same vehicle with the same priority, or the cloud server supports batch aging detection of multiple vehicles.
[0053] Step 110: Receive an aging detection command sent by a cloud server, where the aging detection command is related to the current scene of the vehicle.
[0054] The aging detection command depends on the vehicle's current scenario. For example, the vehicle's current scenario could be a finished goods warehouse, a production scenario, or an R&D scenario. In a finished goods warehouse scenario, there's usually more time available for aging detection. In a production scenario, the vehicle's functional modules may not have been fully installed, so aging detection cannot be performed on those modules.
[0055] For example, the vehicle terminal receives an aging detection command and processes the aging detection command to obtain an aging use case script to be executed by the vehicle (for example, parsing the aging detection command to obtain an aging use case script download address and downloading the aging use case script from the address). In different scenarios, the time, number of times, and type of aging use case scripts that the vehicle can execute may be different.
[0056] Step 120: Parse the aging detection command to obtain aging detection command information.
[0057] In some embodiments, the aging detection command information includes: a download address of at least one aging use case script corresponding to the vehicle and conforming to the current scenario, an execution order of each aging use case script, and an upload address of a result script corresponding to each aging use case script.
[0058] In some embodiments, parsing the aging detection command includes: decrypting and integrity checking the aging detection command, and parsing the aging detection command after the integrity check passes.
[0059] It is understandable that decryption and integrity verification are required before parsing the aging detection command, that is, the aging detection command is integrity-verified and encrypted by the cloud server before being sent to the vehicle terminal. This ensures that even if the aging detection command is intercepted during transmission, it cannot be parsed to obtain the aging detection command information, thereby improving the data security and execution security during the execution of vehicle function parallel aging detection.
[0060] The purpose of integrity check on the aging detection command is to confirm whether the aging detection command is complete. This also further confirms whether the complete aging detection command information can be obtained by parsing the aging detection command, avoiding inaccurate vehicle function parallel aging detection results or failures in the detection process caused by incomplete aging detection commands.
[0061] In the embodiment of the present application, the aging detection command is decrypted and integrity checked. After the integrity check passes, the aging detection command is parsed. The aging detection command needs to be decrypted, which improves the security of aging detection of vehicle functions. The integrity check of the aging detection command can effectively avoid related problems such as inaccurate aging detection results or malfunctions in the aging detection process that may result from incomplete aging detection commands.
[0062] Optionally, if there is error or abnormal information during the process of decrypting, integrity checking and / or parsing the aging detection command, second feedback information is generated and sent to the cloud server based on the first communication protocol.
[0063] During the decryption, integrity check, and / or parsing of the aging detection command, errors or exceptions may occur, such as decryption failure, integrity check failure, or parsing failure. When such errors or exceptions occur, the vehicle terminal generates second feedback information and sends it to the cloud server based on the first communication protocol. The second feedback information may include a detailed description of the error or exception.
[0064] Optionally, the first communication protocol is a Message Queuing Telemetry Transport (MQTT) protocol (also known as MQTTS) that is encrypted and transmitted via a Secure Sockets Layer (SSL) protocol / Transport Layer Security (TLS) protocol. The MQTTS protocol is lightweight and suitable for operation in resource-constrained environments (such as the vehicle-mounted terminal in the embodiment of the present application).
[0065] In an embodiment of the present application, if there is error or abnormal information during the process of decrypting, integrity checking and / or parsing the aging detection command, second feedback information is generated and sent to the cloud server based on the first communication protocol, so that the vehicle terminal can feedback the status of processing the aging detection command to the cloud server. The cloud server can promptly discover the error or abnormal information that occurs during the process of decrypting, integrity checking and / or parsing the aging detection command by the vehicle terminal based on the second feedback information, and promote resolution.
[0066] In some embodiments, the aging detection command information further includes at least one of the following: version information of the aging detection command, a service type corresponding to the aging detection command, a type of the aging detection command, a unique identifier of the aging detection command, and prompt information during the aging detection execution process.
[0067] In some embodiments, the method further comprises:
[0068] receiving a first message for obtaining version information of an aging detection command supported by the vehicle;
[0069] A first response message is sent to the cloud server, where the first response message is used to indicate version information of the aging detection command supported by the vehicle, so that the cloud server determines the aging detection command information corresponding to the vehicle according to the first response message.
[0070] Step 130: Based on the aging detection command information, perform an aging detection related to the current scene of the vehicle and determine an aging detection result.
[0071] In some embodiments, performing an aging test related to a current scene of the vehicle based on the aging test command information and determining an aging test result includes:
[0072] Downloading each of the aging use case scripts based on the download address of each of the aging use case scripts;
[0073] Execute each of the aging use case scripts according to the execution order of each of the aging use case scripts, and determine the result script corresponding to each of the aging use case scripts.
[0074] It is understandable that an aging use case script can correspond to a function or classification module of a vehicle, or it can correspond to multiple functions or multiple classification modules. Each aging use case script includes one or more aging use cases, and the amount of data is usually large. The aging detection command is parsed to obtain the download address of each aging use case script, and the aging use case script is downloaded based on the download address of each aging use case script, which avoids directly carrying the aging use case script in the aging detection command, reduces the data volume of the aging detection command, and improves the transmission efficiency of the aging detection command. Among them, the classification module is a module obtained by dividing the functions of the entire vehicle, such as the intelligent driving module, the driving control module, the safety module, etc. This application does not limit the specific method of dividing the functions of the vehicle.
[0075] In addition, the aging use case script is not directly carried in the aging detection command, which reduces the risk of the aging use case script being intercepted. By setting an authentication login mechanism before downloading the aging use case script from the download address of the aging use case script, the aging use case script is allowed to be downloaded from the download address only when the authentication is passed, which can improve the data security during the parallel aging detection process of vehicle functions.
[0076] In some embodiments, each aging use case script is downloaded via a second communication protocol based on the download address of each aging use case script. Optionally, the second communication protocol is Hypertext Transfer Protocol Secure (HTTPS).
[0077] Figure 3 Schematic diagram of executing aging use case scripts provided in some embodiments of the present application. Figure 3 As shown, after downloading each aging use case script, the vehicle terminal executes the script according to the execution order of each aging use case script. It performs corresponding operations based on the aging use cases in each aging use case script to simulate the long-term use of vehicle functions and implement aging detection of vehicle functions. When executing the aging use cases in each aging use case script, the vehicle terminal collects data in real time, including error codes, error messages, and execution results. After all aging use cases in a aging use case script are executed, the vehicle terminal organizes the collected data into a corresponding result script, so that each aging use case script corresponds to a result script.
[0078] In some embodiments, to clarify the correspondence between the result script and the aging use case script, the result script's name and header information are consistent with the corresponding aging use case script. The header information typically includes common information such as the sender, receiver, version number, and application version. This information can be used to quickly identify and associate the corresponding aging use case script with the result script.
[0079] The on-board terminal receives the aging detection command sent by the cloud server, and parses the aging detection command to obtain the download address, execution order and upload address of the result script corresponding to each aging use case script. After downloading each aging use case script, each aging use case script is executed according to the execution order of each aging use case script, and the corresponding result script obtained by executing each aging use case script is sent to the cloud server, thereby realizing aging detection of vehicle functions. Executing each aging use case script according to the execution order of each aging use case script can realize aging detection of different vehicle functions, that is, realizing parallel aging detection of vehicle functions.
[0080] Step 140: Send the aging detection result to the cloud server.
[0081] In some embodiments, sending the aging detection result to the cloud server includes:
[0082] Based on the upload address of the result script corresponding to each of the aging use case scripts, the result script is sent to the cloud server.
[0083] In some embodiments, the step of sending the result script to the cloud server based on the upload address of the result script corresponding to each aging use case script includes:
[0084] Based on the upload address of the result script corresponding to each of the aging use case scripts, the result script is sent to the cloud server based on the second communication protocol.
[0085] The aging test case script is downloaded based on the download address of each aging test case script, and the result script is sent to the cloud server based on the upload address of the result script. This realizes the transmission of aging test case scripts and result scripts through the unified upload and download interface provided by the cloud server. This unified interface design enables vehicle terminals of different vehicles to obtain aging test case scripts through the specified download address and send the result scripts back to the cloud server through the specified upload address, improving the versatility and portability of the vehicle function parallel aging detection method.
[0086] In the embodiment of the present application, based on the upload address of the result script corresponding to each aging use case script, the result script is sent to the cloud server through the second communication protocol, so that the vehicle terminal uploads the result script corresponding to each aging use case script to the cloud server.
[0087] In some embodiments, after sending the result script to the cloud server based on the second communication protocol, the method further includes:
[0088] Generating third feedback information, where the third feedback information is used to indicate whether the result script is reported successfully or unsuccessfully;
[0089] Based on the first communication protocol, the third feedback information is sent to the cloud server.
[0090] After the result script is sent to the cloud server using the second communication protocol, a third feedback message is sent to the cloud server using the first communication protocol. The third feedback message indicates whether the result script was successfully reported or not. Using two different communication protocols, a second verification of the success or failure of the result script is achieved, making the transmission process of the result script from the vehicle terminal to the cloud server verifiable.
[0091] For example, if the cloud server has not yet received the result script, but has received the third feedback information indicating that the result script has been successfully reported in advance, then the cloud server can identify that an abnormality occurred during the transmission of the result script. Through this secondary reporting confirmation mechanism, the cloud server can promptly discover the transmission abnormality, which helps to quickly investigate and promote the resolution of the abnormality.
[0092] In the embodiment of the present application, after the result script is sent to the cloud server based on the second communication protocol, a third feedback message is sent to the cloud server based on the first communication protocol. The third feedback message realizes a secondary report confirmation of whether the result script is reported successfully or not, so that the transmission process of the result script from the vehicle terminal to the cloud server is verifiable. In the event of an abnormality in the transmission of the result script, it is helpful to promptly discover the abnormality and promote its resolution.
[0093] In the embodiment of the present application, the vehicle-mounted terminal receives an aging detection command sent by a cloud server, parses the aging detection command to obtain aging detection command information, performs aging detection based on the aging detection command information, and sends the obtained aging detection result to the cloud server, thereby realizing aging detection of vehicle functions. The aging detection process can be automatically performed based on the command sent by the cloud server, improving the low efficiency of aging detection caused by manual participation and improving the degree of automation of aging detection of vehicle functions.
[0094] In some embodiments of the present application, before receiving the aging detection command sent by the cloud server, the method further includes:
[0095] receiving an aging detection strategy issued by the cloud server, wherein the aging detection strategy is used to instruct the vehicle to perform a vehicle condition check to determine whether the current vehicle condition of the vehicle meets the expected conditions required for aging detection in the current scenario;
[0096] Performing an aging detection strategy check on the vehicle condition according to the aging detection strategy to obtain an aging detection strategy check result;
[0097] Sending the aging detection strategy check result to the cloud server.
[0098] Receive the aging detection strategy sent by the cloud server. The aging detection strategy is used to instruct the vehicle to perform a condition check to determine whether the vehicle's current condition meets the expected conditions required for the aging detection in the current scenario. For example, the expected conditions required for the aging detection in the current scenario may include requiring the vehicle to be stationary, engaged in park, with the parking brake applied, and / or the battery charge to be above a specified value (the battery can be the vehicle's power battery or the vehicle's starting battery). These expected conditions are set to ensure that the vehicle is in a safe and stable state during the aging detection process, while also avoiding inaccurate aging detection results due to vehicle condition issues.
[0099] After completing the aforementioned aging detection strategy check, an aging detection strategy check result is generated and sent to the cloud server. Upon receiving the aging detection strategy check result, if the aging detection strategy check result is a pass, the vehicle's current condition meets all expected conditions, and the cloud server can subsequently send an aging detection command. If the aging detection strategy check result is a fail, the vehicle's current condition does not meet the expected conditions, and the cloud server can adjust the detection strategy or request that the vehicle's condition be adjusted accordingly before re-running the aging detection strategy check.
[0100] In the embodiment of the present application, before receiving the aging detection command sent by the cloud server, an aging detection strategy issued by the cloud server is received, and a vehicle condition check is performed on the vehicle according to the instructions of the aging detection strategy to determine whether the current vehicle condition meets the expected conditions required for aging detection in the current scenario, and the aging detection strategy check result is sent to the cloud server. By performing the aging detection strategy check on the vehicle condition, it helps to avoid safety accidents caused by vehicle condition problems during the aging detection process, and also helps to improve inaccurate aging detection results caused by abnormal vehicle conditions.
[0101] In some embodiments of the present application, executing each aging use case script according to the execution order of each aging use case script and determining a result script corresponding to each aging use case script includes:
[0102] Parsing each of the aging use case scripts according to the execution order of each of the aging use case scripts to obtain one or more aging use cases corresponding to each of the aging use case scripts;
[0103] Execute one or more aging use cases corresponding to each of the aging use case scripts to obtain aging detection results corresponding to each of the aging use case scripts;
[0104] Based on the aging detection results corresponding to the aging use cases, a result script corresponding to each aging use case script is determined.
[0105] It is understandable that vehicles have multiple functions, and different application scenarios require different functions or classification modules for aging detection. Optionally, for each function or classification module requiring aging detection, an aging use case script is typically designed to implement aging detection. This aging use case script includes one or more aging use cases for that function. If aging detection is required for multiple vehicle functions, multiple aging use case scripts must be designed. Since various vehicle functions may affect each other, performing aging detection on each function in a reasonable execution order can effectively improve the accuracy and effectiveness of aging detection.
[0106] In some embodiments, the type and number of aging use case scripts for each usage scenario may include one or more. The cloud server will also cut the aging use case scripts according to the size of the aging use case scripts to prevent overly large aging use case scripts from occupying too much vehicle terminal memory and processor performance during execution. When cutting the aging use case scripts, the classification label of the aging use case is usually used as the cutting rule to ensure that aging use cases of the same classification are in the same script. An aging use case script usually includes aging use cases of one or more classification modules, and there is also an execution order between the multiple aging use case scripts cut from an aging use case script.
[0107] Since there may be multiple types and splitting of single aging use case scripts, the aging detection application needs to manage the execution order and types of multiple scripts according to the corresponding fields of the command execution order issued by the cloud, so that they can be executed in the execution order specified by the cloud and different parsing and execution engines can be clarified.
[0108] In some embodiments, each of the aging use cases includes multiple steps, and each of the steps includes at least one security control message and at least one security feedback message as an expected detection result.
[0109] It should be noted that security messages are proprietary messages that use a custom data format determined by the vehicle model or configuration. In other words, different vehicles have different functions due to their models or configurations, resulting in different security messages. This application does not specifically limit the format or determination method of security messages; they can be determined based on actual needs.
[0110] During the aging detection process, the on-board terminal performs corresponding operations on the vehicle according to the security control messages in the aging use case steps to simulate the scenario of long-term use of the vehicle and realize aging detection of vehicle functions.
[0111] The safety feedback message is the expected result after the vehicle executes the safety control message. By comparing the actual execution result with the expected safety feedback message, it is possible to verify whether the safety control message was executed correctly, thereby determining the results of the vehicle function aging detection.
[0112] The vehicle terminal can compare the execution result of the security control message with the security feedback message to determine the execution result of the security control message locally on the vehicle terminal. In some embodiments, the vehicle terminal screen displays a process interface of the vehicle terminal executing the security control message and a result interface of the security control message execution.
[0113] The aging use case in the embodiment of the present application includes multiple steps, each step includes at least one security control message and at least one security feedback message as the expected result of the detection. The security message can be determined based on the vehicle model or the function that requires aging detection, and is suitable for different vehicles or different functions of vehicles, which helps to realize parallel aging detection of vehicle functions, thereby improving the efficiency of aging detection.
[0114] In some embodiments, executing one or more aging use cases corresponding to each aging use case script includes:
[0115] Execute one or more aging use cases corresponding to each aging use case script according to the execution order of each aging use case;
[0116] The execution order of the aging use cases is determined according to the priority of the aging use cases.
[0117] Parsing the aging use case script yields one or more corresponding aging use cases. These aging use cases can have dependencies, such as one aging use case being a precondition or postcondition for another. Each aging use case can include common conditional dependencies before execution, current conditional dependencies, the use case execution body, and post-execution vehicle condition recovery operations.
[0118] During the execution of aging use cases, the vehicle terminal determines the execution order based on pre-set priorities. Aging use cases of the same priority can be executed in parallel to improve aging detection efficiency. For aging use cases of different categories, the parallel aging strategy differentiates them based on priority. While ensuring that the dependencies between the front and back are met, aging use cases that take longer to execute are prioritized, while use cases that take shorter times are queued for execution. Furthermore, multiple aging use cases with the same duration and that do not interfere with each other can be executed simultaneously. This arrangement helps reduce the total duration of a single round of aging detection, thereby improving the overall efficiency of aging detection.
[0119] For aging use cases of different priorities, the execution rule is that the aging use case with a high priority is executed before the aging use case with a low priority is given the opportunity to be executed. This rule ensures that the messages of aging use cases of different priorities do not conflict with each other and follow the dependency relationship between aging use cases.
[0120] In the embodiment of the present application, one or more aging use cases corresponding to each aging use case script are executed in the execution order of each aging use case, and the execution order of each aging use case is determined according to the priority of each aging use case, so that each aging use case in the aging use case script can be executed in order, following the rule that the low-priority use case is executed after the high-priority use case is completed, thereby preventing conflicts in security messages of different aging use cases and following the dependency relationship between aging use cases.
[0121] In an embodiment of the present application, each aging use case script is parsed according to the execution order of each aging use case script to obtain one or more aging use cases corresponding to each aging use case script, and one or more aging use cases corresponding to each aging use case script is executed to obtain an aging detection result corresponding to each aging use case. Based on the aging detection result corresponding to each aging use case, the result script corresponding to each aging use case script is determined. This realizes the execution of each aging use case script according to the execution order of each aging use case script and the determination of the result script corresponding to each aging use case script, avoids possible mutual influence between each aging use case script, and effectively improves the accuracy of the result script. The result script can subsequently be sent to a cloud server, and the cloud server determines the aging detection result based on the result script, which also improves the accuracy of the aging detection result.
[0122] In some embodiments of the present application, before executing each of the aging use case scripts according to the execution order of each of the aging use case scripts, the method further includes:
[0123] Decrypting and integrity checking each of the aging use case scripts;
[0124] After the integrity check of each aging use case script passes, each aging use case script is stored.
[0125] It is understandable that before executing each aging use case script according to the execution order of each aging use case script, the aging use case script needs to be decrypted and integrity checked, that is, the aging use case script is in an encrypted state during transmission, which makes it impossible to execute even if the aging use case script is intercepted, thereby improving the data security during the parallel aging process of executing vehicle functions.
[0126] In some embodiments, the aging detection command information further includes an encryption or decryption strategy;
[0127] Decrypting each of the aging use case scripts includes:
[0128] Decrypt each of the aging use case scripts according to the encryption strategy or the decryption strategy.
[0129] Optionally, the aging detection command information also includes an encryption strategy. The encryption strategy can be considered as the strategy used by the cloud server to encrypt each aging use case script. After determining the decryption strategy corresponding to the encryption strategy, each aging use case script can be decrypted according to the decryption strategy.
[0130] Optionally, the aging detection command information further includes a decryption strategy. The decryption strategy can be considered as a strategy that the vehicle terminal can directly use to decrypt the aging use case script, and each aging use case script is decrypted according to the decryption strategy.
[0131] In some embodiments, the cloud server and the vehicle terminal both store the same encryption strategy or decryption strategy, and the aging detection command information includes the identification information ID of the encryption strategy or decryption strategy. By obtaining the ID in the aging detection command information, the vehicle terminal can determine which encryption strategy the cloud server used to encrypt the aging use case script, or which decryption strategy should be used to decrypt the aging use case script.
[0132] In the embodiment of the present application, the aging detection command information also includes an encryption or decryption strategy, and each aging use case script can be decrypted according to the encryption strategy or decryption strategy. After the vehicle terminal downloads the encrypted aging use case script from the cloud server, it can be decrypted according to the decryption strategy provided in the aging detection command, so that the vehicle terminal can execute the aging use case script. The aging use case script exists in an encrypted state during the transmission process, thereby improving the security of the aging use case script during transmission.
[0133] The purpose of performing integrity check on the aging detection command is to confirm whether the aging use case script is complete. After decrypting the aging use case script, performing integrity check on the aging use case script can effectively avoid related problems such as inaccurate aging detection results or failures in the aging detection process caused by incomplete aging use case scripts.
[0134] In the embodiment of the present application, each aging use case script is decrypted and integrity checked. After each aging use case script passes the integrity check, each aging use case script is stored. The aging use case script needs to be decrypted, which improves the security of aging detection of vehicle functions. The integrity check of the aging use case script can effectively avoid related problems such as inaccurate aging detection results or failures in the aging detection process due to incomplete aging use case scripts.
[0135] In some embodiments of the present application, the method further comprises:
[0136] During the process of downloading, decrypting and / or integrity checking the aging use case script, if there is error or abnormal information, first feedback information is generated and sent to the cloud server based on a first communication protocol.
[0137] During the downloading, decryption, and / or integrity verification process of the aging detection command, errors or exceptions may occur, such as download failure, decryption failure, or integrity verification failure. When such errors or exceptions occur, the vehicle terminal generates first feedback information and sends the first feedback information to the cloud server based on the first communication protocol. The first feedback information may include a detailed description of the error or exception information.
[0138] In an embodiment of the present application, if there is error or abnormal information during the process of downloading, decrypting and / or integrity verification of the aging use case script, a first feedback information is generated and sent to the cloud server based on the first communication protocol, thereby enabling the vehicle-mounted terminal to provide feedback to the cloud server, so that the vehicle-mounted terminal and the cloud server can work together, and helping the cloud server to promptly discover error or abnormal information that occurs during the process of downloading, decrypting and / or integrity verification of the aging use case script and promote its resolution.
[0139] In some embodiments of the present application, determining a result script corresponding to each aging use case script based on the aging detection result corresponding to each aging use case includes:
[0140] Obtaining confirmation information of actual execution results of each of the burn-in use cases by the auxiliary device;
[0141] Based on the aging detection result and the confirmation information, a result script corresponding to each aging use case script is generated.
[0142] Figure 4 This is a schematic diagram of confirming the actual execution results of the aging use case through auxiliary equipment provided by some embodiments of the present application. Figure 4 As shown in the figure, auxiliary devices refer to sensors or actuators inside or outside the vehicle. During the burn-in test process, auxiliary devices provide confirmation information about the actual execution results of each burn-in use case. This confirmation information is the measurement value or test result of the sensors or actuators inside or outside the vehicle. The vehicle terminal connects with other vehicle control modules or domain controllers to obtain this confirmation information.
[0143] During the aging test process, if there are abnormal noises, mechanical movements, displacements, temperatures, air volume, movement smoothness, voice and motion control, Bluetooth calls, video testing, and unlocking, the vehicle can use multiple internal and external auxiliary devices to assist in the aging test.
[0144] For example, for certain aging use cases in the aging use case script that require additional confirmation, during the execution process, in addition to sending and receiving security messages, the actual execution results will be secondary confirmed in combination with auxiliary equipment such as visual sensors inside and outside the vehicle, voice input and output devices, and fixed external devices. This secondary confirmation mechanism can further improve the accuracy of the aging detection results.
[0145] In the embodiment of the present application, confirmation information of the actual execution results of each aging use case by the auxiliary device is obtained, and based on the aging detection results and the confirmation information, a result script corresponding to each aging use case script is generated. By combining the confirmation information of multiple auxiliary devices to generate the result script, the accuracy and reliability of the aging detection results can be improved.
[0146] In some embodiments of the present application, when the result script is sent, the encryption and verification strategy of the result script is also sent.
[0147] It is understood that to ensure data security during the aging detection process, the result scripts corresponding to the aging use case scripts determined by the vehicle terminal during execution of each aging use case script should also be transmitted in an encrypted state to the cloud server. Therefore, in some embodiments, the result scripts are verified before being sent, and the verified result scripts are encrypted.
[0148] The encryption and verification strategy of the result script is sent at the same time as the result script is sent, so that after receiving the result script, the cloud server can decrypt and perform integrity verification on the received result script according to the encryption and verification strategy.
[0149] In the embodiment of the present application, the encryption and verification strategy of the result script is also sent at the same time as the result script is sent, so that after receiving the result script, the cloud server can decrypt and perform integrity verification on the received result script according to the encryption and verification strategy. The result script is transmitted in an encrypted state during the transmission process, thereby improving the security of the data during the aging detection process.
[0150] In some embodiments of the present application, before decrypting and integrity checking the aging detection command, the method further includes:
[0151] Sending fourth feedback information to the cloud server, where the fourth feedback information is used to indicate a reception confirmation result of the aging detection command.
[0152] The fourth feedback information is used to indicate the reception confirmation result of the aging detection command, so by sending the fourth feedback information, the vehicle-mounted terminal can promptly inform the cloud server that the aging detection command has been successfully received.
[0153] In the embodiment of the present application, before decrypting and integrity checking the aging detection command, fourth feedback information indicating the reception confirmation result of the aging detection command is sent to the cloud server, so that the vehicle-mounted terminal can feedback the reception confirmation result of the aging detection command to the cloud server, which facilitates collaborative work between the vehicle-mounted terminal and the cloud server.
[0154] The vehicle function parallel aging detection method provided in the embodiment of the present application can be executed by a cloud server or a functional module or functional entity in the cloud server that can implement the vehicle function parallel aging detection method. The vehicle function parallel aging detection method provided in the embodiment of the present application is described below using the cloud server as an example of the execution entity.
[0155] Figure 5This is the second flow chart of the vehicle function parallel aging detection method provided by some embodiments of the present application. Figure 5 As shown, the vehicle function parallel aging detection method is applied to a cloud server, including: step 510, step 520, step 530 and step 540.
[0156] Step 510: Determine the aging detection command information corresponding to the vehicle.
[0157] In some embodiments, the aging detection command information includes: a download address of each aging use case script, an execution order of each aging use case script, and an upload address of a result script corresponding to each aging use case script.
[0158] In some embodiments, before determining the aging detection command information corresponding to the vehicle, the method further includes:
[0159] At least one aging use case script corresponding to the vehicle and conforming to the current scenario is determined according to the vehicle model information and the current scenario of the vehicle.
[0160] It is understood that the time, number of times, and types of burn-in scripts that a vehicle can execute may vary in different scenarios. For example, a vehicle may be in a finished goods warehouse, a production facility, or an R&D facility. In a finished goods warehouse, the vehicle typically has a longer time available to execute burn-in scripts. In a production facility, the vehicle's functional modules may not yet be fully installed, making it impossible to execute burn-in scripts for burn-in testing of these modules.
[0161] The aging use case script is determined according to the vehicle model information and the current scenario, so that the aging use case script is more targeted and effective for the functional aging detection of the current vehicle in the current scenario.
[0162] Based on the vehicle model information and the current scenario in which the vehicle is located, each aging use case script corresponding to the vehicle and matching the current scenario is determined, and aging detection command information corresponding to the vehicle is determined. An aging detection command is generated based on the aging detection command information, the aging detection command is sent to the vehicle, and a result script sent by the vehicle is received, thereby implementing aging detection of vehicle functions. Each aging use case script can be executed by the vehicle to implement aging detection of different vehicle functions, that is, implementing parallel aging detection of vehicle functions.
[0163] In some embodiments, determining the aging detection command information corresponding to the vehicle includes:
[0164] Sending a first message to the vehicle, where the first message is used to obtain version information of an aging detection command supported by the vehicle;
[0165] A first response message returned by the vehicle is received, and aging detection command information corresponding to the vehicle is determined according to the first response message.
[0166] The cloud server sends a first message to the vehicle, which is used to obtain information about the version of the aging detection command supported by the vehicle. It is understood that the aging detection command version may have undergone multiple iterations and upgrades, and the vehicle may support different versions of the aging detection command. Therefore, the cloud server needs to determine the aging detection command version currently supported by the vehicle so that it can subsequently issue the aging detection command version supported by the vehicle.
[0167] After receiving the first message, the vehicle returns a first response message, which may include the version information of the aging detection commands supported by the vehicle. For example, the vehicle may send the version numbers of all supported aging detection commands to the cloud server via the first response message. Based on the aging detection command version information included in the first response message, the cloud server determines the aging detection command information corresponding to the vehicle, for example, selecting an appropriate aging test case script download address so that the aging test case script downloaded from this download address is executable by the vehicle.
[0168] In an embodiment of the present application, a first message is sent to a vehicle for obtaining version information of an aging detection command supported by the vehicle, a first response message is received from the vehicle, and aging detection command information corresponding to the vehicle is determined based on the first response message, so that an aging detection command subsequently generated based on the aging detection command information is supported by the vehicle. In other words, aging detection of vehicle functions can be implemented through the aging detection command.
[0169] Step 520: Generate an aging detection command according to the aging detection command information, where the aging detection command is related to the current scene of the vehicle.
[0170] In some embodiments, the aging detection command information further includes an encryption or decryption strategy, and generating the aging detection command includes:
[0171] The aging detection command is encrypted according to the encryption policy.
[0172] It is understood that the encryption policy is the strategy used to encrypt the aging detection command in the cloud server. The aging detection command information includes this encryption policy. After the encrypted aging detection command is sent to the vehicle, the vehicle can determine the decryption policy corresponding to the encryption policy and then decrypt each aging use case script according to the decryption policy.
[0173] Optionally, the aging detection command information further includes a decryption strategy. The decryption strategy can be considered as a strategy used by the vehicle to directly decrypt the encrypted aging detection command.
[0174] In the embodiment of the present application, the aging detection command is encrypted by the cloud server and then sent to the vehicle terminal. This ensures that even if the aging detection command is intercepted during transmission, it cannot be parsed to obtain the aging detection command information, thereby improving the data security and execution security during the execution of vehicle function parallel aging detection.
[0175] In some embodiments, the aging detection command information further includes at least one of the following: version information of the aging detection command, a service type corresponding to the aging detection command, a type of the aging detection command, a unique identifier of the aging detection command, and prompt information during the aging detection execution process.
[0176] Step 530: Send the aging detection command to the vehicle.
[0177] Step 540: Receive the aging detection result sent by the vehicle.
[0178] In some embodiments, the receiving of the aging detection result sent by the vehicle includes:
[0179] Receive the result script sent by the vehicle.
[0180] In the embodiment of the present application, after determining the aging detection command information corresponding to the vehicle, an aging detection command is generated based on the aging detection command information and sent to the vehicle, and the aging detection result sent by the vehicle is received. The vehicle aging detection process can be automatically performed based on the sent command, thereby improving the low efficiency of aging detection caused by manual participation and improving the degree of automation of vehicle function aging detection.
[0181] In some embodiments of the present application, before determining, based on the vehicle model information and the current scenario in which the vehicle is located, at least one burn-in use case script corresponding to the vehicle and conforming to the current scenario, the method further includes:
[0182] Sending an aging detection strategy to the vehicle, wherein the aging detection strategy is used to instruct the vehicle to perform a vehicle condition check to determine whether the current vehicle condition of the vehicle meets the expected conditions required for aging detection in the current scenario;
[0183] receiving an aging detection strategy check result sent by the vehicle;
[0184] When the aging detection strategy check result is passed, at least one aging use case script corresponding to the vehicle and conforming to the current scenario is determined based on the vehicle model information and the current scenario of the vehicle.
[0185] It is understood that the aging detection strategy is used to instruct the vehicle to perform a condition check to determine whether the vehicle's current condition meets the expected conditions required for the aging detection in the current scenario. For example, the expected conditions required for the aging detection in the current scenario may include requiring the vehicle to be stationary, engaged in park, with the parking brake applied, or requiring the battery charge to be above a specified value (the battery may be the vehicle's power battery or the vehicle's starting battery). These expected conditions are set to ensure that the vehicle is in a safe and stable state during the aging detection process, while also avoiding inaccurate aging detection results due to vehicle condition issues.
[0186] Receiving an aging detection strategy check result generated after the vehicle completes the above-mentioned aging detection strategy check. If the aging detection strategy check result is passed, the current vehicle condition meets all expected conditions. Based on the vehicle model information and the current scenario of the vehicle, various aging use case scripts corresponding to the vehicle that meet the current scenario can be determined;
[0187] If the aging detection strategy check result is failed, the current vehicle condition does not meet the expected conditions, and the vehicle condition can be required to be adjusted accordingly before the aging detection strategy is sent to the vehicle again.
[0188] In an embodiment of the present application, an aging detection strategy is sent to the vehicle to instruct the vehicle to perform a vehicle condition inspection to determine whether the current vehicle condition meets the expected conditions required for aging detection in the current scenario. If the aging detection strategy inspection result is passed, at least one aging use case script corresponding to the vehicle that meets the current scenario is determined. By performing an aging detection strategy inspection on the vehicle condition, it helps to avoid safety accidents caused by vehicle condition problems during the aging detection process, and also helps to improve inaccurate aging detection results caused by abnormal vehicle conditions.
[0189] In some embodiments of the present application, the sending of the aging detection strategy to the vehicle includes:
[0190] When a vehicle is logged in, obtain the vehicle model information and the current scene of the vehicle;
[0191] When the aging detection of the vehicle is triggered, matching the aging detection task with the vehicle model information and the current scene, and creating an aging detection task if the matching is successful;
[0192] An aging detection strategy is sent to the vehicle, where the aging detection strategy corresponds to a current scenario in which the vehicle is located.
[0193] It is understood that when a vehicle successfully logs into the cloud server, the cloud server can identify the vehicle and obtain the vehicle model information and the current scene the vehicle is in. This application does not limit the specific method of obtaining the vehicle model information and the current scene the vehicle is in.
[0194] The cloud system manages the aging tasks of target vehicles based on the corresponding configuration. Aging tasks can be created manually or automatically after vehicle triggering. Each task process and status management, log management, detailed information viewing, and exception management alarms are also included.
[0195] Automatic tasks require the configuration of the target vehicle's model and the information required for the scenario in advance. When triggered, the task is automatically created based on the configuration information of the corresponding model. Automatic tasks are real-time tasks, that is, they are executed immediately after creation. The same automatic task can be executed multiple times, and the current automatic task can be ended through a specific command.
[0196] Manually created tasks can be divided into multiple execution modes, such as single-step execution, execution of a single classification module, and execution of vehicle functional aging use cases, to ensure that they are applicable to different scenarios.
[0197] Manually creating a task requires manual configuration of the target vehicle model and information required for the usage scenario, including the time when the task will start and the target vehicles or test benches to be aged. The number of target vehicles or test benches can be configured according to actual conditions. After creation is completed, the task will start at the specified time and continue until it ends.
[0198] When the vehicle's aging detection is triggered, the cloud server matches the appropriate aging detection task based on the vehicle's model information and the current scenario, so that if the match is successful, the created aging detection task is adapted to the vehicle's actual state.
[0199] If the match is successful, the cloud server will create an aging detection task. Once the aging detection task is created, the cloud server will send the aging detection strategy corresponding to the current scenario to the vehicle, instructing the vehicle to perform a condition check to determine whether the vehicle's current condition meets the expected conditions required for aging detection in the current scenario.
[0200] The cloud system also provides functions such as aging detection task process and status management, log management, detailed information viewing, and abnormal management alarms to achieve effective monitoring of the aging detection task execution process.
[0201] In some embodiments, the method further comprises:
[0202] If the aging detection strategy check result is failure, the state of the aging detection task is updated.
[0203] It's understood that a failure in the aging detection strategy check indicates that the vehicle's current condition doesn't meet the expected conditions for aging detection in the current scenario. In this case, the aging detection task status is updated to indicate that the current aging detection task cannot continue. Subsequently, the aging detection strategy can be resent to the vehicle after appropriate adjustments to the vehicle's condition. If the aging detection strategy check returns a passing result, the aging detection task status is updated again to indicate that the current aging detection task cannot continue.
[0204] In the embodiment of the present application, when the aging detection strategy check result is failed, the current condition of the vehicle does not meet the expected conditions required for the aging detection in the current scenario, and the status of the aging detection task is updated to indicate that the current aging detection task cannot continue to be executed. This helps to avoid safety accidents caused by vehicle condition problems during the aging detection process, and also helps to improve inaccurate aging detection results caused by abnormal vehicle conditions.
[0205] In the embodiment of the present application, when a vehicle is logged in, the vehicle model information and the current scene of the vehicle are obtained. When the aging detection of the vehicle is triggered, the aging detection task is matched based on the vehicle model information and the current scene. If the match is successful, an aging detection task is created and an aging detection strategy is sent to the vehicle. The aging detection strategy corresponds to the current scene of the vehicle. The status of the aging detection task can be updated subsequently according to the aging detection strategy check result, thereby enabling the cloud server to manage the vehicle's entire vehicle function aging detection process in the form of a task. In addition, when the created aging detection task is an automatic task, automatic and timed triggering of automated detection can be achieved, which further improves the problem of low efficiency of aging detection caused by manual participation and improves the degree of automation of vehicle function aging detection.
[0206] In some embodiments of the present application, the method further comprises:
[0207] Generate aging use case scripts for different vehicle models and different scenarios in advance, and store the aging use case scripts for different vehicle models and different scenarios.
[0208] After the vehicle model is defined, the safety messages of the entire vehicle functions are also defined. These messages will also serve as the data source for aging detection. Each safety message will be classified and managed according to the defined rules and the division of labor of the entire vehicle module.
[0209] In the early stage of implementation, classified security messages are labeled to form an initial model for designing aging use cases. After the use case design model is gradually improved through manual use case design in the early stage, aging use cases can be automatically created based on the use case design model.
[0210] The combination of burn-in use cases across all categorized functions forms the basis for overall vehicle function burn-in. Different categories can be configured with dependencies or execution order. Burn-in testing for each function typically includes multiple burn-in use cases, each of which contains multiple steps. Each step includes at least one safety control message and one safety feedback message as test expectations. Some use cases require internal or external auxiliary equipment to implement auxiliary components beyond software function testing. Each message execution strategy can adjust parameters such as matching logic, expected results, number of attempts, attempt time, and attempt interval based on actual conditions.
[0211] To achieve a closed loop of aging detection use cases, one aging use case may be a pre-dependency of other aging use cases, or a post-dependency of other aging use cases, to ensure the correctness of the vehicle function aging process and to ensure that the post-aging state is restored to the state before the aging test.
[0212] After the aging use case is created, it needs to pass the preliminary verification. The verification stage uses a specific test bench for verification and then a test vehicle for verification to ensure the coverage, reliability, correctness, accuracy, etc. of the aging use case. Finally, it will be applied to the entire life cycle of the vehicle.
[0213] After designing and verifying the aging use case, it needs to be converted into a custom format script file. The aging use case script file should be published in the cloud system and stored in a classified manner according to the vehicle model and application scenario.
[0214] The number of aging times required for different application scenarios can be fixed in the aging use case script file or configured through cloud tasks to achieve flexible configuration of the aging times.
[0215] It is understandable that pre-generating and storing aging use case scripts for different vehicle models and scenarios can improve the efficiency of determining the aging detection command information corresponding to the vehicle and generating the aging detection command based on the aging detection command information.
[0216] In some embodiments, a pre-built and stored library of burn-in use case scripts for different vehicle models and scenarios can effectively reduce the configuration work required to generate burn-in detection commands and improve the efficiency of generating and sending burn-in detection commands. Specifically, the pre-built burn-in use case library includes burn-in use case scripts for different vehicle models and scenarios. When determining the script download address in the burn-in detection command information, a matching script can be directly selected from the burn-in use case script library and its download address can be configured into the burn-in detection command information, eliminating the need to recreate and configure the burn-in use case script each time, thereby improving efficiency.
[0217] In the embodiment of the present application, aging use case scripts suitable for different vehicle models and different scenarios are pre-generated and stored. This allows, when determining aging detection command information, to directly match the corresponding aging use case script from the stored aging use case scripts for different vehicle models and different scenarios and configure its download address into the aging detection command information, thereby improving the efficiency of determining the aging detection command information and further improving the efficiency of generating the aging detection command based on the aging detection command information.
[0218] In some embodiments of the present application, each of the aging use case scripts corresponds to one or more aging use cases, each of the aging use cases includes multiple steps, and each of the steps includes at least one security control message and at least one security feedback message as an expected detection result.
[0219] It should be noted that security messages are proprietary messages that use a custom data format determined by the vehicle model or configuration. In other words, different vehicles have different functions due to their models or configurations, resulting in different security messages. This application does not specifically limit the format or determination method of security messages; they can be determined based on actual needs.
[0220] During the aging detection process, the vehicle performs corresponding operations according to the security control messages in the aging use case steps to simulate the scenario of long-term vehicle use and realize aging detection of vehicle functions.
[0221] The safety feedback message is the expected result after the vehicle executes the safety control message. By comparing the actual execution result with the expected safety feedback message, it is possible to verify whether the safety control message was executed correctly, thereby determining the results of the vehicle function aging detection.
[0222] The aging use case in the embodiment of the present application includes multiple steps, each step includes at least one security control message and at least one security feedback message as the expected result of the detection. The security message can be determined based on the vehicle model or the function that requires aging detection, and is suitable for different vehicles or different functions of vehicles, which helps to realize parallel aging detection of vehicle functions, thereby improving the efficiency of aging detection.
[0223] In some embodiments of the present application, after receiving the result script sent by the vehicle, the method further includes:
[0224] The result script is decrypted, integrity checked and parsed to obtain an aging detection result.
[0225] In some embodiments, decrypting the result script includes:
[0226] Decrypting the result script based on the encryption strategy of the result script sent by the vehicle;
[0227] Perform integrity check on the result script, including:
[0228] Based on the verification strategy sent by the vehicle, the result script is integrity checked.
[0229] It is understood that to ensure data security during the aging test, the result scripts corresponding to each aging use case script determined by the vehicle executing each aging use case script are also encrypted during transmission to the cloud server. Therefore, in some embodiments, after receiving the result scripts sent by the vehicle, the result scripts are further decrypted, integrity-checked, and parsed to obtain the aging test results.
[0230] When the vehicle sends the result script, it will also send the encryption and verification strategy of the result script. When the cloud server receives the result script, it will also receive the encryption and verification strategy, so that it can decrypt and verify the integrity of the received result script based on the encryption and verification strategy.
[0231] In an embodiment of the present application, after receiving the result script, the received result script can be decrypted and integrity checked based on the encryption and verification strategy sent by the vehicle. The result script is transmitted in an encrypted state during the transmission process, thereby improving the security of the data during the aging detection process.
[0232] In some embodiments of the present application, after obtaining the aging detection result, the method further includes:
[0233] Based on an artificial intelligence (AI) model, the aging detection results are automatically analyzed to obtain functional aging analysis results corresponding to the vehicle.
[0234] Based on the artificial intelligence (AI) model, the aging test results are automatically analyzed, which can quickly analyze the aging test results without the need to manually check the aging test results one by one. This further improves the problem of low efficiency of aging detection caused by manual participation, and improves the degree of automation and efficiency of vehicle function aging detection.
[0235] In some embodiments, the AI model is trained using labeled security messages and is capable of analyzing aging detection results. In some scenarios, the AI model can also be used to assist in creating aging use cases.
[0236] In the embodiment of the present application, the aging detection results can be analyzed based on the artificial intelligence model, and there is no need to manually check the aging detection results one by one, which further improves the problem of low efficiency of aging detection caused by manual participation and improves the degree of automation and efficiency of vehicle function aging detection.
[0237] In some embodiments of the present application, the method further includes: receiving at least one of the following:
[0238] first feedback information, where the first feedback information is used to indicate error or abnormal information during the process of downloading, decrypting, and / or integrity checking the aging use case script by the vehicle;
[0239] second feedback information, where the second feedback information is used to indicate error or abnormality information during a process in which the vehicle downloads, decrypts, and / or performs integrity verification on the aging detection command;
[0240] Third feedback information, the third feedback information is used to indicate whether the result script is reported successfully or unsuccessfully;
[0241] Fourth feedback information, where the fourth feedback information is used to indicate a reception confirmation result of the aging detection command.
[0242] It is understood that during the process of downloading, decrypting, and / or integrity checking the aging detection command, errors or abnormalities such as download failure, decryption failure, or integrity check failure may occur. When such errors or abnormalities occur, the vehicle terminal generates first feedback information and sends the first feedback information based on the first communication protocol. The first feedback information may include a detailed description of the error or abnormality information.
[0243] It is understood that during the vehicle's decryption, integrity check, and / or parsing of the aging detection command, errors or exceptions may occur, such as decryption failure, integrity check failure, or parsing failure. When such errors or exceptions occur, the vehicle terminal generates second feedback information and sends the second feedback information based on the first communication protocol. The second feedback information may include a detailed description of the error or exception information.
[0244] It can be understood that after the vehicle sends the result script to the cloud server using the second communication protocol, it then sends third feedback information to the cloud server using the first communication protocol. The third feedback information is used to indicate whether the result script reporting is successful or unsuccessful. Using two different communication protocols, a second report confirmation of the success or failure of the result script reporting is achieved, making the transmission process of the result script from the vehicle to the cloud server verifiable.
[0245] It can be understood that the fourth feedback information is used to indicate the reception confirmation result of the aging detection command, so by sending the fourth feedback information, the vehicle terminal can promptly inform the cloud server that the aging detection command has been successfully received.
[0246] Optionally, the first communication protocol is a Message Queuing Telemetry Transport (MQTT) protocol (also known as MQTTS) that is encrypted and transmitted via a Secure Sockets Layer (SSL) protocol / Transport Layer Security (TLS) protocol. The MQTTS protocol is lightweight and suitable for running in resource-constrained environments (such as the vehicle-mounted terminal in the embodiment of the present application) and is suitable for transmitting commands.
[0247] Optionally, the second communication protocol is Hypertext Transfer Protocol Secure (HTTPS) protocol, which is suitable for transmitting data.
[0248] After the cloud server receives the result script uploaded by the vehicle, it decrypts the result script, verifies the file integrity, and finally parses the result. The result script decryption and integrity verification strategy are synchronized by the vehicle cloud through the first command issued. The aging detection application encrypts and writes the verification hash code according to the relevant encryption and verification strategy. The cloud system parses the result script according to the decryption strategy and verifies the integrity after the parsing is completed. After the result script reported by the vehicle is successfully verified, the cloud parses the result. If there are any use cases that fail or abnormalities during the aging process, the design and operation personnel will be notified in a timely manner. The design and operation personnel can view the detailed list of execution results through the WEB page, and can also view the generated aging report or download it.
[0249] In addition to displaying aging results, the cloud system will also perform statistical analysis on the data of vehicles that have undergone aging according to different rules, and compare the data based on various performance indicators defined by the product to promote product optimization.
[0250] Depending on the usage scenario, when the vehicle no longer needs to perform aging, the aging detection application can be uninstalled manually or through cloud-based command control.
[0251] In an embodiment of the present application, the cloud server also receives at least one of first feedback information, second feedback information, third feedback information, and fourth feedback information, wherein the first feedback information is used to indicate error or abnormal information during the process of the vehicle downloading, decrypting, and / or integrity checking the aging use case script; the second feedback information is used to indicate error or abnormal information during the process of the vehicle downloading, decrypting, and / or integrity checking the aging detection command; the third feedback information is used to indicate whether the result script is reported successfully or unsuccessfully; and the fourth feedback information is used to indicate the receipt confirmation result of the aging detection command. Through various feedback information, the cloud server can promptly discover various abnormal situations during the vehicle's aging detection process, which helps the cloud server promote solutions to reduce the impact of various abnormal situations on aging detection.
[0252] Figure 6 This is one of the structural diagrams of the vehicle function parallel aging detection device provided in some embodiments of the present application. Figure 6 As shown, the embodiment of the present application also provides a vehicle function parallel aging detection device. The vehicle function parallel aging detection device 600 includes:
[0253] The first receiving unit 601 is configured to receive an aging detection command sent by a cloud server, where the aging detection command is related to a current scene in which the vehicle is located;
[0254] A parsing unit 602 is configured to parse the aging detection command to obtain aging detection command information;
[0255] An execution unit 603 is configured to execute an aging test related to a current scene of the vehicle based on the aging test command information, and determine an aging test result;
[0256] The first sending unit 604 is configured to send the aging detection result to the cloud server.
[0257] Optionally, the aging detection command information includes: a download address of at least one aging use case script corresponding to the vehicle and conforming to the current scenario, an execution order of each of the aging use case scripts, and an upload address of a result script corresponding to each of the aging use case scripts.
[0258] Optionally, the execution unit 603 is configured to:
[0259] Downloading each of the aging use case scripts based on the download address of each of the aging use case scripts;
[0260] Execute each of the aging use case scripts according to the execution order of each of the aging use case scripts, and determine the result script corresponding to each of the aging use case scripts.
[0261] Optionally, the first sending unit 604 is configured to:
[0262] Based on the upload address of the result script corresponding to each of the aging use case scripts, the result script is sent to the cloud server.
[0263] Optionally, the vehicle function parallel aging detection device 600 further includes a first processing unit. Before receiving the aging detection command sent by the cloud server, the first processing unit is configured to:
[0264] receiving an aging detection strategy issued by the cloud server, wherein the aging detection strategy is used to instruct the vehicle to perform a vehicle condition check to determine whether the current vehicle condition of the vehicle meets the expected conditions required for aging detection in the current scenario;
[0265] Performing an aging detection strategy check on the vehicle condition according to the aging detection strategy to obtain an aging detection strategy check result;
[0266] Send the aging detection strategy check result to the cloud server
[0267] Optionally, the parsing unit 602 is configured to:
[0268] The aging detection command is decrypted and integrity checked, and after the integrity check passes, the aging detection command is parsed.
[0269] Optionally, the execution unit 603 is configured to:
[0270] Parsing each of the aging use case scripts according to the execution order of each of the aging use case scripts to obtain one or more aging use cases corresponding to each of the aging use case scripts;
[0271] Execute one or more aging use cases corresponding to each of the aging use case scripts to obtain aging detection results corresponding to each of the aging use case scripts;
[0272] Based on the aging detection results corresponding to the aging use cases, a result script corresponding to each aging use case script is determined.
[0273] Optionally, each of the aging use cases includes multiple steps, and each of the steps includes at least one security control message and at least one security feedback message as an expected detection result.
[0274] Optionally, executing one or more aging use cases corresponding to each aging use case script includes:
[0275] Execute one or more aging use cases corresponding to each aging use case script according to the execution order of each aging use case;
[0276] The execution order of the aging use cases is determined according to the priority of the aging use cases.
[0277] Optionally, the vehicle function parallel aging detection device 600 further includes a second processing unit, which is configured to:
[0278] Decrypting and integrity checking each of the aging use case scripts;
[0279] After the integrity check of each aging use case script passes, each aging use case script is stored.
[0280] Optionally, the vehicle function parallel aging detection device 600 further includes a third processing unit, which is configured to:
[0281] During the process of downloading, decrypting and / or integrity checking the aging use case script, if there is error or abnormal information, first feedback information is generated and sent to the cloud server based on a first communication protocol.
[0282] Optionally, the aging detection command information further includes an encryption or decryption strategy;
[0283] Decrypting each of the aging use case scripts includes:
[0284] Decrypt each of the aging use case scripts according to the encryption strategy or the decryption strategy.
[0285] Optionally, the third processing unit is further configured to:
[0286] During the process of decrypting, integrity checking and / or parsing the aging detection command, if there is error or abnormal information, second feedback information is generated and sent to the cloud server based on the first communication protocol.
[0287] Optionally, determining a result script corresponding to each aging use case script based on the aging detection result corresponding to each aging use case includes:
[0288] Obtaining confirmation information of actual execution results of each of the burn-in use cases by the auxiliary device;
[0289] Based on the aging detection result and the confirmation information, a result script corresponding to each aging use case script is generated.
[0290] Optionally, the first sending unit 604 is configured to:
[0291] Based on the upload address of the result script corresponding to each of the aging use case scripts, the result script is sent to the cloud server based on the second communication protocol.
[0292] Optionally, when the result script is sent, an encryption and verification strategy of the result script is also sent.
[0293] Optionally, the third processing unit is further configured to:
[0294] Generating third feedback information, where the third feedback information is used to indicate whether the result script is reported successfully or unsuccessfully;
[0295] Based on the first communication protocol, the third feedback information is sent to the cloud server.
[0296] Optionally, before decrypting and integrity checking the aging detection command, the third processing unit is further configured to:
[0297] Sending fourth feedback information to the cloud server, where the fourth feedback information is used to indicate a reception confirmation result of the aging detection command.
[0298] Optionally, the aging detection command information further includes at least one of the following: version information of the aging detection command, a service type corresponding to the aging detection command, a type of the aging detection command, a unique identifier of the aging detection command, and prompt information during the execution of the aging detection.
[0299] Optionally, the vehicle function parallel aging detection device 600 further includes a fourth processing unit. Before receiving the aging detection command sent by the cloud server, the fourth processing unit is configured to:
[0300] In response to the vehicle being powered on, establishing a communication connection with the cloud server and logging into the cloud server;
[0301] Receive the installation package of the aging detection application sent by the cloud server, and install the aging detection application.
[0302] The vehicle function parallel aging detection device in the embodiments of the present application can be an electronic device or a component of an electronic device, such as an integrated circuit or chip. The electronic device can be a terminal or other device other than a terminal. For example, the electronic device can be an in-vehicle electronic device, which is not specifically limited in the embodiments of the present application.
[0303] The vehicle function parallel aging detection device in the embodiments of the present application can be a device having an operating system. The operating system can be a Microsoft (Windows) operating system, an Android operating system, an iOS operating system, or other possible operating systems, such as a vehicle-mounted system specified by the vehicle manufacturer. This embodiment of the present application is not specifically limited.
[0304] The vehicle function parallel aging detection device provided in the embodiment of the present application can implement the various processes implemented in the above-mentioned vehicle function parallel aging detection method embodiment applied to the vehicle-mounted terminal, and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0305] Figure 7 This is the second structural diagram of the vehicle function parallel aging detection device provided in some embodiments of the present application. Figure 7 As shown, the embodiment of the present application also provides a vehicle function parallel aging detection device. The vehicle function parallel aging detection device 700 includes:
[0306] The first determining unit 701 is configured to determine aging detection command information corresponding to the vehicle;
[0307] A generating unit 702 generates an aging detection command according to the aging detection command information, where the aging detection command is related to a current scene in which the vehicle is located;
[0308] A second sending unit 703 is configured to send the aging detection command to the vehicle;
[0309] The second receiving unit 704 is configured to receive the aging detection result sent by the vehicle.
[0310] Optionally, the aging detection command information includes: a download address of each aging use case script, an execution order of each aging use case script, and an upload address of a result script corresponding to each aging use case script.
[0311] Optionally, the vehicle function parallel aging detection device 700 also includes a fifth processing unit, which is used to: before determining the aging detection command information corresponding to the vehicle, determine at least one aging use case script corresponding to the vehicle that meets the current scenario based on the vehicle model information and the current scenario in which the vehicle is located.
[0312] Optionally, the second receiving unit 704 is configured to:
[0313] Receive the result script sent by the vehicle.
[0314] Optionally, the vehicle function parallel aging detection device 700 further includes a sixth processing unit, which is configured to:
[0315] Sending an aging detection strategy to the vehicle, wherein the aging detection strategy is used to instruct the vehicle to perform a vehicle condition check to determine whether the current vehicle condition of the vehicle meets the expected conditions required for aging detection in the current scenario;
[0316] receiving an aging detection strategy check result sent by the vehicle;
[0317] When the aging detection strategy check result is passed, at least one aging use case script corresponding to the vehicle and conforming to the current scenario is determined based on the vehicle model information and the current scenario of the vehicle.
[0318] Optionally, the sending the aging detection strategy to the vehicle includes:
[0319] When a vehicle is logged in, obtain the vehicle model information and the current scene of the vehicle;
[0320] When the aging detection of the vehicle is triggered, matching the aging detection task with the vehicle model information and the current scene, and creating an aging detection task if the matching is successful;
[0321] An aging detection strategy is sent to the vehicle, where the aging detection strategy corresponds to a current scenario in which the vehicle is located.
[0322] Optionally, the vehicle function parallel aging detection device 700 further includes a seventh processing unit, which is configured to:
[0323] If the aging detection strategy check result is failure, the state of the aging detection task is updated.
[0324] Optionally, the vehicle function parallel aging detection device 700 further includes an eighth processing unit, which is configured to:
[0325] Generate aging use case scripts for different vehicle models and different scenarios in advance, and store the aging use case scripts for different vehicle models and different scenarios.
[0326] Optionally, each of the aging use case scripts corresponds to one or more aging use cases, each of the aging use cases includes multiple steps, and each of the steps includes at least one security control message and at least one security feedback message as an expected detection result.
[0327] Optionally, the first determining unit 701 is configured to:
[0328] Sending a first message to the vehicle, where the first message is used to obtain version information of an aging detection command supported by the vehicle;
[0329] A first response message returned by the vehicle is received, and aging detection command information corresponding to the vehicle is determined according to the first response message.
[0330] Optionally, the aging detection command information further includes an encryption or decryption strategy.
[0331] The generating unit 702 is used to:
[0332] The aging detection command is encrypted according to the encryption policy.
[0333] Optionally, the vehicle function parallel aging detection device 700 further includes a ninth processing unit. After receiving the result script sent by the vehicle, the ninth processing unit is configured to:
[0334] The result script is decrypted, integrity checked and parsed to obtain an aging detection result.
[0335] Optionally, decrypting the result script includes:
[0336] Decrypting the result script based on the encryption strategy of the result script sent by the vehicle;
[0337] Perform integrity check on the result script, including:
[0338] Based on the verification strategy sent by the vehicle, the result script is integrity checked.
[0339] Optionally, the ninth processing unit is further configured to:
[0340] Based on an artificial intelligence (AI) model, the aging detection results are automatically analyzed to obtain functional aging analysis results corresponding to the vehicle.
[0341] Optionally, the second receiving unit 704 is further configured to:
[0342] Receive at least one of the following:
[0343] first feedback information, where the first feedback information is used to indicate error or abnormal information during the process of downloading, decrypting, and / or integrity checking the aging use case script by the vehicle;
[0344] second feedback information, where the second feedback information is used to indicate error or abnormality information during a process in which the vehicle downloads, decrypts, and / or performs integrity verification on the aging detection command;
[0345] Third feedback information, the third feedback information is used to indicate whether the result script is reported successfully or unsuccessfully;
[0346] Fourth feedback information, where the fourth feedback information is used to indicate a reception confirmation result of the aging detection command.
[0347] Optionally, the aging detection command information further includes at least one of the following: version information of the aging detection command, a service type corresponding to the aging detection command, a type of the aging detection command, a unique identifier of the aging detection command, and prompt information during the execution of the aging detection.
[0348] The vehicle function parallel aging detection device in the embodiment of the present application can be a server, or a component in the server, such as an integrated circuit or chip. The embodiment of the present application does not specifically limit the server.
[0349] The vehicle function parallel aging detection device in the embodiments of the present application can be a device having an operating system. The operating system can be a Microsoft (Windows) operating system, an Android operating system, an iOS operating system, or other possible operating systems. The embodiments of the present application are not specifically limited thereto.
[0350] The vehicle function parallel aging detection device provided in the embodiment of the present application can implement each process implemented in the above-mentioned vehicle function parallel aging detection method embodiment applied to the cloud server, and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0351] An embodiment of the present application also provides a vehicle, which includes an on-board terminal, which can be used to execute the various processes implemented in the above-mentioned embodiment of the vehicle function parallel aging detection method applied to the on-board terminal of the vehicle, and achieve the same technical effect.
[0352] Figure 8 is a schematic diagram of the structure of an electronic device provided in some embodiments of the present application. In some embodiments, such as Figure 8 As shown, an embodiment of the present application further provides an electronic device 800, including a processor 801, a memory 802, and a computer program stored in the memory 802 and executable on the processor 801. When the program is executed by the processor 801, each process of the above-mentioned vehicle function parallel aging detection method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0353] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0354] An embodiment of the present application further provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned vehicle function parallel aging detection method embodiment are implemented, and the same technical effects can be achieved. To avoid repetition, they are not described here.
[0355] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0356] An embodiment of the present application also provides a computer program product, including a computer program, which implements the above-mentioned vehicle function parallel aging detection method when executed by a processor.
[0357] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0358] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned vehicle function parallel aging detection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0359] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0360] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0361] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, cloud server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0362] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
[0363] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0364] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions, and variations may be made to the embodiments without departing from the principles and intent of the present application, and that the scope of the present application is defined by the claims and their equivalents.
Claims
1. A vehicle function parallel aging detection method, characterized in that: The method applied to a vehicle-mounted terminal includes: receiving an aging detection command sent by a cloud server, wherein the aging detection command is related to a current scene of the vehicle; parsing the aging detection command to obtain aging detection command information; Based on the aging detection command information, performing an aging detection related to a current scene in which the vehicle is located, and determining an aging detection result; Sending the aging detection result to the cloud server.
2. The method according to claim 1, characterized in that The aging detection command information includes: a download address of at least one aging use case script corresponding to the vehicle and conforming to the current scenario, an execution order of each aging use case script, and an upload address of a result script corresponding to each aging use case script.
3. The method according to claim 2, characterized in that The step of performing an aging test related to a current scene of the vehicle based on the aging test command information and determining an aging test result includes: Downloading each of the aging use case scripts based on the download address of each of the aging use case scripts; Execute each of the aging use case scripts according to the execution order of each of the aging use case scripts, and determine the result script corresponding to each of the aging use case scripts.
4. The method according to claim 3, characterized in that The sending the aging detection result to the cloud server includes: Based on the upload address of the result script corresponding to each of the aging use case scripts, the result script is sent to the cloud server.
5. The method according to any one of claims 1 to 4, characterized in that Before receiving the aging detection command sent by the cloud server, the method further includes: receiving an aging detection strategy issued by the cloud server, wherein the aging detection strategy is used to instruct the vehicle to perform a vehicle condition check to determine whether the current vehicle condition of the vehicle meets the expected conditions required for aging detection in the current scenario; Performing an aging detection strategy check on the vehicle condition according to the aging detection strategy to obtain an aging detection strategy check result; Sending the aging detection strategy check result to the cloud server.
6. The method according to any one of claims 1 to 4, characterized in that The parsing of the aging detection command includes: The aging detection command is decrypted and integrity checked, and after the integrity check passes, the aging detection command is parsed.
7. The method according to claim 3, characterized in that Executing each of the aging use case scripts according to the execution order of each of the aging use case scripts and determining a result script corresponding to each of the aging use case scripts includes: Parsing each of the aging use case scripts according to the execution order of each of the aging use case scripts to obtain one or more aging use cases corresponding to each of the aging use case scripts; Execute one or more aging use cases corresponding to each of the aging use case scripts to obtain aging detection results corresponding to each of the aging use case scripts; Based on the aging detection results corresponding to the aging use cases, a result script corresponding to each aging use case script is determined.
8. The method according to claim 7, characterized in that Each of the aging use cases includes multiple steps, and each of the steps includes at least one security control message and at least one security feedback message as an expected detection result.
9. The method according to claim 7, characterized in that The executing one or more aging use cases corresponding to each of the aging use case scripts includes: Execute one or more aging use cases corresponding to each aging use case script according to the execution order of each aging use case; The execution order of the aging use cases is determined according to the priority of the aging use cases.
10. The method according to any one of claims 3 or 4 or 7-9, characterized in that Before executing each of the aging use case scripts according to the execution order of each of the aging use case scripts, the method further includes: Decrypting and integrity checking each of the aging use case scripts; After the integrity check of each aging use case script passes, each aging use case script is stored.
11. The method according to claim 10, characterized in that The method further comprises: During the process of downloading, decrypting and / or integrity checking the aging use case script, if there is error or abnormal information, first feedback information is generated and sent to the cloud server based on a first communication protocol.
12. The method according to claim 10, characterized in that The aging detection command information also includes an encryption or decryption strategy; Decrypting each of the aging use case scripts includes: Decrypt each of the aging use case scripts according to the encryption strategy or the decryption strategy.
13. The method according to claim 6, characterized in that The method further comprises: During the process of decrypting, integrity checking and / or parsing the aging detection command, if there is error or abnormal information, second feedback information is generated and sent to the cloud server based on the first communication protocol.
14. The method according to claim 7, wherein: The determining, based on the aging detection results corresponding to the aging use cases, the result script corresponding to each aging use case script includes: Obtaining confirmation information of actual execution results of each of the burn-in use cases by the auxiliary device; Based on the aging detection result and the confirmation information, a result script corresponding to each aging use case script is generated.
15. The method according to claim 4, characterized in that The sending of the result script to the cloud server based on the upload address of the result script corresponding to each aging use case script includes: Based on the upload address of the result script corresponding to each of the aging use case scripts, the result script is sent to the cloud server based on the second communication protocol.
16. The method according to claim 4, 14 or 15, characterized in that When the result script is sent, the encryption and verification strategy of the result script is also sent.
17. The method according to claim 15, characterized in that After sending the result script to the cloud server based on the second communication protocol, the method further includes: Generating third feedback information, where the third feedback information is used to indicate whether the result script is reported successfully or unsuccessfully; Based on the first communication protocol, the third feedback information is sent to the cloud server.
18. The method according to claim 6, characterized in that Before decrypting and integrity checking the aging detection command, the method further includes: Sending fourth feedback information to the cloud server, where the fourth feedback information is used to indicate a reception confirmation result of the aging detection command.
19. The method according to claim 2, characterized in that The aging detection command information further includes at least one of the following: version information of the aging detection command, a service type corresponding to the aging detection command, a type of the aging detection command, a unique identifier of the aging detection command, and prompt information during the execution of the aging detection.
20. The method according to claim 1, wherein Before receiving the aging detection command sent by the cloud server, the method further includes: In response to the vehicle being powered on, establishing a communication connection with the cloud server and logging into the cloud server; Receive the installation package of the aging detection application sent by the cloud server, and install the aging detection application.
21. A vehicle function parallel aging detection method, applied to a cloud server, characterized in that: include: Determine the aging detection command information corresponding to the vehicle; generating an aging detection command according to the aging detection command information, wherein the aging detection command is related to a current scene in which the vehicle is located; sending the aging detection command to the vehicle; Receive the aging detection result sent by the vehicle.
22. The method according to claim 21, characterized in that The aging detection command information includes: a download address of each aging use case script, an execution order of each aging use case script, and an upload address of a result script corresponding to each aging use case script.
23. The method according to claim 22, characterized in that Before determining the aging detection command information corresponding to the vehicle, the method further includes: At least one aging use case script corresponding to the vehicle and conforming to the current scenario is determined according to the vehicle model information and the current scenario of the vehicle.
24. The method according to claim 23, wherein The receiving the aging detection result sent by the vehicle includes: Receive the result script sent by the vehicle.
25. The method according to claim 23, wherein Before determining, based on the vehicle model information and the current scenario of the vehicle, at least one burn-in use case script corresponding to the vehicle and conforming to the current scenario, the method further includes: Sending an aging detection strategy to the vehicle, wherein the aging detection strategy is used to instruct the vehicle to perform a vehicle condition check to determine whether the current vehicle condition of the vehicle meets the expected conditions required for aging detection in the current scenario; receiving an aging detection strategy check result sent by the vehicle; When the aging detection strategy check result is passed, at least one aging use case script corresponding to the vehicle and conforming to the current scenario is determined based on the vehicle model information and the current scenario of the vehicle.
26. The method according to claim 25, characterized in that The sending of the aging detection strategy to the vehicle includes: When a vehicle is logged in, obtain the vehicle model information and the current scene of the vehicle; When the aging detection of the vehicle is triggered, matching the aging detection task with the vehicle model information and the current scene, and creating an aging detection task if the matching is successful; An aging detection strategy is sent to the vehicle, where the aging detection strategy corresponds to a current scenario in which the vehicle is located.
27. The method according to claim 26, characterized in that The method further comprises: If the aging detection strategy check result is failure, the state of the aging detection task is updated.
28. The method according to any one of claims 22 to 27, characterized in that The method further comprises: Generate aging use case scripts for different vehicle models and different scenarios in advance, and store the aging use case scripts for different vehicle models and different scenarios.
29. The method according to claim 28, characterized in that Each of the aging use case scripts corresponds to one or more aging use cases. Each of the aging use cases includes multiple steps. Each of the steps includes at least one security control message and at least one security feedback message as an expected detection result.
30. The method according to claim 21, wherein The determining of the aging detection command information corresponding to the vehicle includes: Sending a first message to the vehicle, where the first message is used to obtain version information of an aging detection command supported by the vehicle; A first response message returned by the vehicle is received, and aging detection command information corresponding to the vehicle is determined according to the first response message.
31. The method according to claim 22, wherein The aging detection command information further includes an encryption or decryption strategy, and generating the aging detection command includes: The aging detection command is encrypted according to the encryption policy.
32. The method according to claim 24, wherein After receiving the result script sent by the vehicle, the method further includes: The result script is decrypted, integrity checked and parsed to obtain an aging detection result.
33. The method according to claim 32, characterized in that Decrypting the result script includes: Decrypting the result script based on the encryption strategy of the result script sent by the vehicle; Perform integrity check on the result script, including: Based on the verification strategy sent by the vehicle, the result script is integrity checked.
34. The method according to claim 32, wherein After obtaining the aging detection result, the method further includes: Based on an artificial intelligence (AI) model, the aging detection results are automatically analyzed to obtain functional aging analysis results corresponding to the vehicle.
35. The method according to claim 22, wherein The method further includes receiving at least one of the following: first feedback information, where the first feedback information is used to indicate error or abnormal information during the process of downloading, decrypting, and / or integrity checking the aging use case script by the vehicle; second feedback information, where the second feedback information is used to indicate error or abnormality information during a process in which the vehicle downloads, decrypts, and / or performs integrity verification on the aging detection command; Third feedback information, the third feedback information is used to indicate whether the result script is reported successfully or unsuccessfully; Fourth feedback information, where the fourth feedback information is used to indicate a reception confirmation result of the aging detection command.
36. The method according to claim 22, wherein The aging detection command information further includes at least one of the following: version information of the aging detection command, a service type corresponding to the aging detection command, a type of the aging detection command, a unique identifier of the aging detection command, and prompt information during the execution of the aging detection.
37. A vehicle function parallel aging detection device, characterized in that: include: a first receiving unit, configured to receive an aging detection command sent by a cloud server, wherein the aging detection command is related to a current scene in which the vehicle is located; a parsing unit, configured to parse the aging detection command to obtain aging detection command information; an execution unit, configured to execute an aging test related to a current scene in which the vehicle is located based on the aging test command information, and determine an aging test result; The first sending unit is configured to send the aging detection result to the cloud server.
38. A vehicle function parallel aging detection device, characterized in that: include: a first determining unit, configured to determine aging detection command information corresponding to the vehicle; a generating unit, configured to generate an aging detection command according to the aging detection command information, wherein the aging detection command is related to a current scene in which the vehicle is located; a second sending unit, configured to send the aging detection command to the vehicle; The second receiving unit is configured to receive the aging detection result sent by the vehicle.
39. A vehicle, characterized in that: include: A vehicle-mounted terminal, wherein the vehicle-mounted terminal executes the vehicle function parallel aging detection method according to any one of claims 1 to 20.
40. An electronic device, characterized in that: The invention comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for detecting parallel aging of vehicle functions as described in any one of claims 1 to 20 is implemented, or the method for detecting parallel aging of vehicle functions as described in any one of claims 21 to 36 is implemented.
41. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for detecting parallel aging of vehicle functions according to any one of claims 1 to 20 is implemented, or the method for detecting parallel aging of vehicle functions according to any one of claims 21 to 36 is implemented.