CN110502285A - System start method, device, embedded device and readable storage medium storing program for executing - Google Patents
System start method, device, embedded device and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN110502285A CN110502285A CN201910799198.7A CN201910799198A CN110502285A CN 110502285 A CN110502285 A CN 110502285A CN 201910799198 A CN201910799198 A CN 201910799198A CN 110502285 A CN110502285 A CN 110502285A
- Authority
- CN
- China
- Prior art keywords
- server
- value
- data
- address
- partial data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003860 storage Methods 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000004913 activation Effects 0.000 claims abstract description 17
- 238000012512 characterization method Methods 0.000 claims abstract description 10
- 230000008439 repair process Effects 0.000 claims description 34
- 238000004891 communication Methods 0.000 claims description 8
- 230000005055 memory storage Effects 0.000 claims 1
- 238000013461 design Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 11
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000009897 systematic effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4416—Network booting; Remote initial program loading [RIPL]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The embodiment of the present application provides a kind of system start method, device, embedded device and readable storage medium storing program for executing, applied to embedded device, method includes: to judge that system starting identifies whether as the first value, wherein the initial data of the first value characterization system can normally start;If system starting mark is not the first value, the partial data of system is obtained from server, and the initial data of system is covered with partial data;System starting mark is set to the first value with activation system.System starting mark is not the first value, mean the initial data error of system and system is caused not start normally, therefore, the partial data of system can be obtained from server and replaces initial data, so as to override the mistake in script initial data, start system normally.The embodiment of the present application compared with prior art, the reliability of embedded device still can be improved in the case where not storing two mirror-image systems.
Description
Technical field
This application involves the communications field, in particular to a kind of system start method, device, embedded device and
Readable storage medium storing program for executing.
Background technique
Embedded device is widely used in industrial manufacture, process control, communication, instrument and meter, aerospace and consumption
Measure the fields such as product.In order to improve the reliability of embedded device, dual system can be used usually in embedded device.In equipment
Two parts of mirror-image systems of upper burning, once some system jam, can not start, embedded device can automatically switch to another
System.
However, the memory space that two parts of mirror-image systems occupy is larger, and the memory space of embedded device is usually limited, because
This can not store two parts of mirror-image systems for most of embedded device, so that the reliability of embedded device is lower.
Summary of the invention
The embodiment of the present application is designed to provide a kind of system start method, device, embedded device and readable deposits
Storage media, the lower problem of reliability to improve embedded device in the prior art.
In a first aspect, the embodiment of the present application provides a kind of system start method, it is applied to embedded device, the method
It include: to judge that system starting identifies whether as the first value, wherein the initial data of the first value characterization system can be opened normally
It is dynamic;If system starting mark is not first value, the partial data of the system is obtained from server, and with described complete
Entire data covers the initial data of the system;System starting mark is set to first value, and using described complete
Data start the system.
System starting mark is not the first value, it is meant that the initial data of system malfunctions and system is caused not open normally
It is dynamic, therefore, the partial data of system can be obtained from server and replaces initial data, it is originally original so as to override
Mistake in data, starts system normally.The embodiment of the present application compared with prior art, is not storing two mirror image systems
The reliability of embedded device still can be improved in the case where system.
In a possible design, the partial data that the system is obtained from server, comprising: from the insertion
The memory space of formula equipment itself obtains the first storage address of fix tool, wherein described in the first storage address storage
The data information for repair system of fix tool;According to the data information for repair system, from the server
Obtain the partial data of the system.
Embedded device obtains the data information for being used for repair system by operation fix tool, then according to for repairing
The data information of system gets the partial data of system from server.
In a possible design, the data information for repair system includes domain name system DNS address;It is described
According to the data information for repair system, the partial data of the system is obtained from server, comprising: to dns address
It is parsed, obtains the IP address of the server;According to the IP address of the server, the system is obtained from the server
The partial data of system.
Data information for repair system may include domain name system (Domain Name System, abbreviation DNS)
Location, embedded device parse dns address, obtain Internet protocol address (the Internet Protocol of server
Address, abbreviation IP address), server is then accessed according to the IP address of server, to obtain the partial data of system.
Since the IP address of server can change, parsing, which is carried out, using domain name of the DNS to server obtains server
IP address, may be implemented still find server when the IP address of server changes, further improve embedding
Enter the reliability of formula equipment.
In a possible design, the data information for repair system includes DynamicHost setting protocol DHCP
The address of server;The data information that repair system is used for according to, the complete number of the system is obtained from server
According to, comprising: according to the address of the Dynamic Host Configuration Protocol server, DHCP option43 information is obtained from the Dynamic Host Configuration Protocol server;From described
The address of DHCP option43 information acquisition access controller AC;According to the address of the AC, the system is obtained from the AC
Partial data.
If embedded device and the server for storing systematic partial data are in three-layer network, embedded device without
Method finds server by way of broadcast, therefore, can be first from dynamic Host Configuration Protocol (Dynamic Host
Configuration Protocol, abbreviation DHCP) server acquisition DHCP option43 information, then according to DHCP
The address of option43 information acquisition server, then obtain from server the partial data of system, realize embedded device with
When server is in three-layer network, the partial data of system still can be accurately obtained from server, improves embedded device
Reliability of operation.
In a possible design, the data information that repair system is used for according to obtains institute from server
State the partial data of system, comprising: the address of the server is obtained from the data information for repair system;According to
The address of the server obtains the partial data of the system from the server.
The IP address of the direct storage server of embedded device can be visited directly in the partial data for needing to obtain system
It asks server, obtains the speed of the partial data of system faster.
In a possible design, it is described judge system starting identify whether as the first value after, the method is also
If including: that the system starting is identified as first value, normal activation system is attempted according to the initial data of the system, and
System starting mark is set to second value, wherein the initial data of the second value characterization system can not normally start;Sentence
Can disconnected system normally start;If system can normally start, the system is started into mark and is set to described the by the second value
One value.
System starting mark is first set to second value, and is set to the first value again after the system of determination can normally start,
May insure system starting mark reflection is the case where can true system normally start.
In a possible design, after can the judgement system normally start, the method also includes: if system
It can not normally start, re-execute and judge that system starting identifies whether as the first value.
If system can not normally start, step is jumped to: judging that system starting identifies whether as the first value.Due to before
System starting mark is set to second value, therefore, judge system starting when identifying whether as the first value herein, it can be into being
System starting mark is not that the branch of the first value executes step, it is ensured that when system starts and breaks down, embedded device can be compared with
The reparation of system is carried out well.
It is described that normal activation system is attempted according to the initial data of the system in a possible design, comprising: from
The memory space of the embedded device itself obtains the second storage address of system, wherein the second storage address storage
The initial data of the system;The initial data is read to attempt normal activation system.
Embedded device can obtain the second storage address of system from the memory space of itself, then from the second storage ground
Location starts to read data, to attempt the initial data activation system according to system.
Second aspect, the embodiment of the present application provide a kind of system starting device, and described device includes: starting mark judgement
Module, for judging that system starting identifies whether as the first value, wherein the initial data of the first value characterization system can be normal
Starting;Partial data obtain module, for when the system starting mark be not first value when, from server obtain described in
The partial data of system, and cover with the partial data initial data of the system;System starting module, being used for will be described
System starting mark is set to first value, and starts the system using the partial data.
In a possible design, it includes: fix tool acquisition submodule that partial data, which obtains module, is used for from described
The memory space of embedded device itself obtains the first storage address of fix tool, wherein the first storage address storage
The data information for repair system of the fix tool;Data acquisition submodule, for being used for repair system according to described
Data information, the partial data of the system is obtained from the server.
In a possible design, the data acquisition submodule includes: dns resolution time submodule, for DNS
Location is parsed, and the IP address of the server is obtained;IP data time submodule, for the IP address according to the server,
The partial data of the system is obtained from the server.
In a possible design, the data acquisition submodule includes: option information time submodule, is used for basis
The address of the Dynamic Host Configuration Protocol server obtains DHCP option43 information from the Dynamic Host Configuration Protocol server;The address AC time submodule, is used
In the address from the DHCP option43 information acquisition access controller AC;AC obtains time submodule, for according to the AC
Address, the partial data of the system is obtained from the AC.
In a possible design, the data acquisition submodule includes: server address time submodule, is used for from institute
State the address that the server is obtained in the data information for repair system;Complete submodule, for according to the service
The address of device obtains the partial data of the system from the server.
In a possible design, described device further includes system starting module, for when system starting mark
When for first value, normal activation system is attempted according to the initial data of the system, and system starting mark is set
For second value, wherein the initial data of the second value characterization system can not normally start;Start judgment module, for judging
Can system normally start;Mark sets a module, for when system can normally start, system starting to be identified by described
Second value is set to first value.
In a possible design, described device further include: step jump module, for can not normally start when system
When, it re-executes and judges that system starting identifies whether as the first value.
In a possible design, the system starting module includes: storage address acquisition submodule, is used for from described
The memory space of embedded device itself obtains the second storage address of system, wherein described in the second storage address storage
The initial data of system;Initial data reading submodule, for reading the initial data to attempt normal activation system.
The third aspect, the application provide a kind of embedded device, comprising: processor, memory and bus, the memory
Be stored with the executable machine readable instructions of the processor, when the built-in equipment operation, the processor with it is described
By bus communication between memory, first aspect or first party are executed when the machine readable instructions are executed by the processor
Method described in any optional implementation in face.
Fourth aspect, the application provide a kind of readable storage medium storing program for executing, and execution program is stored on the readable storage medium storing program for executing, should
It executes when program is run by processor and executes method described in any optional implementation of first aspect or first aspect.
Above objects, features, and advantages to enable the embodiment of the present application to be realized are clearer and more comprehensible, be cited below particularly compared with
Good embodiment, and cooperate appended attached drawing, it is described in detail below.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application will make below to required in the embodiment of the present application
Attached drawing is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore should not be seen
Work is the restriction to range, for those of ordinary skill in the art, without creative efforts, can be with
Other relevant attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram of system start method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of the part steps of step S120 in Fig. 1;
Fig. 3 is a kind of flow diagram of specific embodiment of step S220 in Fig. 2;
Fig. 4 is the flow diagram of another specific embodiment of step S220 in Fig. 2;
Fig. 5 is the flow diagram of another specific embodiment of step S220 in Fig. 2;
Fig. 6 is a kind of flow diagram of specific embodiment of system start method provided by the embodiments of the present application;
Fig. 7 is the flow diagram of system starting device provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described.
Embodiment
Referring to Figure 1, Fig. 1 shows the flow diagram of system start method provided by the embodiments of the present application, specific to wrap
Following steps S110 is included to step S130:
Step S110 judges that system starting identifies whether as the first value, if it is not, executing step S120.
The identifier that can the system that system starting is identified as reflection embedded device normally start, the first value, which then characterizes, is
The initial data of system can normally start, and the first value can be denoted as 0.The initial data of system refers to being stored in originally embedded
In equipment, in order to operate normally the system of embedded device and indispensable data.
In step s 110, embedded device can first carry out boot load, and can be with during boot starting
Judge that the system starting in boot_env subregion identifies whether as the first value.
If system starting mark is not the first value, show that embedded device at present can not be by the original number of reading system
According to normal starting, S120 is thened follow the steps.
Step S120 obtains the partial data of the system from server, and covers the system with the partial data
Initial data.
Embedded device can obtain the partial data of system from server, and be covered with the partial data of the system got
The initial data of convering system.
Fig. 2 is referred to, Fig. 2 shows the flow diagrams for the partial data that the system is obtained from server, specific to wrap
Following steps S210 is included to step S220:
Step S210 obtains the first storage address of fix tool from the memory space of embedded device itself, wherein the
The data information for repair system of one storage address storage fix tool.
Embedded device obtains the first storage address from the memory space of itself, and the first storage address can be reparation work
The initial address of tool, embedded device reads data since the first storage address can run fix tool.Fix tool
In include data information for repair system.
Step S220 obtains the partial data of system from server according to the data information for repair system.
Embedded device obtains the first storage address of fix tool from the memory space of itself, and it is logical to be then inserted into formula equipment
The reading data since the first storage address are crossed, to run fix tool.Embedded device is obtained by operation fix tool
For the data information of repair system, the complete of system is then got from server according to the data information for repair system
Entire data.
Embedded device can be according to the data information for repair system, to get the complete number of system from server
According to the specific embodiment for the partial data that embedded device obtains system from server according to data information will hereinafter in detail
It is thin to illustrate.
System starting mark is set to first value by step S130, and using described in partial data starting
System.
After the initial data using the partial data of system covering system, system starting mark is set to the first value,
Then step S110 can be executed again, after determining system starting and being identified as the first value, using overriding initial data
Partial data activation system.
The embodiment of the present application can first judge system starting identifies whether it is the first value, if system starting mark is not first
Value can then obtain the partial data of system from server, and the initial data of system is override with partial data, then will be
System starting mark is set to the first value.System starting mark is not the first value, it is meant that the initial data of system malfunction and cause be
System can not normally start, and therefore, the partial data of system can be obtained from server and replaces initial data, so as to cover
Lid falls the mistake in script initial data, starts system normally.Since fix tool does not need have complete system
Function, fix tool can only have the partial data that system is got from server, and partial data programming is former to system
The function in memory space where beginning data, therefore, fix tool do not need fixed root file system, and can pass through kernel
The volume for further reducing fix tool is cut, for example, the size of fix tool can be controlled in 500 kilobytes (Kilobyte, letter
Claim KB) within, it, still can be in the case where not storing two mirror-image systems so that the embodiment of the present application is compared with prior art
Improve the reliability of embedded device.
Fig. 3 is referred to, in a kind of specific embodiment of the application, step S220 specifically comprises the following steps S321 extremely
Step S322:
Step S321, parses dns address, obtains the IP address of the server.
Step S322 obtains the partial data of the system from the server according to the IP address of server.
Data information for repair system includes dns address, and embedded device is after getting dns address, to DNS
Address is parsed, the IP address of available server;Then system is obtained from server further according to the IP address of server
Partial data.
Since the IP address of server can change, parsing, which is carried out, using domain name of the DNS to server obtains
The IP address for obtaining server, may be implemented still find server when the IP address of server changes, further
Improve the reliability of embedded device.
Fig. 4 is referred to, in another specific embodiment of the application, step S220 specifically comprises the following steps S421
To step S423:
Step S421 obtains DHCP option43 letter from the Dynamic Host Configuration Protocol server according to the address of the Dynamic Host Configuration Protocol server
Breath.
Step S422, from the address of the DHCP option43 information acquisition access controller AC.
Step S423 obtains the partial data of the system from the AC according to the address of the AC.
Data information for repair system includes the address of Dynamic Host Configuration Protocol server.Store the service of systematic full address
Device can be access controller (AccessPoint Controller, abbreviation AC), if embedded device and AC are in three-layer network
Network, when so that embedded device can not be communicated by way of broadcast with AC, then embedded device can be first according to Dynamic Host Configuration Protocol server
Address communicated with Dynamic Host Configuration Protocol server, obtain DHCP option43 information from Dynamic Host Configuration Protocol server, wherein DHCP option43 letter
It include the address of AC in breath.Embedded device obtains the address of AC from DHCP option43 information, then obtains system from AC
Partial data.
Present embodiment realizes embedded device and when server is in three-layer network, still can be accurately from service
Device obtains the partial data of system, improves the reliability of built-in equipment operation.
Fig. 5 is referred to, in another specific embodiment of the application, step S220 specifically comprises the following steps S521
To step S522:
Step S521 obtains the address of the server from the data information for repair system.
Step S522 obtains the partial data of the system from the server according to the address of the server.
In embedded device can also directly storage server IP address, be then inserted into formula equipment according to the IP of server
Address, the partial data of system is obtained from server, and the IP address of the direct storage server of embedded device is needing to obtain system
When the partial data of system, server can be directly accessed, obtains the speed of the partial data of system faster.
In a specific embodiment, embedded device can be according to step S321 to step S322, and step S421 is extremely
The sequencing of step S423, step S521 to step S522 successively obtain the ground of the server including systematic partial data
Location, until embedded device obtains the address of server.If above-mentioned three kinds of modes can not get the address of server,
Then embedded device is recycled above-mentioned three kinds of modes, until embedded device obtains the address of server.
Fig. 6 is referred to, Fig. 6 shows a kind of specific embodiment of system start method provided by the embodiments of the present application,
Specifically comprise the following steps S110 to step S160:
Step S110 judges that system starting identifies whether as the first value, if so, executing step S140;If it is not, executing step
S120。
Step S120 obtains the partial data of the system from server, and covers the system with the partial data
Initial data.
System starting mark is set to first value by step S130, and using described in partial data starting
System.
Above-mentioned steps S110 to step S130 has been carried out specifically when being illustrated to flow diagram shown in fig. 1
It is bright, it does not just repeat them here herein.
Step S140 attempts normal activation system according to initial data, and system starting mark is set to second value.
Normal activation system is attempted according to the initial data of the system, comprising: the storage from embedded device itself is empty
Between obtain system the second storage address, wherein the second storage address stores the initial data of the system;Read initial data
To attempt normal activation system.
Embedded device can read data since the position of the second storage address, to read the initial data of system
To attempt normal activation system.
Second value is the value that the initial data of characterization system can not normally start, due to can not also learn embedded set at this time
It is standby whether system starting mark to be first labeled as second value according to initial data activation system, therefore, it can be just according to system
Often starting decides whether that system, which is started mark, recalls to the first value again.Second value can be denoted as 1.It is appreciated that the first value and the
The specific value of two-value also can be interchanged, for example, the first value can be denoted as 1, second value can be denoted as 0.The tool of first value and second value
It is limitation to the application that body numerical value, which should not be construed,.
Step S150 judges that can system normally start, if so, executing step S160;If it is not, jumping back to step S110.
If system can normally start, show that initial data does not occur exception, step S160 can be performed.If system can not be just
It is abnormal then to show that initial data occurs for often starting, then jumps to step S110 by judging that system starting identifies whether as first
The mode of value executes step S120 to step S130 branch, thus repair system, so that embedded device can be preferably to being
System is repaired.
System starting mark is set to the first value by second value by step S160.
When system starting is identified as the first value, embedded device can attempt starting system according to the initial data of system
System, while system starting mark is first set to second value.Then judge that can system normally be started, if can normally start,
Second value is set to the first value again.System starting mark is first set to second value, and can normally start it in the system of determination
It is set to the first value again afterwards, it can be ensured that system starting mark reflection is the case where can true system normally start.
Fig. 7 is referred to, Fig. 7 shows the schematic block diagram of system starting device provided by the embodiments of the present application, should
System starting device 700 includes:
Starting mark judgment module 710, for judging that system starting identifies whether as the first value, wherein first value
The initial data of characterization system can normally start.
Partial data obtains module 720, for being obtained from server when system starting mark is not first value
The partial data of the system is taken, and covers the initial data of the system with the partial data.
System starting module 730 for system starting mark to be set to first value, and uses the complete number
According to the starting system.
It includes: fix tool acquisition submodule that partial data, which obtains module 720, for from the embedded device itself
First storage address of memory space acquisition fix tool, wherein first storage address stores the use of the fix tool
In the data information of repair system;Data acquisition submodule, for according to the data information for being used for repair system, from described
Server obtains the partial data of the system.
The data acquisition submodule includes: dns resolution time submodule, for parsing to dns address, described in acquisition
The IP address of server;IP data time submodule, for the IP address according to the server, described in server acquisition
The partial data of system.
The data acquisition submodule includes: option information time submodule, for the ground according to the Dynamic Host Configuration Protocol server
Location obtains DHCP option43 information from the Dynamic Host Configuration Protocol server;The address AC time submodule, is used for from the DHCP
The address of option43 information acquisition access controller AC;AC obtains time submodule, for the address according to the AC, from described
AC obtains the partial data of the system.
The data acquisition submodule includes: server address time submodule, for from the number for repair system
It is believed that obtaining the address of the server in breath;Complete submodule, for the address according to the server, from the service
Device obtains the partial data of the system.
Described device further include:
System starting module, for when the system starting be identified as first value when, according to the original of the system
Data attempt normal activation system, and system starting mark is set to second value, wherein the second value characterization system
Initial data can not normally start;Start judgment module, for judging that can system normally start;Mark sets a module, is used for
When system can normally start, system starting mark is set to first value by the second value.
Step jump module, for when system can not normally start, re-execute judge system starting identify whether as
First value.
The system starting module includes: storage address acquisition submodule, for depositing from the embedded device itself
Store up the second storage address that space obtains system, wherein second storage address stores the initial data of the system;It is original
Reading data submodule, for reading the initial data to attempt normal activation system.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
Specific work process, no longer can excessively be repeated herein with reference to the corresponding process in preceding method.
The application also provides a kind of embedded device, comprising: processor, memory and bus, the memory are stored with
The executable machine readable instructions of the processor, when the built-in equipment operation, the processor and the memory
Between by bus communication, method described in execution embodiment of the method when the machine readable instructions are executed by the processor.
The application also provides a kind of readable storage medium storing program for executing, and execution program is stored on the readable storage medium storing program for executing, the execution journey
Method described in embodiment of the method is executed when sequence is run by processor.
In embodiment provided herein, it should be understood that disclosed device and method, it can be by others side
Formula is realized.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, only one kind are patrolled
Function division is collected, there may be another division manner in actual implementation, in another example, multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some communication interfaces, device or unit
It connects, can be electrical property, mechanical or other forms.
In addition, unit may or may not be physically separated as illustrated by the separation member, as unit
The component of display may or may not be physical unit, it can and it is in one place, or may be distributed over more
In a network unit.Some or all of unit therein can be selected to realize this embodiment scheme according to the actual needs
Purpose.
Furthermore each functional module in each embodiment of the application can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
Herein, relational terms such as first and second and the like be used merely to by an entity or operation with it is another
One entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this reality
Relationship or sequence.
The above description is only an example of the present application, the protection scope being not intended to limit this application, for ability
For the technical staff in domain, various changes and changes are possible in this application.Within the spirit and principles of this application, made
Any modification, equivalent substitution, improvement and etc. should be included within the scope of protection of this application.
Claims (10)
1. a kind of system start method, which is characterized in that be applied to embedded device, which comprises
Judge that system starting identifies whether as the first value, wherein the initial data of the first value characterization system can normally start;
If the system starting mark is not first value, the partial data of the system is obtained from server, and described in use
Partial data covers the initial data of the system;
System starting mark is set to first value, and starts the system using the partial data.
2. the method according to claim 1, wherein the partial data for obtaining the system from server,
Include:
The first storage address of fix tool is obtained from the memory space of the embedded device itself, wherein described first deposits
Storage address stores the data information for repair system of the fix tool;
According to the data information for repair system, the partial data of the system is obtained from the server.
3. according to the method described in claim 2, it is characterized in that, the data information for repair system includes domain name system
System dns address;
The data information that repair system is used for according to, the partial data of the system is obtained from server, comprising:
Dns address is parsed, the IP address of the server is obtained;
According to the IP address of the server, the partial data of the system is obtained from the server.
4. according to the method described in claim 2, it is characterized in that, the data information for repair system includes that dynamic is main
The address of machine setting protocol DHCP server;
The data information that repair system is used for according to, the partial data of the system is obtained from server, comprising:
According to the address of the Dynamic Host Configuration Protocol server, DHCP option43 information is obtained from the Dynamic Host Configuration Protocol server;
From the address of the DHCP option43 information acquisition access controller AC;
According to the address of the AC, the partial data of the system is obtained from the AC.
5. according to the method described in claim 2, it is characterized in that, it is described according to be used for repair system data information,
The partial data of the system is obtained from server, comprising:
The address of the server is obtained from the data information for repair system;
According to the address of the server, the partial data of the system is obtained from the server.
6. the method according to claim 1, wherein it is described judge system starting identify whether for the first value it
Afterwards, the method also includes:
If the system starting is identified as first value, normal activation system is attempted according to the initial data of the system, and
System starting mark is set to second value, wherein the initial data of the second value characterization system can not normally start;
Can judgement system normally start;
If system can normally start, system starting mark is set to first value by the second value.
7. according to the method described in claim 6, it is characterized in that, after can the judgement system normally start, the side
Method further include:
If system can not normally start, re-executes and judge that system starting identifies whether as the first value.
8. according to the method described in claim 6, it is characterized in that, described normally open according to the trial of the initial data of the system
Dynamic system, comprising:
The second storage address of system is obtained from the memory space of the embedded device itself, wherein second storage ground
Location stores the initial data of the system;
The initial data is read to attempt normal activation system.
9. a kind of system starting device, which is characterized in that described device includes:
Starting mark judgment module, for judging that system starting identifies whether as the first value, wherein first value characterizes system
Initial data can normally start;
Partial data obtain module, for when the system starting mark be not first value when, from server obtain described in
The partial data of system, and cover with the partial data initial data of the system;
System starting module for system starting mark to be set to first value, and is started using the partial data
The system.
10. a kind of embedded device characterized by comprising processor, memory and bus, the memory storage is
State the executable machine readable instructions of processor, when the built-in equipment operation, the processor and the memory it
Between by bus communication, perform claim requirement 1 to 8 is described in any item when the machine readable instructions are executed by the processor
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910799198.7A CN110502285A (en) | 2019-08-27 | 2019-08-27 | System start method, device, embedded device and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910799198.7A CN110502285A (en) | 2019-08-27 | 2019-08-27 | System start method, device, embedded device and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110502285A true CN110502285A (en) | 2019-11-26 |
Family
ID=68590147
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910799198.7A Pending CN110502285A (en) | 2019-08-27 | 2019-08-27 | System start method, device, embedded device and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110502285A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080258758A1 (en) * | 2006-12-28 | 2008-10-23 | Fujitsu Limited | Embedded system and control method therefor |
CN101808131A (en) * | 2010-03-22 | 2010-08-18 | 北京傲天动联技术有限公司 | Method for automatically upgrading network terminal edition |
CN102122258A (en) * | 2011-03-22 | 2011-07-13 | 四川长虹电器股份有限公司 | Method for repairing damaged embedded equipment file system |
CN103605536A (en) * | 2013-11-06 | 2014-02-26 | 华为技术有限公司 | Starting method and starting device of embedded operating system and baseboard management controller |
CN107145802A (en) * | 2017-05-09 | 2017-09-08 | 郑州云海信息技术有限公司 | A kind of BIOS integrity measurement methods, baseboard management controller and system |
-
2019
- 2019-08-27 CN CN201910799198.7A patent/CN110502285A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080258758A1 (en) * | 2006-12-28 | 2008-10-23 | Fujitsu Limited | Embedded system and control method therefor |
CN101808131A (en) * | 2010-03-22 | 2010-08-18 | 北京傲天动联技术有限公司 | Method for automatically upgrading network terminal edition |
CN102122258A (en) * | 2011-03-22 | 2011-07-13 | 四川长虹电器股份有限公司 | Method for repairing damaged embedded equipment file system |
CN103605536A (en) * | 2013-11-06 | 2014-02-26 | 华为技术有限公司 | Starting method and starting device of embedded operating system and baseboard management controller |
CN107145802A (en) * | 2017-05-09 | 2017-09-08 | 郑州云海信息技术有限公司 | A kind of BIOS integrity measurement methods, baseboard management controller and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107291516B (en) | Firmware upgrading method and system | |
US6425079B1 (en) | Universal option ROM BIOS including multiple option BIOS images for multichip support and boot sequence for use therewith | |
CN101178661B (en) | Realization method and apparatus of FLASH integrate BOOTROM | |
CN110045991B (en) | RAID configuration method and device of server, computer equipment and storage medium | |
EP3879399B1 (en) | Method and apparatus for upgrading vehicle-mounted tbox, device, and storage medium | |
US10922071B2 (en) | Centralized off-board flash memory for server devices | |
CN103514065B (en) | Tool automatically detects and recovers electronic installation and the method for function | |
US7583193B2 (en) | Method for supporting an antenna wiring, and a system | |
CN113064748B (en) | Process succession method, device, electronic equipment and storage medium | |
CN106648685A (en) | Processing method and device of intelligent terminal system and intelligent terminal | |
CN110446028A (en) | Set-top box production test method and system | |
CN109002305A (en) | A kind of update method and its system of device program | |
CN103455750B (en) | The high peace verification method of a kind of embedded device and device | |
CN107341074B (en) | A kind of abnormal restorative procedure of upgrading upgrades abnormal prosthetic device and intelligent terminal | |
KR20020013425A (en) | Electronic device, apparatus of the same and data reading method | |
CN110502285A (en) | System start method, device, embedded device and readable storage medium storing program for executing | |
JP2004513407A (en) | Card terminal and method for operating card terminal | |
CN112231251A (en) | Board card slot identification method and device, communication equipment and readable storage medium | |
CN109728915B (en) | Switching method of dual-redundancy network card under windows XPE | |
CN204302961U (en) | Embedded device and the diagnostic card for embedded device | |
US20030027562A1 (en) | Radio communication device, method of and program for rewriting boot program therefor | |
CN108958819B (en) | Starting method of multi-partition system and multi-partition system | |
US20060294283A1 (en) | Universal Serial Bus Device | |
US8074023B2 (en) | In-system programming to switch memory access from one area to another in memory cards | |
CN111783162A (en) | Data protection implementation method and device and computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191126 |