CN113449031A - Data synchronization management method and device and server - Google Patents

Data synchronization management method and device and server Download PDF

Info

Publication number
CN113449031A
CN113449031A CN202110403206.9A CN202110403206A CN113449031A CN 113449031 A CN113449031 A CN 113449031A CN 202110403206 A CN202110403206 A CN 202110403206A CN 113449031 A CN113449031 A CN 113449031A
Authority
CN
China
Prior art keywords
task
data synchronization
user
interface
synchronization
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
CN202110403206.9A
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.)
Shanghai Manwei Information Technology Co ltd
Original Assignee
Shanghai Manwei Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Manwei Information Technology Co ltd filed Critical Shanghai Manwei Information Technology Co ltd
Priority to CN202110403206.9A priority Critical patent/CN113449031A/en
Publication of CN113449031A publication Critical patent/CN113449031A/en
Pending 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

Landscapes

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

Abstract

The application discloses a data synchronization management method, a data synchronization management device and a server. The method comprises the following steps: receiving task creation information configured by a user at a terminal; wherein the task creation information at least includes: the names of the first source repository and the first target repository; creating a data synchronization task according to the task creation information and outputting the data synchronization task at a terminal; and when the first interface in the data synchronization task is triggered by a user, performing data synchronization operation between the first source library and the first target library. The method and the device are only limited to data synchronization among specified databases and do not support the technical problem of multitasking.

Description

Data synchronization management method and device and server
Technical Field
The present application relates to the field of data synchronization, and in particular, to a management method, an apparatus and a server for data synchronization.
Background
The inventor finds that the data synchronization task specifies the databases, so that the data synchronization is only carried out among the specified databases; each data synchronization task needs to be performed independently, and multi-task processing is not supported.
Aiming at the problems that data synchronization is only carried out among specified databases and multitask processing is not supported in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The present application mainly aims to provide a method, an apparatus and a server for managing data synchronization, so as to solve the problem that data synchronization is only performed between specified databases and multitasking is not supported.
In order to achieve the above object, according to an aspect of the present application, there is provided a management method of data synchronization.
The management method for data synchronization comprises the following steps: receiving task creation information configured by a user at a terminal; wherein the task creation information at least includes: the names of the first source repository and the first target repository; creating a data synchronization task according to the task creation information and outputting the data synchronization task at a terminal; and when the first interface in the data synchronization task is triggered by a user, performing data synchronization operation between the first source library and the first target library.
Further, when the first interface in the data synchronization task is triggered by a user, the method further includes, after performing a data synchronization operation between the first source repository and the first target repository: and when the first interface in the data synchronization task is triggered by a user, performing data synchronization operation between the first source library and the first target library.
Further, the creating of the data synchronization task according to the task creation information and the outputting of the terminal further include: and when the second interface in the data synchronization task is triggered by the user, executing the disabling/destroying operation of the data synchronization task.
Further, the creating of the data synchronization task according to the task creation information and the outputting of the terminal further include: when a third interface in the data synchronization task is triggered by a user, outputting a synchronization policy table at the terminal; receiving parameters configured in the synchronization policy table by a user; and/or when a first interface in the synchronization policy table is triggered by a user, performing field desensitization operation of the synchronization policy table; and when the second interface in the synchronization strategy table is triggered by a user, performing data synchronization operation between the first source library and the first target library.
Further, when the second interface in the synchronization policy table is triggered by a user, after performing a data synchronization operation between the first source repository and the first target repository, the method further includes: a first interface in the simulation data synchronization task is triggered by a user, and the interface is switched back to the data synchronization task from the synchronization policy table; and when a third interface in the data synchronization task is triggered by a user, outputting a configuration result of the synchronization strategy at the terminal.
Further, before receiving the task creation information configured by the user at the terminal, the method further includes: receiving database information configured by a user at a terminal; creating a database maintenance task according to the database information; when a second interface in the database maintenance task is triggered by a user, executing the test operation of the connection state of the database; and/or when the first interface in the database maintenance task is triggered by a user, executing the data reading operation of the database.
In order to achieve the above object, according to another aspect of the present application, there is provided a management apparatus for data synchronization.
The management device for data synchronization according to the application comprises: the receiving module is used for receiving task creation information configured by a user at a terminal; wherein the task creation information at least includes: the names of the first source repository and the first target repository; the creating module is used for creating a data synchronization task according to the task creating information and outputting the data synchronization task at a terminal; and the synchronization module is used for executing data synchronization operation between the first source library and the first target library when a first interface in the data synchronization task is triggered by a user.
Further, the method also comprises the following steps: the strategy configuration module is used for outputting a synchronous strategy table at the terminal when a third interface in the data synchronization task is triggered by a user; receiving parameters configured in the synchronization policy table by a user; and/or when a first interface in the synchronization policy table is triggered by a user, performing field desensitization operation of the synchronization policy table; when a second interface in the synchronization strategy table is triggered by a user, executing data synchronization operation between the first source library and the first target library; the switching module is used for simulating that a first interface in the data synchronization task is triggered by a user and switching the interface from the synchronization policy table back to the data synchronization task; and when a third interface in the data synchronization task is triggered by a user, outputting a configuration result of the synchronization strategy at the terminal.
Further, the method also comprises the following steps: the maintenance module is used for receiving the database information configured by the user at the terminal; creating a database maintenance task according to the database information; when a second interface in the database maintenance task is triggered by a user, executing the test operation of the connection state of the database; and/or when the first interface in the database maintenance task is triggered by a user, executing the data reading operation of the database.
To achieve the above object, according to another aspect of the present application, there is provided a server.
The server according to the present application includes: a memory having a computer program stored therein and a processor, wherein the processor is arranged to run the computer program to perform any of the supported boot methods.
In the embodiment of the application, a mode of creating a data synchronization task is adopted, and task creation information configured by a user at a terminal is received; wherein the task creation information at least includes: the names of the first source repository and the first target repository; creating a data synchronization task according to the task creation information and outputting the data synchronization task at a terminal; when a first interface in the data synchronization task is triggered by a user, executing data synchronization operation between a first source library and a first target library; the purpose of creating one or more data synchronization tasks in a user-defined database mode is achieved, data synchronization between databases of any types is achieved, the technical effect of multitask processing is supported, and the technical problems that data synchronization is only performed between specified databases and multitask processing is not supported are solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
FIG. 1 is a flow chart diagram of a management method of data synchronization according to an embodiment of the application;
FIG. 2 is a schematic diagram of a management apparatus for data synchronization according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a server according to an embodiment of the present application;
fig. 4-7 are schematic diagrams of interfaces according to embodiments of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In this application, the terms "upper", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings. These terms are used primarily to better describe the invention and its embodiments and are not intended to limit the indicated devices, elements or components to a particular orientation or to be constructed and operated in a particular orientation.
Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meanings of these terms in the present invention can be understood by those skilled in the art as appropriate.
Furthermore, the terms "mounted," "disposed," "provided," "connected," and "sleeved" are to be construed broadly. For example, it may be a fixed connection, a removable connection, or a unitary construction; can be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be in internal communication between two devices, elements or components. The specific meanings of the above terms in the present invention can be understood by those of ordinary skill in the art according to specific situations.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
According to an embodiment of the present invention, there is provided a management method of data synchronization, as shown in fig. 1, the method includes steps S101 to S103 as follows:
step S101, receiving task creation information configured by a user at a terminal; wherein the task creation information at least includes: the names of the first source repository and the first target repository;
the terminal can be a mobile phone or a computer and other equipment; as shown in fig. 3 and 4, application processing software is installed on the terminal, and when the software is opened to select a new task, a pop-up box pops up, and a user only needs to fill in task creation information, such as a name of the first source library, a name of the first target library, and a task name, and click to confirm, so that the filled task creation information can be uploaded to the server; the server receives the information and then further processes the information. And providing guarantee for customizing the database.
In this embodiment, after the completion of the filling of one piece of task creation information is confirmed by clicking, the selection of the newly added task may be performed to fill another piece of task creation information. And the method provides guarantee for multitasking.
Step S102, a data synchronization task is created according to the task creation information and is output at a terminal;
after receiving the task creating information, the server calls a task blank template and configures the task name, the name of the first source library and the name of the first target library into the template; and simultaneously, establishing a data synchronization relationship between the name of the first source library and the first target library mapped by the name of the first target library, configuring a first interface in the blank template, and establishing the first interface and performing data synchronization according to the data synchronization relationship or stopping the data synchronization to establish an execution relationship. Therefore, the customization of two databases needing data synchronization is realized, and a corresponding data synchronization task can be established according to the customized databases.
Besides, information such as task state, synchronization state, creation time and the like is configured in the blank template; in addition, a second interface and a third interface are configured, the execution relation between the second interface and the forbidding/destroying task is established, and the execution relation between the third interface and the synchronous policy table is established.
According to the embodiment of the present invention, it is preferable that the creating of the data synchronization task according to the task creation information and the outputting of the terminal further include:
and when the second interface in the data synchronization task is triggered by the user, executing the disabling/destroying operation of the data synchronization task.
After the second interface is clicked by a user, the data synchronization task can be forbidden or destroyed, and the task cannot be operated after the task is forbidden or destroyed.
And step S103, when a first interface in the data synchronization task is triggered by a user, executing data synchronization operation between the first source library and the first target library.
The created data synchronization task customizes a first source library (sending data) and a second target library (receiving data) for data synchronization, and configures a first interface. Therefore, after the first interface is triggered by the user, namely the first interface is clicked by the user, the data synchronization which has an execution relation with the first interface according to the data synchronization relation is called, and the data synchronization operation between the first source library and the first target library is finally executed. The data synchronization between the self-defined databases is realized, so that the data synchronization between any type of databases can be realized.
The created data synchronization tasks can be multiple, when one data synchronization task carries out data synchronization, a user can also carry out data synchronization by triggering a first interface of another or multiple data synchronization tasks; thereby supporting multitasking and reducing cost.
According to the embodiment of the present invention, preferably, when the first interface in the data synchronization task is triggered by a user, the performing of the data synchronization operation between the first source repository and the first target repository further includes:
and when the first interface in the data synchronization task is triggered by a user, performing data synchronization operation between the first source library and the first target library.
When the first interface in the data synchronization task is triggered again, the data synchronization is suspended; the first trigger execution data synchronization and the second trigger execution pause data synchronization can be preset; and resetting the timer, wherein the third trigger is the first trigger by default, and the fourth trigger is the second trigger. Data synchronization start or pause is realized.
From the above description, it can be seen that the present invention achieves the following technical effects:
in the embodiment of the application, a mode of creating a data synchronization task is adopted, and task creation information configured by a user at a terminal is received; wherein the task creation information at least includes: the names of the first source repository and the first target repository; creating a data synchronization task according to the task creation information and outputting the data synchronization task at a terminal; when a first interface in the data synchronization task is triggered by a user, executing data synchronization operation between a first source library and a first target library; the purpose of creating one or more data synchronization tasks in a user-defined database mode is achieved, data synchronization between databases of any types is achieved, the technical effect of multitask processing is supported, and the technical problems that data synchronization is only performed between specified databases and multitask processing is not supported are solved.
According to the embodiment of the present invention, it is preferable that the creating of the data synchronization task according to the task creation information and the outputting of the terminal further include:
when a third interface in the data synchronization task is triggered by a user, outputting a synchronization policy table at the terminal;
receiving parameters configured in the synchronization policy table by a user; and/or when a first interface in the synchronization policy table is triggered by a user, performing field desensitization operation of the synchronization policy table;
and when the second interface in the synchronization strategy table is triggered by a user, performing data synchronization operation between the first source library and the first target library.
As shown in fig. 5, after clicking a third interface in the data synchronization task, the user directly calls all the synchronization policy tables from the server to the terminal for display according to the preset execution relationship between the third interface and the synchronization policy table; in the interface of the synchronization strategy table, a user can select one or more synchronization strategy tables among databases reserved in the previous data synchronization; parameters such as whether batch processing is carried out, whether stock data is skipped, whether a target table is deleted, whether the target table is emptied and the like can also be configured; the strategy name can be input for strategy search; one or more synchronization policy table configuration fields may also be desensitized. The selection, parameter configuration, field desensitization and the like of the synchronization strategy are realized, and the reconfiguration of the synchronization strategy is replaced by simple operation, so that the configuration efficiency is greatly improved; and large data platform construction is facilitated through configuration field desensitization.
In this embodiment, the user may set field desensitization by clicking the first interface in the interface of the synchronization policy table, and the background performs field desensitization on the synchronization policy table according to the field desensitization.
In this embodiment, after the user completes selection of the synchronization policy table and/or the configuration parameter and/or the field desensitization and the like according to the actual situation, the user clicks a second interface in the interfaces of the synchronization policy table, and performs data synchronization according to the content set by the user. The selection, parameter configuration, field desensitization and the like of the synchronization strategy are realized, and the reconfiguration of the synchronization strategy is replaced by simple operation, so that the configuration efficiency is greatly improved; and large data platform construction is facilitated through configuration field desensitization.
In this embodiment, the server is further provided with an automatic duplicate checking function, and determines whether the synchronization policy table of the target library in the current data synchronization task is the same as the synchronization policy table of the target library in the previous data synchronization task, and if so, the synchronization policy table corresponding to the current data synchronization task is not saved; automatic deduplication is achieved.
According to the embodiment of the present invention, preferably, when the second interface in the synchronization policy table is triggered by a user, after performing a data synchronization operation between the first source repository and the first target repository, the method further includes:
a first interface in the simulation data synchronization task is triggered by a user, and the interface is switched back to the data synchronization task from the synchronization policy table;
and when a third interface in the data synchronization task is triggered by a user, outputting a configuration result of the synchronization strategy at the terminal.
And after the user clicks the second interface in the interface of the synchronization policy table, starting data synchronization, so that when the server needs to switch back to the interface of the data synchronization task, the first interface in the simulation data synchronization task is triggered by the user, and the data displayed in the display of the terminal is synchronized. And when the user clicks the third interface at the moment, the user can view the synchronization strategy table and/or the configured parameters and/or fields for desensitization and the like.
According to the embodiment of the present invention, preferably, before receiving the task creation information configured by the user at the terminal, the method further includes:
receiving database information configured by a user at a terminal;
creating a database maintenance task according to the database information;
when a second interface in the database maintenance task is triggered by a user, executing the test operation of the connection state of the database; and/or when the first interface in the database maintenance task is triggered by a user, executing the data reading operation of the database.
Through application of processing software, as shown in fig. 6 and 7, a user clicks on database maintenance, can enter a database maintenance interface, clicks on a new database maintenance interface, and can call out a database registration interface, and the user inputs database information such as a data source alias, a database name, a host address, a user name, a password, a port and the like in the database maintenance interface, so that the registration of any database can be completed; after registering, the database maintenance task is obtained, and the usability of the database maintenance task can be verified by clicking the test connection; click-to-start may transfer the database information of the database to the K8s start node, and after the K8s node starts, the humserver service is automatically started and ready to read the database data. The individual requirements of data maintainers are effectively met, and data synchronization can be carried out at designated positions.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
According to an embodiment of the present invention, there is also provided an apparatus for implementing the management method for data synchronization, as shown in fig. 2, the apparatus includes:
a receiving module 10, configured to receive task creation information configured by a user at a terminal; wherein the task creation information at least includes: the names of the first source repository and the first target repository;
the terminal can be a mobile phone or a computer and other equipment; as shown in fig. 3 and 4, application processing software is installed on the terminal, and when the software is opened to select a new task, a pop-up box pops up, and a user only needs to fill in task creation information, such as a name of the first source library, a name of the first target library, and a task name, and click to confirm, so that the filled task creation information can be uploaded to the server; the server receives the information and then further processes the information. And providing guarantee for customizing the database.
In this embodiment, after the completion of the filling of one piece of task creation information is confirmed by clicking, the selection of the newly added task may be performed to fill another piece of task creation information. And the method provides guarantee for multitasking.
A creating module 20, configured to create a data synchronization task according to the task creation information and output the data synchronization task at a terminal;
after receiving the task creating information, the server calls a task blank template and configures the task name, the name of the first source library and the name of the first target library into the template; and simultaneously, establishing a data synchronization relationship between the name of the first source library and the first target library mapped by the name of the first target library, configuring a first interface in the blank template, and establishing the first interface and performing data synchronization according to the data synchronization relationship or stopping the data synchronization to establish an execution relationship. Therefore, the customization of two databases needing data synchronization is realized, and a corresponding data synchronization task can be established according to the customized databases.
Besides, information such as task state, synchronization state, creation time and the like is configured in the blank template; in addition, a second interface and a third interface are configured, the execution relation between the second interface and the forbidding/destroying task is established, and the execution relation between the third interface and the synchronous policy table is established.
According to the embodiment of the present invention, it is preferable that the creating of the data synchronization task according to the task creation information and the outputting of the terminal further include:
and when the second interface in the data synchronization task is triggered by the user, executing the disabling/destroying operation of the data synchronization task.
After the second interface is clicked by a user, the data synchronization task can be forbidden or destroyed, and the task cannot be operated after the task is forbidden or destroyed.
And the synchronization module 30 is configured to execute a data synchronization operation between the first source repository and the first target repository when the first interface in the data synchronization task is triggered by a user.
The created data synchronization task customizes a first source library (sending data) and a second target library (receiving data) for data synchronization, and configures a first interface. Therefore, after the first interface is triggered by the user, namely the first interface is clicked by the user, the data synchronization which has an execution relation with the first interface according to the data synchronization relation is called, and the data synchronization operation between the first source library and the first target library is finally executed. The data synchronization between the self-defined databases is realized, so that the data synchronization between any type of databases can be realized.
The created data synchronization tasks can be multiple, when one data synchronization task carries out data synchronization, a user can also carry out data synchronization by triggering a first interface of another or multiple data synchronization tasks; thereby supporting multitasking and reducing cost.
According to the embodiment of the present invention, preferably, when the first interface in the data synchronization task is triggered by a user, the performing of the data synchronization operation between the first source repository and the first target repository further includes:
and when the first interface in the data synchronization task is triggered by a user, performing data synchronization operation between the first source library and the first target library.
When the first interface in the data synchronization task is triggered again, the data synchronization is suspended; the first trigger execution data synchronization and the second trigger execution pause data synchronization can be preset; and resetting the timer, wherein the third trigger is the first trigger by default, and the fourth trigger is the second trigger. Data synchronization start or pause is realized.
From the above description, it can be seen that the present invention achieves the following technical effects:
in the embodiment of the application, a mode of creating a data synchronization task is adopted, and task creation information configured by a user at a terminal is received; wherein the task creation information at least includes: the names of the first source repository and the first target repository; creating a data synchronization task according to the task creation information and outputting the data synchronization task at a terminal; when a first interface in the data synchronization task is triggered by a user, executing data synchronization operation between a first source library and a first target library; the purpose of creating one or more data synchronization tasks in a user-defined database mode is achieved, data synchronization between databases of any types is achieved, the technical effect of multitask processing is supported, and the technical problems that data synchronization is only performed between specified databases and multitask processing is not supported are solved.
According to the embodiment of the present invention, it is preferable that: the strategy configuration module is used for outputting a synchronous strategy table at the terminal when a third interface in the data synchronization task is triggered by a user; receiving parameters configured in the synchronization policy table by a user; and/or when a first interface in the synchronization policy table is triggered by a user, performing field desensitization operation of the synchronization policy table; when a second interface in the synchronization strategy table is triggered by a user, executing data synchronization operation between the first source library and the first target library; the switching module is used for simulating that a first interface in the data synchronization task is triggered by a user and switching the interface from the synchronization policy table back to the data synchronization task; and when a third interface in the data synchronization task is triggered by a user, outputting a configuration result of the synchronization strategy at the terminal.
As shown in fig. 5, after clicking a third interface in the data synchronization task, the user directly calls all the synchronization policy tables from the server to the terminal for display according to the preset execution relationship between the third interface and the synchronization policy table; in the interface of the synchronization strategy table, a user can select one or more synchronization strategy tables among databases reserved in the previous data synchronization; parameters such as whether batch processing is carried out, whether stock data is skipped, whether a target table is deleted, whether the target table is emptied and the like can also be configured; the strategy name can be input for strategy search; one or more synchronization policy table configuration fields may also be desensitized. The selection, parameter configuration, field desensitization and the like of the synchronization strategy are realized, and the reconfiguration of the synchronization strategy is replaced by simple operation, so that the configuration efficiency is greatly improved; and large data platform construction is facilitated through configuration field desensitization.
In this embodiment, the user may set field desensitization by clicking the first interface in the interface of the synchronization policy table, and the background performs field desensitization on the synchronization policy table according to the field desensitization.
In this embodiment, after the user completes selection of the synchronization policy table and/or the configuration parameter and/or the field desensitization and the like according to the actual situation, the user clicks a second interface in the interfaces of the synchronization policy table, and performs data synchronization according to the content set by the user. The selection, parameter configuration, field desensitization and the like of the synchronization strategy are realized, and the reconfiguration of the synchronization strategy is replaced by simple operation, so that the configuration efficiency is greatly improved; and large data platform construction is facilitated through configuration field desensitization.
In this embodiment, the server is further provided with an automatic duplicate checking function, and determines whether the synchronization policy table of the target library in the current data synchronization task is the same as the synchronization policy table of the target library in the previous data synchronization task, and if so, the synchronization policy table corresponding to the current data synchronization task is not saved; automatic deduplication is achieved.
And after the user clicks the second interface in the interface of the synchronization policy table, starting data synchronization, so that when the server needs to switch back to the interface of the data synchronization task, the first interface in the simulation data synchronization task is triggered by the user, and the data displayed in the display of the terminal is synchronized. And when the user clicks the third interface at the moment, the user can view the synchronization strategy table and/or the configured parameters and/or fields for desensitization and the like.
According to the embodiment of the present invention, it is preferable that: the maintenance module is used for receiving the database information configured by the user at the terminal; creating a database maintenance task according to the database information; when a second interface in the database maintenance task is triggered by a user, executing the test operation of the connection state of the database; and/or when the first interface in the database maintenance task is triggered by a user, executing the data reading operation of the database.
Through application of processing software, as shown in fig. 6 and 7, a user clicks on database maintenance, can enter a database maintenance interface, clicks on a new database maintenance interface, and can call out a database registration interface, and the user inputs database information such as a data source alias, a database name, a host address, a user name, a password, a port and the like in the database maintenance interface, so that the registration of any database can be completed; after registering, the database maintenance task is obtained, and the usability of the database maintenance task can be verified by clicking the test connection; click-to-start may transfer the database information of the database to the K8s start node, and after the K8s node starts, the humserver service is automatically started and ready to read the database data. The individual requirements of data maintainers are effectively met, and data synchronization can be carried out at designated positions.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method for managing data synchronization, comprising:
receiving task creation information configured by a user at a terminal; wherein the task creation information at least includes: the names of the first source repository and the first target repository;
creating a data synchronization task according to the task creation information and outputting the data synchronization task at a terminal;
and when the first interface in the data synchronization task is triggered by a user, performing data synchronization operation between the first source library and the first target library.
2. The method for managing according to claim 1, wherein when the first interface in the data synchronization task is triggered by a user, the performing of the data synchronization operation between the first source repository and the first target repository further comprises:
and when the first interface in the data synchronization task is triggered by a user, performing data synchronization operation between the first source library and the first target library.
3. The management method according to claim 1, wherein creating a data synchronization task from the task creation information and after output by a terminal further comprises:
and when the second interface in the data synchronization task is triggered by the user, executing the disabling/destroying operation of the data synchronization task.
4. The management method according to claim 1, wherein creating a data synchronization task from the task creation information and after output by a terminal further comprises:
when a third interface in the data synchronization task is triggered by a user, outputting a synchronization policy table at the terminal;
receiving parameters configured in the synchronization policy table by a user; and/or when a first interface in the synchronization policy table is triggered by a user, performing field desensitization operation of the synchronization policy table;
and when the second interface in the synchronization strategy table is triggered by a user, performing data synchronization operation between the first source library and the first target library.
5. The method for managing according to claim 4, wherein when the second interface in the synchronization policy table is triggered by the user, the performing the data synchronization operation between the first source repository and the first target repository further comprises:
a first interface in the simulation data synchronization task is triggered by a user, and the interface is switched back to the data synchronization task from the synchronization policy table;
and when a third interface in the data synchronization task is triggered by a user, outputting a configuration result of the synchronization strategy at the terminal.
6. The management method according to claim 1, wherein receiving the task creation information configured by the user at the terminal further comprises:
receiving database information configured by a user at a terminal;
creating a database maintenance task according to the database information;
when a second interface in the database maintenance task is triggered by a user, executing the test operation of the connection state of the database; and/or when the first interface in the database maintenance task is triggered by a user, executing the data reading operation of the database.
7. A management apparatus for data synchronization, comprising:
the receiving module is used for receiving task creation information configured by a user at a terminal; wherein the task creation information at least includes: the names of the first source repository and the first target repository;
the creating module is used for creating a data synchronization task according to the task creating information and outputting the data synchronization task at a terminal;
and the synchronization module is used for executing data synchronization operation between the first source library and the first target library when a first interface in the data synchronization task is triggered by a user.
8. The management apparatus according to claim 7, further comprising:
a policy configuration module for
When a third interface in the data synchronization task is triggered by a user, outputting a synchronization policy table at the terminal;
receiving parameters configured in the synchronization policy table by a user; and/or when a first interface in the synchronization policy table is triggered by a user, performing field desensitization operation of the synchronization policy table;
when a second interface in the synchronization strategy table is triggered by a user, executing data synchronization operation between the first source library and the first target library;
a switching module for
A first interface in the simulation data synchronization task is triggered by a user, and the interface is switched back to the data synchronization task from the synchronization policy table;
and when a third interface in the data synchronization task is triggered by a user, outputting a configuration result of the synchronization strategy at the terminal.
9. The management apparatus according to claim 7, further comprising: maintenance module for
Receiving database information configured by a user at a terminal;
creating a database maintenance task according to the database information;
when a second interface in the database maintenance task is triggered by a user, executing the test operation of the connection state of the database; and/or when the first interface in the database maintenance task is triggered by a user, executing the data reading operation of the database.
10. A server, comprising: memory and a processor, characterized in that the memory has stored therein a computer program, wherein the processor is arranged to execute the computer program to perform the method of booting the supported object of any of the claims 1 to 6.
CN202110403206.9A 2021-04-14 2021-04-14 Data synchronization management method and device and server Pending CN113449031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110403206.9A CN113449031A (en) 2021-04-14 2021-04-14 Data synchronization management method and device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110403206.9A CN113449031A (en) 2021-04-14 2021-04-14 Data synchronization management method and device and server

Publications (1)

Publication Number Publication Date
CN113449031A true CN113449031A (en) 2021-09-28

Family

ID=77809632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110403206.9A Pending CN113449031A (en) 2021-04-14 2021-04-14 Data synchronization management method and device and server

Country Status (1)

Country Link
CN (1) CN113449031A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115422206A (en) * 2022-10-31 2022-12-02 四川互慧软件有限公司 Database data synchronization method, system, device and storage medium
CN116204587A (en) * 2023-02-21 2023-06-02 中国人民解放军海军工程大学 Data synchronization task generation method, device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109669983A (en) * 2018-12-27 2019-04-23 杭州火树科技有限公司 Visualize multi-data source ETL tool
CN110888922A (en) * 2018-08-16 2020-03-17 北京国双科技有限公司 Method and device for creating target table during data synchronization
CN112000989A (en) * 2020-09-01 2020-11-27 上海英方软件股份有限公司 Data desensitization device, system and method based on database synchronization
CN112131315A (en) * 2020-09-29 2020-12-25 中国银行股份有限公司 Database synchronization method and device under multi-task parallel development

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110888922A (en) * 2018-08-16 2020-03-17 北京国双科技有限公司 Method and device for creating target table during data synchronization
CN109669983A (en) * 2018-12-27 2019-04-23 杭州火树科技有限公司 Visualize multi-data source ETL tool
CN112000989A (en) * 2020-09-01 2020-11-27 上海英方软件股份有限公司 Data desensitization device, system and method based on database synchronization
CN112131315A (en) * 2020-09-29 2020-12-25 中国银行股份有限公司 Database synchronization method and device under multi-task parallel development

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115422206A (en) * 2022-10-31 2022-12-02 四川互慧软件有限公司 Database data synchronization method, system, device and storage medium
CN116204587A (en) * 2023-02-21 2023-06-02 中国人民解放军海军工程大学 Data synchronization task generation method, device and computer readable storage medium
CN116204587B (en) * 2023-02-21 2024-01-30 中国人民解放军海军工程大学 Data synchronization task generation method, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
WO2021017301A1 (en) Management method and apparatus based on kubernetes cluster, and computer-readable storage medium
CN108111332A (en) Using the mixing cloud management system and method for SDN
CN113449031A (en) Data synchronization management method and device and server
US11528186B2 (en) Automated initialization of bare metal servers
CN110275775A (en) Resource allocation method, system and the storage medium of container application
CN109120444B (en) Cloud resource management method, processor and storage medium
CN106230977B (en) A kind of client functionality loading method, system, client and server-side
CN115292026B (en) Management method, device and equipment of container cluster and computer readable storage medium
CN112417051A (en) Container arrangement engine resource management method and device, readable medium and electronic equipment
CN109885332A (en) Image quality chip software upgrade method, device, display equipment and storage medium
CN109032685A (en) A kind of method and terminal accelerating Android system starting
CN110083366B (en) Application running environment generation method and device, computing equipment and storage medium
CN106325859A (en) Method for installing driver and server
CN103530180B (en) Method and device for switching storage space of application programs
CN113452556A (en) Product skill configuration method and device, storage medium and electronic device
CN109491762B (en) Container state control method and device, storage medium and electronic equipment
CN115357198B (en) Mounting method and device of storage volume, storage medium and electronic equipment
CN109495298B (en) Method and device for managing nodes in OpenStack system
CN114531462B (en) Data processing method and device for Internet of things device
CN112486409B (en) Method, system, terminal and storage medium for automatically recycling cluster cloud hard disk
CN114662102A (en) File processing method and device and storage medium
CN104836708B (en) The binding method and device of information
CN110971665A (en) Management method, system, equipment and storage medium for interfacing multi-type storage
CN112306843A (en) Test method, test device and storage medium
CN110417978A (en) Menu configuration method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210928

RJ01 Rejection of invention patent application after publication