CN109063210A - Resource object querying method, device, equipment and the storage medium of storage system - Google Patents

Resource object querying method, device, equipment and the storage medium of storage system Download PDF

Info

Publication number
CN109063210A
CN109063210A CN201811114612.8A CN201811114612A CN109063210A CN 109063210 A CN109063210 A CN 109063210A CN 201811114612 A CN201811114612 A CN 201811114612A CN 109063210 A CN109063210 A CN 109063210A
Authority
CN
China
Prior art keywords
resource object
snapshot
target
attribute
storage system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811114612.8A
Other languages
Chinese (zh)
Other versions
CN109063210B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811114612.8A priority Critical patent/CN109063210B/en
Publication of CN109063210A publication Critical patent/CN109063210A/en
Application granted granted Critical
Publication of CN109063210B publication Critical patent/CN109063210B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a kind of resource object querying methods of storage system, comprising the following steps: in storage system normal course of operation, receives the inquiry instruction for being directed to target resource object;Obtain target resource class belonging to target resource object;The corresponding target snapshot class of target resource class is inquired in the resources-type and relation mapping table of snapshot class pre-established;Using target snapshot class as major key, target snapshot example is inquired from cache pool;It is identified as major key with target resource object, target resource object instance is inquired from the resource collection of target snapshot example;Further inquire the required attribute of target resource object instance.Using technical solution provided by the embodiment of the present invention, GUI can be reduced in query resource object and stores the command interaction cost between MCS, the response efficiency of front end page is improved, promotes user experience.The invention also discloses resource object inquiry unit, equipment and the storage mediums of a kind of storage system, have relevant art effect.

Description

Resource object querying method, device, equipment and the storage medium of storage system
Technical field
The present invention relates to technical field of memory, more particularly to a kind of resource object querying method of storage system, device, Equipment and storage medium.
Background technique
With the fast development of computer technology, storage system is in every profession and trade using more and more extensive.
It within the storage system, is mostly to present to provide by GUI (Graphical User Interface, graphic user interface) The bulk informations such as source object, alarm event, performance indicator, status information.In order to obtain and show these information, GUI need with Store the information inquiring request that frequent is carried out between MCS (Multiple Controller System, multi controller systems). Much more frequent for the inquiry request of these information, command interaction cost is higher, the CPU (Central of rear end Processing Unit, central processing unit) occupancy and memory consumption it is bigger, will affect the page response time of GUI when serious And user experience.
How to reduce GUI and store the command interaction cost between MCS, is current those skilled in the art's urgent need to resolve Technical problem.
Summary of the invention
The object of the present invention is to provide resource object querying method, device, equipment and the storage medium of a kind of storage system, To reduce GUI and store the command interaction cost between MCS, the response efficiency of front end page is improved, user experience is promoted.
In order to solve the above technical problems, the invention provides the following technical scheme:
A kind of resource object querying method of storage system, comprising:
In storage system normal course of operation, the inquiry instruction for being directed to target resource object is received;
Obtain target resource class belonging to the target resource object;
The corresponding target of the target resource class is inquired in the resources-type and relation mapping table of snapshot class pre-established Snapshot class;
Using the target snapshot class as major key, target snapshot example is inquired from cache pool;
It is identified as major key with the target resource object, inquires target from the resource collection of the target snapshot example Resource object instance;
Further inquire the required attribute of the target resource object instance.
It is described further to inquire the required of the target resource object instance in a kind of specific embodiment of the invention Attribute, comprising:
The target snapshot example and index are taken out from the constructor of the target resource object;
Result set is taken out from the target snapshot example;
The 1st row based on the result set obtains the attribute gauge outfit of the Resources list;
The i-th ndex+1 row is obtained from volume list according to the index index of resource, obtains the attribute value column of specific resources Table;
The gauge outfit of the list of attribute values is traversed, successively the value from the list of attribute values, by each attribute and attribute Value is saved in key-value pair data type, obtains the attribute and attribute value key-value pair of the specific resources;
According to the Property Name of attribute to be checked, corresponding character string is searched from the attribute and attribute value key-value pair Value;
The string value is decoded as the corresponding data type of the attribute to be checked.
In a kind of specific embodiment of the invention, further includes:
In storage system starting, all predefined snapshot classes in the storage system are traversed, are each snapshot Class creates a snapshot instance;
Using snapshot class as major key, it is value with snapshot instance, is stored in the cache pool;
Each resource object of the storage system is loaded by snapshot instance.
In a kind of specific embodiment of the invention, each money that the storage system is loaded by snapshot instance In source object, comprising:
For each resource object, the MCS order for inquiring the resource object is obtained;
It is sent to multi controller systems and executes request for the MCS order, and received the multi controller systems and return The response results returned;
By the response results by the capable result set being stored in the cache pool;
The data line in the result set is traversed according to line index;
The constructor for calling the resource object, using snapshot instance and line index as one resource object instance of parametric configuration;
It is identified as major key with the resource object, is value with the resource object instance, is stored in the resource set of snapshot instance In conjunction.
A kind of resource object inquiry unit of storage system, comprising:
Inquiry instruction receiving module, for receiving for target resource object in storage system normal course of operation Inquiry instruction;
Resources-type acquisition module, for obtaining target resource class belonging to the target resource object;
Snapshot class enquiry module, for inquiring the mesh in the relation mapping table of the resources-type and snapshot class pre-established Mark resources-type corresponding target snapshot class;
Snapshot instance enquiry module, for it is real to inquire target snapshot from cache pool using the target snapshot class as major key Example;
Resource object instance enquiry module, it is fast from the target for being identified as major key with the target resource object Target resource object instance is according to the facts inquired in the resource collection of example;
Attribute query module, for further inquiring the required attribute of the target resource object instance.
In a kind of specific embodiment of the invention, the attribute query module is specifically used for:
The target snapshot example and index are taken out from the constructor of the target resource object;
Result set is taken out from the target snapshot example;
The 1st row based on the result set obtains the attribute gauge outfit of the Resources list;
The i-th ndex+1 row is obtained from volume list according to the index index of resource, obtains the attribute value column of specific resources Table;
The gauge outfit of the list of attribute values is traversed, successively the value from the list of attribute values, by each attribute and attribute Value is saved in key-value pair data type, obtains the attribute and attribute value key-value pair of the specific resources;
According to the Property Name of attribute to be checked, corresponding character string is searched from the attribute and attribute value key-value pair Value;
The string value is decoded as the corresponding data type of the attribute to be checked.
In a kind of specific embodiment of the invention, further includes cache model building module, is used for:
In storage system starting, all predefined snapshot classes in the storage system are traversed, are each snapshot Class creates a snapshot instance;
Using snapshot class as major key, it is value with snapshot instance, is stored in the cache pool;
Each resource object of the storage system is loaded by snapshot instance.
In a kind of specific embodiment of the invention, the cache model constructs module, is specifically used for:
For each resource object, the MCS order for inquiring the resource object is obtained;
It is sent to multi controller systems and executes request for the MCS order, and received the multi controller systems and return The response results returned;
By the response results by the capable result set being stored in the cache pool;
The data line in the result set is traversed according to line index;
The constructor for calling the resource object, using snapshot instance and line index as one resource object instance of parametric configuration;
It is identified as major key with the resource object, is value with the resource object instance, is stored in the resource set of snapshot instance In conjunction.
A kind of resource object query facility of storage system, comprising:
Memory, for storing computer program;
Processor realizes that the resource object of storage system described in any of the above-described is looked into when for executing the computer program The step of inquiry method.
A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, described The step of resource object querying method of storage system described in any of the above-described is realized when computer program is executed by processor.
It receives and is directed in storage system normal course of operation using technical solution provided by the embodiment of the present invention After the inquiry instruction of target resource object, target resource class belonging to target resource object is obtained, it is resources-type what is pre-established Target snapshot class corresponding with target resource class is inquired in the relation mapping table of snapshot class is postponed using target snapshot class as major key Inquiry target snapshot example in pond is deposited, major key is identified as with target resource object, from the resource collection of target snapshot example Target resource object instance is inquired, the required attribute of target resource object instance is further inquired.By in advance by resource object Relevant information be loaded into Installed System Memory, can be reduced in query resource object GUI and store MCS between command interaction Cost improves the response efficiency of front end page, promotes user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of implementation flow chart of the resource object querying method of storage system in the embodiment of the present invention;
Fig. 2 returns the result schematic diagram to inquire the order of volume in the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of the resource object inquiry unit of storage system in the embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of the resource object query facility of storage system in the embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
It is shown in Figure 1, it is a kind of reality of the resource object querying method of storage system provided by the embodiment of the present invention Flow chart is applied, this method may comprise steps of:
S110: in storage system normal course of operation, the inquiry instruction for being directed to target resource object is received.
In storage system normal course of operation, user can send to the GUI of storage system and be directed to target resource object Inquiry instruction.After receiving the inquiry instruction for target resource object, the operation of step S120 can be continued to execute.
Resource object in storage system can be volume, pond etc..
S120: target resource class belonging to target resource object is obtained.
It in embodiments of the present invention, can in advance be that every a kind of resource object definition one resources-type and one corresponding fast It is stored in a mapping table according to class, and by resources-type and snapshot class relationship, establishes resources-type and snapshot class relationship map Table.
Wherein, resources-type to include constructor, the attribute list of all properties, analytic method of attribute etc..With resource object For volume (VDisk), the mark (ID) of volume, the title of volume, the capacity of volume, affiliated pond may include in attribute list (MDisk) title, affiliated input and output group (IO Group) title etc..The analytic method of attribute, i.e., parse from constructing variable The method for obtaining a certain attribute value.
Snapshot class includes to inquire the result set and specific resource of the MCS order of such resource object, querying command return Object instance set.
According to predefined resources-type and snapshot class, target resource class belonging to available target resource object.
S130: the corresponding target of target resource class is inquired in the resources-type and relation mapping table of snapshot class pre-established Snapshot class.
As described, resources-type and a corresponding snapshot class is defined for every a kind of resource object in advance, and Resources-type and snapshot class relationship is stored in a mapping table, resources-type and snapshot class relation mapping table is established.
It, can be in the resources-type relation mapping table with snapshot class after obtaining target resource class belonging to target resource object Inquire the corresponding target snapshot class of target resource class.
S140: using target snapshot class as major key, target snapshot example is inquired from cache pool.
In embodiments of the present invention, when storage system starts, all predefined snapshots in storage system can be traversed Class creates a snapshot instance for each snapshot class, then using snapshot class as major key, is value with snapshot instance, is stored in caching Chi Zhong, and pass through each resource object of snapshot instance load store system, that is, trigger the load resource object of snapshot instance Operation.
Specifically, it is directed to each resource object, the available MCS order for inquiring the resource object, to multi-controller system System MCS sends the response results for executing request for MCS order, and receiving multi controller systems return, is to look into shown in Fig. 2 The order for asking volume returns the result.Response results are stored in the result set of cache pool by row, according to line index traversing result collection In data line, the constructor of the resource object is called, using snapshot instance and line index as one resource object reality of parametric configuration Example, inquires the mark of the resource object, i.e. ID, is identified as major key with the resource object, is value with the resource object instance, protects There are in the resource collection of snapshot instance.
All house the corresponding snapshot class phase of each resource object in advance i.e. when storage system starts every time, in cache pool Information is closed, which, using snapshot class as major key, is value with snapshot instance.It is corresponding that target resource class is obtained in inquiry Target snapshot class after, can using target snapshot class as major key, from cache pool inquire target snapshot example.
S150: being identified as major key with target resource object, and target money is inquired from the resource collection of target snapshot example Source object example.
As described, it when storage system starts every time, saves in the resource collection of snapshot instance with resource Object is identified as major key, take resource object instance as the relevant information of value.To be identified as major key with target resource object, It can inquire to obtain target resource object instance from the resource collection of target snapshot example.
S160: the further required attribute of inquiry target resource object instance.
In a kind of specific embodiment of the invention, the institute of target resource object instance can be inquired by following steps Need attribute:
Step 1: target snapshot example and index are taken out from the constructor of target resource object;
Step 2: result set is taken out from target snapshot example;
Step 3: the 1st row based on result set obtains the attribute gauge outfit of the Resources list;
Step 4: the i-th ndex+1 row is obtained from volume list according to the index index of resource, obtains the category of specific resources Property value list;
Step 5: traversing the gauge outfit of list of attribute values, successively value in dependence value list, by each attribute and attribute value It is saved in key-value pair data type, obtains the attribute and attribute value key-value pair of specific resources;
Step 6: according to the Property Name of attribute to be checked, corresponding character is searched in dependence and attribute value key-value pair String value;
Step 7: string value is decoded as the corresponding data type of attribute to be checked.
It is illustrated for ease of description, above-mentioned several steps are combined.
Target snapshot example and index can be taken out from the constructor of target resource object, taken from target snapshot example Result set out.The 1st row is obtained from result set, string segmentation is substring by utility command separator (being defaulted as ", ") List obtains the attribute gauge outfit of the Resources list.
The i-th ndex+1 row is obtained from volume list according to the index index of resource, utility command separator (is defaulted as ", ") by string segmentation be substring list, obtain the list of attribute values of specific resources.
The gauge outfit of list of attribute values, and successively value in dependence value list are traversed, each attribute and attribute value are saved Into key-value pair data type, the attribute and attribute value key-value pair of specific resources are obtained.
According to the Property Name of desired inquiry, corresponding string value is found in dependence and attribute value key-value pair.It will The string value is decoded as the corresponding data type of the attribute.
In embodiments of the present invention, it for resource object infrequently changed information in this way, is loaded previously into In Installed System Memory, it is possible to reduce the command interaction cost between GUI and storage MCS improves the loading efficiency of front end page, mentions Rise user experience.In the buffer, be separated from each other between each resource object, and all properties of each resource object it Between be separated from each other, decoupling is thorough.
It is received in storage system normal course of operation for target using method provided by the embodiment of the present invention After the inquiry instruction of resource object, obtain target resource object belonging to target resource class, pre-establish it is resources-type with it is fast According to the corresponding target snapshot class of target resource class is inquired in the relation mapping table of class, using target snapshot class as major key, from cache pool Middle inquiry target snapshot example, is identified as major key with target resource object, inquires from the resource collection of target snapshot example Target resource object instance further inquires the required attribute of target resource object instance.By in advance by the phase of resource object Close information be loaded into Installed System Memory, can be reduced in query resource object GUI and store MCS between command interaction at This, improves the response efficiency of front end page, promotes user experience.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of inquiries of the resource object of storage system Device, a kind of resource object inquiry unit of storage system described below and a kind of above-described resource pair of storage system As querying method can correspond to each other reference.
Shown in Figure 3, which includes:
Inquiry instruction receiving module 310, for receiving and being directed to target resource object in storage system normal course of operation Inquiry instruction;
Resources-type acquisition module 320, for obtaining target resource class belonging to target resource object;
Snapshot class enquiry module 330, for inquiring mesh in the relation mapping table of the resources-type and snapshot class pre-established Mark resources-type corresponding target snapshot class;
Snapshot instance enquiry module 340, for it is real to inquire target snapshot from cache pool using target snapshot class as major key Example;
Resource object instance enquiry module 350, for being identified as major key with target resource object, from target snapshot example Resource collection in inquire target resource object instance;
Attribute query module 360, for further inquiring the required attribute of target resource object instance.
It is received in storage system normal course of operation for target using device provided by the embodiment of the present invention After the inquiry instruction of resource object, obtain target resource object belonging to target resource class, pre-establish it is resources-type with it is fast According to the corresponding target snapshot class of target resource class is inquired in the relation mapping table of class, using target snapshot class as major key, from cache pool Middle inquiry target snapshot example, is identified as major key with target resource object, inquires from the resource collection of target snapshot example Target resource object instance further inquires the required attribute of target resource object instance.By in advance by the phase of resource object Close information be loaded into Installed System Memory, can be reduced in query resource object GUI and store MCS between command interaction at This, improves the response efficiency of front end page, promotes user experience.
In a kind of specific embodiment of the invention, attribute query module 360 is specifically used for:
Target snapshot example and index are taken out from the constructor of target resource object;
Result set is taken out from target snapshot example;
The 1st row based on result set obtains the attribute gauge outfit of the Resources list;
The i-th ndex+1 row is obtained from volume list according to the index index of resource, obtains the attribute value column of specific resources Table;
The gauge outfit of list of attribute values is traversed, successively value in dependence value list, each attribute and attribute value are saved in In key-value pair data type, the attribute and attribute value key-value pair of specific resources are obtained;
According to the Property Name of attribute to be checked, corresponding string value is searched in dependence and attribute value key-value pair;
String value is decoded as the corresponding data type of attribute to be checked.
In a kind of specific embodiment of the invention, further includes cache model building module, is used for:
In storage system starting, all predefined snapshot classes in storage system are traversed, for each snapshot class creation one A snapshot instance;
Using snapshot class as major key, it is value with snapshot instance, is stored in cache pool;
Pass through each resource object of snapshot instance load store system.
In a kind of specific embodiment of the invention, cache model constructs module, is specifically used for:
For each resource object, the MCS order for inquiring the resource object is obtained;
It is sent to multi controller systems and executes request for MCS order, and receive the response of multi controller systems return As a result;
By response results by the capable result set being stored in cache pool;
The data line concentrated according to line index traversing result;
The constructor for calling the resource object, using snapshot instance and line index as one resource object instance of parametric configuration;
It is identified as major key with the resource object, is value with the resource object instance, is stored in the resource set of snapshot instance In conjunction.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of inquiries of the resource object of storage system Equipment, as shown in Figure 4, comprising:
Memory 410, for storing computer program;
Processor 420 realizes the step of the resource object querying method of above-mentioned storage system when for executing computer program Suddenly.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of computer readable storage medium, meters It is stored with computer program on calculation machine readable storage medium storing program for executing, above-mentioned storage system is realized when computer program is executed by processor The step of resource object querying method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other The difference of embodiment, same or similar part may refer to each other between each embodiment.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said It is bright to be merely used to help understand technical solution of the present invention and its core concept.It should be pointed out that for the common of the art , without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention for technical staff, these Improvement and modification are also fallen within the protection scope of the claims of the present invention.

