[go: up one dir, main page]

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

Method and device for requesting exclusive resource Download PDF

Info

Publication number
CN102063338B
CN102063338B CN 201010614410 CN201010614410A CN102063338B CN 102063338 B CN102063338 B CN 102063338B CN 201010614410 CN201010614410 CN 201010614410 CN 201010614410 A CN201010614410 A CN 201010614410A CN 102063338 B CN102063338 B CN 102063338B
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.)
Active
Application number
CN 201010614410
Other languages
Chinese (zh)
Other versions
CN102063338A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)
  • Computer And Data Communications (AREA)

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 of requesting exclusive resource and device
Technical field
The present invention relates to computer realm, particularly a kind of method of requesting exclusive resource and device.
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 needed first request to exclusive resource before using exclusive resource.
There is at present the scheme of following two kinds of requesting exclusive resources, comprises:
The first scheme, any virtual machine is when certain exclusive resource of request, need to get access to first disk lock corresponding to this exclusive resource, ask again this exclusive resource 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, then other virtual machines just can ask to use this exclusive resource.
Alternative plan, any virtual machine is when certain exclusive resource of request, checking first whether specific storage space exists takies sign, if not, then obtain this exclusive resource, and when using this exclusive resource, periodically write in the specific storage space and take sign, if so, then need to wait for.Wherein, any other virtual machine also will check first specific storage space when this exclusive resource of request, and when this virtual machine discharged this exclusive resource, specific storage space can empty the sign that takies of self storing after writing a period of time that takies sign; Take sign if check out specific storage space existence, 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 the first scheme, if using the virtual machine of exclusive resource to break down, then can't carry out the operation of release disk lock, so that other other virtual machines can't obtain this exclusive resource forever;
In above-mentioned first scheme, the user who is using exclusive resource periodically writes continually at specific storage space and takies sign, reduces the life-span of storage medium.
Summary of the invention
Break down and life-span of making other requestors can't requesting exclusive resource and improve storage medium for fear of the user who uses exclusive resource, the invention provides a kind of method and device of requesting exclusive resource.Described technical scheme is as follows:
A kind of method of requesting exclusive resource sets in advance the first space for storage resources requestor identify label, and described method comprises:
Resource requestor is according to the storage condition in the first space, and self identify label is stored in described the first space;
Described resource requestor checks whether described the 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 periodically empties described the first space in described very first time threshold value, and described user empties the length in cycle in described the 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 requesting exclusive resource sets in advance the first space for storage resources requestor identify label, and described device comprises:
Memory module is used for resource requestor according to the storage condition in the first space, and self identify label is stored in described the first space;
Checking module after described resource requestor wait very first time threshold value, checks whether described the first space exists the identify label of self; Wherein, if described exclusive resource is normally used by the user, then described user periodically empties described the first space in described very first time threshold value, and described user empties the length in cycle in described the 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 stored in self identify label in the first space when requesting exclusive resource, wait for very first time threshold value after, check the identify label that whether has self in the 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 the first space, thereby so that resource requestor can get access to this exclusive resource, and resource requestor is only carried out write operation one time to the first space when requesting exclusive resource, thereby reduce the frequency that the first space is write, the life-span of having improved storage medium.
Description of drawings
Fig. 1 is the method flow diagram of a kind of requesting exclusive resource of providing of the embodiment of the invention 1;
Fig. 2 is the method flow diagram of a kind of requesting exclusive resource of providing of the embodiment of the invention 2;
Fig. 3 is the device synoptic diagram of a kind of requesting exclusive resource of providing of the embodiment of the invention 3.
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 requesting exclusive resource.Wherein, in the present embodiment, set in advance the first space for storage resources requestor identify label, referring to Fig. 1, the method comprises:
Step 101: resource requestor is according to the storage condition in the first space, and self identify label is stored in the first space;
Step 102: resource requestor checks whether the 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 periodically empties the first space in very first time threshold value, and the user empties the length in cycle in the 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 stored in self identify label in the first space when requesting exclusive resource, after waiting for very first time threshold value, check the identify label that whether has self in the 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 the first space, thereby so that resource requestor can get access to this exclusive resource, and resource requestor is only carried out write operation one time to the first space when requesting exclusive resource, thereby reduce the frequency that the 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 requesting exclusive resource, comprising:
Step 201: during the resource requestor requesting exclusive resource, check whether the first space is empty, and if not, then execution in step 202, and if so, then execution in step 203;
Wherein, the first space is used for depositing and does not currently just just also get access to exclusive resource in the resource requestor of requesting exclusive resource in that the identify label of the resource requestor of requesting exclusive resource and this are current.
Step 202: resource requestor judges according to the identify label of the resource requestor of depositing in the 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 the first space, obtain the request time of corresponding resource requestor requesting exclusive resource, obtain the current time, the mistiming of the request time that calculates the current time and search, judge whether this mistiming surpasses the second time threshold, if surpass, then judge the resource requestor impotentia requesting exclusive resource corresponding to identify label of the first space storage, if do not surpass, then judge the capable requesting exclusive resource of resource requestor corresponding to identify label of the first space storage.
Wherein, in the present embodiment, the resource requestor of each requesting exclusive resource is stored in self identify label in the first space when requesting exclusive resource, also stores the request time of self requesting 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 requesting exclusive resource, be that each resource requestor is when requesting exclusive resource, the identify label of self is stored in the 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 requesting exclusive resource according to the identify label of the resource requestor of depositing in the first space, can be specially:
Resource requestor is according to the identify label of the resource requestor of storing in the first space, obtains the request time of corresponding resource requestor requesting exclusive resource from the corresponding relation of the identify label of resource requestor and request time.
Wherein, if resource requestor corresponding to the identify label of storing in the first space do not have the capability requests exclusive resource, resource requestor corresponding to identify label that then shows the first space storage breaks down in the requesting exclusive resource process or unusually, can't ask and obtain exclusive resource.
Wherein, in the present embodiment, utilize the identify label of the first space and resource requestor and the corresponding relation of request time can guarantee the current effective resource requestor requesting exclusive resource that only has, thus the protection request process.
Step 203: resource requestor is stored in the identify label of oneself in the first space, and self identify label and the request time of requesting exclusive resource is stored in the resource request identify label and the corresponding relation of request time all;
Wherein, resource requestor can be obtained the current time and with its request time as requesting exclusive resource.
Wherein, to asking the user of exclusive resource, meeting periodic test the first space is empty if check out the first space, then represent the current resource requestor requesting exclusive resource that do not have, if the first space is not empty, then expression has the resource requestor requesting exclusive resource, and this moment, the user judged whether self also needs to use exclusive resource, if necessary, then empty the identify label of the resource requestor of storing in the 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 the resource requestor of storing in the first space, empties simultaneously the record in the corresponding relation of the identify label of resource requestor and request time.
Further, in the present embodiment, second space can also be set, second space is used for storing 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 identify label that just can not check on one's own initiative the first space and empty the resource requestor of the first space storage.
To be the current user of not having using this exclusive resource so if this exclusive resource has been released, perhaps the current user who is using this exclusive resource breaks down or unusually, so that the first space can not be cleared, thereby so that resource requestor corresponding to the resource requestor identify label of storing in the first space can get access to this exclusive resource.
Step 204: resource requestor checks the identify label that whether has self in the 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 periodically empty the first space in very first time threshold value, 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 the first space periodic and less than the 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 the 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 identify label of the resource requestor of the first space storage.
Wherein, if resource requestor checks out the identify label that does not have oneself in the first space, show that then this exclusive resource is occupied, resource requestor can't take this exclusive resource, resource requestor needs again to begin to carry out from step 201, namely again asks this exclusive resource.
Step 205: resource requestor empties identify label and the identify label of resource requestor and the corresponding relation of request time of storing in the first space, 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 the 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 simultaneously identify label with self is stored in the second space.
Wherein, if resource requestor corresponding to the identify label of storing in the first space breaks down in the request resource process or unusually, resource requestor corresponding to the identify label of then storing in the first space just can't be obtained this exclusive resource again and empty the identify label of the 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 the first space.
Particularly, resource requestor is used exclusive resource, and periodically check the first space, if check out that (explanation does not have follow-up this exclusive resource of resource requestor request for sky in the first space, and oneself identify label has been recorded in the first space, and record the corresponding relation of identify label and request time), then resource requestor judges whether self also needs to use exclusive resource, if necessary, then empty identify label and the identify label of resource requestor and the corresponding relation of request time of the resource requestor of the first space storage, if do not need, the exclusive resource of releasing request then.
Further, in the present embodiment, the exclusive resource of resource requestor releasing request is removed the identify label of self simultaneously from second space.
Wherein, be empty if resource requestor checks out the 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, the exclusive resource of releasing request then.
Wherein, resource requestor periodically checks and empties the identify label of the first space and resource requestor and the corresponding relation of request time, 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 the first space and resource requestor and the corresponding relation of request time, from then so that other resource requestor can be asked 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 the first space and resource requestor and the corresponding relation of request time one time, then 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, thereby reduce widely the frequency of the corresponding relation of the identify label of the first space and resource requestor and request time being carried out write operation, from improving the life-span of storage medium.
In embodiments of the present invention, resource requestor is when requesting exclusive resource, the identify label of self is stored in the first space, after waiting for very first time threshold value, check the identify label that whether has self in the 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 the 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 the first space, thereby so that resource requestor can get access to this exclusive resource, and resource requestor is only carried out write operation one time to the first space when requesting exclusive resource, thereby reduce the frequency that the 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 requesting exclusive resource, sets in advance the first space for storage resources requestor identify label, as shown in Figure 3, comprising:
Memory module 301 is used for resource requestor according to the storage condition in the first space, and self identify label is stored in the first space;
Checking module 302 is used for checking whether the first space exists the identify label of self after resource requestor is waited for very first time threshold value; Wherein, if exclusive resource is normally used by the user, then the user periodically empties described the first space in very first time threshold value, and the user empties the length in cycle in the 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 for checking whether the first space is empty, if be empty, then the identify label with resource requestor is stored in the first space, and the corresponding relation of storage resources requestor's identify label and request time;
Judging unit, if it is not empty being used for, then judge resource requestor corresponding to the identify label of storing in the first space requesting exclusive resource of whether having the ability, if not, then the identify label with resource requestor is stored in the first space, and the corresponding relation of storage resources requestor's identify label and request time.
Judging unit comprises:
Obtain subelement, for the request time of resource requestor requesting exclusive resource corresponding to the identify label of obtaining the storage of the first space;
Judgment sub-unit is used for judging whether request time and the difference of current time obtained surpass the second time threshold, if surpass, then judging the resource requestor corresponding to identify label of storing in the first space does not have the capability requests exclusive resource; Wherein, the 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 corresponding to identify label of storing in the first space, the identify label of resource requestor is stored in the 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 the 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 the first space is empty, if be not empty, judge then whether resource requestor also needs to use exclusive resource, if so, then empty the identify label of the 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 requesting exclusive resource, the identify label of self is stored in the first space, after waiting for very first time threshold value, check the identify label that whether has self in the 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 the 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 the first space, thereby so that resource requestor can get access to this exclusive resource, and resource requestor is only carried out write operation one time to the first space when requesting exclusive resource, thereby reduce the frequency that the first space is write, the life-span of having improved storage medium.
Need to prove: the device of a kind of requesting exclusive resource that above-described embodiment provides is when requesting 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, above-described embodiment provides the device of requesting exclusive resource and the embodiment of the method for requesting exclusive resource to belong to same design, and its specific implementation process sees embodiment of the method for details, repeats no more here.
All or part of content in the technical scheme that above embodiment provides can realize that by software programming its software program is stored in the storage medium that can read, 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 limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the method for a requesting exclusive resource is characterized in that, sets in advance the first space for storage resources requestor identify label, and described method comprises:
Resource requestor is according to the storage condition in the first space, and self identify label is stored in described the first space;
Described resource requestor checks whether described the 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 periodically empties described the first space in described very first time threshold value, and described user empties the length in cycle in described the 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 the first space, and self identify label is stored in described the first space, comprising:
Described resource requestor checks whether described the first space is empty, if be empty, then described resource requestor is stored in the identify label of self in described the 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 resource requestor corresponding to the identify label of storing in described the 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 the 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 corresponding to identify label of storing in described the first space has the ability to ask described exclusive resource, comprising:
Described resource requestor is obtained the request time of resource requestor requesting exclusive resource corresponding to the identify label of described the first space storage;
Described resource requestor judges whether the described request time that obtains and the difference of current time surpass the second time threshold, if surpass, then judging the resource requestor corresponding to identify label of storing in described the first space does not have the capability requests exclusive resource;
Wherein, described the 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 the first space and the identify label of having stored and request time.
5. such 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 the first space is empty, if be not empty, judge then whether self also needs to use described exclusive resource, if so, then empty the identify label of having stored and corresponding relation and described first space of request time; If not, then discharge described exclusive resource.
6. the device of a requesting exclusive resource is characterized in that, sets in advance the first space for storage resources requestor identify label, and described device comprises:
Memory module is used for resource requestor according to the storage condition in the first space, and self identify label is stored in described the first space;
Checking module after described resource requestor wait very first time threshold value, checks whether described the first space exists the identify label of self; Wherein, if described exclusive resource is normally used by the user, then described user periodically empties described the first space in described very first time threshold value, and described user empties the length in cycle in described the 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 for checking whether described the first space is empty, if be empty, then the identify label with described resource requestor is stored in described the first space, and stores the identify label of described resource requestor and the corresponding relation of request time;
Judging unit, if it is not empty being used for, then judge resource requestor corresponding to the identify label of storing in described the 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 the 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, for the request time of resource requestor requesting exclusive resource corresponding to the identify label of obtaining the storage of described the first space;
Judgment sub-unit is used for judging whether the described request time that obtains and the difference of current time surpass the second time threshold, if surpass, then judging the resource requestor corresponding to identify label of storing in described the first space does not have the capability requests exclusive resource; Wherein, described the 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 corresponding to identify label of storing in described the first space, the identify label of described resource requestor is stored in described the 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 the first space and the identify label of the resource requestor of having stored and the corresponding relation of request time.
10. such 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 the first space is empty, if be not empty, judge then whether described resource requestor also needs to use described exclusive resource, if so, then empty described the 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 CN102063338A (en) 2011-05-18
CN102063338B true 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)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063338B (en) * 2010-12-28 2013-03-20 华为技术有限公司 Method and device for requesting exclusive resource
CN103546433B (en) * 2012-07-12 2017-06-30 阿里巴巴集团控股有限公司 Information synchronization system and method
WO2014101086A1 (en) * 2012-12-28 2014-07-03 华为技术有限公司 Method and device for processing storage space and non-volatile computer readable storage medium
CN105653406B (en) * 2015-12-31 2019-05-24 华为技术有限公司 A kind of method and distributed memory system managing distributed memory system
US10248459B2 (en) * 2016-03-15 2019-04-02 Microsoft Technology Licensing, Llc Operating system support for game mode
CN107230153A (en) * 2016-03-24 2017-10-03 平安科技(深圳)有限公司 The method and apparatus for handling policy information
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
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
CN113365116B (en) * 2020-03-04 2022-12-13 Vidaa(荷兰)国际控股有限公司 Audio and video resource management method and device
CN115329400B (en) * 2022-08-04 2023-07-04 北京志凌海纳科技有限公司 Protection processing method for virtual disk in cluster

Citations (3)

* 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
CN101697136A (en) * 2009-10-27 2010-04-21 金蝶软件(中国)有限公司 Method and device for controlling resource

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1278518C (en) * 2002-12-21 2006-10-04 华为技术有限公司 A Realization Method of Multi-user Access Control
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
US7500037B2 (en) * 2007-01-30 2009-03-03 International Business Machines Corporation System, method and program for managing locks
US8780704B2 (en) * 2008-01-10 2014-07-15 Qualcomm Incorporated Shared resource allocation
CN102063338B (en) * 2010-12-28 2013-03-20 华为技术有限公司 Method and device for requesting exclusive resource

Patent Citations (3)

* 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
CN101697136A (en) * 2009-10-27 2010-04-21 金蝶软件(中国)有限公司 Method and device for controlling resource

Also Published As

Publication number Publication date
WO2012088894A1 (en) 2012-07-05
CN102063338A (en) 2011-05-18

Similar Documents

Publication Publication Date Title
CN102063338B (en) Method and device for requesting exclusive resource
US8583756B2 (en) Dynamic configuration and self-tuning of inter-nodal communication resources in a database management system
WO2018059079A1 (en) Memory management method and apparatus
EP2479677A1 (en) Method, system and physical host for virtual machine (vm) storage space management
US20120110293A1 (en) Method and system for managing virtual machine storage space and physical host
CN111367659B (en) Resource management method, equipment and medium for nodes in Kubernetes
US20120192186A1 (en) Computing Platform with Resource Constraint Negotiation
JP5796722B2 (en) Computer server capable of supporting CPU virtualization
CN110532109B (en) Shared multi-channel process communication memory structure and method
CN103150257A (en) Memory management method and memory management device
CN110930291B (en) GPU video memory management control method and related device
CN105677481B (en) A kind of data processing method, system and electronic equipment
CN101394347A (en) Method and system for business data management
CN113342554B (en) IO multiplexing method, medium, device and operating system
CN118550717B (en) Memory resource processing method, electronic equipment and storage medium
CN117827365A (en) Port allocation method, device, equipment, medium and product for application container
CN109819674B (en) Computer storage medium, embedded scheduling method and system
CN106997304B (en) Input and output event processing method and device
WO2015180111A1 (en) Method, apparatus and device for managing system resource
US20050223383A1 (en) Methods and apparatus for reserving an execution thread
CN112596669A (en) Data processing method and device based on distributed storage
CN107179998A (en) A kind of method and device for configuring peripheral hardware core buffer
CN107463433A (en) The method and apparatus for managing the resource of virtual machine
CN111400032A (en) A method and device for resource allocation
CN116820748A (en) Method and system for managing session resources of password card

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 Technologies 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