CN104778066B - The quick start method and its device of a kind of embedded OS - Google Patents

The quick start method and its device of a kind of embedded OS Download PDF

Info

Publication number
CN104778066B
CN104778066B CN201510191108.8A CN201510191108A CN104778066B CN 104778066 B CN104778066 B CN 104778066B CN 201510191108 A CN201510191108 A CN 201510191108A CN 104778066 B CN104778066 B CN 104778066B
Authority
CN
China
Prior art keywords
image file
medium
cutting image
cutting
power
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
Application number
CN201510191108.8A
Other languages
Chinese (zh)
Other versions
CN104778066A (en
Inventor
王泰运
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lingyang Chengxin Technology Chengdu Co ltd
Original Assignee
BEIJING SUNPLUS-EHUE TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING SUNPLUS-EHUE TECHNOLOGY Co Ltd filed Critical BEIJING SUNPLUS-EHUE TECHNOLOGY Co Ltd
Priority to CN201510191108.8A priority Critical patent/CN104778066B/en
Publication of CN104778066A publication Critical patent/CN104778066A/en
Application granted granted Critical
Publication of CN104778066B publication Critical patent/CN104778066B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The application provides a kind of quick start method and its device of embedded OS, and methods described includes:At least two will be stored in respectively can power off the cutting image file loaded in parallel that preserves in medium and arrive internal memory, the mapping document of operation system of preservation media quantity cutting can be powered off according to the cutting image file;Hardware initialization operation without dependence is divided at least two operations, is submitted in loading tool;The initialization operation of at least two operations described in the loading tool parallel processing;The image file is run, completes startup program.The application toggle speed is fast, realizes that simply cost is cheap.

Description

The quick start method and its device of a kind of embedded OS
Technical field
The application is related to embedded system, more particularly to the quick start method and its dress of a kind of embedded OS Put.
Background technology
The startup of operating system (OS) larger at present is required for expending the very long time, and these operating systems are commonly used In the multi-user environment of desktop computer, or even server.For example Android, Linux, iOS etc. the startup time are all very slow It is long.The operating systems such as Android, Linux, iOS especially need to consider newly to add function as hardware, and detect hardware, so as to Some marks, variable etc. needed for operating system are established in internal memory by bootstarp.
But for the embedded equipment for being seldom modified to hardware, almost all of hardware is all to confirm. The operating system of embedded equipment need not start the function of all considering new addition hardware every time, and detect hardware.It is also, embedded The usual hardware performance of system is poorer than desktop computer or server, and existing embedded OS is still to whole hardware Detected, cause it to start slow.
And, it is necessary to which opening for operating system can be completed by waiting for a period of time for the embedded equipments such as car-mounted device It is dynamic, lead to not immediately treat signal, cause inconvenient for use.
Publication date discloses a kind of side at start-up operation interface for the Chinese patent CN102541581 on July 4th, 2012 Method, it first carries out the user's operation module stored in advance, recycles the background of onboard system, starts the operation system of onboard system System;The operation interface of user's operation module is presented, operation selects and performs the function of selection;After completing start-up operation system, The Normal Mode Operation of onboard system is replied, with rapid start-up operation interface.But the technology stills need to start the use to prestore Person's operation module, it is also desirable to whole hardware are detected, its toggle speed is still very slow.
The system electrification that publication date discloses a kind of QNX for the Chinese patent CN103645916 on March 19th, 2014 starts Method, it only loads figure shows service routine and voice service program when running the big parts such as image text;In operation Smart The first application program for starting needed for judging during Loader and start the required service of the first application program and drive and start the The required service of one application program and driving, start the first application program, avoid system electrification from starting other when starting unnecessary Service and driving, and extend the time of electrifying startup, realize electric rapid start-up operation interface on vehicle-mounted information and entertainment system Realize that history broadcast source plays simultaneously, and it is operable, it is ensured that and system electrification completes to start in 3 seconds and play history broadcast source, carries High Consumer's Experience., can not when image file is very big in itself but the technology is only that make use of image file to be started It is enough to realize quick start.And the technology can not realize that the hardware of vehicle device is quick only by a part of application program delay start Initialization, its toggle speed still can not meet to require.
Therefore, how quickly to start embedded OS turns into technical problem urgently to be resolved hurrily.
The content of the invention
In view of this, the application provides a kind of quick start method and its device of embedded OS, and it starts speed Degree is fast, realizes that simply cost is cheap.
To reach one of above-mentioned purpose, embodiments herein adopts the following technical scheme that:
The one side of the embodiment of the present application, the application provide a kind of quick start method of embedded OS, and it is special Sign is that methods described includes:
By be stored in respectively at least two can power off preserve medium in cutting image file loaded in parallel to internal memory, it is described The mapping document of operation system for preserving media quantity cutting can be powered off according to cutting image file;
Hardware initialization operation without dependence is divided at least two operations, is submitted in loading tool;
The initialization operation of at least two operations described in the loading tool parallel processing;
The image file is run, completes startup program.
In the application one in the specific implementation, it is described will be stored in respectively at least two can power off preserve medium in cuttings reflect As file in parallel be loaded into the memory mapping of internal memory with the loading tool parallel processing described at least two operations initialization The memory mapping of operation is not overlapping.
In the application one in the specific implementation, it is described will be stored in respectively at least two can power off preserve medium in cuttings reflect It is specially as file in parallel is loaded into internal memory:
At least two will be stored in respectively can power off preserve cutting image file in medium by DMA loaded in parallel to interior Deposit.
In the application one in the specific implementation, methods described also includes:
The quantity that the mapping document of operation system in internal memory preserves medium according to that can power off is cut into cutting before shutdown to reflect As file, and it the cutting image file copied at least two can power off to preserve in medium and save as image file.
In the application one in the specific implementation, by the mapping document of operation system in internal memory according to guarantor can be powered off before the shutdown The quantity for depositing medium is cut into cutting image file, and copies at least two and can power off to preserve the cutting image file and be situated between Image file is saved as in matter also to be included:
The cutting image file is compressed, and the cutting image file after compression is copied at least two It can power off to preserve and be preserved in medium;
It is described will be stored at least two respectively and can power off preserve cutting image file loaded in parallel in medium to internal memory Also include:
The cutting image file of loading is decompressed.
Corresponding to the above method, the application also provides a kind of device for rapidly starting of embedded OS, described device Including:
File load module, for by be stored in respectively at least two can power off preserve medium in cutting image file simultaneously Row is loaded into internal memory, and the mapping document of operation system for preserving media quantity cutting can be powered off according to the cutting image file;
Operation distribute module, for the hardware initialization operation without dependence to be divided into at least two operations, it is submitted to In loading tool;
Processing module is operated, for the initialization behaviour using at least two operations described in the loading tool parallel processing Make;
Running paper module, for running the image file, complete startup program.
In the application one in the specific implementation, will be stored at least two in the file load module respectively can power off preservation The memory mapping of cutting image file loaded in parallel to internal memory in medium is parallel with loading tool in the operation processing module The memory mapping for handling the initialization operation of at least two operation is not overlapping.
In the application one in the specific implementation, the file load module can break specifically for will be stored at least two respectively The cutting image file that electricity is preserved in medium passes through DMA loaded in parallel to internal memory.
In the application one in the specific implementation, described device also includes:
File preserving module, for the mapping document of operation system in internal memory to be preserved into medium according to can power off before shutting down Quantity is cut into cutting image file, and the cutting image file is copied at least two can power off to preserve in medium and preserve For image file.
In the application one in the specific implementation, the file preserving module is additionally operable to be pressed the cutting image file Contracting, and by the cutting image file after compression copy at least two can power off preserve medium in preserve;
The file load module is additionally operable to be decompressed the cutting image file of loading.
From above technical scheme, the application will be stored at least two cuttings that can be powered off in preservation medium respectively and reflect As file in parallel is loaded into internal memory.The operating system that preservation media quantity cutting can be powered off according to the cutting image file is reflected As file.So as to, avoid due to image file it is excessive caused by image file loading velocity it is slow, improve image file and add It is downloaded to the speed of internal memory.Meanwhile the hardware initialization operation without dependence is divided at least two operations by the application, is submitted to In loading tool, the initialization operation of at least two operations described in the loading tool parallel processing.This hardware initialization Parallel processing, the speed of hardware initialization is further speeded up, so as to realize the quick startup of embedded OS, it is realized Simply, cost is cheap.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments described in application, for those of ordinary skill in the art, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the structural representation of the application embedded equipment;
Fig. 2 is the flow chart of the embodiment of quick start method one of the application embedded OS;
Fig. 3 is the flow chart of another embodiment of quick start method of the application embedded OS;
Fig. 4 is the structure chart of the embodiment of device for rapidly starting one of the application embedded OS;
Fig. 5 is the structure chart of another embodiment of device for rapidly starting of the application embedded OS.
Embodiment
The application, which will be stored at least two respectively and can power off, preserves cutting image file loaded in parallel in medium to interior Deposit.The mapping document of operation system for preserving media quantity cutting can be powered off according to the cutting image file.So as to avoid Due to image file it is excessive caused by image file loading velocity it is slow, improve the speed that image file is loaded into internal memory.Together When, the hardware initialization operation without dependence is divided at least two operations by the application, is submitted in loading tool, described to add The initialization operation of at least two operations described in load instrument parallel processing.The parallel processing of this hardware initialization, further add The fast speed of hardware initialization, so as to realize the quick startup of embedded OS, it realizes simple, and cost is cheap.
Certainly, implementing any technical scheme of the application must be not necessarily required to reach all the above advantage simultaneously.
In order that those skilled in the art more fully understand the technical scheme in the application, below in conjunction with the embodiment of the present application In accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only Only it is some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, ordinary skill The every other embodiment that personnel are obtained, it should all belong to the scope of the application protection.
The application provides a kind of quick start method of embedded OS, applied to embedded equipment, such as it is vehicle-mounted Terminal, TV, STB etc..Referring to Fig. 1, the embedded equipment 1, display 11, master control set 12 are generally included on hardware, is deposited Storage device 13 and input unit 14.
Referring to Fig. 2, herein described method includes:
S1, at least two will be stored in respectively can power off and preserve cutting image file loaded in parallel in medium to internal memory, The mapping document of operation system for preserving media quantity cutting can be powered off according to the cutting image file.
Specifically, the embedded equipment electrifying startup, i.e. power supply are powered for MCU chip, and each circuit board resets etc.. The application can power off the image file (OS Image) for preserving and being preserved in medium, loaded in parallel to internal memory by least two.It is described It is at least one of eMMC, NAND Flash, SPI Flash that can power off and preserve medium.
At present os starting be all by eMMC, NAND Flash, SPI Flash etc. at a slow speed can power down preserve set Standby middle startup, is started, clock frequency 50M, reading speed is 50M bytes/s, big android with common eMMC 4.x The display interface of operating system needs 300M, the nearly 6S of read access time.And the image file of os starting is generally all larger, because This, an image file is divided at least two cutting image files by the application, design at least two it is identical or different can Power-off preserves medium and stores at least two be divided into cutting image files respectively.For example, using an eMMC and a NAND Flash stores an image file jointly.So as to which parallel preserves media storage duplication from multiple identical or different powering off Image file, the bandwidth of image file is loaded when starting with increase operation to internal memory.The application loading procedure can pass through DMA (direct memory access) is completed, and is set multiple DMA and correspond to and multiple identical either different power off preservation medium or set more Individual DMA, which is corresponded to, same powers off preservation medium.Wherein, the key that the burst values in DMA are parallel work-flow is set.
S2, by without dependence hardware initialization operation be divided at least two operations, be submitted in loading tool.
Because hardware initialization operation is all the intensive operations of I/O, so-called I/O intensities refer to need to wait I/O Operation is completed, therefore many times in hardware initialization operating process are in wait.
The hardware initialization operation of the no dependence refers to that its operation does not have influential operation each other, such as USB connects The wifi modules of mouth, wifi modules need to wait usb protocol stack to reinitialize after the completion of initializing.Therefore usb protocol stack is initial Change and wifi modules are initialized as having the hardware initialization of dependence to operate.For another example touch-screen (Touch Pannel) Initialization, due to it use I2C interface, it is necessary to wait I2C interface initialize after the completion of can be initialized.Therefore touch Touch screen initialization and I2C interface is initialized as having the hardware initialization of dependence to operate.And USB interface initialization and I2C Interface initialization is then the hardware initialization operation without dependence.
The operation of initialization, therefore the application analysis system can be performed simultaneously for many hardware in embedded equipment In hardware relation, by without dependence hardware initialization operation be divided at least two operations (Job).Hardware initialization is grasped The dependence of work refers to need to wait previous hardware to complete that the initialization behaviour of next hardware can be carried out after initializing Make.The operation being divided into is submitted in loading tool (loader) by the application.
The initialization operation of at least two operations described in S3, the loading tool parallel processing.
Loading tool (loader) performs the initialization operation of (Multi-thread) described at least two operation parallel, from And the hardware for reducing each no dependence is completed the time of initialization operation, to reduce the stand-by period.
S4, the operation image file, complete startup program.
The application, which will be stored at least two respectively and can power off, preserves cutting image file loaded in parallel in medium to interior Deposit.The mapping document of operation system for preserving media quantity cutting can be powered off according to the cutting image file.So as to avoid Due to image file it is excessive caused by image file loading velocity it is slow, improve the speed that image file is loaded into internal memory.Together When, the hardware initialization operation without dependence is divided at least two operations by the application, is submitted in loading tool, described to add The initialization operation of at least two operations described in load instrument parallel processing.The parallel processing of this hardware initialization, further add The fast speed of hardware initialization, so as to realize the quick startup of embedded OS, it realizes simple, and cost is cheap.
It is another in the application in the specific implementation, methods described includes above-mentioned steps S1 --- S4, described in the step S1 At least two can be powered off and preserve the cutting image file loaded in parallel that preserves in medium to the memory mapping of internal memory with the step The memory mapping of the initialization operation of at least two operations described in loading tool parallel processing is not overlapping in rapid S3.
Because the OS image files that the application preserves are at least two cutting files that are cut into by an image file, and Image file is loaded to internal memory, and the operation that I/O is intensive, mainly by the shadow that can power off the output bandwidth for preserving medium Ring.And cutting image file is loaded into internal memory, also some by destination address are limited.Therefore, guarantor can be powered off by least two Deposit at least two operations described in the cutting image file loaded in parallel to internal memory and loading tool parallel processing preserved in medium The destination address of initialization operation can not be overlapped, and the operation otherwise performed below may cover the work of execution above Industry.
It is another in the application in the specific implementation, methods described includes above-mentioned steps S1 --- S4, referring to Fig. 3, the step Also include step before S1:
The quantity that the mapping document of operation system in internal memory preserves medium according to that can power off is cut into cutting before S0, shutdown Image file, and by the cutting image file copy at least two can power off preserve medium in save as image file.
Specifically, an OS image file in internal memory is cut into at least two before the shutdown of the application embedded equipment to cut Point image file, copies at least two and can power off and preserve medium and preserved as image file, is quickly opened for follow-up It is dynamic.
It is another in the application in the specific implementation, methods described includes above-mentioned steps S1 --- S4, the step S0 also includes:
Cutting image file is compressed, and the cutting image file after compression is copied at least two to power off guarantor Deposit in medium and preserve.
The step S1 also includes:
The cutting image file of loading is decompressed.
The application further improves reproduction speed and parallel processing capability by being compressed to cutting image file, Further increase the toggle speed of embedded OS.
Corresponding to the above method, the application provides a kind of device for rapidly starting of embedded OS, applied to insertion Formula device, such as car-mounted terminal, TV, STB etc..Referring to Fig. 1, the embedded equipment 1, display is generally included on hardware 11st, master control set 12, storage device 13 and input unit 14.
Referring to Fig. 4, herein described device includes:
File load module 41, the cutting image file preserved in medium can be powered off at least two will to be stored in respectively Loaded in parallel can power off the operation system image text for preserving media quantity cutting to internal memory according to the cutting image file Part.
Operation distribute module 42, for the hardware initialization operation without dependence to be divided into at least two operations, submit Into loading tool.
Processing module 43 is operated, for the initialization behaviour using at least two operations described in the loading tool parallel processing Make.
Running paper module 44, for running the image file, complete startup program.
Specifically, the embedded equipment electrifying startup, i.e. power supply are powered for MCU chip, and each circuit board resets etc.. The application can power off the image file (OS Image) for preserving and being preserved in medium, loaded in parallel to internal memory by least two.It is described It is at least one of eMMC, NAND Flash, SPI Flash that can power off and preserve medium.
At present os starting be all by eMMC, NAND Flash, SPI Flash etc. at a slow speed can power down preserve set Standby middle startup, is started, clock frequency 50M, reading speed is 50M bytes/s, big android with common eMMC 4.x The display interface of operating system needs 300M, the nearly 6S of read access time.And the image file of os starting is generally all larger, because This, an image file is divided at least two cutting image files by the application, design at least two it is identical or different can Power-off preserves medium and stores at least two be divided into cutting image files respectively.For example, using an eMMC and a NAND Flash stores an image file jointly.So as to which parallel preserves media storage duplication from multiple identical or different powering off Image file, the bandwidth of image file is loaded when starting with increase operation to internal memory.The application loading procedure can pass through DMA (direct memory access) is completed, and is set multiple DMA and correspond to and multiple identical either different power off preservation medium or set more Individual DMA, which is corresponded to, same powers off preservation medium.Wherein, the key that the burst values in DMA are parallel work-flow is set.
Because hardware initialization operation is all the intensive operations of I/O, so-called I/O intensities refer to need to wait I/O Operation is completed, therefore many times in hardware initialization operating process are in wait.
The hardware initialization operation of the no dependence refers to that its operation does not have influential operation each other, such as USB connects The wifi modules of mouth, wifi modules need to wait usb protocol stack to reinitialize after the completion of initializing.Therefore usb protocol stack is initial Change and wifi modules are initialized as having the hardware initialization of dependence to operate.For another example touch-screen (Touch Pannel) Initialization, due to it use I2C interface, it is necessary to wait I2C interface initialize after the completion of can be initialized.Therefore touch Touch screen initialization and I2C interface is initialized as having the hardware initialization of dependence to operate.And USB interface initialization and I2C Interface initialization is then the hardware initialization operation without dependence.
The operation of initialization, therefore the application analysis system can be performed simultaneously for many hardware in embedded equipment In hardware relation, by without dependence hardware initialization operation be divided at least two operations (Job).Hardware initialization is grasped The dependence of work refers to need to wait previous hardware to complete that the initialization behaviour of next hardware can be carried out after initializing Make.The operation being divided into is submitted in loading tool (loader) by the application.
Loading tool (loader) performs the initialization operation of (Multi-thread) described at least two operation parallel, from And the hardware for reducing each no dependence is completed the time of initialization operation, to reduce the stand-by period.
The application, which will be stored at least two respectively and can power off, preserves cutting image file loaded in parallel in medium to interior Deposit.The mapping document of operation system for preserving media quantity cutting can be powered off according to the cutting image file.So as to avoid Due to image file it is excessive caused by image file loading velocity it is slow, improve the speed that image file is loaded into internal memory.Together When, the hardware initialization operation without dependence is divided at least two operations by the application, is submitted in loading tool, described to add The initialization operation of at least two operations described in load instrument parallel processing.The parallel processing of this hardware initialization, further add The fast speed of hardware initialization, so as to realize the quick startup of embedded OS, it realizes simple, and cost is cheap.
It is another in the application in the specific implementation, described device include above-mentioned file load module 41, operation distribute module 42, Processing module 43, running paper module 44 are operated, will be stored at least two respectively in the file load module 41 can power off The cutting image file loaded in parallel preserved in medium loads work to the memory mapping of internal memory with described operate in processing module 43 The memory mapping for having the initialization operation of at least two operations described in parallel processing is not overlapping.
Because the OS image files that the application preserves are literary at least two cutting images being cut into by an image file Part, and image file is loaded to internal memory, and the operation that I/O is intensive, mainly by the output bandwidth that can power off preservation medium Influence.And the image file of cutting is loaded into internal memory, also some by destination address are limited.Therefore, can by least two Power-off preserves at least two operations described in the image file loaded in parallel to internal memory and loading tool parallel processing preserved in medium The destination address of initialization operation can not be overlapped, the operation otherwise performed below may cover the work of execution above Industry.
It is another in the application in the specific implementation, described device include above-mentioned file load module 41, operation distribute module 42, Processing module 43, running paper module 44 are operated, referring to Fig. 5, described device also includes:
File preserving module 40, for before shutting down by the mapping document of operation system in internal memory according to preservation medium can be powered off Quantity be cut into cutting image file, and the cutting image file copied at least two can power off to preserve in medium and protect Save as image file.
Specifically, an OS image file in internal memory is cut at least two texts before the shutdown of the application embedded equipment Part, copy at least two can power off preserve medium preserved as image file, for follow-up quick startup.
It is another in the application in the specific implementation, another in the application in the specific implementation, described device adds including above-mentioned file Module 41, operation distribute module 42, operation processing module 43, running paper module 44 are carried, the file preserving module 40 is also used It is compressed in by the cutting image file, and the cutting image file after compression is copied at least two to power off Preserve and preserved in medium;
The file load module 41 is additionally operable to be decompressed the cutting image file of loading.
The application further improves reproduction speed and parallel processing capability, enters one by being compressed to image file Step improves the toggle speed of embedded OS.
It will be understood by those skilled in the art that embodiments herein can be provided as method, apparatus (equipment) or computer Program product.Therefore, in terms of the application can use complete hardware embodiment, complete software embodiment or combine software and hardware Embodiment form.Moreover, the application can use the meter for wherein including computer usable program code in one or more The computer journey that calculation machine usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of sequence product.
The application is the flow chart with reference to method, apparatus (equipment) and computer program product according to the embodiment of the present application And/or block diagram describes.It should be understood that can be by each flow in computer program instructions implementation process figure and/or block diagram And/or square frame and the flow in flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided to refer to The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is made to produce One machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for realizing The device for the function of being specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Although having been described for the preferred embodiment of the application, those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the application scope.Obviously, those skilled in the art can be to the application Various changes and modification are carried out without departing from spirit and scope.So, if these modifications and variations of the application Belong within the scope of the application claim and its equivalent technologies, then the application is also intended to exist comprising these changes and modification It is interior.

Claims (8)

1. a kind of quick start method of embedded OS, it is characterised in that methods described includes:
At least two will be stored in respectively can power off preserve cutting image file loaded in parallel in medium to internal memory, the cutting The mapping document of operation system for preserving media quantity cutting can be powered off according to image file;
Hardware initialization operation without dependence is divided at least two operations, is submitted in loading tool;
The initialization operation of at least two operations described in the loading tool parallel processing;
The cutting image file is run, completes startup program;
Wherein, it is described will be stored at least two respectively and can power off preserve cutting image file loaded in parallel in medium to internal memory Memory mapping it is not overlapping with the memory mapping of the initialization operation of at least two operations described in the loading tool parallel processing.
2. according to the method for claim 1, it is characterised in that it is described will be stored in respectively at least two can power off preservation be situated between Cutting image file loaded in parallel in matter is specially to internal memory:
At least two cutting image files that can be powered off in preservation medium will be stored in respectively passes through DMA loaded in parallel to internal memory.
3. according to the method for claim 2, it is characterised in that methods described also includes:
The quantity that the mapping document of operation system in internal memory preserves medium according to that can power off is cut into cutting image text before shutdown Part, and by the cutting image file copy at least two can power off preserve medium in save as image file.
4. according to the method for claim 3, it is characterised in that by the mapping document of operation system in internal memory before the shutdown The quantity for preserving medium according to that can power off is cut into cutting image file, and the cutting image file is copied at least two It can power off to preserve and save as image file in medium and also include:
The cutting image file is compressed, and the cutting image file after compression is copied at least two to break Electricity preserves to be preserved in medium;
At least two cutting image file loaded in parallel that can be powered off in preservation medium that will be stored in respectively are also wrapped to internal memory Include:
The cutting image file of loading is decompressed.
5. a kind of device for rapidly starting of embedded OS, it is characterised in that described device includes:
File load module, for will be stored in respectively at least two can power off preserve medium in cutting image file add parallel Internal memory is downloaded to, the mapping document of operation system for preserving media quantity cutting can be powered off according to the cutting image file;
Operation distribute module, for the hardware initialization operation without dependence to be divided into at least two operations, it is submitted to loading In instrument;
Processing module is operated, for the initialization operation using at least two operations described in the loading tool parallel processing;
Running paper module, for running the cutting image file, complete startup program;
Wherein, in the file load module by be stored in respectively at least two can power off preserve medium in cutting image file Loaded in parallel operates at least two operations described in loading tool parallel processing in processing module to the memory mapping of internal memory with described Initialization operation memory mapping it is not overlapping.
6. device according to claim 5, it is characterised in that the file load module is specifically used for being stored in respectively At least two, which can power off the cutting image file preserved in medium, passes through DMA loaded in parallel to internal memory.
7. device according to claim 6, it is characterised in that described device also includes:
File preserving module, for before shutting down by the mapping document of operation system in internal memory according to can power off preserve medium quantity Cutting image file is cut into, and the cutting image file is copied at least two and can power off to preserve to save as in medium and is reflected As file.
8. device according to claim 7, it is characterised in that the file preserving module is additionally operable to the cutting image File is compressed, and by the cutting image file after compression copy at least two can power off preserve medium in preserve;
The file load module is additionally operable to be decompressed the cutting image file of loading.
CN201510191108.8A 2015-04-21 2015-04-21 The quick start method and its device of a kind of embedded OS Active CN104778066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510191108.8A CN104778066B (en) 2015-04-21 2015-04-21 The quick start method and its device of a kind of embedded OS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510191108.8A CN104778066B (en) 2015-04-21 2015-04-21 The quick start method and its device of a kind of embedded OS

Publications (2)

Publication Number Publication Date
CN104778066A CN104778066A (en) 2015-07-15
CN104778066B true CN104778066B (en) 2018-01-23

Family

ID=53619551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510191108.8A Active CN104778066B (en) 2015-04-21 2015-04-21 The quick start method and its device of a kind of embedded OS

Country Status (1)

Country Link
CN (1) CN104778066B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102868B (en) * 2016-02-23 2020-07-31 北京兆易创新科技股份有限公司 Embedded system and quick starting method and device thereof
CN105760201B (en) 2016-02-29 2019-05-28 华为技术有限公司 A kind of starting method and apparatus of embedded equipment
CN107291510B (en) * 2017-06-30 2020-11-06 惠州华阳通用电子有限公司 Rapid starting method for Linux vehicle-mounted information system
CN110764951B (en) * 2018-07-26 2023-04-07 宏碁股份有限公司 Computer system and fault-tolerant processing method of mapping file
CN110874242A (en) * 2018-09-03 2020-03-10 珠海全志科技股份有限公司 Method, device and system for initializing parallel start
DE112018007748T5 (en) * 2018-12-18 2021-04-08 Intel Corporation Calculation method and device with multi-phase / step start
CN111538540B (en) * 2019-01-18 2022-12-27 合肥杰发科技有限公司 Method for accelerating starting speed of embedded system and embedded system thereof
CN112860323A (en) * 2019-11-27 2021-05-28 珠海格力电器股份有限公司 Method and device for loading file into memory
CN111857844A (en) * 2020-06-19 2020-10-30 浪潮(北京)电子信息产业有限公司 Initialization method of multi-core processor and related device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1818868A (en) * 2006-03-10 2006-08-16 浙江大学 Multi-task parallel starting optimization of built-in operation system
CN1932763A (en) * 2005-09-13 2007-03-21 联想(北京)有限公司 Computer system starting method
CN101625647A (en) * 2009-08-06 2010-01-13 青岛海信电器股份有限公司 Method for accelerating starting speed of embedded software system
CN101950256A (en) * 2010-09-15 2011-01-19 中兴通讯股份有限公司 Embedded system and method for resetting same
CN101980157A (en) * 2010-10-13 2011-02-23 中兴通讯股份有限公司 Mobile terminal starting method and mobile terminal
CN102117245A (en) * 2010-01-06 2011-07-06 浙江德景电子科技有限公司 Embedded device and method for loading and starting operation of cutting system executable file thereof
CN102968326A (en) * 2012-12-04 2013-03-13 中国北方车辆研究所 Field programmable gate array (FPGA) parallel dynamic loading method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2404748B (en) * 2003-08-01 2006-10-04 Symbian Ltd Computing device and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932763A (en) * 2005-09-13 2007-03-21 联想(北京)有限公司 Computer system starting method
CN1818868A (en) * 2006-03-10 2006-08-16 浙江大学 Multi-task parallel starting optimization of built-in operation system
CN101625647A (en) * 2009-08-06 2010-01-13 青岛海信电器股份有限公司 Method for accelerating starting speed of embedded software system
CN102117245A (en) * 2010-01-06 2011-07-06 浙江德景电子科技有限公司 Embedded device and method for loading and starting operation of cutting system executable file thereof
CN101950256A (en) * 2010-09-15 2011-01-19 中兴通讯股份有限公司 Embedded system and method for resetting same
CN101980157A (en) * 2010-10-13 2011-02-23 中兴通讯股份有限公司 Mobile terminal starting method and mobile terminal
CN102968326A (en) * 2012-12-04 2013-03-13 中国北方车辆研究所 Field programmable gate array (FPGA) parallel dynamic loading method

Also Published As

Publication number Publication date
CN104778066A (en) 2015-07-15

Similar Documents

Publication Publication Date Title
CN104778066B (en) The quick start method and its device of a kind of embedded OS
CN104598254A (en) Method and device for rapidly powering on Android system
CN104881318A (en) Interface calling method and device and terminal
US9806959B2 (en) Baseboard management controller (BMC) to host communication through device independent universal serial bus (USB) interface
KR101673299B1 (en) Operating system recovery method and apparatus, and terminal device
US20150067223A1 (en) Hot swappable memory motherboard
CN103577212A (en) System starting preloading method and device
CN105786547A (en) Operation system restarting method and apparatus
CN105824678A (en) Method and device for installing operating system
CN107992381A (en) System reducing method, device, system, backup and reduction server and storage medium
US10282190B2 (en) System and method for updating a UEFI image in an information handling system
CN104424122A (en) Electronic equipment and memory dividing method
CN111209080A (en) Transparent transmission method for graphic processor
CN106843940A (en) A kind of fast updating method of embedded system
CN114691300A (en) Hot migration method of virtual machine instance
US11263082B2 (en) Data recovery of guest virtual machines
CN111209243B (en) Data processing device, method and related product
CN105607869B (en) A kind of quick formatting and the method using magnetic disk of virtual machine
CN107391120A (en) One kind starts control method, electronic equipment and computer-readable recording medium
CN106909374B (en) Method for realizing alarm clock in shutdown state of intelligent terminal and intelligent terminal
CN102662617A (en) Implementing method for VGA (video graphics array) signal switching in KVM (kernel-based virtual machine)
CN108920249B (en) Speed limiting method based on multi-host multi-virtual machine system
CN112052040A (en) Processing method, processing device, computer equipment and storage medium
CN104765626B (en) A kind of firmware program programming method and device
CN109408124A (en) Store equipment and preparation method thereof, operating system double mode bootstrap technique and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240115

Address after: Room 1, 1st Floor, Building 3, No. 117 and 153 Tianfu Fourth Street, High tech Zone, Chengdu City, Sichuan Province, 610095

Patentee after: Lingyang Chengxin Technology (Chengdu) Co.,Ltd.

Address before: Building 1, 3rd Street, Shangdi Information Industry Base, Haidian District, Beijing, 100085 (Section A, 6th Floor) A601

Patentee before: BEIJING SUNPLUS-EHUE TECH Co.,Ltd.