CN110362358A - The management method and system of configuration data - Google Patents

The management method and system of configuration data Download PDF

Info

Publication number
CN110362358A
CN110362358A CN201910547653.4A CN201910547653A CN110362358A CN 110362358 A CN110362358 A CN 110362358A CN 201910547653 A CN201910547653 A CN 201910547653A CN 110362358 A CN110362358 A CN 110362358A
Authority
CN
China
Prior art keywords
configuration data
storage
server
data
multistage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910547653.4A
Other languages
Chinese (zh)
Inventor
沈建林
田蒙
高冬岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JD Digital Technology Holdings Co Ltd
Original Assignee
JD Digital Technology Holdings 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 JD Digital Technology Holdings Co Ltd filed Critical JD Digital Technology Holdings Co Ltd
Priority to CN201910547653.4A priority Critical patent/CN110362358A/en
Publication of CN110362358A publication Critical patent/CN110362358A/en
Pending legal-status Critical Current

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/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees
    • 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/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data buffering arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device
    • G06F3/0676Magnetic disk device
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present invention provides the management method and system of a kind of configuration data, comprising: configuration data is carried out multistage storage, multistage storage includes that database purchase, disk storage, server buffer storage and client-cache store wherein at least two;Setting is multistage to store respective priority;And respective priority is stored according to multistage and reads configuration data.The present invention solves the poor technical problem of conventional arrangement data-storage system availability performance.

Description

The management method and system of configuration data
Technical field
The present invention relates to the technical fields of configuration data management, and in particular to a kind of management method of configuration data and is System.
Background technique
In the life cycle of application program, the data of the easy change such as configuration item, address of service and project name are usually Configuration data is isolated as from code.Differentiation with from project to Service-Oriented Architecture Based, configuration data usually use Configuration service unified management.After thering is configuration to service, the dynamic change that the technologies such as dynamically load complete configuration data can use, Convenient for the O&M of project and the modification of function, and the configuration data storage method of High Availabitity is the basis of configuration service.
In existing configuration data storage method, configuration data can be hard coded, be also possible to be stored in configuration file In.With the fractionation of project and the development of business, the change probability of configuration data is greatly increased.For the change of configuration data, The method of hard coded configuration data needs to modify code, and the method needs that configuration file saves configuration data repack configuration text Part, thus, for both methods to the modification of configuration data and unfriendly, availability performance is poor.In order to cope with the change of configuration data More, there are also a kind of configuration data storage methods at present, that is, by database purchase configuration data, referring to Fig.1, administrative staff exist Configuration data is persisted in database by management end, using each client of configuration data when needing to configure data every time Configuration data is obtained by access database.
However, database will receive a large amount of access request, database in the above method of database purchase configuration data Response pressure it is larger, once each client of database delay machine will be largely influenced, thus, this configuration data storage system The system technical problem poor there is also availability performance.
Summary of the invention
In view of this, being matched the embodiment of the invention provides a kind of method and system of configuration data storage with solving tradition Set the poor technical problem of data-storage system availability performance.
According to the first aspect of the invention, a kind of management method of configuration data is provided, comprising:
The configuration data is subjected to multistage storage, the multistage storage includes database purchase, disk storage, server Buffer memory and client-cache store wherein at least two;
The multistage respective priority of storage is set;And
The configuration data is read according to the multistage respective priority of storage.
Optionally, the configuration data is subjected to multistage storage, comprising:
In server end, the configuration data is stored by way of server buffer storage and/or disk storage.
It is optionally, described to store the configuration data in such a way that server buffer stores, comprising:
The server of the server end obtains the configuration data from database on startup, and described getting The configuration data that buffer memory is got when configuration data.
Optionally, the server passes through database described in poll also to obtain the first change data, and according to described One change data change the configuration data stored in the server, wherein the first change data are institute State the configuration data changed in database.
Optionally, in the server end, the configuration data is stored using radix tree mode.
Optionally, the configuration data is subjected to multistage storage, comprising:
In client, the configuration data is stored by way of client-cache storage and/or disk storage.
Optionally, the client passes through server described in poll or the database to obtain the second change data, and The configuration data stored in the client is changed according to the second change data, wherein described second becomes More data are the configuration data changed in the server and the database.
Optionally, the multistage respective priority of storage is set, comprising:
According to the reading end being read out to the configuration data, the multistage respective priority of storage is set.
According to the second aspect of the invention, a kind of management system of configuration data is provided, comprising:
Memory module, for the configuration data to be carried out multistage storage, the multistage storage includes database purchase, magnetic Disk storage, server buffer storage and client-cache store wherein at least two;
Setup module, for the multistage respective priority of storage to be arranged;And
Read module, for reading the configuration data according to the multistage respective priority of storage.
Optionally, the memory module is used for:
In server end, the configuration data is stored by way of server buffer storage and/or disk storage.
Optionally, the memory module is also used to:
In the server starting of the server end, the server is made to obtain the configuration data from database, And the configuration data that buffer memory is got when getting the configuration data.
Optionally, the server passes through database described in poll also to obtain the first change data, and according to described One change data change the configuration data stored in the server, wherein the first change data are institute State the configuration data changed in database.
Optionally, in the server end, the configuration data is stored using radix tree mode.
Optionally, the memory module is used for:
In client, the configuration data is stored by way of client-cache storage and/or disk storage.
Optionally, the client passes through server described in poll or the database to obtain the second change data, and The configuration data stored in the client is changed according to the second change data, wherein described second becomes More data are the configuration data changed in the server and the database.
Optionally, the setup module is used for:
According to the reading end being read out to the configuration data, the multistage respective priority of storage is set.
According to the third aspect of the invention we, a kind of computer readable storage medium, the computer-readable storage medium are provided Matter is stored with computer instruction, and the computer instruction is performed the configuration realized as described in first aspect any embodiment The management method of data.
According to the fourth aspect of the invention, a kind of managing device of configuration data is provided, comprising:
Memory, for storing computer instruction;
Processor is coupled to the memory, the processor is configured to the computer based on memory storage Instruction execution realizes the management method of the configuration data as described in first aspect any embodiment.
The embodiment of the present invention have the following advantages that or the utility model has the advantages that
The management method of configuration data provided in an embodiment of the present invention, the storage configuration data by the way of multistage storage, It include: that wherein at least two is stored come to depositing by database purchase, disk storage, server buffer storage and client-cache Storage data are stored, and according to the multistage of setting store respective priority to read configuration data, thus, from maximum In the case where configuration data can not be read in the storage unit of priority, other grades of storage units, which then can be used as, spare to make to match The calling for setting data is protected, to solve the poor technical problem of conventional arrangement data-storage system availability performance.
Detailed description of the invention
Description by referring to the following drawings to the embodiment of the present invention, the above and other purposes of the present invention, feature and Advantage will be apparent from, in the accompanying drawings:
Fig. 1 is the configuration diagram of database purchase configuration data in the prior art;
Fig. 2 is the management method flow chart of configuration data according to an embodiment of the present invention;
Fig. 3 is the signal for the configuration data storage system that configuration data management method according to an embodiment of the present invention is based on Figure;
Fig. 4 is the structural block diagram of configuration data management system according to an embodiment of the present invention;
Fig. 5 is the structural block diagram of configuration data management device according to an embodiment of the present invention.
Specific embodiment
Below based on embodiment, present invention is described, but the present invention is not restricted to these embodiments.Under Text is detailed to describe some specific detail sections in datail description of the invention.Do not have for a person skilled in the art The present invention can also be understood completely in the description of these detail sections.In order to avoid obscuring essence of the invention, well known method, mistake Journey, process do not describe in detail.In addition attached drawing is not necessarily drawn to scale.
The management method of configuration data provided in an embodiment of the present invention, for configuration data storage and reading carry out pipe Reason, to improve the availability of configuration data storage system.It is the management method flow chart of configuration data shown in Fig. 2, reference Fig. 2, The management method of the configuration data includes:
Configuration data is carried out multistage storage by step S101, and multistage storage includes database purchase, disk storage, service Device buffer memory and client-cache store wherein at least two;
The multistage respective priority of storage is arranged in step S102;
Step S103 stores respective priority according to multistage and reads configuration data.
It is emphasized that the configuration data of the embodiment of the present invention, refers to the application program in the life cycle of application program The data for needing to be configured, it can be understood as data relevant with application program mostly need data to be changed, including configuration Item, address of service and project name, but it is not limited to these data.
The management method of configuration data provided in an embodiment of the present invention, the storage configuration data by the way of multistage storage, It include: that wherein at least two is stored come to depositing by database purchase, disk storage, server buffer storage and client-cache Storage data are stored, and according to the multistage of setting store respective priority to read configuration data, thus, from maximum In the case where configuration data can not be read in the storage unit of priority, other grades of storage units, which then can be used as, spare to make to match The calling for setting data is protected, to solve the poor technical problem of conventional arrangement data-storage system availability performance.
In an alternate embodiment of the invention, configuration data is carried out multistage storage by step S101, comprising:
In server end, pass through server buffer storage and/or server disk storage configuration data.
Specifically, server buffer stores, and is by server memory come storage configuration data, memory belongs in server Memory, server can be reduced defeated using memory cache to avoid receiving client request every time and all accessing database Enter/export (Input/Output, abbreviation IO) operation, server can be obviously shortened to response time of client and obvious The response concurrent number for increasing server ensure that the speed that configuration data is read, and be conducive to improve configuration data storage system Availability.Further, server can obtain configuration data from database on startup, and delay when getting configuration data The configuration data got is stored, so that server can serve as client request configuration data since starting Data source provides more data source to a greater extent for client request configuration data, is conducive to configuration data storage The high availability of system.
Server disk belongs to the memory outside server, and server disk can have configuration data in database purchase Pass through in any case manually from database copy configuration data, and data are not powered off by server or are in server disk System initialization etc. is influenced and is lost, thus, number when database is unavailable when starting for server or server system initialization The case where server memory can not be synchronized to according to library data, server disk still can store configuration data, server disk Storing data has more stability, to ensure that the high availability of configuration data storage system.
In another alternative embodiment, configuration data is carried out multistage storage by step S101, comprising:
In client, the storage configuration data by way of client-cache storage and/or disk storage.
Specifically, client can obtain configuration data in the case where first time calling configuration data and will acquire Configuration data is stored in client's end memory, and client disk can be stored with configuration data in any case in server By manually from server copy configuration data.
In the embodiment of the present invention, in client's end memory storage configuration data be more convenient for client quick obtaining to configuration number According to the quick obtaining of configuration data is conducive to the high availability of configuration data storage system;But after client is restarted, in client Configuration data in depositing can lose, and the configuration data of client disk storage will not restart loss, client magnetic because of client Disk storage configuration data ensure that the high availability of configuration data storage system.
In another alternative embodiment, the management method of configuration data further include:
Server by polling data library to obtain the first change data, and according to the first change data to being deposited in server The configuration data of storage changes, wherein the first change data are the configuration data changed in database;And/or
Client obtains the second change data by polling server or database, and according to the second change data to visitor The configuration data stored in the end of family changes, wherein the second change data are the configuration changed in server and database Data.
It should be noted that the second change data are the configuration data changed in server and database, if passing through wheel It askes the available second change data of server and is then not necessarily to polling data library, if passing through available second change in polling data library Data are then not necessarily to polling server.Since administrative staff first change the data of database often through operation and server can be timely It is accordingly updated according to the change of data in database, thus, in order to reduce the amount of access to database as far as possible, this situation Under can choose polling server to obtain the second change data.Fig. 3 show configuration data management method of the present invention and is based on A kind of configuration data storage system schematic diagram, specifically, referring to Fig. 3, in above-mentioned database the change of data can be by Administrative staff are caused by the operation of management end.In addition, in the case where server passes through memory and disk storage configuration data, The configuration data stored in server is changed according to the first change data, comprising: to configuration data in server memory Change and change to configuration data in server disk;Equally, number is configured by memory and disk storage in client In the case where, the configuration data stored in client is changed according to the second change data, comprising: to client's end memory The change of middle configuration data and change to configuration data in client disk.
The case where embodiment of the present invention is changed for configuration data in database, passes through server poll database and visitor The mode of family end polling server or database so that the configuration data in server update to it is consistent with database, and And the configuration data in client update to it is consistent with server or database, thus, client every time using configuration number According to when from client, server and database can get newest configuration data, and get consistent with database Configuration data, that is, in database the case where configuration data change, configuration data management side provided in an embodiment of the present invention Method makes the same many places backup of the configuration data after change, enhances the high availability of storage system.
In an alternate embodiment of the invention, in server end, configuration data is stored using radix tree mode.
Specifically, radix tree (Radix-Tree) is a kind of dictionary tree of space optimization, in embodiments of the present invention radix The configuration data of management server storage inside is set, further, radix tree can select 2 or 4 bits as tree node, The height set in this way is not too high and nonleaf node will not be excessive, while the child node slot for setting interior joint is less and node Volume it is also smaller.
In the embodiment of the present invention, since server multi-panel is to many clients, thus be stored with a large amount of different clients with And the configuration data of different configuration items.Using radix tree storage configuration data, insertion, deletion, lookup to configuration data are supported Operation, wherein search operation includes precisely lookup, predecessor searches, subsequent lookup and all character strings of identical characters string prefix are looked into It looks for;Meanwhile the efficiency of radix tree insertion operation and inquiry operation is also very high, and by testing, in the case where 1,000,000 configuration datas, The inquiry of radix tree construction and insertion efficiency are in millisecond rank;And in Hash mapping (HashMap) structure, individual hash-collisions In the case of the inquiry of Hash mapping structure reach a few tens of milliseconds.Thus, in the embodiment of the present invention, server is stored using radix tree Configuration data supports storage mass data and keeps relatively high search efficiency, that is, provides a kind of server to configuration data High efficiency storage method so that the configuration data of storage method storage increases configuration data using more flexible and efficient The availability of storage system.
For the above-mentioned configuration data storage method of configuration data management method, it is respective that multistage storage is arranged in step S102 Priority, can be arranged according to the reading end being read out to configuration data and multistage store respective priority.
For example, being stored as database, server memory, server disk, client's end memory, client disk in multistage In the case of, if being client to the reading end that configuration data is read out, multistage storage presses respective priority from big to small Sequence can be with are as follows: client's end memory, client disk, server memory, server disk, database;If to configuration number It is server according to the reading end being read out, then secondly it is service that it can be server memory that multistage storage priority is maximum Device caching, and in order to reduce the amount of access to database, the priority of database can be set to minimum.
Then, step S103 stores respective priority according to multistage and reads configuration data, such as has, and needs in client It wants based on rate of data acquisition and the maintenance operated normally to database and server when configuration data, it can be in the following order To obtain configuration data: client's end memory, client disk, server memory, server disk, database, until getting Until configuration data, for example, no longer accessing database if getting configuration data from server disk.
It is the structural block diagram of the management system of the configuration data of the embodiment of the present invention shown in Fig. 4.Referring to Fig. 4, configuration data Management system include:
Memory module 100, is used to carry out configuration data multistage storage, and multistage storage is deposited including database purchase, disk Storage, server buffer storage and client-cache store wherein at least two;
Setup module 200, for the multistage respective priority of storage to be arranged;And
Read module 300 reads configuration data for storing respective priority according to multistage.
In the embodiment of the present invention, the storage system of the management system management configuration data of configuration data passes through memory module 100 store configuration data by multistage, comprising: pass through database purchase, disk storage, server buffer storage and client Multistage storage is arranged respectively to store to storing data, and by setup module 200 in buffer memory wherein at least two Priority, respective priority according to the multistage of setting is stored by read module 300 to read configuration data, thus, In the case where configuration data can not be read from the storage unit of greatest priority, other grades of storage units then can be used as spare So that the calling of configuration data is protected, asks to solve the poor technology of conventional arrangement data-storage system availability performance Topic.
Memory module is used in an alternate embodiment of the invention:
In server end, the storage configuration data by way of server buffer storage and/or disk storage.
In an alternate embodiment of the invention, memory module is also used to:
In the server starting of server end, server is set to obtain configuration data from database, and match getting The configuration data that buffer memory is got when setting data.
In an alternate embodiment of the invention, server passes through polling data library also to obtain the first change data, and according to first Change data change the configuration data stored in server, wherein the first change data are to change in database Configuration data.
In an alternate embodiment of the invention, in server end, configuration data is stored using radix tree mode.
In an alternate embodiment of the invention, memory module is used for:
In client, the storage configuration data by way of client-cache storage and/or disk storage.
In an alternate embodiment of the invention, client is by polling server or database to obtain the second change data, and root The configuration data stored in client is changed according to the second change data, wherein the second change data are server sum number According to the configuration data changed in library.
In an alternate embodiment of the invention, setup module is used for:
According to the reading end being read out to configuration data, the multistage respective priority of storage is set.
The managing device of the configuration data of one embodiment of the invention, comprising:
Memory, for storing computer instruction;
Processor, is coupled to memory, and the computer instruction that processor is configured as storing based on memory executes above-mentioned Configuration data management method.
Equipment shown in Fig. 5 is only an example of the managing device of configuration data, should not be to the embodiment of the present invention Function and use scope constitute any restrictions.With reference to Fig. 5, the managing device of the configuration data includes the processing connected by bus Device 501, memory 502 and input-output equipment 503.Memory 502 includes read-only memory (ROM) and random access storage device (RAM), various computer instructions and data needed for executing system function are stored in memory 502, processor 501 is from storage Various computer instructions are read in device 502 to execute various movements appropriate and processing.Input-output equipment 503 include keyboard, The importation of mouse etc.;Output including cathode-ray tube (CRT), liquid crystal display (LCD) etc. and loudspeaker etc. Part;Storage section including hard disk etc.;And the communication unit of the network interface card including LAN card, modem etc. Point.Memory 502 is stored with computer instruction below also to complete manager's regulation of the configuration data of the embodiment of the present invention Fixed operation: configuration data is subjected to multistage storage, multistage storage is deposited including database purchase, disk storage, server buffer Storage and client-cache store wherein at least two;Setting is multistage to store respective priority;And it is respective according to multistage storage Priority read configuration data.
Correspondingly, the embodiment of the present invention provides a kind of computer readable storage medium, which deposits Computer instruction is contained, computer instruction is performed the operation for realizing the management method defined of above-mentioned configuration data.
Flow chart, block diagram in attached drawing illustrate the possible system frame of the system of the embodiment of the present invention, method, apparatus Frame, function and operation, the box on flow chart and block diagram can represent a module, program segment or only one section of code, institute State module, program segment and code all and be the executable instruction for realizing regulation logic function.It should also be noted that the realization rule The executable instruction for determining logic function can reconfigure, to generate new module and program segment.Therefore attached drawing box with And box sequence is used only to the process and step of better illustrated embodiment, without should be in this, as to inventing limit itself System.
The modules or unit of system can be realized by hardware, firmware or software.Software for example including using JAVA, The coded program that the various programming languages such as C/C++/C#, SQL are formed.Although being provided in method and method legend of the invention real The sequence of the step of applying and step, but the step realize as defined in the executable instruction of logic function can group again It closes, to generate new step.The sequence of the step also should not be restricted solely in the method and method legend Sequence of steps can need to be adjusted at any time according to function.Such as by certain steps therein parallel or according to opposite suitable Sequence executes.
System and a method according to the invention can be deployed on single or multiple servers.For example, can will be different Module is disposed on a different server respectively, forms private server.Alternatively, can the distributed deployment on multiple servers Identical functional unit, module or system, to mitigate load pressure.The server includes but is not limited in the same local area network And pass through multiple PC machine of Internet connection, PC server, rolling reamer machine, supercomputer etc..
The above description is only a preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art For, the invention can have various changes and changes.All any modifications made within the spirit and principles of the present invention are equal Replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (18)

1. a kind of management method of configuration data characterized by comprising
The configuration data is subjected to multistage storage, the multistage storage includes database purchase, disk storage, server buffer Storage and client-cache store wherein at least two;
The multistage respective priority of storage is set;And
The configuration data is read according to the multistage respective priority of storage.
2. the method according to claim 1, wherein the configuration data is carried out multistage storage, comprising:
In server end, the configuration data is stored by way of server buffer storage and/or disk storage.
3. according to the method described in claim 2, it is characterized in that, it is described stored in such a way that server buffer stores it is described Configuration data, comprising:
The server of the server end obtains the configuration data from database on startup, and is getting the configuration The configuration data that buffer memory is got when data.
4. according to the method described in claim 3, it is characterized in that, the server passes through database described in poll also to obtain First change data, and the configuration data stored in the server is changed according to the first change data, Wherein, the first change data are the configuration data changed in the database.
5. according to the method described in claim 2, it is characterized in that, the configuration data uses radix in the server end Tree mode stores.
6. the method according to claim 1, wherein the configuration data is carried out multistage storage, comprising:
In client, the configuration data is stored by way of client-cache storage and/or disk storage.
7. according to the method described in claim 6, it is characterized in that, the client passes through server or the number described in poll According to library to obtain the second change data, and according to the second change data to the configuration data stored in the client It changes, wherein the second change data are the configuration data changed in the server and the database.
8. the method according to claim 1, wherein the setting multistage respective priority of storage, comprising:
According to the reading end being read out to the configuration data, the multistage respective priority of storage is set.
9. a kind of management system of configuration data characterized by comprising
Memory module, is used to carry out the configuration data multistage storage, and the multistage storage is deposited including database purchase, disk Storage, server buffer storage and client-cache store wherein at least two;
Setup module, for the multistage respective priority of storage to be arranged;And
Read module, for reading the configuration data according to the multistage respective priority of storage.
10. system according to claim 9, which is characterized in that the memory module is used for:
In server end, the configuration data is stored by way of server buffer storage and/or disk storage.
11. system according to claim 10, which is characterized in that the memory module is also used to:
In the server starting of the server end, the server is made to obtain the configuration data from database, and The configuration data that buffer memory is got when getting the configuration data.
12. system according to claim 11, which is characterized in that the server passes through database described in poll also to obtain The first change data are taken, and the configuration data stored in the server is become according to the first change data More, wherein the first change data are the configuration data changed in the database.
13. system according to claim 10, which is characterized in that in the server end, the configuration data uses base Number tree mode stores.
14. system according to claim 9, which is characterized in that the memory module is used for:
In client, the configuration data is stored by way of client-cache storage and/or disk storage.
15. system according to claim 14, which is characterized in that the client passes through server or described described in poll Database changes data to the configuration number stored in the client according to described second to obtain the second change data According to changing, wherein the second change data are the configuration number changed in the server and the database According to.
16. system according to claim 9, which is characterized in that the setup module is used for:
According to the reading end being read out to the configuration data, the multistage respective priority of storage is set.
17. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer to refer to It enables, the computer instruction is performed the management method for realizing configuration data as claimed in any one of claims 1 to 8.
18. a kind of managing device of configuration data characterized by comprising
Memory, for storing computer instruction;
Processor is coupled to the memory, the processor is configured to the computer instruction based on memory storage Execute the management method realized such as configuration data described in any item of the claim 1 to 8.
CN201910547653.4A 2019-06-24 2019-06-24 The management method and system of configuration data Pending CN110362358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910547653.4A CN110362358A (en) 2019-06-24 2019-06-24 The management method and system of configuration data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910547653.4A CN110362358A (en) 2019-06-24 2019-06-24 The management method and system of configuration data

Publications (1)

Publication Number Publication Date
CN110362358A true CN110362358A (en) 2019-10-22

Family

ID=68215908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910547653.4A Pending CN110362358A (en) 2019-06-24 2019-06-24 The management method and system of configuration data

Country Status (1)

Country Link
CN (1) CN110362358A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667312A (en) * 2020-12-23 2021-04-16 广州三七互娱科技有限公司 Process configuration method, device and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079763A (en) * 2006-06-12 2007-11-28 腾讯科技(深圳)有限公司 A remote configuration and management system and method of servers
CN103678493A (en) * 2013-11-13 2014-03-26 许继集团有限公司 Data storage system and method for monitoring operation of electric automobiles
CN103793485A (en) * 2014-01-20 2014-05-14 锐达互动科技股份有限公司 Method for inquiring network data by client terminal based on cached data
CN104391653A (en) * 2014-10-31 2015-03-04 山东超越数控电子有限公司 Data block-based cache design method
CN105335170A (en) * 2014-06-05 2016-02-17 阿里巴巴集团控股有限公司 Distributed system and incremental data updating method
US9626257B1 (en) * 2012-03-01 2017-04-18 EMC IP Holding Company LLC Techniques for cache updates based on quality of service
CN107124479A (en) * 2017-04-19 2017-09-01 成都西维数码科技有限公司 A kind of domain name multi-line intelligently parsing method based on radix tree
CN108710496A (en) * 2018-05-17 2018-10-26 腾讯科技(深圳)有限公司 Configuration update method, device, equipment and the storage medium of application program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079763A (en) * 2006-06-12 2007-11-28 腾讯科技(深圳)有限公司 A remote configuration and management system and method of servers
US9626257B1 (en) * 2012-03-01 2017-04-18 EMC IP Holding Company LLC Techniques for cache updates based on quality of service
CN103678493A (en) * 2013-11-13 2014-03-26 许继集团有限公司 Data storage system and method for monitoring operation of electric automobiles
CN103793485A (en) * 2014-01-20 2014-05-14 锐达互动科技股份有限公司 Method for inquiring network data by client terminal based on cached data
CN105335170A (en) * 2014-06-05 2016-02-17 阿里巴巴集团控股有限公司 Distributed system and incremental data updating method
CN104391653A (en) * 2014-10-31 2015-03-04 山东超越数控电子有限公司 Data block-based cache design method
CN107124479A (en) * 2017-04-19 2017-09-01 成都西维数码科技有限公司 A kind of domain name multi-line intelligently parsing method based on radix tree
CN108710496A (en) * 2018-05-17 2018-10-26 腾讯科技(深圳)有限公司 Configuration update method, device, equipment and the storage medium of application program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667312A (en) * 2020-12-23 2021-04-16 广州三七互娱科技有限公司 Process configuration method, device and system

Similar Documents

Publication Publication Date Title
JP6542785B2 (en) Implementation of semi-structured data as first class database element
WO2018077292A1 (en) Data processing method and system, electronic device
US9740706B2 (en) Management of intermediate data spills during the shuffle phase of a map-reduce job
Cheng et al. VENUS: Vertex-centric streamlined graph computation on a single PC
US8832130B2 (en) System and method for implementing on demand cloud database
US7490265B2 (en) Recovery segment identification in a computing infrastructure
KR101672901B1 (en) Cache Management System for Enhancing the Accessibility of Small Files in Distributed File System
US20190311008A1 (en) Linked data processor for database storage
CN105138679B (en) A kind of data processing system and processing method based on distributed caching
CN104881466B (en) The processing of data fragmentation and the delet method of garbage files and device
JP2003006036A (en) Clustered application server and web system having database structure
CN107463511A (en) A kind of data internationalization implementation method and device based on multi-level buffer
CN109933585A (en) Data query method and data query system
CN103501319A (en) Low-delay distributed storage system for small files
CN104270412A (en) Three-level caching method based on Hadoop distributed file system
CN115827907B (en) Cross-cloud multi-source data cube discovery and integration method based on distributed memory
CN109542861A (en) File management method, device and system
US8386741B2 (en) Method and apparatus for optimizing data allocation
CN106570153A (en) Data extraction method and system for mass URLs
US20210200734A1 (en) Data structure to array conversion
CN109614411B (en) Data storage method, device and storage medium
CN110362358A (en) The management method and system of configuration data
US8533398B2 (en) Combination based LRU caching
US11947490B2 (en) Index generation and use with indeterminate ingestion patterns
US11341163B1 (en) Multi-level replication filtering for a distributed database

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