CN109308195A - Starting method, embedded device and the computer storage medium of embedded device - Google Patents

Starting method, embedded device and the computer storage medium of embedded device Download PDF

Info

Publication number
CN109308195A
CN109308195A CN201810961266.0A CN201810961266A CN109308195A CN 109308195 A CN109308195 A CN 109308195A CN 201810961266 A CN201810961266 A CN 201810961266A CN 109308195 A CN109308195 A CN 109308195A
Authority
CN
China
Prior art keywords
image data
mirror image
embedded device
cpu
ram
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
Application number
CN201810961266.0A
Other languages
Chinese (zh)
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.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201810961266.0A priority Critical patent/CN109308195A/en
Publication of CN109308195A publication Critical patent/CN109308195A/en
Priority to PCT/CN2019/101932 priority patent/WO2020038429A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4403Processor initialisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system

Abstract

The embodiment of the present invention provides starting method, embedded device and the computer storage medium of a kind of embedded device.A kind of starting method of embedded device of the invention, the embedded device includes CPU, eMMC, dma module and RAM, it is characterized in that, it include: when the CPU receives wake up instruction, the CPU sends control instruction to the dma module, and the control instruction includes source address and destination address, and the control instruction is used to indicate the dma module according to the source address and destination address, mirror image data is copied from the eMMC, and the mirror image data is transmitted in the RAM;The CPU executes hardware initialization and software environment prepares, wherein the mirror image data transmission is prepared as executing parallel with execution hardware initialization and software environment.The embodiment of the present invention can promote the starting up speed of embedded device.

Description

Starting method, embedded device and the computer storage medium of embedded device
Technical field
The present embodiments relate to electronic technology more particularly to a kind of starting methods of embedded device, embedded device And computer storage medium.
Background technique
Embedded device is the equipment that can work independently for integrating software and hardware.The embedded device includes central processing Device (Central Processing Unit, CPU), built-in multimedia storage card (Embedded Multi Media Card, ) and random access memory (Random-Access Memory, RAM) eMMC.
In order to accelerate the exchange starting up speed of embedded device, generally use suspend to disk (Suspend to Disk, STD) technology.STD technology be by it is standby it is preceding data to be saved is packaged, be fabricated to STD mirror image text according to certain format compression Part, and save into eMMC, data are not lost after thereby may be ensured that AC dump.CPU copies STD mirror from eMMC when booting Then picture file decompresses the STD image file into RAM, execute and restore process, with the state being restored to before last time shutdown.
However, waking up in process in above-mentioned booting, CPU copy STD image file to RAM from eMMC, need consumption compared with For a long time, and then starting up speed is influenced.
Summary of the invention
Starting method, embedded device and the computer storage that the embodiment of the present invention provides a kind of embedded device are situated between Matter, to promote the starting up speed of embedded device.
In a first aspect, the embodiment of the present invention provides a kind of starting method of embedded device, the embedded device includes Central processor CPU, built-in multimedia storage card eMMC, direct memory access dma module and random access memory RAM, which comprises
When the CPU receives wake up instruction, the CPU sends control instruction to the dma module, and the control refers to Enabling includes source address and destination address, and the control instruction is used to indicate the dma module according to the source address and target Location copies mirror image data from the eMMC, and the mirror image data is transmitted in the RAM;
The CPU executes hardware initialization and software environment prepares, wherein at the beginning of the mirror image data transmission and execution hardware Beginningization and software environment are prepared as executing parallel;
When the mirror image data is transmitted, the CPU wake up the embedded device hardware device and software into Journey completes the starting of the embedded device.
With reference to first aspect, in a kind of possible implementation of first aspect, in the dma module by the mirror image Data are transmitted to during the RAM, the dma module by error checking and correct ECC mechanism to the mirror image data into Row effect and correction.
With reference to first aspect or a kind of possible implementation of first aspect, in the alternatively possible reality of first aspect In existing mode, the method also includes:
The CPU receives the feedback command that the dma module is sent;
The CPU determines that the mirror image data is transmitted according to the feedback command.
With reference to first aspect or any possible implementation of first aspect, in the alternatively possible of first aspect In implementation, the source address is STD mirror image address in the eMMC, and the destination address is the address in the RAM.
Second aspect, the embodiment of the present invention provide a kind of starter of embedded device, and the starter setting exists In embedded device, the embedded device further include built-in multimedia storage card eMMC, direct memory access dma module with And random access memory ram, the starter include sending module and processing module;
The sending module is used for when receiving wake up instruction, sends control instruction, the control to the dma module Instruction includes source address and destination address, and the control instruction is used to indicate the dma module according to the source address and target Address copies mirror image data from the eMMC, and the mirror image data is transmitted in the RAM;
The processing module prepares for executing hardware initialization and software environment, wherein the mirror image data transmission with It executes hardware initialization and software environment is prepared as executing parallel;
The processing module is also used to when the mirror image data is transmitted, and the hardware for waking up the embedded device is set Standby and software process completes the starting of the embedded device.
In conjunction with second aspect, in the alternatively possible implementation of second aspect, the processing module is also used to During the mirror image data is transmitted to the RAM by the dma module, the dma module is controlled by error checking and is entangled Positive ECC mechanism carries out effect and correction to the mirror image data.
In conjunction with a kind of possible implementation of second aspect or second aspect, in the alternatively possible reality of second aspect In existing mode, the starter further include: receiving module;
The receiving module is used to receive the feedback command that the dma module is sent;
The processing module is also used to determine that the mirror image data is transmitted according to the feedback command.
The third aspect, the embodiment of the present invention provide a kind of chip, and the chip includes central processor CPU, and the CPU is used In method of the execution as described in first aspect or any possible implementation of first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of embedded device, and the embedded device includes central processing unit CPU, built-in multimedia storage card eMMC, direct memory access dma module and random access memory ram;
Wherein, the embedded device further includes the memory for storing computer executable program code, the journey Sequence code includes instruction;When the CPU executes described instruction, described instruction makes the CPU execute such as first aspect or first Method described in any possible implementation of aspect.
5th aspect, the embodiment of the present invention provide a kind of computer storage medium, are stored thereon with computer program or refer to It enables, which is characterized in that when the computer program or instruction are executed by processor or computer, realize such as first aspect or the On the one hand method described in any possible implementation.
Starting method, embedded device and the computer storage medium of the embedded device of the embodiment of the present invention, in CPU When receiving wake up instruction, control instruction is sent to dma module by CPU, the control instruction includes source address and target Location, the control instruction are used to indicate the dma module according to the source address and destination address, mirror image number are copied from eMMC According to, and the mirror image data is transmitted in the RAM, the CPU executes hardware initialization and software environment prepares, wherein The mirror image data transmission is prepared as executing parallel with execution hardware initialization and software environment, when the mirror image data transfers Cheng Shi, the CPU wake up the hardware device and software process of the embedded device, complete the starting of the embedded device, To realize that mirror image data is transferred to RAM since DMA directly carries out mirror image data copy by the starting to embedded device, and CPU executes mirror image data transmission parallel and prepares with hardware initialization and software environment, and mirror image data is quickly transferred to In RAM, and hardware initialization and software environment preparation are completed, promotes the starting speed of embedded device.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of embedded device of the embodiment of the present invention;
Fig. 2 is a kind of flow chart of the starting method of embedded device of the embodiment of the present invention;
Fig. 3 is the flow chart of the starting method of another embedded device of the embodiment of the present invention;
Fig. 4 is the flow chart of the starting method of another embedded device of the embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of the starter of embedded device of the embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of chip of the embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
The starting method of the embodiment of the present invention is optimized to using the starting procedure of STD technology, to promote starting up Speed.Wherein, embedded device is under STD state, the operating system suspend mode of the embedded device, and system main power source is closed, and is System information is stored in the form of mirror image data into eMMC.The system information may include memory pages information, CPU state letter Breath, status information of peripheral hardware etc..After a loss of power, the mirror image data being stored in eMMC will not be lost, so that setting embedded When standby starting, which is copied in RAM, the equipment state before shutting down or being standby and system shape can be restored to last time State.
Using the embedded device of STD technology in standby, stand-by power consumption is smaller.
Fig. 1 is a kind of structural schematic diagram of embedded device of the embodiment of the present invention, as shown in Figure 1, the embodiment of the present invention Embedded device may include CPU, eMMC, direct memory access (Direct Memory Access, DMA) module and RAM。
Wherein, RAM loses when power is off for storage file, data, instruction etc., the content of storage.EMMC is for depositing File etc. is stored up, the content of storage can be reserved for after a loss of power.Dma module be used for direct memory access, be one kind without CPU and Directly from the data exchange mode of RAM access data.
The CPU of the embodiment of the present invention can control DMA and carry out mirror image data copy, mirror image data is transferred to RAM, in mirror As in data transmission procedure, CPU executes hardware initialization and software environment prepares, and embedded device can be promoted parallel by executing Start speed, specific implementation may refer to the explanation of following embodiments.
It should be noted that the embedded device can also include other hardware or software module, the embodiment of the present invention is simultaneously It does not show one by one.For example, external equipment (display screen etc.), USB controller, various sensors etc..
The embedded device of the embodiment of the present invention is referred to as terminal, user equipment (user equipment, UE), moves Dynamic platform (mobile station, MS), mobile terminal (mobile terminal, MT) etc..Terminal can be TV (TV), intelligence Energy TV (smart TV), tablet computer (Pad), the computer with radio transmission-receiving function, virtually shows mobile phone (mobile phone) Real (Virtual Reality, VR) terminal, augmented reality (Augmented Reality, AR) terminal, Industry Control Wireless terminal in (industrial control), the wireless terminal in unmanned (self driving), remote operation Wireless terminal in (remote medical surgery), the wireless terminal in smart grid (smart grid), transport peace Wireless terminal in (transportation safety), the wireless terminal in smart city (smart city), wisdom man entirely Wireless terminal etc. in front yard (smart home).
Fig. 2 is a kind of flow chart of the starting method of embedded device of the embodiment of the present invention, which includes CPU, eMMC, dma module and RAM, as shown in Fig. 2, the method for the present embodiment may include:
Step 101, when the CPU receives wake up instruction, the CPU to the dma module send control instruction, institute Stating control instruction includes source address and destination address, and the control instruction is used to indicate the dma module according to the source address And destination address, mirror image data is copied from the eMMC, and the mirror image data is transmitted in the RAM.
By taking the embedded device is smart television as an example, which can be power-on instruction, for example, remote controler is to intelligence The power-on instruction that energy TV is sent, alternatively, user triggers the power on button power-on instruction generated of smart television.
CPU needs the state of embedded device is switched on from shutdown or standby mode when receiving wake up instruction Machine state, to complete to start.
During startup, CPU sends control instruction to dma module, and DMA receives the control instruction, and should from eMMC The corresponding position of source address copies mirror image data, and the mirror image data is transmitted in RAM position corresponding with the destination address.
Wherein, which is STD mirror image address in the eMMC, which is the address in the RAM.
Step 102, CPU execute hardware initialization and software environment prepares, wherein the mirror image data transmission and execution are hard Part initialization and software environment are prepared as executing parallel.
Wherein, during mirror image data is transmitted to RAM by DMA, CPU is performed simultaneously hardware initialization and software environment is quasi- It is standby, the time required to saving starting.
Step 103, when the mirror image data is transmitted, the CPU wakes up the hardware device of the embedded device And software process, complete the starting of the embedded device.
Specifically, CPU can unzip it place to the mirror image data of this in RAM when the mirror image data is transmitted Reason obtains the information such as memory pages information, the status information of CPU state information, peripheral hardware, according to the information to embedded device Hardware device and software process are waken up, to complete the starting of embedded device.
Optionally, when the mirror image data is transmitted, dma module can send feedback command to CPU, and CPU is received The feedback command that the dma module is sent, CPU can determine that the mirror image data is transmitted according to the feedback command, into And the hardware device and software process of the wake-up embedded device are executed described in step 102, complete described embedded set Standby starting.
The present embodiment sends control instruction, the control to dma module by CPU when CPU receives wake up instruction Instruction includes source address and destination address, and the control instruction is used to indicate the dma module according to the source address and target Address copies mirror image data from eMMC, and the mirror image data is transmitted in the RAM, and it is initial that the CPU executes hardware Change and software environment prepares, wherein the mirror image data transmission is prepared as holding parallel with execution hardware initialization and software environment Row, when the mirror image data is transmitted, the CPU wakes up the hardware device and software process of the embedded device, complete At the starting of the embedded device, to realize the starting to embedded device, copied since DMA directly carries out mirror image data Mirror image data is transferred to RAM by shellfish, and CPU executes mirror image data transmission parallel and prepares with hardware initialization and software environment, makes Obtaining mirror image data can be quickly transferred in RAM, and complete hardware initialization and software environment preparation, promote embedded device Start speed.
On the basis of the above embodiments, during the mirror image data is transmitted to the RAM by the dma module, The dma module by error checking and correct (Error Correcting Code, ECC) mechanism to the mirror image data into Row effect and correction.On the basis of guaranteeing that mirror image data quickly transmits, it can also be ensured that the accuracy of data transmission.
Wherein, which is capable of detecting when 2 bit-errors in data, can correct 1 bit-errors.
Fig. 3 is the flow chart of the starting method of another embedded device of the embodiment of the present invention, and the present embodiment is specifically right The specific implementation process of dma module is explained, as shown in figure 3, the method for the present embodiment may include:
Step 201, dma module receive the control instruction that CPU is sent.
Wherein, the specific explanations explanation of the control instruction, may refer to the explanation of the control instruction in embodiment illustrated in fig. 2 Illustrate, details are not described herein again.
Step 202, dma module copy mirror image data according to the source address and destination address from the eMMC, and will The mirror image data is transmitted in the RAM.
Wherein, during the mirror image data is transmitted to the RAM, which can also be by ECC mechanism to the mirror As data carry out effect and correction.
CPU executes hardware initialization and software environment prepares with the step 202 to be the operation carried out simultaneously.
Step 203, when the mirror image data is transmitted, dma module to CPU send feedback command.
Wherein, the feedback command is for notifying CPU that mirror image data is transmitted.
When CPU does not receive the feedback command, CPU waits the mirror image data to be transmitted.
The present embodiment receives the control instruction that CPU is sent by dma module, and dma module is according to the source address and target Address copies mirror image data from the eMMC, and the mirror image data is transmitted in the RAM, when the mirror image data When being transmitted, dma module sends feedback command to CPU and to notify CPU that mirror image data is transmitted CPU is completed Embedded device is restored to last shutdown or standby preceding state, completes opening for the embedded device by subsequent recovery procedure It is dynamic, wherein since DMA directly carries out mirror image data copy, mirror image data to be transferred to RAM, and CPU executes mirror image data parallel Transmission prepares with hardware initialization and software environment, mirror image data is quickly transferred in RAM, and it is initial to complete hardware Change and software environment prepares, promotes the starting speed of embedded device.
A specific embodiment is used below, and the technical solution of above method embodiment is described in detail.
Fig. 4 is the flow chart of the starting method of another embedded device of the embodiment of the present invention, as shown in figure 4, this reality The method for applying example may include:
Step 301, initialization CPU.
Wherein, initialization CPU includes initialization clock, RAM controller, eMMC controller, RAM controller, dma controller Deng, wherein RAM controller, eMMC controller, RAM controller and dma controller are each functional module of the CPU, Other division modes can also be used, the embodiment of the present invention is not construed as limiting this.
Step 302, CPU configure source address and destination address to dma module.
Specific configuration mode can be by the way of sending control instruction to dma module in above-described embodiment.
Mirror image data in eMMC is copied in RAM by step 303, dma module.
Specifically, dma module copies mirror image data according to the source address and destination address from the eMMC, and will The mirror image data is transmitted in the RAM.Wherein, dma module can also execute ECC mechanism to mirror image data, copy in data In shellfish transmission process, 2 bit-errors in data can be detected automatically, and can correct 1 bit-errors, it is ensured that mirror image data The quickly accuracy of transmission and data transmission.
Step 304, CPU execute hardware initialization and software environment prepares.
It should be noted that step 303 and step 304 can execute parallel, execution sequence is not with its serial number size work For limitation.
Step 305, CPU check whether dma module completes mirror image data transmission, when not completing, then continue waiting for, when When completion, 306 are thened follow the steps.
Wherein, CPU checks whether dma module completes the specific implementation of mirror image data transmission, can be to check whether Receive the feedback command of dma module transmission.
Step 306 wakes up hardware device.
Step 307 wakes up software process.
The starting to embedded device may be implemented in the present embodiment, since DMA directly carries out mirror image data copy, by mirror As data are transferred to RAM, and CPU executes mirror image data transmission parallel and prepares with hardware initialization and software environment, so that mirror image Data can be quickly transferred in RAM, and complete hardware initialization and software environment preparation, promote the starting speed of embedded device Degree.Due to using ECC in data transmission procedure, it is ensured that the accuracy of data transmission.
Fig. 5 is a kind of structural schematic diagram of the starter of embedded device of the embodiment of the present invention, which sets It sets in embedded device, the embedded device further includes built-in multimedia storage card eMMC, direct memory access DMA mould Block and random access memory ram, as shown in figure 5, the device of the present embodiment may include: sending module 11 and processing module 12, wherein sending module 11 is used for when receiving wake up instruction, sends control instruction to the dma module, the control refers to Enabling includes source address and destination address, and the control instruction is used to indicate the dma module according to the source address and target Location copies mirror image data from the eMMC, and the mirror image data is transmitted in the RAM, and processing module 12 is for holding Row hardware initialization and software environment prepare, wherein the mirror image data transmission and execution hardware initialization and software environment are quasi- Standby to execute to be parallel, processing module 12 is also used to wake up the hard of the embedded device when the mirror image data is transmitted Part equipment and software process complete the starting of the embedded device.
Optionally, the processing module 12 is also used to that the mirror image data is transmitted to the RAM mistake in the dma module Cheng Zhong controls the dma module by error checking and corrects ECC mechanism to mirror image data progress effect and correction.
Optionally, the starter further include: receiving module 13;The receiving module 13 is for receiving the DMA mould The feedback command that block is sent;The processing module 12 is also used to determine that the mirror image data transfers according to the feedback command At.
The device of the present embodiment can be used for executing technical solution performed by CPU in above method embodiment, realize Principle is similar with technical effect, and details are not described herein again.
Fig. 6 is a kind of structural schematic diagram of chip of the embodiment of the present invention, as shown in fig. 6, the chip of the present embodiment can be with As the chip of embedded device, the chip of the present embodiment may include: memory 21 and processor 22.Memory 21 and processing Device 22 communicates to connect.
In hardware realization, the above receiving module 13, processing module 12 and sending module 11 can embed in the form of hardware In the processor 22 of chip.
Wherein, memory 21 is for storing program instruction, and processor 22 is for calling the program instruction in memory 21 to hold Row above scheme.
The above-described chip of the present embodiment can be used for executing in the above-mentioned each method embodiment of the present invention performed by CPU Technical solution, it is similar that the realization principle and technical effect are similar, and wherein the function of modules can be with reference to phase in embodiment of the method The description answered, details are not described herein again.
It should be noted that being schematical, only a kind of logic function to the division of module in the embodiment of the present invention It divides, there may be another division manner in actual implementation.Each functional module in an embodiment of the present invention can integrate In one processing module, it is also possible to modules and physically exists alone, one can also be integrated in two or more modules In a module.Above-mentioned integrated module both can take the form of hardware realization, can also use the form of software function module It realizes.
If the integrated module is realized in the form of software function module and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, ROM, RAM, magnetic disk Or the various media that can store program code such as CD.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of starting method of embedded device, the embedded device includes that central processor CPU, built-in multimedia are deposited Card storage eMMC, direct memory access DMA and random access memory ram characterized by comprising
When the CPU receives wake up instruction, the CPU sends control instruction, the control instruction packet to the dma module Including source address and destination address, the control instruction is used to indicate the dma module according to the source address and destination address, from Mirror image data is copied in the eMMC, and the mirror image data is transmitted in the RAM;
The CPU executes hardware initialization and software environment prepares, wherein the mirror image data transmission and execution hardware initialization It is prepared as executing parallel with software environment;
When the mirror image data is transmitted, the CPU wakes up the hardware device and software process of the embedded device, complete At the starting of the embedded device.
2. the method according to claim 1, wherein the mirror image data is transmitted to institute in the dma module During stating RAM, the dma module is by error checking and corrects ECC mechanism to mirror image data progress effect and correction.
3. the method according to claim 1, wherein the method also includes:
The CPU receives the feedback command that the dma module is sent;
The CPU determines that the mirror image data is transmitted according to the feedback command.
4. method according to any one of claims 1 to 3, which is characterized in that the source address is STD mirror in the eMMC As address, the destination address is the address in the RAM.
5. a kind of starter of embedded device, the starter is arranged in embedded device, the embedded device It further include built-in multimedia storage card eMMC, direct memory access dma module and random access memory ram, feature It is, the starter includes sending module and processing module;
The sending module is used for when receiving wake up instruction, sends control instruction, the control instruction to the dma module Including source address and destination address, the control instruction is used to indicate the dma module according to the source address and destination address, Mirror image data is copied from the eMMC, and the mirror image data is transmitted in the RAM;
The processing module prepares for executing hardware initialization and software environment, wherein the mirror image data transmission and execution Hardware initialization and software environment are prepared as executing parallel;
The processing module be also used to wake up when the mirror image data is transmitted the embedded device hardware device and Software process completes the starting of the embedded device.
6. starter according to claim 5, which is characterized in that the processing module is also used in the dma module During the mirror image data is transmitted to the RAM, the dma module is controlled by error checking and corrects ECC mechanism pair The mirror image data carries out effect and correction.
7. starter according to claim 5, which is characterized in that the starter further include: receiving module;
The receiving module is used to receive the feedback command that the dma module is sent;
The processing module is also used to determine that the mirror image data is transmitted according to the feedback command.
8. a kind of chip, which is characterized in that the chip includes central processor CPU, and the CPU is for executing such as claim 1 to 4 described in any item methods.
9. a kind of embedded device, which is characterized in that the embedded device includes central processor CPU, built-in multimedia Storage card eMMC, direct memory access dma module and random access memory ram;
Wherein, the embedded device further includes the memory for storing computer executable program code, described program generation Code includes instruction;When the CPU executes described instruction, described instruction executes the CPU such as any one of Claims 1-4 The method.
10. a kind of computer storage medium is stored thereon with computer program or instruction, which is characterized in that when the computer When program or instruction are executed by processor or computer, such as the described in any item methods of Claims 1-4 are realized.
CN201810961266.0A 2018-08-22 2018-08-22 Starting method, embedded device and the computer storage medium of embedded device Pending CN109308195A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810961266.0A CN109308195A (en) 2018-08-22 2018-08-22 Starting method, embedded device and the computer storage medium of embedded device
PCT/CN2019/101932 WO2020038429A1 (en) 2018-08-22 2019-08-22 Embedded device startup method, embedded device, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810961266.0A CN109308195A (en) 2018-08-22 2018-08-22 Starting method, embedded device and the computer storage medium of embedded device

Publications (1)

Publication Number Publication Date
CN109308195A true CN109308195A (en) 2019-02-05

Family

ID=65223795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810961266.0A Pending CN109308195A (en) 2018-08-22 2018-08-22 Starting method, embedded device and the computer storage medium of embedded device

Country Status (2)

Country Link
CN (1) CN109308195A (en)
WO (1) WO2020038429A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109905770A (en) * 2019-03-13 2019-06-18 青岛海信电器股份有限公司 Terminal starting up method, apparatus and terminal
WO2020038429A1 (en) * 2018-08-22 2020-02-27 青岛海信电器股份有限公司 Embedded device startup method, embedded device, and computer storage medium
CN111767082A (en) * 2019-04-02 2020-10-13 华为技术有限公司 Computing chip starting method and device and computer system
CN111857791A (en) * 2020-07-06 2020-10-30 浙江鸿泉电子科技有限公司 Embedded product maintenance method and device, electronic equipment and storage medium
WO2021058777A1 (en) * 2019-09-27 2021-04-01 Continental Automotive Gmbh Method for starting-up a device with an embedded multimedia card (emmc)
WO2022121475A1 (en) * 2020-12-11 2022-06-16 浪潮电子信息产业股份有限公司 Operating-state switching method and apparatus, and electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5901310A (en) * 1997-09-11 1999-05-04 Ati Technologies, Inc. Storing firmware in compressed form
CN102402442A (en) * 2010-09-09 2012-04-04 株式会社理光 Information processing apparatus, execution control method
CN104182264A (en) * 2014-09-03 2014-12-03 福州瑞芯微电子有限公司 eMMC (embedded multi-media card) starting optimization method and device thereof
CN108154025A (en) * 2017-12-22 2018-06-12 北京四达时代软件技术股份有限公司 Method, the method and device of application program mirror image processing of embedded device startup

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9658859B2 (en) * 2013-03-15 2017-05-23 Avalanche Technology, Inc. Method of implementing magnetic random access memory (MRAM) for mobile system-on chip boot
CN109308195A (en) * 2018-08-22 2019-02-05 青岛海信电器股份有限公司 Starting method, embedded device and the computer storage medium of embedded device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5901310A (en) * 1997-09-11 1999-05-04 Ati Technologies, Inc. Storing firmware in compressed form
CN102402442A (en) * 2010-09-09 2012-04-04 株式会社理光 Information processing apparatus, execution control method
CN104182264A (en) * 2014-09-03 2014-12-03 福州瑞芯微电子有限公司 eMMC (embedded multi-media card) starting optimization method and device thereof
CN108154025A (en) * 2017-12-22 2018-06-12 北京四达时代软件技术股份有限公司 Method, the method and device of application program mirror image processing of embedded device startup

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020038429A1 (en) * 2018-08-22 2020-02-27 青岛海信电器股份有限公司 Embedded device startup method, embedded device, and computer storage medium
CN109905770A (en) * 2019-03-13 2019-06-18 青岛海信电器股份有限公司 Terminal starting up method, apparatus and terminal
CN111767082A (en) * 2019-04-02 2020-10-13 华为技术有限公司 Computing chip starting method and device and computer system
WO2021058777A1 (en) * 2019-09-27 2021-04-01 Continental Automotive Gmbh Method for starting-up a device with an embedded multimedia card (emmc)
CN114556293A (en) * 2019-09-27 2022-05-27 大陆汽车有限责任公司 Method for booting a device having an embedded multimedia card (eMMC)
CN111857791A (en) * 2020-07-06 2020-10-30 浙江鸿泉电子科技有限公司 Embedded product maintenance method and device, electronic equipment and storage medium
WO2022121475A1 (en) * 2020-12-11 2022-06-16 浪潮电子信息产业股份有限公司 Operating-state switching method and apparatus, and electronic device and storage medium

Also Published As

Publication number Publication date
WO2020038429A1 (en) 2020-02-27

Similar Documents

Publication Publication Date Title
CN109308195A (en) Starting method, embedded device and the computer storage medium of embedded device
US9798377B2 (en) Methods and apparatus for recovering errors with an inter-processor communication link between independently operable processors
EP3287895B1 (en) Electronic device for composing graphic data and method thereof
US10162649B2 (en) Information processing system, information processing apparatus and start up control method
US9678561B2 (en) Information processing apparatus
US9830181B2 (en) Method and system for gracefully shutdown virtual system
JP2008217530A (en) Information processor and setting method
JP2007206885A (en) Computer system and system starting method
WO2013154541A1 (en) Remote direct memory access with reduced latency
JP2009282599A (en) Information processor apparatus, information processing system, method of information processing, and computer program
CN108139955A (en) For providing the system and method for the Wrong control independently of operating system in computing device
US20120327440A1 (en) Program executing apparatus, image processing apparatus and non-transitory computer readable medium
WO2013154540A1 (en) Continuous information transfer with reduced latency
CN106909374B (en) Method for realizing alarm clock in shutdown state of intelligent terminal and intelligent terminal
US9811149B2 (en) Information processing apparatus, non-transitory computer readable medium, and information processing method
WO2018010438A1 (en) Responding method and apparatus for terminal
US20160274645A1 (en) Method for power-saving in electronic device and electronic device thereof
KR20180086792A (en) Method for processing data among a plurality of processors and electronic device thereof
JP2013182577A (en) Information processing apparatus, image forming apparatus, and program
CN112527425A (en) Startup picture display method, terminal and storage medium
TWI379234B (en) Motherboard, storage device and controller thereof and booting method
US11520398B2 (en) Processor system
JP2009223805A (en) Information processor and drive control method for device controller
US9563931B2 (en) Control method and information processing device
JP2007183705A (en) Multiprocessor system

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Video Technology Co., Ltd

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: HISENSE ELECTRIC Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190205