CN104317619A - Maintenance system and method of embedded system - Google Patents

Maintenance system and method of embedded system Download PDF

Info

Publication number
CN104317619A
CN104317619A CN201410577798.6A CN201410577798A CN104317619A CN 104317619 A CN104317619 A CN 104317619A CN 201410577798 A CN201410577798 A CN 201410577798A CN 104317619 A CN104317619 A CN 104317619A
Authority
CN
China
Prior art keywords
maintenance
new procedures
storage device
embedded system
movable storage
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
CN201410577798.6A
Other languages
Chinese (zh)
Other versions
CN104317619B (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.)
CRRC Zhuzhou Institute Co Ltd
Original Assignee
CSR Zhuzou Institute 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 CSR Zhuzou Institute Co Ltd filed Critical CSR Zhuzou Institute Co Ltd
Priority to CN201410577798.6A priority Critical patent/CN104317619B/en
Publication of CN104317619A publication Critical patent/CN104317619A/en
Application granted granted Critical
Publication of CN104317619B publication Critical patent/CN104317619B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a maintenance system and method of an embedded system. The maintenance system comprises a mobile storage device with stored fresh program and a maintenance mode starting unit and a software brushing and writing unit which are stored in an embedded system guide program; the maintenance mode starting unit is used for recognizing the mobile storage device and starting the maintenance mode of the embedded system after the recognition; the software brushing and writing unit is used for brushing and writing the fresh program into the embedded system after the maintenance mode is started. According to the maintenance system, the existing mobile storage device recognizing function and software brushing and writing function of a guide program are utilized, the functions of the maintenance mode starting unit and software brushing and writing unit of the maintenance system can be realized, additional maintenance programs arranged in the embedded system are omitted, precious storage space of the embedded system is saved, the system design complexity is low, maintenance safety is improved, and the on-site maintenance of the embedded system can be benefited by the maintenance operation.

Description

The maintenance system of embedded system and method
Technical field
The present invention relates to locomotive maintenance technical field, particularly relate to a kind of maintenance system and method for embedded system.
Background technology
At present, the embedded system in China's railway locomotive and municipal rail train field all adopts full touch display, display surface does not arrange button, the mode of touch display screen is relied on to carry out the manipulation of embedded system, this kind of control mode is unfavorable for the field maintemance of embedded system: when carrying out system maintenance, embedded system must be pulled down, then special maintenance interface and special maintenance program by being arranged on embedded system rear portion carry out the maintenance upgrade work of system, in particular for the embedded system in railway locomotive field, during except above-mentioned special maintenance interface and specific maintenance program, also need cable, the tool equipments such as PC just can complete maintenance work, maintenance work is complicated, go out the stages such as warehouse-in, debugging at railway locomotive and municipal rail train, be extremely unfavorable for carrying out maintenance work.
In addition, composition graphs 1 and Fig. 2 illustrate the maintaining method of the embedded system in railway locomotive and municipal rail train field in prior art, wherein figure 1 illustrate the memory allocation schematic diagram of this embedded system, as shown in Figure 1, embedded system comprises boot 4 (bootloader), operating system 3 (such as linux), file system 2 (FS, File System) and upper level applications 1, these programs are stored in the nonvolatile semiconductor memory member of such as flash memory by embedded system, for the maintenance work of embedded system for writing with a brush dipped in Chinese ink aforesaid operations system 3, file system 2 or upper level applications 1, namely to operating system 3, the storage space of file system 2 or upper level applications 1 correspondence carries out deletion and programming again.Fig. 2 shows the memory allocation schematic diagram of the embedded system of band maintenance function, this embedded system is except comprising above-mentioned boot 4, operating system 3, file system 2 and upper level applications 1, also comprise maintenance program 5, concrete maintaining method is: enter special service mode by boot 4, then utilizes the storage space of maintenance program 5 pairs of operating systems 3 and file system 2 correspondence to carry out deletion and programming again.The defect of above-mentioned maintaining method is: need additionally to add maintenance program 5 in embedded systems, maintenance program 5 can take limited storage space, and whole embedded system can be caused comparatively complicated in design.
Summary of the invention
Technical matters to be solved by this invention is the field maintemance that the maintenance mode of the embedded system in existing railway locomotive and municipal rail train field is unfavorable for embedded system, and need additionally to increase maintenance program in embedded systems, this maintenance program can occupy limited storage space, and whole embedded system can be caused complicated in design.
In order to solve the problems of the technologies described above, the invention provides a kind of maintenance system and method for embedded system.
Technical scheme of the present invention is:
A maintenance system for embedded system, comprising:
Movable storage device, stores new procedures in described movable storage device; And
The service mode be all stored in the boot of described embedded system opens unit and unit write with a brush dipped in Chinese ink by software;
Described service mode opens unit, is set to identify described movable storage device, and when recognizing described movable storage device, opens the service mode of described embedded system;
Unit write with a brush dipped in Chinese ink by described software, is set to, after the described service mode of unlatching, be write with a brush dipped in Chinese ink in described embedded system by described new procedures.
Preferably, also authentication key is stored in described movable storage device; Also store identity authenticating unit in described boot, be set to, after the described service mode of unlatching, according to the key that described authentication key and described identity authenticating unit store, judge that whether the identity of described movable storage device is legal;
Unit write with a brush dipped in Chinese ink by described software, is set to, when determining that the identity of described movable storage device is legal, be write with a brush dipped in Chinese ink in described embedded system by described new procedures.
Preferably, described identity authenticating unit is specifically set to: judge that whether described authentication key is consistent with described key, and when described authentication key and described key agreement, determines that the identity of described movable storage device is legal.
Preferably, described software is write with a brush dipped in Chinese ink unit and is comprised:
Maintenance Significant Items determining unit, is set to the Maintenance Significant Items obtaining user's selection, and described Maintenance Significant Items comprises file system maintenance, operating system is safeguarded and upper level applications is safeguarded;
File system maintenance unit, be set to when determining that described Maintenance Significant Items is file system maintenance, judge whether comprise file system new procedures in described new procedures, and when described new procedures comprises described file system new procedures, described file system new procedures is write with a brush dipped in Chinese ink in described embedded system;
Operating system maintenance unit, be set to when determining that described Maintenance Significant Items is operating system maintenance, judge whether comprise operating system new procedures in described new procedures, and when described new procedures comprises described operating system new procedures, described operating system new procedures is write with a brush dipped in Chinese ink in described embedded system;
Upper level applications maintenance unit, be set to when determining that described Maintenance Significant Items is upper level applications maintenance, judge whether comprise upper level applications new procedures in described new procedures, and when described new procedures comprises described upper level applications new procedures, described upper level applications new procedures is write with a brush dipped in Chinese ink in described embedded system.
Preferably, described boot is Generic Bootstrap or basic input/output, and described movable storage device is the one in USB flash drive, SD card, CF card and IC-card.
A maintaining method for embedded system, comprising:
The boot of described embedded system judges whether to recognize movable storage device, stores new procedures in described movable storage device;
Described boot, after recognizing described movable storage device, opens the service mode of described embedded system, and is write with a brush dipped in Chinese ink in described embedded system by described new procedures.
Preferably, also store authentication key in described movable storage device, described method also comprises:
Described boot, after the described service mode of unlatching, according to the key that described authentication key and described identity authenticating unit store, judges that whether the identity of described movable storage device is legal; And after determining that the identity of described movable storage device is legal, described new procedures is write with a brush dipped in Chinese ink in described embedded system.
Preferably, the described key stored according to described authentication key and described identity authenticating unit, judges that whether the identity of described movable storage device is legal and comprises:
Judge that whether described authentication key is consistent with described key;
If so, then determine that the identity of described movable storage device is legal.
Preferably, describedly described new procedures write with a brush dipped in Chinese ink described embedded system comprise:
Obtain the Maintenance Significant Items that user selects, described Maintenance Significant Items comprises file system maintenance, operating system is safeguarded and upper level applications is safeguarded;
When determining that described Maintenance Significant Items is file system maintenance, judging whether comprise file system new procedures in described new procedures, if so, then described file system new procedures being write with a brush dipped in Chinese ink in described embedded system;
When determine described Maintenance Significant Items be operating system safeguard time, judge whether comprise operating system new procedures in described new procedures, if so, then described operating system new procedures write with a brush dipped in Chinese ink in described embedded system;
When determine described Maintenance Significant Items be upper level applications safeguard time, judge whether comprise upper level applications new procedures in described new procedures, if so, then described upper level applications new procedures write with a brush dipped in Chinese ink in described embedded system.
Preferably, described boot is Generic Bootstrap or basic input/output, and described movable storage device is the one in USB flash drive, SD card, CF card and IC-card.
Compared with prior art, the one or more embodiments in such scheme can have the following advantages or beneficial effect by tool:
Apply maintenance system and the method for embedded system provided by the invention, first, utilize the functions such as movable storage device recognition function intrinsic in existing boot, software erase function, service mode unlatching unit and software in maintenance system can be realized and write with a brush dipped in Chinese ink the function of unit, without the need to additionally increasing maintenance program in embedded systems, save the storage space of embedded system preciousness, reduce the design complexities of the embedded system of band maintenance function simultaneously; The second, because existing boot itself has safety locking function, so improve the security of maintenance system; 3rd, by making embedded system enter service mode intrinsic to movable storage device and embedded system, that conventional data input/output interface docks mode, movable storage device is the key that embedded system enters service mode, it is again the storage medium of new procedures, make attended operation very simple, be very beneficial for the field maintemance of embedded system.
Other features and advantages of the present invention will be set forth in the following description, and partly become apparent from instructions, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in instructions, claims and accompanying drawing and obtain.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for instructions, with embodiments of the invention jointly for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 shows the memory allocation schematic diagram of embedded system;
Fig. 2 shows the memory allocation schematic diagram of the embedded system of band maintenance function;
Fig. 3 shows a kind of structural representation of the maintenance system of embodiment of the present invention embedded system;
Fig. 4 shows the another kind of structural representation of the maintenance system of embodiment of the present invention embedded system;
Fig. 5 shows the structural representation that unit write with a brush dipped in Chinese ink by software in the embodiment of the present invention;
Fig. 6 shows a kind of process flow diagram of the maintaining method of embodiment of the present invention embedded system;
Fig. 7 shows the another kind of process flow diagram of the maintaining method of embodiment of the present invention embedded system;
Fig. 8 shows the process flow diagram in the embodiment of the present invention, new procedures being write with a brush dipped in Chinese ink the method in embedded system.
Embodiment
Describe embodiments of the present invention in detail below with reference to drawings and Examples, to the present invention, how application technology means solve technical matters whereby, and the implementation procedure reaching technique effect can fully understand and implement according to this.It should be noted that, only otherwise form conflict, each embodiment in the present invention and each feature in each embodiment can be combined with each other, and the technical scheme formed is all within protection scope of the present invention.
Maintenance mode for the embedded system solving existing railway locomotive and municipal rail train field is unfavorable for the field maintemance of embedded system, and need additionally to increase maintenance program in embedded systems, this maintenance program can occupy limited storage space, and whole embedded system can be caused complicated in design, embodiments provide a kind of maintenance system and method for embedded system.
As shown in Figure 3, it is a kind of structural representation of the maintenance system of embodiment of the present invention embedded system, described maintenance system comprises movable storage device 101, service mode opens unit 102 and unit 103 write with a brush dipped in Chinese ink by software, new procedures is stored in wherein said movable storage device 101, the boot 4 of described embedded system comprises described service mode and opens unit 102 and unit 103 write with a brush dipped in Chinese ink by software, and namely described service mode is opened unit 102 and software and write with a brush dipped in Chinese ink unit 103 and be all stored in this boot 4.In addition, described service mode opens unit 102, is set to identify described movable storage device 101, and when recognizing described movable storage device 101, opens the service mode of described embedded system.Unit 103 write with a brush dipped in Chinese ink by described software, is set to, after service mode unlatching unit 102 opens described service mode, be write with a brush dipped in Chinese ink in described embedded system by described new procedures.
Particularly, described boot 4 comprises service mode unlatching unit 102 and unit 103 write with a brush dipped in Chinese ink by software, owing to there is movable storage device recognition function and the function such as software is erasable in existing boot 4, unit 102 is opened and unit 103 write with a brush dipped in Chinese ink by software in order to form service mode required for the present invention, only need to carry out adjustment to the program in existing boot 4 to combine, additionally can not take the storage space of embedded system preciousness.
In addition, movable storage device 101 is intrinsic by inserting embedded system, service mode in the directed program 4 of mode of conventional data input/output interface (such as USB interface) is opened unit 102 and identified, and without the need to inserting special special maintenance interface, and embedded system is intrinsic, conventional data input/output interface is generally arranged on front or the side of embedded system cabinet, thus when carrying out system maintenance, only need the data input/output interface docking of movable storage device 101 and embedded system that embedded system can be made to enter service mode, simple to operate, be very beneficial for the field maintemance of embedded system.
To sum up, the maintenance system that application the present embodiment provides, first, utilize the functions such as movable storage device recognition function intrinsic in existing boot 4, software erase function, service mode unlatching unit 102 and software in maintenance system can be realized and write with a brush dipped in Chinese ink the function of unit 103, without the need to additionally increasing maintenance program 5 in embedded systems, saving the storage space of embedded system preciousness, reducing the design complexities of the embedded system of band maintenance function simultaneously; The second, because existing boot 4 itself has safety locking function, so improve the security of maintenance system; 3rd, by making embedded system enter service mode intrinsic to movable storage device 101 and embedded system, that conventional data input/output interface docks mode, movable storage device 101 is the key that embedded system enters service mode, it is again the storage medium of new procedures, make attended operation very simple, be very beneficial for the field maintemance of embedded system.
In the present invention one preferred embodiment, as shown in Figure 4, be the another kind of structural representation of the maintenance system of embodiment of the present invention embedded system, in the present embodiment, add the identification verification function for movable storage device 101, improve the security of embedded system maintenance work.In the present embodiment, also authentication key is stored in described movable storage device 101, with reference to Fig. 4, identity authenticating unit 104 is also stored in described boot 4, described identity authenticating unit 104 is set to after described service mode unlatching unit 102 opens described service mode, according to the key that described authentication key and described identity authenticating unit 104 store, judge that whether the identity of described movable storage device 101 is legal.Described software writes with a brush dipped in Chinese ink unit 103 when determining that the identity of described movable storage device 101 is legal, is write with a brush dipped in Chinese ink in embedded system by described new procedures.
In the present embodiment, determining to open service mode and carrying out between software writes with a brush dipped in Chinese ink, add the identity authenticating unit 104 of movable storage device 101, thus carry out maintenance work after avoiding undelegated movable storage device connection embedded system, add the security of maintenance work.Particularly, identity authenticating unit 104 judges that whether the authentication key in movable storage device 101 is consistent with the key stored of this identity authenticating unit 104 own, and when determining that both are consistent, determines that the identity of movable storage device 101 is legal.Especially, described identity authenticating unit 104 judges that whether described authentication key is identical with described key, and when determining that both are identical, determines that the identity of movable storage device 101 is legal.
In the present invention one preferred embodiment, as shown in Figure 5, be the structural representation that in the embodiment of the present invention, unit 103 write with a brush dipped in Chinese ink by software, described software is write with a brush dipped in Chinese ink unit 103 and is comprised Maintenance Significant Items determining unit 201, file system maintenance unit 202, operating system maintenance unit 203 and upper level applications maintenance unit 204.
Particularly, described Maintenance Significant Items determining unit 201, is set to the Maintenance Significant Items obtaining user's selection.Here, user is generally by maintenance interface that touch display screen shows, the Maintenance Significant Items that this maintenance work is corresponding is selected in Maintenance Significant Items drop-down menu, object in view of maintenance work comprises file system 2, operating system 3 and upper level applications 1, so concrete Maintenance Significant Items comprises following three kinds: file system maintenance, to the situation that reply file system 2 is safeguarded; Operating system is safeguarded, to the situation that reply operating system 3 is safeguarded; Upper level applications is safeguarded, to the situation that reply upper level applications 1 is safeguarded.
Described file system maintenance unit 202, be set to when determining that described Maintenance Significant Items is file system maintenance, judge whether comprise file system new procedures in described new procedures, and when described new procedures comprises described file system new procedures, described file system new procedures is write with a brush dipped in Chinese ink in embedded system.Especially, file system maintenance unit 202 is after judging that movable storage device 101 comprises file system new procedures, also need to judge that whether this file system new procedures is correct further, after confirmation file system new procedures is correct, again this file system new procedures is write with a brush dipped in Chinese ink in embedded system, further increase the security of maintenance work.The no correct method of above-mentioned judgement file system new procedures needs specifically to determine according to concrete implementation process, therefore no longer carries out expansion explanation at this.
Described operating system maintenance unit 203, be set to when determining that described Maintenance Significant Items is operating system maintenance, judge whether comprise operating system new procedures in described new procedures, and when described new procedures comprises described operating system new procedures, this operating system new procedures is write with a brush dipped in Chinese ink in embedded system.Especially, operating system maintenance unit 203 is after judging that movable storage device 101 comprises operating system new procedures, also need to judge that whether this operating system new procedures is correct further, after confirmation operating system new procedures is correct, again this operating system new procedures is write with a brush dipped in Chinese ink in embedded system, further increase the security of maintenance work.Above-mentionedly judge that the whether correct method of operating system new procedures needs specifically to determine according to concrete implementation process, therefore no longer carry out expansion explanation at this.
Described upper level applications maintenance unit 204, be set to when determining that described Maintenance Significant Items is upper level applications maintenance, judge whether comprise upper level applications new procedures in described new procedures, and when described new procedures comprises described upper level applications new procedures, this upper level applications new procedures is write with a brush dipped in Chinese ink in embedded system.Especially, upper level applications maintenance unit 204 is after judging that movable storage device 101 comprises upper level applications new procedures, also need to judge that whether this upper level applications new procedures is correct further, after confirmation upper level applications new procedures is correct, again this upper level applications new procedures is write with a brush dipped in Chinese ink in embedded system, further increase the security of maintenance work.Above-mentionedly judge that the whether correct method of upper level applications new procedures needs specifically to determine according to concrete implementation process, therefore no longer carry out expansion explanation at this.
What deserves to be explained is, be stored in the new procedures in movable storage device 101 and likely comprise file system new procedures, one or more in operating system new procedures and upper level applications new procedures, in actual mechanical process, user selects a Maintenance Significant Items at every turn on the maintenance interface of touch display screen display, system can be extracted the program corresponding with this Maintenance Significant Items by the Maintenance Significant Items selected according to current in described new procedures, and this program is write with a brush dipped in Chinese ink in embedded system, after completing the writing with a brush dipped in Chinese ink of current block, user selects the Maintenance Significant Items next time needing to safeguard, by that analogy, until complete all Maintenance Significant Items needing to safeguard.
Further, described boot 4 is Generic Bootstrap (Uboot, Universal Boot Loader) or basic input/output (Bios, Basic Input Output System), Generic Bootstrap is the bootloader program of exploitation for multiple embedded type CPU of German DENX group.In addition, described movable storage device 101 is USB flash drive (also referred to as USB flash disk), SD card (safe digital card, Secure Digital Memory Card), CF card (compact flash, Compact Flash) and IC-card (integrated circuit card, Integrated Circuit Card) in one.
Correspondingly, the embodiment of the present invention additionally provides a kind of maintaining method of embedded system, and as shown in Figure 6, be a kind of process flow diagram of the maintaining method of embodiment of the present invention embedded system, described maintaining method comprises the following steps:
Step 301: the boot 4 of described embedded system judges whether to recognize movable storage device 101, stores new procedures in described movable storage device 101;
Step 302: described boot 4, after recognizing described movable storage device 101, opens the service mode of described embedded system;
Step 303: described new procedures is write with a brush dipped in Chinese ink in described embedded system by described boot 4.
The maintaining method that application the present embodiment provides, first, utilize the function such as movable storage device 101 recognition function, software erase function intrinsic in existing boot 4, service mode unlatching unit 102 and software in maintenance system can be realized and write with a brush dipped in Chinese ink the function of unit 103, without the need to additionally increasing maintenance program 5 in embedded systems, save the storage space of embedded system preciousness, reduce the design complexities of the embedded system of band maintenance function simultaneously; The second, because existing boot 4 itself has safety locking function, so improve the security of maintenance process; 3rd, by making embedded system enter service mode intrinsic to movable storage device 101 and embedded system, that conventional data input/output interface docks mode, movable storage device 101 is the key that embedded system enters service mode, it is again the storage medium of new procedures, make attended operation very simple, be very beneficial for the field maintemance of embedded system.
As shown in Figure 7, be the another kind of process flow diagram of the maintaining method of embodiment of the present invention embedded system, in the present embodiment, in described movable storage device 101, also store authentication key; Described method also comprises:
Step 304: described boot 4, after the described service mode of unlatching, according to the key that described authentication key and described identity authenticating unit 104 store, judges that whether the identity of described movable storage device 101 is legal.Particularly, the described key stored according to described authentication key and described identity authenticating unit 104, judges that whether the identity of described movable storage device 101 is legal and comprises: judge that whether described authentication key is consistent with described key; If so, then determine that the identity of described movable storage device 101 is legal.Further, above-mentionedly judge that whether the identity of described movable storage device 101 is legal and comprise further: judge that whether described authentication key is identical with described key; If so, then determine that the identity of described movable storage device 101 is legal.
Step 303: after determining that the identity of described movable storage device 101 is legal, described new procedures is write with a brush dipped in Chinese ink in described embedded system.
In the present embodiment, determining to open service mode and carrying out between software writes with a brush dipped in Chinese ink, add the identity authenticating unit 104 of movable storage device 101, thus avoid after undelegated movable storage device 101 connects embedded system and carry out maintenance work, add the security of maintenance work.
As shown in Figure 8, be the process flow diagram in the embodiment of the present invention, new procedures being write with a brush dipped in Chinese ink the method in described embedded system, described by new procedures, the method write with a brush dipped in Chinese ink in described embedded system comprises the following steps:
Step 401: obtain the Maintenance Significant Items that user selects, described Maintenance Significant Items comprises file system maintenance, operating system is safeguarded and upper level applications is safeguarded;
Step 402: when determining that described Maintenance Significant Items is file system maintenance, judges whether comprise file system new procedures in described new procedures, if so, then writes with a brush dipped in Chinese ink in described embedded system by described file system new procedures;
Step 403: when determine described Maintenance Significant Items be operating system safeguard time, judge whether comprise operating system new procedures in described new procedures, if so, then described operating system new procedures write with a brush dipped in Chinese ink in described embedded system;
Step 404: when determine described Maintenance Significant Items be upper level applications safeguard time, judge whether comprise upper level applications new procedures in described new procedures, if so, then described upper level applications new procedures write with a brush dipped in Chinese ink in described embedded system.
Further, described boot 4 is Generic Bootstrap (Uboot, Universal Boot Loader) or basic input/output (Bios, Basic Input Output System), Generic Bootstrap is the bootloader program of exploitation for multiple embedded type CPU of German DENX group.In addition, described movable storage device 101 is USB flash drive (also referred to as USB flash disk), SD card (safe digital card, Secure Digital Memory Card), CF card (compact flash, Compact Flash) and IC-card (integrated circuit card, Integrated Circuit Card) in one.
For the description of unit each in embodiment of the present invention maintenance system before the concrete processing procedure of each step of said method can refer to, do not repeat them here.
What deserves to be explained is that the maintenance system described in the embodiment of the present invention and maintaining method can not only be applied to the maintenance of the embedded system in railway locomotive and municipal rail train field, can also be applied to the maintenance of general embedded system.
Those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
Although embodiment disclosed in this invention is as above, the embodiment that described content just adopts for the ease of understanding the present invention, and be not used to limit the present invention.Technician in any the technical field of the invention; under the prerequisite not departing from spirit and scope disclosed in this invention; any amendment and change can be done what implement in form and in details; but scope of patent protection of the present invention, the scope that still must define with appending claims is as the criterion.

