CN116431391A - Data backup method, device, vehicle and storage medium - Google Patents

Data backup method, device, vehicle and storage medium Download PDF

Info

Publication number
CN116431391A
CN116431391A CN202310452988.4A CN202310452988A CN116431391A CN 116431391 A CN116431391 A CN 116431391A CN 202310452988 A CN202310452988 A CN 202310452988A CN 116431391 A CN116431391 A CN 116431391A
Authority
CN
China
Prior art keywords
data
control system
working data
backup
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310452988.4A
Other languages
Chinese (zh)
Inventor
黄慧
刘晔
李超
陈兴
张永生
杜雁南
李军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Group Corp filed Critical FAW Group Corp
Priority to CN202310452988.4A priority Critical patent/CN116431391A/en
Publication of CN116431391A publication Critical patent/CN116431391A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a data backup method, a data backup device, a vehicle and a storage medium. Wherein the method comprises the following steps: acquiring a service acquisition instruction from a control system in a vehicle; responding to a service acquisition instruction, and transmitting an information backup service provided by a vehicle dynamic system to a control system, wherein the information backup service is used for triggering a backup instruction in the control system; and responding to a backup instruction from the control system, acquiring working data of the control system, and backing up the working data in the vehicle dynamic system. The invention solves the technical problem of data loss.

Description

Data backup method, device, vehicle and storage medium
Technical Field
The present invention relates to the field of vehicles, and in particular, to a method, an apparatus, a vehicle, and a storage medium for data backup.
Background
At present, with the rapid development of the automobile industry, the vehicle is more prone to improving experience and service for users while comprehensively realizing internet connection, automatic driving and data driving, and the traditional whole vehicle architecture cannot meet the development trend, so that the whole vehicle architecture design of a service oriented architecture (Service Oriented Architecture, abbreviated as SOA) based on the Ethernet is a necessary result.
The traditional vehicle-mounted important information backup method is that important information is sent to a CAN bus through a controller local area network (Controller Area Network, abbreviated as CAN), and the other physical unit is used for identifying the important information for backup through a matrix protocol, but the method cannot perform self-recovery, and the problem that the important information is lost when two physical elements are damaged exists.
In view of the problem of data loss in the prior art, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a data backup method, a data backup device, a vehicle and a storage medium, which are used for at least solving the technical problem of data loss.
According to an aspect of an embodiment of the present invention, there is provided a method for data backup, including: acquiring a service acquisition instruction from a control system in a vehicle; responding to a service acquisition instruction, and transmitting an information backup service provided by a vehicle dynamic system to a control system, wherein the information backup service is used for triggering a backup instruction in the control system; and responding to a backup instruction from the control system, acquiring working data of the control system, and backing up the working data in the vehicle dynamic system.
Optionally, the method further comprises: acquiring the type of data to be backed up of a control system; and responding to the data type of the working data acquired by the control system as the data type to be backed up, and triggering a backup instruction by the control system.
Optionally, the method further comprises: and responding to the data acquisition instruction, and acquiring first working data corresponding to the data acquisition instruction from the control system, wherein the data type of the first working data is the data type to be backed up.
Optionally, the method further comprises: in response to failure in acquiring the first working data from the control system, acquiring second working data corresponding to the data acquisition instruction from a memory of the vehicle dynamic system, and transmitting the second working data to the control system.
Optionally, the method further comprises: in response to successful acquisition of the first working data from the control system, acquiring second working data corresponding to the data acquisition instruction from a memory of the vehicle dynamic system, and matching the first working data with the second working data to obtain a matching result; and modifying the first working data based on the matching result.
Optionally, the method further comprises: determining a target identity of an electronic controller in a control system; and acquiring third working data corresponding to the target identity in the vehicle dynamic system, and writing the third working data into the target control system.
Optionally, obtaining third working data corresponding to the identity in the vehicle dynamic system includes: and determining the identity of the working data stored in the dynamic system of the vehicle as the data of the target identity as third working data.
According to another aspect of the embodiment of the present invention, there is also provided an apparatus for data backup, including: a first acquisition unit configured to acquire a service acquisition instruction from a control system in a vehicle; the issuing unit is used for responding to the service acquisition instruction and issuing the information backup service provided by the vehicle dynamic system to the control system, wherein the information backup service is used for triggering the backup instruction in the control system; and the second acquisition unit is used for responding to the backup instruction from the control system, acquiring the working data of the control system and backing up the working data in the vehicle dynamic system.
According to another aspect of the embodiment of the invention, a vehicle is also provided. The vehicle is used for executing the data backup method of the embodiment of the invention.
According to another aspect of an embodiment of the present invention, there is also provided a computer-readable storage medium. The computer readable storage medium comprises a stored program, wherein the program is used for controlling a device where the computer readable storage medium is located to execute the method for backing up data according to the embodiment of the invention when running.
In the embodiment of the invention, a service acquisition instruction from a control system in a vehicle is acquired; responding to a service acquisition instruction, and transmitting an information backup service provided by a vehicle dynamic system to a control system, wherein the information backup service is used for triggering a backup instruction in the control system; and responding to a backup instruction from the control system, acquiring working data of the control system, and backing up the working data in the vehicle dynamic system. That is, the invention responds to the acquired service acquisition instruction to issue the information backup service provided by the vehicle dynamic system to the control system, and based on the information backup service, the control system can trigger the backup instruction, responds to the backup instruction from the control system, can acquire the working data of the control system and back up the working data in the vehicle dynamic system, thereby realizing the technical effect of reducing data loss and solving the technical problem of data loss.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a flow chart of a method of data backup in accordance with an embodiment of the present invention;
FIG. 2 is a schematic diagram of an automotive electronics electrical architecture according to the related art;
FIG. 3 is a schematic diagram of a domain controller architecture according to the related art;
FIG. 4 is a schematic diagram of a method of data backup according to the related art;
FIG. 5 is a schematic diagram of a method of data backup according to an embodiment of the invention;
FIG. 6 is a schematic diagram of an apparatus for data backup according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a method of data backup, it being noted that the steps shown in the flowchart of the figures may be performed in a computer system, such as a set of computer executable instructions, and, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order other than that shown or described herein.
FIG. 1 is a flow chart of a method of data backup, as shown in FIG. 1, according to an embodiment of the present invention, the method may include the steps of:
step S102, a service acquisition instruction from a control system in the vehicle is acquired.
In the technical solution provided in the above step S102 of the present invention, a service acquisition instruction from a control system in a vehicle may be acquired. The control system may be a system for storing important information in the vehicle, for example, a curve speed control (Curve Speed Control, abbreviated CSC) system, which is only illustrated herein, and the specific limitation of the determination of the control system is not limited. The service acquisition instruction may be an acquisition instruction sent by the control system through subscribing to the information backup service, and may be used to acquire the information backup service.
Alternatively, when the in-vehicle control system wants to acquire the backup service for the data, a service acquisition instruction may be issued by selecting a control, and a service acquisition instruction from the in-vehicle control system may be acquired.
For example, when the CSC system in the vehicle wants to subscribe to the information backup service, a service acquisition instruction may be issued to acquire a service acquisition instruction from the CSC system in the vehicle to trigger the information backup service.
Step S104, in response to the service acquisition instruction, the information backup service provided by the vehicle dynamic system is issued to the control system, wherein the information backup service is used for triggering the backup instruction in the control system.
In the technical scheme provided in the step S104, the information backup service provided by the dynamic system of the vehicle is issued to the control system in response to the service acquisition instruction of the control system. Among other things, a vehicle dynamics system (Vehicle Dynamics Control, abbreviated VDC) may be a system that provides information backup services. The information backup service may be a service for providing information backup and may be used to trigger a backup instruction in the control system. The backup instruction may be an instruction for prompting information backup, and may be used for indicating that information in the control system is backed up.
Optionally, the vehicle dynamic system may provide an information backup service under the SOA architecture, may acquire a service acquisition instruction from the control system in the vehicle, and respond to the service acquisition instruction of the control system, may issue the information backup service provided by the vehicle dynamic system to the control system, so that the control system may backup the acquired data.
For example, the VDC system may provide an information backup service under the SOA architecture, when the CSC system wants to subscribe to the information backup service, a service acquisition instruction may be issued, a service acquisition instruction of the CSC system may be acquired, and in response to the acquired service acquisition instruction, the information backup service provided by the VDC system is issued to the CSC system, so that the CSC system may backup the acquired data.
Step S106, working data of the control system is obtained in response to a backup instruction from the control system, and the working data is backed up in the vehicle dynamic system.
In the technical scheme of the step S106 of the present invention, a service acquisition instruction from a control system in a vehicle may be acquired, an information backup service provided by a dynamic system of the vehicle may be issued to the control system in response to the service acquisition instruction, and the control system may trigger the backup instruction based on the issued information backup service. When the control system triggers the backup instruction, the working data of the control system can be acquired and backed up in the vehicle dynamic system in response to the backup instruction from the control system. The working data may be important information data in the control system, or may be data that needs to be backed up in the control system.
Alternatively, the vehicle dynamic system may provide an information backup service under the SOA architecture, may acquire a service acquisition instruction from the control system in the vehicle, and may issue the information backup service provided by the vehicle dynamic system to the control system in response to the service acquisition instruction of the control system. And triggering a backup instruction by the control system through the issued information backup service, responding to the backup instruction from the control system, acquiring important information data of the control system, and backing up the important information data in the dynamic system of the vehicle.
For example, when the CSC system wants to subscribe to the information backup service, a service acquisition instruction may be issued, a service acquisition instruction from the CSC system in the vehicle may be acquired, and in response to the acquired service acquisition instruction, the information backup service provided by the VDC system is issued to the CSC system. Through the issued information backup service, the CSC system may trigger a backup instruction, and in response to the backup instruction from the CSC system, may obtain the working data that needs to be backed up in the CSC system, and backup the working data that needs to be backed up in the VDC system.
The above steps S102 to S106 of the present invention are performed by acquiring a service acquisition instruction from a control system in a vehicle; responding to a service acquisition instruction, and transmitting an information backup service provided by a vehicle dynamic system to a control system, wherein the information backup service is used for triggering a backup instruction in the control system; and responding to a backup instruction from the control system, acquiring working data of the control system, and backing up the working data in the vehicle dynamic system. That is, the invention responds to the acquired service acquisition instruction to issue the information backup service provided by the vehicle dynamic system to the control system, and based on the information backup service, the control system can trigger the backup instruction, responds to the backup instruction from the control system, can acquire the working data of the control system and back up the working data in the vehicle dynamic system, thereby realizing the technical effect of reducing data loss and solving the technical problem of data loss.
The above-described method of this embodiment is further described below.
As an alternative embodiment, the method further comprises: acquiring the type of data to be backed up of a control system; and responding to the data type of the working data acquired by the control system as the data type to be backed up, and triggering a backup instruction by the control system.
In this embodiment, the type of data to be backed up of the control system may be predetermined, and when the control system acquires the working data, it may be determined whether the type of data of the working data acquired by the control system is the type of data to be backed up. If the data type of the acquired working data is the data type to be backed up, the control system can be controlled to trigger a backup instruction in response to the data type of the working data acquired by the control system being the data type to be backed up. The type of the data to be backed up may be a data type of the data to be backed up predetermined by the control system, for example, may be a total mileage of the meter, which is only illustrated herein, and the data type of the data to be backed up is not specifically limited.
Optionally, the type of the data to be backed up of the working data to be backed up may be preset according to the service requirement, and the type of the data to be backed up preset by the control system may be obtained. When the control system acquires the working data, the data type of the acquired working data can be judged. And if the data type of the acquired working data is the data type to be backed up, responding to the data type of the working data acquired by the control system to be the predetermined data type to be backed up, and triggering a backup instruction by the control system. The backup instruction triggered by the control system can be obtained through the backup instruction triggered by the control system, the working data of the control system can be obtained in response to the backup instruction from the control system, and the working data can be backed up in the dynamic system of the vehicle.
For example, the type of the data to be backed up of the working data to be backed up may be preset according to the service requirement, and the type of the data to be backed up preset by the control system may be obtained. When the CSC system acquires the working data, the data type of the acquired working data may be determined. If the data type of the acquired working data is the data type to be backed up, the CSC system can be controlled to trigger a backup instruction in response to the data type of the working data acquired by the CSC system being the data type to be backed up, the backup instruction triggered by the CSC system can be acquired, the working data of the CSC system can be acquired in response to the backup instruction from the CSC system, and the working data to be backed up is backed up in the VDC system.
In this embodiment, by acquiring the type of data to be backed up of the control system, when the control system acquires the working data, the data type of the acquired working data can be determined. If the data type of the acquired working data is the data type to be backed up, the control system triggers a backup instruction in response to the data type of the working data acquired by the control system is the data type to be backed up, and can acquire the working data of the control system in response to the backup instruction from the control system and backup the working data in the dynamic system of the vehicle. That is, in the embodiment of the invention, the working data to be backed up is backed up in the vehicle dynamic system, and when the working data is needed, the working data can be obtained from the control system and also can be obtained from the vehicle dynamic system, thereby realizing the technical effect of reducing the data loss and solving the technical problem of the data loss.
As an alternative embodiment, the method further comprises: and responding to the data acquisition instruction, and acquiring first working data corresponding to the data acquisition instruction from the control system, wherein the data type of the first working data is the data type to be backed up.
In this embodiment, a data acquisition instruction may be acquired, and when the data acquisition instruction is acquired, first work data corresponding to the data acquisition instruction may be acquired from the control system in response to the data acquisition instruction. The data acquisition instruction may be used to acquire the working data to be backed up from the control system. The first working data may be important information data to be backed up, may be data of a data type to be backed up, and may be working data stored in the control system.
Alternatively, when the first operation data is desired to be acquired from the control system, a data acquisition instruction may be issued to the control system, and the data acquisition instruction may be acquired. Through the acquired data acquisition instruction, in response to the acquired data acquisition instruction, first working data corresponding to the data acquisition instruction can be acquired from the control system.
For example, when the first working data of the total mileage of the instrument in the control system is desired to be obtained, a data obtaining instruction may be sent to the control system by clicking a control, and in response to the data obtaining instruction, the first working data of the total mileage of the instrument corresponding to the data obtaining instruction may be obtained from the control system.
As an alternative embodiment, the method further comprises: in response to failure in acquiring the first working data from the control system, acquiring second working data corresponding to the data acquisition instruction from a memory of the vehicle dynamic system, and transmitting the second working data to the control system.
In this embodiment, a data acquisition instruction may be acquired, and when the data acquisition instruction is acquired, first work data corresponding to the data acquisition instruction may be acquired from the control system in response to the data acquisition instruction. When the first working data corresponding to the data acquisition instruction does not exist in the control system, the first working data corresponding to the data acquisition instruction fails to be acquired from the control system, and in response to the failure of the first working data corresponding to the data acquisition instruction from the control system, the second working data corresponding to the data acquisition instruction can be acquired from the memory of the vehicle dynamic system and transmitted to the control system. The Memory of the vehicle dynamic system may be a Memory storing data in the vehicle dynamic system, for example, may be a Non-Volatile Memory (NVM), which is merely illustrated herein, and the determining representation of the Memory is not specifically limited. The second working data may be backed up data stored in the vehicle dynamic system corresponding to the data acquisition instruction, and may be data of which the data type is a backed up data type.
Alternatively, a data acquisition instruction may be acquired, and when the data acquisition instruction is acquired, first work data corresponding to the data acquisition instruction may be acquired from the control system in response to the acquired data acquisition instruction. When the first working data corresponding to the data acquisition instruction fails to be acquired from the control system, in response to the failure to acquire the first working data from the control system, the second working data corresponding to the data acquisition instruction can be acquired from the memory of the vehicle dynamic system, and the second working data can be transmitted to the control system.
For example, a data acquisition instruction may be acquired, and when the data acquisition instruction is acquired, in response to the acquired data acquisition instruction, first working data corresponding to the data acquisition instruction may be acquired from the CSC system. When the acquisition of the first working data corresponding to the data acquisition instruction from the CSC system fails, in response to the failure of the acquisition of the first working data from the CSC system, the second working data corresponding to the data acquisition instruction is acquired from the memory of the VDC system and is transmitted to the CSC system. When the first working data in the CSC system is lost, the purpose of transmitting the second working data in the VDC system to the CSC system is achieved, so that the technical effect of reducing the data loss is achieved, and the technical problem of the data loss is solved.
As an alternative embodiment, the method further comprises: in response to successful acquisition of the first working data from the control system, acquiring second working data corresponding to the data acquisition instruction from a memory of the vehicle dynamic system, and matching the first working data with the second working data to obtain a matching result; and modifying the first working data based on the matching result.
In this embodiment, a data acquisition instruction may be acquired, and when the data acquisition instruction is acquired, first work data corresponding to the data acquisition instruction may be acquired from the control system in response to the data acquisition instruction. When first working data corresponding to the data acquisition instruction exists in the control system, the first working data corresponding to the data acquisition instruction is successfully acquired from the control system, second working data corresponding to the data acquisition instruction is acquired from a memory of the vehicle dynamic system in response to the success of the first working data corresponding to the data acquisition instruction from the control system, the first working data and the second working data are matched to obtain a matching result, and the first working data are modified based on the obtained matching result.
Alternatively, a data acquisition instruction may be acquired, and when the data acquisition instruction is acquired, first work data corresponding to the data acquisition instruction may be acquired from the control system in response to the acquired data acquisition instruction. When the first working data corresponding to the data acquisition instruction is successfully acquired from the control system, the second working data corresponding to the data acquisition instruction is acquired from the memory of the vehicle dynamic system in response to the success of the first working data corresponding to the data acquisition instruction acquired from the control system, the first working data is compared with the second working data, and the current effective working data is judged according to the comparison result, so that the first working data can be modified into the effective working data.
For example, a data acquisition instruction may be acquired, and when the data acquisition instruction is acquired, first working data corresponding to the data acquisition instruction is acquired from the CSC system in response to the acquired data acquisition instruction. When the acquisition of the first working data corresponding to the data acquisition instruction from the CSC system is successful, the second working data corresponding to the data acquisition instruction is acquired from the memory of the VDC system in response to the success of the acquisition of the first working data from the CSC system, and the first working data is compared with the second working data, and the currently valid working data is determined according to the comparison result, so that the first working data is modified into valid working data.
As an alternative embodiment, the method further comprises: determining a target identity of an electronic controller in a control system; and acquiring third working data corresponding to the target identity in the vehicle dynamic system, and writing the third working data into the target control system.
In this embodiment, the target identity of the electronic controller in the control system may be determined, and third working data corresponding to the target identity in the vehicle dynamic system may be obtained and written into the target control system by the determined target identity. The electronic controller may be an electronic control unit (Electronic Control Unit, simply referred to as ECU). The target identity (Identity Document, abbreviated as ID) may be used to indicate the identity of the electronic controller, for example, the software and hardware version number, the serial number, the real-time value of the sensor, and the special configuration status lamp, etc., which are only used for illustration, and the determination of the target identity is not limited specifically. The target control system may be another control system that stores backup data, such as CSC2, for illustration only, and no specific limitation is placed on the representation of the target control system. The third working data may be backup data that needs to be stored in the target control system.
Alternatively, the diagnostic device may communicate with an electronic controller in the control system to obtain the target identity of the electronic controller. And acquiring third working data corresponding to the target identity from the vehicle dynamic system through the acquired target identity of the electronic controller, and writing the acquired third working data into the target control system. The diagnostic device may be a professional instrument for detecting a vehicle, may be used for detecting a performance of the vehicle, and may also be used for detecting a fault of the vehicle, for example, may be a diagnostic device, which is only illustrated herein, and the determining representation of the diagnostic device is not particularly limited.
For example, when CSC1 is abnormal, data in CSC1 needs to be transferred. The ID of the electronic controller in the CSC1 system may be determined and the diagnostic instrument may communicate with the electronic controller in the CSC1 system to obtain the ID of the electronic controller. Through the acquired ID, the diagnostic instrument can acquire third working data corresponding to the ID from the VDC system and write the acquired third working data into the CSC2 system to complete data backup, thereby realizing the technical effect of reducing data loss and solving the technical problem of data loss.
In the related art, the traditional vehicle-mounted important information backup method is to send important information to a CAN bus through a CAN, and the other physical unit is used for identifying the important information for backup through a matrix protocol, but the method cannot perform self-recovery, so that the problem that when two physical elements are damaged, the important information is lost exists. According to the embodiment, the target identity of the electronic controller in the control system is determined, the third working data corresponding to the target identity in the vehicle dynamic system can be obtained, and the third working data is written into the target control system, so that the technical effect of reducing data loss is achieved, and the technical problem of data loss is solved.
As an optional embodiment, obtaining third working data corresponding to the identity in the vehicle dynamic system includes: and determining the identity of the working data stored in the dynamic system of the vehicle as the data of the target identity as third working data.
In this embodiment, the identity of the working data in the vehicle dynamic system and the target identity of the electronic controller in the control system may be obtained, and the identity of the working data stored in the vehicle dynamic system may be determined by determining the identity of the working data in the vehicle dynamic system and determining the target identity of the electronic controller in the control system. When the identity of the working data stored in the vehicle dynamic system is the target identity, the working data in the vehicle dynamic system can be determined to be third working data, and after the third working data is acquired, the third working data can be written into the target control system.
Optionally, the identity of the working data stored in the vehicle dynamic system may be determined by determining the identity of the working data in the vehicle dynamic system and determining the target identity of the electronic controller in the control system. When the identity of the working data stored in the vehicle dynamic system is the target identity, the working data in the vehicle dynamic system may be determined as the third working data. The diagnostic device may communicate with an electronic controller in the control system to obtain a target identity of the electronic controller. Through the obtained target identity of the electronic controller, the diagnostic equipment can obtain third working data corresponding to the target identity from the vehicle dynamic system, and write the obtained third working data into the target control system.
For example, the identity of the operational data stored in the VDC system is determined by the identity of the operational data in the VDC system and the ID of the ECU in the CSC1 system. When the identification of the operation data stored in the VDC system is an ID, the operation data in the VDC system is determined as third operation data. The diagnostic instrument may communicate with the ECU in the CSC1 to obtain the ID of the ECU. Through the acquired ID, the diagnostic instrument can acquire third working data corresponding to the ID from the VDC system and write the acquired third working data into the CSC2 system to complete data backup, thereby realizing the technical effect of reducing data loss and solving the technical problem of data loss.
This embodiment obtains the instruction by obtaining the service from the control system in the vehicle; responding to a service acquisition instruction, and transmitting an information backup service provided by a vehicle dynamic system to a control system, wherein the information backup service is used for triggering a backup instruction in the control system; and responding to a backup instruction from the control system, acquiring working data of the control system, and backing up the working data in the vehicle dynamic system. That is, the invention responds to the acquired service acquisition instruction to issue the information backup service provided by the vehicle dynamic system to the control system, and based on the information backup service, the control system can trigger the backup instruction, responds to the backup instruction from the control system, can acquire the working data of the control system and back up the working data in the vehicle dynamic system, thereby realizing the technical effect of reducing data loss and solving the technical problem of data loss.
Example 2
The technical solution of the embodiment of the present invention will be illustrated in the following with reference to a preferred embodiment.
At present, along with the trend of automobile innovation and quadrupling, the requirements of automobile consumer groups on vehicles are greatly changed, and the vehicles are more prone to improving experience, service and personalized requirements for users while comprehensively realizing networking, automatic driving and data driving, and meanwhile, technologies such as high-power chips, perception technologies, data intelligence and the like are introduced, so that the traditional whole automobile architecture cannot meet the development trend. Thus, the SOA whole vehicle architecture design based on the ethernet is a necessary result.
The physical architecture design of the whole SOA is realized by dividing the whole SOA into a central computing unit, a plurality of regional control units, an intelligent communication terminal, a cabin area control unit and an advanced automatic driving controller. Each physical entity has the possibility of damage in the whole vehicle carrying process. But important information present in the physical entity unit may not be lost when the physical unit is replaced.
Generally, the conventional architecture design method divides a system into subsystems, and each subsystem realizes interactive communication through a defined interface, so that the dependency among the subsystems is high. However, the design approach of service-oriented architecture is to package different system resources into one service that can provide specific system functions while maintaining internal state, and the components implementing the service represent a single instance of the service, which can be identified by a service instance ID. When a client wants to use a service instance, it only needs to follow a defined language specification to request the service. The service-oriented architecture may ensure that software modules are coupled, each service only holds information needed to execute logic, and functions can be executed whenever a request follows a defined language specification, regardless of the state of the system as a whole. Thus, the SOA is platform and language independent, and neither the client nor the service has to go deep into implementation details as long as the request or response complies with the specification, allowing seamless integration of heterogeneous components designed by different vendors. Furthermore, the SOA does not require static system configuration, and by using service discovery, service providers can be discovered at run-time, that is, without shutting down the entire system to update or add new components.
Fig. 2 is a schematic view of an automotive electronics electrical architecture according to the related art, as shown in fig. 2, the schematic view of the automotive electronics electrical architecture including: a central gateway 201, an infotainment system 202, a body system 203, a vehicle movement system 204, a powertrain system 205, a high performance power management 206, an electronic control unit 207, an intelligent access and start system 208, an airbag 209, an automatic transmission control unit 210, an engine management system 211, and a diagnostic port 212. The traditional automobile electronic architecture is distributed, various systems such as an infotainment system 202, a vehicle body system 203, a vehicle motion system 204, a power train 205 and the like, a central gateway 201, a diagnosis port 212, an electronic control unit 207, various sensing and wire harness topologies CAN be integrated together to complete calculation, power and energy distribution, and various electronic control units 207, a high-performance power management (IC) 206, an intelligent access and starting system (Passive Entry Passive Start, abbreviated as PEPS) 208, an air bag (Airbag) 209, an automatic gearbox control unit (Transmission Control Unit, abbreviated as TCU) 210 and an engine management system (Engine Management System, abbreviated as EMS) 211 in the automobile are all connected together through CAN and local internet (Local Interconnect Network, abbreviated as LIN) buses. Currently, the total number of electronic control units in automobiles has rapidly increased to tens or even hundreds, and the complexity of the whole system has increased. However, with the trend of software-defined automobile intellectualization and networking today, distributed automobile electronic and electric architecture based on electronic control units also increasingly expose a number of problems and challenges.
In order to solve the problem of the distributed automotive electronic and electric architecture, many ECU functions with similar and separate functions are gradually integrated into a processor hardware platform with a stronger performance than the ECU, which is called a vehicle domain controller (Domain Control Unit, abbreviated as DCU). The advent of domain controllers is an important hallmark of the evolution of automotive electronics architecture from ECU distributed electronics architecture to domain centralized electronics architecture. The domain controller is the core of each functional domain of the automobile and mainly comprises a domain main control processor, an operating system, application software, an algorithm and the like. The domain controller integrates the core functions which are originally realized by a plurality of ECUs, so that the integration level of system functions is greatly improved, and the development and manufacturing cost can be greatly reduced by adding a standardized interface for data interaction. For specific division of functional domains, each automobile host manufacturer may be divided into several different domains according to its own design concept, and fig. 3 is a schematic diagram of a domain controller architecture according to the related art, as shown in fig. 3, where the schematic diagram of the domain controller architecture includes: central gateway 301, assisted driving domain 302, chassis domain 303, power domain 304, cabin domain 305, body domain 306, camera 307, radar 308, and diagnostic connector 309. The domain controller architecture divides the functional domain into: the auxiliary driving domain 302, chassis domain 303, power domain 304, cabin domain 305 and body domain 306 are integrated together by the central gateway 301 and provide diagnostic functions by means of a diagnostic connector (Diagnostic Link Connector, abbreviated as DLC) 306, which is a classical five domain centralized electronic electrical architecture, wherein the auxiliary driving domain contains cameras and radars. And the other part of manufacturers further fuse the original power domain, chassis domain and vehicle body domain into a whole vehicle control domain on the basis of a five-domain centralized architecture, so that a three-domain centralized electronic and electric architecture is formed, and the three-domain centralized electronic and electric architecture comprises: the intelligent driving domain controller comprises a vehicle control domain controller, an intelligent driving domain controller and an intelligent cabin domain controller.
In the related art, the conventional vehicle-mounted important information backup method is to send important information to a CAN bus through a CAN, identify the important information by another physical unit through a matrix protocol to backup, read and write ID read and write information designed as the important information through a diagnosis command, but the method cannot perform self-recovery, and has the problem that the important information is lost when both physical elements are damaged.
Fig. 4 is a schematic diagram of a method of data backup according to the related art, and as shown in fig. 4, the schematic diagram of the method of data backup includes: a first meter 402, a network manager 404, a diagnostic device 406, and a second meter 408. Taking the total mileage data of the backup meter as an example, the first meter 402 sends the mileage data to the CAN bus, the gateway 404 stores the mileage data, the diagnostic device 406 reads and writes the mileage data stored in the gateway 404 through the diagnostic command, and writes the read mileage data to the new second meter 408 through the diagnostic command. The data backup method has the advantages that a gateway and a CAN bus are not arranged under an SOA architecture, and the total mileage information of the instrument is lost under the condition that the instrument and the gateway are damaged.
In order to solve the problems, the embodiment of the invention provides a data backup method which can be performed under the technical path of an SOA and can perform whole-vehicle cross-domain backup, thereby solving the technical problem of data loss.
FIG. 5 is a schematic diagram of a method for data backup according to an embodiment of the present invention, as shown in FIG. 5, the schematic diagram of the method for data backup includes: a first control system 501, a vehicle dynamics system 502, a backup module 503, a nonvolatile memory 504, a diagnostic module 505, a diagnostic instrument 506, and a second control system 507. Taking the total mileage data of the backup instrument as an example, the vehicle dynamic system 502 provides an information backup service under the SOA architecture, and the first control system 501 subscribes to the information backup service and transfers the first working data to the backup module 503 of the vehicle dynamic system 502. Further, the first control system 501 may predetermine an information mechanism according to traffic demand. When the vehicle dynamic system 502 receives the first working data of the information backup service, the first working data is written into the nonvolatile memory 504, that is, the physical storage of the first working data may be performed by accessing the interface stored in the nonvolatile memory 504. When the first control system 501 determines that the first working data of itself is lost, it may acquire second working data from the vehicle dynamic system 502 according to its policy, and compare the acquired second working data with the first working data to determine the working data that is currently valid, so as to modify the first working data. Further, the ECU stores therein a target identity that can be read by the diagnostic device 506 or other diagnostic devices, such as a software and hardware version, a serial number, a real-time value of a sensor, and a special configuration status. Diagnostic device 506 may communicate with the ECU by determining the ECU's target identity, which may be obtained by diagnostic module 505. Through the obtained target identity, third working data corresponding to the target identity in the vehicle dynamic system 502 can be obtained, and the obtained third working data is written into the second control system 507 to complete backup and loading of the working data, so that the technical effect of reducing data loss is realized, and the technical problem of data loss is solved.
This embodiment obtains the instruction by obtaining the service from the control system in the vehicle; responding to a service acquisition instruction, and transmitting an information backup service provided by a vehicle dynamic system to a control system, wherein the information backup service is used for triggering a backup instruction in the control system; and responding to a backup instruction from the control system, acquiring working data of the control system, and backing up the working data in the vehicle dynamic system. That is, the invention responds to the acquired service acquisition instruction to issue the information backup service provided by the vehicle dynamic system to the control system, and based on the information backup service, the control system can trigger the backup instruction, responds to the backup instruction from the control system, can acquire the working data of the control system and back up the working data in the vehicle dynamic system, thereby realizing the technical effect of reducing data loss and solving the technical problem of data loss.
Example 3
According to the embodiment of the invention, a device for data backup is also provided. It should be noted that the apparatus for data backup may be used to perform the method for data backup in embodiment 1.
FIG. 6 is a schematic diagram of an apparatus for data backup according to an embodiment of the present invention. As shown in fig. 6, the apparatus 600 for data backup may include: a first acquisition unit 602, a issuing unit 604, and a second acquisition unit 606.
A first acquisition unit 602 for acquiring a service acquisition instruction from a control system in the vehicle.
And the issuing unit 604 is configured to issue an information backup service provided by the vehicle dynamic system to the control system in response to the service acquisition instruction, where the information backup service is used to trigger a backup instruction in the control system.
The second obtaining unit 606 is configured to obtain the working data of the control system in response to the backup instruction from the control system, and backup the working data in the vehicle dynamic system.
Optionally, the apparatus further comprises: the third acquisition unit is used for acquiring the type of the data to be backed up of the control system; and the control unit is used for responding to the data type of the working data acquired by the control system as the data type to be backed up, and controlling the control system to trigger a backup instruction.
Optionally, the apparatus further comprises: and the fourth acquisition unit is used for responding to the data acquisition instruction and acquiring first working data corresponding to the data acquisition instruction from the control system, wherein the data type of the first working data is the data type to be backed up.
Optionally, the apparatus further comprises: and a fifth acquisition unit for acquiring second working data corresponding to the data acquisition instruction from the memory of the vehicle dynamic system and transmitting the second working data to the control system in response to failure in acquiring the first working data from the control system.
Optionally, the apparatus further comprises: the matching unit is used for responding to the success of acquiring the first working data from the control system, acquiring the second working data corresponding to the data acquisition instruction from the memory of the vehicle dynamic system, and matching the first working data with the second working data to obtain a matching result; and the modification unit is used for modifying the first working data based on the matching result.
Optionally, the apparatus further comprises: the determining unit is used for determining a target identity of the electronic controller in the control system; and the sixth acquisition unit is used for acquiring third working data corresponding to the target identity in the vehicle dynamic system and writing the third working data into the target control system.
Optionally, the sixth acquisition unit includes: and the determining module is used for determining the identity of the working data stored in the dynamic system of the vehicle as the data of the target identity and determining the identity of the working data as the third working data.
In the embodiment of the invention, a service acquisition instruction from a control system in a vehicle is acquired; responding to a service acquisition instruction, and transmitting an information backup service provided by a vehicle dynamic system to a control system, wherein the information backup service is used for triggering a backup instruction in the control system; and responding to a backup instruction from the control system, acquiring working data of the control system, and backing up the working data in the vehicle dynamic system. That is, the invention responds to the acquired service acquisition instruction to issue the information backup service provided by the vehicle dynamic system to the control system, and based on the information backup service, the control system can trigger the backup instruction, responds to the backup instruction from the control system, can acquire the working data of the control system and back up the working data in the vehicle dynamic system, thereby realizing the technical effect of reducing data loss and solving the technical problem of data loss.
Example 4
According to an embodiment of the present invention, there is also provided a vehicle for performing the method of any one of the data backup in embodiment 1.
Example 5
According to an embodiment of the present invention, there is also provided a computer-readable storage medium including a stored program, wherein the program performs the method of data backup in embodiment 1.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present invention, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and determined to be stand-alone products for sale or use, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (10)

