CN106021414A - Method and system for accessing multilevel cache parameter information - Google Patents

Method and system for accessing multilevel cache parameter information Download PDF

Info

Publication number
CN106021414A
CN106021414A CN201610318895.2A CN201610318895A CN106021414A CN 106021414 A CN106021414 A CN 106021414A CN 201610318895 A CN201610318895 A CN 201610318895A CN 106021414 A CN106021414 A CN 106021414A
Authority
CN
China
Prior art keywords
parameter information
buffer storage
storage
information
buffer
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
CN201610318895.2A
Other languages
Chinese (zh)
Other versions
CN106021414B (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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201610318895.2A priority Critical patent/CN106021414B/en
Publication of CN106021414A publication Critical patent/CN106021414A/en
Application granted granted Critical
Publication of CN106021414B publication Critical patent/CN106021414B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects

Abstract

The invention discloses a method and a system for accessing multilevel cache parameter information. The method is applicable to a preset multilevel cache system. The multilevel cache system comprises multiple cache devices which are divided according to the level; parameter information of applications is stored in the multiple cache devices in advance; and a uniform interface is arranged. The method comprises the steps of obtaining a parameter information obtaining request by the uniform interface and determining a storage position of the parameter information based on the pre-stored configuration information; starting searching the parameter information from the cache device at the lowest level in the storage position information; if the parameter information is searched, obtaining the parameter information from the cache device at the lowest level and sending the parameter information to an application; if the parameter information is not searched, searching the parameter information in the cache device at a higher level in the position information until the parameter information is searched; and synchronizing the parameter information to an adjacent cache device at a lower level and then sending the parameter information to the application. Therefore, the purposes of managing the parameters intensively, reducing the development difficulty and increasing the access speed are realized.

Description

A kind of method and system accessing multi-level buffer parameter information
Technical field
The present invention relates to application system development technical field, access multistage delaying more particularly, it relates to a kind of Deposit the method and system of parameter information.
Background technology
In application system development, access and management to supplemental characteristic are inevitable.User is to ginseng The access of number generally uses the following two kinds method, the first: parameter is stored in data base, applies sum After connecting according to storehouse, obtained the data needed by inquiry;The second: when application system starts, will ginseng Number data are loaded into local internal memory, carry out queried access further according to data storage form in internal memory.
But, first method is difficult to provide unified development interface, develop and safeguard relatively costly, Parameter access inefficiency;Second method development difficulty is big, and especially design parameter data are in internal memory Storage form, and opening of application program may be affected in the case of the many data volumes of parameter kind are relatively big Dynamic.
Therefore, how to manage parameter concentratedly, reduce development difficulty, improve access speed simultaneously, become this One of skilled person's problem demanding prompt solution.
Summary of the invention
For solve above-mentioned technical problem, the present invention provide a kind of method accessing multi-level buffer parameter information and System, to realize centralized management parameter, reduces development difficulty, improves the purpose of access speed simultaneously.
For achieving the above object, the present invention provides following technical scheme:
A kind of method accessing multi-level buffer parameter information, it is adaptable to default multilevel cache system, described Multilevel cache system includes the multiple buffer storages according to grade classification, and the plurality of buffer storage is deposited in advance Storing up the parameter information of application, and the plurality of buffer storage is provided with unified interface, the method includes:
Described unified interface receives the parameter information acquisition request that application sends, and based on joining of prestoring Confidence breath determines the storage position of parameter information;Wherein, described configuration information storage has described parameter information Storage positional information in described multilevel cache system;
Described unified interface has the buffer storage of described parameter information based on described storage positional information from storage In the lowest class buffer storage begin look for described parameter information;
If finding described parameter information, the most described unified interface in described the lowest class buffer storage From described the lowest class buffer storage, obtain described parameter information, and be sent to described application;
If not finding described parameter information in described the lowest class buffer storage, the most described unification connects Mouth removes to search in more higher leveled buffer storage in described positional information described parameter information, until finding Described parameter information;
After being synchronized in adjacent inferior grade buffer storage by described parameter information, it is then forwarded to described application.
Preferably, described in prestore the parameter information of application, including:
Described parameter information is stored to the plurality of slow by the feature previously according to the parameter information of described application In at least two buffer storage in cryopreservation device, and generate storage the joining of position comprising described parameter information Confidence ceases;
Wherein, described at least two buffer storage has one for highest ranking buffer storage.
Preferably, if described default multilevel cache system includes data base, caching server and virtual machine Three grades of buffer storages, wherein, described data base is highest ranking buffer storage, and described virtual machine is minimum Levels of caches device, the grade of caching server between data base and virtual machine, described in prestore The parameter information storage of application, including:
Described parameter information stored to described three grades previously according to the feature of parameter information of described application and delay In at least two buffer storage in cryopreservation device, and generate storage the joining of position comprising described parameter information Confidence ceases;
Wherein, described at least two buffer storage has one for data base.
Preferably, also include:
Described unified interface response user operate the management of described parameter information, and to described parameter information Execution corresponding management operates.
Preferably, described management operation includes being modified described parameter information, delete, increase operation;
When described management operation is for change operation, described unified interface response user is to described parameter information Change operation, the described parameter information chosen is modified;
When described management operation is for deletion action, described unified interface response user is to described parameter information Deletion action, described parameter information is deleted the parameter information chosen;
When described management operation is for increasing operation, described unified interface response user is to described parameter information Increase operation, the new parameter information chosen is increased in described parameter information.
A kind of system accessing multi-level buffer parameter information, including the multiple buffer storages according to grade classification, And be the unified interface of the plurality of buffer storage setting;
The plurality of buffer storage, for prestoring the parameter information of application;
Described unified interface, the parameter information sent for receiving application obtains request, and based on depositing in advance The configuration information of storage determines the storage position of parameter information;Described configuration information storage has described parameter information Storage positional information in described multilevel cache system;Based on described storage positional information from storage The lowest class buffer storage stated in the buffer storage of parameter information begins look for described parameter information;If Described parameter information is found, then from described the lowest class caching dress in described the lowest class buffer storage Put the described parameter information of middle acquisition, and be sent to described application;If not at described the lowest class caching dress Find described parameter information in putting, then go described positional information is searched in more higher leveled buffer storage Described parameter information, until finding described parameter information, and is synchronized to adjacent by described parameter information After in inferior grade buffer storage, it is then forwarded to described application.
Preferably, described unified interface, it is used for the feature of the parameter information previously according to described application by institute State parameter information to be stored in the buffer storage of at least two grade in the plurality of buffer storage, and raw Become to comprise the configuration information of the storage position of described parameter information;
Wherein, the buffer storage of described at least two grade has one for highest ranking buffer storage.
Preferably, include that data base, caching server and virtual machine three grades are slow when the plurality of buffer storage Cryopreservation device, wherein, described data base is highest ranking buffer storage, and virtual machine is the lowest class caching dress Putting, the grade of caching server is between data base and virtual machine;
Described unified interface, described parameter is believed by the feature for the parameter information previously according to described application Breath is stored in described three grades of buffer storages in the buffer storage of at least two grade, and generation comprises described The configuration information of the storage position of parameter information;
Wherein, the buffer storage of described at least two grade has one for data base.
Preferably, described unified interface, it is additionally operable to respond user and the management of described parameter information is operated, And described parameter information is performed corresponding management operation.
Preferably, when described management operation is for change operation, described unified interface, it is used for responding user Change to described parameter information operates, and is modified the described parameter information chosen;
When described management operation is for deletion action, described unified interface, it is used for responding user to described ginseng The deletion action of number information, deletes the parameter information chosen in described parameter information;
When described management operation is for increasing operation, described unified interface, it is used for responding user to described ginseng The increase operation of number information, increases to the new parameter information chosen in described parameter information.
From technique scheme it can be seen that a kind of multi-level buffer parameter information of accessing of providing of the present invention Method and system, the access of parameter can be realized by described unified interface, convenient centralized management parameter, Achieve the transparence accessing parameter, reduce development difficulty.And accessing described parameter information when The lowest class buffer storage of described parameter information is had to begin look for described parameter information, due to institute from storage Stating the buffer storage of the access speed higher level to be faster than of the lowest class buffer storage, therefore, the present invention carries The method accessing multi-level buffer parameter information of confession can improve access speed.And, described minimum etc. In the case of level buffer storage does not finds described parameter information, go to store described parameter information more Higher leveled buffer storage is searched described parameter information, it is possible in the lowest class buffer storage storage shakiness In the case of Ding, it is ensured that described application can find described parameter information from the buffer storage of higher level, And the parameter information found is synchronized in adjacent inferior grade buffer storage, it is ensured that in access next time Time, from rudimentary buffer storage, find described parameter information, improve access speed.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below, Accompanying drawing in description is only embodiments of the invention, for those of ordinary skill in the art, not On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
A kind of method flow diagram accessing multi-level buffer parameter information that Fig. 1 provides for the embodiment of the present invention one;
A kind of system schematic accessing multi-level buffer parameter information that Fig. 2 provides for the embodiment of the present invention four;
A kind of system schematic accessing multi-level buffer parameter information that Fig. 3 provides for the embodiment of the present invention five.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
The embodiment of the invention discloses a kind of method and system accessing multi-level buffer parameter information, to realize Centralized management parameter, reduces development difficulty, improves the purpose of access speed simultaneously.
Embodiment one
The embodiment of the present invention one provides a kind of method accessing multi-level buffer parameter information, it is adaptable to default Multilevel cache system, described multilevel cache system includes the multiple buffer storages according to grade classification, described Multiple buffer storages prestore the parameter information of application, and the plurality of buffer storage is provided with unified connecing Mouthful.
A kind of side accessing multi-level buffer parameter information disclosed in the embodiment of the present invention one as shown in accompanying drawing 1 Method flow chart, described method includes:
S101: described unified interface receives the parameter information acquisition request that application sends, and based on depositing in advance The configuration information of storage determines the storage position of parameter information;
Wherein, the storage of described configuration information is by the storage in described multilevel cache system of the described parameter information Positional information;
S102: described unified interface has the slow of described parameter information based on described storage positional information from storage The lowest class buffer storage in cryopreservation device begins look for described parameter information;
It should be noted that the access speed of the lowest class buffer storage greater degree to be faster than buffer storage Access speed, but, stability greater degree the to be less than buffer storage of the lowest class buffer storage Stability.
S103: judge whether find described parameter information, if looking in described the lowest class buffer storage Find described parameter information, then perform step S104;If not finding described parameter information, then perform step Rapid S105;
S104: described unified interface obtains described parameter information from described the lowest class buffer storage, and It is sent to described application;
S105: described unified interface is gone in described positional information to search in more higher leveled buffer storage described Parameter information, until finding described parameter information;Described parameter information is synchronized to adjacent inferior grade After in buffer storage, it is then forwarded to described application.
Can be obtained by the method accessing multi-level buffer parameter information a kind of disclosed in the invention described above embodiment Going out, in the present embodiment, the access of parameter can be realized by described unified interface, convenient centralized management ginseng Number, it is achieved that access the transparence of parameter, reduce development difficulty.And accessing described parameter information Time from storage have the lowest class buffer storage of described parameter information to begin look for described parameter information, by In the buffer storage of the access speed higher level to be faster than of described the lowest class buffer storage, therefore, this The method accessing multi-level buffer parameter information of bright offer can improve access speed.And, described In the case of inferior grade buffer storage does not finds described parameter information, storage is gone to have described parameter information More higher leveled buffer storage in search described parameter information, it is possible to the lowest class buffer storage store In the case of instability, it is ensured that described application can find described parameter from the buffer storage of higher level Information, and the parameter information found is synchronized in adjacent inferior grade buffer storage, it is ensured that in next time The when of access, from rudimentary buffer storage, find described parameter information, improve access speed.
Embodiment two
A kind of method accessing multi-level buffer parameter information provided based on the invention described above embodiment one, institute Stating the parameter information prestoring application, its process carrying out in advance storing specifically includes that
Described parameter information is stored to the plurality of slow by the feature previously according to the parameter information of described application In at least two buffer storage in cryopreservation device, and generate storage the joining of position including described parameter information Confidence ceases;
Wherein, described at least two buffer storage has one for highest ranking buffer storage;
In technical scheme disclosed in the embodiment of the present invention, it is preferred that if described default multi-level buffer system System includes data base, caching server and three grades of buffer storages of virtual machine, and wherein, described data base is High-grade buffer storage, described virtual machine is the lowest class buffer storage, and the grade of caching server is positioned at Between data base and virtual machine;
Based on this, described in prestore the parameter information of application, its concrete storing process includes:
Described parameter information stored to described three grades previously according to the feature of parameter information of described application and delay In at least two buffer storage in cryopreservation device, and generate storage the joining of position comprising described parameter information Confidence ceases;
Wherein, described at least two buffer storage has one for data base.
Can be obtained by the method accessing multi-level buffer parameter information a kind of disclosed in the invention described above embodiment Going out, the present embodiment is by providing unified interface, and the access of parameter can be realized by described unified interface, Convenient centralized management parameter, it is achieved that access the transparence of parameter, reduce development difficulty.And accessing The lowest class buffer storage of described parameter information is had to begin look for institute from storage when of described parameter information State parameter information, due to the caching dress of the access speed higher level to be faster than of described the lowest class buffer storage Putting, therefore, the method accessing multi-level buffer parameter information that the present invention provides can improve access speed. And, in the case of not finding described parameter information in described the lowest class buffer storage, go storage Have in the more higher leveled buffer storage of described parameter information and search described parameter information, it is possible to minimum etc. In the case of level buffer storage storage instability, it is ensured that described application can be from the buffer storage of higher level Find described parameter information, and the parameter information found is synchronized to adjacent inferior grade buffer storage In, it is ensured that accessing next time when, from rudimentary buffer storage, find described parameter information, improve Access speed.
Further, described unified interface previously according to the feature of the parameter information of described application by described Parameter information stores at least two buffer storage to the plurality of buffer storage, and generation includes institute State the configuration information of the storage position of parameter information;Wherein, described at least two buffer storage there is one For highest ranking buffer storage.Owing to the stability of highest ranking buffer storage is than inferior grade buffer storage Stability want height, even if in the case of the data in lower grade buffer storage are lost because of unexpected, In highest ranking buffer storage, also storage has the backup of parameter information, therefore, further ensures application energy Enough in multi-level buffer device, get parameter information.
Embodiment three
A kind of method accessing multi-level buffer parameter information provided based on above-described embodiment one, the present invention is real Execute example three and provide corresponding other feasible operations during accessing multi-level buffer parameter information.
In technical scheme disclosed in the embodiment of the present invention, it is preferred that may further comprise: described unification Interface response user operate the management of described parameter information, and described parameter information is performed corresponding management Operation.
Described management operation includes being modified described parameter information, delete, increase operation;
When described management operation is for change operation, described unified interface response user is to described parameter information Change operation, the described parameter information chosen is modified;
When described management operation is for deletion action, described unified interface response user is to described parameter information Deletion action, described parameter information is deleted the parameter information chosen;
When described management operation is for increasing operation, described unified interface response user is to described parameter information Increase operation, the new parameter information chosen is increased in described parameter information.
It should be noted that the management of described parameter information is operated by described unified interface response user, and Perform to manage operation accordingly to described parameter information.Wherein, described management operation includes but are not limited to The operation change, delete, increased, also includes the management operations such as insertion, refreshing, and operating process is similar, Here will not enumerate.
Also, it should be noted a kind of multi-level buffer parameter information of accessing that the embodiment of the present invention three provides Method is on the basis of a kind of method accessing multi-level buffer parameter information that the embodiment of the present invention one provides Disclosed, therefore, the content consistent with the method described in the embodiment of the present invention one repeats no more.
Can be obtained by the method accessing multi-level buffer parameter information a kind of disclosed in the above embodiment of the present invention Going out, the present embodiment is by providing unified interface, and the access of parameter can be realized by described unified interface, Convenient centralized management parameter, it is achieved that access the transparence of parameter, reduce development difficulty.And accessing The lowest class buffer storage of described parameter information is had to begin look for institute from storage when of described parameter information State parameter information, due to the caching dress of the access speed higher level to be faster than of described the lowest class buffer storage Putting, therefore, the method accessing multi-level buffer parameter information that the present invention provides can improve access speed.
And, in the case of not finding described parameter information in described the lowest class buffer storage, go Storage has in the more higher leveled buffer storage of described parameter information searches described parameter information, it is possible to In the case of inferior grade buffer storage storage instability, it is ensured that described application can fill from the caching of higher level Find described parameter information in putting, and the parameter information found is synchronized to adjacent inferior grade caching In device, it is ensured that accessing next time when, from rudimentary buffer storage, find described parameter information, Improve access speed.
Further, described unified interface response user operate the management of described parameter information, and right Described parameter information performs corresponding management operation, and the management for parameter information provides unified interface, for Variation of parameter, delete, the management operation such as increase provides support.
Embodiment four
As shown in Figure 2, for the embodiment of the present invention four provide a kind of access multi-level buffer parameter information be The schematic diagram of system, including: (Fig. 2 shows N number of caching according to multiple buffer storages 201 of grade classification Device, N is integer, and the value of N is more than or equal to 2), and arrange for the plurality of buffer storage 201 Unified interface 202;
The plurality of buffer storage 201, for prestoring the parameter information of application 203;
Described unified interface 202, for receiving the parameter information acquisition request of application 203 transmission, and based on The configuration information 2021 prestored determines the storage position of parameter information;Described configuration information 2021 is deposited Contain described parameter information storage positional information in described multilevel cache system;Based on described storage position Confidence breath has the lowest class buffer storage the buffer storage of described parameter information to begin look for institute from storage State parameter information;If finding described parameter information in described the lowest class buffer storage, then from institute State and the lowest class buffer storage obtains described parameter information, and be sent to described application 203;If do not existed Described the lowest class buffer storage finds described parameter information, then goes in described positional information higher by one The buffer storage of level searches described parameter information, until finding described parameter information, and by described ginseng Number synchronizing information, to after in adjacent inferior grade buffer storage, are then forwarded to described application 203.
In technical scheme disclosed in the embodiment of the present invention, it is preferred that described unified interface 202, for pre- First according to the feature of the parameter information of described application 203, described parameter information is stored in the plurality of caching In the buffer storage of at least two grade in device 201, and generate the storage position comprising described parameter information The configuration information 2021 put;
Wherein, the buffer storage of described at least two grade has one for highest ranking buffer storage.
Can be obtained by the system accessing multi-level buffer parameter information a kind of disclosed in the invention described above embodiment Going out, the present embodiment prestores the parameter information of application by multiple buffer storages, is connect by described unification Mouth accesses parameter information, convenient centralized management parameter, it is achieved that access the transparence of parameter, reduce out Degree of raising difficult questions.And described unified interface has the lowest class buffer storage of described parameter information to start to look into from storage Look for described parameter information, due to access speed higher level to be faster than slow of described the lowest class buffer storage Cryopreservation device, therefore, the system accessing multi-level buffer parameter information that the present invention provides can improve access speed Degree.And, described unified interface does not finds described parameter information in described the lowest class buffer storage In the case of, go to store and the more higher leveled buffer storage of described parameter information is searched described parameter letter Breath, it is possible in the case of the lowest class buffer storage storage instability, it is ensured that described application can be from more Senior buffer storage finds described parameter information, and the parameter information found is synchronized to adjacent Inferior grade buffer storage in, it is ensured that accessing next time when, from rudimentary buffer storage, find institute State parameter information, improve access speed.
Embodiment five
Based on the disclosed system accessing multi-level buffer parameter information of the invention described above embodiment four, specifically In application, as accompanying drawing 3 shows the access multi-level buffer when multi-level buffer device includes three grades of buffer storages The system schematic of parameter information.
Preferably, data base 2011, caching server 2012 and are included when the plurality of buffer storage 201 During 2,013 3 grades of buffer storages of virtual machine, wherein, described data base 2011 is highest ranking buffer storage, Virtual machine 2013 is the lowest class buffer storage, and the grade of caching server 2012 is positioned at data base 2011 And between virtual machine 2013;
Described unified interface 202, is used for the feature of the parameter information previously according to described application 203 by described Parameter information is stored in described three grades of buffer storages in the buffer storage of at least two grade, and generates bag The configuration information 2021 of the storage position containing described parameter information;
Wherein, the buffer storage of described at least two grade has one for data base 2011.
Can be obtained by the system accessing multi-level buffer parameter information a kind of disclosed in the invention described above embodiment Going out, the present embodiment prestores the parameter information of application by multiple buffer storages, is connect by described unification Mouth accesses parameter information, convenient centralized management parameter, it is achieved that access the transparence of parameter, reduce out Degree of raising difficult questions.And described unified interface has the lowest class buffer storage of described parameter information to start to look into from storage Look for described parameter information, due to access speed higher level to be faster than slow of described the lowest class buffer storage Cryopreservation device, therefore, the system accessing multi-level buffer parameter information that the present invention provides can improve access speed Degree.And, described unified interface does not finds described parameter information in described the lowest class buffer storage In the case of, go to store and the more higher leveled buffer storage of described parameter information is searched described parameter letter Breath, it is possible in the case of the lowest class buffer storage storage instability, it is ensured that described application can be from more Senior buffer storage finds described parameter information, and the parameter information found is synchronized to adjacent Inferior grade buffer storage in, it is ensured that accessing next time when, from rudimentary buffer storage, find institute State parameter information, improve access speed.
Further, described unified interface previously according to the feature of the parameter information of described application by described Parameter information stores at least two buffer storage to the plurality of buffer storage, and generation includes institute State the configuration information of the storage position of parameter information;Wherein, described at least two buffer storage there is one For highest ranking buffer storage.Owing to the stability of highest ranking buffer storage is than inferior grade buffer storage Stability want height, even if in the case of the data in lower grade buffer storage are lost because of unexpected, In highest ranking buffer storage, also storage has the backup of parameter information, therefore, further ensures application energy Enough in multi-level buffer device, get parameter information.
Embodiment six
Preferably, a kind of system accessing multi-level buffer parameter information provided based on above-described embodiment four, In conjunction with accompanying drawing 2, in a kind of system accessing multi-level buffer parameter information that the embodiment of the present invention six provides,
Described unified interface 202, is additionally operable to respond user and operates the management of described parameter information, and to institute State parameter information and perform corresponding management operation.
Preferably, when described management operation is for change operation, described unified interface 202, it is used for responding use The change of described parameter information is operated by family, is modified the described parameter information chosen;
When described management operation is for deletion action, described unified interface 202, it is used for responding user to described The deletion action of parameter information, deletes the parameter information chosen in described parameter information;
When described management operation is for increasing operation, described unified interface 202, it is used for responding user to described The increase operation of parameter information, increases to the new parameter information chosen in described parameter information.
Equally, it should be noted that described unified interface, it is additionally operable to respond user to described parameter information Management operation, and to described parameter information perform manage operation accordingly.Wherein, described management operation Include but are not limited to the operation changed, delete, increase, also include the management operations such as insertion, refreshing, Operating process is similar, will not enumerate here.
Can be obtained by the system accessing multi-level buffer parameter information a kind of disclosed in the invention described above embodiment Going out, the present embodiment prestores the parameter information of application by multiple buffer storages, is connect by described unification Mouth accesses parameter information, convenient centralized management parameter, it is achieved that access the transparence of parameter, reduce out Degree of raising difficult questions.And described unified interface has the lowest class buffer storage of described parameter information to start to look into from storage Look for described parameter information, due to access speed higher level to be faster than slow of described the lowest class buffer storage Cryopreservation device, therefore, the system accessing multi-level buffer parameter information that the present invention provides can improve access speed Degree.And, described unified interface does not finds described parameter information in described the lowest class buffer storage In the case of, go to store and the more higher leveled buffer storage of described parameter information is searched described parameter letter Breath, it is possible in the case of the lowest class buffer storage storage instability, it is ensured that described application can be from more Senior buffer storage finds described parameter information, and the parameter information found is synchronized to adjacent Inferior grade buffer storage in, it is ensured that accessing next time when, from rudimentary buffer storage, find institute State parameter information, improve access speed.
Further, described unified interface response user operate the management of described parameter information, and right Described parameter information performs corresponding management operation, and the management for parameter information provides unified interface, for Variation of parameter, delete, the management operation such as increase provides support.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses this Invention.Multiple amendment to these embodiments will be apparent for those skilled in the art , generic principles defined herein can without departing from the spirit or scope of the present invention, Realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein, And it is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (10)

1. the method accessing multi-level buffer parameter information, it is characterised in that be applicable to preset is multistage Caching system, described multilevel cache system includes the multiple buffer storages according to grade classification, the plurality of Buffer storage prestores the parameter information of application, and the plurality of buffer storage is provided with unified interface, The method includes:
Described unified interface receives the parameter information acquisition request that application sends, and based on joining of prestoring Confidence breath determines the storage position of parameter information;Wherein, described configuration information storage has described parameter information Storage positional information in described multilevel cache system;
Described unified interface has the buffer storage of described parameter information based on described storage positional information from storage In the lowest class buffer storage begin look for described parameter information;
If finding described parameter information, the most described unified interface in described the lowest class buffer storage From described the lowest class buffer storage, obtain described parameter information, and be sent to described application;
If not finding described parameter information in described the lowest class buffer storage, the most described unification connects Mouth removes to search in more higher leveled buffer storage in described positional information described parameter information, until finding Described parameter information;
After being synchronized in adjacent inferior grade buffer storage by described parameter information, it is then forwarded to described application.
Method the most according to claim 1, it is characterised in that described in prestore the parameter of application Information, including:
Described parameter information is stored to the plurality of slow by the feature previously according to the parameter information of described application In at least two buffer storage in cryopreservation device, and generate storage the joining of position comprising described parameter information Confidence ceases;
Wherein, described at least two buffer storage has one for highest ranking buffer storage.
Method the most according to claim 2, it is characterised in that if described default multi-level buffer system System includes data base, caching server and three grades of buffer storages of virtual machine, and wherein, described data base is High-grade buffer storage, described virtual machine is the lowest class buffer storage, and the grade of caching server is positioned at Between data base and virtual machine, described in prestore the parameter information of application, including:
Described parameter information stored to described three grades previously according to the feature of parameter information of described application and delay In at least two buffer storage in cryopreservation device, and generate storage the joining of position comprising described parameter information Confidence ceases;
Wherein, described at least two buffer storage has one for data base.
Method the most according to claim 1, it is characterised in that also include:
Described unified interface response user operate the management of described parameter information, and to described parameter information Execution corresponding management operates.
Method the most according to claim 4, it is characterised in that described management operation includes described Parameter information is modified, deletes, increases operation;
When described management operation is for change operation, described unified interface response user is to described parameter information Change operation, the described parameter information chosen is modified;
When described management operation is for deletion action, described unified interface response user is to described parameter information Deletion action, described parameter information is deleted the parameter information chosen;
When described management operation is for increasing operation, described unified interface response user is to described parameter information Increase operation, the new parameter information chosen is increased in described parameter information.
6. the system accessing multi-level buffer parameter information, it is characterised in that include according to grade classification Multiple buffer storages, and be the plurality of buffer storage arrange unified interface;
The plurality of buffer storage, for prestoring the parameter information of application;
Described unified interface, the parameter information sent for receiving application obtains request, and based on depositing in advance The configuration information of storage determines the storage position of parameter information;Described configuration information storage has described parameter information Storage positional information in described multilevel cache system;Based on described storage positional information from storage The lowest class buffer storage stated in the buffer storage of parameter information begins look for described parameter information;If Described parameter information is found, then from described the lowest class caching dress in described the lowest class buffer storage Put the described parameter information of middle acquisition, and be sent to described application;If not at described the lowest class caching dress Find described parameter information in putting, then go described positional information is searched in more higher leveled buffer storage Described parameter information, until finding described parameter information, and is synchronized to adjacent by described parameter information After in inferior grade buffer storage, it is then forwarded to described application.
System the most according to claim 6, it is characterised in that
Described unified interface, described parameter is believed by the feature for the parameter information previously according to described application Breath is stored in the buffer storage of at least two grade in the plurality of buffer storage, and generation comprises institute State the configuration information of the storage position of parameter information;
Wherein, the buffer storage of described at least two grade has one for highest ranking buffer storage.
System the most according to claim 7, it is characterised in that when the plurality of buffer storage includes Data base, caching server and three grades of buffer storages of virtual machine, wherein, described data base is highest ranking Buffer storage, virtual machine is the lowest class buffer storage, and the grade of caching server is positioned at data base and void Between plan machine;
Described unified interface, described parameter is believed by the feature for the parameter information previously according to described application Breath is stored in described three grades of buffer storages in the buffer storage of at least two grade, and generation comprises described The configuration information of the storage position of parameter information;
Wherein, the buffer storage of described at least two grade has one for data base.
System the most according to claim 6, it is characterised in that described unified interface, is additionally operable to ring Answer user that the management of described parameter information is operated, and described parameter information is performed corresponding management operation.
System the most according to claim 9, it is characterised in that
When described management operation is for change operation, described unified interface, it is used for responding user to described ginseng The change operation of number information, is modified the described parameter information chosen;
When described management operation is for deletion action, described unified interface, it is used for responding user to described ginseng The deletion action of number information, deletes the parameter information chosen in described parameter information;
When described management operation is for increasing operation, described unified interface, it is used for responding user to described ginseng The increase operation of number information, increases to the new parameter information chosen in described parameter information.
CN201610318895.2A 2016-05-13 2016-05-13 A kind of method and system accessing multi-level buffer parameter information Active CN106021414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610318895.2A CN106021414B (en) 2016-05-13 2016-05-13 A kind of method and system accessing multi-level buffer parameter information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610318895.2A CN106021414B (en) 2016-05-13 2016-05-13 A kind of method and system accessing multi-level buffer parameter information

Publications (2)

Publication Number Publication Date
CN106021414A true CN106021414A (en) 2016-10-12
CN106021414B CN106021414B (en) 2019-07-09

Family

ID=57100104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610318895.2A Active CN106021414B (en) 2016-05-13 2016-05-13 A kind of method and system accessing multi-level buffer parameter information

Country Status (1)

Country Link
CN (1) CN106021414B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107977165A (en) * 2017-11-22 2018-05-01 用友金融信息技术股份有限公司 Data buffer storage optimization method, device and computer equipment
CN108156201A (en) * 2016-12-06 2018-06-12 北京京东尚科信息技术有限公司 It is managed collectively the method and apparatus of application system configuration data
CN117349483A (en) * 2023-12-05 2024-01-05 杭州行芯科技有限公司 Parasitic parameter searching method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035925A (en) * 2013-03-04 2014-09-10 深圳市腾讯计算机系统有限公司 Data storage method and device and storage system
CN104424119A (en) * 2013-08-26 2015-03-18 联想(北京)有限公司 Storage space configuration method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035925A (en) * 2013-03-04 2014-09-10 深圳市腾讯计算机系统有限公司 Data storage method and device and storage system
CN104424119A (en) * 2013-08-26 2015-03-18 联想(北京)有限公司 Storage space configuration method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156201A (en) * 2016-12-06 2018-06-12 北京京东尚科信息技术有限公司 It is managed collectively the method and apparatus of application system configuration data
CN108156201B (en) * 2016-12-06 2021-01-26 北京京东尚科信息技术有限公司 Method and device for uniformly managing configuration data of application system
CN107977165A (en) * 2017-11-22 2018-05-01 用友金融信息技术股份有限公司 Data buffer storage optimization method, device and computer equipment
CN107977165B (en) * 2017-11-22 2021-01-08 用友金融信息技术股份有限公司 Data cache optimization method and device and computer equipment
CN117349483A (en) * 2023-12-05 2024-01-05 杭州行芯科技有限公司 Parasitic parameter searching method and device, electronic equipment and storage medium
CN117349483B (en) * 2023-12-05 2024-04-09 杭州行芯科技有限公司 Parasitic parameter searching method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106021414B (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN102567495B (en) Mass information storage system and implementation method
CN109284299B (en) Method for reconstructing a hybrid index with storage awareness
US7885967B2 (en) Management of large dynamic tables
CN106506703B (en) Service discovery method, apparatus and system, server based on shared drive
CN104750740B (en) The method and device of data update
CN106095698B (en) Caching write-in, read method and the device of object-oriented
CN105224255B (en) A kind of storage file management method and device
CN105447174A (en) Report generation method and apparatus
CN106021414A (en) Method and system for accessing multilevel cache parameter information
CN101169785A (en) Clustered database system dynamic loading balancing method
US9104680B2 (en) Method for accessing files of a file system according to metadata and device implementing the method
CN103237046A (en) Distributed file system supporting mixed cloud storage application and realization method thereof
CN103338242A (en) Hybrid cloud storage system and method based on multi-level cache
CN104965686B (en) Priority queue design method and priority queue design device
CN107784108A (en) A kind of data storage and management method, device and equipment
CN104423982B (en) The processing method and processing equipment of request
RU2005124131A (en) INFORMATION PROCESSING DEVICE, CONTENT MANAGEMENT METHOD, CONTENT INFORMATION MANAGEMENT METHOD AND COMPUTER PROGRAM
CN116501267B (en) Independent redundant disk array card control method and device
CN108345643A (en) A kind of data processing method and device
CN106959993A (en) The position tracking method of reserve
US11036797B2 (en) Efficient storage and utilization of a hierarchical data set
WO2021227860A1 (en) Data synchronization method and apparatus, terminal, and storage medium
CN109299111A (en) A kind of metadata query method, apparatus, equipment and computer readable storage medium
CN106802955A (en) A kind of image data caching method
CN103019964B (en) A kind of cache data access method and data buffering system

Legal Events

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