A kind of method, device of realizing vehicle-mounted software systems reparation or upgrading
Technical field
The present invention relates to mobile unit software, relate in particular to a kind of reparation or upgrading of mobile unit software systems.
Background technology
Because the working environment of mobile unit is more special; The generation of situation such as the interference of abnormal conditions, sudden power usually causes software systems normally to start; This just need tear machine open and carry out system's burning again, thereby causes that the software systems rehabilitation cost is higher, inefficiency, repair time are long etc.
To this situation, the present invention proposes the technical scheme by mobile memory medium reparation or upgrading mobile unit software systems, has reduced the complicated operation degree, has practiced thrift rehabilitation cost, has practiced thrift repair time.
Summary of the invention
Embodiments of the invention provide a kind of method, device of realizing vehicle-mounted software systems reparation or upgrading; The user stores the mobile memory medium of the vehicle-mounted software systems of latest edition through use; Can realize the automatic reparation or the upgrading of vehicle-mounted software systems easily, make the user when vehicle-mounted software abnormal conditions occur and causes system normally to start, can recover software systems rapidly; Avoid the machine of tearing open to carry out system's trouble of burning again, practiced thrift repair time and rehabilitation cost; Simultaneously, when the user need upgrade to existing software, also can use the mobile memory medium of the vehicle-mounted software that stores latest edition to upgrade.At last, the present invention also upgrades to software systems when repairing vehicle-mounted software systems, has satisfied convenience, the simplification demand of user to mobile unit reparation or upgrading to the full extent.
The basic design of the technical scheme of employing of the present invention is: a kind of method that realizes vehicle-mounted software systems reparation or upgrading comprises the steps:
Insert mobile memory medium to mobile unit, store vehicle-mounted software systems boot, software systems kernel and the application program of latest edition in the said mobile memory medium;
Start the boot of mobile unit software systems;
Software systems start, and load vehicle-mounted software systems boot, the software systems kernel of the latest edition in the mobile memory medium;
Software systems are restarted, automatically installation application software.
Wherein, said software systems start, and get into reparation or upgrade mode and specifically may further comprise the steps:
Whether in the boot of mobile unit, detect has the infrared ray button or wakes the button push up;
If in the boot of mobile unit, detected the infrared ray button or waken button up by finishing drilling
Do, then the mobile unit software systems load the vehicle-mounted soft of latest edition in the mobile memory medium automatically
Part system bootstrap routine, software systems kernel.
In addition, said mobile unit software systems were carried out the disk formatting operation before the vehicle-mounted software systems boot that loads the latest edition in the mobile memory medium, software systems kernel.
A kind of device of realizing vehicle-mounted software system updating or reparation is characterized in that, this device comprises:
Mobile memory medium stores vehicle-mounted software systems boot, software systems kernel and the application software of latest edition in the said mobile memory medium;
Boot starts module: the boot that starts the mobile unit software systems;
Software systems kernel loads module: be used for software systems and start, load vehicle-mounted software systems boot, the software systems kernel of the latest edition in the mobile memory medium;
Application software load-on module: be used for software systems and restart, automatically installation application software.
Further, said software systems kernel loads module includes detection module and load-on module, wherein,
Said detection module: be used for whether detection has the infrared ray button or wake the button push up in the boot of mobile unit;
Said load-on module: if be used in the boot of mobile unit, having detected the infrared ray button or wake the button push up; Then the mobile unit software systems load vehicle-mounted software systems boot, the software systems kernel of the latest edition in the mobile memory medium automatically, repair or the upgrade software system kernel.
Further; Said device also includes the disk formatting module; Said disk formatting module was used for said mobile unit software systems before the vehicle-mounted software systems boot that loads the latest edition in the mobile memory medium, software systems kernel, carried out the disk formatting operation.
At last, said mobile memory medium can be any in USB flash disk, SD card, T card or the portable hard drive.
Biggest advantage of the present invention is exactly: can use the direct vehicle-mounted software systems of reparation of mobile memory medium and carry out software upgrading, reduce the complicated operation degree that vehicle-mounted software is repaired, reduce the software rehabilitation cost, improve remediation efficiency; Simultaneously, the process that software is repaired also is the process of software upgrading, kills two birds with one stone, and has satisfied greatly that the user repairs vehicle-mounted software or the convenience of upgrading or the demand of simplification.
Description of drawings
Fig. 1 is the overall flow figure of a kind of vehicle-mounted software systems reparation or upgrade method among the present invention.
Fig. 2 is a structural representation of realizing a kind of vehicle-mounted software systems reparation or update device among the present invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Fig. 1 is the process flow diagram of a kind of vehicle-mounted software reparation or upgrade method in this real inventive embodiments.Method according to vehicle-mounted software reparation of the realization of this embodiment or upgrading comprises the steps:
Step 101: insert mobile memory medium;
This step is specially: insert mobile memory medium, store vehicle-mounted software boot, software systems kernel and the application program of latest edition in the said mobile memory medium.In this step, said mobile memory medium can be any in USB flash disk, SD card, T card or the portable hard drive; The user can directly be connected to said mobile memory medium on the mobile unit through the USB interface of mobile unit or the interface of SD card/T card.
Step 102: the boot that starts the mobile unit software systems;
Under mobile unit energising situation, directly press the on & off switch of mobile unit, just started the boot of mobile unit software systems.
Step 103: software systems start, and load vehicle-mounted software systems boot, the software systems kernel of the latest edition in the mobile memory medium; This step can be specially: software systems start, and load vehicle-mounted software systems boot, the software systems kernel of the latest edition in the mobile memory medium.After software systems start in this step; System will get into repairs or upgrade mode; Be boot, the software systems kernel that system will load the latest edition of storing in the mobile memory medium; With boot, the original boot of software systems kernel covering system, the software systems kernel of latest edition in the mobile memory medium, accomplish boot, the software systems kernel of system and repair or upgrading.Whether during practical application, in the boot of mobile unit, can detect has the infrared ray button or wakes the button push up; If in the boot of mobile unit, detected the infrared ray button or waken the button push up, then loaded boot in the mobile memory medium, software systems kernel; If do not detect the infrared ray button or wake the button push up, then system can not get into load operation.Said infrared ray button can be the switch key of the distant device of any infrared ray, also can be the switch key of the special-purpose infrared distant device of mobile unit.In the present embodiment, we make the special-purpose infrared distant device of mobile unit.Said waking up on the panel that button then places mobile unit; Infrared ray button or to wake button up all be to be used to notify the software systems of mobile unit to get into repair or upgrade mode; And then the software boot of the latest edition of storing in the loading mobile memory medium or software systems kernel; So infrared ray button or to wake the effect that button played in the present invention up be the same can replace mutually.
Preferably; In order thoroughly to remove original boot in the mobile unit, software systems kernel and application program; And then reach and repair or the purpose of upgrade software system; Before can loading the software systems kernel of the latest edition in the mobile memory medium in the software systems of said mobile unit, carry out the disk formatting operation.
Step 104: system restarts, automatically installation application software.
After boot, the software systems kernel of the system of completion were repaired or upgraded, system can restart; The automatic installation application software of meeting after system restarts, the vehicular applications program of the latest edition that stores in the automatic installation and moving storage medium of meeting after promptly system restarts is to accomplish reparation or the upgrading to original application program in the onboard system; Behind the automatic installation application software of system, restart mobile unit more automatically, mobile unit can normally use.
Fig. 2 implements described a kind of structural representation of realizing the device of vehicle-mounted software system updating or reparation for the present invention; This device comprises that mobile memory medium 201, boot start module 202, software systems kernel loads module 203 and application software load-on module 204, and said mobile memory medium starts module with boot, software systems kernel loads module links to each other with the application software load-on module; Wherein, store vehicle-mounted software systems boot, software systems kernel and the application software of latest edition in the said mobile memory medium.Said mobile memory medium can be any in USB flash disk, SD card, T card or the portable hard drive;
Said boot starts the boot that module is used to start the mobile unit software systems;
Said software systems kernel loads module is used for software systems and starts, and loads vehicle-mounted software systems boot, the software systems kernel of the latest edition in the mobile memory medium;
Said application software load-on module: be used for software systems and restart, automatically installation application software.
In practical application; The said software systems kernel loads module that the present invention implements in described a kind of device of realizing vehicle-mounted software system updating or reparation can include detection module and load-on module; Whether wherein, said detection module is used in the boot of mobile unit, detecting has the infrared ray button or wakes the button push up;
If said load-on module is used in the boot of mobile unit, having detected the infrared ray button or wakes the button push up; Then the mobile unit software systems load vehicle-mounted software systems boot, the software systems kernel of the latest edition in the mobile memory medium automatically, repair or the upgrade software system kernel.
Preferably; In order thoroughly to remove original boot in the mobile unit, software systems kernel and application program; And then reach and repair or the purpose of upgrade software system; Can on the device basic of vehicle-mounted software system updating of realization shown in Figure 2 or reparation, increase a disk formatting module again; Said disk formatting module is used for before said mobile unit software systems are loading the vehicle-mounted software systems boot, software systems kernel of the latest edition in the mobile memory medium, carrying out disk formatting.
Technical scheme of the present invention is not limited to the embodiment described in the embodiment.Those skilled in the art's technical scheme according to the present invention draws other embodiment, belongs to technological innovation scope of the present invention equally.