1. A method of data backup, comprising:
acquiring a service acquisition instruction from a control system in a vehicle;
responding to the service acquisition instruction, and transmitting an information backup service provided by a vehicle dynamic system to the control system, wherein the information backup service is used for triggering a backup instruction in the control system;
and responding to the backup instruction from the control system, acquiring working data of the control system, and backing up the working data in the vehicle dynamic system.
2. The method according to claim 1, wherein the method further comprises:
acquiring the type of data to be backed up of the control system;
and responding to the data type of the working data acquired by the control system as the data type to be backed up, and controlling the control system to trigger a backup instruction.
3. The method according to claim 1, wherein the method further comprises:
And responding to the data acquisition instruction, and acquiring first working data corresponding to the data acquisition instruction from the control system, wherein the data type of the first working data is the data type to be backed up.
4. A method according to claim 3, characterized in that the method further comprises:
and in response to failure in acquiring the first working data from the control system, acquiring second working data corresponding to the data acquisition instruction from a memory of the vehicle dynamic system, and transmitting the second working data to the control system.
5. A method according to claim 3, characterized in that the method further comprises:
in response to successful acquisition of the first working data from the control system, acquiring second working data corresponding to the data acquisition instruction from a memory of the vehicle dynamic system, and matching the first working data with the second working data to obtain a matching result;
and modifying the first working data based on the matching result.
6. The method according to claim 1, wherein the method further comprises:
determining a target identity of an electronic controller in the control system;
And acquiring third working data corresponding to the target identity in the vehicle dynamic system, and writing the third working data into a target control system.
7. The method of claim 6, wherein obtaining third operational data of the vehicle dynamics system corresponding to the identity comprises:
and determining the identity of the working data stored in the vehicle dynamic system as the data of the target identity as the third working data.
8. An apparatus for data backup, comprising:
a first acquisition unit configured to acquire a service acquisition instruction from a control system in a vehicle;
the issuing unit is used for responding to the service acquisition instruction and issuing an information backup service provided by the vehicle dynamic system to the control system, wherein the information backup service is used for triggering a backup instruction in the control system;
and the second acquisition unit is used for responding to the backup instruction from the control system, acquiring the working data of the control system and backing up the working data in the vehicle dynamic system.
9. A vehicle, characterized by being adapted to perform the method of any one of claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program, when run, controls a device in which the computer readable storage medium is located to perform the method of any one of claims 1 to 7.
CN202310452988.4A 2023-04-24 2023-04-24 Data backup method, device, vehicle and storage medium Pending CN116431391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310452988.4A CN116431391A (en) 2023-04-24 2023-04-24 Data backup method, device, vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310452988.4A CN116431391A (en) 2023-04-24 2023-04-24 Data backup method, device, vehicle and storage medium

