CN102063338A - Method and device for requesting exclusive resource - Google Patents

Method and device for requesting exclusive resource Download PDF

Info

Publication number
CN102063338A
CN102063338A CN 201010614410 CN201010614410A CN102063338A CN 102063338 A CN102063338 A CN 102063338A CN 201010614410 CN201010614410 CN 201010614410 CN 201010614410 A CN201010614410 A CN 201010614410A CN 102063338 A CN102063338 A CN 102063338A
Authority
CN
China
Prior art keywords
resource
space
identify label
requestor
exclusive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 201010614410
Other languages
Chinese (zh)
Other versions
CN102063338B (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.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 201010614410 priority Critical patent/CN102063338B/en
Publication of CN102063338A publication Critical patent/CN102063338A/en
Priority to PCT/CN2011/078446 priority patent/WO2012088894A1/en
Application granted granted Critical
Publication of CN102063338B publication Critical patent/CN102063338B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • G06F9/526Mutual exclusion algorithms

Abstract

The invention discloses a method and device for requesting an exclusive resource, belonging to the field of computer. The method comprises the following steps: a first space for storing an identifier of a resource requester is preset; the resource requester stores own identifier in the first space according to the storage condition of the first space; after waiting for a first time threshold, the resource requester checks whether the identifier exists in the first space, wherein if the exclusive resource is normally used by a user, the user periodically empties the first space within the first time threshold, and the length of the period for emptying the first space by the user is less than that of the first time threshold; and if the identifier exists in the first space, the resource requester acquires the exclusive resource. The device comprises a storage module, a check module and an acquiring module. Through the invention, the phenomenon that other requesters cannot request the exclusive resource due to user failure can be avoided, and the service life of a storage medium can be prolonged.

Description

A kind of method and device of asking exclusive resource
Technical field
The present invention relates to computer realm, particularly a kind of method and device of asking exclusive resource.
Background technology
Under the Storage Virtualization scene, when user's a virtual machine was monopolized certain resource of use, other virtual machine can not re-use this resource, and wherein, this resource is called as exclusive resource.Any virtual machine need be asked exclusive resource earlier before using exclusive resource.
There is the scheme of following two kinds of request exclusive resources at present, comprises:
First scheme, any virtual machine is when certain exclusive resource of request, need get access to the disk lock of this exclusive resource correspondence earlier, ask this exclusive resource again and utilize this disk lock to pin this exclusive resource, so other virtual machine just can't be asked this exclusive resource again, after using this exclusive resource, discharge the disk lock of this exclusive resource, other virtual machines just can ask to use this exclusive resource then.
Alternative plan, any virtual machine is when certain exclusive resource of request, whether elder generation inspection specific memory space exists takies sign, if not, then obtain this exclusive resource, and when using this exclusive resource, periodically in the specific memory space, write and take sign, if then need to wait for.Wherein, any other virtual machine also will be checked the specific memory space earlier when this exclusive resource of request, and when this virtual machine discharged this exclusive resource, the specific memory space can empty the sign that takies of self storing after writing a period of time that takies sign; Take sign if check out the existence of specific memory space, then need to wait for.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
In above-mentioned first kind of scheme, if using the virtual machine of exclusive resource to break down, then can't carry out the operation of release disk lock, make other other virtual machines can't obtain this exclusive resource forever;
In above-mentioned second kind of scheme, using the user of exclusive resource periodically to write continually and taking sign in the specific memory space, reduce the life-span of storage medium.
Summary of the invention
In life-span for fear of the user who uses exclusive resource breaks down and makes other requestors can't ask exclusive resource and improve storage medium, the invention provides a kind of method and device of asking exclusive resource.Described technical scheme is as follows:
A kind of method of asking exclusive resource sets in advance first space that is used for storage resources requestor identify label, and described method comprises:
Resource requestor is according to the storage condition in first space, and self identify label is stored in described first space;
Described resource requestor checks whether described first space exists the identify label of self after waiting for very first time threshold value; Wherein, if described exclusive resource is normally used by the user, then described user is in described first space of described very first time threshold value intercycle emptying, and described user empties the length in cycle in described first space less than described very first time threshold value;
If exist, then described resource requestor is obtained described exclusive resource.
A kind of device of asking exclusive resource sets in advance first space that is used for storage resources requestor identify label, and described method comprises:
Memory module is used for the storage condition of resource requestor according to first space, and self identify label is stored in described first space;
Check module, after being used for described resource requestor and waiting for very first time threshold value, check whether described first space exists the identify label of self; Wherein, if described exclusive resource is normally used by the user, then described user is in described first space of described very first time threshold value intercycle emptying, and described user empties the length in cycle in described first space less than described very first time threshold value;
Acquisition module, if be used for existing, then described resource requestor is obtained described exclusive resource.
Resource requestor is in request during exclusive resource, and self identify label is stored in first space, wait for very first time threshold value after, check the identify label that whether has self in first space, if exist, then resource requestor is obtained exclusive resource.If the current user who is using exclusive resource breaks down or when unusual, then can't empty first space, thereby make resource requestor can get access to this exclusive resource, and resource requestor is only carried out write operation one time to first space when the request exclusive resource, thereby reduce the frequency that first space is write, the life-span of having improved storage medium.
Description of drawings
Fig. 1 is a kind of method flow diagram of asking exclusive resource that the embodiment of the invention 1 provides;
Fig. 2 is a kind of method flow diagram of asking exclusive resource that the embodiment of the invention 2 provides;
Fig. 3 is a kind of device synoptic diagram of asking exclusive resource that the embodiment of the invention 3 provides.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
The embodiment of the invention provides a kind of method of asking exclusive resource.Wherein, in the present embodiment, set in advance first space that is used for storage resources requestor identify label, referring to Fig. 1, this method comprises:
Step 101: resource requestor is according to the storage condition in first space, and self identify label is stored in first space;
Step 102: resource requestor checks whether first space exists the identify label of self after waiting for very first time threshold value;
Wherein, if exclusive resource is normally used by the user, then the user is in very first time threshold value intercycle emptying first space, and the user empties the length in cycle in first space less than very first time threshold value;
Step 103: if exist, then resource requestor is obtained exclusive resource.
In embodiments of the present invention, resource requestor is in request during exclusive resource, and self identify label is stored in first space, after waiting for very first time threshold value, check the identify label that whether has self in first space, if exist, then resource requestor is obtained exclusive resource.If the current user who is using exclusive resource breaks down or when unusual, then can't empty first space, thereby make resource requestor can get access to this exclusive resource, and resource requestor is only carried out write operation one time to first space when the request exclusive resource, thereby reduce the frequency that first space is write, the life-span of having improved storage medium.
Embodiment 2
As shown in Figure 2, the embodiment of the invention provides a kind of method of asking exclusive resource, comprising:
Step 201: during resource requestor request exclusive resource, check whether first space is empty, and if not, then execution in step 202, if then execution in step 203;
Wherein, first space is used to deposit current identify label and this current resource requestor of exclusive resource of asking of the resource requestor of exclusive resource of asking and does not also get access to exclusive resource.
Step 202: resource requestor judges according to the identify label of the resource requestor of depositing in first space whether corresponding resource requestor also has the capability requests exclusive resource, if can not, if execution in step 203 is energy, then EO;
Particularly, resource requestor is according to the identify label of the resource requestor of depositing in first space, obtain the request time of corresponding resource requestor request exclusive resource, obtain the current time, the mistiming of the request time that calculates the current time and search, judge whether this mistiming surpasses second time threshold, if surpass, then judge the resource requestor impotentia request exclusive resource of the identify label correspondence of first space storage, if do not surpass, then judge the resource requestor of the identify label correspondence of first space storage and have the ability to ask exclusive resource.
Wherein, in the present embodiment, the resource requestor of each request exclusive resource is in request during exclusive resource, and self identify label is stored in first space, also stores the request time of self request exclusive resource simultaneously; In the present embodiment, the corresponding relation that the identify label of a resource requestor and request time can be set is stored the request time of each resource requestor request exclusive resource, be that each resource requestor is when the request exclusive resource, the identify label of self is stored in first space, simultaneously in the identify label and the corresponding relation of the request time identify label that is stored in resource requestor and request time with self.
Correspondingly, resource requestor is obtained the operation of the request time of corresponding resource requestor request exclusive resource according to the identify label of the resource requestor of depositing in first space, can be specially:
Resource requestor is according to the identify label of stored resource requestor in first space, obtains the request time of corresponding resource requestor request exclusive resource from the corresponding relation of the identify label of resource requestor and request time.
Wherein, if the resource requestor of the identify label correspondence of storing in first space does not have the capability requests exclusive resource, the resource requestor that then shows the identify label correspondence of first space storage breaks down in request exclusive resource process or unusually, can't ask and obtain exclusive resource again.
Wherein, in the present embodiment, utilize the identify label of first space and resource requestor and the corresponding relation of request time can guarantee the current effective resource requestor request exclusive resource that has only, thus the protection request process.
Step 203: resource requestor is stored in the identify label of oneself in first space, and self the request time of identify label and request exclusive resource is stored in the resource request identify label and the corresponding relation of request time all;
Wherein, resource requestor can obtain the current time and with its as the request exclusive resource request time.
Wherein, to asking the user of exclusive resource, meeting periodic test first space is empty if check out first space, then represent the current resource requestor request exclusive resource that do not have, if first space is not empty, then expression has resource requestor request exclusive resource, and this moment, the user judged whether self also needs to use exclusive resource, if desired, then empty the identify label of stored resource requestor in first space, if do not need, the exclusive resource of release busy then.
Further, in the present embodiment, the user empties the identify label of stored resource requestor in first space, empties the record in the corresponding relation of the identify label of resource requestor and request time simultaneously.
Further, in the present embodiment, second space can also be set, second space is used to store the current identify label of using the user of exclusive resource, so the exclusive resource of user's release busy is also removed the identify label of self simultaneously from second space.
Wherein, if the current user who is using this exclusive resource breaks down or unusually, then this user just can not check first space and the identify label that empties the first space stored resource requestor on one's own initiative.
If so this exclusive resource has been released is that the current user of not having is using this exclusive resource, the perhaps current user who is using this exclusive resource breaks down or unusually, the space of winning can not be cleared, thereby make the resource requestor of stored resource requestor identify label correspondence in the space of winning to get access to this exclusive resource.
Step 204: resource requestor is checked the identify label that whether has self in first space after waiting for very first time threshold value; If exist, then execution in step 205, if there is no, and EO then;
Wherein, if exclusive resource is normally used by the user, then the user can be in very first time threshold value intercycle emptying first space, and very first time threshold value is greater than checking than the current user who is using this exclusive resource and emptying the length of first space periodic and less than second time threshold.
Wherein, after if resource requestor is waited for very first time threshold value, judge the identify label that also has self in first space, show that then the current user who is using exclusive resource has used exclusive resource and discharged the exclusive resource that has used, show that perhaps the current user who is using exclusive resource breaks down or unusually, can't empty the first space stored resource requestor's identify label.
Wherein, if resource requestor is checked out the identify label that does not have oneself in first space, show that then this exclusive resource is occupied, resource requestor can't take this exclusive resource, resource requestor needs to begin to carry out from step 201 again, promptly asks this exclusive resource again.
Step 205: resource requestor empties identify label and the identify label of resource requestor and the corresponding relation of storing in first space of request time, obtains this exclusive resource of request;
Particularly, empty identify label and the identify label of resource requestor and the corresponding relation of request time stored in first space, if used the user of this exclusive resource to discharge this exclusive resource, then resource requestor is directly obtained the exclusive resource of request, if used the user of exclusive resource to break down or unusually, then resource requestor is seized this exclusive resource that the user that uses this exclusive resource uses.
Further, in the present embodiment, resource requestor is obtained the exclusive resource of request, and the identify label with self simultaneously is stored in second space.
Wherein, if the resource requestor of the identify label correspondence of storing in first space breaks down in the request resource process or unusually, then the resource requestor of the identify label correspondence of storing in first space just can't be obtained this exclusive resource again and empty the identify label of first space and resource requestor and the corresponding relation of request time.
Step 206: resource requestor is used the exclusive resource that obtains, and periodically checks and empty the identify label of the resource requestor of follow-up this exclusive resource of request of storing in first space.
Particularly, resource requestor is used exclusive resource, and periodically check first space, if check out that (explanation does not have follow-up this exclusive resource of resource requestor request for sky in first space, and oneself identify label has been recorded in first space, and note the corresponding relation of identify label and request time), then resource requestor judges whether self also needs to use exclusive resource, if desired, then empty the first space stored resource requestor's identify label and the identify label of resource requestor and the corresponding relation of request time, if do not need, then discharge the exclusive resource of request.
Further, in the present embodiment, resource requestor discharges the exclusive resource of request, simultaneously the identify label of self is removed from second space.
Wherein, be empty if resource requestor is checked out first space, if self also needs to use exclusive resource, then continue to use exclusive resource, if self does not need to use exclusive resource, then discharge the exclusive resource of request.
Wherein, the identify label of first space and resource requestor and the corresponding relation of request time are periodically checked and emptied to resource requestor, thereby can guarantee that the current exclusive resource that is using can not be seized by other resource requestor.
Wherein, if resource requestor breaks down in using the process of this exclusive resource or unusually, then resource requestor just can not empty the identify label of first space and resource requestor and the corresponding relation of request time, from then making other resource requestor can ask this exclusive resource, prevent that this exclusive resource from being hung.
Wherein, in the present embodiment, when asking this exclusive resource at every turn, resource requestor only write operation is carried out in the identify label of first space and resource requestor and the corresponding relation of request time one time, resource requestor and the user that using this exclusive resource just carry out read operation to first and the identify label of resource requestor and the corresponding relation of request time then, thereby reduce the frequency of the corresponding relation of the identify label of first space and resource requestor and request time being carried out write operation widely, from improving the life-span of storage medium.
In embodiments of the present invention, resource requestor is when the request exclusive resource, the identify label of self is stored in first space, after waiting for very first time threshold value, check the identify label that whether has self in first space, if exist, then resource requestor is obtained exclusive resource, and use to get access in the process of exclusive resource, periodically empty the identify label of first space and resource requestor and the corresponding relation of request time.If the current user who is using exclusive resource breaks down or when unusual, then can't empty first space, thereby make resource requestor can get access to this exclusive resource, and resource requestor is only carried out write operation one time to first space when the request exclusive resource, thereby reduce the frequency that first space is write, the life-span of having improved storage medium.
Embodiment 3
The embodiment of the invention provides a kind of device of asking exclusive resource, sets in advance first space that is used for storage resources requestor identify label, as shown in Figure 3, comprising:
Memory module 301 is used for the storage condition of resource requestor according to first space, and self identify label is stored in first space;
Check module 302, be used for after resource requestor is waited for very first time threshold value, checking whether first space exists the identify label of self; Wherein, if exclusive resource is normally used by the user, then the user is in described first space of very first time threshold value intercycle emptying, and the user empties the length in cycle in first space less than very first time threshold value;
Acquisition module 303, if be used for existing, then resource requestor is obtained exclusive resource.
Memory module 301 comprises:
Inspection unit is used to check whether first space is empty, if be empty, then the identify label with resource requestor is stored in first space, and the corresponding relation of storage resources requestor's identify label and request time;
Judging unit, if be used for not for empty, the resource requestor of then judging the identify label correspondence of storing in first space request exclusive resource of whether having the ability, if not, then the identify label with resource requestor is stored in first space, and the corresponding relation of storage resources requestor's identify label and request time.
Judging unit comprises:
Obtain subelement, be used to obtain the request time of resource requestor request exclusive resource of the identify label correspondence of first space storage;
Judgment sub-unit is used to judge whether request time and the difference of current time obtained surpass second time threshold, if surpass, the resource requestor of then judging the identify label correspondence of storing in first space does not have the capability requests exclusive resource; Wherein, second time threshold is greater than very first time threshold value;
Storing sub-units, there is not the capability requests exclusive resource if be used for judging the resource requestor of the identify label correspondence of storing in first space, the identify label of resource requestor is stored in first space, and the corresponding relation of storage resources requestor's identify label and request time.
Further, this device also comprises:
First empties module, is used for emptying the identify label of first space and resource requestor and the corresponding relation of request time when described resource requestor is obtained described exclusive resource.
Further, this device also comprises:
Second empties module, be used for after described resource requestor is obtained described exclusive resource, check periodically whether first space is empty, if be not empty, judge then whether resource requestor also needs to use exclusive resource, if then empty the identify label of first space and resource requestor and the corresponding relation of request time; If not, then discharge exclusive resource.
In embodiments of the present invention, resource requestor is when the request exclusive resource, the identify label of self is stored in first space, after waiting for very first time threshold value, check the identify label that whether has self in first space, if exist, then resource requestor is obtained exclusive resource, and use to get access in the process of exclusive resource, periodically empty the identify label of first space and resource requestor and the corresponding relation of request time.If the current user who is using exclusive resource breaks down or when unusual, then can't empty first space, thereby make resource requestor can get access to this exclusive resource, and resource requestor is only carried out write operation one time to first space when the request exclusive resource, thereby reduce the frequency that first space is write, the life-span of having improved storage medium.
Need to prove: a kind of device of exclusive resource of asking that the foregoing description provides is when the request exclusive resource, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the inner structure that is about to device is divided into different functional modules, to finish all or part of function described above.In addition, the foregoing description provides the device of request exclusive resource and the method embodiment that asks exclusive resource to belong to same design, and its specific implementation process sees method embodiment for details, repeats no more here.
All or part of content in the technical scheme that above embodiment provides can realize that its software program is stored in the storage medium that can read by software programming, storage medium for example: the hard disk in the computing machine, CD or floppy disk.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method of asking exclusive resource is characterized in that, sets in advance first space that is used for storage resources requestor identify label, and described method comprises:
Resource requestor is according to the storage condition in first space, and self identify label is stored in described first space;
Described resource requestor checks whether described first space exists the identify label of self after waiting for very first time threshold value; Wherein, if described exclusive resource is normally used by the user, then described user is in described first space of described very first time threshold value intercycle emptying, and described user empties the length in cycle in described first space less than described very first time threshold value;
If exist, then described resource requestor is obtained described exclusive resource.
2. the method for claim 1 is characterized in that, described resource requestor is according to the storage condition in first space, and self identify label is stored in described first space, comprising:
Described resource requestor checks whether described first space is empty, if be empty, then described resource requestor is stored in the identify label of self in described first space, and stores the identify label of self and the corresponding relation of request time;
If be not empty, then described resource requestor is judged the resource requestor of the identify label correspondence of storing in the described first space described exclusive resource of request of whether having the ability, if not, then described resource requestor is stored in the identify label of self in described first space, and stores the identify label of self and the corresponding relation of request time.
3. method as claimed in claim 2 is characterized in that, described resource requestor judges that whether the resource requestor of the identify label correspondence of storing in described first space has the ability to ask described exclusive resource, comprising:
Described resource requestor is obtained the request time of the resource requestor request exclusive resource of the identify label correspondence of storing in described first space;
Described resource requestor judges whether described request time that obtains and the difference of current time surpass second time threshold, if surpass, the resource requestor of then judging the identify label correspondence of storing in described first space does not have the capability requests exclusive resource;
Wherein, described second time threshold is greater than described very first time threshold value.
4. method as claimed in claim 2 is characterized in that, when described resource requestor was obtained described exclusive resource, described method also comprised:
Described resource requestor empties the corresponding relation of described first space and identify label of having stored and request time.
5. as the arbitrary described method of claim 2-4, it is characterized in that described resource requestor is obtained after the described exclusive resource, also comprises:
Described resource requestor checks periodically whether described first space is empty, if be not empty, judge then whether self also needs to use described exclusive resource, if then empty the identify label of having stored and the corresponding relation and described first space of request time; If not, then discharge described exclusive resource.
6. a device of asking exclusive resource is characterized in that, sets in advance first space that is used for storage resources requestor identify label, and described method comprises:
Memory module is used for the storage condition of resource requestor according to first space, and self identify label is stored in described first space;
Check module, after being used for described resource requestor and waiting for very first time threshold value, check whether described first space exists the identify label of self; Wherein, if described exclusive resource is normally used by the user, then described user is in described first space of described very first time threshold value intercycle emptying, and described user empties the length in cycle in described first space less than described very first time threshold value;
Acquisition module, if be used for existing, then described resource requestor is obtained described exclusive resource.
7. device as claimed in claim 6 is characterized in that, described memory module comprises:
Inspection unit is used to check whether described first space is empty, if be empty, then the identify label with described resource requestor is stored in described first space, and stores the identify label of described resource requestor and the corresponding relation of request time;
Judging unit, if be used for not for empty, the resource requestor of then judging the identify label correspondence of storing in the described first space described exclusive resource of request of whether having the ability, if not, then the identify label with described resource requestor is stored in described first space, and stores the identify label of described resource requestor and the corresponding relation of request time.
8. device as claimed in claim 7 is characterized in that, described judging unit comprises:
Obtain subelement, be used to obtain the request time of resource requestor request exclusive resource of the identify label correspondence of described first space storage;
Judgment sub-unit is used to judge whether described request time that obtains and the difference of current time surpass second time threshold, if surpass, the resource requestor of then judging the identify label correspondence of storing in described first space does not have the capability requests exclusive resource; Wherein, described second time threshold is greater than described very first time threshold value;
Storing sub-units, there is not the capability requests exclusive resource if be used for judging the resource requestor of the identify label correspondence of storing in described first space, the identify label of described resource requestor is stored in described first space, and stores the identify label of described resource requestor and the corresponding relation of request time.
9. device as claimed in claim 7 is characterized in that, described device also comprises:
First empties module, is used for when described resource requestor is obtained described exclusive resource, empties described first space and stored resource requestor's identify label and the corresponding relation of request time.
10. as the arbitrary described device of claim 7-9, it is characterized in that described device also comprises:
Second empties module, is used for after described resource requestor is obtained described exclusive resource, checks periodically whether described first space is empty, if be not empty, judge then whether described resource requestor also needs to use described exclusive resource, if then empty described first space; If not, then discharge described exclusive resource.
CN 201010614410 2010-12-28 2010-12-28 Method and device for requesting exclusive resource Active CN102063338B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 201010614410 CN102063338B (en) 2010-12-28 2010-12-28 Method and device for requesting exclusive resource
PCT/CN2011/078446 WO2012088894A1 (en) 2010-12-28 2011-08-16 Method and device for requesting exclusive resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010614410 CN102063338B (en) 2010-12-28 2010-12-28 Method and device for requesting exclusive resource

Publications (2)

Publication Number Publication Date
CN102063338A true CN102063338A (en) 2011-05-18
CN102063338B CN102063338B (en) 2013-03-20

Family

ID=43998624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010614410 Active CN102063338B (en) 2010-12-28 2010-12-28 Method and device for requesting exclusive resource

Country Status (2)

Country Link
CN (1) CN102063338B (en)
WO (1) WO2012088894A1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012088894A1 (en) * 2010-12-28 2012-07-05 华为技术有限公司 Method and device for requesting exclusive resource
CN104040512A (en) * 2012-12-28 2014-09-10 华为技术有限公司 Method and device for processing storage space and non-volatile computer readable storage medium
CN105653406A (en) * 2015-12-31 2016-06-08 华为技术有限公司 Method for managing distributed storage system and distributed storage system
CN103546433B (en) * 2012-07-12 2017-06-30 阿里巴巴集团控股有限公司 Information synchronization system and method
CN107230153A (en) * 2016-03-24 2017-10-03 平安科技(深圳)有限公司 The method and apparatus for handling policy information
CN107391224A (en) * 2017-06-09 2017-11-24 华为技术有限公司 A kind of creation method of virtual volume, hanging method and device
CN108319496A (en) * 2017-01-18 2018-07-24 阿里巴巴集团控股有限公司 resource access method, service server, distributed system and storage medium
CN108614728A (en) * 2018-04-27 2018-10-02 平安科技(深圳)有限公司 Virtual machine service providing method, device, equipment and computer readable storage medium
CN108885565A (en) * 2016-03-15 2018-11-23 微软技术许可有限责任公司 The operating system of game mode is supported
CN109558205A (en) * 2017-09-25 2019-04-02 南京中兴新软件有限责任公司 Disk access method and device
CN113365116A (en) * 2020-03-04 2021-09-07 青岛海信传媒网络技术有限公司 Audio and video resource management method and device
CN115329400A (en) * 2022-08-04 2022-11-11 北京志凌海纳科技有限公司 Protection processing method for virtual disks in cluster

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006129285A1 (en) * 2005-06-03 2006-12-07 Nxp B.V. Data processing system and method for scheduling the use of at least one exclusive resource
CN1953587A (en) * 2005-10-21 2007-04-25 乐金电子(中国)研究开发中心有限公司 Method and mobile terminal for controlling usage of resouse
US20080184249A1 (en) * 2007-01-30 2008-07-31 International Business Machines Corporation System, method and program for managing locks
US20090185528A1 (en) * 2008-01-10 2009-07-23 Qualcomm Incorporated Shared resource allocation
CN101697136A (en) * 2009-10-27 2010-04-21 金蝶软件(中国)有限公司 Method and device for controlling resource

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1278518C (en) * 2002-12-21 2006-10-04 华为技术有限公司 Multiuser access authority controlled realizing method
US6990560B2 (en) * 2003-01-16 2006-01-24 International Business Machines Corporation Task synchronization mechanism and method
US7506090B2 (en) * 2006-06-14 2009-03-17 Honeywell International Inc. System and method for user-configurable resource arbitration in a process control system
CN102063338B (en) * 2010-12-28 2013-03-20 华为技术有限公司 Method and device for requesting exclusive resource

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006129285A1 (en) * 2005-06-03 2006-12-07 Nxp B.V. Data processing system and method for scheduling the use of at least one exclusive resource
CN1953587A (en) * 2005-10-21 2007-04-25 乐金电子(中国)研究开发中心有限公司 Method and mobile terminal for controlling usage of resouse
US20080184249A1 (en) * 2007-01-30 2008-07-31 International Business Machines Corporation System, method and program for managing locks
US20090185528A1 (en) * 2008-01-10 2009-07-23 Qualcomm Incorporated Shared resource allocation
CN101697136A (en) * 2009-10-27 2010-04-21 金蝶软件(中国)有限公司 Method and device for controlling resource

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012088894A1 (en) * 2010-12-28 2012-07-05 华为技术有限公司 Method and device for requesting exclusive resource
CN103546433B (en) * 2012-07-12 2017-06-30 阿里巴巴集团控股有限公司 Information synchronization system and method
CN104040512A (en) * 2012-12-28 2014-09-10 华为技术有限公司 Method and device for processing storage space and non-volatile computer readable storage medium
CN105653406A (en) * 2015-12-31 2016-06-08 华为技术有限公司 Method for managing distributed storage system and distributed storage system
CN105653406B (en) * 2015-12-31 2019-05-24 华为技术有限公司 A kind of method and distributed memory system managing distributed memory system
CN108885565A (en) * 2016-03-15 2018-11-23 微软技术许可有限责任公司 The operating system of game mode is supported
CN108885565B (en) * 2016-03-15 2021-10-08 微软技术许可有限责任公司 Operating system support for gaming modes
CN107230153A (en) * 2016-03-24 2017-10-03 平安科技(深圳)有限公司 The method and apparatus for handling policy information
CN108319496A (en) * 2017-01-18 2018-07-24 阿里巴巴集团控股有限公司 resource access method, service server, distributed system and storage medium
CN108319496B (en) * 2017-01-18 2022-03-04 阿里巴巴集团控股有限公司 Resource access method, service server, distributed system and storage medium
CN107391224A (en) * 2017-06-09 2017-11-24 华为技术有限公司 A kind of creation method of virtual volume, hanging method and device
CN109558205A (en) * 2017-09-25 2019-04-02 南京中兴新软件有限责任公司 Disk access method and device
CN109558205B (en) * 2017-09-25 2022-11-29 南京中兴新软件有限责任公司 Disk access method and device
CN108614728A (en) * 2018-04-27 2018-10-02 平安科技(深圳)有限公司 Virtual machine service providing method, device, equipment and computer readable storage medium
WO2019205272A1 (en) * 2018-04-27 2019-10-31 平安科技(深圳)有限公司 Virtual machine service providing method, device and equipment and computer readable storage medium
CN113365116A (en) * 2020-03-04 2021-09-07 青岛海信传媒网络技术有限公司 Audio and video resource management method and device
CN113365116B (en) * 2020-03-04 2022-12-13 Vidaa(荷兰)国际控股有限公司 Audio and video resource management method and device
CN115329400A (en) * 2022-08-04 2022-11-11 北京志凌海纳科技有限公司 Protection processing method for virtual disks in cluster

Also Published As

Publication number Publication date
WO2012088894A1 (en) 2012-07-05
CN102063338B (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN102063338B (en) Method and device for requesting exclusive resource
JP5510556B2 (en) Method and system for managing virtual machine storage space and physical hosts
US8583756B2 (en) Dynamic configuration and self-tuning of inter-nodal communication resources in a database management system
US8850156B2 (en) Method and system for managing virtual machine storage space and physical host
KR101357397B1 (en) Method for tracking memory usages of a data processing system
WO2018059079A1 (en) Memory management method and apparatus
WO2015169145A1 (en) Memory management method and device
CN106547612A (en) A kind of multi-task processing method and device
CN108900626B (en) Data storage method, device and system in cloud environment
WO2021093365A1 (en) Gpu video memory management control method and related device
JP5796722B2 (en) Computer server capable of supporting CPU virtualization
CN110647392A (en) Intelligent elastic expansion method based on container cluster
CN109324983A (en) A kind of method, storage medium, equipment and the system of automatic cleaning cache file
CN111897666A (en) Method, device and system for communication among multiple processes
CN105677481B (en) A kind of data processing method, system and electronic equipment
CN113342554B (en) IO multiplexing method, medium, device and operating system
CN114389955A (en) Embedded platform heterogeneous resource pooling management method
CN111580951A (en) Task allocation method and resource management platform
CN112596669A (en) Data processing method and device based on distributed storage
CN103778002A (en) Method and device for recycling critical resources in multi-core system
CN116820748A (en) Method and system for managing session resources of password card
CN114327862B (en) Memory allocation method and device, electronic equipment and storage medium
US20050223383A1 (en) Methods and apparatus for reserving an execution thread
CN117435343A (en) Memory management method and device
CN113961378A (en) Inter-process communication method and device based on shared memory and electronic equipment

Legal Events

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

Effective date of registration: 20220216

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right