CN102117183A - Computer device and method for using solid state disk in computer device - Google Patents

Computer device and method for using solid state disk in computer device Download PDF

Info

Publication number
CN102117183A
CN102117183A CN2010100015210A CN201010001521A CN102117183A CN 102117183 A CN102117183 A CN 102117183A CN 2010100015210 A CN2010100015210 A CN 2010100015210A CN 201010001521 A CN201010001521 A CN 201010001521A CN 102117183 A CN102117183 A CN 102117183A
Authority
CN
China
Prior art keywords
operating system
random access
access memory
flash memory
solid state
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
CN2010100015210A
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.)
XIANGHUI TECHNOLOGY CO LTD
Original Assignee
XIANGHUI 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 XIANGHUI TECHNOLOGY CO LTD filed Critical XIANGHUI TECHNOLOGY CO LTD
Priority to CN2010100015210A priority Critical patent/CN102117183A/en
Publication of CN102117183A publication Critical patent/CN102117183A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a computer device and a method for using a solid state disk in the computer device. The computer device comprises a solid state disk and a processor for executing an operating system. The solid state disk comprises a shell, and a flash memory and a random access memory which are arranged in the shell. The random access memory is a virtual memory serving as the operating system. Besides, the operating system accesses the random access memory in the unit of files.

Description

Computer installation and the method for in computer installation, using solid state hard disc
Technical field
The present invention relates to a kind of computer installation and a kind of method of in computer installation, using solid state hard disc with solid state hard disc.
Background technology
About in the prior art based on the solid state hard disc of flash memory, can be with reference to the 2.5 o'clock SATA interface solid hard disks and the U.S. Pat Pat.5 of Transcend original idea company, 404,485 and US Pat.5,535,369.
About in the prior art based on the solid state hard disc of dynamic RAM, can believe ANS-9010 Dynamic SSD (the solid state drive) solid state hard disc of hundred million science and technology with reference to ACARD, can be described as " RAM-based SSD " again, other details also can be consulted Http:// www.storagesearch.com/ssd-ram.html
About existing solid state hard disc and the using method that contains volatile memory and nonvolatile memory simultaneously, can be with reference to U.S. Patent Publication No. 2005/0185496 and 2007/0276995.
Yet, it should be noted that, described herein solid state hard disc, refer to utilize the storage device of IDE or SATA interface and motherboard binding, so its employed storer, be to be different to be set directly on the motherboard and can be by the storer (On-Board Memory claims primary memory or system storage again) of central processing unit direct access.Therefore, some is called RamDisk software instrument (for example Gavotte RAMDisk) can be with the mock disc under operating system of the storer on the motherboard, but these practices are not to belong to the alleged solid state hard disc of this paper, and are not the technical field that belongs to identical with the present invention.
Summary of the invention
The method that an aspect of of the present present invention is to provide a kind of computer installation and uses solid state hard disc in computer installation wherein comprises random access memory and flash memory in the solid state hard disc.
Generally speaking, computer installation can produce some extra " keeping in " files when running, the temporary file that temporary file that is produced when for example virtual memory (being called the branch page file again), application program are installed or carried out or operating system are produced when carrying out.
Because the restriction of physical characteristics, flash memory can access number of times limited, therefore for only as the file of " keep in " or do not need the file of permanent preservation, can be stored in the random access memory in the solid state hard disc, and avoid using flash memory, prolong the serviceable life of flash memory by this.
In addition, in general, the access speed of random access memory is fast than flash memory, also can increase the usefulness of computer installation.Random access memory is " volatibility " storer in addition, so the user need not delete storage temporary file thereon separately, can not waste the space of storage device.
In an embodiment of the present invention, computer installation comprises the processor of solid state hard disc and executive operating system.Solid state hard disc comprises housing and the flash memory and the random access memory that are arranged in the housing.Random access memory is the virtual memory as operating system.In addition, operating system as two different logic magnetic discs, and is unit access random access memory with the file with flash memory and random access memory.
In another embodiment of the present invention, in the aforementioned calculation machine, use the method for solid state hard disc, comprise: with the virtual memory of random access memory as operating system; And operating system is unit access random access memory with the file.
In an embodiment of the present invention, computer installation comprises the processor of solid state hard disc and executive operating system.Solid state hard disc comprises housing and the flash memory and the random access memory that are arranged in the housing.The program code that the flash memory stores executive operating system is required, and random access memory is in order to deposit the temporary file that is produced during the executive operating system.In addition, operating system is unit access random access memory with the file.
In another embodiment of the present invention, in the aforementioned calculation machine, use the method for solid state hard disc, comprise: store the required program code of executive operating system in flash memory; And deposit the temporary file that produced during the executive operating system in random access memory.
In further embodiment of this invention, computer installation comprises the processor of solid state hard disc and executive utility.Solid state hard disc comprises housing and the flash memory and the random access memory that are arranged in the housing.The program code that the flash memory stores executive utility is required, random access memory is in order to store the temporary file that is produced during the executive utility.
In another embodiment of the present invention, in the aforementioned calculation machine, use the method for solid state hard disc, comprise: store the required program code of executive utility in flash memory; And the temporary file that is produced during the storage executive utility is in random access memory.
Narration by following preferred embodiment also cooperates graphic explanation, and purpose of the present invention, feature and advantage will be more clear.
Description of drawings
Fig. 1 is the computer installation Organization Chart of the embodiment of the invention;
Fig. 2 A is the method flow diagram in one embodiment of the invention;
Fig. 2 B is the method flow diagram in another embodiment of the present invention;
Fig. 2 C is the method flow diagram in further embodiment of this invention.
Description of reference numerals:
10: computer installation;
100: solid state hard disc;
102: housing;
104: controller;
106: flash memory;
108: random access memory;
110: interface;
150: processor.
Embodiment
Fig. 1 is the computer installation Organization Chart of the embodiment of the invention.In this embodiment, solid state hard disc 100 is the mass storages as computer installation 10, computer installation 10 can be personal computer or mobile computer, for example can correct with reference to SONY VAIO X series VPCX115, LenovoThinkPad T400s series 2815RW8, ACER Timeline 3810T series 352G08n, ACER Aspire one series Linux or the like, the part of solid state hard disc wherein particularly can be with reference to the explanation of the embodiment of the invention.Computer installation 10 has processor 150, for example IntelSU3500, Intel Z520, Intel SP9600 or the like, and processor 150 is to be computer installation 10 executive operating systems (for example WINDOWS XP or Linux) and application program (for example web browser Internet Explorer or Firefox, or image processing formula Adobe is Photoshop, or document is handled formula Microsoft WORD).In addition, except solid state hard disc 100, computer installation 10 also can have other storage device, and the present invention does not desire to be limited.
Solid state hard disc 100 comprises housing 102, controller 104, flash memory 106, random access memory 108.Controller 104 can be FPGA or ASIC (ARM 7 32Bit microprocessors for example, not shown), control flash memory 106 and random access memory 108 respectively to carry out firmware (firmware), solid state hard disc 100 also can comprise SATA or ide interface 110 and communicates with processor 150 on computer installation 10 motherboards (not shown) in addition, wherein the data on the solid state hard disc 100 can see through direct memory access (DMA) (the Direct Memory Access on computer installation 10 motherboards, DMA) controller sends the primary memory (all not shown) on the motherboard to, and processor 150 reads from primary memory again.It is central as a fixed solid state hard disc that solid state hard disc 100 can be arranged at computer installation 10 in addition, but also can be embodied as a Portable solid state hard disc, and utilize USB interface (not shown) and computer installation 10 to carry out file transfer.
Flash memory 106 in the solid state hard disc 100, SATA interface solid hard disk and U.S. Pat Pat.5 in the time of can be with reference to the 64Gb 2.5 of Transcend original idea company, 404,485 and US Pat.5,535,369, do not repeat them here.
Random access memory 108 in the solid state hard disc 100 is preferably DDR2 SDRAM, and its capacity is preferably more than the 2Gb, but the present invention does not desire to be limited.
In this embodiment, controller 104 is in order to judge the amount of capacity of flash memory 106 and random access memory 108, provide partition table (Partition Table) to give operating system, operating system is considered as two different logic magnetic discs with flash memory 106 and random access memory 108 by this, for example " C: " disk and " D: " disk, wherein flash memory 106 (" C: " disk) and can further be set to startup disk.It should be noted that, also can comprise other logic magnetic disc under the operating system of computer installation 10, and as startup disk, in other words, the startup disk of computer installation 10 can be flash memory 106 and random access memory 108 storage device in addition.In addition, random access memory 108 is " volatibility " storer, therefore optionally, controller 104 can be with the data backup on the random access memory 108 at flash memory 106, for example when operating system enters into dormant state, and controller also can return the data on the flash memory 106 and deposits random access memory 108.
Fig. 2 A is the method flow diagram in one embodiment of the invention, Fig. 2 B is the method flow diagram in another embodiment of the present invention, Fig. 2 C is the method flow diagram in further embodiment of this invention, below utilizes the process flow diagram of Fig. 2 A to 2C, cooperates Fig. 1 to further specify embodiments of the invention.In the embodiment shown in Fig. 2 A, at first in step 200, the operating system of computer installation 10 with flash memory 106 in the solid state hard disc 100 and random access memory 108 as two different logic magnetic discs, for example " C: " disk and " D: " disk.In step 202, operating system is with random access memory 108 (" D: " disk), is set at virtual memory.With WINDOWS XP operating system is example, just file " pagefile.sys " (being called the branch page file again) is deposited in random access memory 108.In other words, the operating system of computer installation 10 is of a specified duration with placing in the primary memory, or the data of not having eager property are moved the random access memory 108 of placing in the solid state hard disc 100.Compared to the solid state hard disc of flash memory is only arranged usually, if virtual memory is arranged on flash memory, can roll up the access times of flash memory, significantly reduce the serviceable life of solid state hard disc.
Can, consult the technological document of Microsoft company: " How to configure paging files for optimization and recovery in Windows XP " (http://support.microsoft.com/? about virtual memory or the explanation that divides page file scid=kb; En-us; 314482﹠amp; X=11﹠amp; Y=15), or the technological document of RedHat company, write " UnderstandingVirtualMemory " (http://www.redhat.com/magazine/001nov04/features/vm/) by Norm Murray and Neil Horman.It should be noted that at this, as mentioned above, virtual memory is that the form with minute page file exists, therefore in step 204, operating system is to be that unit comes access to store the random access memory 108 (" D: " disk) of branch page file with the file, with processor 150 with logical blocks address (Logical BlockAddress, LBA) the mode difference of accessing main memory.
In the embodiment shown in Fig. 2 B, at first in step 220, the operating system of computer installation 10 with flash memory 106 in the solid state hard disc 100 and random access memory 108 as two different logic magnetic discs, for example " C: " disk and " D: " disk.In step 222, flash memory 106 (" C: " disk) stores the required program code of executive operating system.The needed program code of these executive operating systems (for example start), with the original start of Windows XP operating system, generally just be positioned at C: WINDOWS.And processor 150 can be according to the stored program code executive operating system of flash memory 106 (" C: " disk), but during the operating system running, can additionally produce some temporary files, with the original start of Windows XP operating system, just be positioned at C: temp or C: Windows file under the temp.And in the present embodiment, with Windows XP operating system is example, can utilize the setting of environmental variable, with %Temp%, %Tmp% is set in random access memory 108 (" D: " disk), by this in step 224, Windows XP operating system can be stored in the temporary file of its generation random access memory 108 (" D: " disk), about the setting of environmental variable, further can consult the technological document of Microsoft company: " How To Manage Environment Variables in Windows XP " (http://support.microsoft.com/kb/310519/en-us).And in (SuSE) Linux OS, in general, when system carries out, need the placeholder record partial data or deposit some temporary files, the capital is placed on catalogue "/tmp " lining, and in this embodiment, just catalogue "/tmp " can be set in random access memory 108 (" D: " disk).Basically, only otherwise want to take the primary memory space, do not need to be retained in the file of flash memory 106 (" C: " disk) again, mode is deposited in random access memory 108 (" D: " disk) according to this.
In the embodiment shown in Fig. 2 C, at first in step 240, the operating system of computer installation 10 with flash memory 106 in the solid state hard disc 100 and random access memory 108 as two different logic magnetic discs, for example " C: " disk and " D: " disk.In step 242, flash memory 106 stores carries out the required program code of an application program (for example Photoshop, WORD or Internet is Explorer).And processor 150 can be according to the stored program code executive utility of flash memory 106, but during the executive utility, can additionally produce some temporary files.If in the operating system of WINDOWS XP, as mentioned above, can utilize the setting of environmental variable, after %Temp%, %Tmp% be set in random access memory 108 (" D: "), therefore in step 244, most application program also can be stored in its temporary file random access memory 108 (" D: ") by this.But some application program then needs other setting, for example among the InternetExplorer for the setting of " Temporary Internet Files ", or in WORD for the " .asd " setting of file (automatically replying file).And in (SuSE) Linux OS, in general, when application program is carried out, if need the placeholder record partial data or deposit some temporary files, generally also all can be placed on catalogue "/tmp " lining, and in this embodiment, just catalogue "/tmp " can be set in random access memory 108 (" D: " disk).
Though the present invention discloses as above with embodiment; but it is not in order to limit the present invention; any have a technical field of the invention know the knowledgeable usually; without departing from the spirit and scope of the present invention; should do various changes and retouching; and can think to carry other different embodiment, so protection scope of the present invention should be as the criterion with the content of claim.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a computer installation is characterized in that, comprises:
One processor is for carrying out an operating system; And
One solid state hard disc comprises:
One housing;
One flash memory is arranged in this housing;
One random access memory is arranged in this housing, as a virtual memory of this operating system;
Wherein, as two different logic magnetic discs, and this operating system is this random access memory of unit access with the file to this operating system with this flash memory and this random access memory.
2. computer installation according to claim 1 is characterized in that, before start, this flash memory stores has the required program code of this operating system of execution.
3. computer installation according to claim 1 is characterized in that this flash memory is as the startup disk of this operating system.
4. a computer installation is characterized in that, comprises:
One processor is for carrying out an operating system; And
One solid state hard disc comprises:
One housing;
One flash memory is arranged in this housing, before start, and the program code that this flash memory stores executive operating system is required;
One random access memory is arranged in this housing, carries out the temporary file that is produced during this operating system in order to deposit;
Wherein, this operating system is this random access memory of unit access with the file.
5. a computer installation is characterized in that, comprises:
One processor is for carrying out an application program; And
One solid state hard disc comprises:
One housing;
One flash memory is arranged in this housing, and this flash memory stores is carried out the required program code of this application program; And
One random access memory is arranged in this housing, and this random access memory is carried out the temporary file that is produced during this application program in order to store;
Wherein, this operating system is this random access memory of unit access with the file.
6. method of in computer installation, using solid state hard disc, it is characterized in that, this computer installation has an operating system, this solid state hard disc comprises a housing, a flash memory and a random access memory, wherein this flash memory and this random access memory are arranged in this housing, and as two different logic magnetic discs, this method comprises this operating system with this flash memory and this random access memory:
With the virtual memory of this random access memory as this operating system; And
This operating system is this random access memory of unit access with the file.
7. method according to claim 6 is characterized in that, also comprises:
Before this starting operating system, store and carry out the required program code of this operating system in this flash memory.
8. method according to claim 6 is characterized in that, this method also comprises:
This flash memory is set at the startup disk of this operating system.
9. method of in computer installation, using solid state hard disc, it is characterized in that this computer installation has an operating system, this solid state hard disc comprises a housing, a flash memory and a random access memory, wherein this flash memory and this random access memory are arranged in this housing, and this method comprises:
Store the required program code of executive operating system in this flash memory; And
Deposit and carry out the temporary file that produced during this operating system in this random access memory.
10. method of in computer installation, using solid state hard disc, it is characterized in that, this computer installation has an application program, this solid state hard disc comprises a housing, a flash memory and a random access memory, wherein this flash memory and this random access memory are arranged in this housing, and this method comprises:
Store and carry out the required program code of this application program in this flash memory; And
The temporary file that is produced during this application program of storage execution is in this random access memory.
CN2010100015210A 2010-01-04 2010-01-04 Computer device and method for using solid state disk in computer device Pending CN102117183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010100015210A CN102117183A (en) 2010-01-04 2010-01-04 Computer device and method for using solid state disk in computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010100015210A CN102117183A (en) 2010-01-04 2010-01-04 Computer device and method for using solid state disk in computer device

Publications (1)

Publication Number Publication Date
CN102117183A true CN102117183A (en) 2011-07-06

Family

ID=44215970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010100015210A Pending CN102117183A (en) 2010-01-04 2010-01-04 Computer device and method for using solid state disk in computer device

Country Status (1)

Country Link
CN (1) CN102117183A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368158A (en) * 2017-07-11 2017-11-21 苏州通博半导体科技有限公司 A kind of method of lifting SHINKAWA SPA300 loader operating system speed
CN108052295A (en) * 2017-12-28 2018-05-18 深圳市金泰克半导体有限公司 A kind of date storage method, solid state disk, host and stocking system
CN109344109A (en) * 2018-10-23 2019-02-15 江苏华存电子科技有限公司 The system and method for accelerating artificial intelligence to calculate in big data based on solid state hard disk

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368158A (en) * 2017-07-11 2017-11-21 苏州通博半导体科技有限公司 A kind of method of lifting SHINKAWA SPA300 loader operating system speed
CN108052295A (en) * 2017-12-28 2018-05-18 深圳市金泰克半导体有限公司 A kind of date storage method, solid state disk, host and stocking system
CN108052295B (en) * 2017-12-28 2020-11-10 深圳市金泰克半导体有限公司 Data storage method, solid state disk, host and storage system
CN109344109A (en) * 2018-10-23 2019-02-15 江苏华存电子科技有限公司 The system and method for accelerating artificial intelligence to calculate in big data based on solid state hard disk
CN109344109B (en) * 2018-10-23 2022-07-26 江苏华存电子科技有限公司 System and method for accelerating artificial intelligence calculation in big data based on solid state disk

Similar Documents

Publication Publication Date Title
JP6253614B2 (en) Storage device virtualization
US8850105B2 (en) Method for controlling memory system, information processing apparatus, and storage medium
CN107632939B (en) Mapping table for storage device
CN106354615B (en) Solid state disk log generation method and device
JP6198226B2 (en) Working set swap using sequential swap file
JP5351046B2 (en) Method and system for facilitating fast startup of a flash memory system
US9053019B2 (en) Non-volatile memory device, a data processing device using the same, and a swapping method used by the data processing and non-volatile memory devices
US8370602B2 (en) Method for memory space management
US20150067001A1 (en) Cache management in a computerized system
KR101846612B1 (en) Load boot data
JP2008242503A5 (en)
TW201229754A (en) Memory system, data storage device, user device and data management method thereof
JP2009276853A (en) Flash memory device
CN102165406A (en) Methods to communicate a timestamp to a storage system
US20170031833A1 (en) Hibernation based on page source
KR101636878B1 (en) Method and driver for processing data in virtualization
CN111984441B (en) Instant power-off recovery processing method and device and computer readable storage medium
CN107544912B (en) Log recording method, loading method and device
CN102117183A (en) Computer device and method for using solid state disk in computer device
KR20110033066A (en) Fast speed computer system power-on & power-off method
KR20110062929A (en) Memory disk composition method and apparatus using main memory
JP4865075B1 (en) Computer and computer system
JP2013196646A (en) Memory control device, data storage device, and memory control method
CN107544913B (en) FTL table rapid reconstruction method and device
Kim et al. Advil: A pain reliever for the storage performance of mobile devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110706