CN1877574A - Resource management method based on linking mechanism - Google Patents

Resource management method based on linking mechanism Download PDF

Info

Publication number
CN1877574A
CN1877574A CN 200510076966 CN200510076966A CN1877574A CN 1877574 A CN1877574 A CN 1877574A CN 200510076966 CN200510076966 CN 200510076966 CN 200510076966 A CN200510076966 A CN 200510076966A CN 1877574 A CN1877574 A CN 1877574A
Authority
CN
China
Prior art keywords
resource
link
source material
link resources
sign
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200510076966
Other languages
Chinese (zh)
Inventor
王会军
刘小刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei 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 200510076966 priority Critical patent/CN1877574A/en
Publication of CN1877574A publication Critical patent/CN1877574A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The disclosed resource management method based linkage mechanism comprises: creating original resource, reading as the mark or modifying built resource value; setting storage space; in the space, recording linkage information to build linkage resource; reading and modifying the linkage resource, which comprise: querying recorded information, determining the original mark according to current resource mark, and reading or modifying the value.

Description

A kind of method for managing resource based on linking mechanism
Technical field
The present invention relates to resource management techniques, particularly a kind of method for managing resource based on linking mechanism.
Background technology
At present, in equal widespread uses of every field such as communication, finance resource management techniques.Usually, the resource storage system of application resource administrative skill comprises three classes: object storage system, file system and Database Systems.But,, will cause the waste of ample resources like this because a variety of causes often has the situation that a kind of resource repeats in a large number in multiple different occasion.Wherein, aspect object storage,, often adopt a kind of link (Link) mechanism for the management of a large amount of same object in order to reduce taking of system resource.Be exactly specifically: if there are a plurality of objects identical, then only preserving the portion copy of these object raw data, is the link that can quote this part raw data copy of being preserved again with each Object Creation.Like this, it is more much smaller than the resource that raw data takies to quote the resource that the link of raw data takies, and as seen adopts linking mechanism can save a large amount of systems storage resources.Here, described link of the quoting raw data link resources that is otherwise known as, described raw data can be called as source material, that is to say when adopting the linking mechanism storage object, needs to handle two class resources, comprising: source material and link resources.
Above-mentioned linking mechanism only appears in the storage system of memory object at present, usually directly link source material by each link resources, linking relationship between each source material and the link resources is single, the change that all can cause its source material that links and link the link resources of this source material equally the modification of any link resources.But for large-scale resource storage systems such as Database Systems, file system, the linking relationship more complicated between its each resource of storing.Lift a simple example, resource 1 is identical with resource 2, and the linking relationship of resource 1 and resource 2 is: when changing resource 2, coping resources 1 is without any influence; But when using the linking mechanism in the existing object storage, resource 2 can be a link of resource 1, and resource 2 will change resource 1 when changing, and therefore existing linking mechanism can't be set up the linking relationship between above-mentioned resource 1 and the resource 2.As seen, existing linking mechanism can't be applied to large-scale, complicated resource storage system.So present data base set is unified and do not used the resource management techniques of any linking mechanism in the file system, the data base set resource of preserving in the file system of unifying also all is a source material.When the mass data of preserving in data base set is unified file system is all identical, system's a large amount of identical datas of having to repeat to preserve, this is beyond doubt to the huge waste of system resource.
In sum, existing resources storage system, the especially data base set file system of unifying, the problem of system resource waste when demanding a kind of method for managing resource urgently and solving a large amount of same asset storage.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of method for managing resource based on linking mechanism, can realize the resource management of linking mechanism flexibly effectively utilizing system's storage resources in various resource storage systems.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of method for managing resource, comprising: create source material, read or revise the value of the source material of having created by sign based on linking mechanism; In the resource storage system, be provided for the storage space of the information of record linkage resource; This method also comprises: create, read, revise link resources;
Described establishment link resources is: record is used to link the information of the link resources of the source material of having created in set storage space, and the information of described link resources comprises the sign of link resources and the sign of the source material that this link resources links;
Describedly read or revise link resources and be: the information of the link resources that is write down according to the sign inquiry of the current link resources that reads or revise, determine the sign of the source material of this link resources link, read or revise the resource value of this link resources again according to the sign of determined source material.
Wherein, when revising link resources, the resource value that described sign according to determined source material is revised this link resources is: the value of source material of revising the sign correspondence of determined source material.
Wherein, when revising link resources, the resource value that described sign according to determined source material is revised this link resources is: duplicate and obtain the corresponding source material copy of determined source material sign, the sign of this source material copy is set to this link resources sign, delete the information of this link resources, revise the value that this link resources identifies this source material copy of current correspondence; When the source material of being revised is linked by link resources, before the described value by sign modification source material, further comprise: the copy that duplicates the source material that obtains current modification by sign, the sign of this source material copy is set to link the sign of the link resources of this source material, the information of the link resources of this source material of Remove Links.
Wherein, when revising link resources, the resource value that described sign according to determined source material is revised this link resources is: duplicate and obtain the corresponding source material copy of determined source material sign, the sign of the source material of this link resources link in the information of this link resources is revised as the sign of this source material copy, revises the value of this source material copy of the current correspondence of sign of this link resources; When the source material of being revised is linked by link resources, before the described value by sign modification source material, further comprise: duplicate the source material copy that obtains current modification by sign, the sign of the source material of this link resources link in the information of the link resources of the source material of the current modification of link is revised as the sign of this source material copy.
Wherein, the use on-link mode (OLM) is indicated the linking relationship between link resources and its link resources, but the on-link mode (OLM) that can use comprises WriteMode, snapshot mode and redirected mode; When creating link resources, further comprise: from the on-link mode (OLM) that can use, choose any one kind of them as the on-link mode (OLM) and the record of this link resources; When revising link resources, the source material value that described sign according to determined source material is revised the link resources correspondence is: the on-link mode (OLM) of judging this link resources, but if WriteMode, then revise the source material value of the sign correspondence of determined source material; If snapshot mode, then duplicate and obtain the corresponding source material copy of determined source material sign, the resource identification of this source material copy is set to this link resources sign, delete the information of this link resources, revise the value that this link resources identifies this source material copy of current correspondence; If the mode of being redirected, then duplicate and obtain the corresponding source material copy of determined source material sign, the sign of the source material of this link resources link in the information of this link resources is revised as the sign of this source material copy, revises the value of this source material copy of the current correspondence of sign of this link resources; When the source material of being revised is linked by link resources, before the described value, further comprise by sign modification source material: judge the on-link mode (OLM) of the link resources of this source material of link, but if WriteMode then continues to handle; If the snapshot mode, then duplicate the copy of the source material that obtains current modification by sign, the resource identification of this source material copy is set to link the sign of the link resources of this source material, the information of the link resources of this source material of Remove Links; If be redirected mode, then duplicate the source material copy that obtains current modification by sign, the sign of the source material of this link resources link in the information of the link resources of the source material of the current modification of link is revised as the sign of this source material copy.
Wherein, the on-link mode (OLM) that can use further comprises read-only mode; When revising link resources, before judging on-link mode (OLM), further comprise: whether the on-link mode (OLM) of judging this link resources is read-only mode, if refusal is revised, finishes to work as pre-treatment; Otherwise continue to handle.
Wherein, when the link resources of being created links the link resources of having created, described establishment link resources further comprises: the information of link resources of the current establishment of record in described storage space, the information of this link resources comprise the sign of the link resources that link resources linked of the sign of link resources of current establishment and corresponding current establishment thereof; Describedly read or revise link resources and be: the information of the link resources that inquiry is write down, determine the directly or indirectly sign of the source material of link of this link resources link according to the sign of the current link resources that reads or revise, and read or revise the directly or indirectly source material value of link of this link resources according to the sign of determined source material.
Wherein, being designated of the source material of the direct or indirect link of described definite link resources:
1) this link resources is changed to current operating resource;
2) reading and recording is in the information of the current operating resource of described storage space; Judge whether the resource that current action link resource is linked is source material, if the sign of the source material that is designated the direct or indirect link of the described link resources of step 1) of the source material that then definite current operating resource is linked finishes to work as pre-treatment; Otherwise resource that this link resources linked as current operating resource, is re-executed step 2).
Wherein, the use on-link mode (OLM) is indicated the linking relationship between link resources and its link resources, but the on-link mode (OLM) that can use comprises WriteMode, snapshot mode and redirected mode; When creating link resources, further comprise: from the on-link mode (OLM) that can use, choose any one kind of them as the on-link mode (OLM) and the record of this link resources;
Described modification link resources or source material are:
A1. the resource that current preparation is revised is as current operating resource;
A2. judge whether not to be identified as that the link resources of treatment state links current operating resource, if having, execution in step A3; Otherwise execution in step A6;
A3. extract the link resources of treatment state that is not identified as of a current operating resource of link, identify this link resources state for handling, by differing the size that links level, get link resources and all directly or indirectly current link resources composition formations of getting link resources of link with current with the current link resources of getting;
A4. from the formation of being formed, extract linking layer and differ maximum link resources and be changed to current operating resource, determine that current operating resource is a link resources; Judge the on-link mode (OLM) of current operating resource, but if WriteMode, then execution in step A5; If snapshot mode, then determine the directly or indirectly sign of the source material of link of current operating resource, and duplicate and obtain the directly or indirectly source material copy of link of current operating resource, the sign of this source material copy is set to the sign of current operating resource, and deletion record is in the information of the current operating resource of described storage space; If the mode of being redirected, then determine the directly or indirectly sign of the source material of link of current operating resource, and duplicate and obtain the directly or indirectly source material copy of link of current operating resource, the sign that is recorded in the link resources that current operating resource linked in the information of current operating resource of described storage space is set to the sign of this source material copy;
A5. judge whether also there is resource in the described formation, if then return steps A 4; Otherwise the resource that current operating resource linked is changed to current operating resource, returns steps A 2;
A6. judge whether current operating resource is link resources, if, execution in step A7 then; Otherwise execution in step A8;
A7. determine that current operating resource is a link resources, judge the on-link mode (OLM) of current operating resource, but if WriteMode, the state that then identifies current operating resource is for handling, the resource that current operating resource linked is changed to current operating resource, returns steps A 2; If snapshot mode, then determine the directly or indirectly sign of the source material of link of current operating resource, and duplicate and obtain the directly or indirectly source material copy of link of current operating resource, the sign of this source material copy is set to the sign of current operating resource, and deletion record is in the information of the current operating resource of described storage space; If the mode of being redirected, then determine the directly or indirectly sign of the source material of link of current operating resource, and duplicate and obtain the directly or indirectly source material copy of link of current operating resource, the sign that is recorded in the link resources that current operating resource linked in the information of current operating resource of described storage space is set to the sign of this source material copy;
A8. determine the sign of the source material of the resource correspondence that current preparation is revised, revise the source material value of the resource correspondence of current preparation modification by the sign of determined source material.
Wherein, the on-link mode (OLM) that can use further comprises read-only mode; When revising link resources, further comprise before the steps A 1: whether the on-link mode (OLM) of judging this link resources is read-only mode, if then finish to work as pre-treatment; Otherwise continue execution in step A1.
In the steps A 8, when the resource that current preparation is revised is source material, the sign of the source material of the resource correspondence that is designated this preparation modification of the resource self that described current preparation is revised; When the resource that current preparation is revised was link resources, the resource that described current preparation is revised is the sign of the source material of the resource correspondence that is designated this preparation modification of the source material of link directly or indirectly;
In steps A 4, steps A 7 and the steps A 8, described definite link resources is being designated of source material of link directly or indirectly:
A11. this link resources is changed to current operating resource;
A12. reading and recording is in the information of the current operating resource of described storage space; Judge whether the resource that current action link resource is linked is source material, if, then determine the sign of the source material that is designated the direct or indirect link of steps A 11 described link resources of the source material that current operating resource is linked, finish to work as pre-treatment; Otherwise resource that this link resources linked as current operating resource, is re-executed steps A 12.
Wherein, this method further comprises the processing of deleting resource, and it comprises:
B1. judge whether that link resources links the resource of current preparation deletion, if having, execution in step B2 then; Otherwise execution in step B3;
Whether the state of resources of B2. judging described preparation deletion has been identified as the wait deletion, if finish to work as pre-treatment; Otherwise the state of resources that identifies this preparation deletion finishes to work as pre-treatment for waiting for deletion;
B3. delete the resource of described preparation deletion, judge whether the resource of being deleted is link resources, if, execution in step B4 then; Otherwise finish to work as pre-treatment;
B4. whether the determining step B3 state of resources that link resources linked of being deleted is to wait for deletion, if, then put this state for the resource of waiting for deletion is the resource of current preparation deletion, return step B1; Otherwise finish to work as pre-treatment.
Wherein, when described resource storage system was Database Systems, described storage space was the table of database; When described resource storage system is file system, but described storage space is the file of structured storage data.
By such scheme as can be seen, key of the present invention is: the storage space that the information that is specifically designed to the record linkage resource is set in the resource storage system; When creating link resources, the information of the link resources of the source material that record linkage has been created in set storage space, the information of this link resources comprise the sign of this link resources and the sign of the source material that this corresponding link resources links thereof; The information of the link resources that inquiry is write down, determine the sign of the source material of this link resources link according to the sign of the current link resources that reads or revise, and read or revise the source material value of this link resources correspondence according to the sign of determined source material.
Therefore, the method for managing resource based on linking mechanism provided by the present invention can be realized the resource management of linking mechanism in various resource storage systems, thus the system of saving storage resources.The present invention also further provides multiple on-link mode (OLM) to set up different linking relation between the resource.In addition, the present invention not only provides the implementation method of multiple on-link mode (OLM) at the single-stage link system, and the realization flow of multiple on-link mode (OLM) in the multiple strand chain welding system also is provided.Use the inventive method and can greatly improve the comparatively resource utilization of complicated, various large-scale resource storage system of resource link relation.
Description of drawings
Fig. 1 determines the directly or indirectly sign one preferred embodiment treatment scheme synoptic diagram of the source material of link of link resources in the inventive method;
Fig. 2 is that the resource status under the various on-link mode (OLM)s changes synoptic diagram in the inventive method;
Fig. 3 revises resource method one preferred embodiment treatment scheme synoptic diagram in the inventive method;
Resource status when Fig. 4 revises resource for application drawing 3 described embodiment changes synoptic diagram;
Fig. 5 is deletion resource one a preferred embodiment treatment scheme synoptic diagram in the inventive method.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
The invention discloses a kind of method for managing resource based on linking mechanism, this method is mainly used in Database Systems, large-scale resource storage system such as file system, its main design philosophy is: the storage space that the information that is specifically designed to the record linkage resource is set in the resource storage system, when creating link resources, the information of the link resources of the source material that the link of the current establishment of record has been created in the storage space of being opened up, like this, when reading or revise link resources, just can determine the source material of this link resources link, thereby the source material of this link resources link is read or retouching operation by the information that is write down.
Wherein, when the present invention was applied to Database Systems, set storage space was the table in the database, and this database table can be described as the link resources information table; When the present invention is applied to file system, set storage space is the file in the file system, owing to when link resources is operated, will read each item of information, therefore, but file described here is the file of structured storage data, like this, can be by each item of information of predefined structure storage link resources, read each item of information of being stored by this structure again.
At present, the resource storage mode of main flow is a database storing, therefore, below only is example with Database Systems, and the processing of the inventive method is elaborated.When the present invention was applied to file system, treatment scheme was with to be applied to Database Systems identical, the concrete carrier difference of the storage space of record linkage resource information only, so this paper no longer describes for the processing of the present invention in file system.
In Database Systems, the information of link resources is stored in the link resources information table with the form of record, and each bar link resources information record comprises: the items of information such as sign of the resource that link resources identifies, this link resources linked.When creating a link resources, in the link resources information table, add a record, this record comprises the sign of the resource that sign and this link resources linked of the link resources of current establishment.In the time will reading or revise a certain link resources, can obtain the information record of this link resources according to this link resources sign query link resource information table, determine the directly or indirectly source material of link of this link resources according to the information such as sign of the institute's link resources that wherein writes down, thereby can read or revise the directly or indirectly source material of link of this link resources.Wherein, the resource that link resources linked can also can be link resources for source material.
For a simple resource storage system, the single-stage link just can be satisfied its resource management needs, and promptly link resources only links source material, at this moment, in the information of current link resource, the sign of the source material that this link resources linked is exactly the directly source material of link of this link resources.But for most of resource storage systems, also may be correlated with between each link resources, therefore, link resources also may link to link resources, just realizes multistage link.At this moment, directly or indirectly the method for the source material of link is comparatively complicated to determine the current link resource.Fig. 1 determines the directly or indirectly source material one preferred embodiment treatment scheme synoptic diagram of link of link resources in the inventive method.As shown in Figure 1, the concrete processing comprises:
Step 101: putting the current link resource is current operating resource.
Step 102: obtain the information record of this link resources according to the sign query link resource information table of current operating resource, the information such as sign of the resource that therefrom reads current operating resource and linked.
Here, when resource was operated, the user notified the sign of this resource of resource storage system to I haven't seen you for ages, therefore, can know the sign of current operating resource in this step.
Step 103: according to the information such as resource identification that step 102 reads, judge whether the resource that current operating resource links is source material, if, execution in step 105; Otherwise execution in step 104.
Step 104: putting the link resources that current operating resource links is current operating resource, returns step 102.
Step 105: determine that source material that current operating resource links is the directly or indirectly source material of link of the described link resources of step 101, thereby can read this source material, operation such as modification.
In addition, link resources of the present invention also can realize the link of multiple mode.According to background technology as can be known, the on-link mode (OLM) that realizes in the traditional objects storage system is: if resource 2 is link resources of resource 1, be that resource 2 links to resource 1, then when revising resource 1, resource 2 changes corresponding, when revising resource 2, resource 1 also can change thereupon, that is to say resource 1 and resource 2 in a single day to have set up linking relationship they are exactly two resources that are equal to so.The present invention not only can provide above-mentioned this traditional on-link mode (OLM), other on-link mode (OLM) can also be provided, make two resource and impermanent resources that are equal to of setting up link, such as: two resources are identical when creating, but when one of them resource modifying, another resource does not change thereupon.The inventive method uses on-link mode (OLM) to indicate linking relationship between link resources and its resource that is linked, and then realizes the link of multiple mode.Like this, when creating link resources, also to further write down the on-link mode (OLM) of this link resources, thereby when revising source material or link resources, can further handle related resource according to on-link mode (OLM).
Here, a key concept requires emphasis: so-called reading or revising link resources, be not to read or revise this link resources to be recorded in content in the described link resources information table, but read or revise the value of the source material of the current direct or indirect link of this link resources according to the information of this link resources information table record.Be exactly for instance: when resource A link source material B, the information of the resource A that writes down in the link resources information table comprises: the sign of the sign of resource A and resource B, read so or when revising resource A, what read or revise is not the information record of resource A that comprises the sign of resource A and resource B, but be addressed to the source material value of resource B according to the sign of resource B in the information of this resource A record, read or retouching operation in source material value resource B.Below no longer this notion is added to give unnecessary details.
Be example with resource 1 and resource 2 below, these on-link mode (OLM)s be illustrated in conjunction with Fig. 2.Fig. 2 is that the resource status under the various on-link mode (OLM)s changes synoptic diagram in the inventive method.Owing to have single-stage link and these two kinds of resource storage systems of multistage link, for convenience of description, only be linked as example among Fig. 2 various on-link mode (OLM)s are described with single-stage.Wherein, resource 2 is the link resources of resource 1, and resource 1 is the source material of value for A; When original state, the source material value of resource 1 and resource 2 correspondences is A.On-link mode (OLM) provided by the present invention comprises four kinds: can write (Writable) mode, read-only (Readonly) mode, snapshot (Snapshot) mode and (Redirector) mode of being redirected, one by one each on-link mode (OLM) be described below.
One, Writable mode, resource 1 and resource 2 are for being equal to resource under this mode.As shown in Figure 2, original state is: resource 2 links to resource 1 in the Writable mode, and the source material value of resource 1 and resource 2 correspondences is A.If revise the value A of resource 1, and A is revised as A ', the state of then revising after the resource 1 is: the source material value of resource 1 and resource 2 correspondences is A '; If revise the value A of resource 2, and A is revised as A ', the state of then revising after the resource 2 is: the source material value of resource 1 and resource 2 correspondences is A '.
Two, Readonly mode, resource 1 and resource 2 are equivalent to be equal to resource under this mode, but the modification of resource 2 is not allowed to, and resource 1 can be modified.As shown in Figure 2, original state is: resource 2 links to resource 1 in the Readonly mode, and the source material value of resource 1 and resource 2 correspondences is A.If revise the value A of resource 1, and A is revised as A ', the state of then revising after the resource 1 is: the source material value of resource 1 and resource 2 correspondences is A '; But it is forbidden revising resource 2, and the state of then revising after the resource 2 is: the source material value of resource 1 and resource 2 correspondences still is A.
Here as seen, the Readonly mode is the modification authority that is used to indicate link resources, when the on-link mode (OLM) of link resources is Readonly, illustrates that then this link resources can not be modified.
Three, Snapshot mode, resource 1 and resource 2 are separate under this mode, and when one of them resource changed, another resource did not change thereupon.As shown in Figure 2, original state is: resource 2 links to resource 1 in the Snapshot mode, and the source material value of resource 1 and resource 2 correspondences is A.When revising resource 1, to at first duplicate the portion copy that obtains source material 1, the sign of the copy of this source material 1 is changed to the sign of resource 2, the record of deletion resource 2 in the link resources information table, source material value A with resource 1 is revised as A ' again, and the state of then revising after the resource 1 is: the source material value of resource 1 and resource 2 correspondences is respectively A ' and A.When revising resource 2, also at first duplicate the portion copy of the source material 1 that obtains a resource 2 correspondences, the sign of the copy of this source material 1 is changed to the sign of resource 2, the record of deletion resource 2 in the link resources information table, again with resource 2 promptly the value A of the copy of this source material 1 be revised as A ', the state of then revising after the resource 2 is: the source material value of resource 1 and resource 2 correspondences is respectively A and A '.
Here, the sign of the copy of this source material 1 is changed to the sign and the record of deletion resource 2 in the link resources information table of resource 2, shows: resource 2 becomes source material from link resources, and the source material that is become is the copy of this source material 1.
Four, Redirector mode, under this mode, resource 1 and resource 2 are also separate, and just implementation and described Snapshot mode are different.As shown in Figure 2, original state is: resource 2 links to resource 1 in the Redirector mode, and the source material value of resource 1 and resource 2 correspondences is A.When revising resource 1, to at first duplicate the portion copy that obtains source material 1, the sign of the source material that resource 2 in the information of resource 2 is linked is revised as the sign of this source material 1 copy, source material value A with resource 1 is revised as A ' again, and the state of then revising after the resource 1 is: the source material value of resource 1 and resource 2 correspondences is respectively A ' and A.When revising resource 2, also at first duplicate the portion copy of the source material 1 that obtains a resource 2 correspondences, the sign of the source material that resource 2 in the information of resource 2 is linked is revised as the sign of this source material 1 copy, this moment, the source material of resource 2 links was the copy of this source material 1, then the value A with the copy of the source material 1 of resource 2 current links is revised as A ', and the state of then revising after the resource 2 is: the source material value of resource 1 and resource 2 correspondences is respectively A and A '.
Here, the sign of the source material that resource 2 in the information of resource 2 is linked is revised as the sign of this source material 1 copy, and show: the source material that resource 2 is linked becomes the copy of this source material 1.
Various resource storage systems can be as required, chooses any one kind of them from above four kinds of on-link mode (OLM)s or more than one mode is used.Such as: in the process of software test, each version of software issue all needs test, the exploitation of each version corresponding to to(for) test all has a beta version corresponding with it, each beta version has a large amount of test cases, and because so the function of each version of software does not have the use-case major part of big each beta version of variation is identical, this has just met the suitable environment of link resources, the descriptor that a test case is arranged in first beta version specifically, and later version just can adopt Writable or Snapshot mode to come related these two test cases when also having comprised this test case.And when a resource need realize the historical information management of similar visualization resource safety (Visual Source Safe), just can adopt the Redirector mode to come link resources, make current up-to-date resource point to the copy of that up-to-date a historical information forever.In the time can using more than one on-link mode (OLM) in the resource storage system, when creating link resources, also to further in the link resources information table, write down the on-link mode (OLM) of the link resources of current establishment; When revising source material or link resources, also to further judge with current preparation and revise the relevant on-link mode (OLM) of resource, thereby determine how to make amendment.
Because, the link of Readonly mode is more special, then, system plants on-link mode (OLM) when can using more than one, and when comprising the Readonly mode, when revising link resources, at first judge its on-link mode (OLM), if be the unchangeable Readonly mode of indication, the operation of just needn't making amendment finishes to work as pre-treatment; Otherwise handle by on-link mode (OLM) shown in Figure 2.
Describe in detail among Fig. 2 in the single-stage link system, when revising source material or link resources, the different disposal of various on-link mode (OLM)s.For the single-stage link system, when realizing more than one on-link mode (OLM), disposal route is also uncomplicated, if modification is source material, then judge the on-link mode (OLM) of each link resources of this source material, operate as described in Figure 2 by the judgement on-link mode (OLM) respectively again; If what revise is link resources, then judge the on-link mode (OLM) of this link resources self, handle as described in Figure 2 by this on-link mode (OLM) again.
But,, realize the processing relative complex of more than one on-link mode (OLM)s for the multiple strand chain welding system.Usually for resource storage, each resource should corresponding unique separately source material value, so each link resources only links unique resource, but a resource can be linked by more than one link resources.So, should form a kind of tree between a source material and the relative link resources, wherein, one or more relevant with source material link resources comprise: the link resources that directly links the link resources of this source material and link this source material indirectly by one or more other link resources.In this tree, source material is exactly the root node of tree, and the link resources that links a certain resource is exactly the child nodes of this a certain resource, is not exactly leaf node by the resource of any other link resources link wherein.When the resource of multiple strand chain welding system is handled, will set up the tree model according to the linking relationship between each resource, handle with reference to this model then.In tree, each node possesses the level of self, and the level of root node is 1, and the level of the child nodes of root node is 2, if the level of certain node is N, then the level of its child nodes is N+1.In addition, the degree of depth of tree is exactly this maximum hierachy number of setting each node, if arbitrary node is as root node in will setting, then the degree of depth of the corresponding subtree of this root node can be used to represent the degree of depth of this node.
Based on above-mentioned understanding, the method that realizes multiple on-link mode (OLM) in the multiple strand chain welding system is described in detail below in conjunction with Fig. 3 to tree key concept.Fig. 3 revises resource method one preferred embodiment treatment scheme synoptic diagram in the inventive method.In the present embodiment, the on-link mode (OLM) that can use comprises: Writable, Snapshot and Redirector mode, and as shown in Figure 3, concrete treatment step comprises:
Step 301: the resource of putting current preparation modification is current operating resource.
Step 302: judged whether that link resources links current operating resource, and the state of these link resources is not identified as and handles, if then execution in step 303; Otherwise execution in step 309.
Step 303: from the current operating resource of all-links and state be not identified as the link resources of having handled and extract a link resources, with its status indicator for handling, by differing the size that links level, get link resources and all directly or indirectly current link resources composition formations of getting link resources of link with current with the current link resources of getting.
Here, if each resource is formed tree, then described current get link resources and all directly or indirectly the current link resources of getting link resources of link be: with current resource of being got each node correspondence in the subtree that link resources is a root node, the inferior level that is equivalent to each resource institute corresponding node of described linking layer.
Step 304: from the formation of being formed, extract the inferior link resources that differs maximum of linking layer as current operating resource, simultaneously the current operating resource of deletion from this formation.
Wherein, industry performing step 303 described modes with each resource composition formation and the described extraction link resources of step 304 have a lot, more common is exactly: in the step 303, directly or indirectly link to current link resources of getting link resources by the current link resources of extracting of depth-first principle traversal and all, and when traveling through pop down; Step 304 is: the stack top resource is popped, and with this stack top resource as current operating resource.Here, so-called depth-first principle pop down is: press the degree of depth of each resource corresponding node in the tree, and descending successively with each resource pop down.
Step 305: judge the on-link mode (OLM) of current operating resource, if Writable, then execution in step 307; If Snapshot or Redirector, then execution in step 306.
Step 306: determine the directly or indirectly sign of the source material of link of current operating resource, and duplicate by the sign of this source material and to obtain the directly or indirectly source material copy of link of current operating resource, the source material of current operating resource correspondence is copied for this source material.
Wherein, can determine the directly or indirectly sign of the source material of link of current operating resource, and can duplicate by the sign of determined source material and obtain this source material copy by the described method of Fig. 1.In addition, according to the on-link mode (OLM) of being judged is Snapshot or Redirector, the described source material of current operating resource correspondence that makes has difference for the processing that this source material copies: if on-link mode (OLM) is Snapshot, then current operating resource is changed to this source material copy; If on-link mode (OLM) is Redirector, then the resource that current operating resource linked is changed to this source material copy.
Here, described current operating resource is changed to this source material copy, comprising: the sign of this source material copy is set to the sign of current operating resource, and deletion record is in the information of the current operating resource of described storage space; Described the resource that current operating resource linked is changed to this source material copy, comprises: the sign that is recorded in the link resources that current operating resource linked in the information of current operating resource of described storage space is set to the sign of this source material copy.
Step 307: judge in the formation of being formed whether also have link resources,, return step 304 if having; Otherwise execution in step 308.
Here, if adopt in step 303 and the step 304 mode of each resource pop down is handled, then being judged as of this step: judge whether also want link resources in the stack.
Step 308: putting the resource that current operating resource links is current operating resource, returns step 302
Step 309: judge whether current operating resource is link resources, if then execution in step 310; Otherwise execution in step 313.
Step 310: judge the on-link mode (OLM) of current operating resource, if Writable, then execution in step 311; If Snapshot or Redirector, then execution in step 312.
Step 311: the state that identifies current operating resource is changed to current operating resource with the resource that current operating resource linked again for handling, returns step 302.
Step 312: determine the directly or indirectly sign of the source material of link of current operating resource, and duplicate the source material copy that obtains current operating resource correspondence by the sign of this source material, the source material of current operating resource correspondence is copied for this source material.
Here, according to the on-link mode (OLM) of being judged is Snapshot or Redirector, the described source material of current operating resource correspondence that makes has difference for the processing that this source material copies: if on-link mode (OLM) is Snapshot, then current operating resource is changed to this source material copy; If on-link mode (OLM) is Redirector, then the resource that current operating resource linked is changed to this source material copy.
Step 313: determine the sign of the source material of current preparation modification resource correspondence, revise the value of this source material by the sign of determined source material.Wherein, if the resource that current preparation is revised is a source material, the sign of the resource self that then described current preparation is revised is the sign of source material of the resource correspondence of this preparations modification; When if the resource that current preparation is revised is link resources, the resource that then described current preparation is revised the directly or indirectly sign of the source material of link is the sign of source material of the resource correspondence of this preparations modification, at this moment, the sign of the source material that the resource that can adopt the described method of Fig. 1 to determine that current preparation is revised directly or indirectly links no longer describes in detail here.
If the on-link mode (OLM) that can use is except comprising Writable, Snapshot and Redirector mode, also comprise the Readonly mode, then when preparing to revise link resources, whether the on-link mode (OLM) that will at first judge this link resources is Readonly, if, then carry out above-mentioned steps 301, thereby carry out processing shown in Figure 3; Otherwise refuse current retouching operation, finish to work as pre-treatment.
For ease of understanding the handling principle of flow process shown in Figure 3, when revising resource below in conjunction with Fig. 4 to adopting the described flow process of Fig. 3, each state of resources change procedure is specified.
Resource status when Fig. 4 revises resource for application drawing 3 described embodiment changes synoptic diagram.Among Fig. 4, state 1 is the original state synoptic diagram of each resource, and this state 1 has shown the tree relation between source material and each link resources.Wherein, resource AAA is the root node that source material is promptly set, and it has only a link resources AA, and this link resources AA is with Snapshot mode link resources AAA; Resource AA is linked by two link resources, comprising: resource A and resource B, and their on-link mode (OLM) is Writable; Resource A is linked by two link resources, comprising: resource A1 and resource A2, and their on-link mode (OLM) is respectively Snapshot and Redirector; Resource A1 is linked by link resources A11, and resource A11 is with Writable mode link resources A1.More than in each resource, resource B, resource A2 and resource A11 be not by any other resource link.
According to the key concept of tree noted earlier as can be known, the level of each resource in tree is respectively among Fig. 4: resource AAA is 1, resource AA is 2, resource A and resource B are 3, resource A1 and resource A2 are 4, resource A11 is 5.The degree of depth of each node is followed successively by: resource AAA is 5, resource AA is 4, resource A is 3, resource A1 is 2, and the degree of depth of resource B, resource A2 and resource A11 is 1.In Fig. 4 example, the resource of setting current preparation modification is resource A.
Shown in the state 1 of Fig. 4, when execution in step 301 and step 302, current operating resource is resource A first, the link resources of link resources A comprises: resource A1 and resource A2, and state all is not designated and handles, and therefrom extracts resource A1, and identifying resource A1 state is for handling.Write down all resources relevant with resource A1 then, all relevant with resource A1 here resources comprise: resource A1 itself and resource A11, travel through resource A1 and resource A11 and while pop down successively by the depth-first principle, and this moment, resource A11 was positioned at stack top.Execution in step 304 first then: the resource A11 that gets stack top is as current operating resource, only surplus resource A1 in this moment stack.Among Fig. 4, status indicator is represented with oblique line for the resource handled, below label represent which is identified as and handle that resource A1 is represented as first and is identified as the resource of having handled.
Shown in the state 2 of Fig. 4, during execution in step 305, the on-link mode (OLM) of judging current operating resource A11 is Writable first, and then execution in step 307, and execution in step 304 for the second time, and the resource A1 that gets stack top is as current operating resource.For the second time during execution in step 305, the on-link mode (OLM) of judging current operating resource A1 is Snapshot, and then execution in step 306: duplicate the copy of the source material AAA that obtains resource A1 correspondence, and resource A1 is changed to the copy of this source material AAA.After this during execution in step 307, judging in the stack does not have resource, and then execution in step 308: putting the resource A that current operating resource A1 linked is current operating resource, returns step 302 again.
Shown in the state 3 of Fig. 4, for the second time during execution in step 302, link in the link resources of current operating resource A, state is not identified as the only surplus resource A2 that has handled, so execution in step 303: extract resource A2, identifying resource A2 state is for handling, write down all resources relevant then with resource A2, here relevant with resource A2 resource only has resource A2 itself, and by depth-first principle traversal resource A2 and while pop down, this moment, resource A2 was positioned at stack top.Execution in step 304 then: the resource A2 that gets stack top is as current operating resource, No Assets in this moment stack.Subsequently during execution in step 305, the on-link mode (OLM) of judging current operating resource A2 is Redirector, then execution in step 306: the copy that duplicates the source material AAA that obtains resource A2 correspondence, and the resource that resource A2 is linked is changed to the copy of this source material AAA, execution in step 307 and step 308 then, resource A becomes current operating resource, returns step 302 again.Here, resource A2 becomes second and is identified as the resource of treatment state.
Shown in the state 4 of Fig. 4, during this execution in step 302, current operating resource A stateless has not been identified as the link resources handled, and then execution in step 309, and judged result is that current operating resource A is a link resources, execution in step 310.The execution result of step 310 is that the on-link mode (OLM) of resource A is Writable, and then execution in step 311: the state that identifies current operating resource A is for handling, and the resource AA that resource A is linked is changed to current operating resource, returns step 302.During this execution in step 302, judge in the link resources of the current operating resource AA of link, state be not changed to handled have only resource B, then execution in step 303: identifying resource B state is for handling, and with resource B pop down, execution in step 304 again.During this execution in step 304, stack top is resource B, and resource B pops and is changed to current operating resource, and is empty in the stack at this moment.Here, resource A and resource B become the 3rd and the 4th respectively and are identified as the resource of having handled.
Shown in the state 5 of Fig. 4, during this execution in step 305, the on-link mode (OLM) of judging current operating resource B is Writable, so execution in step 307.The execution result of step 307 is empty in the stack, and then execution in step 308: the resource AA that current operating resource B is linked is changed to current operating resource, returns step 302 then.During this execution in step 302, the link resources that has not had state not to be identified as in the link resources of link resources AA to have handled, so execution in step 309.In the step 309, judgement resource AA is a link resources, and then execution in step 310: the on-link mode (OLM) of judging current operating resource AA is Snapshot, and then execution in step 312.In the step 312, duplicate the copy of the source material AAA that obtains resource AA correspondence, and resource AA is changed to the copy of this source material AAA, execution in step 313 then.In the step 313, directly revise the source material AA of the resource A correspondence of current preparation modification, the source material value AAA that it is original is revised as AAA ', finishes whole modification resources and handles.
By the description of above five states to Fig. 4 as seen, the modification of resource A is only caused the change of resource B and resource AA, and the source material value of resource AAA, resource A1, resource A11 and resource A2 correspondence does not change all.
More than describe in detail in the resource storage system of using the inventive method, create, read, revise the operating process of resource.Owing to adopt the linking mechanism management resource, therefore, when the deletion resource, can not simply directly resource be deleted, such as: during the deletion source material, if the link resources of this source material need not deleted, then this source material can not be deleted, and could delete this source material deletion when the all-links resource that should wait until this source material all needs to delete.Fig. 5 is deletion resource one a preferred embodiment treatment scheme synoptic diagram in the inventive method.As shown in Figure 5, when preparing a certain resource of deletion, the concrete processing comprises:
Step 501: judge whether that link resources links the resource of current preparation deletion, if then execution in step 502; Otherwise execution in step 503.
Step 502: whether the state of resources of judging current preparation deletion is to wait for deletion, if the state of resources that then identifies this preparation deletion finishes to work as pre-treatment for waiting for deletion; Otherwise finish to work as pre-treatment.
Step 503: delete the resource of current preparation deletion, and judge whether the resource of current deletion is link resources, if then execution in step 504; Otherwise finish to work as pre-treatment.
Step 504: whether the state of resources that link resources linked that determining step 503 is deleted is to wait for deletion, if then execution in step 505; Otherwise finish to work as pre-treatment.
Step 505: put the described state of step 504 for the resource of waiting for deletion is the resource of current preparation deletion, return step 501.
According to the above as seen, use the inventive method can realize linking mechanism in large-scale resource storage systems such as Database Systems, file system resource management, can also realize the link of multiple mode, thereby satisfy the needs of various resource link relations.In addition, the management of the link resources of described multiple mode can not only be implemented in the single-stage link system, can also realize in the multiple strand chain welding system.According to the inventive method, can realize link resources at different levels in the resource storage system and various on-link mode (OLM) resources establishment, read, revise, operation such as deletion.Can not only make each resource interrelated, reduce redundant operation, can also conserve storage, improve system's utilization ratio of storage resources, improve the performance of large-scale, complicated resource storage system.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.All any modifications of being done within the spirit and principles in the present invention, be equal to replacement, improvement etc., all be included in protection scope of the present invention.

