CN105988712B - A kind of Dropbox space calculation method and device - Google Patents

A kind of Dropbox space calculation method and device Download PDF

Info

Publication number
CN105988712B
CN105988712B CN201510042405.6A CN201510042405A CN105988712B CN 105988712 B CN105988712 B CN 105988712B CN 201510042405 A CN201510042405 A CN 201510042405A CN 105988712 B CN105988712 B CN 105988712B
Authority
CN
China
Prior art keywords
operating side
dropbox
queue lists
space
queue
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510042405.6A
Other languages
Chinese (zh)
Other versions
CN105988712A (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.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Jinshan Mobile Technology Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Jinshan Mobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd, Guangzhou Jinshan Mobile Technology Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201510042405.6A priority Critical patent/CN105988712B/en
Publication of CN105988712A publication Critical patent/CN105988712A/en
Application granted granted Critical
Publication of CN105988712B publication Critical patent/CN105988712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of Dropbox space calculation method and devices, it solves and the once-through operation just calculating whether enough designs of memory space in real time is carried out in network hard disc by user at present, the calculating of memory space is just carried out due to operating each time, so that the server moment is in the working condition of intensive, so that the work of highly energy-consuming easily leads to the impaired technical problem of server.The calculation method step of the embodiment of the present invention includes: to obtain the queue lists for being added with operating side ID, and operating side ID is corresponding with the operational order that Dropbox is operated;Queue lists are scanned, and according to be introduced into sequence successively extract queue lists in operating side ID;During successively extracting, space calculating, and all information of delete operation end ID in current queue list are carried out to the corresponding Dropbox of the operating side ID extracted every time.

Description

A kind of Dropbox space calculation method and device
Technical field
The present invention relates to technical field of the computer network more particularly to a kind of Dropbox space calculation method and devices.
Background technique
Network hard disc is a kind of online storage service, provides a user the files such as the storage of file, access, backup, shared The functions such as management.User can regard Dropbox as the hard disk or USB flash disk that one is placed on network, regardless of you be at home, unit or It is other Anywhere, as long as you are connected to internet, you can be managed, edit file in Dropbox.It does not need to carry, Be not afraid of loss more, meanwhile, network hard disc also has corresponding memory space to limit, for example, corresponding to user name itself network it is hard Disk has unique memory space.
Currently, the limitation for network hard disc memory space, is usually once grasped in network hard disc by user When making, it is whether enough that memory space is just calculated in real time.
However it is above-mentioned by user in network hard disc carry out once-through operation just in real time calculate memory space it is whether enough Design, due to operate each time just carry out memory space calculating so that the server moment is in the work shape of intensive State, so that the work of highly energy-consuming easily leads to the impaired technical problem of server.
Summary of the invention
The embodiment of the invention provides a kind of Dropbox space calculation method and device, solve at present by user in network Once-through operation is carried out in hard disk and just calculates the whether enough designs of memory space in real time, just carries out storage sky due to operating each time Between calculating so that the server moment is in the working condition of intensive, thus the work of highly energy-consuming easily lead to server by The technical issues of damage.
A kind of Dropbox space calculation method provided in an embodiment of the present invention, comprising:
The queue lists for being added with operating side ID are obtained, the operating side ID is opposite with the operational order that Dropbox is operated It answers;
The queue lists are scanned, and successively extract the behaviour in the queue lists according to sequence is introduced into Make end ID;
During successively extracting, the Dropbox corresponding to the operating side ID extracted every time carries out space meter It calculates, and deletes all information of operating side ID in presently described queue lists.
Preferably, in above-mentioned Dropbox space calculation method,
The queue lists for being added with operating side ID are obtained, the operating side ID is opposite with the operational order that Dropbox is operated It should specifically include:
The queue lists for being added with operating side ID are obtained every preset time period, the operating side ID is operated with Dropbox Operational order it is corresponding.
Preferably, in above-mentioned Dropbox space calculation method,
The queue lists for being added with operating side ID are obtained, the operating side ID is opposite with the operational order that Dropbox is operated Before answering further include:
Continuously acquire the queue lists added with operating side ID, the operational order that the operating side ID and Dropbox are operated It is corresponding.
Preferably, in above-mentioned Dropbox space calculation method,
During successively extracting, the Dropbox corresponding to the operating side ID extracted every time carries out space meter It calculates, and deletes all information of operating side ID in presently described queue lists and specifically include:
The Dropbox corresponding to the operating side ID of extraction carries out space calculating, and in presently described queue lists Delete all information of operating side ID;
Judge whether the queue lists empty, if so, terminating Dropbox space calculating operation, if it is not, then returning to upper one The step Dropbox corresponding to the operating side ID of next extraction carries out space calculating, and deletes in the queue lists Except all information of operating side ID of next extraction.
Preferably, in above-mentioned Dropbox space calculation method,
The operational order includes newly-built operation, delete operation and updates operation.
A kind of Dropbox space computing device provided in an embodiment of the present invention, comprising:
Adding unit, for obtaining the queue lists for being added with operating side ID, the operating side ID is operated with Dropbox Operational order it is corresponding;
Scanning element successively extracts the queue for being scanned to the queue lists, and according to sequence is introduced into The operating side ID in list;
Computing unit is used for during successively extracting, to the corresponding net of the operating side ID extracted every time Disk carries out space calculating, and all information of operating side ID are deleted in presently described queue lists.
Preferably, in above-mentioned Dropbox space computing device,
The adding unit includes:
First addition subelement, for obtaining the queue lists for being added with operating side ID, the behaviour every preset time period It is corresponding with the operational order that Dropbox is operated to make end ID.
Preferably, in above-mentioned Dropbox space computing device,
The adding unit includes:
Second addition subelement, for continuously acquiring the queue lists for being added with operating side ID, the operating side ID and net The operational order that disk is operated is corresponding.
Preferably, in above-mentioned Dropbox space computing device,
The computing unit specifically includes:
Computation subunit for carrying out space calculating to the corresponding Dropbox of the operating side ID of extraction, and is being worked as All information of operating side ID are deleted in the preceding queue lists;
Judgment sub-unit, for judging whether the queue lists empty, if so, terminate Dropbox space calculating operation, If it is not, then triggering the computation subunit Dropbox corresponding to the operating side ID of next extraction again carries out space It calculates, and deletes all information of operating side ID of next extraction in the queue lists.
Preferably, in above-mentioned Dropbox space computing device, the operational order includes newly-built operation, delete operation and more New operation.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
A kind of Dropbox space calculation method provided in an embodiment of the present invention and device, wherein Dropbox space calculation method step It suddenly include: to obtain the queue lists for being added with operating side ID, operating side ID is corresponding with the operational order that Dropbox is operated;It is right Queue lists are scanned, and according to be introduced into sequence successively extract queue lists in operating side ID;In the mistake successively extracted Cheng Zhong carries out space calculating, and the delete operation end in current queue list to the corresponding Dropbox of the operating side ID extracted every time All information of ID.It in the present embodiment, is scanned to added with the queue lists of operating side ID, and according to being introduced into sequence successively The operating side ID in queue lists is extracted, and during successively extracting, to the corresponding Dropbox of operating side ID extracted every time Space calculating, and all information of delete operation end ID in current queue list are carried out, are just realized as unit of the ID of operating side Calculating, the technical issues of avoiding the multiple calculating due to caused by multi-pass operation in short time of the same operating side ID, Meanwhile it correspondingly solving and carrying out whether enough once-through operation just calculates memory space in real time in network hard disc by user at present Enough designs just carry out the calculating of memory space due to operating each time, so that the server moment is in the work of intensive State, so that the work of highly energy-consuming easily leads to the impaired technical problem of server.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of process signal of one embodiment of the Dropbox space calculation method provided in the embodiment of the present invention Figure;
Fig. 2 is a kind of process signal of another embodiment of the Dropbox space calculation method provided in the embodiment of the present invention Figure;
Fig. 3 is a kind of structural representation of one embodiment of the Dropbox space computing device provided in the embodiment of the present invention Figure;
Fig. 4 is a kind of structural representation of another embodiment of the Dropbox space computing device provided in the embodiment of the present invention Figure.
Specific embodiment
The embodiment of the invention provides a kind of Dropbox space calculation method and device, solve at present by user in network Once-through operation is carried out in hard disk and just calculates the whether enough designs of memory space in real time, just carries out storage sky due to operating each time Between calculating so that the server moment is in the working condition of intensive, thus the work of highly energy-consuming easily lead to server by The technical issues of damage.
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention Range.
Referring to Fig. 1, a kind of one embodiment of the Dropbox space calculation method provided in the embodiment of the present invention includes:
101, the queue lists for being added with operating side ID are obtained;
In the present embodiment, when needing the space to Dropbox to calculate, need to obtain the queue for being added with operating side ID List, operating side ID are corresponding with the operational order that Dropbox is operated, it is to be understood that operating side ID above-mentioned can be with It is user name ID etc..
It should be noted that needing to establish for storing up in the present embodiment before needing the space to Dropbox to calculate The queue lists of the operating side ID of row operation, such as user list are deposited into, often have an operating side ID to carry out once-through operation, then queue It needs once to be recorded operating side ID in list.
102, queue lists are scanned, and according to be introduced into sequence successively extract queue lists in operating side ID;
After obtaining the queue lists for being added with operating side ID, need to be scanned queue lists, and according to advanced Enter the operating side ID sequentially successively extracted in queue lists.
It is understood that the sequence above-mentioned that is introduced into can be by queue lists, such as the row of queue lists Sequence sequence be from top to bottom or/and from front to back, or vice versa under it is supreme or/and from back to front according to all operating side ID with its The sequence that corresponding Dropbox is operated at first enters in queue lists.
103, during successively extracting, space calculating is carried out to the corresponding Dropbox of the operating side ID extracted every time, and All information of delete operation end ID in current queue list.
Be scanned when to queue lists, and according to be introduced into sequence successively extract queue lists in operating side ID it Afterwards, it needs during successively extracting, space calculating is carried out to the corresponding Dropbox of the operating side ID extracted every time, and current ID all information in delete operation end in queue lists.
It should be noted that it is above-mentioned during successively extracting, to the corresponding Dropbox of operating side ID extracted every time Carry out space calculating, and all information of delete operation end ID in current queue list, can be when in queue lists according to elder generation The arrangement of entering order such as operating side ID is respectively the record of c user, b user, a user, b user, a user, a user, then first The record of all c users in queue lists is extracted, and the space of Dropbox corresponding to c user is calculated in time, and The record of all c users in the queue lists extracted is deleted, the subsequent meter for carrying out operating side ID in queue lists is carried out It calculates, it is to be understood that the detailed process above-mentioned for carrying out the subsequent calculating that operating side ID is carried out in queue lists will be It is described in detail in subsequent embodiment, just repeats no more herein.
In the present embodiment, the queue lists added with operating side ID are scanned, and is successively mentioned according to sequence is introduced into Take the operating side ID in queue lists, and during successively extracting, to the corresponding Dropbox of operating side ID extracted every time into Row space calculates, and all information of delete operation end ID in current queue list, just realizes as unit of the ID of operating side The technical issues of calculating, avoiding the multiple calculating due to caused by multi-pass operation in the short time of the same operating side ID, together When, correspondingly solve at present by user is carried out in network hard disc once-through operation just in real time calculating memory space it is whether enough Design, due to operate each time just carry out memory space calculating so that the server moment is in the work shape of intensive State, so that the work of highly energy-consuming easily leads to the impaired technical problem of server.
The above is that the process of Dropbox space calculation method is described in detail, and will be swept below to queue lists It retouches, and be described in detail according to the process for sequentially successively extracting the operating side ID in queue lists is introduced into, please refers to figure 2, a kind of one embodiment of the Dropbox space calculation method provided in the embodiment of the present invention includes:
201, the queue lists for being added with operating side ID are obtained;
In the present embodiment, when needing the space to Dropbox to calculate, need to obtain the queue for being added with operating side ID List, operating side ID are corresponding with the operational order that Dropbox is operated, it is to be understood that operating side ID above-mentioned can be with It is user name ID etc., operational order above-mentioned includes newly-built operation, delete operation and updates operation.
It should be noted that needing to establish for storing up in the present embodiment before needing the space to Dropbox to calculate The queue lists of the operating side ID of row operation, such as user list are deposited into, often have an operating side ID to carry out once-through operation, then queue It needs once to be recorded operating side ID in list.
It should be noted that above-mentioned obtain the queue lists for being added with operating side ID, can be every preset time period The queue lists for being added with operating side ID are obtained, or continuously acquire the queue lists added with operating side ID, it is each preset Period and continuous situation will be described in detail in subsequent step again, and details are not described herein again.
202, queue lists are scanned, and according to be introduced into sequence successively extract queue lists in operating side ID;
After obtaining the queue lists for being added with operating side ID, need to be scanned queue lists, and according to advanced Enter the operating side ID sequentially successively extracted in queue lists.
It is understood that the sequence above-mentioned that is introduced into can be by queue lists, such as the row of queue lists Sequence sequence be from top to bottom or/and from front to back, or vice versa under it is supreme or/and from back to front according to all operating side ID with its The sequence that corresponding Dropbox is operated at first enters in queue lists.
203, space calculating, and the delete operation in current queue list are carried out to the corresponding Dropbox of the operating side ID of extraction Hold all information of ID;
Be scanned when to queue lists, and according to be introduced into sequence successively extract queue lists in operating side ID it Afterwards, need to carry out the operating side ID of extraction corresponding Dropbox space calculating, and the delete operation end ID in current queue list All information.
It should be noted that above-mentioned carry out space calculating to the corresponding Dropbox of the operating side ID of extraction, and in current team ID all information in delete operation end in column list, can be when in queue lists according to the arrangement such as operating side ID for being introduced into sequence The respectively record of c user, b user, a user, b user, a user, a user, the then all c first extracted in queue lists are used The record at family, and the space of Dropbox corresponding to c user being calculated in time, and delete all in the queue lists of extraction The record of c user.
204, judge whether queue lists empty, if so, 205 are thened follow the steps, if it is not, then repeating step 203;
When carrying out space calculating, and the delete operation end in current queue list to the corresponding Dropbox of the operating side ID of extraction After all information of ID, judge whether queue lists empty, if so, 205 are thened follow the steps, if it is not, then repeating step 203, i.e., Space calculating is carried out to return to previous step to the corresponding Dropbox of the operating side ID of next extraction, and is deleted in queue lists All information of operating side ID of next extraction.
It should be noted that judgement queue lists above-mentioned do not empty, if so, repeating step 203, it can be and work as queue It according to the arrangement such as operating side ID for being introduced into sequence is respectively c user, b user, a user, b user, a user, a user in list Record, then first extract the record of all c users in queue lists, and in time to the space of Dropbox corresponding to c user It is calculated, and deletes the record of all c users in the queue lists of extraction, then judge that queue lists do not empty, then to b The space of Dropbox corresponding to user calculates, and deletes the record of all b users in the queue lists of extraction, successively directly To after judging that queue lists empty, step 205 is executed.
It must be noted that queue lists above-mentioned change always, for example calculate c user now, at the same time c User may also constantly operate, and at this time the operation of c finally enters queue lists, after finishing to c calculating, entire team Column c user all deletes, if horse back c user comes in again, c user can only be waited in queue tail, if used deleting c It gets into queue in a flash before family, then will be deleted, if it is just getting into a flash after deletion, just in team In column list.
205, terminate Dropbox space calculating operation.
After judging that queue lists empty, then terminate Dropbox space calculating operation.
It should be noted that in the present embodiment, after end Dropbox space calculating operation above-mentioned, can be every Preset time period or continuous repetition step 201, e.g. when the Dropbox system non-busy stage, possible noncontinuity has behaviour Make, therefore can be according to the property of its Dropbox system is that server further decreases working frequency.
In the present embodiment, the queue lists added with operating side ID are scanned, and is successively mentioned according to sequence is introduced into Take the operating side ID in queue lists, and during successively extracting, to the corresponding Dropbox of operating side ID extracted every time into Row space calculates, and all information of delete operation end ID in current queue list, just realizes as unit of the ID of operating side The technical issues of calculating, avoiding the multiple calculating due to caused by multi-pass operation in the short time of the same operating side ID, together When, correspondingly solve at present by user is carried out in network hard disc once-through operation just in real time calculating memory space it is whether enough Design, due to operate each time just carry out memory space calculating so that the server moment is in the work shape of intensive State, so that the work of highly energy-consuming easily leads to the impaired technical problem of server, meanwhile, judge whether queue lists empty, if so, Then terminate Dropbox space calculating operation, if it is not, then return previous step to the corresponding Dropbox of operating side ID of next extraction into Row space calculates, and deletes in queue lists the design of all information of operating side ID of next extraction, passes through and determines queue Whether list empties, and correspondingly to be operated, the frequent modified space for not only realizing big data quantity is calculated, meanwhile, The perfect calculating in the frequent modified Dropbox space of big data quantity.
Referring to Fig. 3, a kind of one embodiment of the Dropbox space computing device provided in the embodiment of the present invention includes:
Adding unit 301, for obtaining the queue lists for being added with operating side ID, what operating side ID and Dropbox were operated Operational order is corresponding;
Scanning element 302 is successively extracted in queue lists for being scanned to queue lists, and according to sequence is introduced into Operating side ID;
Computing unit 303, for being carried out to the corresponding Dropbox of the operating side ID extracted every time during successively extracting Space calculates, and all information of delete operation end ID in current queue list.
In the present embodiment, scanning element 302 is scanned to added with the queue lists of operating side ID, and according to being introduced into Sequence successively extract queue lists in operating side ID, and computing unit 303 successively extract during, to what is extracted every time ID corresponding Dropbox in operating side carries out space calculating, and all information of delete operation end ID in current queue list, just realizes Calculating as unit of the ID of operating side avoids more due to caused by multi-pass operation in the short time of same operating side ID The technical issues of secondary calculating, meanwhile, correspondingly solve at present that once-through operation is carried out in network hard disc is just real-time by user The whether enough designs of memory space are calculated, the calculating of memory space are just carried out due to operating each time, so that the server moment Working condition in intensive, so that the work of highly energy-consuming easily leads to the impaired technical problem of server.
The above is that each unit of Dropbox space computing device is described in detail, below by each son to computing unit Unit is described in detail, referring to Fig. 4, an a kind of reality of the Dropbox space computing device provided in the embodiment of the present invention Applying example includes:
Adding unit 401, for obtaining the queue lists for being added with operating side ID, what operating side ID and Dropbox were operated Operational order is corresponding, and operational order above-mentioned includes newly-built operation, delete operation and updates operation;
Wherein, adding unit 401 can further include:
First addition subelement 4011, for obtaining the queue lists for being added with operating side ID, behaviour every preset time period It is corresponding with the operational order that Dropbox is operated to make end ID.
And/or
Second addition subelement 4012, for continuously acquiring the queue lists for being added with operating side ID, operating side ID and net The operational order that disk is operated is corresponding.
Scanning element 402 is successively extracted in queue lists for being scanned to queue lists, and according to sequence is introduced into Operating side ID;
Computing unit 403, for being carried out to the corresponding Dropbox of the operating side ID extracted every time during successively extracting Space calculates, and all information of delete operation end ID in current queue list.
Wherein, computing unit 403 can further include:
Computation subunit 4031, for carrying out space calculating to the corresponding Dropbox of the operating side ID of extraction, and in current team ID all information in delete operation end in column list;
Judgment sub-unit 4032, for judging whether queue lists empty, if so, terminate Dropbox space calculating operation, If it is not, then triggering computation subunit 4031 carries out space calculating to the corresponding Dropbox of the operating side ID of next extraction again, and All information of operating side ID of next extraction are deleted in queue lists.
In the present embodiment, scanning element 402 is scanned to added with the queue lists of operating side ID, and according to being introduced into Sequence successively extract queue lists in operating side ID, and computing unit 403 successively extract during, to what is extracted every time ID corresponding Dropbox in operating side carries out space calculating, and all information of delete operation end ID in current queue list, just realizes Calculating as unit of the ID of operating side avoids more due to caused by multi-pass operation in the short time of same operating side ID The technical issues of secondary calculating, meanwhile, correspondingly solve at present that once-through operation is carried out in network hard disc is just real-time by user The whether enough designs of memory space are calculated, the calculating of memory space are just carried out due to operating each time, so that the server moment Working condition in intensive, so that the work of highly energy-consuming easily leads to the impaired technical problem of server, meanwhile, it calculates single The judgment sub-unit 4032 of member 403 judges whether queue lists empty, if so, terminating Dropbox space calculating operation, if it is not, then It returns to previous step and space calculating is carried out to the corresponding Dropbox of the operating side ID of next extraction, and in queue lists under deletion The design of all information of operating side ID of one extraction, by determining whether queue lists empty, correspondingly to be operated, no The frequent modified space for only realizing big data quantity calculates, meanwhile, the perfect frequent modified Dropbox of big data quantity The calculating in space.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (8)

1. a kind of Dropbox space calculation method characterized by comprising
The queue lists for being added with operating side ID are obtained, the operating side ID is corresponding with the operational order that Dropbox is operated;
The queue lists are scanned, and successively extract the operating side in the queue lists according to sequence is introduced into ID;
The Dropbox corresponding to the operating side ID of extraction carries out space calculating, and deletes in presently described queue lists All information of operating side ID;
Judge whether the queue lists empty, if so, terminating Dropbox space calculating operation, if it is not, then returning to previous step The Dropbox corresponding to the operating side ID of next extraction carries out space calculating, and in the queue lists under deletion All information of operating side ID of one extraction.
2. Dropbox space according to claim 1 calculation method, which is characterized in that obtain the queue for being added with operating side ID List, the operating side ID is corresponding with the operational order that Dropbox is operated to be specifically included:
The queue lists for being added with operating side ID, the behaviour that the operating side ID and Dropbox are operated are obtained every preset time period It is corresponding to make instruction.
3. Dropbox space according to claim 1 calculation method, which is characterized in that obtain the queue for being added with operating side ID List, before the operating side ID is corresponding with the operational order that Dropbox is operated further include:
The queue lists added with operating side ID are continuously acquired, the operating side ID is opposite with the operational order that Dropbox is operated It answers.
4. Dropbox space as claimed in any of claims 1 to 3 calculation method, which is characterized in that the operation refers to Enable includes newly-built operation, delete operation and update operation.
5. a kind of Dropbox space computing device characterized by comprising
Adding unit, for obtaining the queue lists for being added with operating side ID, the behaviour that the operating side ID and Dropbox are operated It is corresponding to make instruction;
Scanning element successively extracts the queue lists for being scanned to the queue lists, and according to sequence is introduced into In the operating side ID;
Computing unit, the computing unit specifically include:
Computation subunit, for carrying out space calculating to the corresponding Dropbox of the operating side ID of extraction, and in current institute It states and deletes all information of operating side ID in queue lists;
Judgment sub-unit, for judging whether the queue lists empty, if so, terminate Dropbox space calculating operation, if it is not, The computation subunit Dropbox corresponding to the operating side ID of next extraction is then triggered again carries out space calculating, And all information of operating side ID of next extraction are deleted in the queue lists.
6. Dropbox space according to claim 5 computing device, which is characterized in that the adding unit includes:
First addition subelement, for obtaining the queue lists for being added with operating side ID, the operating side every preset time period ID is corresponding with the operational order that Dropbox is operated.
7. Dropbox space according to claim 5 computing device, which is characterized in that the adding unit includes:
Second addition subelement, for continuously acquiring the queue lists for being added with operating side ID, the operating side ID and Dropbox into The operational order of row operation is corresponding.
8. the Dropbox space computing device according to any one of claim 5 to 7, which is characterized in that the operation refers to Enable includes newly-built operation, delete operation and update operation.
CN201510042405.6A 2015-01-27 2015-01-27 A kind of Dropbox space calculation method and device Active CN105988712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510042405.6A CN105988712B (en) 2015-01-27 2015-01-27 A kind of Dropbox space calculation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510042405.6A CN105988712B (en) 2015-01-27 2015-01-27 A kind of Dropbox space calculation method and device

Publications (2)

Publication Number Publication Date
CN105988712A CN105988712A (en) 2016-10-05
CN105988712B true CN105988712B (en) 2019-01-25

Family

ID=57034944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510042405.6A Active CN105988712B (en) 2015-01-27 2015-01-27 A kind of Dropbox space calculation method and device

Country Status (1)

Country Link
CN (1) CN105988712B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399095B (en) * 2019-06-12 2022-12-02 厦门网宿有限公司 Storage space statistical method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6647415B1 (en) * 1999-09-30 2003-11-11 Hewlett-Packard Development Company, L.P. Disk storage with transparent overflow to network storage
CN103401902A (en) * 2013-07-18 2013-11-20 深圳先进技术研究院 Portable cloud storage system and method
CN103491191A (en) * 2013-09-30 2014-01-01 深圳市龙视传媒有限公司 Method and system for expanding space capacity of personal network disk

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100337218C (en) * 2005-02-23 2007-09-12 北京邦诺存储科技有限公司 Data managing method for network storage system and network storage system constituted thereby

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6647415B1 (en) * 1999-09-30 2003-11-11 Hewlett-Packard Development Company, L.P. Disk storage with transparent overflow to network storage
CN103401902A (en) * 2013-07-18 2013-11-20 深圳先进技术研究院 Portable cloud storage system and method
CN103491191A (en) * 2013-09-30 2014-01-01 深圳市龙视传媒有限公司 Method and system for expanding space capacity of personal network disk

Also Published As

Publication number Publication date
CN105988712A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
CN107229721B (en) A kind of method and device changing data pick-up
CN105450705B (en) Business data processing method and equipment
CN103995855B (en) The method and apparatus of data storage
CN110290217A (en) Processing method and processing device, storage medium and the electronic device of request of data
CN106557494B (en) Update the method and device of column storage table
CN105657644B (en) A kind of data main card setting method and terminal
CN109194707A (en) The method and device of distribution figure insertion
CN102223453A (en) High performance queueless contact center
CN107256387A (en) Fingerprint verification method, system and computer-readable recording medium
CN107656807A (en) The automatic elastic telescopic method and device of a kind of virtual resource
CN111258680B (en) Resource loading method and device, storage medium and electronic device
CN107430582A (en) Thin client system, connection management device, virtual machine operations device, method and storage medium
CN105119763A (en) RIA-based Web network management client big data rapid export method and system
CN110052035A (en) The recording method of chat message and device, storage medium, electronic device in game
CN108132831A (en) The processing method and processing unit of task
CN110362257A (en) A kind of data processing method, methods of exhibiting and client
CN106302421B (en) A kind of information intercepting processing method and device
CN108550057A (en) It attends a banquet request processing method, electronic device, the computer readable storage medium of answering questions
CN105988712B (en) A kind of Dropbox space calculation method and device
CN107220251A (en) Generate the method and device of description information
CN108228339A (en) A kind of method for recovering internal storage and device, terminal device and computer readable storage medium
CN110175240A (en) Construction method, device and the storage medium of knowledge mapping relevant to outgoing call process
CN110083504A (en) The running state monitoring method and device of distributed task scheduling
CN104796451B (en) Data processing method and device for the Internet, applications
CN110874189B (en) Storage system and storage control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Applicant after: Zhuhai Kingsoft Office Software Co., Ltd.

Applicant after: Beijing Kingsoft office software Limited by Share Ltd

Applicant after: GUANGZHOU JINSHAN JINSHAN MOBILE TECHNOLOGY CO., LTD.

Address before: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Applicant before: Zhuhai Kingsoft Office Software Co., Ltd.

Applicant before: Beijing Kingsoft WPS Office Co., Ltd.

Applicant before: GUANGZHOU JINSHAN JINSHAN MOBILE TECHNOLOGY CO., LTD.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant