CN110968363A - Data configuration synchronization method and device, electronic equipment and readable storage medium - Google Patents

Data configuration synchronization method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN110968363A
CN110968363A CN201911154215.8A CN201911154215A CN110968363A CN 110968363 A CN110968363 A CN 110968363A CN 201911154215 A CN201911154215 A CN 201911154215A CN 110968363 A CN110968363 A CN 110968363A
Authority
CN
China
Prior art keywords
data
editing
synchronization
editing content
content item
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
CN201911154215.8A
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.)
Beike Technology Co Ltd
Original Assignee
Beike 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 Beike Technology Co Ltd filed Critical Beike Technology Co Ltd
Priority to CN201911154215.8A priority Critical patent/CN110968363A/en
Publication of CN110968363A publication Critical patent/CN110968363A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • 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)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data configuration synchronization method and device, electronic equipment and a readable storage medium. The method comprises the following steps: dividing editing content configured by data into at least one editing content item according to a preset division rule of the editing content, and generating a corresponding synchronization option according to each editing content item, wherein the synchronization option is a selection operation item corresponding to the editing content item and is used for selecting the corresponding editing content item according to a first preset operation; selecting at least one target synchronization option according to the first preset operation, wherein the target synchronization option is the synchronization option for executing data synchronization in advance; and performing data synchronization on the editing content item corresponding to the target synchronization option according to a second preset operation. The technical problem that part of contents in the editing contents configured by the editing data cannot be selectively and independently synchronized is solved.

Description

Data configuration synchronization method and device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of computers, and in particular, to a method and an apparatus for synchronizing data configuration, an electronic device, and a readable storage medium.
Background
Currently, data configuration is a data application mode that configures data nodes according to a predetermined logic sequence, and some of the data nodes may also be assigned with values, and this data configuration application mode is applied in various fields. For example, in a house transaction platform, service nodes can be represented by data nodes, and a predetermined logic sequence represents a logic sequence and a relationship between the service nodes, but since the service nodes may change according to different application scenarios, data configuration often needs to be modified, and even if the change is small, the data configuration needs to be edited again.
After editing is completed, the edited data configuration should be synchronized into the target system, but in the synchronization process, developers find that it is not necessary to synchronize all edited contents, but selectively synchronize some of the contents.
The inventor finds that at least the following problem exists in the prior art, and some parts of the edited contents of the edited data configuration cannot be selectively and independently synchronized.
Disclosure of Invention
The application provides a data configuration synchronization method, which aims to selectively synchronize part or all of contents in editing contents of editing data configuration.
The method comprises the following steps:
dividing the editing content configured by data into at least one editing content item according to a preset division rule of the editing content, wherein the data is configured to be configured according to a preset logic sequence through data nodes, and the editing content item is all or part of the editing content divided according to the preset division rule;
generating a corresponding synchronization option according to each edited content item, wherein the synchronization option is a selection operation item corresponding to the edited content item and is used for selecting the corresponding edited content item according to a first preset operation;
selecting at least one target synchronization option according to the first preset operation, wherein the target synchronization option is the synchronization option for executing data synchronization in advance;
and performing data synchronization on the editing content item corresponding to the target synchronization option according to a second preset operation.
Optionally, the predetermined division rule is to divide the editing content according to different predetermined editing operations.
Optionally, the predetermined editing operation includes adding data and/or updating data and/or deleting data.
Optionally, the editing content includes data of the data configuration and/or call data, where the call data is data called by the data configuration and an association relationship between the data configuration and the call data.
Optionally, the predetermined editing operation is performed on the data configuration and the corresponding associated call data at the same time.
Optionally, the method further includes, before the step of dividing the editing content configured by data according to a predetermined division rule of the editing content into at least one editing content item, where the data is configured by data nodes in a predetermined logical order, and the editing content item is all or part of the editing content divided according to the predetermined division rule, the method further includes:
monitoring a database for storing the editing content;
and when the stored data of the database are changed, executing the subsequent steps through a hook function.
The present application further provides a synchronization apparatus for data configuration, the apparatus including:
the system comprises a dividing module, a data processing module and a data processing module, wherein the dividing module is used for dividing the editing content configured by data into at least one editing content item according to a preset dividing rule of the editing content, the data is configured to be configured according to a preset logic sequence through data nodes, and the editing content item is all or part of the editing content divided according to the preset dividing rule;
the generating module is used for generating corresponding synchronous options according to each edited content item, wherein the synchronous options are selection operation items corresponding to the edited content items and are used for selecting the corresponding edited content items according to a first preset operation;
a selecting module, configured to select at least one target synchronization option according to the first predetermined operation, where the target synchronization option is the synchronization option for performing data synchronization in advance;
and the synchronization module is used for synchronizing the edited content item corresponding to the target synchronization option according to a second preset operation.
Optionally, the apparatus further comprises:
the monitoring module is used for monitoring a database for storing the editing content;
and the execution module is used for executing subsequent steps through a hook function when the stored data of the database changes.
The present application further provides an electronic device, the apparatus comprising: a processor and a memory;
the memory has stored therein an application executable by the processor for causing the processor to perform the steps of the data configuration synchronization method.
The present application also provides a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the synchronization method of data configuration.
As can be seen from the above, based on the above embodiment, synchronization of part or all of the edited content is achieved by selecting the synchronization option corresponding to all or part of the edited content, and the technical problem that part of the edited content configured by the edited data cannot be selectively and individually synchronized is solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a diagram of a data framework for data configuration in a real estate transaction system according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a data framework for data configuration in a real estate transaction system according to another embodiment of the present application;
FIG. 3 is a diagram illustrating a flow 100 of a data configuration synchronization method according to the present application;
FIG. 4 is a schematic diagram of a data configuration synchronization method flow 200 according to the present application;
FIG. 5 is a diagram illustrating a flow 300 of a data configuration synchronization method according to the present application;
FIG. 6 is a diagram illustrating a data structure of a synchronization method for data configuration according to the present application;
FIG. 7 is a block diagram of a data synchronization apparatus according to an embodiment.
Detailed Description
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 a part of the embodiments of the present application, and not all of the 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.
Taking house transaction service as an example, in the data configuration process, data nodes are equivalent to service nodes, the data nodes are structured according to a preset logic sequence, the preset logic sequence is equivalent to the logic sequence and relationship among the service nodes, and as house transaction is influenced by factors such as policies of various cities, the service nodes in house transaction processes of various cities are different, the preset logic sequence of the service nodes and the acquisition information of corresponding assignments of various cities are different, and even names defined for the service nodes with the same meaning are different. Fig. 1 is a schematic diagram of a data framework in which data configuration is applied to a real estate transaction system according to an embodiment of the present application, and fig. 2 is a schematic diagram of a data framework in which data configuration is applied to a real estate transaction system according to another embodiment of the present application. As shown in FIGS. 1 and 2, Shenzhen requires full spare parts to be registered, while Lanzhou requires the survey results to be registered. The business nodes configured according to the example data of Shenzhen and Lanzhou are different. Each service node may also be assigned, for example, where an assignment is understood to be the filling of the service node with the contents of the registered spare parts or the results of the registered mapping. For another example, the whole money transaction process does not need a bank loan buying room, and does not need to apply for a bank loan and the service node in the bank loan-putting link. The above example of banking loan illustrates that the predetermined logical order exists between the service nodes in addition to the service nodes. In summary, the complexity of the service system is known, the service systems in the respective regions have the same and different points, and most importantly, in the complicated data configuration, only part of the edited content is often synchronized to the target system, and certainly, all the edited content may also be synchronized, but there is no way in the prior art to selectively synchronize part of the edited content to the target system.
Fig. 3 is a schematic diagram of a data configuration synchronization method flow 100 according to the present application. As shown in fig. 3, in an embodiment, the present application provides a method for synchronizing data configuration, where the method includes:
s101, dividing editing content configured by data into at least one editing content item according to a preset division rule of the editing content, wherein the data is configured to be configured according to a preset logic sequence through data nodes, and the editing content item is all or part of the editing content divided according to the preset division rule;
in this step, a specific embodiment is provided in which the editing content is divided into the editing content items, and the data nodes and the predetermined logical sequence are both understood as the editing content, and the editing content items are associated with each other. The predetermined division rule may be understood that, for example, if each of the data nodes and the predetermined logical sequence between the data nodes is defined as one of the edited content items, the edited content configured as data in fig. 1 may be divided into a plurality of the edited content items. It is of course also possible if all of the editing contents are understood as one item of the editing contents.
S102, generating corresponding synchronization options according to each edited content item, wherein the synchronization options are selection operation items corresponding to the edited content items and are used for selecting the corresponding edited content items according to a first preset operation;
this step provides a specific implementation of generating corresponding synchronization options from the edited content items, so the synchronization options may be listed in the form of a list, with each synchronization option corresponding to an edited content item. And the synchronization option is used for selecting the corresponding editing content item according to a first preset operation of a user. In addition, it should be noted that the first predetermined operation may be a user operation, or a predetermined manner set automatically, or according to a trigger instruction, etc.
S103, selecting at least one target synchronization option according to the first preset operation, wherein the target synchronization option is the synchronization option for executing data synchronization in advance;
in this step, a specific implementation manner of selecting the target synchronization option through user operation is provided. And generating the synchronization options corresponding to the edited content items according to the previous steps, selecting the content needing to be synchronized from the synchronization options, wherein the synchronization option selected by the user is the target synchronization option.
S104, performing data synchronization on the editing content item corresponding to the target synchronization option according to a second preset operation.
In this step, a specific implementation manner of synchronizing the target synchronization option through a second predetermined operation of the user is provided. It should be noted that if all the editing contents generate only one item of the synchronization option, it is equivalent to synchronize all the editing contents in the subsequent synchronization process, and if the synchronization option is multiple items, the synchronized contents are partial contents therein. That is, this step may complete synchronization of all the edited contents, or may synchronize only a part of the edited contents. In addition, it should be noted that the second predetermined operation may also be an operation by a user, or a predetermined manner set automatically, or according to a trigger instruction, etc.
In this embodiment, a specific implementation manner of data synchronization for the data configuration is provided, where editing content of the data configuration is divided into at least one item of the editing content according to a predetermined division rule of the editing content, where the data configuration is configured by data nodes in a predetermined logic sequence, and the editing content item is all or part of the editing content divided according to the predetermined division rule; each item of the editing content can be understood as all or part of the editing content, and it should be noted that the sum of the editing content items corresponding to all the synchronization options does not necessarily correspond to all the editing content, and may correspond to only part of the editing content. And generating a corresponding synchronization option according to each edited content item, wherein the synchronization option is a selection operation item corresponding to the edited content item and is used for selecting the corresponding edited content item according to a first preset operation of a user. And selecting at least one target synchronization option according to the first preset operation, wherein the target synchronization option is the synchronization option for executing data synchronization in advance. The user can select the target synchronization option according to the content to be synchronized at this time, and the target synchronization option may be one item or multiple items. And finally, performing data synchronization on the edited content item corresponding to the target synchronization option according to a second preset operation of the user. Therefore, all or part of the editing contents can be synchronized by selecting the target synchronization option, and the problem that the editing contents configured by data in the prior art can not be selectively partially or fully synchronized is solved.
In an embodiment, the predetermined dividing rule is to divide the editing content according to different predetermined editing operations.
In this embodiment, a specific implementation manner of how to divide the editing content into at least one item of the editing content item is provided, for example, when a data node configured by a new addition data is performed, the new addition operation is used as a basis for dividing the editing content, and the data node under the new addition operation is used as the editing content item. It should be noted that the predetermined editing operation may be one operation, or may be a plurality of operations, such as new addition, change, and the like. Since the edited content item is merely a division of the edited content and is not a visual, manipulable option, and it is also not possible to display all of the edited content items for selection by the user, the keywords or features having identifying characteristics in the edited content item must be presented in an optional manner, i.e., the synchronization option. So that the user can select it in the subsequent step and then implement the synchronization operation.
In an embodiment, the predetermined editing operation comprises adding data and/or updating data and/or deleting data.
In this embodiment, a specific implementation manner of the predetermined editing operation is provided, and data configuration, whether new data or updated data, or deleted data, is possible as the predetermined editing operation.
In an embodiment, the editing content includes data of the data configuration and call data of the data configuration, and an association relationship between the data configuration and the call data.
In this embodiment, specific contents of the editing content, that is, data of the data configuration and call data of the data configuration, and an association relationship between the data configuration and the call data, are provided. Since the data nodes of the data configuration may need to be assigned values, these assigned values can be understood as the call data here. The following description will be made in conjunction with the case, and will not be described herein.
In an embodiment, the predetermined editing operation is performed simultaneously on the data configuration and the corresponding associated call data.
In this embodiment, a specific implementation of how to process the call data when the predetermined editing operation is performed on the data configuration is provided. Specifically, the call data is subjected to the same operation as the data configuration, such as deletion, update, and the like.
Fig. 4 is a schematic diagram of a data configuration synchronization method flow 200 according to the present application. As shown in fig. 4, in an embodiment, the dividing, according to a predetermined division rule of the edited content, the edited content configured by data into at least one edited content item, where the data is configured by data nodes in a predetermined logical order, and the method further includes, before the step of dividing, by the predetermined division rule, all or part of the edited content, the edited content item:
s201, monitoring a database for storing the editing content;
in this step, a specific step of monitoring the database of the edited content in real time is provided, and in this step, the database is monitored in real time.
S202, when the stored data of the database are changed, the subsequent steps are executed through a hook function.
In this step, a specific step is provided for executing the subsequent steps through the hook function when the stored data of the database changes.
In this embodiment, the database in which the editing content needs to be stored is monitored in real time, when the stored data of the database changes, it can be understood that a user edits new editing content and then performs a storing operation, at this time, the storing operation is used as a trigger condition of the hook function, and the user performs subsequent steps after performing the storing operation.
In addition, the method steps described in this application may be implemented by hardware, for example, logic gates, switches, Application Specific Integrated Circuits (ASICs), programmable logic controllers, embedded microcontrollers, and the like, in addition to data processing programs. Such hardware capable of implementing the methods described herein may also constitute the present application.
The flowchart and block diagrams in the figures of the present application illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments disclosed herein. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not explicitly recited in the present application. In particular, the features recited in the various embodiments and/or claims of the present application may be combined and/or coupled in various ways, all of which fall within the scope of the present disclosure, without departing from the spirit and teachings of the present application.
The principles and embodiments of the present invention are explained herein using specific examples, which are provided only to help understanding the method and the core idea of the present invention, and are not intended to limit the present application. It will be appreciated by those skilled in the art that changes may be made in this embodiment and its broader aspects and without departing from the principles, spirit and scope of the invention, and that all such modifications, equivalents, improvements and equivalents as may be included within the scope of the invention are intended to be protected by the claims.
Basic principle and working process:
in the following, we will take a house transaction system as an example, where the house transaction system is a transaction system that edits through data configuration, the data configuration is configured through data nodes according to a predetermined logic sequence, service nodes in the house transaction system correspond to data nodes in the data configuration, a flow sequence between the service nodes corresponds to the predetermined logic sequence, and the house transaction system is edited through editing the data nodes and the predetermined logic sequence, where it is noted that the editing system and the house transaction system are two systems that are separate from each other, and may be understood as a foreground or a background, and may also be understood as two completely independent systems, or two operation modules under one system, so the data configuration corresponding to the house transaction system needs to be edited in the editing system first, the editorial content of the data configuration is then synchronized into the house transaction system. The prior art can only synchronize all the edited contents to the house transaction system, but in practical application, the inventor finds that in many scenes, the edited contents need to be selectively synchronized to the house transaction system. In an application scenario of the house transaction system, different cities may have respective house transaction systems, so that the edited content is synchronized to the respective house transaction systems of the different cities after being edited by the editing system, which further requires to selectively synchronize the edited content.
Fig. 5 is a schematic diagram of a flow 300 of a data configuration synchronization method of the present application, and fig. 6 is a schematic diagram of a data structure of the data configuration synchronization method of the present application. As shown in fig. 5 and fig. 6, in an embodiment, the present application further provides a data configuration synchronization method, where the method includes:
s301, monitoring a database for storing the editing content;
in this step, the database of the edited content is monitored first.
S302, when the stored data of the database are changed, the subsequent steps are executed through a hook function;
in this step, a specific implementation manner is provided in which the user triggers the subsequent steps to be executed when the user saves the edited content, the edited content is saved after the user edits the data configuration, and the subsequent steps are triggered to be executed by the hook function when the user saves the edited content. The hook function is a part of a Windows message processing mechanism, and by setting a hook, an application program can filter all messages and events at a system level and access messages which cannot be accessed under normal conditions. The essence of a hook is a program that handles system messages, which are put on the system through system calls.
S303, dividing the editing content configured by data into at least one editing content item according to a preset division rule of the editing content, wherein the data is configured to be configured according to a preset logic sequence through data nodes, and the editing content item is all or part of the editing content divided according to the preset division rule;
this step provides a specific embodiment of dividing the editing content, such as dividing the content of the newly added data, the content before and after the update of the update data, and the content of the deletion data in the manner of the predetermined editing operation. It should be noted that the edited content includes not only the content of the data configuration, i.e. the data nodes and the predetermined logic sequence, but also the calling data, i.e. the content to be recorded in the usage relationship record, when a value is assigned to the status of the business marriage in the data configuration (i.e. to the data node corresponding to the status of the business marriage), the calling data in the usage relationship record is called, in this case, the calling data may be understood as four options of married, not married, divorced and bereaved, and in general, the calling mode may be understood as a data dictionary, which is defined and described for data items, data structures, data streams, data storage, processing logic and the like of data, the purpose of this is to make a detailed description of the various elements in the dataflow diagram, using a data dictionary for a simple modeling project. Also for example, like gender, nationality, etc., in the business transaction system the call data need to be maintained separately for each business transaction system because the actual situation of each city is different. In addition to the call data, the call relationship of the data node for calling the call data should be recorded in the usage relationship record, so as to implement the corresponding call function. In the process of updating the data, if the new data node has the calling data, deleting the original calling data and adding the new corresponding calling data. And if the calling data corresponding to the data node is deleted together when the data node is deleted in the process of deleting the data.
S304, generating corresponding synchronization options according to each edited content item, wherein the synchronization options are selection operation items corresponding to the edited content items and are used for selecting the corresponding edited content items according to a first preset operation;
in this step, a specific implementation manner of generating the synchronization option is provided, and in a specific implementation process, a change list and a usage relationship record are generated according to the saved editing content, the change list lists the synchronization options according to the predetermined editing operation, and the editing content corresponding to each synchronization option is the editing content item, for example, the predetermined editing operation includes the new data, where the new data may be understood as the new data node or the new data and/or the updated data and/or the deleted data in the predetermined logic sequence. The update data may be understood as updating the data nodes or the predetermined logic sequence therein, or the delete data may be understood as deleting the data nodes or the predetermined logic sequence therein, and in the property transaction system, may be understood as adding, updating or deleting the service nodes or the flow relationship between the service nodes.
S304, selecting at least one target synchronization option according to the first preset operation, wherein the target synchronization option is the synchronization option for executing data synchronization in advance;
in this step, a specific embodiment is provided in which the target synchronization option is selected according to the first predetermined operation of the user, and if the user wishes to select all of the edited contents, all of the synchronization options may be selected as the target synchronization option, or all of the edited contents may be set as one of the synchronization options.
S305, performing data synchronization on the editing content item corresponding to the target synchronization option according to a second preset operation.
And after the target synchronization option is selected by the user, synchronizing the target synchronization option into the house transaction system by the editing system according to the second preset operation. It should be noted that if all of the editorial content is synchronized, the change list is synchronized to the house transaction system by way of kafka. kafka is an open source stream processing platform developed by the Apache software foundation, written in Scala and Java. Kafka is a high-throughput distributed publish-subscribe messaging system that can handle all the action flow data of a consumer in a web site. In order to ensure the consistency and accuracy of data synchronization, an editor is not allowed to perform synchronization operation again in the synchronization process. After the house transaction system is synchronized, information is fed back to the editing system, so that the editing system marks the edited content to indicate that synchronization is completed.
If part of the edited content needs to be synchronized, the user can select the target synchronization option in a checking mode, that is, can understand as one or more of the synchronization options listed in the change list, the target synchronization option is the edited content that the user needs to synchronize at this time, and meanwhile, if the data nodes in the edited content corresponding to the target synchronization option need to be assigned and are associated with the call data, the call data associated with the data nodes are also selected and synchronized after checking. For example, in the case of a buying room marriage as in the previous example, the dictionary data of the married, unmarried, divorced, or funeral parties may also be synchronized in order for the house trading system to be synchronized. And synchronizing part of the edited content with all the edited content, wherein the edited content corresponding to the target synchronous content is synchronized into the house transaction system by the user through the second predetermined operation, for example, clicking a confirmation button after checking the target synchronous content option. And after the house transaction system is synchronized, feeding back information to the editing system so that the editing system marks the edited contents to indicate that the synchronization is completed, deleting the synchronized content options from the change list, and presenting the synchronized content options which are not synchronized after the feedback information is acquired.
FIG. 7 is a block diagram of a data synchronization apparatus according to an embodiment. As shown in fig. 7, in an embodiment, the present application further provides a data configuration synchronization apparatus, including:
a dividing module 101, configured to divide an edited content configured by data into at least one edited content item according to a predetermined dividing rule of the edited content, where the data is configured to be configured according to a predetermined logic sequence through data nodes, and the edited content item is all or part of the edited content divided according to the predetermined dividing rule;
a generating module 102, configured to generate a corresponding synchronization option according to each edited content item, where the synchronization option is a selection operation item corresponding to the edited content item and is used to select the corresponding edited content item according to a first predetermined operation;
a selecting module 103, configured to select at least one target synchronization option according to the first predetermined operation, where the target synchronization option is the synchronization option for performing data synchronization in advance;
a synchronization module 104, configured to perform data synchronization on the edited content item corresponding to the target synchronization option according to a second predetermined operation.
In one embodiment, the apparatus further comprises:
a monitoring module 105, configured to monitor a database storing the edited content;
and the execution module 106 is used for executing subsequent steps through a hook function when the stored data of the database changes.
In one embodiment, the present application further provides an electronic device, the apparatus comprising: a processor and a memory;
the memory has stored therein an application executable by the processor for causing the processor to perform the steps of the data configuration synchronization method.
In an embodiment, the present application further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the synchronization method for data configuration.
In practical applications, the computer readable medium may be included in the apparatus/device/system described in the above embodiments, or may exist alone without being assembled into the apparatus/device/system. The computer readable storage medium carries one or more programs which, when executed, implement the described data sorting apparatus to perform a data sorting method.
According to embodiments disclosed herein, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example and without limitation: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing, without limiting the scope of the present disclosure. In the embodiments disclosed herein, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for synchronizing data configurations, the method comprising:
dividing the editing content configured by data into at least one editing content item according to a preset division rule of the editing content, wherein the data is configured to be configured according to a preset logic sequence through data nodes, and the editing content item is all or part of the editing content divided according to the preset division rule;
generating a corresponding synchronization option according to each edited content item, wherein the synchronization option is a selection operation item corresponding to the edited content item and is used for selecting the corresponding edited content item according to a first preset operation;
selecting at least one target synchronization option according to the first preset operation, wherein the target synchronization option is the synchronization option for executing data synchronization in advance;
and performing data synchronization on the editing content item corresponding to the target synchronization option according to a second preset operation.
2. The method for synchronizing data configuration according to claim 1, wherein the predetermined division rule is to divide the editing contents according to different predetermined editing operations.
3. A method for synchronizing data configuration according to claim 2, wherein the predetermined editing operation is adding data and/or updating data and/or deleting data.
4. The data configuration synchronization method according to claim 2, wherein the editing content includes data of the data configuration and call data of the data configuration, and an association relationship between the data configuration and the call data.
5. The method for synchronizing data configurations according to claim 4, wherein the predetermined editing operation is performed simultaneously on the data configurations and the corresponding associated call data.
6. The method according to any one of claims 1 to 5, wherein the editing content of the data configuration is divided into at least one item of editing content according to a predetermined division rule of the editing content, wherein the data configuration is performed by data nodes in a predetermined logic sequence, and the editing content item is before the step of dividing all or part of the editing content according to the predetermined division rule, the method further comprises:
monitoring a database for storing the editing content;
and when the stored data of the database are changed, executing the subsequent steps through a hook function.
7. A device for synchronizing data configuration, the device comprising:
the system comprises a dividing module, a data processing module and a data processing module, wherein the dividing module is used for dividing the editing content configured by data into at least one editing content item according to a preset dividing rule of the editing content, the data is configured to be configured according to a preset logic sequence through data nodes, and the editing content item is all or part of the editing content divided according to the preset dividing rule;
the generating module is used for generating corresponding synchronous options according to each edited content item, wherein the synchronous options are selection operation items corresponding to the edited content items and are used for selecting the corresponding edited content items according to a first preset operation;
a selecting module, configured to select at least one target synchronization option according to the first predetermined operation, where the target synchronization option is the synchronization option for performing data synchronization in advance;
and the synchronization module is used for synchronizing the edited content item corresponding to the target synchronization option according to a second preset operation.
8. The data configuration synchronization apparatus according to claim 7, further comprising:
the monitoring module is used for monitoring a database for storing the editing content;
and the execution module is used for executing subsequent steps through a hook function when the stored data of the database changes.
9. An electronic device, wherein the apparatus comprises: a processor and a memory;
the memory has stored therein an application executable by the processor for causing the processor to perform the steps of the method of synchronizing a data configuration according to any one of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the steps of the method for synchronizing a data arrangement according to any one of claims 1 to 6.
CN201911154215.8A 2019-11-22 2019-11-22 Data configuration synchronization method and device, electronic equipment and readable storage medium Pending CN110968363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911154215.8A CN110968363A (en) 2019-11-22 2019-11-22 Data configuration synchronization method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911154215.8A CN110968363A (en) 2019-11-22 2019-11-22 Data configuration synchronization method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN110968363A true CN110968363A (en) 2020-04-07

Family

ID=70031378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911154215.8A Pending CN110968363A (en) 2019-11-22 2019-11-22 Data configuration synchronization method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110968363A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638904A (en) * 2020-05-11 2020-09-08 贝壳技术有限公司 Data configuration restoration method and device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049932A (en) * 2014-06-24 2014-09-17 联想(北京)有限公司 Information processing method and electronic device
CN105227683A (en) * 2015-11-11 2016-01-06 中国建设银行股份有限公司 A kind of LDAP company-data synchronous method and system
CN108628885A (en) * 2017-03-20 2018-10-09 腾讯科技(深圳)有限公司 A kind of method of data synchronization, device and storage device
CN108718333A (en) * 2018-05-09 2018-10-30 北京顺丰同城科技有限公司 Synchronous method, device and computer readable storage medium
CN110019532A (en) * 2018-02-07 2019-07-16 中国平安人寿保险股份有限公司 A kind of rule editing method, terminal device and storage medium
CN110225077A (en) * 2019-04-25 2019-09-10 深圳壹账通智能科技有限公司 Synchronous method, device, computer equipment and the computer storage medium of change supply data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049932A (en) * 2014-06-24 2014-09-17 联想(北京)有限公司 Information processing method and electronic device
CN105227683A (en) * 2015-11-11 2016-01-06 中国建设银行股份有限公司 A kind of LDAP company-data synchronous method and system
CN108628885A (en) * 2017-03-20 2018-10-09 腾讯科技(深圳)有限公司 A kind of method of data synchronization, device and storage device
CN110019532A (en) * 2018-02-07 2019-07-16 中国平安人寿保险股份有限公司 A kind of rule editing method, terminal device and storage medium
CN108718333A (en) * 2018-05-09 2018-10-30 北京顺丰同城科技有限公司 Synchronous method, device and computer readable storage medium
CN110225077A (en) * 2019-04-25 2019-09-10 深圳壹账通智能科技有限公司 Synchronous method, device, computer equipment and the computer storage medium of change supply data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638904A (en) * 2020-05-11 2020-09-08 贝壳技术有限公司 Data configuration restoration method and device and readable storage medium
CN111638904B (en) * 2020-05-11 2023-12-22 贝壳技术有限公司 Data configuration restoration method and device and readable storage medium

Similar Documents

Publication Publication Date Title
US10922636B2 (en) Display control system and method for controlling a display of project management objects
US20180101371A1 (en) Deployment manager
US20080209390A1 (en) Pluggable model elements
US10204125B2 (en) Method, apparatus, and application platform for updating application object attribute
US8918709B2 (en) Object templates for data-driven applications
US10877846B2 (en) Performing a closure merge operation
US11249958B2 (en) Issue tracking systems and methods
JP2015504186A (en) System and method for mobile application development
CN103679390B (en) The background test method and device of configuration system
CN112988123B (en) DDD-oriented software design method and system
CN115526578A (en) Method and device for generating project flow, electronic equipment and storage medium
JP2008269277A (en) Distributed editing system of shared data, distributed editing method and program
CN114327601A (en) Business process control method, device, system and related equipment
CN110968363A (en) Data configuration synchronization method and device, electronic equipment and readable storage medium
CN114020840A (en) Data processing method, device, server, storage medium and product
Annett Working with Legacy Systems: A practical guide to looking after and maintaining the systems we inherit
CN116050786A (en) Business process construction method and device, electronic equipment and storage medium
CN110221952B (en) Service data processing method and device and service data processing system
CN113791977A (en) Code development processing method and device, electronic equipment and storage medium
CN111080250B (en) Flow backspacing compensation method and device, storage medium and electronic equipment
CN114756224A (en) Activity execution method and device
US9304765B1 (en) Method and system for tracking changes to application model definitions for application model migration
US9372669B2 (en) Multiple architecture viewpoints in single unified modeling language (UML) model
US20230048971A1 (en) System and method for utilizing checklists for lifecycle management in a case management system
CN117453189B (en) Method, system, equipment and medium for layered development of application

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