CN116841348A - Time resynchronization method for automobile system, resynchronization system and storage medium - Google Patents

Time resynchronization method for automobile system, resynchronization system and storage medium Download PDF

Info

Publication number
CN116841348A
CN116841348A CN202310546802.1A CN202310546802A CN116841348A CN 116841348 A CN116841348 A CN 116841348A CN 202310546802 A CN202310546802 A CN 202310546802A CN 116841348 A CN116841348 A CN 116841348A
Authority
CN
China
Prior art keywords
time
backup system
state
abnormal
signals
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
CN202310546802.1A
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.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
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 Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202310546802.1A priority Critical patent/CN116841348A/en
Publication of CN116841348A publication Critical patent/CN116841348A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/12Synchronisation of different clock signals provided by a plurality of clock generators
    • 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

Abstract

The embodiment of the invention provides an automobile system time resynchronization method, a resynchronization system and a storage medium, and belongs to the technical field of automobile machine systems. The method comprises the following steps: continuously performing self abnormal restarting self-checking in an ignition period, and counting the identified abnormal restarting signals; when the counted number of the abnormal restarting signals is not greater than the preset number of the abnormal restarting signals, judging whether the backup system is in a standby state or not; if the backup system is in an activated state, continuously judging the state of the backup system until the backup system is in a standby state, and triggering a synchronous instruction; and executing time synchronization of each unit of the automobile system based on the synchronization instruction. The scheme of the invention realizes the time resynchronization of the intelligent vehicle system provided with the backup system after abnormal restarting.

Description

Time resynchronization method for automobile system, resynchronization system and storage medium
Technical Field
The invention relates to the technical field of vehicle-mounted systems, in particular to an automobile system time resynchronization method, an automobile system time resynchronization system and a storage medium.
Background
Against the development of intelligent technology, intelligent driving has become the main stream of research, and whether safety consideration of automobile users or experience consideration of users is carried out, the intelligent technology is used for meeting the demands of the users, so that the intelligent automobile has been the direction of research. While the need to support more intelligent services has to increase the perception of the car itself, in this context the number of sensors of the intelligent driving system to perceive the external environment will increase. The intelligent driving system needs to process information fed back by the sensor, recognizes surrounding environment, and further decides whether the vehicle needs to change lanes or decelerate or not. When processing the vehicle surrounding information fed back by different sensors, it is important that the information fed back by the sensors is particularly the information at that time point, if the time points of the information fed back by the different sensors are different, the recognized vehicle surrounding environment of the information after being processed by the intelligent driving system is inaccurate, the control of the intelligent driving system on the vehicle error can be directly affected, and serious potential safety hazards exist. Therefore, the time synchronization of each unit in the automobile system is ensured, and the intelligent processing is realized. The current processing schemes are all synchronous schemes between internal and external clocks of a multi-core SoC (System on a chip) chip. However, for intelligent automobiles, a large amount of backup needs to be performed on the operation data, and thus, a backup system is required, and the time synchronization of the automobile system constructed by the system is not suitable for the traditional time synchronization scheme. Because the current time synchronization method only needs to ensure the time synchronization of the internal and external devices after power is supplied, for the backup system, because the state of the backup system needs to be monitored because the corresponding data at the moment needs to be stored, the time synchronization can be executed only when the backup system has the data backup capability, and the corresponding association judgment means does not exist in the existing scheme. Aiming at the problem that the existing scheme can not meet the time resynchronization requirement of the automobile system with a backup system, a new time resynchronization scheme of the automobile system needs to be created.
Disclosure of Invention
The invention aims to provide an automobile system time resynchronization method, a resynchronization system and a storage medium, which are used for solving the problem that the existing scheme cannot meet the requirement of the automobile system time resynchronization with a backup system.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
the first aspect of the present invention provides an automobile system time resynchronization method, which includes: continuously performing self abnormal restarting self-checking in an ignition period, and counting the identified abnormal restarting signals; when the counted number of the abnormal restarting signals is not greater than the preset number of the abnormal restarting signals, judging whether the backup system is in a standby state or not; if the backup system is in an activated state, continuously judging the state of the backup system until the backup system is in a standby state, and triggering a synchronous instruction; and executing time synchronization of each unit of the automobile system based on the synchronization instruction.
Optionally, in the ignition period, the self-abnormal restart self-test is continuously performed, including: in the ignition period, carrying out restarting signal identification; and taking the restart signal which is obtained by identification and is associated with the starting instruction as a normal restart signal, and identifying the rest restart signals as abnormal restart signals.
Optionally, the counting the identified abnormal restart signal includes: every time a restart signal without related start instruction is identified, the counter counts once until the current ignition period is completed; counting the count value of the counter, and taking the count value as the number of the abnormal restarting signals.
Optionally, when the counted number of abnormal restart signals is greater than the preset number of abnormal restart signals, the method further includes: in the current ignition period, time synchronization is no longer performed.
Optionally, the backup system includes a plurality of redundant backup systems; when the counted number of abnormal restarting signals is not greater than the preset number of abnormal restarting signals, judging whether the backup system is in a standby state or not, including: continuously receiving state information of each redundant backup system according to a fixed period, and judging the state of each redundant backup system to be a standby state or an activated state; after the states of all the redundant backup systems are obtained, judging whether the state of at least one redundant backup system is a standby state.
Optionally, the determining that each redundant backup system state is a standby state or an active state includes: if the state information of the redundant backup system received under the continuous preset monitoring times is in a standby state, judging that the state of the redundant backup system is in the standby state; and once the state information of the redundant backup system is received as an active state, judging that the state of the redundant backup system is the active state.
Optionally, the continuously performing the judging of the state of the backup system until the backup system is in a standby state, triggering a synchronization instruction includes: when at least one redundant backup system is judged to be in a standby state, a resynchronization zone bit is generated; and generating a corresponding time synchronization message based on the resynchronization mark bit so as to trigger a synchronization instruction.
Optionally, based on the synchronization instruction, performing time synchronization of each unit of the automobile system includes: responding to the synchronous instruction, and executing time synchronization of each unit of the automobile system based on an initial power-on time synchronization rule; wherein, the initial power-on time synchronization rule comprises: the vehicle-mounted networking terminal performs time service on the master clock module through the bus, so that the vehicle-mounted networking terminal and the master clock module are time-synchronized; the master clock module respectively carries out time service on each redundant backup system so that the time of the master clock module and each redundant backup system is synchronous; the master clock module is used for carrying out time service on the external control unit synchronously, so that the time of the master clock module and the time of the external control unit are synchronous.
A second aspect of the present invention provides an automotive system time resynchronization system, the automotive system time resynchronization system comprising: the acquisition unit is used for continuously carrying out self abnormal restarting self-detection in an ignition period and counting the identified abnormal restarting signals; the judging unit is used for judging whether the backup system is in a standby state or not when the counted abnormal restarting signal quantity is not more than the preset abnormal restarting signal quantity; the processing unit is used for continuously judging the state of the backup system when the judging unit judges that the backup system is in an activated state until the redundant backup system is in a standby state, and triggering a synchronous instruction; and the execution unit is used for executing time synchronization of each unit of the automobile system based on the synchronization instruction.
In another aspect, the present invention provides a computer readable storage medium having instructions stored thereon, which when run on a computer cause the computer to perform the above-described method of resynchronizing a vehicle system time.
The invention has the beneficial effects that:
1) In the scheme of the invention, whether a special restarting signal exists is continuously judged in an ignition period, when the special restarting signal exists, the corresponding practical synchronization scheme is executed, so that the time of each unit of the system can be automatically resynchronized after the special restarting, and the data acquired during the subsequent state sensing can be acquired at the same moment, so that the safety of vehicle sensing is ensured.
2) Further, before executing the time synchronization, the state of the redundant backup system is first judged, and when at least one backup system has backup capability, the time synchronization is executed again, so that the backup system is ensured to have the data backup after the time synchronization, and the backup accuracy of the time node is ensured.
3) The scheme of the invention executes data backup after judging the state of the backup system, thereby realizing the time resynchronization of the automobile system with the backup system.
Drawings
FIG. 1 is a flowchart illustrating steps of a method for resynchronizing time of an automotive system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a specific implementation architecture of an embodiment of an automobile system time resynchronization method according to the present invention;
FIG. 3 is a flowchart illustrating an implementation process of a method for resynchronizing time of an automobile system according to an embodiment of the present invention;
fig. 4 is a system configuration diagram of an automobile system time resynchronization system according to an embodiment of the present invention.
Detailed Description
Further advantages and effects of the present invention will become readily apparent to those skilled in the art from the disclosure herein, by referring to the accompanying drawings and the preferred embodiments. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention. It should be understood that the preferred embodiments are presented by way of illustration only and not by way of limitation.
Against the development of intelligent technology, intelligent driving has become the main stream of research, and whether safety consideration of automobile users or experience consideration of users is carried out, the intelligent technology is used for meeting the demands of the users, so that the intelligent automobile has been the direction of research. While the need to support more intelligent services has to increase the perception of the car itself, in this context the number of sensors of the intelligent driving system to perceive the external environment will increase. The intelligent driving system needs to process information fed back by the sensor, recognizes surrounding environment, and further decides whether the vehicle needs to change lanes or decelerate or not. When processing the vehicle surrounding information fed back by different sensors, it is important that the information fed back by the sensors is particularly the information at that time point, if the time points of the information fed back by the different sensors are different, the recognized vehicle surrounding environment of the information after being processed by the intelligent driving system is inaccurate, the control of the intelligent driving system on the vehicle error can be directly affected, and serious potential safety hazards exist.
Therefore, ensuring time synchronization of each unit in the automobile system is a basis for realizing intelligent processing, in the existing scheme, as disclosed in patent application with the name of CN114866177A, namely a multi-core SoC chip, an inter-core time synchronization method thereof, a system thereof and an automobile, a global register (such as a global time base counter) which can be accessed by a first core and each second core is arranged inside the multi-core SoC chip, so that the precision of inter-core time synchronization of the multi-core SoC chip is improved, and meanwhile, the difficulty and development workload of realizing the inter-core time synchronization of the multi-core SoC chip in other protocol modes are avoided. The current processing scheme is the same as the scheme, and is a synchronous scheme between internal and external clocks of the multi-core SoC chip. However, for intelligent automobiles, a large amount of backup needs to be performed on the operation data, and thus, a backup system is required, and the time synchronization of the automobile system constructed by the system is not suitable for the traditional time synchronization scheme. Because the current time synchronization method only needs to ensure the time synchronization of the internal and external devices after power is supplied, for the backup system, the state of the backup system needs to be monitored because the corresponding data at the moment needs to be stored, and the time synchronization is executed when the backup system has the data backup capability, so that the follow-up data tracking is convenient.
Aiming at the problem that the existing scheme cannot meet the requirement of the time resynchronization of an automobile system with a backup system, the invention provides a novel method for the time resynchronization of the automobile system. Further, before executing the time synchronization, the state of the redundant backup system is first judged, and when at least one backup system has backup capability, the time synchronization is executed again, so that the backup system is ensured to have the data backup after the time synchronization, and the backup accuracy of the time node is ensured. The scheme of the invention executes data backup after judging the state of the backup system, thereby realizing the time resynchronization of the automobile system with the backup system.
Fig. 1 is a flowchart of a method for providing a time resynchronization method for an automobile system according to an embodiment of the present invention. As shown in fig. 1, an embodiment of the present invention provides a method for resynchronizing time of an automobile system, the method comprising:
step S10: and in the ignition period, continuously performing self abnormal restarting self-detection, and counting the identified abnormal restarting signals.
Specifically, the technical problem to be solved by the scheme of the invention is that the time resynchronization problem of the automobile system with the backup system after abnormal starting is solved, and for initial time synchronization, the time synchronization is only needed based on multi-module time service under the traditional scheme. After the vehicle is started abnormally, the main clock module has the problem of resetting, and after the resetting is finished, the corresponding time synchronization scheme can be executed only when the backup system is in a standby state. The existing scheme cannot guarantee the time synchronization, and if the traditional time synchronization scheme is based, the traditional time synchronization scheme cannot guarantee that the main clock module is reset, so that the time synchronization cannot be normally completed.
Preferably, the self-abnormal restart self-test is continuously performed in the ignition period, including: in an ignition period, carrying out restarting signal identification; identifying a restarting signal associated with the starting instruction, and taking the restarting signal associated with the starting instruction obtained by identification as a normal restarting signal; the remaining restart signal is identified as an abnormal restart signal.
In the embodiment of the invention, because the scheme is a time resynchronization scheme after abnormal starting, whether the vehicle system is in abnormal restarting or not is required to be judged. If the user has an active restart requirement, the user triggers a corresponding restart instruction, the system executes a corresponding restart operation based on the restart instruction, and a restart signal is generated in the system, but the restart signal is a normal restart requirement because the restart signal is actively triggered by the user, and the restart signal is taken as a normal restart signal and does not include abnormal restart judgment. When there is no restart instruction and the vehicle system alone performs restart operation, which may be an abnormal restart operation caused by power failure, system running and other problems, for this abnormal restart operation, subsequent practice synchronous automatic execution needs to be performed, so as to ensure that after the vehicle system is restarted, the time between each unit is completely synchronous when the corresponding system perception is performed.
Preferably, the counting the identified abnormal restart signal includes: every time a restart signal without related start instruction is identified, the counter counts once until the ignition period is completed; after the ignition period is completed, counting the count value of the counter, and taking the count value as the number of abnormal restarting signals.
In the embodiment of the invention, the counter is arranged in the scheme for carrying out technical statistics on the abnormal restarting signals so as to ensure that the corresponding times of the abnormal restarting signals are directly output after one ignition period is completed, avoid the data re-acquisition process after restarting is completed and improve the response speed of the system.
Step S20: and judging whether the backup system is in a standby state or not when the counted abnormal restarting signal quantity is not more than the preset abnormal restarting signal quantity.
In the embodiment of the present invention, the backup system is preferably one or more backup systems, and if there are multiple backup systems, they work as redundant backup systems. For the running data of the vehicle system, the data storage stability is the basis for the subsequent requirements of data tracking, fault judgment and the like. Therefore, if one backup system fails, it cannot normally perform data backup, and when there is a data query demand, it cannot meet the user requirement. Based on the above, a plurality of backup systems are often configured in the current vehicle system, and the stability of data backup is ensured through the configuration of the redundant systems, so that the problem that data cannot be normally backed up due to the failure of the backup systems is avoided.
Based on this, when the backup system is in the standby state, the present invention needs to perform a plurality of redundant backup system state determinations, and when the counted number of abnormal restart signals is not greater than the preset number of abnormal restart signals, the method determines whether the backup system is in the standby state, including: continuously receiving state information of each redundant backup system based on a preset fixed period, and judging that the state of each redundant backup system is in a standby state or an activated state; after the states of all the redundant backup systems are obtained, judging whether the state of at least one redundant backup system is a standby state.
Preferably, the determining that each redundant backup system state is a standby state or an active state includes: if the state information of the redundant backup system received under the continuous preset monitoring times is in a standby state, judging that the state of the redundant backup system is in the standby state; if the received state information of the redundant backup system is the active state, the state of the redundant backup system is judged to be the active state.
In the embodiment of the present invention, the above has been described, and it is actually a determination of the reset state of the master clock module for the state determination of the backup system. Based on the above, the state identification mode of the backup system according to the scheme of the invention is that the state identification of the backup system is carried out based on the reset state of the main clock module. And when the main clock module is monitored to be reset, the redundant backup system state is activated. And the completion success rate of the subsequent execution time synchronization is ensured by carrying out linkage judgment on the reset state of the main clock and the standby/active state of the backup system, so that the problem of unsuccessful time synchronization or abnormal data backup is avoided.
In one possible implementation manner, if the counted number of abnormal restart signals is greater than the preset number of abnormal restart signals, then time synchronization is not performed any more in the present ignition period. When the number of preset abnormal restarting signals is 2, when the number of times of completing the abnormal restarting of the ignition cycle is more than 2, the time synchronization is not executed. This way, repeated time synchronization can be avoided, when a great number of abnormal restarts exist in one ignition period, the fault problem of the system is indicated to exist in a large probability, and the time synchronization becomes meaningless, so when the abnormal restarting times are larger than the preset times, the problem to be solved by the core is system fault processing, meaningless time synchronization operation is not executed, and the time synchronization is not executed any more in the ignition period. Preferably, alarm information is generated simultaneously to inform a user of fault handling.
Step S30: if the backup system is in an activated state, the state judgment of the backup system is continuously carried out until the backup system is in a standby state, and a synchronous instruction is triggered.
Specifically, if the backup system is in an active state, which indicates that it has started a backup operation, the corresponding master clock module is in a reset state, and time resynchronization is not required in this state. Therefore, when the backup system is in an active state, state information of the backup system needs to be continuously collected, and when the backup system is in a standby state, a corresponding synchronization instruction is triggered.
Preferably, the triggering the synchronization instruction until the backup system is in a standby state includes: when at least one redundant backup system is judged to be in a standby state, a resynchronization zone bit is generated; and generating a corresponding time synchronization message based on the generated resynchronization marker bit so as to trigger a synchronization instruction.
Step S40: and executing time synchronization of each unit of the automobile system based on the synchronization instruction.
Specifically, responding to the synchronization instruction, and executing time synchronization of each unit of the automobile system based on an initial power-on time synchronization rule; wherein, the initial power-on time synchronization rule comprises: the vehicle-mounted networking terminal performs time service on the master clock module through the bus, so that the vehicle-mounted networking terminal and the master clock module are time-synchronized; the master clock module respectively carries out time service on each redundant backup system so that the time of the master clock module and each redundant backup system is synchronous; the master clock module is used for carrying out time service on the external control unit synchronously, so that the time of the master clock module and the time of the external control unit are synchronous.
In one possible implementation, as in fig. 2, in one ADC control domain, the vehicle system includes 1 master clock module (MCU 1), 2 redundant backup systems (SOC 1 and SOC 2), 1 on-board networked terminal (ECU 1), and 1 off-board control unit (ECU 2). When it performs synchronization, as in fig. 3, the external ECU1 (T-BOX) time-feeds the master clock module MCU1 in the domain controller ADC through the CAN1 so that the time of the MCU1 is time-synchronized with the external ECU 1. When the main clock MCU1 in the ADC domain control is in time synchronization with the external ECU1, the MCU1 carries out time service on the SOC1 and the SOC2 through the ETH1 and the ETH2, so that the system time of the MCU1, the SOC1 and the SOC2 in the ADC domain controller is ensured to be within an acceptable error range. At the same time, the MCU1 will be used as a master clock to time the external ECU2 through the CAN2, and the ECU2 is used as a slave clock to adjust the self system time to be the same as the ADC domain control time. The redundant backup system in the SOC1 or in the SOC2 monitors whether the MCU1 is reset or not in real time (through a GPIO interface or a question-answer mechanism), monitors that the state of the redundant backup system is standby when the MCU1 is not reset, monitors that the state of the redundant backup system becomes active when the MCU1 is reset, and transmits the state of the redundant backup system to the MCU1 in a fixed period. When the MCU1 judges that the self is abnormal and restarted, the number of times of completing the abnormal and restarted ignition cycle of the round is less than or equal to 2, and the redundant backup system of the SOC1 or the SOC2 is in standby after continuously receiving 2 times, three frames of resynchronization marker bits are sent first, and then a time synchronization message is sent. When the MCU1 judges that the self is abnormally restarted, the number of times of completion of the abnormal restarting of the ignition cycle is less than or equal to 2, and the redundant backup system of the SOC1 or the SOC2 is activated, the three-frame resynchronization marker bit and the time synchronization message are not sent until the redundant backup system of the SOC1 or the SOC2 is continuously received for 2 times and is in standby.
Fig. 4 is a system configuration diagram of an automobile system time resynchronization system according to an embodiment of the present invention. As shown in fig. 4, an embodiment of the present invention provides an automotive system time resynchronization system, the system comprising: the acquisition unit is used for continuously performing self abnormal restarting self-detection in an ignition period and counting the identified abnormal restarting signals; the judging unit is used for judging whether the backup system is in a standby state or not when the counted abnormal restarting signal quantity is not more than the preset abnormal restarting signal quantity; the processing unit is used for continuously judging the state of the backup system if the backup system is in an activated state until the redundant backup system is in a standby state and triggering a synchronous instruction; and the execution unit is used for executing time synchronization of each unit of the automobile system based on the synchronization instruction.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores instructions, and when the computer is run on the computer, the computer is caused to execute the method for resynchronizing the time of the automobile system.
Those skilled in the art will appreciate that all or part of the steps in a method for implementing the above embodiments may be implemented by a program stored in a storage medium, where the program includes several instructions for causing a single-chip microcomputer, chip or processor (processor) to perform all or part of the steps in a method according to the embodiments of the invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The alternative embodiments of the present invention have been described in detail above with reference to the accompanying drawings, but the embodiments of the present invention are not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solutions of the embodiments of the present invention within the scope of the technical concept of the embodiments of the present invention, and all the simple modifications belong to the protection scope of the embodiments of the present invention. In addition, the specific features described in the above embodiments may be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the various possible combinations of embodiments of the invention are not described in detail.
In addition, any combination of the various embodiments of the present invention may be made, so long as it does not deviate from the idea of the embodiments of the present invention, and it should also be regarded as what is disclosed in the embodiments of the present invention.

Claims (10)

1. A method for resynchronizing vehicle system time, the method comprising:
continuously performing self abnormal restarting self-checking in an ignition period, and counting the identified abnormal restarting signals;
when the counted number of the abnormal restarting signals is not greater than the preset number of the abnormal restarting signals, judging whether the backup system is in a standby state or not;
if the backup system is in an activated state, continuously judging the state of the backup system until the backup system is in a standby state, and triggering a synchronous instruction;
and executing time synchronization of each unit of the automobile system based on the synchronization instruction.
2. The method for resynchronizing time of an automotive system according to claim 1, wherein the continuous self-check for abnormal restart during the ignition cycle comprises:
in the ignition period, carrying out restarting signal identification;
and taking the restart signal which is obtained by identification and is associated with the starting instruction as a normal restart signal, and identifying the rest restart signals as abnormal restart signals.
3. The method of claim 2, wherein said counting the identified abnormal restart signal comprises:
every time a restart signal without related start instruction is identified, the counter counts once until the current ignition period is completed;
counting the count value of the counter, and taking the count value as the number of the abnormal restarting signals.
4. The method for resynchronizing time of an automotive system according to claim 1, wherein when the counted number of abnormal restart signals is greater than the preset number of abnormal restart signals, the method further comprises:
in the current ignition period, time synchronization is no longer performed.
5. The method of claim 1, wherein the backup system comprises a plurality of redundant backup systems;
when the counted number of abnormal restarting signals is not greater than the preset number of abnormal restarting signals, judging whether the backup system is in a standby state or not, including:
continuously receiving state information of each redundant backup system according to a fixed period, and judging the state of each redundant backup system to be a standby state or an activated state;
after the states of all the redundant backup systems are obtained, judging whether the state of at least one redundant backup system is a standby state.
6. The method for resynchronizing system time of an automobile according to claim 5, wherein the determining that each redundant backup system state is a standby state or an active state comprises:
if the state information of the redundant backup system received under the continuous preset monitoring times is in a standby state, judging that the state of the redundant backup system is in the standby state;
and once the state information of the redundant backup system is received as an active state, judging that the state of the redundant backup system is the active state.
7. The method for resynchronizing time of an automotive system according to claim 5, wherein the continuously performing the backup system status determination until the backup system is in a standby state, triggering the synchronization command, comprises:
when at least one redundant backup system is judged to be in a standby state, a resynchronization zone bit is generated;
and generating a corresponding time synchronization message based on the resynchronization mark bit so as to trigger a synchronization instruction.
8. The method for resynchronizing time of an automotive system according to claim 5, wherein the step of performing time synchronization of each unit of the automotive system based on the synchronization instruction comprises:
responding to the synchronous instruction, and executing time synchronization of each unit of the automobile system based on an initial power-on time synchronization rule; wherein, the liquid crystal display device comprises a liquid crystal display device,
the initial power-up time synchronization rule includes:
the vehicle-mounted networking terminal performs time service on the master clock module through the bus, so that the vehicle-mounted networking terminal and the master clock module are time-synchronized;
the master clock module respectively carries out time service on each redundant backup system so that the time of the master clock module and each redundant backup system is synchronous;
the master clock module is used for carrying out time service on the external control unit synchronously, so that the time of the master clock module and the time of the external control unit are synchronous.
9. An automotive system time resynchronization system, the automotive system time resynchronization system comprising:
the acquisition unit is used for continuously carrying out self abnormal restarting self-detection in an ignition period and counting the identified abnormal restarting signals;
the judging unit is used for judging whether the backup system is in a standby state or not when the counted abnormal restarting signal quantity is not more than the preset abnormal restarting signal quantity;
the processing unit is used for continuously judging the state of the backup system when the judging unit judges that the backup system is in an activated state until the redundant backup system is in a standby state, and triggering a synchronous instruction;
and the execution unit is used for executing time synchronization of each unit of the automobile system based on the synchronization instruction.
10. A computer readable storage medium having instructions stored thereon, which when run on a computer causes the computer to perform the method of time resynchronization of an automotive system according to any one of claims 1 to 8.
CN202310546802.1A 2023-05-15 2023-05-15 Time resynchronization method for automobile system, resynchronization system and storage medium Pending CN116841348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310546802.1A CN116841348A (en) 2023-05-15 2023-05-15 Time resynchronization method for automobile system, resynchronization system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310546802.1A CN116841348A (en) 2023-05-15 2023-05-15 Time resynchronization method for automobile system, resynchronization system and storage medium

Publications (1)

Publication Number Publication Date
CN116841348A true CN116841348A (en) 2023-10-03

Family

ID=88169452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310546802.1A Pending CN116841348A (en) 2023-05-15 2023-05-15 Time resynchronization method for automobile system, resynchronization system and storage medium

Country Status (1)

Country Link
CN (1) CN116841348A (en)

Similar Documents

Publication Publication Date Title
CN108847982B (en) Distributed storage cluster and node fault switching method and device thereof
US9390569B2 (en) Control and diagnosis of a controller wake up feature
US20220329335A1 (en) Time synchronization method and apparatus for domain controller, domain controller and storagr medium
US20080141283A1 (en) Application Controlling Apparatus And Storage Medium Which Stores Software For The Apparatus
CN111965968A (en) Switching control method, system and device
AU2020285262B2 (en) Error recovery method and apparatus
US9330049B2 (en) Method and apparatuses for monitoring system bus
US10994675B2 (en) Vehicle control device and vehicle system
CN113064748B (en) Process succession method, device, electronic equipment and storage medium
CN105955850A (en) Abnormal reset processing method and system for vehicle control unit
CN115587071B (en) Multi-core heterogeneous SoC-based vehicle-mounted system data storage system and method
CN112199240B (en) Method for switching nodes during node failure and related equipment
CN111800810A (en) Intelligent device and system and method for recovering abnormity of WCN module thereof
CN116841348A (en) Time resynchronization method for automobile system, resynchronization system and storage medium
CN112835735A (en) Method and system for solving abnormal sleeping and abnormal awakening of vehicle and vehicle
CN116483649A (en) Process monitoring method and device for passenger parking system, vehicle and storage medium
CN107179911B (en) Method and equipment for restarting management engine
CN112433968B (en) Controller sharing synchronization method and device
US11726853B2 (en) Electronic control device
CN113946130A (en) Motor controller chip awakens system up
CN110865906B (en) Motor initial position angle storage method and device, vehicle and storage medium
CN113923695A (en) Awakening fault detection method and device and message sending method and device
CN115877777B (en) Intelligent cabin safety system and method based on one-core multi-system
CN101158920A (en) Method and apparatus for detecting fault of operating system
CN118018172A (en) Domain controller time synchronization system

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