Publications (1)

Publication Number Publication Date
CN116431391A true CN116431391A (en) 2023-07-14

Family

ID=87083216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310452988.4A Pending CN116431391A (en) 2023-04-24 2023-04-24 Data backup method, device, vehicle and storage medium

Country Status (1)

Country Link
CN (1) CN116431391A (en)

Similar Documents

Publication Publication Date Title
EP3352079B1 (en) Gateway device, vehicle-mounted network system, and firmware update method
US7039511B1 (en) Vehicle electrical installation configuration system
US20210014318A1 (en) Diagnostic method and system for vehicle, and related device thereof
CN111474921A (en) Configuration method of automobile diagnosis software and related equipment
EP3572939A1 (en) Method, device and real-time network for highly-integrated automotive systems
EP4113287B1 (en) Gateway device, in-vehicle network system, and firmware update method
US11295560B2 (en) Cloud-managed validation and execution for diagnostic requests
GB2595430A (en) Electrical architecture for service-oriented vehicle diagnostics
WO2021002164A1 (en) Method and control system for operating ecus of vehicles in fails-safe mode
CN114879551A (en) Intelligent cabin domain controller based on CPU hard isolation system design method
KR20090000008A (en) Anticollision system among diagnosis terminals and method thereof
US11377056B2 (en) In-vehicle system
CN116431391A (en) Data backup method, device, vehicle and storage medium
CN116319499A (en) Diagnostic method and device for vehicle, electronic equipment and storage medium
KR102109125B1 (en) Method for managing state of ECU in vehicle based on automotive open system architecture
CN110775099A (en) Integration method of communication system in train
CN116775375A (en) Method and system for data storage
CN115617558A (en) Vehicle diagnostic system, method, storage medium, and vehicle
US20230105426A1 (en) In-vehicle information processing apparatus, information processing method, and client program
CN114967634A (en) Processor diagnostic device, processor diagnostic method, and electronic apparatus
CN112477881B (en) Method and device for generating vehicle control instruction
CN107391215A (en) The system that a kind of ECU embedded softwares refresh and download programming
CN114802052A (en) Trusted environment self-learning method and system for vehicle-mounted network intrusion detection system
CN108016381B (en) Automobile electronic system and program updating method thereof
US20240036943A1 (en) Vehicle control module allocation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination