Search

CN-121979541-A - Data security upgrading method and device for vehicle-mounted equipment and electronic equipment

CN121979541ACN 121979541 ACN121979541 ACN 121979541ACN-121979541-A

Abstract

The invention provides a method, a device, an electronic device, a computer storage medium and a program product for safely upgrading data of vehicle-mounted equipment, wherein the method comprises the following steps of deploying a safety management backup area in the vehicle-mounted equipment and setting a safety management backup mark, wherein the safety management backup mark is used for identifying whether preset data is backed up to the safety management backup area or not in the upgrading process; after the upgrading is finished, when the vehicle-mounted equipment is started, confirming whether the safety management backup mark is an initial value or not, copying preset data to a safety management backup area to serve as backup data under the condition that the safety management backup mark is confirmed to be the initial value, carrying out data encryption on the backup data, updating the safety management backup mark to be the preset value, and switching to use the backup data of the safety management backup area when the vehicle-mounted equipment needs to use the preset data. According to the invention, the network security configuration of partial data in the on-board equipment of the production line can be adjusted without affecting the existing parameter configuration.

Inventors

  • LUO SHUYOU

Assignees

  • 欧摩威智行科技(上海)有限公司

Dates

Publication Date
20260505
Application Date
20241023

Claims (7)

  1. 1. The method for safely upgrading the data of the vehicle-mounted equipment is characterized by comprising the following steps of: In the upgrading process, a safety management backup area is deployed in the vehicle-mounted equipment, and a safety management backup mark is set, wherein the safety management backup mark is used for identifying whether preset data is backed up to the safety management backup area; After the upgrading is finished, when the vehicle-mounted equipment is started, confirming whether the safety management backup mark is an initial value or not; Copying preset data to the safety management backup area as backup data and carrying out data encryption on the backup data under the condition that the safety management backup mark is confirmed to be an initial value, updating the safety management backup mark to be a preset value, and And when the vehicle-mounted equipment needs to use preset data, switching to use the backup data of the safety management backup area.
  2. 2. The method for securely upgrading data of an in-vehicle apparatus according to claim 1, further comprising the steps of: in case that the security management backup mark is confirmed not to be an initial value, confirming whether the preset data is consistent with the backup data or not, and And if the preset data are inconsistent with the backup data, updating the preset data into the backup data.
  3. 3. The method for securely upgrading data of an in-vehicle apparatus according to claim 1 or 2, wherein, The preset data are stored in a nonvolatile memory of the vehicle-mounted equipment, and the safety management backup area is also arranged in the nonvolatile memory of the vehicle-mounted equipment.
  4. 4. The device for safely upgrading the data of the vehicle-mounted equipment is characterized by comprising the following components: The device comprises a setting module, a safety management backup area, a safety management backup mark and a control module, wherein in the upgrading process, the safety management backup area is deployed in the vehicle-mounted equipment, and the safety management backup mark is used for marking whether preset data is backed up to the safety management backup area or not; The confirmation module confirms whether the safety management backup mark is an initial value or not when the vehicle-mounted equipment is started after upgrading is completed; a backup module for copying the preset data to the safety management backup area as backup data and encrypting the backup data to update the safety management backup mark to the preset value when the safety management backup mark is confirmed to be the initial value, and And the switching module is used for switching the backup data of the safety management backup area to be used when the vehicle-mounted equipment needs to use preset data.
  5. 5. An electronic device comprising a processor and a memory, wherein the memory has stored therein at least one instruction or at least one program that is loaded by the processor and that performs the method of any of claims 1 to 3.
  6. 6. A computer storage medium having stored therein at least one instruction or at least one program, the at least one instruction or the at least one program being loaded by a processor and executing the method of any one of claims 1 to 3.
  7. 7. A computer program product comprising at least one instruction or at least one program, characterized in that the at least one instruction or the at least one program is loaded by a processor and performs the method of any of claims 1 to 3.

Description

Data security upgrading method and device for vehicle-mounted equipment and electronic equipment Technical Field The present invention relates to the field of network security of vehicle-mounted devices, and in particular, to a method and apparatus for upgrading data security of a vehicle-mounted device, an electronic device, a computer storage medium, and a program product. Background With the rapid development of automobile technology, the network security problem of the vehicle-mounted equipment is increasingly prominent. Modern automobiles not only have a high degree of intelligence, but also enable a wide connection to the internet and other devices, which makes them subject to serious risks from network attacks. Hackers may unauthorized access the vehicle control system, possibly through vulnerabilities, malware, or other means, thereby resulting in security risks. Therefore, in recent years, related departments of various countries have sequentially introduced a series of regulations and standards to strengthen the network security of the vehicle-mounted devices and ensure that the vehicle communication system, user data and driving safety are effectively protected. For newly developed and produced vehicle-mounted equipment, enterprises can formulate and perfect security policies in the development and production stages so as to ensure that the vehicle-mounted equipment has the capability of resisting potential network attacks. However, how to effectively update the on-board devices that have come down the production line to meet the latest network security standard without affecting the existing parameter configuration is still a challenge to be solved. Disclosure of Invention The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a method, an apparatus, an electronic device, a computer storage medium, and a computer program product for securely upgrading data of a vehicle-mounted device, which can adjust network security configuration of a part of data in a vehicle-mounted device on a production line without affecting existing parameter configuration. According to one aspect of the invention, a method for safely upgrading data of vehicle-mounted equipment is provided, and the method comprises the steps of deploying a safety management backup area in the vehicle-mounted equipment and setting a safety management backup mark, wherein the safety management backup mark is used for identifying whether preset data is backed up to the safety management backup area, confirming whether the safety management backup mark is an initial value when the vehicle-mounted equipment is started after upgrading is finished, copying the preset data to the safety management backup area to serve as backup data when the safety management backup mark is confirmed to be the initial value, carrying out data encryption on the backup data, and updating the safety management backup mark to be a preset value, and switching to use the backup data of the safety management backup area when the vehicle-mounted equipment needs to use the preset data. Preferably, the vehicle-mounted equipment data security upgrading method further comprises the steps of confirming whether the preset data are consistent with the backup data or not under the condition that the security management backup mark is confirmed to be not an initial value, and updating the preset data into the backup data if the preset data are inconsistent with the backup data. Preferably, the preset data is stored in a nonvolatile memory of the vehicle-mounted device, and the security management backup area is also disposed in the nonvolatile memory of the vehicle-mounted device. According to another aspect of the invention, a vehicle-mounted equipment data security upgrading device is provided, which comprises a setting module, a confirming module, a backup module and a switching module, wherein the setting module is used for deploying a security management backup area in the vehicle-mounted equipment in the upgrading process and setting a security management backup mark, the security management backup mark is used for identifying whether preset data is backed up to the security management backup area, the confirming module is used for confirming whether the security management backup mark is an initial value when the vehicle-mounted equipment is started after upgrading is completed, the backup module is used for copying the preset data to the security management backup area to serve as backup data when the security management backup mark is confirmed to be the initial value, and carrying out data encryption on the backup data to update the security management backup mark to a preset value, and the switching module is used for switching the backup data of the security management backup area when the vehicle-mounted equipment needs to use the preset data. According to another aspect of the present inventio