CN107133139A - Intelligent disc monitoring method and the device using this method - Google Patents

Intelligent disc monitoring method and the device using this method Download PDF

Info

Publication number
CN107133139A
CN107133139A CN201610108052.XA CN201610108052A CN107133139A CN 107133139 A CN107133139 A CN 107133139A CN 201610108052 A CN201610108052 A CN 201610108052A CN 107133139 A CN107133139 A CN 107133139A
Authority
CN
China
Prior art keywords
mentioned
file
storage device
clouds
intelligent disc
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
CN201610108052.XA
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.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to CN201610108052.XA priority Critical patent/CN107133139A/en
Publication of CN107133139A publication Critical patent/CN107133139A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache

Abstract

The present invention proposes a kind of intelligent disc monitoring method, is performed, comprised the steps of by processing unit:Obtain the free space of storage device;When free space is less than threshold value, the file that is of little use in storage device is searched, upload is of little use file to high in the clouds storage server, and produces file link, for pointing to upper transmitting file physical holding of the stock in the address of high in the clouds storage server;Finally, store files link to storage device.The present invention also proposes a kind of intelligent disc supervising device, includes storage device, communication interface and processing unit;Processing unit is connected to storage device and communication interface, obtains the free space of storage device.

Description

Intelligent disc monitoring method and the device using this method
Technical field
The present invention relates to a kind of data storage technology, more particularly to a kind of intelligent disc monitoring method and use this method Device.
Background technology
With flourishing for digital multimedia, user stores increasing multimedia file in disk, and many The length of media file is also increasing.However, the limited storage space of disk, how more effective hyperdisk storage it is empty Between, it is an important subject under discussion.Accordingly, it would be desirable to a kind of intelligent disc monitoring method and the device using this method, for having Imitate the memory space of hyperdisk.
The content of the invention
The present invention proposes a kind of intelligent disc monitoring method, is performed, comprised the steps of by processing unit:Obtain storage dress The free space put;When free space is less than threshold value, the file that is of little use in storage device is searched, the file that is of little use is uploaded To high in the clouds storage server, and file link is produced, for pointing to upper transmitting file physical holding of the stock in high in the clouds storage server Address;Finally, store files link to storage device.
The present invention also proposes a kind of intelligent disc supervising device, includes storage device, communication interface and processing unit;Processing Unit is connected to storage device and communication interface, obtains the free space of storage device;When free space is less than threshold value, search The file that is of little use sought in storage device;The file that is of little use is uploaded to high in the clouds storage server by communication interface;Produce file Link, for pointing to upper transmitting file physical holding of the stock in the address of high in the clouds storage server;And store files link to storage dress Put.
Brief description of the drawings
Fig. 1 is the schematic diagram of the network system architecture according to the embodiment of the present invention.
Fig. 2 is the system architecture diagram of the arithmetic unit according to the embodiment of the present invention.
Fig. 3 is the method flow diagram for uploading files to high in the clouds storage device according to the embodiment of the present invention.
Fig. 4 is the schematic diagram for uploading files to high in the clouds storage device according to the embodiment of the present invention.
Fig. 5 is the method flow diagram that simultaneously file opening is obtained from separate sources according to the embodiment of the present invention.
Fig. 6 is the schematic diagram that simultaneously file opening is obtained from high in the clouds storage server according to the embodiment of the present invention.
Description of reference numerals:
100~network;110~high in the clouds storage server;
150~desktop computer;210~processing unit;
220~display unit;230~input unit;
240~storage device;250~memory;
260~communication interface;S310~S355~method and step;
410a~410f~original document;430c, 430d, 430f~file link;
450c, 450d, 450f~upper transmitting file;T41, t43~time point;
S510~S570~method and step;600~file opening is asked.
Embodiment
To enable the features described above and advantage of the present invention to become apparent, special embodiment below, and coordinate institute's accompanying drawing work Describe in detail as follows.
It will be appreciated that for words such as the "comprising" " comprising " in this specification, being intended to indicate that there is specific skill Art feature, numerical value, method and step, operation processing, element and/or component, but be not precluded from that more technical characteristics, number can be added Any combination of value, method and step, operation processing, element, component, or more.
In the claims using such as " first " " second " " the 3rd " word be for modifying the element in claim, and It is non-to be used for that there is priority order, precedence relation, or an element prior to another element between representing, or perform Time order and function order during method and step, only for distinguishing the element with same name.
The embodiment of the present invention proposes a kind of network system architecture, is deposited comprising at least one possessed by high in the clouds storage supplier Server (storage server) is stored up, and data can be stored in the client (client) of high in the clouds storage server.Fig. 1 It is the schematic diagram of the network system architecture according to the embodiment of the present invention.High in the clouds storage supplier possesses storage server 110, for example Paddy brother's hard disk (Google) server, a hard diskServer or holderService Device etc..Desktop computer 150 (also known as client) can access the data in storage server 110 by network 100.Network 100 Can be internet (Internet), cable LAN (wired Local Area Network, LAN), WLAN, or with On any combination.Herein it is noted that desktop computer 150 access storage server 110 data when, it is necessary to first pass through peace Full property is examined.Specifically, desktop computer 150 needs to provide a group account (ID) and password, and the ability after by checking Start access data.Although embodiment is by taking desktop computer 150 as an example, person skilled in the art also can be by client implementation in it He has the electronic installation of communication capacity, for example, mobile phone, tablet personal computer, notebook computer etc..
Fig. 2 is the system architecture diagram of the arithmetic unit according to the embodiment of the present invention.This system architecture may be implemented in desktop Brain 150, including at least processing unit 210.Various ways can be used to implement for processing unit 210, such as with special hardware circuit or Common hardware (for example, single-processor, the multiprocessor with parallel processing ability, graphics processor or other there is computing The processor of ability), and the function described there is provided after in configuration processor code or software.System architecture is additionally comprised Memory 250 is used to store the data needed in implementation procedure, for example, parameter, tables of data (data tables) etc., Yi Jicun Storage unit 240, for storing miscellaneous e-file, for example, text, trial balance, bulletin file, audio file, Video file, point to high in the clouds storage server the link in path, registrant's account number of high in the clouds storage server and password, ignore Inventory, file access database.System architecture additionally comprises communication interface 260, allows processing unit 210 can be so as to storage service Device 110 or other electronic installations are communicated.Communication interface 260 can be radio communication module (wireless Telecommunications module), LAN (local area network, LAN) communication module or WLAN Communication module (WLAN).Radio communication module (wireless telecommunications module) can include support The modem (modem) of any combination of 2G, 3G, 4G or more technology generation.Input unit 230 can include keyboard, mouse Mark, contact panel etc..Hardkey on user's pressable keyboard inputs letter, and mouse pointer is controlled by operating mouse, Either manufacture gesture to control executory application program in contact panel.Gesture can comprising clicking, double-click, singly refer to towing, Refer to towing etc. more, but be not limited to this.Display unit 220 can be comprising display panel (for example, film liquid crystal display panel, organic The panel of light-emitting-diode panel or other tool display capabilities), for showing the letter inputted, numeral, symbol, pulling mouse There is provided watched to user for the picture that motion track, the pattern drawn or application program are provided.
The embodiment of the present invention proposes intelligent disc monitoring method, the memory space for effective hyperdisk.Whole flow process Two parts can be included:The file that will be of little use uploads to high in the clouds storage device;And obtained from separate sources and file opening.
Fig. 3 is the method flow diagram for uploading files to high in the clouds storage device according to the embodiment of the present invention.The method is by platform Processing unit 210 in formula computer 150 is being loaded into and is performing the soft of intelligent disc monitoring module (smart disk monitor) Part is implemented when instructing.Intelligent disc monitoring module is the background program (daemon) that a background is performed, and can not directly be made User controls.During system boot, operating system can start intelligent disc monitoring module.Intelligent disc monitoring module is periodically examined Look into the free space of storage device 240 and the file being of little use is uploaded to high in the clouds storage server 110 when being necessary. Timer can be used, periodically wakes up intelligent disc monitoring module and performs.First, processing unit 210 obtains storage device 240 free space (step S310).In step S310, application program circle that file system is provided can be used in processing unit 210 The free space of storage device 240 is inquired about in face (API, Application Programming Interface).Processing unit 210 then judge whether free space is less than threshold value, and threshold value can carry out configuration, example according to the gross space of storage device 240 Such as, the i% of gross space, i be integer or floating number, can be by user's configuration (step S330).When free space is not less than threshold During value (in step S330 " it is no " path), whole flow process terminates.
When free space be less than threshold value when (in step S330 " be " path), search storage device 240 in be of little use File (step S351), upload the file that is of little use to high in the clouds storage server 110 (step S353), and produce file chain Connect, for pointing to upper transmitting file physical holding of the stock in the address of high in the clouds storage server 110, and store to the Central Plains of storage device 240 First store the logical path (step S355) of upper transmitting file.In step S351, avoiding uploading in operating system needs Vital document and make a mistake, can in advance set up and ignore inventory and be stored in storage device 240, include multiple extension name, example Such as .exe .bin .js etc..Ignore when processing unit 210 detects that the extension name of any file in storage device 240 is contained in In inventory, this file is skipped over.In certain embodiments, the Application Program Interface that file system is provided can be used in processing unit 210 The last access time of each file is inquired about, when the last access time of any file is earlier than preset time, for example, before n days, Before the m months, this file mark can be then the file that is of little use by user's configuration by n, m.In further embodiments, processing unit 210 store files can access database in storage device 240, and the access for recording each file records (access logs).When each file access, a corresponding record is increased newly to file access database.Processing unit 210 can be inquired about and deposited Database is taken, is the file that is of little use for frequency of access to be less than into the file mark of threshold value, for example, be less than q times in p months, P, q can be by user's configurations.In step S353, processing unit 210 can be led to specific communications agreement and high in the clouds storage server 110 Letter, for uploading specified address of the file into high in the clouds storage server 110 that be of little use.In step S355, processing unit 210 can File link is produced in the path that transmitting file was stored originally on, for pointing to this file physical holding of the stock in high in the clouds storage service The address of device 110.Person skilled in the art is appreciated that file link only needs to several byte representations, when file is substituted by file During link, the space of releasable storage device 240 is to alternative document.
Example is enumerated below illustrates the process described above.Fig. 4 is to upload files to high in the clouds according to the embodiment of the present invention The schematic diagram of storage device.Assuming that storage device 240 at least stores six file 410a to 410f:In time point t41, processing is single Member 210 finds that the free space of storage device 240 is less than threshold value (step S330).Then, processing unit 210 searches storage The file being of little use in device 240 is 410c, 410d and 410f (step S351).In order to increase the available sky of storage device 240 Between, in time point t43, file 410c, 410d and 410f that the upload of processing unit 210 is of little use to high in the clouds storage server 110 (step S353), and file link 430c, 430d and 430f are produced, for pointing to upper transmitting file 450c, 450d and 450f reality Border is stored in the address (step S355) of high in the clouds storage server 110.File 410c, 410d and the 410f being of little use distinguished originally Using 30M, 50M and 40M byte, and each of file link 430c, 430d and 430f use about 16 bytes.It is familiar with this skill The people of art can be appreciated that when using file link 430c, 430d and 430f to replace file 450c, 450d and 450f, releasable close The space of 120M bytes.
Fig. 5 is the method flow diagram that simultaneously file opening is obtained from separate sources according to the embodiment of the present invention.The method by Processing unit 210 in desktop computer 150 is implemented when being loaded into related software instruction.(the step after file opening request is received Rapid S510), processing unit 210 judges whether demand file is stored in high in the clouds storage server 110 (step S530).In step S510, logical path and file name of the file opening request bag containing memory cell 240.In step S530, processing unit 210 It can determine whether the file link corresponding to file name whether is stored in the logical path of memory cell 240.If so, representing request text Part is stored in high in the clouds storage server 110.When demand file is not stored in high in the clouds storage server 110 (in step S530 " It is no " path, it is, being stored in the logical path of memory cell 240), processing unit 210 directly using applying journey accordingly Sequence opens the demand file (step S570) stored in logical path.When demand file is stored in high in the clouds storage server 110 (in step S530 " be " path), processing unit 210 is linked from the specified address of high in the clouds storage server 110 according to this file Download file and store to file opening the logical path (step S551) in asking, delete this file link (step S553), And the demand file (step S570) stored in logical path is opened using corresponding application program.
Example is enumerated below illustrates the process described above.Fig. 6 is from high in the clouds storage service according to the embodiment of the present invention Device obtains the schematic diagram of simultaneously file opening.Assuming that in time point t61, processing unit 210 receives the unlatching text that user sends Part asks 600 (step S510).Then, processing unit 210 finds that demand file is stored in the (step of high in the clouds storage server 110 S530).Processing unit 210 downloads file 450c simultaneously according to file link 430c from the specified address of high in the clouds storage server 110 The logical path (step S551) asked in 600 is stored to file opening, and deletes file link 430c (step S553). Time point t63, the demand file 410c stored in logical path is opened using corresponding application program, for responding user's File opening asks 600 (step S570).
Although containing element described above in Fig. 2, be not precluded within do not violate invention spirit under, using it is more its His add ons, have reached more preferably technique effect.In addition, although Fig. 3 and Fig. 5 method flow diagram is using specific order To perform, but in the case of not illegal spirit, person skilled in the art can on the premise of same effect is reached, The order between these steps is changed, so, the invention is not limited in using only order as described above.
Although the present invention is illustrated using above example, it should be noted that these descriptions are not intended to limit The present invention.On the contrary, this invention covers person skilled in the art obviously modification and similar set up.So, right will Asking must explain to include all obvious modifications and similar set up in most broad mode.

Claims (18)

1. a kind of intelligent disc monitoring method, is performed by a processing unit, comprising:
Obtain a free space of a storage device;
When above-mentioned free space is less than first threshold value, searches at least one in above-mentioned storage device and be of little use file;
The above-mentioned file that is of little use is uploaded to a high in the clouds storage server;
File link is produced, transmitting file physical holding of the stock is in the address of above-mentioned high in the clouds storage server in sensing one;And
Store above-mentioned file and link to above-mentioned storage device.
2. intelligent disc monitoring method according to claim 1, it is characterised in that above-mentioned threshold value configuration is above-mentioned storage The i% of one gross space of device, i are integer or floating number.
3. intelligent disc monitoring method according to claim 1, it is characterised in that in above-mentioned storage device is searched extremely Few one be of little use file the step of in, also include:
There is provided one and ignore inventory, include multiple extension name;And
Ignore extension name and be contained in the above-mentioned any file ignored in inventory.
4. intelligent disc monitoring method according to claim 1, it is characterised in that the above-mentioned file that is of little use refers to that its is last File of the access time earlier than a preset time.
5. intelligent disc monitoring method according to claim 1, it is characterised in that the above-mentioned file that is of little use refers to that it is accessed Frequency is less than the file of one second threshold value.
6. intelligent disc monitoring method according to claim 1, it is characterised in that also include:
Receive after file opening request, judge whether a demand file is stored in above-mentioned high in the clouds storage server;
When above-mentioned demand file is stored in above-mentioned high in the clouds storage server, above-mentioned request is downloaded from above-mentioned high in the clouds storage server File simultaneously stores above-mentioned demand file to above-mentioned storage device;And
The above-mentioned demand file in above-mentioned storage device is opened using an application program.
7. intelligent disc monitoring method according to claim 6, it is characterised in that also include:
When above-mentioned demand file is not stored in above-mentioned high in the clouds storage server, directly above-mentioned request is obtained from above-mentioned storage device File.
8. intelligent disc monitoring method according to claim 6, it is characterised in that above-mentioned file opening request bag is containing above-mentioned A logical path and a file name for memory cell, and judge whether a demand file is stored in above-mentioned high in the clouds above-mentioned In the step of storage server, also include:
Judge whether the above-mentioned logical path of said memory cells stores the file link corresponding to above-mentioned file name;And
When the above-mentioned logical path storage of said memory cells is connected corresponding to the above-mentioned file of above-mentioned file name, in judgement State demand file and be stored in above-mentioned high in the clouds storage server.
9. intelligent disc monitoring method according to claim 8, it is characterised in that also include:
The above-mentioned file deleted corresponding to above-mentioned file name is linked.
10. a kind of intelligent disc supervising device, comprising:
One storage device;
One communication interface;And
One processing unit, is connected to above-mentioned storage device and above-mentioned communication interface, obtains a free space of above-mentioned storage device; When above-mentioned free space is less than first threshold value, searches at least one in above-mentioned storage device and be of little use file;By upper State communication interface and upload the above-mentioned file that is of little use to a high in the clouds storage server;File link is produced, is uploaded for pointing to one File physical holding of the stock is in the address of above-mentioned high in the clouds storage server;And the above-mentioned file of storage links to above-mentioned storage device.
11. intelligent disc supervising device according to claim 10, it is characterised in that above-mentioned threshold value configuration is deposited to be above-mentioned The i% of one gross space of storage device, i are integer or floating number.
12. intelligent disc supervising device according to claim 10, it is characterised in that above-mentioned processing unit is also deposited from above-mentioned Storage unit obtains one and ignores inventory, includes multiple extension name;And ignore extension name be contained in it is above-mentioned ignore in inventory appoint One file.
13. intelligent disc supervising device according to claim 10, it is characterised in that the above-mentioned file that is of little use refers to it most File of the access time earlier than a preset time afterwards.
14. intelligent disc supervising device according to claim 10, it is characterised in that the above-mentioned file that is of little use refers to that it is deposited Frequency is taken to be less than the file of one second threshold value.
15. intelligent disc supervising device according to claim 10, it is characterised in that above-mentioned processing unit also receives one After file opening request, judge whether a demand file is stored in above-mentioned high in the clouds storage server;When above-mentioned demand file storage When above-mentioned high in the clouds storage server, download above-mentioned demand file from above-mentioned high in the clouds storage server and store above-mentioned demand file To above-mentioned storage device;And open the above-mentioned demand file in above-mentioned storage device using an application program.
16. intelligent disc supervising device according to claim 15, it is characterised in that above-mentioned processing unit is also asked when above-mentioned When asking the file not to be stored in above-mentioned high in the clouds storage server, directly above-mentioned demand file is obtained from above-mentioned storage device.
17. intelligent disc supervising device according to claim 16, it is characterised in that above-mentioned file opening request bag is containing upper A logical path and a file name for memory cell is stated, and above-mentioned processing unit judges that the above-mentioned of said memory cells is patrolled Whether volume path stores the file link corresponding to above-mentioned file name;And when the above-mentioned logical path of said memory cells When storage is linked corresponding to the above-mentioned file of above-mentioned file name, judge that above-mentioned demand file is stored in above-mentioned high in the clouds storage service Device.
18. intelligent disc supervising device according to claim 17, it is characterised in that above-mentioned processing unit also deletes correspondence Linked in the above-mentioned file of above-mentioned file name.
CN201610108052.XA 2016-02-26 2016-02-26 Intelligent disc monitoring method and the device using this method Pending CN107133139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610108052.XA CN107133139A (en) 2016-02-26 2016-02-26 Intelligent disc monitoring method and the device using this method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610108052.XA CN107133139A (en) 2016-02-26 2016-02-26 Intelligent disc monitoring method and the device using this method

Publications (1)

Publication Number Publication Date
CN107133139A true CN107133139A (en) 2017-09-05

Family

ID=59721570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610108052.XA Pending CN107133139A (en) 2016-02-26 2016-02-26 Intelligent disc monitoring method and the device using this method

Country Status (1)

Country Link
CN (1) CN107133139A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252749A (en) * 2008-03-28 2008-08-27 深圳华为通信技术有限公司 Apparatus and method for processing mobile terminal information
CN102880713A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
CN103218224A (en) * 2013-03-29 2013-07-24 东莞宇龙通信科技有限公司 Method and terminal for improving utilization ratio of memory space
CN103686455A (en) * 2013-11-22 2014-03-26 乐视致新电子科技(天津)有限公司 Video playing method and device based on HLS protocol
US20140337378A1 (en) * 2013-05-07 2014-11-13 Hon Hai Precision Industry Co., Ltd. Movable cloud server and cloud system and method for quickly reading data
CN104199913A (en) * 2014-08-28 2014-12-10 北京金山安全软件有限公司 Terminal resource cleaning method and device and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252749A (en) * 2008-03-28 2008-08-27 深圳华为通信技术有限公司 Apparatus and method for processing mobile terminal information
CN102880713A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
CN103218224A (en) * 2013-03-29 2013-07-24 东莞宇龙通信科技有限公司 Method and terminal for improving utilization ratio of memory space
US20140337378A1 (en) * 2013-05-07 2014-11-13 Hon Hai Precision Industry Co., Ltd. Movable cloud server and cloud system and method for quickly reading data
CN103686455A (en) * 2013-11-22 2014-03-26 乐视致新电子科技(天津)有限公司 Video playing method and device based on HLS protocol
CN104199913A (en) * 2014-08-28 2014-12-10 北京金山安全软件有限公司 Terminal resource cleaning method and device and terminal

Similar Documents

Publication Publication Date Title
CN102246168B (en) Filesystem access for web applications and native code modules
US10332184B2 (en) Personalized application recommendations
CN107908472A (en) Data synchronization unit, method and computer-readable recording medium
CN107038044A (en) The discrete loading method of game resource and system based on Unity3D
US7676557B1 (en) Dynamically adaptive portlet palette having user/context customized and auto-populated content
CN101582767A (en) Authorization control method and authorization server
CN106462430A (en) Method and device for obtaining application upgrade packages
CN104937581A (en) Providing access to information across multiple computing devices
CN105227672B (en) The method and system that data are stored and accessed
CN107656729A (en) Updating device, method and the computer-readable recording medium of List View
CN104765609A (en) Software related resource recommendation method, obtaining method and corresponding device
CN113010476A (en) Metadata searching method, device and equipment and computer readable storage medium
US20140136664A1 (en) Resource based mobile device application streaming
CN105138649A (en) Data search method and device and terminal
Ortiz Embedded databases come out of hiding
CN101374307B (en) Method and apparatus for updating digital content information of mobile equipment
CN112417133A (en) Training method and device of ranking model
CN116842012A (en) Method, device, equipment and storage medium for storing Redis cluster in fragments
CN107133139A (en) Intelligent disc monitoring method and the device using this method
CN115543428A (en) Simulated data generation method and device based on strategy template
US20140136666A1 (en) Enabling fragment-based mobile device application streaming
US11599828B2 (en) Management and operation of loosely coupled internet of things devices
CN115203672A (en) Information access control method and device, computer equipment and medium
US20210286478A1 (en) Dynamic data density display
CN114565316A (en) Task issuing method based on micro-service architecture and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170905

WD01 Invention patent application deemed withdrawn after publication