Claims (10)

1. a kind of resource object querying method of storage system characterized by comprising
In storage system normal course of operation, the inquiry instruction for being directed to target resource object is received;
Obtain target resource class belonging to the target resource object;
The corresponding target snapshot of the target resource class is inquired in the resources-type and relation mapping table of snapshot class pre-established Class;
Using the target snapshot class as major key, target snapshot example is inquired from cache pool;
It is identified as major key with the target resource object, inquires target resource from the resource collection of the target snapshot example Object instance;
Further inquire the required attribute of the target resource object instance.
2. the resource object querying method of storage system according to claim 1, which is characterized in that the further inquiry The required attribute of the target resource object instance, comprising:
The target snapshot example and index are taken out from the constructor of the target resource object;
Result set is taken out from the target snapshot example;
The 1st row based on the result set obtains the attribute gauge outfit of the Resources list;
The i-th ndex+1 row is obtained from volume list according to the index index of resource, obtains the list of attribute values of specific resources;
The gauge outfit of the list of attribute values is traversed, successively the value from the list of attribute values, each attribute and attribute value are protected It is stored in key-value pair data type, obtains the attribute and attribute value key-value pair of the specific resources;
According to the Property Name of attribute to be checked, corresponding string value is searched from the attribute and attribute value key-value pair;
The string value is decoded as the corresponding data type of the attribute to be checked.
3. the resource object querying method of storage system according to claim 1 or 2, which is characterized in that further include:
In storage system starting, all predefined snapshot classes in the storage system are traversed, are created for each snapshot class Build a snapshot instance;
Using snapshot class as major key, it is value with snapshot instance, is stored in the cache pool;
Each resource object of the storage system is loaded by snapshot instance.
4. the resource object querying method of storage system according to claim 3, which is characterized in that described by fastly according to the facts Example loads in each resource object of the storage system, comprising:
For each resource object, the MCS order for inquiring the resource object is obtained;
It is sent to multi controller systems and executes request for the MCS order, and receive what the multi controller systems returned Response results;
By the response results by the capable result set being stored in the cache pool;
The data line in the result set is traversed according to line index;
The constructor for calling the resource object, using snapshot instance and line index as one resource object instance of parametric configuration;
It is identified as major key with the resource object, is value with the resource object instance, is stored in the resource collection of snapshot instance.
5. a kind of resource object inquiry unit of storage system characterized by comprising
Inquiry instruction receiving module, for receiving the inquiry for being directed to target resource object in storage system normal course of operation Instruction;
Resources-type acquisition module, for obtaining target resource class belonging to the target resource object;
Snapshot class enquiry module, for inquiring the target money in the relation mapping table of the resources-type and snapshot class pre-established The corresponding target snapshot class of source class;
Snapshot instance enquiry module, for inquiring target snapshot example from cache pool using the target snapshot class as major key;
Resource object instance enquiry module, it is real from the target snapshot for being identified as major key with the target resource object Target resource object instance is inquired in the resource collection of example;
Attribute query module, for further inquiring the required attribute of the target resource object instance.
6. the resource object inquiry unit of storage system according to claim 5, which is characterized in that the attribute query mould Block is specifically used for:
The target snapshot example and index are taken out from the constructor of the target resource object;
Result set is taken out from the target snapshot example;
The 1st row based on the result set obtains the attribute gauge outfit of the Resources list;
The i-th ndex+1 row is obtained from volume list according to the index index of resource, obtains the list of attribute values of specific resources;
The gauge outfit of the list of attribute values is traversed, successively the value from the list of attribute values, each attribute and attribute value are protected It is stored in key-value pair data type, obtains the attribute and attribute value key-value pair of the specific resources;
According to the Property Name of attribute to be checked, corresponding string value is searched from the attribute and attribute value key-value pair;
The string value is decoded as the corresponding data type of the attribute to be checked.
7. the resource object inquiry unit of storage system according to claim 5 or 6, which is characterized in that further include caching Model construction module is used for:
In storage system starting, all predefined snapshot classes in the storage system are traversed, are created for each snapshot class Build a snapshot instance;
Using snapshot class as major key, it is value with snapshot instance, is stored in the cache pool;
Each resource object of the storage system is loaded by snapshot instance.
8. the resource object inquiry unit of storage system according to claim 7, which is characterized in that the cache model structure Block is modeled, is specifically used for:
For each resource object, the MCS order for inquiring the resource object is obtained;
It is sent to multi controller systems and executes request for the MCS order, and receive what the multi controller systems returned Response results;
By the response results by the capable result set being stored in the cache pool;
The data line in the result set is traversed according to line index;
The constructor for calling the resource object, using snapshot instance and line index as one resource object instance of parametric configuration;
It is identified as major key with the resource object, is value with the resource object instance, is stored in the resource collection of snapshot instance.
9. a kind of resource object query facility of storage system characterized by comprising
Memory, for storing computer program;
Processor realizes the resource of the storage system as described in any one of Claims 1-4 when for executing the computer program The step of Object Query method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the resource pair of the storage system as described in any one of Claims 1-4 when the computer program is executed by processor As the step of querying method.
CN201811114612.8A 2018-09-25 2018-09-25 Resource object query method, device, equipment and storage medium of storage system Active CN109063210B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811114612.8A CN109063210B (en) 2018-09-25 2018-09-25 Resource object query method, device, equipment and storage medium of storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811114612.8A CN109063210B (en) 2018-09-25 2018-09-25 Resource object query method, device, equipment and storage medium of storage system

Publications (2)

Publication Number Publication Date
CN109063210A true CN109063210A (en) 2018-12-21
CN109063210B CN109063210B (en) 2022-07-08

Family

ID=64762458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811114612.8A Active CN109063210B (en) 2018-09-25 2018-09-25 Resource object query method, device, equipment and storage medium of storage system

Country Status (1)

Country Link
CN (1) CN109063210B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110231994A (en) * 2019-06-20 2019-09-13 深圳市腾讯网域计算机网络有限公司 Memory analysis method, apparatus and computer readable storage medium
CN110515543A (en) * 2019-08-02 2019-11-29 星辰天合(北京)数据科技有限公司 Object bucket-based snapshot method, device and system
CN114154026A (en) * 2021-11-12 2022-03-08 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183383A (en) * 2007-12-17 2008-05-21 中国科学院计算技术研究所 Snapshot system and method of use thereof
US20140279992A1 (en) * 2013-03-14 2014-09-18 Bmc Software, Inc. Storing and retrieving context senstive data in a management system
CN107025243A (en) * 2016-02-02 2017-08-08 北京神州泰岳软件股份有限公司 A kind of querying method of resource data, inquiring client terminal and inquiry system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183383A (en) * 2007-12-17 2008-05-21 中国科学院计算技术研究所 Snapshot system and method of use thereof
US20140279992A1 (en) * 2013-03-14 2014-09-18 Bmc Software, Inc. Storing and retrieving context senstive data in a management system
CN107025243A (en) * 2016-02-02 2017-08-08 北京神州泰岳软件股份有限公司 A kind of querying method of resource data, inquiring client terminal and inquiry system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110231994A (en) * 2019-06-20 2019-09-13 深圳市腾讯网域计算机网络有限公司 Memory analysis method, apparatus and computer readable storage medium
CN110231994B (en) * 2019-06-20 2024-03-12 深圳市腾讯网域计算机网络有限公司 Memory analysis method, memory analysis device and computer readable storage medium
CN110515543A (en) * 2019-08-02 2019-11-29 星辰天合(北京)数据科技有限公司 Object bucket-based snapshot method, device and system
CN114154026A (en) * 2021-11-12 2022-03-08 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109063210B (en) 2022-07-08

Similar Documents

Publication Publication Date Title
CN109783512A (en) Data processing method, device, computer equipment and storage medium
US9501313B2 (en) Resource management and allocation using history information stored in application's commit signature log
CN103544153A (en) Data updating method and system based on database
CN109063210A (en) Resource object querying method, device, equipment and the storage medium of storage system
US10754556B2 (en) Prioritization of virtual volumes to take offline in a thin provisioning system
CN112100182B (en) Data warehouse-in processing method, device and server
CN109344157A (en) Read and write abruption method, apparatus, computer equipment and storage medium
CN112148217B (en) Method, device and medium for caching deduplication metadata of full flash memory system
JP6842447B2 (en) Systems and methods to help optimize resource allocation
CN108874930A (en) File attribute information statistical method, device, system, equipment and storage medium
CN115576501A (en) Node updating method, system and related device of RAID card
CN102542036B (en) Use the table optimized
CN113364877A (en) Data processing method, device, electronic equipment and medium
CN111736975A (en) Request control method and device, computer equipment and computer readable storage medium
GB2497172A (en) Reserving space on a storage device for new data based on predicted changes in access frequencies of storage devices
CN114518848B (en) Method, device, equipment and medium for processing stored data
CN115576947A (en) Data management method and device, combined library, electronic equipment and storage medium
CN104484332A (en) Method and device for reading and writing data in embedded system
US9619153B2 (en) Increase memory scalability using table-specific memory cleanup
CN109635042B (en) OLTP and OLAP integrated automobile financial big data system
CN114138925A (en) Location point belonging area retrieval method, device, electronic equipment, medium and product
CN111782834A (en) Image retrieval method, device, equipment and computer readable storage medium
CN109308197A (en) The restoring method and device of setting option
CN114996342B (en) Pool dividing method and device for connecting pools
CN114780021B (en) Copy repairing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant