CN109343979A - A kind of configuring management method and system - Google Patents

A kind of configuring management method and system Download PDF

Info

Publication number
CN109343979A
CN109343979A CN201811137718.XA CN201811137718A CN109343979A CN 109343979 A CN109343979 A CN 109343979A CN 201811137718 A CN201811137718 A CN 201811137718A CN 109343979 A CN109343979 A CN 109343979A
Authority
CN
China
Prior art keywords
configuration
shared drive
module
content
drive module
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
CN201811137718.XA
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.)
Zhuhai Sandbox Network Technology Co Ltd
Original Assignee
Zhuhai Sandbox Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Sandbox Network Technology Co Ltd filed Critical Zhuhai Sandbox Network Technology Co Ltd
Priority to CN201811137718.XA priority Critical patent/CN109343979A/en
Publication of CN109343979A publication Critical patent/CN109343979A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Technical solution of the present invention includes a kind of configuring management method and system, for realizing: when configuration content changes, configuration agent module reads configuration selection shared drive module, obtain the configuration content shared drive module information that current business service processes occupy, the configuration content that the configuration content shared drive module occupied by business service process stores is copied in backup configuration content shared drive module, updated configuration content is written in backup configuration content shared drive module by configuration agent module, completes configuration content update.The invention has the benefit that it is convenient for same management, and it is not easy to make mistakes, it supports real-time update, the use of two pieces of shared drives, so that readwrite performance is efficient, will not influence business service performance or waste server resource, access is efficient and supports that multi-service is general.

Description

A kind of configuring management method and system
Technical field
The present invention relates to a kind of configuring management method and systems, belong to computer application field.
Background technique
With the development of internet, everyone life contacts increasingly tighter with internet.In internet product In development process, configuration is an indispensable part, in complicated WEB application system usually by a series of configuration parameters Lai The various actions of a system are influenced, each module or system require to write one or more configuration files, and configuration is one A indispensable part.Configuration has renewal frequency higher, and access exception is frequent, interts and the medium spy of entire business procedure Point.Most current configuration way to manage mainly include the following types:
(1) configuration is directly written in the code of client code and server.The advantages of this mode is to realize simply, When needed by the rule definition or modification of code;Configuration reads the configuration being efficiently directly written in code most After can be stored in memory.The disadvantage is that managerial confusion, needs the code of client and server to change together when needing to change, So there is the configuration mismatch case of client and server, and all people that can modify code can be carried out repairing Change, can not be managed collectively, be readily incorporated mistake;Directly be written on configuration in code can not real-time update, need version to issue It is updated to realize to configure, frequent version publication is a kind of very big injury to user experience.
(2) using the unified management configuration of cache server.The advantages of this method is configuration unified management, it is not easy to be gone out Mistake is also able to achieve real-time update.The disadvantage is that access is inefficient, service feature is influenced.Because cache server be it is a kind of needs pass through Network access can just get the content inside cache server.Network access belongs to a kind of I/O operation, is a kind of slow A kind of operation, internal storage access speed are nanosecond ranks, and network access speed is in millisecond rank.
(3) the more existing configuration system using Sharing Memory Realization needs to obtain shared drive when reading configuration Synchrolock is a kind of big consumption to performance.The purpose of synchrolock is to prevent from just configuring update when reading configuration, causes to match Set entanglement.But corresponding major part at present is all for the cpu of multicore multiple pipeline, influence of the synchrolock to performance is very Big.Because will lead to only one thread can just continue to run when the thread of the operation on multiple cores competes same memory, The thread run on other cores, which must be hung up, waits the thread of committed memory to be finished.In this way the parallel efficiency of cpu sharply under It drops to there was only the cpu of a core, overall performance is caused sharply to decline.In addition, the multiple pipeline characteristic of current cpu makes It is also parallel execution of instructions inside the core of a cpu.If having added synchrolock, even parallel inside a core It will be unable to realize, the parallel optimizations such as Out-of-order execution inside cpu also will be invalid, because after the instruction execution in cruxs area must be waited complete It could continue to execute down.This runs in the opposite direction with designing the original intention of high performance configuration system originally, because of design configurations system The purpose of system is exactly to improve system performance.
Summary of the invention
To solve the above problems, the purpose of the present invention is to provide a kind of configuring management method and system, when configuration content When changing, configuration agent module reads configuration selection shared drive module, obtains matching for current business service processes occupancy Content shared drive module information is set, it will be in the configuration of the configuration content shared drive module that occupied by business service process storage Appearance copies in backup configuration content shared drive module, and updated configuration content is written to backup and matched by configuration agent module It sets in content shared drive module, completes configuration content update.
On the one hand technical solution used by the present invention solves the problems, such as it is: a kind of configuring management method, which is characterized in that This method comprises: configuration center module passes through configuration agent module and executes configuration content update when configuration content changes; Configuration agent module, which is read, configures selection shared drive module, and it is shared interior to obtain the configuration content that current business service processes occupy Storing module information not is backup configuration content shared drive by the configuration content shared drive module that business service process occupies Module;The configuration content that the configuration content shared drive module occupied by business service process stores is copied in backup configuration Hold in shared drive module;Updated configuration content is written to backup configuration content shared drive module by configuration agent module In, complete configuration content update.
Further, the configuration center module is read in configuration content shared drive module by configuration agent module Content is configured, and establishes backup in built-in standby database and configures whether content changes to judge.
Further, the configuration agent module synchronizes all configurations when starting for the first time from configuration center module Content is written in configuration content shared drive module.
It further, further include the change configuration after backup configuration content shared drive module completes configuration content update The occupancy object of business service process in shared drive module is selected, i.e., will be configured in content shared drive module and backup configuration The index value for holding shared drive module exchanges.
Further, updated configuration content is incrementally written to backup configuration content and is total to by the configuration agent module It enjoys in memory modules.
Further, configuration agent module is read using RCU (Read-Copy Update) algorithm and/or is written in configuration Hold shared drive and backup configuration content shared drive.
On the other hand technical solution used by the present invention solves the problems, such as it is: a kind of configuration management system, including configuration In center module, configuration agent module, configuration selection shared drive module, configuration content shared drive module and backup configuration Hold shared drive module, it is characterised in that: the configuration center module is used for when configuration content changes, notice configuration generation It manages module and executes configuration content update;The configuration agent module is used to receive the updated configuration of configuration center module transmission Content and update configuration content instruction, and updated configuration content is written in backup configuration content shared drive module; The configuration selection shared drive module is for being arranged configuration content shared drive module and backup configuration content shared drive mould The occupancy object of business service process is arranged in the index value of block;The configuration content shared drive module is used for storage configuration Content is called for business service process;The backup configuration content shared drive module is for receiving configuration agent module execution Write operation, including from configuration content shared drive module obtain configuration content and from configuration agent module acquisition update Configuration content write operation, and store-updated configuration content.
Further, the configuration center module is read in configuration content shared drive module by configuration agent module Content is configured, and establishes backup in built-in standby database and configures whether content changes to judge, and is described For configuration agent module when starting for the first time, all configuration contents are synchronized from configuration center module, and to be written to configuration content shared In memory modules.
Further, updated configuration content is incrementally written to backup configuration content and is total to by the configuration agent module It enjoys in memory modules.
Further, after backup configuration content shared drive module completes configuration content update, the result completed will be updated Configuration selection shared drive module is fed back to, configuration selection shared drive module executes change business service process and occupies object Operation exchanges the index value for configuring content shared drive module and backup configuration content shared drive module.
The beneficial effects of the present invention are: a kind of configuring management method and system that the present invention uses, are convenient for same management, no It is error-prone, support real-time update, the use of two pieces of shared drives will not influence business service performance so that readwrite performance is efficient Or waste server resource, access is efficient and supports that multi-service is general.
Detailed description of the invention
Fig. 1 show configuring management method flow diagram;
Fig. 2 show the method schematic diagram of configuring management method embodiment one;
Fig. 3 show configuration management system structural schematic diagram;
Fig. 4 show the structural schematic diagram of configuration management system embodiment one.
Specific embodiment
It is carried out below with reference to technical effect of the embodiment and attached drawing to design of the invention, specific structure and generation clear Chu, complete description, to be completely understood by the purpose of the present invention, scheme and effect.
It should be noted that unless otherwise specified, when a certain feature referred to as " fixation ", " connection " are in another feature, It can directly fix, be connected to another feature, and can also fix, be connected to another feature indirectly.In addition, this The descriptions such as the upper and lower, left and right used in open are only the mutual alignment pass relative to each component part of the disclosure in attached drawing For system.The "an" of used singular, " described " and "the" are also intended to including most forms in the disclosure, are removed Non- context clearly expresses other meaning.In addition, unless otherwise defined, all technical and scientific terms used herein It is identical as the normally understood meaning of those skilled in the art.Term used in the description is intended merely to describe herein Specific embodiment is not intended to be limiting of the invention.Term as used herein "and/or" includes one or more relevant The arbitrary combination of listed item.
It will be appreciated that though various elements, but this may be described using term first, second, third, etc. in the disclosure A little elements should not necessarily be limited by these terms.These terms are only used to for same type of element being distinguished from each other out.For example, not departing from In the case where disclosure range, first element can also be referred to as second element, and similarly, second element can also be referred to as One element.The use of provided in this article any and all example or exemplary language (" such as ", " such as ") is intended merely to more Illustrate the embodiment of the present invention well, and unless the context requires otherwise, otherwise the scope of the present invention will not be applied and be limited.
It show configuring management method flow diagram referring to Fig.1, this method is the working method of system shown in Figure 3, such as Shown in Fig. 1, method includes the following steps:
When configuration content changes, configuration center module passes through configuration agent module and executes configuration content update;
Configuration agent module reads configuration selection shared drive module, obtains in the configuration that current business service processes occupy Hold shared drive module information, not is backup configuration content by the configuration content shared drive module that business service process occupies Shared drive module;
The configuration content that the configuration content shared drive module occupied by business service process stores is copied to backup to match It sets in content shared drive module;
Updated configuration content is written in backup configuration content shared drive module by configuration agent module, completes to match Set content update.
Further, to solve the problems, such as to configure content reading/inquiry failure caused by the system reboot that may occur, This method further includes following steps: configuration center module by configuration agent module read configuration content shared drive module by its All configuration contents of storage establish backup in built-in standby database, and, configuration agent module starts for the first time When, all configuration contents are synchronized to configuration content shared drive module from the standby database in configuration center module.
This step ensure that configuration item and configuration content shared drive in this server of configuration agent module deployment The consistency of configuration content in module.In addition, shared drive can be emptied after Server Restart, so when restarting Need to pull the configuration content-data an of full dose again from standby database.
Further, configuration selection shared drive module also has the permission of change business service process index object;Tool Body refers to embodiment shown in Fig. 2.
Further, method shown in Fig. 1 further includes following steps: updated configuration content is written configuration agent module Into backup configuration content shared drive module.Configuring content shared drive module is adopted for caching newest configuration content It is that different processes in same machine node can be communicated by shared drive with the reason of shared drive, flexible Application share Memory solves the performance issue for reading configuration.Since configuration content update is not that full dose updates, it is incremental update, is to work as It is updated on the basis of preceding newest configuration.So then more new content affix is gone existing newest copied next, Then currently used memory is replaced again, is thus updated successfully.
Further, in order to accelerate read and write shared drive module speed, improve read-write efficiency, can also using RCU calculate Method is written and read, and RCU (Read-Copy Update) is a kind of synchronization mechanism important in Linux.As the term suggests being exactly " reading, copy updates ", then blunt point are " arbitrarily to read, but when more new data, need first to replicate a copy, on copy Modification is completed, replaces legacy data to property again ".Finally using readjustment (callback) mechanism be in due course handle refer to It is directed toward the new data modified again to the pointer of original data.This opportunity is exactly that the CPU of all references data is moved back Out to the operation of shared data.This is the synchronization mechanism for the shared data that one kind that linux kernel is realized is directed to " reading writes less " more.
Different from other synchronization mechanisms, it allows multiple readers accessing shared data simultaneously, and the performance of reader is not Meeting is impacted (" arbitrarily reading "), and synchronization mechanism (but needing " writing again after duplication ") is not needed between reader and writer yet, but if There are when multiple writers, when updated " copy " is covered former data by writer, need to utilize it between writer and writer His synchronization mechanism guarantees to synchronize.Therefore RCU is actually a kind of improved rwlock, reader almost without what synchronization overhead, It does not need to lock, and does not use atomic instructions, and do not need memory grid (Memory on all frameworks except alpha yet Barrier lock competition, delay memory and pipeline stall), therefore not be will lead to.Lock is not needed but also using being easier, Because there is no need to consider for Deadlock.The synchronization overhead of writer is bigger, it needs the release of delayed data structure, duplication The data structure modified, it is it is necessary that the modification of other writers with certain lock mechanism simultaneously and concurrently operates.Reader is necessary A signal is provided to writer so that writer can determine the opportunity that data safely can be discharged or be modified.Have one it is special Garbage collector detect the signal of reader, once all readers have sent signal informs that they are not using quilt The data structure of RCU protection, garbage collector just call call back function to complete last data release or modification operation.RCU with Rwlock's is a difference in that: it had not only allowed multiple readers while having accessed protected data, but also allowed multiple readers and multiple Whether writer accesses protected data simultaneously and (notes: can have multiple writer's concurrent accesses to depend between writer using Synchronization mechanism), reader does not have any synchronization overhead, and the synchronization overhead of writer then depends on synchronization mechanism between the writer used. But RCU cannot substitute rwlock, because if write comparison it is more when, damage caused by writer not can overcome the disadvantages that the raising of the performance of reader It loses.
Reader cannot be blocked during accessing by shared data that RCU is protected, this is one that RCU mechanism is achieved Basic premise, that is to say, the CPU where reader cannot occur up and down when reader is during the shared data that reference is protected by RCU Text switching, spinlock and rwlock require such premise.Writer does not need when access is by the shared data that RCU is protected Any lock is competed with reader, needs to obtain certain lock in the case where there is more than one writer only with synchronous with other writers. Writer modify data before copy a copy by modification element first, then modify on copy, after modification it A call back function is registered to Garbage Collector to be in due course and to execute really modification operation.Wait opportune moment This period is known as grace period, and CPU has occurred context switching and is known as undergoing a quiescent state, Grace period is exactly that all CPU undergo the time waited required for a quiescent state.Garbage collector The call back function of writer's registration is called exactly after grace period to complete real data modification or data release behaviour Make.
The method schematic diagram of configuring management method embodiment one is shown referring to Fig. 2, configuration selection shared drive module is such as Shown in the embodiment of Fig. 1, configuration selection shared drive module also has the permission of change business service process index object, business There is configuration selection shared drive module setting in the index object of service processes read-write or path, when backup configuration content shared drive Module is completed after updating, and configuration selection shared drive module modifies the index value of two pieces of configuration content shared drive modules, i.e., will The index value of two configuration content shared drive module is interchangeable, in this way, the object that business process occupies just is matched by original It sets content shared drive module and is changed to the backup configuration content shared drive module for having newest configuration content, according to this skill The setting of art scheme, the shared drive occupied by business process are the index value for configuring content shared drive module, and another Money shared drive is backup configuration content shared drive module, ensure that each system read-write judges to configure whether content updates When, the reference object of selection is all currently to have newest configuration content and be total to by the configuration content that business service process occupies Enjoy memory modules.
Fig. 3 show configuration management system structural schematic diagram, workflow and method as shown in Figure 1, including in configuration Core module, configuration agent module, configuration selection shared drive module, configuration content shared drive module and backup configuration content Shared drive module, configuration center module are used for when configuration content changes, and notice configuration agent module executes in configuration Hold and updates;Configuration agent module, which is used to receive the updated configuration content of configuration center module transmission and updates configuration content, to be referred to It enables, and updated configuration content is written in backup configuration content shared drive module;Configuration selection shared drive module For the index value of configuration content shared drive module and backup configuration content shared drive module to be arranged, that is, business service is set The occupancy object of process;It configures content shared drive module and is used for storage configuration content, called for business service process;Backup is matched Set content shared drive module for receive configuration agent module execution write operation, including from configuration content shared drive mould The write operation of the configuration content of configuration content and the update obtained from configuration agent module that block obtains, and it is store-updated Configure content.
Configuration center module is project configuration, rights management, configuration item management/change main entrance, in configuring Core module carrys out remote control operation configuration content, is the main modular for configuring content alteration and initiating, when configuration content becomes When more, configuration center module is notified that configuration agent module more new data, and passes through Configuration Agent after each update Module obtains the configuration content of configuration this standby database of content update in configuration content shared drive module.
Configuration agent module and configuration center module keep real-time data synchronization, and standby database plays data persistence Effect.The more new data that configuration agent module will synchronize to, which is written to, is provided with a variety of differences that various language are write in shared drive Business directly reads configuration content shared drive module and uses, and writes since configuration read volume is greater than, all in shared drive module Using incremental update is write in structure building, be conducive to performance boost when reading, it is specifically subsequent to introduce.
Configuration agent module is deployed in each calculate node, is mainly responsible for synchronous configuration content shared drive module On configuration content-data, and by configuration center module real-time change data update into shared drive module.This is matched Setting proxy module can for the first time from configuration center module synchronous full dose data (i.e. all configuration datas) when starting.It deposits Storage persistence refers to: since configuration content is read from the memory index of configuration content shared drive module in normal read, May generating system the problems such as restarting, so all configuration items can be stored to portion in this database of Mysql.
RPC Server can be also further encapsulated in configuration agent module, specific operation system can be by calling RPC Configuration data is read in service.Since configuration agent module is that (configuration agent module is the more services in business to multiple nodes Can all be disposed on device), configuration storage module is one, and there are two operations to be touched for meeting after having project or configuration item changes Hair, an operation are that the configuration item of write-in change is used to notify configuration agent module into message queue module,
Configuring content shared drive module is for caching final configuration item, is in same machine using the reason of shared drive Different processes can be logical by shared drive in device node (machine/server that the machine node refers to deployment configuration agency) News, flexible Application share memory solve the performance issue for reading configuration.Due to configuration item read be greater than write thus using write when Full dose updates memory index (updating all configuration item full doses in memory index), promotes the property of reading as much as possible Energy.
Configuration agent module, it may also be used for instruction is read in the configuration in response to operation system, is assisted by remote procedure call View RPC service reads configuration data to operation system from the shared drive module;Alternatively, shared drive module, also can be used Instruction is read in the configuration in response to operation system, directly reads configuration data to operation system.
The structural schematic diagram of configuration management system embodiment one is shown with reference to Fig. 4,
When configuration content changes, configuration center module is notified that configuration agent module more new data, and every The spare number of configuration content update sheet in configuration content shared drive module is obtained by configuration agent module after secondary update According to the configuration content in library, the configuration content stored in standby database can be for the first time when starting for configuration agent module The meeting after Server Restart of synchronous full dose data (i.e. all configuration datas), shared drive is clear from configuration center module Sky needs to pull the configuration content-data an of full dose again from standby database and is used as in configuration when restarting Hold reference when changing, it is ensured that doing the object compared is the configuration content that current business service processes are occupying.
It should be appreciated that the embodiment of the present invention can be by computer hardware, the combination of hardware and software or by depositing The computer instruction in non-transitory computer-readable memory is stored up to be effected or carried out.Standard volume can be used in the method Journey technology-includes that the non-transitory computer-readable storage media configured with computer program is realized in computer program, In configured in this way storage medium computer is operated in a manner of specific and is predefined --- according in a particular embodiment The method and attached drawing of description.Each program can with the programming language of level process or object-oriented come realize with department of computer science System communication.However, if desired, the program can be realized with compilation or machine language.Under any circumstance, which can be volume The language translated or explained.In addition, the program can be run on the specific integrated circuit of programming for this purpose.
In addition, the operation of process described herein can be performed in any suitable order, unless herein in addition instruction or Otherwise significantly with contradicted by context.Process described herein (or modification and/or combination thereof) can be held being configured with It executes, and is can be used as jointly on the one or more processors under the control of one or more computer systems of row instruction The code (for example, executable instruction, one or more computer program or one or more application) of execution, by hardware or its group It closes to realize.The computer program includes the multiple instruction that can be performed by one or more processors.
Further, the method can be realized in being operably coupled to suitable any kind of computing platform, wrap Include but be not limited to PC, mini-computer, main frame, work station, network or distributed computing environment, individual or integrated Computer platform or communicated with charged particle tool or other imaging devices etc..Each aspect of the present invention can be to deposit The machine readable code on non-transitory storage medium or equipment is stored up to realize no matter be moveable or be integrated to calculating Platform, such as hard disk, optical reading and/or write-in storage medium, RAM, ROM, so that it can be read by programmable calculator, when Storage medium or equipment can be used for configuration and operation computer to execute process described herein when being read by computer.This Outside, machine readable code, or part thereof can be transmitted by wired or wireless network.When such media include combining microprocessor Or other data processors realize steps described above instruction or program when, invention as described herein including these and other not The non-transitory computer-readable storage media of same type.When methods and techniques according to the present invention programming, the present invention It further include computer itself.
Computer program can be applied to input data to execute function as described herein, to convert input data with life At storing to the output data of nonvolatile memory.Output information can also be applied to one or more output equipments as shown Device.In the preferred embodiment of the invention, the data of conversion indicate physics and tangible object, including the object generated on display Reason and the particular visual of physical objects are described.
The above, only presently preferred embodiments of the present invention, the invention is not limited to above embodiment, as long as It reaches technical effect of the invention with identical means, all within the spirits and principles of the present invention, any modification for being made, Equivalent replacement, improvement etc., should be included within the scope of the present invention.Its technical solution within the scope of the present invention And/or embodiment can have a variety of different modifications and variations.

Claims (10)

1. a kind of configuring management method, which is characterized in that this method comprises:
When configuration content changes, configuration center module passes through configuration agent module and executes configuration content update;
Configuration agent module reads configuration selection shared drive module, and it is total to obtain the configuration content that current business service processes occupy Memory modules information is enjoyed, not is that backup configuration content is shared by the configuration content shared drive module that business service process occupies Memory modules;
The configuration content that the configuration content shared drive module occupied by business service process stores is copied in backup configuration Hold in shared drive module;
Updated configuration content is written in backup configuration content shared drive module by configuration agent module, is completed in configuration Hold and updates.
2. configuring management method according to claim 1, which is characterized in that the configuration center module passes through Configuration Agent Module reads the configuration content in configuration content shared drive module, and establishes backup to sentence in built-in standby database Whether disconnected configuration content changes.
3. configuring management method according to claim 2, which is characterized in that further include the configuration agent module for the first time When starting, it is written in configuration content shared drive module from all configuration contents are synchronized in configuration center module.
4. configuring management method according to claim 1, which is characterized in that further include in backup configuration content shared drive After module completes configuration content update, the occupancy object of business service process, i.e., will in change configuration selection shared drive module The index value for configuring content shared drive module and backup configuration content shared drive module exchanges.
5. configuring management method according to claim 1, which is characterized in that the configuration agent module is matched updated It sets content to be written in backup configuration content shared drive module, specifically include:
Updated configuration content is incrementally written in backup configuration content shared drive module by the configuration agent module.
6. configuring management method according to claim 1, which is characterized in that configuration agent module uses RCU (Read- Copy Update) algorithm is read and/or write-in configures content shared drive and backup configuration content shared drive.
7. a kind of configuration management system, including configuration center module, configuration agent module, configuration selection shared drive module, match Set content shared drive module and backup configuration content shared drive module, it is characterised in that:
The configuration center module is used for when configuration content changes, and notice configuration agent module executes configuration content more Newly;
The configuration agent module is used to receive the updated configuration content of configuration center module transmission and updates configuration content Instruction, and updated configuration content is written in backup configuration content shared drive module;
The configuration selects shared drive module shared interior for configuration content shared drive module and backup configuration content to be arranged The occupancy object of business service process is arranged in the index value of storing module;
The configuration content shared drive module is used for storage configuration content, calls for business service process;
The backup configuration content shared drive module is used to receive the write operation of configuration agent module execution, including from configuration The write operation of the configuration content of configuration content and the update obtained from configuration agent module that content shared drive module obtains, And store-updated configuration content.
8. configuration management system according to claim 7, which is characterized in that the configuration center module passes through Configuration Agent Module reads the configuration content in configuration content shared drive module, and establishes backup to sentence in built-in standby database Whether disconnected configuration content changes, and the configuration agent module when starting for the first time, synchronous from configuration center module All configuration contents are written in configuration content shared drive module.
9. configuration management system according to claim 7, which is characterized in that the configuration agent module is matched updated Content is set incrementally to be written in backup configuration content shared drive module.
10. configuration management system according to claim 7, which is characterized in that backup configuration content shared drive module is complete After configuration content update, the result completed will be updated and feed back to configuration selection shared drive module, configuration selection shared drive Module executes the operation that change business service process occupies object, i.e., will configuration content shared drive module and backup configuration content The index value of shared drive module exchanges.
CN201811137718.XA 2018-09-28 2018-09-28 A kind of configuring management method and system Pending CN109343979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811137718.XA CN109343979A (en) 2018-09-28 2018-09-28 A kind of configuring management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811137718.XA CN109343979A (en) 2018-09-28 2018-09-28 A kind of configuring management method and system

Publications (1)

Publication Number Publication Date
CN109343979A true CN109343979A (en) 2019-02-15

Family

ID=65307478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811137718.XA Pending CN109343979A (en) 2018-09-28 2018-09-28 A kind of configuring management method and system

Country Status (1)

Country Link
CN (1) CN109343979A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069221A (en) * 2019-04-30 2019-07-30 北京华三通信技术有限公司 Data method for releasing and device
CN110096453A (en) * 2019-04-11 2019-08-06 北京华三通信技术有限公司 Data processing method and device
CN111831350A (en) * 2020-06-02 2020-10-27 深圳木成林科技有限公司 Application process configuration updating method, system, terminal device and storage medium
CN112256344A (en) * 2020-09-30 2021-01-22 中智关爱通(上海)科技股份有限公司 Data configuration method
CN112965837A (en) * 2021-03-04 2021-06-15 杭州银行股份有限公司 Configuration and service hot overload updating method, device, computer equipment and storage medium
CN113791916A (en) * 2021-11-17 2021-12-14 支付宝(杭州)信息技术有限公司 Object updating and reading method and device
CN113992754A (en) * 2021-10-25 2022-01-28 北京恒安嘉新安全技术有限公司 Policy updating method, device, equipment and medium for deep packet inspection equipment
CN114020340A (en) * 2021-11-02 2022-02-08 联想(北京)信息技术有限公司 Server system and data processing method thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1426244A (en) * 2001-12-20 2003-06-25 深圳市中兴通讯股份有限公司上海第二研究所 Main and spare internal memory data processing method
CN101017448A (en) * 2007-03-12 2007-08-15 中国建设银行股份有限公司 Dynamic refresh method and system for data
US20110246425A1 (en) * 2010-03-30 2011-10-06 Sybase, Inc. Managing Data Backup of an In-Memory Database in a Database Management System
CN103838552A (en) * 2014-03-18 2014-06-04 北京邮电大学 System and method for processing multi-core parallel assembly line signals of 4G broadband communication system
CN104167822A (en) * 2014-09-02 2014-11-26 科大智能电气技术有限公司 Parameter configuration method for distribution network automation terminal device
CN105700962A (en) * 2014-11-26 2016-06-22 中兴通讯股份有限公司 Data update processing method and apparatus
CN106878376A (en) * 2016-12-23 2017-06-20 微梦创科网络科技(中国)有限公司 A kind of configuring management method and system
CN107070976A (en) * 2017-01-13 2017-08-18 广西电网有限责任公司电力科学研究院 A kind of data transmission method
CN107346307A (en) * 2016-05-04 2017-11-14 北京京东尚科信息技术有限公司 Distributed cache system and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1426244A (en) * 2001-12-20 2003-06-25 深圳市中兴通讯股份有限公司上海第二研究所 Main and spare internal memory data processing method
CN101017448A (en) * 2007-03-12 2007-08-15 中国建设银行股份有限公司 Dynamic refresh method and system for data
US20110246425A1 (en) * 2010-03-30 2011-10-06 Sybase, Inc. Managing Data Backup of an In-Memory Database in a Database Management System
CN103838552A (en) * 2014-03-18 2014-06-04 北京邮电大学 System and method for processing multi-core parallel assembly line signals of 4G broadband communication system
CN104167822A (en) * 2014-09-02 2014-11-26 科大智能电气技术有限公司 Parameter configuration method for distribution network automation terminal device
CN105700962A (en) * 2014-11-26 2016-06-22 中兴通讯股份有限公司 Data update processing method and apparatus
CN107346307A (en) * 2016-05-04 2017-11-14 北京京东尚科信息技术有限公司 Distributed cache system and method
CN106878376A (en) * 2016-12-23 2017-06-20 微梦创科网络科技(中国)有限公司 A kind of configuring management method and system
CN107070976A (en) * 2017-01-13 2017-08-18 广西电网有限责任公司电力科学研究院 A kind of data transmission method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096453A (en) * 2019-04-11 2019-08-06 北京华三通信技术有限公司 Data processing method and device
CN110096453B (en) * 2019-04-11 2020-01-03 北京华三通信技术有限公司 Data processing method and device
CN110069221A (en) * 2019-04-30 2019-07-30 北京华三通信技术有限公司 Data method for releasing and device
CN110069221B (en) * 2019-04-30 2020-03-06 北京华三通信技术有限公司 Data release method and device
CN111831350A (en) * 2020-06-02 2020-10-27 深圳木成林科技有限公司 Application process configuration updating method, system, terminal device and storage medium
CN112256344A (en) * 2020-09-30 2021-01-22 中智关爱通(上海)科技股份有限公司 Data configuration method
CN112965837A (en) * 2021-03-04 2021-06-15 杭州银行股份有限公司 Configuration and service hot overload updating method, device, computer equipment and storage medium
CN113992754A (en) * 2021-10-25 2022-01-28 北京恒安嘉新安全技术有限公司 Policy updating method, device, equipment and medium for deep packet inspection equipment
CN113992754B (en) * 2021-10-25 2023-12-22 北京恒安嘉新安全技术有限公司 Policy updating method, device, equipment and medium of deep packet inspection equipment
CN114020340A (en) * 2021-11-02 2022-02-08 联想(北京)信息技术有限公司 Server system and data processing method thereof
CN114020340B (en) * 2021-11-02 2024-05-24 联想(北京)信息技术有限公司 Server system and data processing method thereof
CN113791916A (en) * 2021-11-17 2021-12-14 支付宝(杭州)信息技术有限公司 Object updating and reading method and device

Similar Documents

Publication Publication Date Title
CN109343979A (en) A kind of configuring management method and system
Reed Implementing atomic actions on decentralized data
CN102103518B (en) System for managing resources in virtual environment and implementation method thereof
CN102037463B (en) Log based replication of distributed transactions using globally acknowledged commits
CN106462449B (en) The multiple database log supported with entry affairs
US20200012659A1 (en) Data replication and data failover in database systems
CN106991113A (en) Form in database environment is replicated
US9106584B2 (en) Cloud infrastructure services
Viennot et al. Synapse: a microservices architecture for heterogeneous-database web applications
US9256477B2 (en) Lockless waterfall thread communication
US11263236B2 (en) Real-time cross-system database replication for hybrid-cloud elastic scaling and high-performance data virtualization
CN109906448A (en) Promote the operation on pluggable database using individual logical time stamp service
EP3369006A1 (en) Techniques for application undo and redo using sql patchsets or changesets
CN102521028A (en) Transactional memory system under distributed environment
CN109800226A (en) A kind of data administer in task management method and device
CN101770403A (en) Method for controlling system configuration concurrency and synchronization on multi-core platform
CN112104504B (en) Transaction management framework for large-scale resource access, design method and cloud platform
CN109358842A (en) A kind of service implementing method, electronic equipment and storage medium
CN110955672B (en) Multi-version support method and system for optimistic concurrency control
Popovic et al. Formal verification of distributed transaction management in a SOA based control system
Mishra et al. Hyflowcpp: A distributed transactional memory framework for c++
Jones et al. The Atomic Manifesto.
Rothsberg Evaluation of using NoSQL databases in an event sourcing system
Carvalho Generic replication of software transactional memory
JP6404892B2 (en) Database system and data processing method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190215

RJ01 Rejection of invention patent application after publication