Vehicle remote upgrade methods and devices
By detecting and ensuring that the remote upgrade process meets preset conditions, the problem of incorrect procedures in remote vehicle upgrades has been solved, thereby improving the vehicle's intelligence level and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHERY AUTOMOBILE CO LTD
- Filing Date
- 2023-10-08
- Publication Date
- 2026-08-04
AI Technical Summary
In existing technologies, the upgrade process, communication methods, and security access algorithms of each controller differ during the remote upgrade process of automobiles, resulting in incorrect upgrade processes, reduced vehicle intelligence levels, and a poor user experience.
By downloading upgrade files from a preset OTA server, obtaining the target data domain, and checking whether the target upgrade process, diagnostic communication type, and security access algorithm meet preset conditions, remote upgrades are only performed when the conditions are met, ensuring the correctness of the upgrade process.
It improves the reliability and accuracy of remote vehicle upgrades, and enhances the vehicle's intelligence level and user experience.
Smart Images

Figure CN117234560B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive electronics technology, and in particular to a method and apparatus for remotely upgrading automobiles. Background Technology
[0002] With the continuous improvement of the intelligence of automotive parts, there will be more and more software installed in the future. Whether the vehicle encounters software failure or software update, the offline service station recall mode can no longer meet the best choice for user experience.
[0003] Among related technologies, remote upgrade technology is used to repair software defects by remotely pushing data packets, thereby reducing the risk of vehicle recalls through offline service stations and the uncontrollable recall costs when vehicles encounter software failures or software updates.
[0004] However, due to the differences in upgrade processes, communication methods, and security access algorithms used by each controller in remote upgrade technology, the correctness of the upgrade process during remote vehicle upgrades cannot be guaranteed, which reduces the vehicle's intelligence level and the user's driving experience, and urgently needs to be addressed. Summary of the Invention
[0005] This application provides a method and apparatus for remote vehicle upgrades to address the problem in related technologies where the upgrade process, communication method, and security access algorithm used by each controller differ, making it impossible to ensure the correctness of the upgrade process during remote vehicle upgrades, thus reducing the vehicle's intelligence level and the user's driving experience.
[0006] The first aspect of this application provides a method for remotely upgrading a vehicle, comprising the following steps: downloading an upgrade file for at least one target controller from a preset OTA (Over-the-Air Technology) server, and obtaining a target data field from the upgrade file; reading the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data field, and detecting whether the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data field are all within preset upgrade conditions; if the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data field are all within the preset upgrade conditions, then performing a remote vehicle upgrade using the upgrade file.
[0007] Optionally, in one embodiment of this application, the upgrade file is a file of the SORecord data field, wherein the file adopts the S19 file format and the S19 file format adopts SORecord.
[0008] Optionally, in one embodiment of this application, detecting whether the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data domain are within preset upgrade conditions includes: detecting whether the data information of the target upgrade process in the file of the SORecord data domain meets the process range of the preset upgrade conditions, wherein if the process range is met, the target upgrade process is determined to meet the preset upgrade conditions; detecting whether the target diagnostic communication type in the file of the SORecord data domain meets the diagnostic communication type range of the preset upgrade conditions, wherein if the diagnostic communication type range is met, the target diagnostic communication type is determined to meet the preset upgrade conditions; and detecting whether the target security access algorithm in the file of the SORecord data domain meets the security access algorithm range of the preset upgrade conditions, wherein if the security access algorithm range is met, the target security access algorithm is determined to meet the preset upgrade conditions.
[0009] Optionally, in one embodiment of this application, the step of detecting whether the target upgrade process, target diagnostic communication type and target security access algorithm in the target data domain are within the preset upgrade conditions further includes: if the target upgrade process, target diagnostic communication type and target security access algorithm in the target data domain are not within the preset upgrade conditions, then the remote vehicle upgrade is prohibited.
[0010] Optionally, in one embodiment of this application, after the remote vehicle upgrade is not allowed, the method further includes: generating an upgrade failure report based on the target data field that is not within the preset upgrade conditions, and sending the report to a preset terminal.
[0011] Optionally, in one embodiment of this application, after performing the remote vehicle upgrade using the upgrade file, the method further includes: sending the remote vehicle upgrade reminder to the preset terminal.
[0012] Optionally, in one embodiment of this application, both the target diagnostic communication type and the target secure access algorithm include at least one of diagnostic ID, data length, and data stream.
[0013] A second aspect of this application provides a vehicle remote upgrade device, comprising: an acquisition module, configured to download an upgrade file for at least one target controller from a preset OTA server and acquire a target data field in the upgrade file; a detection module, configured to read a target upgrade process, a target diagnostic communication type, and a target security access algorithm in the target data field, and detect whether the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data field are all within preset upgrade conditions; and a control module, configured to perform a remote vehicle upgrade using the upgrade file if the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data field are all within the preset upgrade conditions.
[0014] Optionally, in one embodiment of this application, the upgrade file is a file of the SORecord data field, wherein the file adopts the S19 file format and the S19 file format adopts SORecord.
[0015] Optionally, in one embodiment of this application, the detection module includes: a first detection unit, configured to detect whether the data information of the target upgrade process in the file of the SORecord data domain meets the process range of the preset upgrade conditions, wherein if the process range is met, the target upgrade process is determined to meet the preset upgrade conditions; a second detection unit, configured to detect whether the target diagnostic communication type in the file of the SORecord data domain meets the diagnostic communication type range of the preset upgrade conditions, wherein if the diagnostic communication type range is met, the target diagnostic communication type is determined to meet the preset upgrade conditions; and a third detection unit, configured to detect whether the target secure access algorithm in the file of the SORecord data domain meets the secure access algorithm range of the preset upgrade conditions, wherein if the secure access algorithm range is met, the target secure access algorithm is determined to meet the preset upgrade conditions.
[0016] Optionally, in one embodiment of this application, the detection module further includes a control unit, configured to prohibit the remote vehicle upgrade if the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data domain are not within the preset upgrade conditions.
[0017] Optionally, in one embodiment of this application, the apparatus of this application embodiment further includes: a generation module, configured to generate an upgrade failure report based on the target data field that is not within the preset upgrade conditions after the remote upgrade of the vehicle is not permitted, and send the report to a preset terminal.
[0018] Optionally, in one embodiment of this application, the apparatus further includes: a sending module, configured to send a remote vehicle upgrade reminder to the preset terminal after the vehicle is remotely upgraded using the upgrade file.
[0019] Optionally, in one embodiment of this application, both the target diagnostic communication type and the target secure access algorithm include at least one of diagnostic ID, data length, and data stream.
[0020] A third aspect of this application provides a vehicle, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle remote upgrade method as described in the above embodiments.
[0021] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described remote vehicle upgrade method.
[0022] This application embodiment can download upgrade files for at least one target controller from a preset OTA server, obtain the target data field from the upgrade file, and check whether the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data field are all within preset upgrade conditions. When all are within the preset upgrade conditions, the vehicle is remotely upgraded using the upgrade file, thereby ensuring the correctness of the upgrade process during remote upgrades, improving the vehicle's intelligence level, and enhancing the user's driving experience. This solves the problem in related technologies where the upgrade process, communication method, and security access algorithm used by each controller differ in remote upgrade technology, making it impossible to ensure the correctness of the upgrade process during remote upgrades, thus reducing the vehicle's intelligence level and the user's driving experience.
[0023] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0024] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0025] Figure 1 This is a flowchart of a remote vehicle upgrade method provided according to an embodiment of this application;
[0026] Figure 2 A schematic diagram illustrating the SOrecord format definition of a specific embodiment of this application;
[0027] Figure 3This is a flowchart of a specific embodiment of a vehicle remote upgrade method according to this application;
[0028] Figure 4 This is a schematic diagram of a vehicle remote upgrade device provided according to an embodiment of this application;
[0029] Figure 5 This is a structural schematic diagram of a vehicle provided according to an embodiment of this application. Detailed Implementation
[0030] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0031] The following description, with reference to the accompanying drawings, illustrates a method and apparatus for remote vehicle upgrades according to embodiments of this application. Addressing the problem mentioned in the background section of related technologies where the upgrade process, communication method, and security access algorithm used by each controller differ, the correctness of the upgrade process during remote vehicle upgrades cannot be guaranteed, leading to a reduction in vehicle intelligence and a lower user experience. This application provides a method for remote vehicle upgrades. In this method, an upgrade file for at least one target controller is downloaded from a preset OTA server. The target data field in the upgrade file is obtained, and it is checked whether the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data field are all within preset upgrade conditions. If all are within the preset upgrade conditions, the vehicle is remotely upgraded using the upgrade file, thereby ensuring the correctness of the upgrade process during remote vehicle upgrades, improving vehicle intelligence, and enhancing the user experience. This solves the problem in related technologies where the differences in the upgrade process, communication method, and security access algorithm used by each controller during remote upgrades prevent the guarantee of the correctness of the upgrade process during remote vehicle upgrades, reducing vehicle intelligence and lowering the user experience.
[0032] Specifically, Figure 1 This is a flowchart illustrating a method for remotely upgrading a vehicle, as provided in an embodiment of this application.
[0033] like Figure 1 As shown, the remote vehicle upgrade method includes the following steps:
[0034] In step S101, at least one upgrade file for a target controller is downloaded from a preset OTA server, and the target data field in the upgrade file is obtained.
[0035] It is understood that, according to the embodiments of this application, an upgrade file of at least one target controller in the following steps can be downloaded from the OTA server, thereby obtaining the target data field in the upgrade file, which effectively improves the executability of vehicle upgrade.
[0036] In one embodiment of this application, the upgrade file is a file in the SORecord data field, wherein the file adopts the S19 file format and the S19 file format adopts SORecord.
[0037] In actual implementation, such as Figure 2 As shown, in this embodiment of the application, the upgrade file is a file with an SORecord data field, and the data format in the upgrade file adopts the S19 file format, and the S19 file format adopts SORecord. The record type of SORecord is "S0", and the address field is set with zero (0x0000), thereby effectively improving the accuracy of the upgrade data.
[0038] In step S102, the target upgrade process, target diagnostic communication type and target security access algorithm in the target data domain are read, and it is checked whether the target upgrade process, target diagnostic communication type and target security access algorithm in the target data domain are all within the preset upgrade conditions.
[0039] It is understood that the embodiments of this application can read the target upgrade process, target diagnostic communication type and target security access algorithm in the target data domain, and detect whether the target upgrade process, target diagnostic communication type and target security access algorithm in the target data domain are all within the preset upgrade conditions in the following steps, effectively avoiding the controller from flashing the wrong upgrade file and improving the reliability of the vehicle.
[0040] In this embodiment of the application, the upgrade process, diagnostic communication type, and security access algorithm in the data domain can be customized, as shown in Table 1. Table 1 is a data domain format definition table, and the specific details of Table 1 are as follows:
[0041] Table 1
[0042]
[0043] For example, in S0050000010103F5(checksum), the upgrade process is EEA1.0, the diagnostic communication type is CAN, and the secure access algorithm is Algorithm 3.
[0044] It should be noted that the preset upgrade conditions are set by those skilled in the art based on the actual situation, and are not specifically limited here.
[0045] In one embodiment of this application, detecting whether the target upgrade process, target diagnostic communication type, and target secure access algorithm in the target data domain are within preset upgrade conditions includes: detecting whether the data information of the target upgrade process in the file of the SORecord data domain meets the process range of the preset upgrade conditions, wherein if the process range is met, the target upgrade process is determined to meet the preset upgrade conditions; detecting whether the target diagnostic communication type in the file of the SORecord data domain meets the diagnostic communication type range of the preset upgrade conditions, wherein if the diagnostic communication type range is met, the target diagnostic communication type is determined to meet the preset upgrade conditions; and detecting whether the target secure access algorithm in the file of the SORecord data domain meets the secure access algorithm range of the preset upgrade conditions, wherein if the secure access algorithm range is met, the target secure access algorithm is determined to meet the preset upgrade conditions.
[0046] For example, the OTA master node in this embodiment can download the upgrade file from the OTA server and read the upgrade process, diagnostic communication type, and security access algorithm from the S0 Record data field in the S19 file, as shown in Table 2. Table 2 is the upgrade file identification table, and the specific Table 2 is as follows:
[0047] Table 2
[0048]
[0049]
[0050] For example, embodiments of this application can detect whether the data information of the upgrade process in the SO Record data domain is 0x00 (EEA1.0)-0x02 (EEA3.0). If the process range is met, the upgrade process is determined to meet the upgrade conditions. It can also detect whether the diagnostic communication type in the SO Record data domain is 0x00 (CAN)-0x01 (Eth). If the diagnostic communication type range is met, the diagnostic communication type is determined to meet the upgrade conditions. Finally, it can detect whether the security access algorithm in the SO Record data domain is 0x00 (Algorithm 1)-0x02 (Algorithm 3). If the security access algorithm range is met, the security access algorithm is determined to meet the upgrade conditions.
[0051] In summary, when the upgrade process, diagnostic communication type, and secure access algorithm in the SOrecord data field of the S19 file in this application embodiment all meet the upgrade conditions, remote vehicle upgrade is performed, which effectively improves the reliability of remote vehicle upgrade and enhances vehicle safety.
[0052] Additionally, as shown in Table 2 of the above steps, in one embodiment of this application, both the target diagnostic communication type and the target secure access algorithm include at least one of diagnostic ID, data length, and data stream.
[0053] In one embodiment of this application, detecting whether the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data domain are within the preset upgrade conditions further includes: if the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data domain are not within the preset upgrade conditions, then remote vehicle upgrade is prohibited.
[0054] For example, as shown in Table 2 of the above steps, if the upgrade process, diagnostic communication type, and secure access algorithm in the data domain are not within the upgrade conditions, remote vehicle upgrades are prohibited, effectively improving the accuracy and reliability of remote vehicle upgrades.
[0055] In step S103, if the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data domain are all within the preset upgrade conditions, then the vehicle is remotely upgraded using the upgrade file.
[0056] It is understood that, in the embodiments of this application, if the target upgrade process, target diagnostic communication type and target secure access algorithm in the target data domain are all within the upgrade conditions, then the vehicle can be remotely upgraded using the upgrade file, which effectively improves the correctness of the vehicle remote upgrade and enhances the vehicle's security.
[0057] Optionally, in one embodiment of this application, after disallowing remote vehicle upgrades, the method further includes: generating an upgrade failure report based on the target data domain that is not within the preset upgrade conditions, and sending the report to a preset terminal.
[0058] In actual implementation, the embodiments of this application can automatically generate an upgrade failure report based on the target data domain that is not within the upgrade conditions, and send the report to a preset terminal, such as the vehicle terminal or the user's mobile phone, thereby improving the vehicle's intelligence level and interactivity.
[0059] It should be noted that the preset terminal is set by those skilled in the art according to the actual situation, and no specific limitation is made here.
[0060] Optionally, in one embodiment of this application, after performing a remote vehicle upgrade using the upgrade file, the method further includes: sending a remote vehicle upgrade reminder to a preset terminal.
[0061] For example, when a vehicle is undergoing a remote upgrade, this application embodiment can send a remote upgrade reminder to the user's mobile phone, thereby effectively improving the vehicle's interactivity.
[0062] like Figure 3 As shown below, the working principle of the embodiments of this application will be described in detail with a specific example.
[0063] Step S301: Read the contents of the SOrecord data field in the S19 file. That is, in this embodiment of the application, the upgrade process, diagnostic communication type and security access algorithm in the SOrecord data field of the S19 file can be read.
[0064] Step S302: Detect whether the upgrade process in the S0 Record data field is within the range of 0x00 (EEA1.0)-0x02 (EEA3.0). If the upgrade process is within the range, proceed to step S303; otherwise, proceed to step S306.
[0065] Step S303: Detect whether the diagnostic communication type in the S0 Record data field is within the range of 0x00 (CAN)-0x01 (Eth). If the diagnostic communication type range is met, proceed to step S304; otherwise, proceed to step S306.
[0066] Step S304: Detect whether the secure access algorithm in the S0 Record data field is within the range of 0x00 (algorithm 1) to 0x02 (algorithm 3). If the secure access algorithm range is met, proceed to step S305; otherwise, proceed to step S306.
[0067] Step S305: Identify the upgrade process, diagnostic communication type, and secure access algorithm used by the controller to perform remote vehicle upgrades, thereby improving the accuracy of remote vehicle upgrades.
[0068] Step S306: Exit upgrade. If the upgrade process, diagnostic communication type and secure access algorithm in the data domain are not within the upgrade conditions, remote vehicle upgrade is prohibited, thus improving the reliability of remote vehicle upgrade.
[0069] The vehicle remote upgrade method proposed in this application can download upgrade files for at least one target controller from a preset OTA server, obtain the target data field from the upgrade file, and check whether the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data field are all within preset upgrade conditions. If they are all within the preset upgrade conditions, the vehicle is remotely upgraded using the upgrade file, thereby ensuring the correctness of the upgrade process during remote upgrades, improving the vehicle's intelligence level, and enhancing the user's driving experience. This solves the problem in related technologies where the upgrade process, communication method, and security access algorithm used by each controller differ, making it impossible to ensure the correctness of the upgrade process during remote upgrades, thus reducing the vehicle's intelligence level and the user's driving experience.
[0070] Next, the vehicle remote upgrade device according to an embodiment of this application is described with reference to the accompanying drawings.
[0071] Figure 4 This is a block diagram of a remote vehicle upgrade device according to an embodiment of this application.
[0072] like Figure 4 As shown, the vehicle remote upgrade device 10 includes: an acquisition module 100, a detection module 200, and a control module 300.
[0073] Specifically, the acquisition module 100 is used to download an upgrade file for at least one target controller from a preset OTA server and acquire the target data field in the upgrade file.
[0074] The detection module 200 is used to read the target upgrade process, target diagnostic communication type and target security access algorithm in the target data domain, and to detect whether the target upgrade process, target diagnostic communication type and target security access algorithm in the target data domain are all within the preset upgrade conditions.
[0075] The control module 300 is used to perform remote vehicle upgrades using upgrade files if the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data domain are all within the preset upgrade conditions.
[0076] Optionally, in one embodiment of this application, the upgrade file is a file in the SORecord data field, wherein the file adopts the S19 file format and the S19 file format adopts SORecord.
[0077] Optionally, in one embodiment of this application, the detection module 200 includes: a first detection unit, a second detection unit, and a third detection unit.
[0078] The first detection unit is used to detect whether the data information of the target upgrade process in the file of SORecord data field meets the process range of the preset upgrade conditions. If the process range is met, the target upgrade process is determined to meet the preset upgrade conditions.
[0079] The second detection unit is used to detect whether the target diagnostic communication type in the file of the SORecord data field meets the range of diagnostic communication types under the preset upgrade conditions. If it meets the range of diagnostic communication types, the target diagnostic communication type is determined to meet the preset upgrade conditions.
[0080] The third detection unit is used to detect whether the target secure access algorithm in the file in the SORecord data field meets the preset upgrade conditions for the secure access algorithm range. If it meets the secure access algorithm range, the target secure access algorithm is determined to meet the preset upgrade conditions.
[0081] Optionally, in one embodiment of this application, the detection module 200 further includes a control unit.
[0082] The control unit is used to prohibit remote vehicle upgrades if the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data domain are not within the preset upgrade conditions.
[0083] Optionally, in one embodiment of this application, the apparatus 10 of this application embodiment further includes: a generation module.
[0084] The generation module is used to generate an upgrade failure report based on the target data field that is not within the preset upgrade conditions after remote vehicle upgrades are not permitted, and then send the report to the preset terminal.
[0085] Optionally, in one embodiment of this application, the apparatus 10 of this embodiment further includes a sending module.
[0086] The sending module is used to send a remote vehicle upgrade reminder to a preset terminal after the vehicle is remotely upgraded using the upgrade file.
[0087] Optionally, in one embodiment of this application, both the target diagnostic communication type and the target secure access algorithm include at least one of diagnostic ID, data length, and data stream.
[0088] It should be noted that the foregoing explanation of the vehicle remote upgrade method embodiment also applies to the vehicle remote upgrade device of this embodiment, and will not be repeated here.
[0089] The vehicle remote upgrade device proposed in this application can download upgrade files for at least one target controller from a preset OTA server, obtain the target data field from the upgrade file, and check whether the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data field are all within preset upgrade conditions. If they are all within the preset upgrade conditions, the vehicle is remotely upgraded using the upgrade file, thereby ensuring the correctness of the upgrade process during remote upgrades, improving the vehicle's intelligence level, and enhancing the user's driving experience. This solves the problem in related technologies where the upgrade process, communication method, and security access algorithm used by each controller differ, making it impossible to ensure the correctness of the upgrade process during remote upgrades, thus reducing the vehicle's intelligence level and the user's driving experience.
[0090] Figure 5 A schematic diagram of the structure of a vehicle provided in an embodiment of this application. The vehicle may include:
[0091] The memory 501, the processor 502, and the computer program stored on the memory 501 and capable of running on the processor 502.
[0092] When processor 502 executes the program, it implements the remote vehicle upgrade method provided in the above embodiments.
[0093] Furthermore, the vehicle also includes:
[0094] Communication interface 503 is used for communication between memory 501 and processor 502.
[0095] The memory 501 is used to store computer programs that can run on the processor 502.
[0096] The memory 501 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0097] If the memory 501, processor 502, and communication interface 503 are implemented independently, then the communication interface 503, memory 501, and processor 502 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, Figure 5The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0098] Optionally, in a specific implementation, if the memory 501, processor 502, and communication interface 503 are integrated on a single chip, then the memory 501, processor 502, and communication interface 503 can communicate with each other through an internal interface.
[0099] Processor 502 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0100] This embodiment also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-described vehicle remote upgrade method.
[0101] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0102] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0103] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0104] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0105] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0106] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0107] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0108] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.
Claims
1. A method for remotely upgrading a vehicle, the method comprising: Includes the following steps: Download an upgrade file for at least one target controller from a preset over-the-air (OTA) download server, and obtain the target data field from the upgrade file. The upgrade file is a file with an SORecord data field, and the file adopts the S19 file format and the S19 file format adopts SORecord. Read the target upgrade process, target diagnostic communication type and target security access algorithm in the target data domain, and detect whether the data information of the target upgrade process meets the process range of the preset upgrade conditions. If the process range is met, the target upgrade process is determined to meet the preset upgrade conditions. Detect whether the target diagnostic communication type meets the range of diagnostic communication types for preset upgrade conditions, wherein if it meets the range of diagnostic communication types, it is determined that the target diagnostic communication type meets the preset upgrade conditions; The target security access algorithm is detected to see if it meets the security access algorithm range of the preset upgrade conditions. If it does, the target security access algorithm is determined to meet the preset upgrade conditions. If the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data domain are all within the preset upgrade conditions, then the vehicle can be remotely upgraded using the upgrade file.
2. The method according to claim 1, characterized in that, The step of detecting whether the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data domain are within the preset upgrade conditions also includes: If the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data domain are not within the preset upgrade conditions, then the remote vehicle upgrade is prohibited.
3. The method according to claim 2, characterized in that, After disallowing remote vehicle upgrades, the following is also included: Based on the target data field that is not within the preset upgrade conditions, an upgrade failure report is generated and sent to a preset terminal.
4. The method according to claim 3, characterized in that, After performing a remote vehicle upgrade using the upgrade file, the process also includes: Send the vehicle remote upgrade reminder to the preset terminal.
5. The method according to claim 1, characterized in that, Both the target diagnostic communication type and the target secure access algorithm include at least one of diagnostic ID, data length, and data stream.
6. A vehicle remote upgrade device, characterized in that, include: The acquisition module is used to download an upgrade file of at least one target controller from a preset over-the-air (OTA) download technology server, and acquire the target data field in the upgrade file, wherein the upgrade file is a file of SORecord data field, wherein the file adopts the S19 file format, and the S19 file format adopts SORecord; The detection module is used to read the target upgrade process, target diagnostic communication type and target security access algorithm in the target data domain, and to detect whether the data information of the target upgrade process meets the process range of the preset upgrade conditions. If the process range is met, the target upgrade process is determined to meet the preset upgrade conditions. Detect whether the target diagnostic communication type meets the range of diagnostic communication types for preset upgrade conditions, wherein if it meets the range of diagnostic communication types, it is determined that the target diagnostic communication type meets the preset upgrade conditions; The target security access algorithm is detected to see if it meets the security access algorithm range of the preset upgrade conditions. If it does, the target security access algorithm is determined to meet the preset upgrade conditions. The control module is used to perform remote vehicle upgrades using the upgrade file if the target upgrade process, target diagnostic communication type, and target security access algorithm in the target data domain are all within the preset upgrade conditions.
7. A vehicle, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the vehicle remote upgrade method as described in any one of claims 1-5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the vehicle remote upgrade method as described in any one of claims 1-5.