Claims (10)

1. a maintenance system for embedded system, is characterized in that, comprising:
Movable storage device, stores new procedures in described movable storage device; And
The service mode be all stored in the boot of described embedded system opens unit and unit write with a brush dipped in Chinese ink by software;
Described service mode opens unit, is set to identify described movable storage device, and when recognizing described movable storage device, opens the service mode of described embedded system;
Unit write with a brush dipped in Chinese ink by described software, is set to, after the described service mode of unlatching, be write with a brush dipped in Chinese ink in described embedded system by described new procedures.
2. system according to claim 1, is characterized in that, also stores authentication key in described movable storage device; Also store identity authenticating unit in described boot, be set to, after the described service mode of unlatching, according to the key that described authentication key and described identity authenticating unit store, judge that whether the identity of described movable storage device is legal;
Unit write with a brush dipped in Chinese ink by described software, is set to, when determining that the identity of described movable storage device is legal, be write with a brush dipped in Chinese ink in described embedded system by described new procedures.
3. system according to claim 2, it is characterized in that, described identity authenticating unit is specifically set to: judge that whether described authentication key is consistent with described key, and when described authentication key and described key agreement, determine that the identity of described movable storage device is legal.
4. system according to claim 1, is characterized in that, described software is write with a brush dipped in Chinese ink unit and comprised:
Maintenance Significant Items determining unit, is set to the Maintenance Significant Items obtaining user's selection, and described Maintenance Significant Items comprises file system maintenance, operating system is safeguarded and upper level applications is safeguarded;
File system maintenance unit, be set to when determining that described Maintenance Significant Items is file system maintenance, judge whether comprise file system new procedures in described new procedures, and when described new procedures comprises described file system new procedures, described file system new procedures is write with a brush dipped in Chinese ink in described embedded system;
Operating system maintenance unit, be set to when determining that described Maintenance Significant Items is operating system maintenance, judge whether comprise operating system new procedures in described new procedures, and when described new procedures comprises described operating system new procedures, described operating system new procedures is write with a brush dipped in Chinese ink in described embedded system;
Upper level applications maintenance unit, be set to when determining that described Maintenance Significant Items is upper level applications maintenance, judge whether comprise upper level applications new procedures in described new procedures, and when described new procedures comprises described upper level applications new procedures, described upper level applications new procedures is write with a brush dipped in Chinese ink in described embedded system.
5. the system according to any one of Claims 1-4, is characterized in that, described boot is Generic Bootstrap or basic input/output, and described movable storage device is the one in USB flash drive, SD card, CF card and IC-card.
6. a maintaining method for embedded system, is characterized in that, comprising:
The boot of described embedded system judges whether to recognize movable storage device, stores new procedures in described movable storage device;
Described boot, after recognizing described movable storage device, opens the service mode of described embedded system, and is write with a brush dipped in Chinese ink in described embedded system by described new procedures.
7. method according to claim 6, is characterized in that, also stores authentication key in described movable storage device, and described method also comprises:
Described boot, after the described service mode of unlatching, according to the key that described authentication key and described identity authenticating unit store, judges that whether the identity of described movable storage device is legal; And after determining that the identity of described movable storage device is legal, described new procedures is write with a brush dipped in Chinese ink in described embedded system.
8. method according to claim 7, is characterized in that, the described key stored according to described authentication key and described identity authenticating unit, judges that whether the identity of described movable storage device is legal and comprise:
Judge that whether described authentication key is consistent with described key;
If so, then determine that the identity of described movable storage device is legal.
9. method according to claim 6, is characterized in that, describedly described new procedures is write with a brush dipped in Chinese ink described embedded system comprises:
Obtain the Maintenance Significant Items that user selects, described Maintenance Significant Items comprises file system maintenance, operating system is safeguarded and upper level applications is safeguarded;
When determining that described Maintenance Significant Items is file system maintenance, judging whether comprise file system new procedures in described new procedures, if so, then described file system new procedures being write with a brush dipped in Chinese ink in described embedded system;
When determine described Maintenance Significant Items be operating system safeguard time, judge whether comprise operating system new procedures in described new procedures, if so, then described operating system new procedures write with a brush dipped in Chinese ink in described embedded system;
When determine described Maintenance Significant Items be upper level applications safeguard time, judge whether comprise upper level applications new procedures in described new procedures, if so, then described upper level applications new procedures write with a brush dipped in Chinese ink in described embedded system.
10. the method according to any one of claim 6 to 9, is characterized in that, described boot is Generic Bootstrap or basic input/output, and described movable storage device is the one in USB flash drive, SD card, CF card and IC-card.
CN201410577798.6A 2014-10-24 2014-10-24 The maintenance system and method for embedded system Active CN104317619B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410577798.6A CN104317619B (en) 2014-10-24 2014-10-24 The maintenance system and method for embedded system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410577798.6A CN104317619B (en) 2014-10-24 2014-10-24 The maintenance system and method for embedded system

Publications (2)

Publication Number Publication Date
CN104317619A true CN104317619A (en) 2015-01-28
CN104317619B CN104317619B (en) 2018-01-05

Family

ID=52372854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410577798.6A Active CN104317619B (en) 2014-10-24 2014-10-24 The maintenance system and method for embedded system

Country Status (1)

Country Link
CN (1) CN104317619B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455336A (en) * 2002-04-30 2003-11-12 联想(北京)有限公司 Method of automatic updating embedded device operating system using CF card
CN101517589A (en) * 2006-09-28 2009-08-26 国际商业机器公司 Managing encryption for volumes in storage pools
CN101807156A (en) * 2010-03-04 2010-08-18 广东宝莱特医用科技股份有限公司 Equipment and method for maintaining and updating system through interface medium
CN102866906A (en) * 2012-09-17 2013-01-09 苏州汉辰数字科技有限公司 Extensible software upgrade method for embedded terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455336A (en) * 2002-04-30 2003-11-12 联想(北京)有限公司 Method of automatic updating embedded device operating system using CF card
CN101517589A (en) * 2006-09-28 2009-08-26 国际商业机器公司 Managing encryption for volumes in storage pools
CN101807156A (en) * 2010-03-04 2010-08-18 广东宝莱特医用科技股份有限公司 Equipment and method for maintaining and updating system through interface medium
CN102866906A (en) * 2012-09-17 2013-01-09 苏州汉辰数字科技有限公司 Extensible software upgrade method for embedded terminal

Also Published As

Publication number Publication date
CN104317619B (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN101436233B (en) Hard disk multi-user partition switch control method, system and computer terminal
WO2017080311A1 (en) Method and device for improving fingerprint template and terminal device
US9329992B2 (en) Data storage device and flash memory control method
CN102279914A (en) Unified extensible firmware interface (UEFI) trusted supporting system and method for controlling same
CN105573807A (en) ECU online program upgrading system and method based on CAN bus
CN103186434A (en) Method and system for recovering basic input/output system
CN104572093A (en) Method for realizing bi-operation system starting of terminal equipment by using USB (universal serial bus) controller
US9411603B2 (en) Chip and starting method thereof
EP2960777B1 (en) Data protection method, apparatus and device
US8484447B2 (en) Selecting a compatible processor to control a peripheral component interconnect express (PCI-E) slot unit within a predetermined interval via a setting menu
CN105094652A (en) Touch screen unlocking method and device, electronic equipment, display and mobile terminal
CN105468390A (en) BOOT online upgrade apparatus and method
CN104657644A (en) Method and device for acquiring and verifying fingerprint
CN103455750B (en) The high peace verification method of a kind of embedded device and device
CN104750532A (en) Android-based dual-system land verification PAD (portable android device) and starting method
CN105740031B (en) Card opening method based on card opening external member and card opening external member
CN107315607A (en) One kind driving adaptive allocation system
CN106951771B (en) Mobile terminal using method of android operating system
CN102096782A (en) Internet banking safety authentication method based on removable medium of virtual machine
CN103809988A (en) Information processing method and electronic device
CN107357682A (en) A kind of method and device for recovering to go back original system
CN112231649A (en) Firmware encryption processing method, device, equipment and medium
CN104317619A (en) Maintenance system and method of embedded system
CN104615387B (en) Mobile unit and its design method based on XPE systems
CN103885875A (en) Device and method for verifying scripts

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant