CN103092720A - Core processing device used for vehicular terminal and restoring method for core processing device - Google Patents

Core processing device used for vehicular terminal and restoring method for core processing device Download PDF

Info

Publication number
CN103092720A
CN103092720A CN201110337615XA CN201110337615A CN103092720A CN 103092720 A CN103092720 A CN 103092720A CN 201110337615X A CN201110337615X A CN 201110337615XA CN 201110337615 A CN201110337615 A CN 201110337615A CN 103092720 A CN103092720 A CN 103092720A
Authority
CN
China
Prior art keywords
core processor
nonvolatile memory
boot program
stored
operating system
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.)
Granted
Application number
CN201110337615XA
Other languages
Chinese (zh)
Other versions
CN103092720B (en
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.)
SHENZHEN ZHONGHONG TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN ZHONGHONG TECHNOLOGY 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 SHENZHEN ZHONGHONG TECHNOLOGY Co Ltd filed Critical SHENZHEN ZHONGHONG TECHNOLOGY Co Ltd
Priority to CN201110337615.XA priority Critical patent/CN103092720B/en
Publication of CN103092720A publication Critical patent/CN103092720A/en
Application granted granted Critical
Publication of CN103092720B publication Critical patent/CN103092720B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a core processing device used for a vehicular terminal. The core processing device comprises a core processor, a nonvolatile memory stored with a BOOT program and a microprocessor stored with a backup BOOT program, and the backup BOOT program stored in the microprocessor is used for re-burning the BOOT program when the BOOT program stored in the nonvolatile memory fails. The invention further discloses a restoring method for the core processing device. The method includes steps: loading the BOOT program stored in the nonvolatile memory into the core processor and running the BOOT program, judging whether the BOOT program runs normally or not, if yes, continuing, if not, resetting the core processor, and burning the BOOT program stored in the microprocessor into the nonvolatile memory. By the core processing device used for the vehicular terminal and the restoring method, if the BOOT program fails, connecting the device to a computer or taking down the nonvolatile memory stored with the BOOT program for burning the BOOT program is not needed, so that difficulty in restoring the BOOT program is lowered.

Description

The kernel processing device and the restoration methods that are used for car-mounted terminal
Technical field
The present invention relates to onboard system, more particularly, relate to a kind of kernel processing device for car-mounted terminal and restoration methods.
Background technology
Generally speaking, vehicle entertainment system comprises audio devices, video-unit, GPS locating device, controls core processing apparatus and power supply of each device, to provide the multi-functional entertainment service such as vehicle-mounted audio frequency, video, GPS location to the user.Wherein, on the core processing apparatus, operation has BOOT program, operating system program and user application, core processing apparatus to coordinate and control other device, to realize multi-functional entertainment service.Vehicle entertainment system will be worked normally, and the BOOT program, operating system program and the user application that require to operate on its control device all are in normal operating condition.
Wherein, the BOOT program is as boot, and is generally smaller, usually only has the 200KB left and right, complete the most basic initialization of core processor, realize the loading of operating system program is started, realize renewal, upgrading and recovery to operating system program and user application.Load and the operation system program after the normal operation of BOOT program, load and carry out user application after the normal operation of operating system program.
The kernel processing device of existing vehicle entertainment system, when operation BOOT program is thereon made mistakes, can not realize the automatic recovery to the BOOT program, can only be by kernel processing device be connected computer, perhaps will store for the storer of the BOOT program of load operating and pull down, so that the BOOT program is carried out burning again.
Summary of the invention
The technical problem to be solved in the present invention is, defects for prior art, when providing a kind of BOOT program in the storer of kernel processing device to damage, can carry out to the BOOT program kernel processing device that is used for car-mounted terminal and the corresponding restoration methods of recovery automatically.
The technical solution adopted for the present invention to solve the technical problems is: a kind of kernel processing device for car-mounted terminal is provided, comprise the core processor that is provided with the first serial line interface, the microcontroller that is connected with core processor by the first serial line interface, being subjected to microprocessor controls is the first power supply that core processor powers on, and is connected and stores the nonvolatile memory of BOOT program, operating system program and user application with core processor by bus;
Store the BOOT program as backup in microcontroller; The BOOT program of core processor load store in nonvolatile memory and operation; Core processor judges whether BOOT program operation is normal, if operation makes mistakes, will be stored in BOOT burning program in microcontroller in nonvolatile memory;
Non-volatile memory contains operating system program and the user application as the compression of backup; Operate in the operating system program of BOOT program load store in nonvolatile memory on core processor to core processor; Whether the operation of core processor decision operation system program is normal, makes mistakes if move, and is stored in the interior operating system program of nonvolatile memory with the operating system program refitting that is stored in compression in nonvolatile memory; Operate in the user application of operating system program load store in nonvolatile memory on core processor to core processor; Core processor judges whether the user application operation is normal, makes mistakes if move, and is stored in the interior user application of nonvolatile memory with the user application refitting that is stored in compression in nonvolatile memory;
Wherein, the BOOT program that is stored in nonvolatile memory is identical with the BOOT program that is stored in the interior conduct backup of microcontroller.
Kernel processing device for car-mounted terminal of the present invention, microcontroller is controlled second source by the main control processor on described device external piloting control plate it is powered on; Also be provided with the second serial line interface on core processor, core processor is connected with main control processor by the second serial line interface.
Kernel processing device for car-mounted terminal of the present invention, operating system program and the user application of BOOT program, operating system program and the compression of non-volatile memory storage are read-only type, and the user application of non-volatile memory storage is read-write type.
Kernel processing device for car-mounted terminal of the present invention, the first serial line interface comprises:
The first emission interface, core processor sends data by the first emission interface to microcontroller;
The first receiving interface, core processor receives by the first receiving interface the data that microcontroller sends;
The second serial line interface comprises:
The second emission interface, core processor sends data by the second emission interface to the main control processor that is arranged on the external piloting control plate;
The second receiving interface, core processor receive the data of the main control processor transmission that is arranged on the external piloting control plate by the second receiving interface.
Kernel processing device for car-mounted terminal of the present invention also comprises the first memory that is connected with core processor by bus.
Kernel processing device for car-mounted terminal of the present invention also comprises the satnav and signal receiving interface, display screen interface, video A/D converter and the audio frequency A/D and D/A converter that are connected with core processor by bus respectively.
according to a kind of restoration methods to above-mentioned kernel processing device provided by the invention, the operating system program of pre-stored BOOT program, operating system program, user application, compression and user application are to nonvolatile memory, pre-stored backup BOOT program is to microcontroller, starter gear, described restoration methods comprises the following steps:
The BOOT program that the core processor of A1, described device will be stored in nonvolatile memory is loaded on it and operation;
Whether A2, core processor judgement operation BOOT program thereon is normal, if normal operation enter step B1, otherwise would enter A3;
A3, the microcontroller core processor that resets, core processor with backup at the BOOT burning program on microcontroller to nonvolatile memory recovering to be stored in the BOOT program on nonvolatile memory, the microcontroller core processor that again resets enters steps A 1;
B1, the operating system program that will be stored on nonvolatile memory in the BOOT program of moving on core processor are loaded on core processor and start;
Whether the operation of B2, core processor decision operation system program is normal, if normal operation enter step C1, otherwise would enter B3;
B3, the microcontroller core processor that resets, core processor is reset and is stored in operating system program on nonvolatile memory with being stored in the operating system program that compresses in nonvolatile memory, the microcontroller core processor that again resets, enter steps A 1 afterwards;
C1, operate in the user application that operating system program on core processor will be stored on nonvolatile memory and be loaded on core processor and start;
C2, core processor judge whether the user application operation is normal, and normal operation enters C4, otherwise enters C3;
C3, the microcontroller core processor that resets, core processor is reset and is stored in user application on nonvolatile memory with being stored in the user application that compresses in nonvolatile memory, the microcontroller core processor (101) that again resets, enter steps A 1 afterwards;
C4, enter normal workflow;
Wherein, the BOOT program that is stored in nonvolatile memory is identical with the BOOT program that is stored in the interior conduct backup of microcontroller.
In restoration methods provided by the invention, main control processor on its external piloting control plate of described device starts, also comprise step between steps A 2 and A3: if BOOT program normal operation, core processor sends the normal enabling signal of BOOT program to microcontroller, otherwise does not send; Microcontroller does not receive the normal enabling signal of BOOT program at the appointed time, and the BOOT program that will back up thereon sends to core processor;
Stipulated time by to microcontroller set in advance select.
In restoration methods provided by the invention, in step B2, whether normal step also comprises the operation of core processor decision operation system program: core processor judges whether its second emission interface is low level; Emission interface is that low level is that operating system program launch is normal, and no is that operating system program launch is undesired.
Preferably, operating system program and the user application of BOOT program, operating system program and the compression of non-volatile memory storage are read-only type, and the described user application of non-volatile memory storage is read-write type.
kernel processing device for car-mounted terminal of the present invention has following beneficial effect: when core processor is judged the BOOT program operation that loads from nonvolatile memory and made mistakes, to back up thereon BOOT burning program in nonvolatile memory by microcontroller, thereby realized that device is when the operation of BOOT program makes mistakes, need not to take out BOOT program burning again to recover the BOOT program installing the nonvolatile memory that connects computer or will store the BOOT program, make device can simple realization recover to be stored in BOOT program in nonvolatile memory, in addition, the operating system program of the BOOT program that core processor need to be loaded to move, operating system program, user application, backup and user application are with separately storage of the BOOT program that is used for backup, can not have influence on the backup BOOT program that is stored on microcontroller when BOOT program, operating system program and user application in recovering to be stored in nonvolatile memory, make the recovery of said procedure more reliable.
In addition, the present invention is independent from whole inter-vehicle information system for the kernel processing device of car-mounted terminal, makes on-vehicle information core processing apparatus of the present invention can be applicable in more eurypalynous system.
the restoration methods of kernel processing device of the present invention, the BOOT program that core processor need to be loaded to move, operating system program, user application, the operating system program of backup and user application separate storage with the BOOT program that is used for backup, operate in BOOT program on core processor by judgement, whether operating system program and user application be normal, respectively with the BOOT program that is stored on microcontroller, the operating system program and the user application that are stored on nonvolatile memory carry out burning again and refitting, thereby realized the program to BOOT, the automatic recovery of operating system program and user application, and the process of above-mentioned recovery is simple, reliably.
Description of drawings
Fig. 1 is the structural representation that the present invention is used for kernel processing device first embodiment of car-mounted terminal;
Fig. 2 is the schematic diagram of each program storage area of nonvolatile memory of the present invention's kernel processing device of being used for car-mounted terminal;
Fig. 3 is the structural representation that the present invention is used for kernel processing device second embodiment of car-mounted terminal;
Fig. 4 is the structural representation that the present invention is used for kernel processing device the 3rd embodiment of car-mounted terminal;
Fig. 5 is the program flow diagram of the first embodiment of restoration methods of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the kernel processing device for car-mounted terminal of the present invention and restoration methods are further explained explanation.
Fig. 1 is the structural representation that the present invention is used for kernel processing device first embodiment of car-mounted terminal, as shown in Figure 1, at kernel processing device the first embodiment for car-mounted terminal of the present invention, the kernel processing device that is used for car-mounted terminal comprises the core processor 101 that is provided with serial line interface, the microcontroller 102 that is connected with core processor 101 by the first serial line interface, be subjected to microcontroller 102 to be controlled to be the first power supply 103 that described core processor 101 powers on, and be connected with core processor 101 by bus and store the BOOT program, the nonvolatile memory 104 of operating system program and user application.
In the present embodiment, store the BOOT program as backup in microcontroller 102, when the BOOT program operation in being stored in nonvolatile memory 104 makes mistakes, core processor 101 use are stored in the interior BOOT burning program of microcontroller 102 in nonvolatile memory, to realize being stored in the recovery of the BOOT program in nonvolatile memory 104.
In the present embodiment, store operating system program and user application as the compression of backup in nonvolatile memory 104, when the operating system program in being stored in nonvolatile memory 104 or user application operation made mistakes, core processor 101 was correspondingly reset with the operating system program that is stored in the compression in nonvolatile memory 104 or user application and is stored in nonvolatile memory 104 interior operating system program or user application.
In the present embodiment, microcontroller 102 is powered on to it by the main control processor control second source on device 100 external piloting control plates.When the main control processor control second source on the external piloting control plate powers on to device 100, main control processor is controlled second source and is powered on to microcontroller 102, microcontroller 102 is first worked, and then microcontroller 102 control the first power supplys 103 power on for core processor 101.The microcontroller 102 of mentioning in claims core processor 101 that resets, microcontroller 102 essence are to be subjected to the control of main control processor and the core processor 101 that resets.
In the present embodiment, be provided with the first serial line interface on core processor 101, the first serial line interface comprises: the first emission interface, and core processor 101 sends data by the first emission interface to microcontroller 102; The first receiving interface, core processor 101 receives by the first receiving interface the data that microcontroller 102 sends.Also be provided with the second serial line interface on core processor 101, the second serial line interface comprises: the second emission interface, and core processor 101 sends data by the second emission interface to the main control processor that is arranged on the external piloting control plate; The second receiving interface, core processor 101 receive the data of the main control processor transmission that is arranged on the external piloting control plate by the second receiving interface.After installing 100 electrifying startups, core processor 101 operation ROM codes, the BOOT program that the ROM code will be stored in nonvolatile memory 104 is loaded on core processor 101 and starts.101 pairs of operations of core processor BOOT program thereon judges, whether the BOOT program of judgement operation is normal, if the BOOT program of operation is normal, core processor sends the normal signal that starts of a BOOT program by the first emission interface to microcontroller 102, if the BOOT program of operation is made mistakes do not send this signal.Because core processor 101 carries out exchanges data by the second serial line interface and main control processor, during BOOT program normal operation on being loaded into core processor 101, core processor 101 can send by the second emission interface the signal of above-mentioned BOOT program start to main control processor, otherwise does not send.Main control processor does not receive the normal enabling signal of BOOT program that core processor 101 sends at the appointed time, will control the second source microprocessor 102 that resets, the core processor 101 thereby microprocessor 102 resets; Microcontroller 102 does not receive the normal signal that starts of BOOT program that core processor 101 sends at the appointed time, backup BOOT program thereon will be sent to core processor 101 by the first receiving interface.Core processor 101 to nonvolatile memory 104, is realized the BOOT burning program that receives to being stored in the recovery of the BOOT program on nonvolatile memory 104 according to its burning sequential.At this moment, main control processor is not again because receiving at the appointed time the normal enabling signal of BOOT program, the microprocessor 102 that again resets, microprocessor 102 thereby the core processor 101 that again resets.Due to the BOOT program of backup with for separately storage of the BOOT program that is loaded into operation on core processor 101, being stored in nonvolatile memory the BOOT program makes mistakes and can not affect the BOOT of backup program, therefore by above-mentioned burning again, realized being stored in the recovery of BOOT program in nonvolatile memory, again reset after core processor 101, BOOT program after core processor 101 reloads and is resumed has realized the normal operation thereon of BOOT program.
Should be noted that the above-mentioned stipulated time for main control processor and microprocessor 102 arranges and sets both in advance respectively.Both stipulated times can be not identical, with the orderly control that realizes core processor 101 is resetted, transmits backup BOOT program and resets.The design parameter of afore mentioned rules time can and be controlled needs and select according to actual conditions.
Therefore, device 100 of the present invention has been realized when the BOOT program is made mistakes, the nonvolatile memory 104 that need not that device 100 is connected computers or will store the BOOT program is unloaded burning BOOT program again down, makes the recovery to the BOOT program be able to simply, realize reliably.Then microcontroller 10 core processor 101 that again resets, afterwards, core processor 101 will be stored on nonvolatile memory 104, the BOOT program after recovering is loaded into it on and operation, install 100 and enter normal workflow.
After the normal operation of BOOT program that is carried on core processor 101, the operating system program that the BOOT program of above-mentioned operation will be stored on nonvolatile memory 104 is loaded on core processor 101 and starts.Whether core processor 101 decision operation system program operations are normal, if operating system program launch is normal, core processor 101 by the second emission interface to the signal that is arranged on the main control processor transmit operation system program normal operation on device 100 external piloting control plates, if operating system program launch is made mistakes, 101 of core processors can not send above-mentioned information to the main control processor that installs on 100 external piloting control plates.Main control processor can not receive the above-mentioned signal that is sent by core processor 101 at the appointed time, can power on again for device 100, microcontroller 102 is controlled and the core processor 101 that resets by main control processor, and the order wire that main control processor will be connected between main control processor and core processor 101 second emission interfaces is made as low level.The order wire that core processor 101 detects between the second emission interface and main control processor in thereon BOOT program of operation is low level, call be stored on nonvolatile memory 104, resetting as backup, operating system program compression is stored in operating system program on nonvolatile memory 104.After refitting is completed, due to also abnormal operation of operating system program, main control processor still can not receive the signal of its normal operation, again controls microcontroller 102 core processor 101 that resets, core processor begins load operating from the BOOT program again, and device 100 enters normal workflow.
Same, above-mentioned main control processor receives the stipulated time of the normal signal that starts of operating system program that core processor 101 sends, can by main control processor set in advance select.In addition, core processor 101 use backups are reset at the operating system program of compression on nonvolatile memory 104 and are stored in operating system program on nonvolatile memory 104, can operating system program and the user application that be stored in BOOT program, the user application on nonvolatile memory 104 and be used for the compression of backup not impacted.
After the normal operation of operating system program that is carried on core processor 101, the user application that operating system program will be stored on nonvolatile memory 104 is loaded on core processor 101 and starts.Core processor 101 judges whether the user application operation is normal, if user application normal operation, core processor 101 by the second emission interface to the signal that is arranged on the main control processor transmit operation system program normal operation on device 100 external piloting control plates, if operating system program launch is made mistakes, 101 of core processors can not send above-mentioned information to the main control processor that installs on 100 external piloting control plates.To the refitting process of user application and refitting similar process to operating system program, main control processor can not receive the above-mentioned signal that is sent by core processor 101 at the appointed time, can power on again for device 100, control microcontroller 102 core processor 101 that resets, and the order wire that will be connected between itself and core processor 101 second emission interfaces is made as low level.The order wire that core processor 101 detects between the second emission interface and main control processor in thereon BOOT program of operation is low level, call be stored on nonvolatile memory 104, resetting as backup, user application compression is stored in user application on nonvolatile memory 104.After refitting was completed, main control processor was controlled microcontroller 102 core processor 101 that again resets, and device 100 enters normal workflow.
Same, above-mentioned main control processor receives the stipulated time of the normal signal that starts of operating system program that core processor 101 sends, can by main control processor set in advance select.In addition, core processor 101 use backups are reset at the user application of compression on nonvolatile memory 104 and are stored in user application on nonvolatile memory 104, can operating system program and the user application that be stored in BOOT program, the operating system program on nonvolatile memory 104 and be used for the compression of backup not impacted.In addition, the main control processor that is arranged on outside hollow sheeting is all to be set to low level in the order wire that installs between 100 core processor 101 emission interfaces at the signal that does not receive operating system program and user application normal operation, and core processor 101 detects whether above-mentioned order wires are that low level is come recovery operation system program or user application.Because the detection to above-mentioned order wire is to carry out in BOOT program on operating in core processor 101, according to the process of BOOT program, core processor 101 can judge that what need to recover is operating system program or user application.
After the normal operation of BOOT program, operating system program and user application that is loaded on core processor 101, above-mentioned BOOT program communicates by the first serial line interface and microcontroller 102.User application is communicated by letter with the main control processor on being arranged on device 100 external piloting control plates by the second serial line interface, in follow-up normal operation, user application can send to main control processor to a few thing pattern, state etc. by the second emission interface in the second serial line interface, and main control processor sends data-signals such as button, radio reception frequency by the second receiving interface of the second serial line interface to the user application that operates on core processor 101.
In the present embodiment, in nonvolatile memory 104, each program storage area as shown in Figure 2, the operating system program of BOOT program, operating system program and the compression of nonvolatile memory 104 interior storages and user application are read-only type, and the user application of nonvolatile memory 104 interior storages is read-write type.Therefore, generally, the operating system program of BOOT program, operating system program and the compression of nonvolatile memory 104 interior storages and user application are not easy to damage and lose, and the user application of nonvolatile memory 104 interior storages is prone to comparatively speaking damage and loses because often needing to carry out read-write operation.
The structure of the second embodiment of the kernel processing device 100 for car-mounted terminal of the present invention as shown in Figure 3, in this embodiment, the kernel processing device 100 that is used for car-mounted terminal also comprises the first memory 105 that is connected with core processor 101 by bus.In use, first memory 105 is equivalent to internal memory, and nonvolatile memory is equivalent to hard disk, also can adopt the memory device of alternative hard disk.
The structure of the 3rd embodiment of the kernel processing device 100 for car-mounted terminal of the present invention as shown in Figure 4, in this embodiment, the kernel processing device 100 for car-mounted terminal also comprises display screen interface 106, satnav and signal receiving interface 107, video A/D converter 108 and the audio frequency A/D and D/A converter 109 that is connected with core processor 101 by bus respectively.All the other situations are identical with the second embodiment, do not repeat them here.
Other embodiment of kernel processing device 100 for car-mounted terminal of the present invention, one or several parts in device 100 display screen interface 106 that is connected with core processor 101 by bus respectively, satnav and signal receiving interface 107, video A/D converter 108 and the audio frequency A/D and D/A converters 109 that can also comprise on the basis of its first or two embodiment in the 3rd embodiment.The parts such as SD card on core processor 101, Peripheral Interface can also be set, so that can be connected communication with this core processor 101 that installs 100.
The core processor 101 of the kernel processing device 100 for car-mounted terminal of the present invention is connected with other parts by multiple bus, and the parts that core processor 101 connects are depended in the selection of bus.For example, in the 3rd embodiment of device 100, audio frequency A/D and D/A converter 109 can be connected with core processor 101 by the 12S bus.Above is not construed as limiting the present invention for illustrating, in concrete application, the model of selecting according to audio frequency A/D and D/A converter 109, correspondingly select bus type, for other parts that are connected with core processor 101, connect the selection of bus also based on said method.Those skilled in the art can understand the type of the parts that connect according to core processor 101, correspondingly selects bus to connect.
The I2S bus is that PHILIPS Co. is a kind of bus standard that the audio data transmission between digital audio-frequency apparatus is formulated, and this bus is specialized in the data transmission between audio frequency apparatus, is widely used in various multimedia systems.It has adopted along the design with data-signal of wire transmission clock independently, by data are separated with clock signal, has avoided the distortion brought out because of the time difference, for the user has saved the expense of resisting the professional equipment that audio frequency shakes of buying.
In restoration methods according to a kind of kernel processing device provided by the invention, the first embodiment that is applied as restoration methods of the present invention in on-vehicle information core processing apparatus, the program flow diagram of the first embodiment of restoration methods of the present invention is as shown in Figure 5.In the present embodiment, the operating system program of pre-stored BOOT program, operating system program, user application, compression and user application are to nonvolatile memory 104, back up in advance the BOOT program to microcontroller 102, starter gear 100, realize that restoration methods comprises the following steps:
The BOOT program that the core processor 101 of A1, device 100 will be stored in nonvolatile memory 104 is loaded on it and operation;
Whether A2, core processor 101 judgement operations BOOT program thereon is normal, if normal operation enter step B1, otherwise would enter A3;
A3, microcontroller 102 core processor 101 that resets, core processor 101 use backups at the BOOT burning program on microcontroller 102 to nonvolatile memory 104 to recover to be stored in the BOOT program on nonvolatile memory 104, microcontroller 102 core processor 101 that again resets enters steps A 1;
B1, the operating system program that will be stored on nonvolatile memory 104 in the BOOT program of moving on core processor 101 are loaded on core processor 101 and start;
Whether B2, core processor 101 decision operation system programs operations are normal, if normal operation enter step C1, otherwise would enter B3;
B3, microcontroller 102 core processor 101 that resets, core processor 101 calls the operating system program that is stored in nonvolatile memory 104 compression and resets and be stored in operating system program on nonvolatile memory 104, the microcontroller 102 described core processor 101 that again resets, enter steps A 1 afterwards;
C1, operate in the user application that operating system program on core processor 101 will be stored on nonvolatile memory 104 and be loaded on core processor 101 and start;
C2, core processor 101 judge whether the user application operation is normal, and normal operation enters C4, otherwise enters C3;
C3, microcontroller 102 core processor 101 that resets, core processor 101 calls the user application that is stored in nonvolatile memory 104 compression and resets and be stored in user application on nonvolatile memory 104, microcontroller 102 core processor 101 that again resets, enter steps A 1 afterwards;
C4, enter normal workflow.
In the present embodiment, device 100 is started by the main control processor on its external piloting control plate, also comprise step between described steps A 2 and A3: if BOOT program normal operation, core processor 101 sends the normal enabling signal of BOOT program to microcontroller 102, otherwise does not send; Microcontroller 102 does not receive the normal enabling signal of BOOT program at the appointed time, and the BOOT program that will back up thereon sends to core processor 101;
The described stipulated time by to microcontroller 102 set in advance select.
In the present embodiment, in step B2, core processor 101 decision operation system programs move whether normal step also comprises: core processor 101 judges whether its second emission interface that is connected with main control processor is low level; The second emission interface is that low level is that operating system program launch is normal, and no is that operating system program launch is undesired.
In the present embodiment, operating system program and the user application of described BOOT program, operating system program and the compression of nonvolatile memory 104 interior storages are read-only type, and the user application of nonvolatile memory 104 interior storages is read-write type.
Can be improved appropriately the kernel processing device for car-mounted terminal according to the present invention and restoration methods in concrete implementation process, to adapt to the specific requirement of concrete condition.Therefore be appreciated that according to the specific embodiment of the present invention and just play exemplary role, and be different from restriction protection scope of the present invention.

Claims (10)

1. kernel processing device that is used for car-mounted terminal, it is characterized in that, comprise the core processor (101) that is provided with the first serial line interface, the microcontroller (102) that is connected with described core processor (101) by described the first serial line interface, be subjected to described microcontroller (102) to be controlled to be the first power supply (103) that described core processor (101) powers on, and be connected with described core processor (101) by bus and store the BOOT program, the nonvolatile memory of operating system program and user application (104), store the BOOT program as backup in described microcontroller (102), the BOOT program of described core processor (101) load store in described nonvolatile memory (104) and operation, described core processor (101) judges whether the operation of BOOT program is normal, if operation makes mistakes, the BOOT burning program that will be stored in described microcontroller (102) arrives in described nonvolatile memory (104),
Store operating system program and user application as the compression of backup in described nonvolatile memory (104); The operating system program of BOOT program load store in nonvolatile memory (104) that operates on described core processor (101) arrives on described core processor (101); Whether the operation of described core processor (101) decision operation system program is normal, makes mistakes if move, and is stored in the interior operating system program of nonvolatile memory (104) with the operating system program refitting that is stored in compression in described nonvolatile memory (104); The user application of operating system program load store in nonvolatile memory (104) that operates on described core processor (101) arrives on described core processor (101); Described core processor (101) judges whether the user application operation is normal, makes mistakes if move, and is stored in the interior user application of nonvolatile memory (104) with the user application refitting that is stored in compression in described nonvolatile memory (104);
Wherein, the BOOT program that is stored in described nonvolatile memory (104) is identical with the BOOT program that is stored in the interior conduct backup of described microcontroller (102).
2. the kernel processing device for car-mounted terminal according to claim 1, is characterized in that, described microcontroller (102) is controlled second source by the main control processor on described device external piloting control plate it is powered on; Described core processor also is provided with the second serial line interface on (101), and described core processor (101) is connected with main control processor by described the second serial line interface.
3. the kernel processing device for car-mounted terminal according to claim 2, it is characterized in that, in described nonvolatile memory (104), operating system program and the user application of described BOOT program, operating system program and the compression of storage are read-only type, and in described nonvolatile memory (104), the described user application of storage is read-write type.
4. according to claim 2 or 3 described kernel processing devices for car-mounted terminal, is characterized in that, described the first serial line interface comprises:
The first emission interface, described core processor (101) sends data by described the first emission interface to described microcontroller (102);
The first receiving interface, described core processor (101) receives by described the first receiving interface the data that described microcontroller (102) sends;
Described the second serial line interface comprises:
The second emission interface, described core processor (101) sends data by described the second emission interface to the main control processor that is arranged on the external piloting control plate;
The second receiving interface, described core processor (101) receive the data of the main control processor transmission that is arranged on the external piloting control plate by described the second receiving interface.
5. the kernel processing device for car-mounted terminal according to claim 4, is characterized in that, described device also comprises the first memory (105) that is connected with described core processor (101) by bus.
6. the kernel processing device for car-mounted terminal according to claim 5, it is characterized in that, described device also comprises display screen interface (106), satnav and signal receiving interface (107), video A/D converter (108) and the audio frequency A/D and D/A converter (109) that is connected with described core processor (101) by bus respectively.
7. restoration methods of kernel processing device as claimed in claim 1, it is characterized in that, the operating system program of pre-stored BOOT program, operating system program, user application, compression and user application are to nonvolatile memory (104), pre-stored BOOT program arrives microcontroller (102) to back up, starter gear (100), described restoration methods comprises the following steps:
The core processor (101) of A1, described device (100) loads and moves the BOOT program that is stored in described nonvolatile memory (104);
Whether A2, described core processor (101) judgement operation BOOT program thereon is normal, if normal operation enter step B1, otherwise would enter A3;
A3, described microcontroller (102) the described core processor (101) that resets, described core processor (101) arrives on described nonvolatile memory (104) with the BOOT burning program that is stored on described microcontroller (102), described microcontroller (102) core processor (101) that again resets returns to steps A 1;
B1, in the BOOT program of the upper operation of described core processor (101), will be stored in operating system program on described nonvolatile memory (104) and be loaded into described core processor (101) and go up and start;
Whether the operation of B2, described core processor (101) decision operation system program is normal, if normal operation enter step C1, otherwise would enter B3;
B3, described microcontroller (102) the described core processor (101) that resets, described core processor (101) is reset with the operating system program that is stored in compression in described nonvolatile memory (104) and is stored in operating system program on described nonvolatile memory (104), described microcontroller (102) the described core processor (101) that again resets, enter steps A 1 afterwards;
C1, operate in operating system program on described core processor (101) and will be stored in user application on described nonvolatile memory (104) and be loaded into described core processor (101) and go up and start;
C2, described core processor (101) judge whether the user application operation is normal, and normal operation enters C4, otherwise enters C3;
C3, described microcontroller (102) the described core processor (101) that resets, described core processor (101) is reset with the user application that is stored in compression in described nonvolatile memory (104) and is stored in user application on described nonvolatile memory (104), described microcontroller (102) the described core processor (101) that again resets, enter steps A 1 afterwards;
C4, enter normal workflow;
Wherein, be stored in the interior BOOT program of described nonvolatile memory (104) identical with the BOOT program as backup that is stored in described microcontroller (102).
8. restoration methods according to claim 7, it is characterized in that, described device (100) is started by the main control processor on its external piloting control plate, also comprise step between described steps A 2 and A3: if BOOT program normal operation, described core processor (101) sends the normal enabling signal of BOOT program to described microcontroller (102), otherwise does not send; Described microcontroller (102) does not receive the normal enabling signal of described BOOT program at the appointed time, and the BOOT program that will back up thereon sends to described core processor (101);
The described stipulated time by to described microcontroller (102) set in advance select.
9. restoration methods according to claim 7, it is characterized in that, in described step B2, whether normal step also comprises the operation of described core processor (101) decision operation system program: described core processor (101) judges whether its second emission interface is low level; Emission interface is that low level is that operating system program launch is normal, and no is that operating system program launch is undesired.
10. according to claim 7-9 described restoration methods of any one claim, it is characterized in that, in described nonvolatile memory (104), operating system program and the user application of described BOOT program, operating system program and the compression of storage are read-only type, and in described nonvolatile memory (104), the described user application of storage is read-write type.
CN201110337615.XA 2011-10-31 2011-10-31 For kernel processing device and the restoration methods of vehicle-mounted terminal Active CN103092720B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110337615.XA CN103092720B (en) 2011-10-31 2011-10-31 For kernel processing device and the restoration methods of vehicle-mounted terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110337615.XA CN103092720B (en) 2011-10-31 2011-10-31 For kernel processing device and the restoration methods of vehicle-mounted terminal

Publications (2)

Publication Number Publication Date
CN103092720A true CN103092720A (en) 2013-05-08
CN103092720B CN103092720B (en) 2016-06-08

Family

ID=48205325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110337615.XA Active CN103092720B (en) 2011-10-31 2011-10-31 For kernel processing device and the restoration methods of vehicle-mounted terminal

Country Status (1)

Country Link
CN (1) CN103092720B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424050A (en) * 2013-09-03 2015-03-18 比亚迪股份有限公司 Method and system for restoring applications of automobile electronic device and automobile electronic system
CN105607966A (en) * 2015-11-06 2016-05-25 天津津航计算技术研究所 Power-on program loading redundant backup method for SiP chip
CN106462517A (en) * 2014-04-02 2017-02-22 大陆汽车有限公司 Early logo display in multiprocessor architecture
CN106775610A (en) * 2016-03-22 2017-05-31 新华三技术有限公司 A kind of electronic equipment starts method and a kind of electronic equipment
CN107180614A (en) * 2017-06-26 2017-09-19 奇瑞汽车股份有限公司 Vehicle-carrying display screen automatic recovery system, control method and back of the body optical detection circuit
CN108647114A (en) * 2018-03-30 2018-10-12 斑马网络技术有限公司 Vehicle device operating system and its startup method, system partitioning update and restoration methods
CN109408282A (en) * 2018-08-31 2019-03-01 深圳市有方科技股份有限公司 Application Backup restoration methods, equipment and computer readable storage medium
CN112799370A (en) * 2019-10-28 2021-05-14 广州汽车集团股份有限公司 Control device, and vehicle-mounted system software restoration method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1153271A (en) * 1997-07-30 1999-02-26 Denso Corp On-vehicle navigation device
CN1501621A (en) * 2002-11-18 2004-06-02 华为技术有限公司 A safe system starting method
CN1896915A (en) * 2005-07-13 2007-01-17 北京软件与信息服务业促进中心 Computer system based on key recovery function, recovery device and method
CN101111017A (en) * 2006-07-19 2008-01-23 中兴通讯股份有限公司 Mobile terminal for backup and recovery of software and data and method thereof
US20090076681A1 (en) * 2007-09-14 2009-03-19 Denso Corporation Memory management apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1153271A (en) * 1997-07-30 1999-02-26 Denso Corp On-vehicle navigation device
CN1501621A (en) * 2002-11-18 2004-06-02 华为技术有限公司 A safe system starting method
CN1896915A (en) * 2005-07-13 2007-01-17 北京软件与信息服务业促进中心 Computer system based on key recovery function, recovery device and method
CN101111017A (en) * 2006-07-19 2008-01-23 中兴通讯股份有限公司 Mobile terminal for backup and recovery of software and data and method thereof
US20090076681A1 (en) * 2007-09-14 2009-03-19 Denso Corporation Memory management apparatus

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424050B (en) * 2013-09-03 2019-01-29 比亚迪股份有限公司 Restore method, system and the automobile electronic system of vehicle electronics application program
CN104424050A (en) * 2013-09-03 2015-03-18 比亚迪股份有限公司 Method and system for restoring applications of automobile electronic device and automobile electronic system
CN106462517A (en) * 2014-04-02 2017-02-22 大陆汽车有限公司 Early logo display in multiprocessor architecture
US10564984B2 (en) 2014-04-02 2020-02-18 Continental Automotive Gmbh Early logo display in a multiprocessor architecture
CN106462517B (en) * 2014-04-02 2019-08-06 大陆汽车有限公司 Display is identified early stage in multiple processor structure
CN105607966A (en) * 2015-11-06 2016-05-25 天津津航计算技术研究所 Power-on program loading redundant backup method for SiP chip
CN106775610A (en) * 2016-03-22 2017-05-31 新华三技术有限公司 A kind of electronic equipment starts method and a kind of electronic equipment
CN106775610B (en) * 2016-03-22 2021-11-12 新华三技术有限公司 Electronic equipment starting method and electronic equipment
CN107180614B (en) * 2017-06-26 2019-10-11 奇瑞汽车股份有限公司 Vehicle-carrying display screen automatic recovery system, control method
CN107180614A (en) * 2017-06-26 2017-09-19 奇瑞汽车股份有限公司 Vehicle-carrying display screen automatic recovery system, control method and back of the body optical detection circuit
CN108647114A (en) * 2018-03-30 2018-10-12 斑马网络技术有限公司 Vehicle device operating system and its startup method, system partitioning update and restoration methods
CN108647114B (en) * 2018-03-30 2022-03-08 斑马网络技术有限公司 Vehicle machine operating system and starting method thereof, and system partition updating and recovering method
CN109408282A (en) * 2018-08-31 2019-03-01 深圳市有方科技股份有限公司 Application Backup restoration methods, equipment and computer readable storage medium
CN112799370A (en) * 2019-10-28 2021-05-14 广州汽车集团股份有限公司 Control device, and vehicle-mounted system software restoration method and system
CN112799370B (en) * 2019-10-28 2022-04-29 广州汽车集团股份有限公司 Control device, and vehicle-mounted system software restoration method and system

Also Published As

Publication number Publication date
CN103092720B (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN103092720A (en) Core processing device used for vehicular terminal and restoring method for core processing device
EP3159219B1 (en) Vehicle-mounted program writing device
CN103077058B (en) Method and device for installing application program
CN102830984B (en) Method, chip and the communication terminal that firmware updates
CN108334331B (en) Safe electric vehicle battery management system software upgrading method
CN110083374B (en) Upgrade rollback method, system and terminal equipment
CN102243594A (en) Method for safely and remotely upgrading embedded Linux system software
CN103365688A (en) Method for automatic installation and synchronization of software between Android intelligent devices
CN112291621B (en) System upgrading automation test method, device and test equipment
CN108958767B (en) Safety mode automatic upgrading method based on minimum system backup implementation
CN105573864A (en) Terminal system recovery method and system thereof
WO2016048845A1 (en) Over-the-air updates for ble devices
EP1711889A2 (en) Use loader for signaling the system software update service
CN104657161A (en) Method and device for updating firmware of mobile terminal
CN101866295A (en) Network installation method of operating system
CN108345464A (en) A kind of the startup method and Android vehicle device of Android system
CN103369037A (en) Method for automatically synchronizing data among Android intelligent equipment
JP7298427B2 (en) Program update system and program update method
CN103235703B (en) Preset resource storage method and apparatus
CN103731733A (en) Version upgrading method and electronic device
CN112486733B (en) System restoration method, device, terminal and storage medium
CN107315607A (en) One kind driving adaptive allocation system
CN113805926A (en) Software upgrading method, vehicle and computer readable storage medium
CN104991805A (en) Intelligent device and system disaster recovery backup control method thereof
CN202453870U (en) Core processing device for vehicle terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant