CN111708834A - Method, system, equipment and medium for synchronizing service configuration data - Google Patents

Method, system, equipment and medium for synchronizing service configuration data Download PDF

Info

Publication number
CN111708834A
CN111708834A CN202010447727.XA CN202010447727A CN111708834A CN 111708834 A CN111708834 A CN 111708834A CN 202010447727 A CN202010447727 A CN 202010447727A CN 111708834 A CN111708834 A CN 111708834A
Authority
CN
China
Prior art keywords
change
slave node
data
record
configuration
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.)
Withdrawn
Application number
CN202010447727.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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010447727.XA priority Critical patent/CN111708834A/en
Publication of CN111708834A publication Critical patent/CN111708834A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/273Asynchronous replication or reconciliation
    • 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/2358Change logging, detection, and notification
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24564Applying rules; Deductive queries
    • G06F16/24565Triggers; Constraints

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method, a system, equipment and a storage medium for synchronizing service configuration data, wherein the method comprises the following steps: monitoring configuration data and sending a change request to a configuration center in response to the change of the configuration data; generating a change record and a corresponding identifier based on the change request, and recording the change record and the identifier in a record table of the configuration center; sending a change notification with the identification to a slave node, and accepting a query request returned by the slave node; and acquiring a corresponding change record in a record table based on the identifier in the query request, acquiring data based on the change record, and sending the acquired data to the slave node. According to the scheme provided by the invention, the configuration center is created, and the synchronization of the configuration data is changed into a push-pull combination mode, so that the synchronization efficiency is obviously improved and the load of the main node is reduced under the conditions of large node scale and more configuration file contents.

Description

Method, system, equipment and medium for synchronizing service configuration data
Technical Field
The present invention relates to the field of data processing, and more particularly, to a method, a system, a computer device, and a readable medium for synchronizing service configuration data.
Background
Generally, the service system stores configuration data in a database, and when a node is started, the latest service configuration is read from the database. When configuration data in the database changes, a TCP (Transmission Control Protocol) connection is established with each node through a trigger script of the database, the change of the service configuration information is synchronized to each node, and other application nodes receive and analyze the changed data packet and update the changed data packet to the local database.
With the gradual increase of cluster scale and the gradual increase of node number, each change of configuration data requires establishing a link with an application node one by one and transmitting and receiving data. When the number of application nodes increases gradually, each business operation is time-consuming, and especially when a network fault exists in a certain node, the synchronization work of the whole business cluster configuration file cannot be normally performed.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a system, a computer device, and a computer-readable storage medium for synchronizing service configuration data, where a configuration center is created, and synchronization of configuration data is actively pushed from a master node to each slave node, and is changed to a push-pull combination manner, so that under the condition of a large node scale and a large number of configuration file contents, synchronization efficiency is significantly improved, and a load of the master node is reduced; meanwhile, based on a notification transmission mode, the configured synchronization function is decoupled from the service operation, the trigger operation of database change, the data change notification of the configuration center and the configuration updating operation of the application node are independent, and the coupling between the trigger operation and the configuration updating operation is released.
Based on the above object, an aspect of the embodiments of the present invention provides a method for synchronizing service configuration data, including the following steps: monitoring configuration data and sending a change request to a configuration center in response to the change of the configuration data; generating a change record and a corresponding identifier based on the change request, and recording the change record and the identifier in a record table of the configuration center; sending a change notification with the identification to a slave node, and accepting a query request returned by the slave node; and acquiring a corresponding change record in a record table based on the identifier in the query request, acquiring data based on the change record, and sending the acquired data to the slave node.
In some embodiments, further comprising: and recording the change notification into a record table of the slave node in response to the slave node receiving the data sent by the master node.
In some embodiments, further comprising: in response to receiving a change notification from a slave node, looking up in a record table of the slave node whether the change notification has been processed based on an identification of the change notification.
In some embodiments, said obtaining data based on said change log comprises: and sending the change record to the slave node, receiving a data request returned by the slave node, and acquiring corresponding data based on the data request.
In another aspect of the embodiments of the present invention, a system for synchronizing service configuration data is further provided, including: the monitoring module is configured for monitoring the configuration data and responding to the change of the configuration data to send a change request to the configuration center; the recording module is configured to generate a change record and a corresponding identifier based on the change request, and record the change record and the identifier in a record table of the configuration center; the notification module is configured to send a change notification with the identifier to a slave node and accept a query request returned by the slave node; and the execution module is configured to acquire a corresponding change record in a record table based on the identifier in the query request, acquire data based on the change record, and send the acquired data to the slave node.
In some embodiments, further comprising: and the second recording module is configured to record the change notification into a record table of the slave node in response to the slave node receiving the data sent by the master node.
In some embodiments, further comprising: a deduplication module configured to, in response to receiving a change notification from a slave node, look up, based on an identification of the change notification, whether the change notification has been processed in a record table of the slave node.
In some embodiments, the execution module is further configured to: and sending the change record to the slave node, receiving a data request returned by the slave node, and acquiring corresponding data based on the data request.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method as above.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: by creating a configuration center, the synchronization of configuration data is actively pushed from the master node to each slave node before, and is changed into a push-pull combination mode, so that the synchronization efficiency is obviously improved and the load of the master node is reduced under the conditions of large node scale and more configuration file contents; meanwhile, based on a notification transmission mode, the configured synchronization function is decoupled from the service operation, the trigger operation of database change, the data change notification of the configuration center and the configuration updating operation of the application node are independent, and the coupling between the trigger operation and the configuration updating operation is released.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a schematic diagram of an embodiment of a method for synchronizing service configuration data according to the present invention;
fig. 2 is a schematic diagram of an architecture of a method for synchronizing service configuration data according to the present invention;
fig. 3 is a schematic hardware structure diagram of an embodiment of a computer device for service configuration data synchronization provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the foregoing, a first aspect of the embodiments of the present invention provides an embodiment of a method for synchronizing service configuration data. Fig. 1 is a schematic diagram illustrating an embodiment of a method for synchronizing service configuration data according to the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, monitoring the configuration data and responding to the change of the configuration data to send a change request to the configuration center;
s2, generating a change record and a corresponding identifier based on the change request, and recording the change record and the identifier in a record table of the configuration center;
s3, sending change notification with identification to the slave node, and receiving the inquiry request returned from the slave node; and
and S4, acquiring the corresponding change record in the record table based on the identifier in the query request, acquiring data based on the change record, and sending the acquired data to the slave node.
Fig. 2 is a schematic architecture diagram illustrating a method for synchronizing service configuration data according to the present invention. An embodiment of the present invention is explained with reference to fig. 2:
monitoring configuration data and sending a change request to the configuration center in response to a change in the configuration data. The configuration data in the master node is monitored and a configuration center is created in the master node. When the change of the configuration data is monitored, the database can send a change request to the configuration center.
Based on the change request, a change record and a corresponding identifier are generated, and the change record and the identifier are recorded in a record table of the configuration center. After receiving the change request, the configuration center generates a primary key ID (identification) corresponding to the change request and records the primary key ID in a record table of the configuration center. After updating the record table, the configuration center sends a change notification to the slave node establishing the link, and the change notification carries the ID of the corresponding change record in the record table.
And sending a change notification with the identification to the slave node, and receiving a query request returned by the slave node. In some embodiments, further comprising: in response to receiving a change notification from a slave node, looking up in a record table of the slave node whether the change notification has been processed based on an identification of the change notification. After receiving the notice, the slave node searches whether the notice is processed in the record table of the slave node according to the ID of the notice, and if the notice is processed, the notice is not processed. If not, inquiring the configuration center according to the notified ID to obtain a complete change record.
And acquiring a corresponding change record in the record table based on the identifier in the query request, acquiring data based on the change record, and sending the acquired data to the slave node. In some embodiments, said obtaining data based on said change log comprises: and sending the change record to the slave node, receiving a data request returned by the slave node, and acquiring corresponding data based on the data request. After receiving the change record, the slave node may send a data request to the database of the master node, acquire data corresponding to the master node based on the data request, and complete the change of the configuration data on the node after acquiring the corresponding data.
In some embodiments, further comprising: and recording the change notification into a record table of the slave node in response to the slave node receiving the data sent by the master node. The notification is stored in the record table of the node, so that the subsequent deduplication processing after receiving the notification is facilitated.
The embodiment of the invention adds a configuration center, when the configuration file of the database on the main node is changed, an update record is added in the configuration center through the trigger function of the database, and simultaneously, a notification of configuration change is sent to the slave node which establishes a link with the configuration center. After the slave node is started, the slave node establishes long connection with the configuration center and monitors the notification message of the configuration center. After receiving the notification of the configuration center, inquiring the configuration center according to the record ID carried by the notification to obtain a complete configuration change record, and finally inquiring the real data from the main node database according to the change record to complete the update of the configuration file of the cost node.
The change request of the configuration file in the embodiment of the invention borrows the trigger function of the database, thereby reducing the workload of developing the data change notice; the synchronization of the configuration data is actively pushed from the master node to each slave node before, and the mode is changed into a push-pull combination mode, so that the synchronization efficiency is obviously improved and the load of the master node is reduced under the conditions that the node scale is large and the content of configuration files is more; meanwhile, based on a notification transmission mode, the configured synchronization function is decoupled from the service operation, the trigger operation of database change, the data change notification of the configuration center and the configuration updating operation of the application node are independent, and the coupling between the trigger operation and the configuration updating operation is released.
It should be particularly noted that, the steps in the embodiments of the method for synchronizing service configuration data may be intersected, replaced, added, or deleted, and therefore, these methods for synchronizing service configuration data, which are reasonably transformed by permutation and combination, should also belong to the scope of the present invention, and should not limit the scope of the present invention to the embodiments.
In view of the above object, a second aspect of the embodiments of the present invention provides a service configuration data synchronization system, including: the monitoring module is configured for monitoring the configuration data and responding to the change of the configuration data to send a change request to the configuration center; the recording module is configured to generate a change record and a corresponding identifier based on the change request, and record the change record and the identifier in a record table of the configuration center; the notification module is configured to send a change notification with the identifier to a slave node and accept a query request returned by the slave node; and the execution module is configured to acquire a corresponding change record in a record table based on the identifier in the query request, acquire data based on the change record, and send the acquired data to the slave node.
In some embodiments, further comprising: and the second recording module is configured to record the change notification into a record table of the slave node in response to the slave node receiving the data sent by the master node.
In some embodiments, further comprising: a deduplication module configured to, in response to receiving a change notification from a slave node, look up, based on an identification of the change notification, whether the change notification has been processed in a record table of the slave node.
In some embodiments, the execution module is further configured to: and sending the change record to the slave node, receiving a data request returned by the slave node, and acquiring corresponding data based on the data request.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, monitoring the configuration data and responding to the change of the configuration data to send a change request to the configuration center; s2, generating a change record and a corresponding identifier based on the change request, and recording the change record and the identifier in a record table of the configuration center; s3, sending change notification with identification to the slave node, and receiving the inquiry request returned from the slave node; and S4, acquiring the corresponding change record in the record table based on the identifier in the query request, acquiring data based on the change record, and sending the acquired data to the slave node.
In some embodiments, further comprising: and recording the change notification into a record table of the slave node in response to the slave node receiving the data sent by the master node.
In some embodiments, further comprising: in response to receiving a change notification from a slave node, looking up in a record table of the slave node whether the change notification has been processed based on an identification of the change notification.
In some embodiments, said obtaining data based on said change log comprises: and sending the change record to the slave node, receiving a data request returned by the slave node, and acquiring corresponding data based on the data request.
Fig. 3 is a schematic hardware structure diagram of an embodiment of the computer device for synchronizing the service configuration data according to the present invention.
Taking the apparatus shown in fig. 3 as an example, the apparatus includes a processor 301 and a memory 302, and may further include: an input device 303 and an output device 304.
The processor 301, the memory 302, the input device 303 and the output device 304 may be connected by a bus or other means, and fig. 3 illustrates the connection by a bus as an example.
The memory 302 is a non-volatile computer-readable storage medium and can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method for synchronizing service configuration data in the embodiments of the present application. The processor 301 executes various functional applications of the server and data processing by running nonvolatile software programs, instructions and modules stored in the memory 302, that is, implements the method for service configuration data synchronization of the above-described method embodiment.
The memory 302 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the method of service profile data synchronization, and the like. Further, the memory 302 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 302 optionally includes memory located remotely from processor 301, which may be connected to a local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 303 may receive information such as a user name and a password that are input. The output means 304 may comprise a display device such as a display screen.
Program instructions/modules corresponding to one or more methods of service provisioning data synchronization are stored in the memory 302 and, when executed by the processor 301, perform the method of service provisioning data synchronization in any of the above-described method embodiments.
Any embodiment of the computer device executing the method for service configuration data synchronization may achieve the same or similar effects as any corresponding embodiment of the foregoing method.
The invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, performs the method as above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program to instruct related hardware, and the program of the method for synchronizing service configuration data may be stored in a computer readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the methods disclosed according to embodiments of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. Which when executed by a processor performs the above-described functions defined in the methods disclosed in embodiments of the invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method for synchronizing service configuration data, comprising the steps at a primary node of:
monitoring configuration data and sending a change request to a configuration center in response to the change of the configuration data;
generating a change record and a corresponding identifier based on the change request, and recording the change record and the identifier in a record table of the configuration center;
sending a change notification with the identification to a slave node, and accepting a query request returned by the slave node; and
and acquiring a corresponding change record in a record table based on the identifier in the query request, acquiring data based on the change record, and sending the acquired data to the slave node.
2. The method of claim 1, further comprising:
and recording the change notification into a record table of the slave node in response to the slave node receiving the data sent by the master node.
3. The method of claim 2, further comprising:
in response to receiving a change notification from a slave node, looking up in a record table of the slave node whether the change notification has been processed based on an identification of the change notification.
4. The method of claim 1, wherein the obtaining data based on the change log comprises:
and sending the change record to the slave node, receiving a data request returned by the slave node, and acquiring corresponding data based on the data request.
5. A system for synchronizing service configuration data, comprising:
the monitoring module is configured for monitoring the configuration data and responding to the change of the configuration data to send a change request to the configuration center;
the recording module is configured to generate a change record and a corresponding identifier based on the change request, and record the change record and the identifier in a record table of the configuration center;
the notification module is configured to send a change notification with the identifier to a slave node and accept a query request returned by the slave node; and
and the execution module is configured to acquire a corresponding change record in a record table based on the identifier in the query request, acquire data based on the change record, and send the acquired data to the slave node.
6. The system of claim 5, further comprising:
and the second recording module is configured to record the change notification into a record table of the slave node in response to the slave node receiving the data sent by the master node.
7. The system of claim 6, further comprising:
a deduplication module configured to, in response to receiving a change notification from a slave node, look up, based on an identification of the change notification, whether the change notification has been processed in a record table of the slave node.
8. The system of claim 5, wherein the execution module is further configured to:
and sending the change record to the slave node, receiving a data request returned by the slave node, and acquiring corresponding data based on the data request.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN202010447727.XA 2020-05-25 2020-05-25 Method, system, equipment and medium for synchronizing service configuration data Withdrawn CN111708834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010447727.XA CN111708834A (en) 2020-05-25 2020-05-25 Method, system, equipment and medium for synchronizing service configuration data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010447727.XA CN111708834A (en) 2020-05-25 2020-05-25 Method, system, equipment and medium for synchronizing service configuration data

Publications (1)

Publication Number Publication Date
CN111708834A true CN111708834A (en) 2020-09-25

Family

ID=72537348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010447727.XA Withdrawn CN111708834A (en) 2020-05-25 2020-05-25 Method, system, equipment and medium for synchronizing service configuration data

Country Status (1)

Country Link
CN (1) CN111708834A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113242169A (en) * 2021-05-10 2021-08-10 广东拓斯达科技股份有限公司 Multi-slave data updating method, system, equipment and storage medium
CN113420037A (en) * 2021-06-27 2021-09-21 杭州迪普科技股份有限公司 Real-time asset data changing method and device
CN113509734A (en) * 2021-03-30 2021-10-19 成都完美天智游科技有限公司 Game file processing system
CN113810513A (en) * 2021-08-16 2021-12-17 新浪网技术(中国)有限公司 Configuration management method and system for elastic public network IP
CN114327414A (en) * 2022-01-25 2022-04-12 重庆允丰科技有限公司 Method for implementing trigger capable of being plugged in and unplugged from node and computer readable storage medium
CN114443440A (en) * 2022-02-07 2022-05-06 网银在线(北京)科技有限公司 Method and device for responding to process instance change data
CN114924806A (en) * 2022-04-07 2022-08-19 南京慧尔视软件科技有限公司 Dynamic synchronization method, device, equipment and medium for configuration information

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113509734A (en) * 2021-03-30 2021-10-19 成都完美天智游科技有限公司 Game file processing system
CN113242169A (en) * 2021-05-10 2021-08-10 广东拓斯达科技股份有限公司 Multi-slave data updating method, system, equipment and storage medium
CN113242169B (en) * 2021-05-10 2023-05-30 广东拓斯达科技股份有限公司 Multi-slave data updating method, system, equipment and storage medium
CN113420037A (en) * 2021-06-27 2021-09-21 杭州迪普科技股份有限公司 Real-time asset data changing method and device
CN113420037B (en) * 2021-06-27 2023-06-27 杭州迪普科技股份有限公司 Asset data real-time changing method and device
CN113810513A (en) * 2021-08-16 2021-12-17 新浪网技术(中国)有限公司 Configuration management method and system for elastic public network IP
CN113810513B (en) * 2021-08-16 2023-10-24 新浪技术(中国)有限公司 Configuration management method and system for elastic public network IP
CN114327414A (en) * 2022-01-25 2022-04-12 重庆允丰科技有限公司 Method for implementing trigger capable of being plugged in and unplugged from node and computer readable storage medium
CN114327414B (en) * 2022-01-25 2022-11-15 重庆允丰科技有限公司 Method for implementing trigger capable of being plugged in and unplugged from node and computer readable storage medium
CN114443440A (en) * 2022-02-07 2022-05-06 网银在线(北京)科技有限公司 Method and device for responding to process instance change data
CN114924806A (en) * 2022-04-07 2022-08-19 南京慧尔视软件科技有限公司 Dynamic synchronization method, device, equipment and medium for configuration information
CN114924806B (en) * 2022-04-07 2024-03-26 南京慧尔视软件科技有限公司 Dynamic synchronization method, device, equipment and medium for configuration information

Similar Documents

Publication Publication Date Title
CN111708834A (en) Method, system, equipment and medium for synchronizing service configuration data
US9717011B2 (en) Event management in telecommunications networks
CN111756571B (en) Cluster node fault processing method, device, equipment and readable medium
CN111177043B (en) Method, system, device and medium for accelerating reading of field replaceable unit information
CN113010378B (en) Log processing method and device of microservice module, storage medium and electronic device
CN111124759A (en) Method, equipment and medium for data synchronization under hybrid cloud architecture
CN111104232A (en) Method, device and medium for accelerating message writing of message queue
CN111221826A (en) Method, system, device and medium for processing shared cache synchronization message
CN111078430A (en) Message notification processing method, device and storage medium
CN111813346A (en) Method, system, device and medium for establishing Ceph distributed storage based on cloud platform
CN111309264B (en) Method, system, device and medium for making directory quota compatible with snapshot
CN111193677B (en) Method, device and medium for attributing FC (fiber channel) port of host to corresponding host
CN111176904B (en) Method, system, equipment and medium for data backup under private cloud architecture
CN111045989A (en) Method, device and medium for querying CPLD version information
CN111240933B (en) Method, system, device and medium for monitoring performance data of multiple data centers
CN111857963A (en) Container arrangement implementation method, device, equipment and medium for Proxmox VE
CN111723369A (en) File management method, equipment and medium of FTP server
CN111124542A (en) Configuration information management system
CN113612811B (en) Method, system, equipment and medium for client mounting in multiple channels
CN113505180B (en) Method, device and equipment for synchronizing mirror images in multi-cloud platform and readable medium
CN115328509A (en) Algorithm changing method, device, computer equipment and storage medium
CN110764927A (en) Method and equipment for asynchronous communication among multiple machines
CN111106957A (en) Method and device for upgrading firmware of switch in batches
CN111722959A (en) Storage pool capacity expansion method, system, equipment and medium
CN111338894A (en) Remote monitoring method, system, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20200925

WW01 Invention patent application withdrawn after publication