Claims (13)

1, a kind of method for managing resource based on linking mechanism comprises: create source material, read or revise the value of the source material of having created by sign; It is characterized in that, in the resource storage system, be provided for the storage space of the information of record linkage resource; This method also comprises: create, read, revise link resources;
Described establishment link resources is: record is used to link the information of the link resources of the source material of having created in set storage space, and the information of this link resources comprises the sign of this link resources and the sign of the source material that this link resources links;
Describedly read or revise link resources and be: the information of the link resources that is write down according to the sign inquiry of the current link resources that reads or revise, determine the sign of the source material of this link resources link, and read or revise the resource value of this link resources according to the sign of determined source material.
2, method according to claim 1 is characterized in that, when revising link resources, the resource value that described sign according to determined source material is revised this link resources is: the value of source material of revising the sign correspondence of determined source material.
3, method according to claim 1, it is characterized in that, when revising link resources, the resource value that described sign according to determined source material is revised this link resources is: duplicate and obtain the corresponding source material copy of determined source material sign, the sign of this source material copy is set to this link resources sign, delete the information of this link resources, revise the value that this link resources identifies this source material copy of current correspondence;
When the source material of being revised is linked by link resources, before the described value by sign modification source material, further comprise: the copy that duplicates the source material that obtains current modification by sign, the sign of this source material copy is set to link the sign of the link resources of this source material, the information of the link resources of this source material of Remove Links.
4, method according to claim 1, it is characterized in that, when revising link resources, the resource value that described sign according to determined source material is revised this link resources is: duplicate and obtain the corresponding source material copy of determined source material sign, the sign of the source material of this link resources link in the information of this link resources is revised as the sign of this source material copy, revises the value of this source material copy of the current correspondence of sign of this link resources;
When the source material of being revised is linked by link resources, before the described value by sign modification source material, further comprise: duplicate the source material copy that obtains current modification by sign, the sign of the source material of this link resources link in the information of the link resources of the source material of the current modification of link is revised as the sign of this source material copy.
5, method according to claim 1 is characterized in that, the use on-link mode (OLM) is indicated the linking relationship between link resources and its link resources, but the on-link mode (OLM) that can use comprises WriteMode, snapshot mode and redirected mode; When creating link resources, further comprise: from the on-link mode (OLM) that can use, choose any one kind of them as the on-link mode (OLM) and the record of this link resources;
When revising link resources, the source material value that described sign according to determined source material is revised the link resources correspondence is: the on-link mode (OLM) of judging this link resources, but if WriteMode, then revise the source material value of the sign correspondence of determined source material; If snapshot mode, then duplicate and obtain the corresponding source material copy of determined source material sign, the resource identification of this source material copy is set to this link resources sign, delete the information of this link resources, revise the value that this link resources identifies this source material copy of current correspondence; If the mode of being redirected, then duplicate and obtain the corresponding source material copy of determined source material sign, the sign of the source material of this link resources link in the information of this link resources is revised as the sign of this source material copy, revises the value of this source material copy of the current correspondence of sign of this link resources;
When the source material of being revised is linked by link resources, before the described value, further comprise by sign modification source material: judge the on-link mode (OLM) of the link resources of this source material of link, but if WriteMode then continues to handle; If the snapshot mode, then duplicate the copy of the source material that obtains current modification by sign, the resource identification of this source material copy is set to link the sign of the link resources of this source material, the information of the link resources of this source material of Remove Links; If be redirected mode, then duplicate the source material copy that obtains current modification by sign, the sign of the source material of this link resources link in the information of the link resources of the source material of the current modification of link is revised as the sign of this source material copy.
6, method according to claim 5 is characterized in that, the on-link mode (OLM) that can use further comprises read-only mode;
When revising link resources, before judging on-link mode (OLM), further comprise: whether the on-link mode (OLM) of judging this link resources is read-only mode, if refusal is revised, finishes to work as pre-treatment; Otherwise continue to handle.
7, method according to claim 1, it is characterized in that, when the link resources of being created links the link resources of having created, described establishment link resources further comprises: the information of link resources of the current establishment of record in described storage space, the information of this link resources comprise the sign of the link resources that link resources linked of the sign of link resources of current establishment and corresponding current establishment thereof;
Describedly read or revise link resources and be: the information of the link resources that inquiry is write down, determine the directly or indirectly sign of the source material of link of this link resources link according to the sign of the current link resources that reads or revise, and read or revise the directly or indirectly source material value of link of this link resources according to the sign of determined source material.
8, method according to claim 7 is characterized in that, described definite link resources is being designated of source material of link directly or indirectly:
1) this link resources is changed to current operating resource;
2) reading and recording is in the information of the current operating resource of described storage space; Judge whether the resource that current action link resource is linked is source material, if the sign of the source material that is designated the direct or indirect link of the described link resources of step 1) of the source material that then definite current operating resource is linked finishes to work as pre-treatment; Otherwise resource that this link resources linked as current operating resource, is re-executed step 2).
9, method according to claim 8 is characterized in that, the use on-link mode (OLM) is indicated the linking relationship between link resources and its link resources, but the on-link mode (OLM) that can use comprises WriteMode, snapshot mode and redirected mode; When creating link resources, further comprise: from the on-link mode (OLM) that can use, choose any one kind of them as the on-link mode (OLM) and the record of this link resources;
Described modification link resources or source material are:
A1. the resource that current preparation is revised is as current operating resource;
A2. judge whether not to be identified as that the link resources of treatment state links current operating resource, if having, execution in step A3; Otherwise execution in step A6;
A3. extract the link resources of treatment state that is not identified as of a current operating resource of link, identify this link resources state for handling, by differing the size that links level, get link resources and all directly or indirectly current link resources composition formations of getting link resources of link with current with the current link resources of getting;
A4. from the formation of being formed, extract linking layer and differ maximum link resources and be changed to current operating resource, determine that current operating resource is a link resources; Judge the on-link mode (OLM) of current operating resource, but if WriteMode, then execution in step A5; If snapshot mode, then determine the directly or indirectly sign of the source material of link of current operating resource, and duplicate and obtain the directly or indirectly source material copy of link of current operating resource, the sign of this source material copy is set to the sign of current operating resource, and deletion record is in the information of the current operating resource of described storage space; If the mode of being redirected, then determine the directly or indirectly sign of the source material of link of current operating resource, and duplicate and obtain the directly or indirectly source material copy of link of current operating resource, the sign that is recorded in the link resources that current operating resource linked in the information of current operating resource of described storage space is set to the sign of this source material copy;
A5. judge whether also there is resource in the described formation, if then return steps A 4; Otherwise the resource that current operating resource linked is changed to current operating resource, returns steps A 2;
A6. judge whether current operating resource is link resources, if, execution in step A7 then; Otherwise execution in step A8;
A7. determine that current operating resource is a link resources, judge the on-link mode (OLM) of current operating resource, but if WriteMode, the state that then identifies current operating resource is for handling, the resource that current operating resource linked is changed to current operating resource, returns steps A 2; If snapshot mode, then determine the directly or indirectly sign of the source material of link of current operating resource, and duplicate and obtain the directly or indirectly source material copy of link of current operating resource, the sign of this source material copy is set to the sign of current operating resource, and deletion record is in the information of the current operating resource of described storage space; If the mode of being redirected, then determine the directly or indirectly sign of the source material of link of current operating resource, and duplicate and obtain the directly or indirectly source material copy of link of current operating resource, the sign that is recorded in the link resources that current operating resource linked in the information of current operating resource of described storage space is set to the sign of this source material copy;
A8. determine the sign of the source material of the resource correspondence that current preparation is revised, revise the source material value of the resource correspondence of current preparation modification by the sign of determined source material.
10, method according to claim 9 is characterized in that, the on-link mode (OLM) that can use further comprises read-only mode;
When revising link resources, further comprise before the steps A 1: whether the on-link mode (OLM) of judging this link resources is read-only mode, if then finish to work as pre-treatment; Otherwise continue execution in step A1.
11, according to claim 9 or 10 described methods, it is characterized in that, in the steps A 8, when the resource that current preparation is revised is source material, the sign of the source material of the resource correspondence that is designated this preparation modification of the resource self that described current preparation is revised; When the resource that current preparation is revised was link resources, the resource that described current preparation is revised is the sign of the source material of the resource correspondence that is designated this preparation modification of the source material of link directly or indirectly;
In steps A 4, steps A 7 and the steps A 8, described definite link resources is being designated of source material of link directly or indirectly:
A11. this link resources is changed to current operating resource;
A12. reading and recording is in the information of the current operating resource of described storage space; Judge whether the resource that current action link resource is linked is source material, if, then determine the sign of the source material that is designated the direct or indirect link of steps A 11 described link resources of the source material that current operating resource is linked, finish to work as pre-treatment; Otherwise resource that this link resources linked as current operating resource, is re-executed steps A 12.。
12, according to each described method of claim 1 to 10, it is characterized in that this method further comprises the processing of deleting resource, it comprises:
B1. judge whether that link resources links the resource of current preparation deletion, if having, execution in step B2 then; Otherwise execution in step B3;
Whether the state of resources of B2. judging described preparation deletion has been identified as the wait deletion, if finish to work as pre-treatment; Otherwise the state of resources that identifies this preparation deletion finishes to work as pre-treatment for waiting for deletion;
B3. delete the resource of described preparation deletion, judge whether the resource of being deleted is link resources, if, execution in step B4 then; Otherwise finish to work as pre-treatment;
B4. whether the determining step B3 state of resources that link resources linked of being deleted is to wait for deletion, if, then put this state for the resource of waiting for deletion is the resource of current preparation deletion, return step B1; Otherwise finish to work as pre-treatment.
13, method according to claim 1 is characterized in that, when described resource storage system was Database Systems, described storage space was the table of database; When described resource storage system is file system, but described storage space is the file of structured storage data.
CN 200510076966 2005-06-09 2005-06-09 Resource management method based on linking mechanism Pending CN1877574A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510076966 CN1877574A (en) 2005-06-09 2005-06-09 Resource management method based on linking mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510076966 CN1877574A (en) 2005-06-09 2005-06-09 Resource management method based on linking mechanism

Publications (1)

Publication Number Publication Date
CN1877574A true CN1877574A (en) 2006-12-13

Family

ID=37510010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510076966 Pending CN1877574A (en) 2005-06-09 2005-06-09 Resource management method based on linking mechanism

Country Status (1)

Country Link
CN (1) CN1877574A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105981353A (en) * 2014-02-13 2016-09-28 微软技术许可有限责任公司 Implementing server push at server stack

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105981353A (en) * 2014-02-13 2016-09-28 微软技术许可有限责任公司 Implementing server push at server stack
CN105981353B (en) * 2014-02-13 2019-07-09 微软技术许可有限责任公司 Server push is realized in server stack

Similar Documents

Publication Publication Date Title
CN1115644C (en) Method of implementing an acyclic directed graph structure using a relational database
CN1153142C (en) Transaction file system for updating elements in a plenty of files through transactions
CN1704934A (en) Method and apparatus for flowchart editing, recombination checking, establishing and conversion
CN1961313A (en) Methods and systems for indexing files and adding associated metadata to index and metadata databases
CN1627259A (en) Programmable object model for namespace or schema library support in a software application
CN101055589A (en) Embedded database storage management method
CN1808424A (en) Method of abstracting key information from documents
CN1190478A (en) Computer system for creating semantic object models from existing relational database schemas
CN1806241A (en) Database query user interface
CN1955958A (en) Sort data storage and split catalog inquiry method based on catalog tree
CN1361891A (en) Method and system for an extensible macro language
CN1684069A (en) Extraction, transformation and loading designer module of a computerized financial system
CN1864129A (en) System and a method for presenting related items to a user
CN1716249A (en) System and method for delayed fetching of designated members of a user defined type
CN1790335A (en) XML file data access method
JP2010541078A (en) Automated data object set management
CN1816791A (en) System and a method for presenting items to a user with a contextual presentation
CN1896994A (en) Apparatus, system and method for displaying parts information
CN1853161A (en) System and method for the presentation of items stored on a computer
CN1107918C (en) Locking tool data objects in framework environment
CN1658159A (en) Configurable and dynamically alterable object model
CN1828607A (en) Data search method for tree-type structural file
CN1955957A (en) Data base automatic operation method based on web service
CN1758253A (en) File management system and method
CN1825306A (en) XML data storage and access method based on relational database

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication