CN105022588A - Embedded device, memory hard disk of embedded device and method for accessing data into/from memory hard disk of embedded device - Google Patents

Embedded device, memory hard disk of embedded device and method for accessing data into/from memory hard disk of embedded device Download PDF

Info

Publication number
CN105022588A
CN105022588A CN201410177297.9A CN201410177297A CN105022588A CN 105022588 A CN105022588 A CN 105022588A CN 201410177297 A CN201410177297 A CN 201410177297A CN 105022588 A CN105022588 A CN 105022588A
Authority
CN
China
Prior art keywords
memory
hard disk
module
storage
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410177297.9A
Other languages
Chinese (zh)
Other versions
CN105022588B (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.)
MediaTek Inc
Original Assignee
MStar Semiconductor Inc Taiwan
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 MStar Semiconductor Inc Taiwan filed Critical MStar Semiconductor Inc Taiwan
Priority to CN201410177297.9A priority Critical patent/CN105022588B/en
Publication of CN105022588A publication Critical patent/CN105022588A/en
Application granted granted Critical
Publication of CN105022588B publication Critical patent/CN105022588B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The invention discloses an embedded device, a memory hard disk of the embedded device and a method for accessing data into/from the memory hard disk of the embedded device. The embedded device comprises a processing unit, a first memory, a function module, a second memory and a memory hard disk driving module, wherein the processing unit is used for executing an operating system; the first memory is used for accessing data required during operating system execution by the processing unit; the function module is used for executing a specific function; the second memory is used for accessing data required during the specific function execution in a DMA (Direct Memory Access) mode by the function module; and the memory hard disk driving module is coupled with the first memory and the second memory, integrates a part of the first memory and the second memory into the memory hard disk, and controls the data access into/from the memory hard disk.

Description

The method of the memory, hard disk of embedded equipment, embedded equipment and the memory, hard disk of access embedded equipment
Technical field
The invention relates to the storage element of embedded equipment and the method for access storage element, especially about the memory, hard disk of embedded equipment and the method for access memory hard disk.
Background technology
Generally speaking, the embedded system processor that usually effective utilization is lower, less system storage and less storage element etc. are to save cost, and therefore when hardware resource is limited, deviser properly utilizes various resource invariably painstakingly.Embedded equipment comprises processor usually can the system storage of direct access, and is specific to the module storage (hardware IP memory) of certain functional module of embedded equipment.System storage is such as dynamic RAM (dynamic random access memory, DRAM).With an intelligent TV, program code in its processor access system storage and data perform the operating system of intelligent TV, television signal solution modulating module (namely above-mentioned functional module) comprises an exclusive module storage, is used for storing television signal solution modulating module required program code and data in time performing the function of separating modulation.Module storage is specific to the functional module belonging to it, processor cannot directly access it, therefore, when this television signal solution modulating module is in idle state (such as when intelligent TV is used for browsing webpage), module storage just forms waste.
Some embedded equipment can utilize general so-called memory, hard disk (Ramdisk) technology idle storer to be modeled to extra storage area, to make full use of the resource of system.Suppose that embedded equipment has idle the first functional module (accessing the first module storage to complete its function) and the second functional module (accessing the second module storage to complete its function), first module storage and the second module storage are emulated into first memory hard disk and second memory hard disk by the memory, hard disk driver module of embedded equipment respectively, and by the operating system of its carry (mount) at embedded equipment, to increase the resource of system.For example, when system storage is not enough, the process (process) do not performed just can be exchanged (swap) in memory, hard disk by operating system, to vacate more system storage to the process performed.Memory, hard disk driver module respectively performs a driver to first memory hard disk and second memory hard disk, comprise a page table (page table) in each driver and carry out diode-capacitor storage hard disk, therefore memory, hard disk driver module comprises the first page table of corresponding first memory hard disk and the second page table of corresponding second memory hard disk.But such storage area Land use systems has following shortcoming: use cannot be integrated in (1) storage area, cause in each memory, hard disk and have scrappy storage block to be used efficiently; (2) when functional module enters duty from idle state, by its module storage the memory, hard disk that emulates must unload (unmount) from operating system, and when it gets back to idle state, operating system must the memory, hard disk of carry corresponding to it again, causes execution efficiency not good; (3) when memory, hard disk store be the data of compressed system storage time, the Uninstaller of memory, hard disk must first will be kept in system storage (because system storage cannot store the data of compression) after the data decompression of compression, the memory, hard disk to other will be deposited again after data compression, and when system storage is limited, to keep in system storage after data decompression, the impact that system storage is very large will be caused, time serious, operating system can face the situation of storer deficiency (out of memory, OOM).
Summary of the invention
In view of the deficiency of prior art, an object of the present invention is to provide the memory, hard disk of a kind of embedded equipment, a kind of embedded equipment and a kind of method accessing the memory, hard disk of embedded equipment, to promote the service efficiency of the hardware resource of embedded equipment.
Disclosed herein a kind of embedded equipment, comprise: a processing unit, be used for execution one operating system; One first memory, is used for for data required during this processing unit access this operating system of execution; One functional module, is used for execution one specific function; One second memory, be used for for this functional module with the mode of direct memory access (DMA) access perform this specific function time required data; And a memory, hard disk driver module, couple this first memory and this second memory, a part for this first memory and this second memory are integrated into a memory, hard disk, and control the access of this memory, hard disk.
The present invention separately discloses the method for a memory, hard disk of a kind of access one embedded equipment, this embedded equipment comprises a functional module and is used for a processing unit of executive operating system, the method comprises: provide a first memory, for storing data required when this processing unit performs this operating system; One second memory is provided, for for this functional module with the mode of direct memory access (DMA) access perform this specific function time required data; A part for this first memory and this second memory are integrated into a memory, hard disk; And control the access of this memory, hard disk.
The present invention separately discloses a kind of memory, hard disk of embedded equipment, and this embedded equipment runs an operating system, and this memory, hard disk comprises: a part for a system storage, data required when this system storage runs this operating system for storing; And the module storage of a functional module of this embedded equipment, this functional module accesses this module storage in the mode of direct memory access (DMA) in time performing its function; Wherein, this memory, hard disk is a single storage facilities for this operating system.
Different storeies can be integrated into single memory, hard disk, more effectively to utilize the memory, hard disk of memory emulation by the method for the memory, hard disk of embedded equipment of the present invention, embedded equipment and the memory, hard disk of access embedded equipment.Compared to known techniques, when memory, hard disk of the present invention segment space (such as by the first module storage emulate form) store compression data time, when the functional module belonging to this first module storage enters duty by idle state, the packed data that this first module storage stores first need not decompress and move, but can directly move in other space (such as emulated by the second module storage or system storage and form) of memory, hard disk, to reduce the impact to system storage with the state of compression.
Feature for the present invention, implementation and effect, hereby coordinate and to be graphicly described in detail as follows do preferred embodiment.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of an embodiment of embedded equipment of the present invention;
Fig. 2 is the page table of one embodiment of the invention and the corresponding diagram of module storage;
Fig. 3 is the page table of another embodiment of the present invention and the corresponding diagram of module storage;
Fig. 4 is the page table of another embodiment of the present invention and the corresponding diagram of storer;
Fig. 5 is the page table of another embodiment of the present invention and the corresponding diagram of storer;
Fig. 6 is the process flow diagram of an embodiment of the method for the memory, hard disk of access embedded equipment of the present invention; And
Fig. 7 is memory, hard disk driver module of the present invention carries out write-in program schematic diagram to memory, hard disk.
Embodiment
The idiom of technical terms system reference the art of following description, as this instructions is illustrated part term or defines, the explanation system of this part term is as the criterion with the explanation of this instructions or definition.
Disclosure of the present invention comprises memory, hard disk and the method for the memory, hard disk of access embedded equipment of embedded equipment, embedded equipment, more effectively can utilize the hardware resource of embedded equipment.Be embodied as under possible prerequisite, the art has knows that the knowledgeable can select the assembly of equivalence or step to realize the present invention according to the disclosure of this instructions usually, that is enforcement of the present invention be not limited to after the embodiment chatted.The members comprised due to embedded equipment of the present invention may be separately known tip assemblies, therefore under the prerequisite of the abundant exposure and exploitativeness that do not affect the invention of this device, below illustrates that the details for known tip assemblies will give memorandum.In addition, the method of the memory, hard disk of access embedded equipment of the present invention can perform by embedded equipment of the present invention or its equivalent device, under the prerequisite of the abundant exposure and exploitativeness that do not affect the method invention, the explanation of following methods invention will focus on step content and non-hardware.
Refer to Fig. 1, it is the schematic diagram of an embodiment of embedded equipment of the present invention.Embedded equipment 100 comprises processing unit 110, system storage 120, memory, hard disk driver module 130, functional module 140, module storage 145, functional module 150 and module storage 155.Processing unit 110 is responsible for the operating system performing embedded equipment 100, and the program code relevant to operating system and data storing are in system storage 120.Processing unit 110 is by Memory Management Unit (memory management unit, MMU), after (not illustrating) physical address of system storage 120 (physical address) being converted to logical address (logical memory), recycling logical address carrys out access system storer 120.Memory, hard disk driver module 130 couples processing unit 110 and system storage 120, is used for managing and driving the memory, hard disk of embedded equipment 100.Processing unit 110 can carry out access memory hard disk through the driver of Operational System Control memory, hard disk driver module 130.Functional module 140 and 150 has been responsible for the specific function of embedded system 100, such as embedded system is an intelligent TV, there is the function watched TV with browse network, then functional module 140 may be responsible for the module of television signal solution modulation, and functional module 150 may be the module of responsible network function.Functional module 140 and 150 has respective module storage 145 and 155, the program code that module storage 145 memory function module 140 is operationally required and data, the program code that module storage 155 memory function module 150 is operationally required and data.Module storage 145 and 155 is made up of multiple physical address continuous print memory cell, and system storage 120 and module storage 145 and 155 can the different sections of corresponding same hardware memory module, or correspondence independently hardware memory module separately.Module storage 145 and 155 is the exclusive storer of functional module 140 and 150, functional module 140 and 150 access its separately module storage 145 and 155 time need through processing unit 110, but come its access with the physical address of the mode of direct memory access (DMA) (direct memory access, DMA) based on module storage 145 and 155.The processing unit 110 that module storage 145 and 155 cannot be embedded into formula system 100 directly uses, that is processing unit 110 is when performing the operating system of embedded equipment 100, even if system storage 120 is taken by process and data, processing unit 110 still can not use module storage 145 and 155 directly to store the program code relevant with process and data.
In a preferred embodiment of the present invention, when functional module 140 and 150 not in working order time (during at idle state), module storage 145 and 155 is also in idle state, processing unit 110 is according to the duty of functional module 140 and 150 or idle state, notice memory, hard disk driver module 130 upgrades or manages its page table, in time module storage 145 and/or module storage 155 are emulated into memory, hard disk.When functional module 140 and 150 is all idle state, memory, hard disk driver module 130 is with same driver and carry out driver module storer 145 and 155 according to same page table, both emulation are become the memory, hard disk of embedded equipment 100, therefore processing unit 110 carrys out the driver of operational store hard disk driving module 130 through operating system, to module storage 145 and 155 the memory, hard disk that emulates access time, only can see single and continuous print memory, hard disk, that is for the operating system of embedded equipment 100, module storage 145 and 155 the memory, hard disk that emulates be single hardware device, as long as operating system operates the equipment shelves corresponding to it, just this memory, hard disk can be accessed.Refer to Fig. 2, it is the page table of one embodiment of the invention and the corresponding diagram of module storage.Page table 210 comprises multiple paging 211, is used to provide the logical address of memory, hard disk and the corresponding relation of physical address, when therefore processing unit 110 pairs of memory, hard disks access, is actually and operates through Memory Management Unit logic-based address.Suppose that the storage area of module storage 145 is 20MB (an about 2x107 byte), and be a paging with 4kB (an about 4x103 byte), then module storage 145 will correspond to 5000 pagings 211, and the Memory Management Unit of processing unit 110 just accesses according to paging 211 data be stored in module storage 145.Because memory, hard disk driver module 130 carrys out access module storer 145 and 155 with same driver and same page table 210, therefore for the operating system of embedded equipment 100, the memory, hard disk that module storage 145 and 155 is contributed is continuous and single storage element, on using, just do not have broken storage area, and the waste of storage area can not be caused.
When embedded equipment 100 receives outside control signal and changes its operator scheme, such as intelligent TV is by originally utilizing high resolution multimedia interface (High Definition Multimedia Interface, HDMI) video-audio signal is received from external DVD player, switch to network browsing pattern, the module storage 155 of the network function module then in original idle must enter duty, now memory, hard disk driver module 130 by the data-moving in module storage 155 to module storage 145, and change the content of page table 210, originally the paging pointing to module storage 155 is changed into and points to module storage 145, page table after renewal as shown in Figure 3.Thus, for operating system, just the storage area of memory, hard disk changes (be made up of module storage 145 and 155 originally, changed into and being made up of module storage 145 separately), does not affect its access to memory, hard disk.In like manner, when embedded system 100 has other module storage to become idle state from duty, also can immediately by upgrade the mode of page table 210 or 310 make new idle in module storage add memory, hard disk, make the memory, hard disk space emulated by module storage become large.That is, when module storage adds/leave memory, hard disk, memory, hard disk driver module 130 does not need operating system carry/unloading memory, hard disk, and only need revise page table, increases the operating flexibility of embedded system 100 widely.
Additional storage space when above-mentioned memory, hard disk can perform exchange program as operating system, namely when system storage 120 is expired, process in idle can be moved in memory, hard disk by operating system, to vacate more space to just in executory process.When operating system needs more system storage 120, in exchange program, preparation can first first be compressed stored in the data of memory, hard disk by processing unit 110, thus more data can be exchanged to memory, hard disk from system storage 120.In the present embodiment, when module storage 155 stores the data of compression, and functional module 150 is when entering duty by idle state, because do not need memory, hard disk to unload, so memory, hard disk driver module 130 do not need to process the packed data in module storage 155 is decompressed, stored in system storage 120, again data are compressed again after deposit back the program of the complexity such as module storage 145, the impact that above-mentioned process will cause system storage 120 to be subject to mass data; Relative, as long as the packed data in module storage 155 is directly moved in module storage 145 by memory, hard disk driver module 130, upgrade page table again, originally the paging pointing to module storage 155 is changed into and points to module storage 145, as shown in the page table 310 of Fig. 3 and the corresponding relation of module storage 145.Now module storage 155 transfers duty to, and memory, hard disk only comprises module storage 145.
In another preferred embodiment, memory, hard disk can be made up of jointly system storage and module storage.Refer to Fig. 4, it is the page table of another embodiment of the present invention and the corresponding diagram of storer.Page table 410 has multiple paging 411, a part of correspondence system storer 120, a part of respective modules storer 145.In more detail, system storage 120 can be divided into the program code of store operation system and the first block of data and all the other and be used for storing the program code of each process and the second block of data, and only has the second block can bring emulation for memory, hard disk use.Although the second block usually becomes broken (physical address of meaning and operational memory cell becomes discontinuous) because of the operation of operating system, the memory cell of fragmentation still can be emulated into memory, hard disk by management page table by the present invention.In another preferred embodiment, memory, hard disk comprises system storage 120 and plural module storage, and system storage 120 and module storage 145 and 155 are integrated into single memory, hard disk, as shown in Figure 5, multiple pagings 511 part of page table 510 corresponds to system storage 120 to the corresponding relation of its page table and system storage 120 and module storage 145 and 155, part corresponds to module storage 145 and part corresponds to module storage 155.Same, when the function of embedded equipment 100 switches, processing unit 110 is according to the duty notice memory, hard disk driver module 130 of functional module 140 and 150, and memory, hard disk driver module 130 upgrades according to notice or management page table 510 again.In sum, the memory, hard disk of embedded equipment 100 can be made up of to scale system storage 120 and more than one module storage, and the storage area of such as memory, hard disk 40% is provided by system storage 120, and 60% is provided by module storage 145; Or the storage area of memory, hard disk 20% is provided by system storage 120,50% to be provided by module storage 145 and 30% to be provided by module storage 155.Moreover, when packed data moves between any two storeies, only need packed data to move to target memory from source memory, and do not need data decompression.Similar with the embodiment of front taking off, no matter be that system storage 120 emulates into single memory, hard disk with a module storage, or system storage 120 emulates into single memory, hard disk with the module storage of more than two, memory, hard disk driver module 130 all utilizes a driver and a page table to manage this memory, hard disk, and for the operating system of embedded equipment 100, only need operate same equipment shelves just can access this memory, hard disk.
Refer to Fig. 6, it is the process flow diagram of an embodiment of the method for the memory, hard disk of access embedded equipment of the present invention.Except aforesaid embedded equipment, the present invention also discloses a kind of method accessing the memory, hard disk of embedded equipment accordingly, multiple storer (system storage and/or module storage) can be emulated into single memory, hard disk, and carry accesses to the processing unit of operating system for embedded equipment.This method is by front taking off embedded equipment 100 or its equivalent device performs.As shown in Figure 6, one embodiment of the invention comprise the following step:
Step S610: first memory and second memory are provided.Embedded equipment 100 provides first memory and second memory to emulate into the memory, hard disk of embedded equipment.First memory can be the system storage 120 of embedded equipment 100, or one of them of module storage 145 and 155, and second memory can be one of them of module storage 145 and 155.Module storage 145 and 155 is used for the program code required when duty of memory function module 140 and 150 and data respectively;
Step S620: management page table, makes this page table indicate this memory, hard disk to comprise first memory, and make this page table indicate this memory, hard disk optionally to comprise second memory according to whether functional module is in running order.Page table as shown in Figure 2, the logical address of record storage hard disk and the corresponding relation of physical address.When the functional module belonging to module storage is in running order, this module storage can not be used to emulate into memory, hard disk, paging now in page table should not point to this module storage, and that is now memory, hard disk does not comprise this module storage; Relative, when the functional module belonging to module storage is in idle state, the paging in page table just can point to this module storage, makes this module storage become a part for memory, hard disk; And
Step S630: the access controlling this memory, hard disk according to page table.Different pagings in same page table can correspond to different storeies, therefore when according to same page table access memory hard disk, first memory and second memory are regarded as same memory, hard disk, that is first memory and second memory can be integrated into single memory, hard disk by same page table, the operating system of embedded equipment 100 is thought, and existence capacity equals the memory, hard disk of the sum total of the capacity of first memory and the capacity of second memory, but not there is the less memory, hard disk of two capacity.In the fetch program, first find out the physical address of storer according to page table, then from this address reading data; In write-in program, after data write, upgrade page table according to the memory location write.In more detail, in a preferred embodiment, when memory, hard disk is made up of jointly system storage and module storage, in the program of write, the preferential writing module storer of meeting, after module storage is filled with, then writing system storer.So more properly can utilize the module storage in leaving unused, promote the usefulness of embedded system further.
From the above, when first memory is system storage 120, because the program code of some section store operating system of system storage 120 and data, therefore step S630 only will not have the partial memory block of the program code of store operation system to be integrated into memory, hard disk in system storage 120, and not by the program code of store operation system and the thin consolidation of data to memory, hard disk.Moreover, no matter be first memory or second memory, when this storer the functional module of genus in duty, then this storer is not involved in memory, hard disk; Contrary, when the functional module of the genus of this storer institute is in idle state, this storer ability is involved in memory, hard disk.
Except above-mentioned step, this method also comprises following step: the data compressed when the memory storage of functional module, and when this functional module enters duty from idle state, the data of this compression are moved in the compressible state other storer, and upgrade page table again after movement.During the device taken off before the details of action and principle are specified in is invented, therefore repeat no more.In addition, this method also comprises provides the 3rd storer, and the 3rd memory emulation is become this memory, hard disk.Now memory, hard disk is emulated by system storage and two module storage and is formed, and in the device invention of taking off before its ratio formed is illustrated in, therefore repeats no more.
Refer to Fig. 7, it is the schematic diagram that memory, hard disk driver module of the present invention 130 pairs of memory, hard disks carry out write-in program.The application program that write order 710 may performed by embedded equipment 100 sent, write order 710 is sent to memory, hard disk driver module 130 by processing unit 110, the driver layer 720 of memory, hard disk driver module 130 requires a storage area to memory pool (memory pool) layer 730, so memory pool layer 730 obtains a storage area according to the request of driver layer 720 to physical storage 770, namely memory pool 740, the size system of storage area is in units of a paging (such as 4kB), and, memory pool 740 can be selected to produce storage area from module storage or from system storage through module storage map section 750 and system memory map district 760 when obtaining the storage area of physical storage 770 respectively.For example, if the priority of module storage is higher than system storage, then memory pool 740 first referrer module memory mapped district 750 obtains storage area, and when module storage is used up, memory pool 740 just obtains storage area in frame of reference memory mapped district 760.Certainly, the right of priority of system storage can also higher than module storage, or carry out other configuration on demand, such as say that system storage has higher-priority when system storage is used below special ratios, then changed into module storage when system storage uses more than special ratios and there is higher-priority.After physical storage 770 obtains storage area, data to be written are write this storage area, the location updating page table 780 of the last physical storage according to just now writing.Compared to write-in program, the fetch program is more simple, and the art has and usually knows that the knowledgeable can be spreaded to by write-in program, therefore repeats no more.
Usually know that disclosure that the knowledgeable can invent by the device of Fig. 1 is to understand method working of an invention details and the change of Fig. 6 because the art has, therefore, for avoiding superfluous literary composition, under the prerequisite of the exposure requirement and exploitativeness that do not affect the method invention, the explanation of repetition gives memorandum at this.Take off before note that in icon, the order etc. of the shape of assembly, size, ratio and step is only signal, is have for the art usually to know that the knowledgeable understands the present invention, is not used to limit the present invention.In addition, the art personage Ke Yi disclosure of the present invention and the demand of self optionally implement the part or all of technical characteristic of any embodiment, or optionally implement the combination of the part or all of technical characteristic of multiple embodiment, increase elasticity during the invention process by this.Moreover though take off embodiment front and be considered as example with intelligent electric, so this is not limitation of the present invention, and the art personage Ke Yi exposure of the present invention suitably applies the present invention to the embedded equipment of other type.
Although embodiments of the invention are described above; but those embodiments are not used for limiting the present invention; the art has knows that the knowledgeable can impose change according to the content expressed or imply of the present invention to technical characteristic of the present invention usually; all this kind changes the patent protection category that all may belong to sought by the present invention; in other words, scope of patent protection of the present invention must be as the criterion depending on the claim person of defining of this instructions.

Claims (19)

1. an embedded equipment, comprises:
Processing unit, is used for executive operating system;
First memory, is used for for data required during this processing unit access this operating system of execution;
Functional module, is used for performing specific function;
Second memory, be used for for this functional module with the mode of direct memory access (DMA) (DMA) access perform this specific function time required data; And
Memory, hard disk driver module, couples this first memory and this second memory, a part for this first memory and this second memory is integrated into memory, hard disk, and controls the access of this memory, hard disk.
2. embedded equipment as claimed in claim 1, it is characterized in that, this first memory comprises first memory block and second memory block, this first memory block is used for storing data required when this processing unit performs this operating system, and this memory, hard disk comprises this second memory block and do not comprise this first memory block.
3. embedded equipment as claimed in claim 2, it is characterized in that, this second memory block system is made up of the discontinuous broken memory block of multiple physical address.
4. embedded equipment as claimed in claim 1, it is characterized in that, this second memory system is made up of multiple physical address continuous print memory cell.
5. embedded equipment as claimed in claim 1, is characterized in that, more comprise:
Additional function modules, is used for performing additional function;
3rd storer, couples this additional function modules and this memory, hard disk driver module, be used for for this additional function modules with the mode of direct memory access (DMA) access perform this additional function time required data;
Wherein, the 3rd storer is more integrated into this memory, hard disk by this memory, hard disk driver module.
6. embedded equipment as claimed in claim 1, it is characterized in that, this memory, hard disk driver module controls the access of this memory, hard disk according to page table, and according to whether this functional module is in running order, this processing unit notifies that this memory, hard disk driver module upgrades this page table.
7. embedded equipment as claimed in claim 6, it is characterized in that, when this functional module is in running order, this page table indicates this memory, hard disk to utilize a part of storage data of this first memory, do not utilize this second memory storage data, and when this functional module is not in running order, this page table indicates this memory, hard disk to utilize a part and this second memory storage data of this first memory.
8. embedded equipment as claimed in claim 1, it is characterized in that, this second memory stored compressed data, and when this functional module is converted to duty by idle state, this packed data is moved to this first memory by this memory, hard disk driver module in the compressible state.
9. access a method for the memory, hard disk of embedded equipment, this embedded equipment comprises functional module and is used for the processing unit of executive operating system, and the method comprises:
There is provided first memory, for storing data required when this processing unit performs this operating system;
Second memory is provided, for for this functional module with the mode of direct memory access (DMA) access perform this specific function time required data;
A part for this first memory and this second memory are integrated into memory, hard disk; And
Control the access of this memory, hard disk.
10. method as claimed in claim 9, it is characterized in that, this first memory comprises first memory block and second memory block, data required when this first memory block is used for storing this processing unit access this operating system of execution, and this memory, hard disk only comprises this second memory block, and do not comprise this first memory block.
11. methods as claimed in claim 10, is characterized in that, this second memory block system is made up of the discontinuous broken memory block of multiple physical address.
12. methods as claimed in claim 9, is characterized in that, this second memory system is made up of multiple physical address continuous print memory cell.
13. methods as claimed in claim 9, is characterized in that, this embedded equipment more comprises the additional function modules for performing additional function, and the method more comprises:
3rd storer is provided, for for this additional function modules with the mode of direct memory access (DMA) access perform this additional function time required data; And
3rd storer is integrated into this memory, hard disk.
14. methods as claimed in claim 9, is characterized in that, the step system of the access of this this memory, hard disk of control controls the access of this memory, hard disk according to page table, the method more comprises:
When this functional module is in running order, makes this page table indicate this memory, hard disk to comprise a part for this first memory, do not comprise this second memory; And
When this functional module is not in running order, this page table is made to indicate this memory, hard disk to comprise a part and this second memory of this first memory.
15. methods as claimed in claim 9, is characterized in that, more comprise:
When this second memory stored compressed data, and when this functional module is converted to duty by idle state, this packed data is moved to this first memory in the compressible state.
The memory, hard disk of 16. 1 kinds of embedded equipments, this embedded equipment operation system, this memory, hard disk comprises:
A part for system storage, data required when this system storage runs this operating system for storing; And
The module storage of the functional module of this embedded equipment, this functional module accesses this module storage in the mode of direct memory access (DMA) in time performing its function;
Wherein, this memory, hard disk is single storage facilities for this operating system.
The memory, hard disk of 17. embedded equipments as claimed in claim 16, it is characterized in that, this system storage comprises first memory block and second memory block, this first memory block is used for storing data required when running this operating system, and this memory, hard disk only comprises this second memory block, and do not comprise this first memory block.
The memory, hard disk of 18. embedded equipments as claimed in claim 16, is characterized in that, more comprise:
The add-on module storer of the additional function modules of this embedded equipment;
Wherein this additional function modules accesses this add-on module storer in the mode of direct memory access (DMA) in time performing its function.
The memory, hard disk of 19. embedded equipments as claimed in claim 16, it is characterized in that, this module storage stored compressed data, and when this functional module is converted to duty by idle state, this packed data moves to this system storage in the compressible state.
CN201410177297.9A 2014-04-29 2014-04-29 The method of the memory, hard disk of embedded equipment, the memory, hard disk of embedded equipment and access embedded equipment Active CN105022588B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410177297.9A CN105022588B (en) 2014-04-29 2014-04-29 The method of the memory, hard disk of embedded equipment, the memory, hard disk of embedded equipment and access embedded equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410177297.9A CN105022588B (en) 2014-04-29 2014-04-29 The method of the memory, hard disk of embedded equipment, the memory, hard disk of embedded equipment and access embedded equipment

Publications (2)

Publication Number Publication Date
CN105022588A true CN105022588A (en) 2015-11-04
CN105022588B CN105022588B (en) 2018-06-22

Family

ID=54412584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410177297.9A Active CN105022588B (en) 2014-04-29 2014-04-29 The method of the memory, hard disk of embedded equipment, the memory, hard disk of embedded equipment and access embedded equipment

Country Status (1)

Country Link
CN (1) CN105022588B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5631577A (en) * 1995-02-10 1997-05-20 Xilinx, Inc. Synchronous dual port RAM
CN101470587A (en) * 2004-12-21 2009-07-01 普安科技股份有限公司 Redundant sas storage virtualization subsystem
CN101639807A (en) * 2008-08-01 2010-02-03 纬创资通股份有限公司 Method for combining multiple storage devices
CN101853338A (en) * 2009-04-01 2010-10-06 深圳市鸥朴互动网络技术有限公司 Safe computer system for system disk fixation
CN102236748A (en) * 2010-04-26 2011-11-09 张逸瑞 Computer software protection method
CN103176832A (en) * 2013-02-07 2013-06-26 宝龙计算机***(湖南)有限公司 Method of similar UNIX operation system running virtual operation system and device of similar UNIX operation system running virtual operation system
TW201337763A (en) * 2009-05-27 2013-09-16 Apacer Technology Inc Method of installing the instant-on operation system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5631577A (en) * 1995-02-10 1997-05-20 Xilinx, Inc. Synchronous dual port RAM
CN101470587A (en) * 2004-12-21 2009-07-01 普安科技股份有限公司 Redundant sas storage virtualization subsystem
CN101639807A (en) * 2008-08-01 2010-02-03 纬创资通股份有限公司 Method for combining multiple storage devices
CN101853338A (en) * 2009-04-01 2010-10-06 深圳市鸥朴互动网络技术有限公司 Safe computer system for system disk fixation
TW201337763A (en) * 2009-05-27 2013-09-16 Apacer Technology Inc Method of installing the instant-on operation system
CN102236748A (en) * 2010-04-26 2011-11-09 张逸瑞 Computer software protection method
CN103176832A (en) * 2013-02-07 2013-06-26 宝龙计算机***(湖南)有限公司 Method of similar UNIX operation system running virtual operation system and device of similar UNIX operation system running virtual operation system

Also Published As

Publication number Publication date
CN105022588B (en) 2018-06-22

Similar Documents

Publication Publication Date Title
US10416932B2 (en) Dirty data management for hybrid drives
KR102077149B1 (en) Method for managing memory and apparatus thereof
EP2989536B1 (en) Management of access to a hybrid drive in power saving mode
CN109783017B (en) Storage device bad block processing method and device and storage device
US20130031298A1 (en) Including performance-related hints in requests to composite memory
WO2016099664A1 (en) Apparatus, system and method for caching compressed data background
CN105183551A (en) Switching method among multiple Android systems based on Linux container technology
CN101644996A (en) Storage method of index data and storage control device
CN104866428A (en) Data access method and data access device
US20110161298A1 (en) System and method for opportunistic re-imaging using cannibalistic storage techniques on sparse storage devices
CN109491606B (en) Full flash memory space management method, system, equipment and computer medium
CN102609305A (en) Method for sharing internal memory in server cluster
CN103412822A (en) Operation method of non-volatile RAM, data operation method and relevant device
CN104239096A (en) Method and unit for realizing security data partitions in Android system
CN105095121A (en) Obtaining method and system for virtual input equipment on driver layer
CN105739982A (en) System hibernation method and apparatus
CN115357389A (en) Memory management method and device and electronic equipment
CN101826055B (en) Management method for data cache distribution in Linux system
CN106055273A (en) Control panel and control method
CN114746850A (en) Providing a dynamic random access memory cache as a second type of memory
CN102622304A (en) Memory optimizing method for double-layer address space mapping
CN111562883A (en) Cache management system, method and device for solid state disk
CN105022588A (en) Embedded device, memory hard disk of embedded device and method for accessing data into/from memory hard disk of embedded device
CN113778688B (en) Memory management system, memory management method, and memory management device
CN109933435A (en) Control method, device and computer equipment

Legal Events

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

Effective date of registration: 20191218

Address after: No.1, Duhang 1st Road, Hsinchu City, Hsinchu Science Park, Taiwan, China

Patentee after: MediaTek.Inc

Address before: Taiwan Hsinchu County Tai Yuan Street China jhubei City, No. 26 4 floor 1

Patentee before: MStar Semiconductor Co., Ltd.