CN104317619B - The maintenance system and method for embedded system - Google Patents
The maintenance system and method for embedded system Download PDFInfo
- Publication number
- CN104317619B CN104317619B CN201410577798.6A CN201410577798A CN104317619B CN 104317619 B CN104317619 B CN 104317619B CN 201410577798 A CN201410577798 A CN 201410577798A CN 104317619 B CN104317619 B CN 104317619B
- Authority
- CN
- China
- Prior art keywords
- new procedures
- maintenance
- 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.)
- Active
Links
Abstract
The invention discloses a kind of maintenance system of embedded system and method, system includes the movable storage device for being stored with new procedures and the service mode opening unit being stored in embedded system bootstrap program and software writes with a brush dipped in Chinese ink unit;Service mode opening unit is arranged to identify movable storage device, and the service mode of embedded system is opened when recognizing the equipment;Software is write with a brush dipped in Chinese ink unit and is arranged to after service mode is opened, and new procedures are write with a brush dipped in Chinese ink in embedded system.The present invention utilizes the functions such as movable storage device identification function intrinsic in existing boot, the erasable function of software, the function that service mode opening unit and software in maintenance system write with a brush dipped in Chinese ink unit can be achieved, without additionally increasing maintenance program in embedded systems, save the valuable memory space of embedded system, system design complexity;Improve and safeguard security;Attended operation is advantageous to the on-site maintenance of embedded system.
Description
Technical field
The present invention relates to the maintenance system and method for locomotive maintenance technical field, more particularly to a kind of embedded system.
Background technology
At present, the embedded system in China's railway locomotive and municipal rail train field uses full touch display, display
Surface is not provided with button, carries out the manipulation of embedded system by the mode of touch display screen, such a control mode is unfavorable for embedding
The on-site maintenance of embedded system:When carrying out system maintenance, it is necessary to embedded system is pulled down, it is then embedded by being arranged on
The special maintenance interface at system rear portion and special maintenance program carry out the maintenance upgrade work of system, in particular for railway machine
For the embedded system in car field, during except above-mentioned special maintenance interface and specific maintenance program, it is also necessary to cable, PC
Maintenance work could be completed Deng tool equipment, maintenance work is complicated;Go out the ranks such as storage, debugging in railway locomotive and municipal rail train
Section, extremely it is unfavorable for carrying out maintenance work.
In addition, illustrate the dimension of the embedded system in railway locomotive in the prior art and municipal rail train field with reference to Fig. 1 and Fig. 2
Maintaining method, the memory allocation schematic diagram of the embedded system is wherein figure 1 illustrated, as shown in figure 1, embedded system includes
Bootstrap 4 (bootloader), operating system 3 (such as linux), file system 2 (FS, File System) and upper strata should
With program 1, embedded system by these program storages in the nonvolatile semiconductor memory member of such as flash memory, for insertion
The maintenance work of formula system to write with a brush dipped in Chinese ink aforesaid operations system 3, file system 2 or upper level applications 1, i.e., to operating system 3,
Memory space corresponding to file system 2 or upper level applications 1 delete and programming again.Fig. 2 shows that band safeguards work(
The memory allocation schematic diagram of the embedded system of energy, the embedded system is except including above-mentioned bootstrap 4, operating system
3rd, outside file system 2 and upper level applications 1, in addition to maintenance program 5, specific maintaining method are:Entered by bootstrap 4
Enter special service mode, then memory space corresponding to operating system 3 and file system 2 is deleted using maintenance program 5
Except with programming again.The defects of above-mentioned maintaining method, is:Need additionally to add maintenance program 5 in embedded systems, safeguard
Program 5 can take limited memory space, and whole embedded system can be caused complex in design.
The content of the invention
The technical problems to be solved by the invention are the dimensions of the embedded system in existing railway locomotive and municipal rail train field
Shield mode is unfavorable for the on-site maintenance of embedded system, and needs additionally to increase maintenance program, the dimension in embedded systems
Shield program can occupy limited memory space, and whole embedded system can be caused to complicate in design.
In order to solve the above-mentioned technical problem, the invention provides a kind of maintenance system of embedded system and method.
The technical scheme is that:
A kind of maintenance system of embedded system, including:
Movable storage device, the movable storage device internal memory contain new procedures;And
The service mode opening unit and software being stored in the bootstrap of the embedded system write with a brush dipped in Chinese ink unit;
The service mode opening unit, it is arranged to identify the movable storage device, and is recognizing the movement
In the case of storage device, the service mode of the embedded system is opened;
The software writes with a brush dipped in Chinese ink unit, is arranged to after the service mode is opened, the new procedures is write with a brush dipped in Chinese ink described embedding
In embedded system.
Preferably, also it is stored with authentication key in the movable storage device;Also stored in the bootstrap
There is identity authenticating unit, be arranged to after the service mode is opened, according to the authentication key and the authentication
The key of unit storage, judges whether the identity of the movable storage device is legal;
The software writes with a brush dipped in Chinese ink unit, is arranged in the case of it is determined that the identity of the movable storage device is legal, by institute
New procedures are stated to write with a brush dipped in Chinese ink in the embedded system.
Preferably, the identity authenticating unit is specifically configured to:Judge the authentication key is with the key
It is no consistent, and in the case of the authentication key and the key agreement, determine the body of the movable storage device
Part is legal.
Preferably, the software is write with a brush dipped in Chinese ink unit and included:
Maintenance Significant Items determining unit, is arranged to obtain the Maintenance Significant Items of user's selection, and the Maintenance Significant Items include file system
System is safeguarded, operating system is safeguarded and upper level applications are safeguarded;
File system maintenance unit, it is arranged in the case of it is determined that the Maintenance Significant Items are file system maintenance, judge
Whether include file system new procedures in the new procedures, and include the file system new procedures in the new procedures
In the case of, the file system new procedures are write with a brush dipped in Chinese ink in the embedded system;
Operating system maintenance unit, it is arranged in the case of it is determined that the Maintenance Significant Items are operating system maintenance, judge
Whether include operating system new procedures in the new procedures, and include the operating system new procedures in the new procedures
In the case of, the operating system new procedures are write with a brush dipped in Chinese ink in the embedded system;
Upper level applications maintenance unit, it is arranged to it is determined that the Maintenance Significant Items are the situation that upper level applications are safeguarded
Under, judge whether include upper level applications new procedures in the new procedures, and include the upper strata in the new procedures
In the case of application program new procedures, the upper level applications new procedures are write with a brush dipped in Chinese ink in the embedded system.
Preferably, the bootstrap is Generic Bootstrap or basic input/output, and the movement stores
Equipment is one kind in USB flash drive, SD card, CF cards and IC-card.
A kind of maintaining method of embedded system, including:
The bootstrap of the embedded system judges whether to recognize movable storage device, in the movable storage device
It is stored with new procedures;
The bootstrap opens the service mode of the embedded system after the movable storage device is recognized,
And the new procedures are write with a brush dipped in Chinese ink in the embedded system.
Preferably, authentication key is also stored with the movable storage device, methods described also includes:
The bootstrap is after the service mode is opened, according to the authentication key and the authentication list
The key of member storage, judges whether the identity of the movable storage device is legal;And it is determined that the body of the movable storage device
After part is legal, the new procedures are write with a brush dipped in Chinese ink in the embedded system.
Preferably, the key stored according to the authentication key and the identity authenticating unit, judges institute
State movable storage device identity it is whether legal including:
Judge whether the authentication key is consistent with the key;
If it is, determine that the identity of the movable storage device is legal.
Preferably, it is described the new procedures are write with a brush dipped in Chinese ink into the embedded system to include:
Obtain user selection Maintenance Significant Items, the Maintenance Significant Items include file system maintenance, operating system safeguard and on
Layer application maintenance;
When it is determined that the Maintenance Significant Items are file system maintenance, judge whether new including file system in the new procedures
Program, if it is, the file system new procedures are write with a brush dipped in Chinese ink in the embedded system;
When it is determined that the Maintenance Significant Items are safeguarded for operating system, judge whether new including operating system in the new procedures
Program, if it is, the operating system new procedures are write with a brush dipped in Chinese ink in the embedded system;
Whether when it is determined that the Maintenance Significant Items are safeguarded for upper level applications, judging should including upper strata in the new procedures
With program new procedures, if it is, the upper level applications new procedures are write with a brush dipped in Chinese ink in the embedded system.
Preferably, the bootstrap is Generic Bootstrap or basic input/output, and the movement stores
Equipment is one kind in USB flash drive, SD card, CF cards and IC-card.
Compared with prior art, one or more of such scheme embodiment can have the following advantages that or beneficial to effect
Fruit:
Using the maintenance system and method for embedded system provided by the invention, first, consolidate using in existing boot
The functions such as some movable storage device identification functions, the erasable function of software, you can realize that service mode is opened single in maintenance system
Member and software write with a brush dipped in Chinese ink the function of unit, without additionally increasing maintenance program in embedded systems, save embedded system treasured
Expensive memory space, while reduce the design complexities of the embedded system with maintenance function;Second, due to existing guiding
Program has safety locking function in itself, so improving the security of maintenance system;3rd, by by movable storage device with
The mode of intrinsic, the conventional data input/output interface docking of embedded system makes embedded system enter service mode, moves
Dynamic storage device is both the key that embedded system enters service mode, is the storage medium of new procedures again so that attended operation
Very simple, it is very beneficial for the on-site maintenance of embedded system.
Other features and advantages of the present invention will be illustrated in the following description, and partly becomes from specification
It is clear that or understood by implementing the present invention.The purpose of the present invention and other advantages can be by wanting in specification, right
Specifically noted structure is sought in book and accompanying drawing to realize and obtain.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and a part for constitution instruction, the reality with the present invention
Apply example to be provided commonly for explaining the present invention, be 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 with maintenance function;
Fig. 3 shows a kind of structural representation of the maintenance system of embedded system of the embodiment of the present invention;
Fig. 4 shows another structural representation of the maintenance system of embedded system of the embodiment of the present invention;
Fig. 5 shows that software in the embodiment of the present invention writes with a brush dipped in Chinese ink the structural representation of unit;
Fig. 6 shows a kind of flow chart of the maintaining method of embedded system of the embodiment of the present invention;
Fig. 7 shows another flow chart of the maintaining method of embedded system of the embodiment of the present invention;
Fig. 8 shows in the embodiment of the present invention flow chart for the method write with a brush dipped in Chinese ink new procedures in embedded system.
Embodiment
Embodiments of the present invention are described in detail below with reference to drawings and Examples, and how the present invention is applied whereby
Technological means solves technical problem, and the implementation process for reaching technique effect can fully understand and implement according to this.Need to illustrate
As long as not forming conflict, each embodiment in the present invention and each feature in each embodiment can be combined with each other,
The technical scheme formed is within protection scope of the present invention.
It is unfavorable for embedded system to solve the maintenance mode of the embedded system of existing railway locomotive and municipal rail train field
The on-site maintenance of system, and need additionally to increase maintenance program in embedded systems, the maintenance program can occupy limited
Memory space, and whole embedded system can be caused to complicate in design, the embodiments of the invention provide a kind of embedded
The maintenance system and method for system.
As shown in figure 3, be a kind of structural representation of the maintenance system of embedded system of the embodiment of the present invention, the maintenance
System writes with a brush dipped in Chinese ink unit 103 including movable storage device 101, service mode opening unit 102 and software, wherein the mobile storage
The internal memory of equipment 101 contains new procedures, and the bootstrap 4 of the embedded system includes the He of service mode opening unit 102
Software writes with a brush dipped in Chinese ink unit 103, i.e., described service mode opening unit 102 and software write with a brush dipped in Chinese ink unit 103 and is stored in the bootstrap 4
In.In addition, the service mode opening unit 102, is arranged to identify the movable storage device 101, and recognizing
In the case of stating movable storage device 101, the service mode of the embedded system is opened.The software writes with a brush dipped in Chinese ink unit 103, if
It is set to after service mode opening unit 102 opens the service mode, the new procedures is write with a brush dipped in Chinese ink into the embedded system
In.
Specifically, the bootstrap 4 includes service mode opening unit 102 and software writes with a brush dipped in Chinese ink unit 103, due to existing
Bootstrap 4 in there is movable storage device identification function and the functions such as software is erasable, in order to form the required dimension of the present invention
Shield mode opening unit 102 and software write with a brush dipped in Chinese ink unit 103, it is only necessary to are adjusted combination to the program in existing boot 4
, will not additionally take the valuable memory space of embedded system.
In addition, movable storage device 101 can be by inserting the data input/output interface that embedded system is intrinsic, conventional
The service mode opening unit 102 that the mode of (such as USB interface) is directed in program 4 is identified, special without inserting
Special maintenance interface, and intrinsic, the conventional data input/output interface of embedded system is generally located on embedded system
The front or side of cabinet, so as to when carrying out system maintenance, it is only necessary to by movable storage device 101 and the number of embedded system
According to input/output interface docking embedded system can be made to enter service mode, it is simple to operate, it is very beneficial for embedded system
On-site maintenance.
To sum up, the maintenance system provided using the present embodiment, first, is deposited using movement intrinsic in existing boot 4
Store up the functions such as equipment identification function, the erasable function of software, you can realize service mode opening unit 102 and software in maintenance system
The function of unit 103 is write with a brush dipped in Chinese ink, without additionally increasing maintenance program 5 in embedded systems, saves embedded system preciousness
Memory space, while reduce the design complexities of the embedded system with maintenance function;Second, due to existing bootstrap
4 itself have safety locking function, so improving the security of maintenance system;3rd, by by movable storage device 101 with
The mode of intrinsic, the conventional data input/output interface docking of embedded system makes embedded system enter service mode, moves
Dynamic storage device 101 is both the key that embedded system enters service mode, is the storage medium of new procedures again so that safeguard behaviour
Make very simple, be very beneficial for the on-site maintenance of embedded system.
In a preferred embodiment of the invention, as shown in figure 4, being the maintenance system of embedded system of the embodiment of the present invention
Another structural representation, 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, identity is also stored with the movable storage device 101 to test
Key is demonstrate,proved, reference picture 4, is also stored with identity authenticating unit 104 in the bootstrap 4, the identity authenticating unit 104 is set
For after the service mode opening unit 102 opens the service mode, according to the authentication key and the identity
The key that authentication unit 104 stores, judges whether the identity of the movable storage device 101 is legal.The software writes with a brush dipped in Chinese ink unit
103 in the case of it is determined that the identity of the movable storage device 101 is legal, and the new procedures are write with a brush dipped in Chinese ink into embedded system
In.
In the present embodiment, it is determined that opening service mode and carrying out between software writes with a brush dipped in Chinese ink, adding movable storage device
101 identity authenticating unit 104, maintenance workers are carried out so as to avoid after the movable storage device of unauthorized connects embedded system
Make, add the security of maintenance work.Specifically, identity authenticating unit 104 judges that the identity in movable storage device 101 is tested
Whether card key and the key that the identity authenticating unit 104 itself stores are consistent, and in the case of it is determined that both are consistent, it is determined that
The identity of movable storage device 101 is legal.Especially, the identity authenticating unit 104 judges the authentication key and institute
Whether identical state key, and it is determined that in the case of both identicals, the identity for determining movable storage device 101 is legal.
In a preferred embodiment of the invention, as shown in figure 5, being that software writes with a brush dipped in Chinese ink unit 103 in the embodiment of the present invention
Structural representation, the software, which writes with a brush dipped in Chinese ink unit 103, includes Maintenance Significant Items determining unit 201, file system maintenance unit 202, behaviour
Make system maintenance unit 203 and upper level applications maintenance unit 204.
Specifically, the Maintenance Significant Items determining unit 201, it is arranged to obtain the Maintenance Significant Items of user's selection.Here, user
The maintenance interface typically shown by touch display screen, dimension corresponding to this maintenance work is selected in Maintenance Significant Items drop-down menu
Shield project, in view of the object of maintenance work includes file system 2, operating system 3 and upper level applications 1, so specific dimension
Shield project includes following three kinds:File system maintenance, to situation about should be safeguarded to file system 2;Operating system is safeguarded, right
Situation about operating system 3 should be safeguarded;Upper level applications are safeguarded, to the feelings that should be safeguarded to upper level applications 1
Condition.
The file system maintenance unit 202, it is arranged to it is determined that the Maintenance Significant Items are the situation of file system maintenance
Under, judge whether include file system new procedures in the new procedures, and include the file system in the new procedures
In the case of new procedures, the file system new procedures are write with a brush dipped in Chinese ink in embedded system.Especially, file system maintenance unit
202 after judging that movable storage device 101 includes file system new procedures, it is also necessary to determines whether that this document system is new
Whether program is correct, and embedded system is write with a brush dipped in Chinese ink after confirming that file system new procedures are correct, then by this document system new procedures
In, further increase the security of maintenance work.The no correctly method of above-mentioned judgement file system new procedures is needed according to tool
The implementation process of body specifically determines, therefore no longer carries out expansion explanation herein.
The operating system maintenance unit 203, it is arranged to it is determined that the Maintenance Significant Items are the situation that operating system is safeguarded
Under, judge whether include operating system new procedures in the new procedures, and include the operating system in the new procedures
In the case of new procedures, the operating system new procedures are write with a brush dipped in Chinese ink in embedded system.Especially, operating system maintenance unit
203 after judging that movable storage device 101 includes operating system new procedures, it is also necessary to determines whether that the operating system is new
Whether program is correct, and embedded system is write with a brush dipped in Chinese ink after confirming that operating system new procedures are correct, then by the operating system new procedures
In, further increase the security of maintenance work.It is above-mentioned to judge that the whether correct method of operating system new procedures needs basis
Specific implementation process specifically determines, therefore no longer carries out expansion explanation herein.
The upper level applications maintenance unit 204, it is arranged to it is determined that the Maintenance Significant Items are tieed up for upper level applications
In the case of shield, judge whether include upper level applications new procedures in the new procedures, and include in the new procedures
In the case of the upper level applications new procedures, the upper level applications new procedures are write with a brush dipped in Chinese ink in embedded system.Especially
Ground, upper level applications maintenance unit 204 after judging that movable storage device 101 includes upper level applications new procedures,
Also need to determine whether the upper level applications new procedures are correct, after confirming that upper level applications new procedures are correct,
The upper level applications new procedures are write with a brush dipped in Chinese ink in embedded system again, further increase the security of maintenance work.It is above-mentioned
Judge that the whether correct method of upper level applications new procedures needs specifically to determine according to specific implementation process, therefore herein no longer
Carry out expansion explanation.
What deserves to be explained is it is possible to include the new journey of file system in the new procedures being stored in movable storage device 101
One or more in sequence, operating system new procedures and upper level applications new procedures, in actual mechanical process, user is each
A Maintenance Significant Items are selected on the maintenance interface that touch display screen is shown, system can be according to the currently selected Maintenance Significant Items selected
The program corresponding with this Maintenance Significant Items is extracted in the new procedures, and the 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's selection needs the Maintenance Significant Items safeguarded next time, by that analogy, until completing all need
Untill the Maintenance Significant Items to be safeguarded.
Further, the bootstrap 4 be Generic Bootstrap (Uboot, Universal Boot Loader) or
Basic input/output (Bios, Basic Input Output System), Generic Bootstrap is German DENX groups
Exploitation for a variety of embedded type CPUs bootloader programs.In addition, the 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 cards (compact flash,
Compact Flash) and IC-card (integrated circuit card, Integrated Circuit Card) in one kind.
Correspondingly, the embodiment of the present invention additionally provides a kind of maintaining method of embedded system, as shown in fig. 6, being this hair
A kind of flow chart of the maintaining method of bright embodiment embedded system, the maintaining method comprise the following steps:
Step 301:The bootstrap 4 of the embedded system judges whether to recognize movable storage device 101, the shifting
The dynamic internal memory of storage device 101 contains new procedures;
Step 302:The bootstrap 4 opens the embedded system after the movable storage device 101 is recognized
Service mode;
Step 303:The bootstrap 4 writes with a brush dipped in Chinese ink the new procedures in the embedded system.
The maintaining method provided using the present embodiment, first, utilizes movable storage device intrinsic in existing boot 4
The functions such as the erasable function of 101 identification functions, software, you can realize service mode opening unit 102 and software brush in maintenance system
The function of r/w cell 103, without additionally increasing maintenance program 5 in embedded systems, save depositing for embedded system preciousness
Space is stored up, while reduces the design complexities of the embedded system with maintenance function;Second, due to existing bootstrap 4
Itself there is safety locking function, so improving the security of maintenance process;3rd, by by movable storage device 101 with
The mode of intrinsic, the conventional data input/output interface docking of embedded system makes embedded system enter service mode, moves
Dynamic storage device 101 is both the key that embedded system enters service mode, is the storage medium of new procedures again so that safeguard behaviour
Make very simple, be very beneficial for the on-site maintenance of embedded system.
As shown in fig. 7, it is another flow chart of the maintaining method of embedded system of the embodiment of the present invention, in the present embodiment
In, also it is stored with authentication key in the movable storage device 101;Methods described also includes:
Step 304:The bootstrap 4 is after the service mode is opened, according to the authentication key and described
The key that identity authenticating unit 104 stores, judges whether the identity of the movable storage device 101 is legal.Specifically, described
The key stored according to the authentication key and the identity authenticating unit 104, judge the body of the movable storage device 101
Part whether it is legal including:Judge whether the authentication key is consistent with the key;If it is, determine that the movement is deposited
The identity for storing up equipment 101 is legal.Further, it is above-mentioned judge the movable storage device 101 identity it is whether legal enter one
Step includes:Judge whether the authentication key is identical with the key;If it is, determine the movable storage device
101 identity is legal.
Step 303:After it is determined that the identity of the movable storage device 101 is legal, the new procedures are write with a brush dipped in Chinese ink described
In embedded system.
In the present embodiment, it is determined that opening service mode and carrying out between software writes with a brush dipped in Chinese ink, adding movable storage device
101 identity authenticating unit 104, tieed up so as to avoid after the movable storage device 101 of unauthorized connects embedded system
Nurse makees, and adds the security of maintenance work.
As shown in figure 8, it is the flow that new procedures are write with a brush dipped in Chinese ink to the method in the embedded system in the embodiment of the present invention
Figure, it is described new procedures are write with a brush dipped in Chinese ink into the method in the embedded system to comprise the following steps:
Step 401:The Maintenance Significant Items of user's selection are obtained, the Maintenance Significant Items include file system maintenance, operating system
Safeguard and upper level applications are safeguarded;
Step 402:When it is determined that the Maintenance Significant Items are file system maintenance, judge whether include text in the new procedures
Part system new procedures, if it is, the file system new procedures are write with a brush dipped in Chinese ink in the embedded system;
Step 403:When it is determined that the Maintenance Significant Items are safeguarded for operating system, judge whether include behaviour in the new procedures
Make system new procedures, if it is, the operating system new procedures are write with a brush dipped in Chinese ink in the embedded system;
Step 404:When it is determined that the Maintenance Significant Items are safeguarded for upper level applications, judge whether wrapped in the new procedures
Upper level applications new procedures are included, if it is, the upper level applications new procedures are write with a brush dipped in Chinese ink in the embedded system.
Further, the bootstrap 4 be Generic Bootstrap (Uboot, Universal Boot Loader) or
Basic input/output (Bios, Basic Input Output System), Generic Bootstrap is German DENX groups
Exploitation for a variety of embedded type CPUs bootloader programs.In addition, the 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 cards (compact flash,
Compact Flash) and IC-card (integrated circuit card, Integrated Circuit Card) in one kind.
The concrete processing procedure of each step of the above method can refer to above for each list in maintenance system of the embodiment of the present invention
The description of member, will not be repeated here.
What deserves to be explained is maintenance system and maintaining method described in the embodiment of the present invention, can not only be applied to railway
The maintenance of the embedded system in locomotive and municipal rail train field, additionally it is possible to applied to the maintenance for being usually embedded formula system.
Those skilled in the art should be understood that above-mentioned each module of the invention or each step can use general calculating
Device realizes that they can be concentrated on single computing device, or be distributed in the network that multiple computing devices are formed
On, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to be stored in storage
Performed in device by computing device, they are either fabricated to each integrated circuit modules respectively or will be more in them
Individual module or step are fabricated to single integrated circuit module to realize.So, the present invention be not restricted to any specific hardware and
Software combines.
While it is disclosed that embodiment as above, but described content only to facilitate understand the present invention and adopt
Embodiment, it is not limited to the present invention.Any those skilled in the art to which this invention pertains, this is not being departed from
On the premise of the disclosed spirit and scope of invention, any modification and change can be made in the implementing form and in details,
But the scope of patent protection of the present invention, still should be subject to the scope of the claims as defined in the appended claims.
Claims (8)
- A kind of 1. maintenance system of embedded system, it is characterised in that including:Movable storage device, the movable storage device internal memory contain new procedures;AndThe service mode opening unit and software being stored in the bootstrap of the embedded system write with a brush dipped in Chinese ink unit;The service mode opening unit, it is arranged to identify the movable storage device, and is recognizing the mobile storage In the case of equipment, the service mode of the embedded system is opened;The software writes with a brush dipped in Chinese ink unit, is arranged to after the service mode is opened, the new procedures is write with a brush dipped in Chinese ink described embedded In system;Wherein, also it is stored with authentication key in the movable storage device;Identity is also stored with the bootstrap to test Unit is demonstrate,proved, is arranged to after the service mode is opened, is stored according to the authentication key and the identity authenticating unit Key, judge whether the identity of the movable storage device legal;The software writes with a brush dipped in Chinese ink unit, is arranged in the case of it is determined that the identity of the movable storage device is legal, will be described new Program is write with a brush dipped in Chinese ink in the embedded system.
- 2. system according to claim 1, it is characterised in that the identity authenticating unit is specifically configured to:Described in judgement Whether authentication key is consistent with the key, and in the case of the authentication key and the key agreement, Determine that the identity of the movable storage device is legal.
- 3. system according to claim 1, it is characterised in that the software, which writes with a brush dipped in Chinese ink unit, to be included:Maintenance Significant Items determining unit, is arranged to obtain the Maintenance Significant Items of user's selection, and the Maintenance Significant Items are tieed up including file system Shield, operating system are safeguarded and upper level applications are safeguarded;File system maintenance unit, it is arranged in the case of it is determined that the Maintenance Significant Items are file system maintenance, described in judgement Whether include file system new procedures in new procedures, and include the situation of the file system new procedures in the new procedures Under, the file system new procedures are write with a brush dipped in Chinese ink in the embedded system;Operating system maintenance unit, it is arranged in the case of it is determined that the Maintenance Significant Items are operating system maintenance, described in judgement Whether include operating system new procedures in new procedures, and include the situation of the operating system new procedures in the new procedures Under, the operating system new procedures are write with a brush dipped in Chinese ink in the embedded system;Upper level applications maintenance unit, it is arranged in the case of it is determined that the Maintenance Significant Items are upper level applications maintenance, Judge whether include upper level applications new procedures in the new procedures, and include the upper layer application in the new procedures In the case of program new procedures, the upper level applications new procedures are write with a brush dipped in Chinese ink in the embedded system.
- 4. according to the system described in any one of claims 1 to 3, it is characterised in that the bootstrap is Generic Bootstrap Or basic input/output, the movable storage device are one kind in USB flash drive, SD card, CF cards and IC-card.
- A kind of 5. maintaining method of embedded system, it is characterised in that including:The bootstrap of the embedded system judges whether to recognize movable storage device, the movable storage device memory storage There are new procedures;The bootstrap opens the service mode of the embedded system after the movable storage device is recognized, and will The new procedures are write with a brush dipped in Chinese ink in the embedded system;Wherein, authentication key is also stored with the movable storage device, methods described also includes:The bootstrap is deposited after the service mode is opened according to the authentication key and the identity authenticating unit The key of storage, judge whether the identity of the movable storage device is legal;And it is determined that the identity of the movable storage device is closed After method, the new procedures are write with a brush dipped in Chinese ink in the embedded system.
- 6. according to the method for claim 5, it is characterised in that described to be tested according to the authentication key and the identity Demonstrate,prove unit storage key, judge the movable storage device identity it is whether legal including:Judge whether the authentication key is consistent with the key;If it is, determine that the identity of the movable storage device is legal.
- 7. according to the method for claim 5, it is characterised in that described that the new procedures are write with a brush dipped in Chinese ink into the embedded system Include:The Maintenance Significant Items of user's selection are obtained, the Maintenance Significant Items include file system maintenance, operating system is safeguarded and upper strata should Use program maintenance;When it is determined that the Maintenance Significant Items are file system maintenance, judge whether include the new journey of file system in the new procedures Sequence, if it is, the file system new procedures are write with a brush dipped in Chinese ink in the embedded system;When it is determined that the Maintenance Significant Items are safeguarded for operating system, judge whether include the new journey of operating system in the new procedures Sequence, if it is, the operating system new procedures are write with a brush dipped in Chinese ink in the embedded system;When it is determined that the Maintenance Significant Items are safeguarded for upper level applications, judge whether include upper layer application journey in the new procedures Sequence new procedures, if it is, the upper level applications new procedures are write with a brush dipped in Chinese ink in the embedded system.
- 8. according to the method described in any one of claim 5 to 7, it is characterised in that the bootstrap is Generic Bootstrap Or basic input/output, the movable storage device are one kind in USB flash drive, SD card, CF cards and IC-card.
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 CN104317619A (en) | 2015-01-28 |
CN104317619B true 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)
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 |
-
2014
- 2014-10-24 CN CN201410577798.6A patent/CN104317619B/en active Active
Patent Citations (4)
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 |
---|---|
CN104317619A (en) | 2015-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8566611B2 (en) | Electronic device, unlocking method, and program | |
CN106776362B (en) | The control method and device of memory | |
CN106325915A (en) | Systems, methods, and computer-readable storage media for updating a computer firmware | |
CN106462509A (en) | Apparatuses and methods for securing access protection scheme | |
CN104407803B (en) | Unlocking screen method, device and the electronic equipment recognized based on person's handwriting | |
CN104217494B (en) | A kind of card number method of calibration and device | |
CN105760746A (en) | Authority management method, authority distribution method and equipment | |
CN104484685B (en) | A kind of method and system of bulk issue smart card | |
CN101520854A (en) | Smart memory card, data safety control system and method thereof | |
CN105094652A (en) | Touch screen unlocking method and device, electronic equipment, display and mobile terminal | |
CN105303093A (en) | Token verification method for cryptographic smart token | |
CN102681838A (en) | Method, computer program and device for providing security for intermediate programming code for its execution by a virtual machine | |
DE102012012509A1 (en) | Method and apparatus for replacing the operating system of a resource-constrained portable data carrier | |
CN103995717B (en) | A kind of method of embedded device software upgrading | |
CN101833496B (en) | Detection device based on host anti-object reusability of hard disk and detection method thereof | |
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 | |
CN101551838B (en) | Identity authentication method and system of memory card | |
CN104778424B (en) | The method that ROM brush machines are prevented based on intelligent television | |
CN105959451A (en) | MBN loading method and mobile terminal | |
CN104317619B (en) | The maintenance system and method for embedded system | |
CN104317723B (en) | Method and system for tracking running information of drive program | |
JP2013229005A5 (en) | Card identification information management system, program, receiving apparatus and method | |
CN103885875A (en) | Device and method for verifying scripts | |
CN105867894A (en) | Automatic creating method and system of development environment |
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 |