Vehicle remote upgrade test method and device, electronic equipment and medium
Through the remote upgrade test method between the vehicle end and the cloud platform, the OTA upgrade test is automatically processed, which solves the problem of cumbersome configuration of the test scripts in the existing technology and the inability to adapt to different models, and realizes efficient automated testing and rescue functions.
Patent Information
- Application Number
- CN202411438459.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2044-10-15
AI Technical Summary
The existing OTA automation test scripts are cumbersome and cannot automatically test different models, resulting in low testing efficiency and inability to meet the needs of diverse models.
By implementing a remote upgrade test method between the vehicle end and the cloud platform, the vehicle configuration query request and the upgrade task request are automatically sent, and the upgrade test operation is performed according to the upgrade task ID sent by the cloud platform, and the test is cycled until the end condition or rescue task is reached. Implement automated testing of different models.
There is no need to manually write tedious test scripts, which realizes automated testing of remote upgrades of vehicles, improves testing efficiency, and can automatically judge and implement rescue to meet the upgrade needs of different models.
Smart Images

Figure CN119232625A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle upgrade testing, and in particular to a vehicle remote upgrade testing method, device, electronic equipment and medium. Background Art
[0002] Over-the-Air (OTA) automotive remote upgrade technology allows for remote management of firmware, data, and applications on vehicle components and terminals via mobile communication networks (2G / 3G / 4G or Wi-Fi). OTA technology is implemented in three steps: first, the update software is uploaded to an OTA center, then the OTA center wirelessly transmits the update software to the vehicle, and finally, the vehicle automatically updates the software.
[0003] Automotive OTA upgrade technology has now been applied by major OEMs to their respective models to implement vehicle software fault repair iterations, new vehicle functions, etc. With the widespread application of automotive OTA, users have increasingly higher requirements for the stability of OTA upgrades, because upgrade failures may render the vehicle unusable. Therefore, OEMs need to conduct a large number of full-scale tests on automotive OTA upgrades to ensure that the success rate of OTA upgrades reaches 99.99% (i.e., one failure in 10,000 upgrades). If such a large number of tests are done manually, the efficiency is extremely low, so automated testing is particularly important. Automated testing requires writing automated test scripts, but such automated test scripts still have the following problems: (1) The main function of the OTA automated test script is to enable the car to complete a large number of OTA upgrade tests, but the script configuration is cumbersome and extremely inconvenient for testers to use; (2) Since the ECU parts of different vehicle models may be different (from different suppliers), different upgrade tasks need to be configured for each vehicle model project and automated testing needs to be performed. The existing automated test scripts can only use one upgrade task to test one vehicle model project, which cannot meet this requirement.
[0004] In view of this, the present invention is proposed. Summary of the Invention
[0005] The purpose of the present invention is to provide a vehicle remote upgrade test method, device, electronic equipment and medium to solve the problems of the existing technology that the OTA automated test script configuration is cumbersome and inconvenient to use and cannot be automated tested on different vehicle models.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions: In a first aspect, the present invention provides a vehicle remote upgrade test method, which is applied to a vehicle, comprising: Respond to vehicle remote upgrade test instructions and send vehicle configuration query requests to the cloud platform; Send an upgrade task request to the cloud platform based on the vehicle configuration information sent by the cloud platform; Performing a first upgrade test operation according to the upgrade task ID sent by the cloud platform; the first upgrade test operation includes: sending a start test request to the cloud platform, so that the cloud platform sends a start test instruction to the OTA upgrade program after receiving the start test request, thereby causing the OTA upgrade program to execute the upgrade task; Performing a second target operation, where the second target operation includes: If the first upgrade test operation is successful and the vehicle power level is greater than a preset power level, the first upgrade test operation is executed cyclically until a test end condition is met; If the first upgrade test operation fails and the vehicle power is greater than the preset power, a rescue mission request is sent to the cloud platform.
[0007] As a further preferred technical solution, before responding to the vehicle remote upgrade test instruction and sending the vehicle configuration query request to the cloud platform, it also includes: obtaining a message notification channel and a preset number of tests.
[0008] As a further preferred technical solution, after executing the first upgrade test operation according to the upgrade task ID sent by the cloud platform, the method further includes: Send an upgrade status query request to the cloud platform; Receive the upgrade status sent by the cloud platform, and send the upgrade status to the message notification channel.
[0009] As a further preferred technical solution, when the first upgrade test operation is successful and the vehicle power is greater than a preset power, the first upgrade test operation is cyclically executed until the test end condition is met, including: If the first upgrade test operation is successful and the vehicle power level is greater than a preset power level, sending an upgrade cancellation request to the cloud platform, the upgrade cancellation request including the upgrade task ID; cyclically executing the first upgrade test operation until a test end condition is reached; The test termination conditions include: the vehicle power is lower than a preset power, or the upgrade test times reach a preset test times.
[0010] As a further preferred technical solution, when the first upgrade test operation fails and the vehicle power is greater than a preset power, after sending the rescue mission request to the cloud platform, the method further includes: Receive the rescue mission ID sent by the cloud platform and perform the first upgrade test operation; The second target operation is performed.
[0011] As a further preferred technical solution, after executing the second target operation, it also includes: summarizing the upgrade data and sending the upgrade data to the message notification channel; the upgrade data includes: the total number of upgrades, the number of successful upgrades, the number of failed upgrades and the number of rescues for each ECU.
[0012] In a second aspect, the present invention provides a vehicle remote upgrade test method, which is applied to a cloud platform and includes: Send vehicle configuration information to the vehicle side according to the vehicle configuration query request sent by the vehicle side; According to the upgrade task request sent by the vehicle side, send the upgrade task ID to the vehicle side; According to the start test request sent by the vehicle end, send a start test instruction to the OTA upgrade program to enable the OTA upgrade program to perform the upgrade task; According to the rescue mission request sent by the vehicle side, the rescue mission ID is sent to the vehicle side.
[0013] In a third aspect, the present invention provides a vehicle remote upgrade test device, which is applied to a vehicle, comprising: The vehicle configuration query request module is used to respond to the vehicle remote upgrade test instruction and send the vehicle configuration query request to the cloud platform; An upgrade task request module is used to send an upgrade task request to the cloud platform based on the vehicle configuration information sent by the cloud platform; A first upgrade test operation execution module, configured to execute a first upgrade test operation according to an upgrade task ID sent by the cloud platform; the first upgrade test operation comprising: sending a start test request to the cloud platform, so that the cloud platform sends a start test instruction to the OTA upgrade program after receiving the start test request, thereby causing the OTA upgrade program to execute the upgrade task; The second target operation execution module is configured to execute a second target operation, where the second target operation includes: If the first upgrade test operation is successful and the vehicle power level is greater than a preset power level, the first upgrade test operation is executed cyclically until a test end condition is met; If the first upgrade test operation fails and the vehicle power is greater than the preset power, a rescue mission request is sent to the cloud platform.
[0014] In a third aspect, the present invention provides an electronic device, comprising: at least one processor, and a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by at least one of the processors, and the instructions are executed by at least one of the processors to enable at least one of the processors to perform the above method.
[0015] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions are used to enable a computer to execute the above method.
[0016] Compared with the prior art, the present invention has the following beneficial effects: The vehicle remote upgrade test method provided by the present invention includes responding to a vehicle remote upgrade test instruction, sending a vehicle configuration query request to a cloud platform; sending an upgrade task request to the cloud platform based on the vehicle configuration information sent by the cloud platform; performing a first upgrade test operation based on the upgrade task ID sent by the cloud platform; the first upgrade test operation includes: sending a start test request to the cloud platform so that the cloud platform sends a start test instruction to the OTA upgrade program after receiving the start test request, thereby causing the OTA upgrade program to perform the upgrade task; performing a second target operation, the second target operation including: if the first upgrade test operation is successful and the vehicle battery level is greater than a preset power level, looping the first upgrade test operation until a test end condition is met; if the first upgrade test operation fails and the vehicle battery level is greater than a preset power level, sending a rescue task request to the cloud platform. After receiving the vehicle remote upgrade test instruction, the method can automatically send a vehicle configuration query request, send an upgrade task request, perform the first upgrade test operation, and perform the second target operation to achieve automatic testing of the vehicle remote upgrade until the test end condition is met. This method does not require manual writing of a large number of cumbersome test scripts, is convenient for testers to use, and can achieve automated testing for different vehicle models.
[0017] This method can start the test with one click, without the need to manually configure the upgrade task on the cloud platform. It automatically generates full-matching tasks for each vehicle's parts configuration, determines the upgrade results, and automatically rescues ECUs that fail to upgrade without manual intervention. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0019] Figure 1 1 is a flow chart of the vehicle remote upgrade test method provided in Example 1; Figure 2 2 is a flow chart of a vehicle remote upgrade test method provided in Example 2; Figure 3 is a schematic structural diagram of a vehicle in-situ steering control device provided in Example 3; Figure 4 is a schematic structural diagram of a vehicle in-situ steering control device provided in Example 4; Figure 5 It is a structural diagram of the electronic device provided in Example 5. DETAILED DESCRIPTION
[0020] The following description of exemplary embodiments of the present application is made in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding. These details should be considered as merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0021] Example 1 Figure 1 This is a flowchart of a vehicle remote upgrade test method provided in this embodiment. The method can be executed by a vehicle remote upgrade test device. The device can be composed of software and / or hardware and is generally integrated in an electronic device. The electronic device can be a vehicle-mounted central control screen or other mobile terminal (such as a smart phone, tablet computer, etc.). For ease of understanding, each step in the control method of this embodiment is executed with the vehicle-mounted central control screen as the execution body.
[0022] like Figure 1 As shown, this embodiment provides a vehicle remote upgrade test method, which is applied to the vehicle side and includes the following steps: S110 , responding to the vehicle remote upgrade test instruction, sending a vehicle configuration query request to the cloud platform.
[0023] Among them, the "vehicle remote upgrade test command" refers to the test command generated by the tester clicking or touching the corresponding remote upgrade test button (physical button or virtual button) on the vehicle's central control screen.
[0024] The vehicle configuration query request includes a device identifier or production device identification number. The device identifier (DeviceId) or production device identification number (PDID) has a one-to-one correspondence with the vehicle identification number (VIN). Therefore, including the device identifier or production device identification number in the vehicle configuration query request facilitates the cloud platform's extraction of the vehicle configuration information corresponding to the vehicle. The cloud platform and the vehicle can be connected wirelessly. The cloud platform stores the vehicle model and its corresponding configuration information, enabling the generation of upgrade task IDs, test start instructions, and rescue task IDs.
[0025] S120. Send an upgrade task request to the cloud platform based on the vehicle configuration information sent by the cloud platform.
[0026] The "vehicle configuration information" includes vehicle component information, i.e., the components included in the vehicle, such as the BCM (body control unit) and VCU (vehicle control unit). The upgrade task request includes the current ECU version information for all vehicle components.
[0027] Optionally, sending the upgrade task request to the cloud platform based on the vehicle configuration information sent by the cloud platform includes querying ECU version information of each component based on the vehicle configuration information sent by the cloud platform, and sending the upgrade task request to the cloud platform. The above "query" refers to a local query, i.e., a query performed on the vehicle. The ECU version information is not included in the vehicle configuration information sent by the cloud platform.
[0028] S130. Execute a first upgrade test operation according to the upgrade task ID sent by the cloud platform; the first upgrade test operation includes: sending a start test request to the cloud platform, so that the cloud platform sends a start test instruction to the OTA upgrade program after receiving the start test request, thereby causing the OTA upgrade program to execute the upgrade task.
[0029] It should be noted that OTA upgrade tasks can be roughly divided into the following three types: 1. Ordinary tasks, that is, low-to-high version, that is, the existing version is a low version (such as version 1), and the version to be upgraded is a high version (such as version 2); 2. Forced tasks, that is, there is no version restriction, which can be low-to-high version, same version upgrade, and downgrade. Among them, same version upgrade means that the existing version and the version to be upgraded are the same version, for example, both are version 1, and downgrade means that the existing version is a high version (such as version 2), and the version to be upgraded is a low version (such as version 1); 3. Rescue tasks, that is, when the ECU upgrade fails and the rollback also fails, and the ECU cannot work normally, the rescue task will automatically download and upgrade, and will not check the upgrade conditions (such as blocking Rollback means executing the upgrade again after the original upgrade fails. If the original upgrade task is a normal task (such as upgrading from version 1 to version 2), after the normal task fails, execute the normal task again (such as upgrading from version 1 to version 2). Upgrade conditions include but are not limited to vehicle speed below 3km / h, gear must be in P gear, brake is in park state, fuel cap is closed, charging gun is not connected, power battery power is greater than 15%, battery power is greater than 65%, no OBD diagnostic input is required, and battery voltage is greater than 12.5V. Before executing normal tasks and mandatory tasks, the above conditions must be met before execution. It is not required for rescue tasks.
[0030] The "upgrade task" in this embodiment is a mandatory task and can be automatically downloaded and installed. The "upgrade task ID" refers to the upgrade task identifier. The "start test request" includes the upgrade task ID / rescue task ID and the device identifier / production equipment identification number. The "upgrade task ID" here specifically refers to the "mandatory task ID." Because the cloud platform is required to assign the upgrade task to this vehicle, the device identifier / production equipment identification number is included in the start test request to avoid deviations in the upgraded vehicle. The "rescue task ID" refers to the rescue task identifier.
[0031] The upgrade task in this embodiment is completed by the OTA upgrade program, which can be integrated into the T-BOX or the vehicle's central control screen. The OTA upgrade program is an existing program, and its upgrade steps adopt the steps specified by the program itself. This embodiment does not change this. After receiving the start test instruction, the OTA upgrade program (1) first queries the ECU version information of each component, (2) then sends a new version detection request to the cloud platform to detect the new version of each component ECU; (3) After receiving the detection request, the cloud platform determines whether there is an upgrade task for the vehicle. If there is an upgrade task, the ECU version of the component in the upgrade task is verified with the reported ECU version of the component. If the ECU version of the component in the upgrade task is higher than the reported ECU version of the component, the upgrade task is a mandatory task, or the upgrade task is a rescue task, the cloud platform returns the upgrade task information (task ID, upgrade package download link, upgrade order, etc.) to the OTA upgrade program; (4) After receiving the new version information, the OTA upgrade program automatically downloads and installs according to the upgrade task information, and reports the download progress, download results, upgrade progress, upgrade results, etc.
[0032] It should be noted that since this embodiment does not change the execution steps of the OTA upgrade program, and this step has received the upgrade task ID sent by the cloud platform, there must be an upgrade task, and the upgrade task is a mandatory task. Therefore, the result of "determining whether the vehicle has an upgrade task" in step (3) above is affirmative, and the step of "returning upgrade task information" will also be executed.
[0033] S140: Execute a second target operation, where the second target operation includes: If the first upgrade test operation is successful and the vehicle power level is greater than a preset power level, the first upgrade test operation is executed cyclically until a test end condition is met; If the first upgrade test operation fails and the vehicle power is greater than the preset power, a rescue mission request is sent to the cloud platform.
[0034] Among them, "the first upgrade test operation is successful" means that the start test request is successfully sent to the cloud platform, and the upgrade task executed by the final OTA upgrade program is successful. If the upgrade task fails, it is considered that the first upgrade test operation has failed. The rescue task request contains the information of the ECU that failed this upgrade test; The second target operation of this step is actually divided into two categories according to whether the first upgrade test operation is successful. Specifically, when the first upgrade test operation is successful and the vehicle power is greater than the preset power, the first upgrade test operation is executed in a loop until the test end condition is reached; when the first upgrade test operation fails and the vehicle power is greater than the preset power, a rescue mission request is sent to the cloud platform.
[0035] Optionally, when the first upgrade test operation is successful and the vehicle power level is greater than a preset power level, looping through the first upgrade test operation until a test termination condition is met includes: If the first upgrade test operation is successful and the vehicle power level is greater than a preset power level, sending an upgrade cancellation request to the cloud platform, the upgrade cancellation request including the upgrade task ID; cyclically executing the first upgrade test operation until a test end condition is reached; The test termination conditions include: the vehicle power is lower than a preset power, or the upgrade test times reach a preset test times.
[0036] It should be noted that since the upgrade task ID is included in the start test request, the upgrade task ID will be included in the first upgrade test operation. Therefore, after the first upgrade operation is successful and the vehicle power is greater than the preset power, it is necessary to first send a cancellation upgrade request (including the upgrade task ID) to the cloud platform, that is, the cloud platform needs to cancel the original upgrade task ID first, and then the first upgrade task operation executed in the cycle will not be limited by the upgrade task ID originally established by the cloud platform.
[0037] In this embodiment, if the first upgrade test operation is successful and the vehicle's battery level is greater than a preset level, a cancellation request is first sent to the cloud platform. This cancellation request includes the upgrade task ID. The first upgrade test operation is then executed repeatedly until the test termination condition is met. Because the first upgrade test operation includes sending a start test request to the cloud platform, the upgrade task ID is also included with each execution of this operation. The test ends when the vehicle's battery level falls below a preset level (e.g., 15%) or the number of upgrade tests reaches a preset number (e.g., 5000).
[0038] Optionally, when the first upgrade test operation fails and the vehicle power level is greater than a preset power level, after sending the rescue mission request to the cloud platform, the method further includes: Receive the rescue mission ID sent by the cloud platform and perform the first upgrade test operation; The second target operation is performed.
[0039] In this embodiment, if the first upgrade test fails and the vehicle's battery level is greater than a preset level, a rescue mission request is sent to the cloud platform, followed by a rescue mission ID received from the cloud platform. Because the rescue mission request includes information about the ECU that failed the upgrade test, this rescue mission ID differs from the upgrade mission ID used during the failed upgrade test. This rescue mission ID is then used in the start test request during the first upgrade test. After executing the first upgrade test, the second target operation is executed, thereby implementing a test loop that includes loops following a successful upgrade, a successful rescue, and a failed rescue, thereby achieving uninterrupted testing until the test termination condition is met.
[0040] The above-mentioned vehicle remote upgrade test method includes responding to a vehicle remote upgrade test instruction and sending a vehicle configuration query request to a cloud platform; sending an upgrade task request to the cloud platform based on the vehicle configuration information sent by the cloud platform; and executing a first upgrade test operation based on the upgrade task ID sent by the cloud platform. The first upgrade test operation includes: sending a start test request to the cloud platform so that the cloud platform sends a start test instruction to the OTA upgrade program after receiving the start test request, thereby causing the OTA upgrade program to execute the upgrade task; and executing a second target operation, the second target operation including: if the first upgrade test operation is successful and the vehicle battery level is greater than a preset power level, looping the first upgrade test operation until a test end condition is met; if the first upgrade test operation fails and the vehicle battery level is greater than a preset power level, sending a rescue task request to the cloud platform. After receiving the vehicle remote upgrade test instruction, the method can automatically send a vehicle configuration query request, send an upgrade task request, execute the first upgrade test operation, and execute the second target operation to achieve automatic testing of the vehicle remote upgrade until the test end condition is met. This method eliminates the need to manually write a large number of cumbersome test scripts, is easy for testers to use, and can achieve automated testing for different vehicle models.
[0041] In an optional embodiment, before responding to the vehicle remote upgrade test instruction and sending the vehicle configuration query request to the cloud platform, it also includes: obtaining a message notification channel and a preset number of tests. The message notification channel refers to a channel used to notify relevant test messages, including but not limited to DingTalk, Enterprise WeChat, Feishu, etc., which can be determined by the tester. The preset number of tests can also be selected by the tester. If the tester does not select the preset number of tests, the preset number of tests will be set as the default value. The default value is a very large value, such as 100,000 times or If the preset number of tests cannot be obtained, this item will be empty, and the test will end when the vehicle's battery level is lower than the preset level.
[0042] In an optional implementation, after performing the first upgrade test operation according to the upgrade task ID sent by the cloud platform, the method further includes: Send an upgrade status query request to the cloud platform; Receive the upgrade status sent by the cloud platform, and send the upgrade status to the message notification channel.
[0043] The above steps are performed in real time after the first upgrade test operation is performed, that is, they are performed once every time the first upgrade test operation is performed, so that the tester can grasp and view the upgrade status in real time. It should be noted that the upgrade status is sent by the cloud platform, and the data on the cloud platform is reported by the OTA upgrade program.
[0044] In an optional embodiment, after executing the second target operation, the system further comprises: aggregating upgrade data and sending it to a message notification channel; the upgrade data includes the total number of upgrades, number of successful upgrades, number of failed upgrades, and number of rescue attempts for each ECU. By aggregating and sending upgrade data, this embodiment enables testers to fully understand the upgrade status of each ECU, thereby optimizing the OTA upgrade process and improving the success rate of remote upgrades. This upgrade data is obtained from the cloud platform.
[0045] Example 2 Figure 2 A vehicle remote upgrade test method provided in this embodiment is shown, which is applied to a cloud platform and includes the following steps: S210: Send vehicle configuration information to the vehicle side according to the vehicle configuration query request sent by the vehicle side.
[0046] S220: Send the upgrade task ID to the vehicle side according to the upgrade task request sent by the vehicle side.
[0047] S230. According to the start test request sent by the vehicle end, a start test instruction is sent to the OTA upgrade program, so that the OTA upgrade program performs the upgrade task.
[0048] Referring to the interaction between the cloud platform and the OTA upgrade program in Example 1, it can be seen that the sending of the start test instruction to the OTA upgrade program so that the OTA upgrade program performs the upgrade task includes: sending the start test instruction to the OTA upgrade program, receiving the new version detection request of each part ECU sent by the OTA upgrade program, determining whether the vehicle has an upgrade task, determining the type of upgrade task, and sending the upgrade task information to the OTA upgrade program so that the OTA upgrade program performs the upgrade task.
[0049] S240. Send the rescue mission ID to the vehicle side according to the rescue mission request sent by the vehicle side.
[0050] The above-mentioned vehicle remote upgrade test method corresponds to the vehicle remote upgrade test method described in Example 1. The two methods cooperate to jointly implement vehicle remote upgrade testing.
[0051] Example 3 like Figure 3 As shown, this embodiment provides a vehicle remote upgrade test device, which is applied to the vehicle side and includes: The vehicle configuration query request module 101 is used to respond to the vehicle remote upgrade test instruction and send a vehicle configuration query request to the cloud platform; An upgrade task request module 102 is configured to send an upgrade task request to the cloud platform based on the vehicle configuration information sent by the cloud platform; A first upgrade test operation execution module 103 is configured to execute a first upgrade test operation according to the upgrade task ID sent by the cloud platform. The first upgrade test operation includes: sending a start test request to the cloud platform, so that the cloud platform sends a start test instruction to the OTA upgrade program after receiving the start test request, thereby causing the OTA upgrade program to execute the upgrade task; The second target operation execution module 104 is configured to execute a second target operation, where the second target operation includes: If the first upgrade test operation is successful and the vehicle power level is greater than a preset power level, the first upgrade test operation is executed cyclically until a test end condition is met; If the first upgrade test operation fails and the vehicle power is greater than the preset power, a rescue mission request is sent to the cloud platform.
[0052] The device is used to execute the method described in Example 1, and thus has at least functional modules and beneficial effects corresponding to the above method.
[0053] Example 4 like Figure 4 As shown, this embodiment provides a vehicle remote upgrade test device, which is applied to a cloud platform and includes: The vehicle configuration information sending module 201 is used to send the vehicle configuration information to the vehicle end according to the vehicle configuration query request sent by the vehicle end; The upgrade task ID sending module 202 is used to send the upgrade task ID to the vehicle end according to the upgrade task request sent by the vehicle end; A start test instruction sending module 203 is used to send a start test instruction to the OTA upgrade program according to the start test request sent by the vehicle end, so that the OTA upgrade program performs the upgrade task; The rescue mission ID sending module 204 is used to send the rescue mission ID to the vehicle side according to the rescue mission request sent by the vehicle side.
[0054] The device is used to execute the method described in Example 2, and thus has at least functional modules and beneficial effects corresponding to the above method.
[0055] Example 5 like Figure 5 As shown, this embodiment provides an electronic device, including: at least one processor; and a memory communicatively connected to at least one of the processors; wherein, The memory stores instructions executable by at least one processor, and the instructions are executed by at least one processor to enable at least one processor to perform the above method. The at least one processor in the electronic device is capable of performing the above method, thereby having at least the same advantages as the above method.
[0056] Optionally, the electronic device also includes interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of a GUI (Graphical User Interface) on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors can be used with multiple memories, and / or multiple buses can be used with multiple memories. Similarly, multiple electronic devices can be connected (for example, as a server array, a group of blade servers, or a multi-processor system), with each device providing part of the necessary operations. Figure 5 A processor 301 is taken as an example.
[0057] Memory 302, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the vehicle remote upgrade test method in embodiments of the present invention (e.g., the vehicle configuration query request module, upgrade task request module, first upgrade test operation execution module, and second target operation execution module in the vehicle remote upgrade test device). Processor 301 executes the software programs, instructions, and modules stored in memory 302 to execute various functional applications and data processing of the device, thereby implementing the aforementioned vehicle remote upgrade test method.
[0058] The memory 302 may primarily include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function; the data storage area may store data created based on the use of the terminal, etc. Furthermore, the memory 302 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 302 may further include a memory remotely located relative to the processor 301, and these remote memories may be connected to the device via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0059] The electronic device may further include: an input device 303 and an output device 304. The processor 301, the memory 302, the input device 303 and the output device 304 may be connected via a bus or other means. Figure 5 The bus connection is taken as an example.
[0060] The input device 303 can receive input digital or character information, and the output device 304 can include a display device, an auxiliary lighting device (e.g., an LED), a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light-emitting diode (LED) display, and a plasma display. In some embodiments, the display device may be a touch screen.
[0061] Example 6 This embodiment provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to cause a computer to execute the above method. The computer instructions on the computer-readable storage medium are used to cause a computer to execute the above method, thereby having at least the same advantages as the above method.
[0062] The medium in the present invention may adopt any combination of one or more computer-readable media. The medium may be a computer-readable signal medium or a computer-readable storage medium. The medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples of media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or device.
[0063] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0064] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the foregoing.
[0065] Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0066] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this application can be achieved. This is not a limitation herein.
[0067] The above specific embodiments do not constitute a limitation on the scope of protection of this application. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application shall be included within the scope of protection of this application.
Claims
1. A vehicle remote upgrade test method, characterized in that: Applied to the vehicle side, including: Respond to the vehicle remote upgrade test command and send a vehicle configuration query request to the cloud platform; Send an upgrade task request to the cloud platform based on the vehicle configuration information sent by the cloud platform; Execute a first upgrade test operation according to the upgrade task ID sent by the cloud platform; the first upgrade test operation includes: sending a start test request to the cloud platform, so that the cloud platform sends a start test instruction to the OTA upgrade program after receiving the start test request, thereby causing the OTA upgrade program to execute the upgrade task; Performing a second target operation, wherein the second target operation includes: If the first upgrade test operation is successful and the vehicle power is greater than a preset power, the first upgrade test operation is executed cyclically until a test end condition is met; When the first upgrade test operation fails and the vehicle power is greater than the preset power, a rescue mission request is sent to the cloud platform.
2. The vehicle remote upgrade test method according to claim 1, characterized in that: Before responding to the vehicle remote upgrade test instruction and sending a vehicle configuration query request to the cloud platform, it also includes: obtaining a message notification channel and a preset test number.
3. The vehicle remote upgrade test method according to claim 1, characterized in that: After executing the first upgrade test operation according to the upgrade task ID sent by the cloud platform, the method further includes: Send an upgrade status query request to the cloud platform; Receive the upgrade status sent by the cloud platform, and send the upgrade status to the message notification channel.
4. The vehicle remote upgrade test method according to claim 1, characterized in that: When the first upgrade test operation is successful and the vehicle power is greater than a preset power, the first upgrade test operation is cyclically executed until a test end condition is met, including: If the first upgrade test operation is successful and the vehicle power is greater than a preset power, sending a request to cancel the upgrade to the cloud platform, wherein the request to cancel the upgrade includes the upgrade task ID; Execute the first upgrade test operation in a loop until the test end condition is reached; The test termination conditions include: the vehicle power is lower than a preset power, or the upgrade test times reach a preset test times.
5. The vehicle remote upgrade test method according to claim 1, characterized in that: In the case where the first upgrade test operation fails and the vehicle power is greater than the preset power, after sending the rescue mission request to the cloud platform, the method further includes: Receive the rescue mission ID sent by the cloud platform and perform the first upgrade test operation; The second target operation is performed.
6. The vehicle remote upgrade test method according to claim 1, characterized in that: After executing the second target operation, it also includes: summarizing the upgrade data and sending the upgrade data to a message notification channel; the upgrade data includes: the total number of upgrades, the number of successful upgrades, the number of failed upgrades and the number of rescues of each ECU.
7. A vehicle remote upgrade test method, characterized in that: Applied to cloud platforms, including: Send vehicle configuration information to the vehicle end according to the vehicle configuration query request sent by the vehicle end; According to the upgrade task request sent by the vehicle end, send the upgrade task ID to the vehicle end; According to the start test request sent by the vehicle end, a start test instruction is sent to the OTA upgrade program, so that the OTA upgrade program performs the upgrade task; According to the rescue mission request sent by the vehicle side, the rescue mission ID is sent to the vehicle side.
8. A vehicle remote upgrade test device, characterized in that: Applied to the vehicle side, including: The vehicle configuration query request module is used to respond to the vehicle remote upgrade test instruction and send a vehicle configuration query request to the cloud platform; An upgrade task request module, used to send an upgrade task request to the cloud platform according to the vehicle configuration information sent by the cloud platform; A first upgrade test operation execution module, configured to execute a first upgrade test operation according to an upgrade task ID sent by the cloud platform; the first upgrade test operation includes: sending a start test request to the cloud platform, so that the cloud platform sends a start test instruction to the OTA upgrade program after receiving the start test request, thereby causing the OTA upgrade program to execute the upgrade task; The second target operation execution module is used to execute a second target operation, where the second target operation includes: If the first upgrade test operation is successful and the vehicle power is greater than a preset power, the first upgrade test operation is executed cyclically until a test end condition is met; When the first upgrade test operation fails and the vehicle power is greater than the preset power, a rescue mission request is sent to the cloud platform.
9. An electronic device, characterized in that: include: at least one processor, and a memory communicatively coupled to at least one of the processors; The memory stores instructions executable by at least one of the processors, and the instructions are executed by at least one of the processors so that the at least one processor can execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Vehicle-based version test method and device and electronic equipment
CN115437915A
Task-based whole vehicle OTA software upgrading method and device
CN117519756A
Vehicle OTA upgrading method, device and equipment and computer readable storage medium
CN118264559A
Automatic OTA rescue upgrading method and device, electronic equipment and storage medium
CN118474720A
Remote upgrade method and apparatus for vehicle, and server
WO2022227755A1
