CN113032412A - Data synchronization method and device, electronic equipment and computer readable medium - Google Patents

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

Info

Publication number
CN113032412A
CN113032412A CN202110233504.8A CN202110233504A CN113032412A CN 113032412 A CN113032412 A CN 113032412A CN 202110233504 A CN202110233504 A CN 202110233504A CN 113032412 A CN113032412 A CN 113032412A
Authority
CN
China
Prior art keywords
target
data
data synchronization
execution node
execution
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.)
Granted
Application number
CN202110233504.8A
Other languages
Chinese (zh)
Other versions
CN113032412B (en
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun 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 Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202110233504.8A priority Critical patent/CN113032412B/en
Publication of CN113032412A publication Critical patent/CN113032412A/en
Application granted granted Critical
Publication of CN113032412B publication Critical patent/CN113032412B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system

Abstract

The embodiment of the disclosure discloses a data synchronization method, a data synchronization device, an electronic device and a computer readable medium. One embodiment of the method comprises: generating a task key value pair of the target data synchronization task in response to receiving the parameter information of the target data synchronization task; and responding to the representation and execution completion of execution state information included by a value of a front father task key value pair of the task key value pair, and selecting an execution node from the execution node cluster as a target execution node according to the health degree of each execution node in the execution node cluster, wherein the target execution node is used for responding to the connection state of the source-end database as a connected state, sending a data synchronization operation statement generated according to the address information and the synchronization type of the source-end database to the target database based on the address information of the target database, and the target database is used for executing the data synchronization operation statement. The implementation mode can reduce the frequency of load abnormity of the equipment executing the data synchronization task.

Description

Data synchronization method and device, electronic equipment and computer readable medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a data synchronization method, apparatus, electronic device, and computer-readable medium.
Background
With the popularization and development of computer technology, data generated by network application is increased in a blowout manner. The prior art often adopts a distributed database to store mass data. In order to avoid data loss or damage caused by a failure of the distributed database, it is often necessary to synchronize data in the database to be backed up to the backup database. At present, when synchronizing data in a database to be backed up to a backup database, the following methods are generally adopted: and acquiring the data to be backed up from the database to be backed up, and synchronizing the data to be backed up to the backup database.
However, when the data synchronization operation is performed in the above manner, there are often the following technical problems:
firstly, when a plurality of data synchronization tasks exist, the frequency of load abnormality of equipment executing the data synchronization tasks is increased, and therefore, the frequency of interruption of the data synchronization tasks is increased;
second, the synchronous data often cannot be verified in real time, so that when the data synchronization is abnormal, the abnormal synchronous data cannot be located quickly.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose data synchronization methods, apparatuses, electronic devices and computer readable media to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a data synchronization method, including: responding to received parameter information of a target data synchronization task, and generating a task key value pair of the target data synchronization task, wherein the parameter information comprises source end database address information of a source end database corresponding to the target data synchronization task, target database address information and a synchronization type of a target database corresponding to the target data synchronization task; and responding to the representation and execution completion of execution state information included by a value of a front parent task key value pair of the task key value pair, and selecting an execution node from the execution node cluster as a target execution node according to the health degree of each execution node in the execution node cluster, wherein the target execution node is used for responding to the connection state of the source database as a connected state, sending a data synchronization operation statement generated according to the source database address information and the synchronization type to the target database based on the target database address information, and the target database is used for executing the data synchronization operation statement.
Optionally, the method further comprises: acquiring a target data synchronization operation log from the target database, wherein the target data synchronization operation log comprises a synchronization data set; for each synchronization data in the above set of synchronization data, performing the following steps: determining whether the source database meets a preset abnormal condition corresponding to a data synchronization operation type corresponding to the synchronization data; and responding to the determination, and sending the synchronous data to the target terminal equipment.
Optionally, before the selecting an execution node from the execution node cluster as a target execution node, the method further includes: responding to the connection state of the source database as a connected state, and acquiring target data from the source database; sending a preset data synchronous operation statement to the target database; and generating a data delay detection result in response to receiving the execution result sent by the target database based on the time of receiving the execution result and the time of acquiring the target data, wherein the data delay detection result represents whether data synchronization is delayed or not.
Optionally, the selecting an execution node from the execution node cluster as a target execution node includes: and selecting an execution node from the execution node cluster as a target execution node in response to the data delay detection result representing that data synchronization is not delayed.
Optionally, the generating the data delay detection result includes: determining the time for acquiring the target data as target time; determining the interval duration between the time of receiving the execution result and the target time as a target duration; and responding to the condition that the target duration meets the preset condition, and generating a data delay detection result representing that data synchronization is not delayed.
Optionally, the method further comprises: and controlling the associated first alarm equipment to execute a first alarm operation in response to the data delay detection result representing the data synchronization delay.
Optionally, the method further comprises: acquiring the data volume and the data acquisition speed of each execution node in the execution node cluster from the corresponding source end database to obtain a data volume set and a speed set; and controlling the associated second alarm equipment to execute a second alarm operation in response to the data volume meeting the abnormal data volume condition in the data volume set or the speed meeting the abnormal speed condition in the speed set.
In a second aspect, some embodiments of the present disclosure provide a data synchronization apparatus, including: a generating unit, configured to generate a task key value pair of a target data synchronization task in response to receiving parameter information of the target data synchronization task, where the parameter information includes source-end database address information of a source-end database corresponding to the target data synchronization task, target database address information of a target database corresponding to the target data synchronization task, and a synchronization type; and a selecting unit, configured to respond to the representation of execution state information included in a value of a pre-parent task key value pair of the task key value pair that is executed, and select an execution node from the execution node cluster as a target execution node according to the health degree of each execution node in the execution node cluster, where the target execution node is configured to respond to that the connection state of the source-end database is a connected state, and send a data synchronization operation statement generated according to the source-end database address information and the synchronization type to the target database based on the target database address information, and the target database is configured to execute the data synchronization operation statement.
Optionally, the apparatus further comprises: an acquisition unit and an execution unit. The acquisition unit is configured to acquire a target data synchronization operation log from the target database, wherein the target data synchronization operation log comprises a synchronization data set. The execution unit is configured to, for each synchronization data of the set of synchronization data, perform the following steps: determining whether the source database meets a preset abnormal condition corresponding to a data synchronization operation type corresponding to the synchronization data; and responding to the determination, and sending the synchronous data to the target terminal equipment.
Optionally, before the selecting unit, the apparatus further comprises: the device comprises a target data acquisition unit, a sending unit and a data delay detection result generation unit. Wherein the target data obtaining unit is configured to obtain the target data from the source database in response to the connection status of the source database being a connected status. The sending unit is configured to send a preset data synchronization operation statement to the target database. The data delay detection result generation unit is configured to generate a data delay detection result in response to receiving the execution result sent by the target database, based on the time when the execution result is received and the time when the target data is acquired, wherein the data delay detection result represents whether data synchronization is delayed or not.
Optionally, the selection unit is further configured to: and selecting an execution node from the execution node cluster as a target execution node in response to the data delay detection result representing that data synchronization is not delayed.
Optionally, the data delay detection result generation unit is further configured to: determining the time for acquiring the target data as target time; determining the interval duration between the time of receiving the execution result and the target time as a target duration; and responding to the condition that the target duration meets the preset condition, and generating a data delay detection result representing that data synchronization is not delayed.
Optionally, the apparatus further comprises: and the first alarm device control unit is configured to respond to the data delay detection result to represent the data synchronization delay and control the associated first alarm device to execute the first alarm operation.
Optionally, the apparatus further comprises: a data volume and speed acquisition unit and a second alarm device control unit. The data volume and speed acquiring unit is configured to acquire the data volume and the data acquiring speed of each execution node in the execution node cluster from the corresponding source end database, so as to obtain a data volume set and a speed set. The second warning device control unit is configured to control the associated second warning device to perform a second warning operation in response to the presence of a data amount satisfying the abnormal data amount condition in the set of data amounts or the presence of a speed satisfying the abnormal speed condition in the set of speeds.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
The above embodiments of the present disclosure have the following advantages: by the data synchronization method of some embodiments of the present disclosure, the number of data synchronization task interrupts is reduced. Specifically, the reason why the number of data synchronization task interruptions increases is that: when a plurality of data synchronization tasks exist, the number of times of load abnormality of the device executing the data synchronization tasks is increased. Based on this, the data synchronization method of some embodiments of the present disclosure first generates a task key value pair of the target data synchronization task in response to receiving parameter information of the target data synchronization task. The parameter information includes source database address information of a source database corresponding to the target data synchronization task, target database address information and synchronization type of a target database corresponding to the target data synchronization task. Therefore, the execution state of the data synchronization task can be monitored. Thus, a plurality of data synchronization tasks can be uniformly scheduled through the execution state. And then, responding to the representation of the execution state information included by the value of the prepositive parent task key value pair of the task key value pair, and selecting an execution node from the execution node cluster as a target execution node according to the health degree of each execution node in the execution node cluster. The target execution node is configured to send, in response to that the connection status of the source database is a connected status, a data synchronization operation statement generated according to the source database address information and the synchronization type to the target database based on the target database address information. The target database is used for executing the data synchronization operation statement. Thus, the execution node for load balancing can be selected from the plurality of execution nodes, and the execution node for load balancing can be determined as the execution node for executing the target data synchronization task. And the data synchronization tasks can be uniformly scheduled, and the load of the execution nodes executing the target data synchronization task is balanced, so that the frequency of load abnormality of equipment executing the data synchronization task can be reduced when a plurality of data synchronization tasks exist.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
1-2 are schematic diagrams of one application scenario of a data synchronization method according to some embodiments of the present disclosure;
FIG. 3 is a flow diagram of some embodiments of a data synchronization method according to the present disclosure;
FIG. 4 is a flow diagram of further embodiments of a data synchronization method according to the present disclosure;
FIG. 5 is a schematic block diagram of some embodiments of a data synchronization apparatus according to the present disclosure;
FIG. 6 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1-2 are schematic diagrams of an application scenario of a data synchronization method according to some embodiments of the present disclosure.
In the application scenario of fig. 1, first, the computing device 101 may generate a task key-value pair 103 of the target data synchronization task in response to receiving the parameter information 102 of the target data synchronization task. The parameter information 102 may include source database address information 104 of a source database corresponding to the target data synchronization task, target database address information 105 of a target database corresponding to the target data synchronization task, and a synchronization type 106. For example, the source database address information 104 may be IP address information of the source database. The target database address information 105 may be IP address information of the target database. Then, the computing device 101 may select an execution node from the execution node cluster 107 as the target execution node 108 according to the health of each execution node in the execution node cluster 107 in response to the execution state information included in the value of the pre-parent task key value pair of the task key value pair 103 representing the completion of execution. The target execution node 108 may be configured to, in response to that the connection status of the source database is a connected status, send a data synchronization operation statement generated according to the source database address information 104 and the synchronization type 106 to the target database based on the target database address information 105. The target database may be used to execute the data synchronization operation statement.
Alternatively, as shown in fig. 2, first, the computing device 101 may obtain the data volume of the data obtained by each execution node in the execution node cluster 107 from the corresponding source database and obtain the speed of the data, and obtain a data volume set 109 and a speed set 110. Then, the computing device 101 may control the associated second warning device 111 to perform the second warning operation in response to the presence of the data amount satisfying the abnormal data amount condition in the above-described data amount set 109 or the presence of the speed satisfying the abnormal speed condition in the above-described speed set 110. For example, the second alarm device 111 may be an alarm having a function of playing audio.
The computing device 101 may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of multiple servers or terminal devices, or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices enumerated above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
It should be understood that the number of computing devices in fig. 1-2 is merely illustrative. There may be any number of computing devices, as implementation needs dictate.
With continued reference to fig. 3, a flow 300 of some embodiments of a data synchronization method according to the present disclosure is shown. The data synchronization method comprises the following steps:
step 301, in response to receiving the parameter information of the target data synchronization task, generating a task key value pair of the target data synchronization task.
In some embodiments, an executing agent of the data synchronization method (e.g., computing device 101 shown in fig. 1) may generate a task key-value pair for a target data synchronization task in response to receiving parameter information for the target data synchronization task. The target data synchronization task may be a data synchronization task corresponding to currently received parameter information. The task key-value pair may be a key-value pair for recording relevant information of a corresponding data synchronization task. The value of the task key value pair may include execution state information of the target data synchronization task. The key of the task key value pair may be an identifier of the corresponding data synchronization task. The execution status information may be status information of an execution progress of the corresponding data synchronization task. For example, the execution status information may be "completed", indicating that the corresponding data synchronization task has been executed and completed. For another example, the execution state information may also be "to be completed", which indicates that the corresponding data synchronization task is not executed and completed. For another example, the execution state information may be "in execution" to indicate that the corresponding data synchronization task is being executed. The parameter information may include source database address information of a source database corresponding to the target data synchronization task, target database address information of a target database corresponding to the target data synchronization task, and a synchronization type. The source database may be a database that needs to be backed up. The source database address information may be IP address information of the source database. The target database may be a database for storing data that needs to be backed up in the source database. The destination database address information may be IP address information of the destination database. The synchronization type may be a type of a synchronization manner of the target data synchronization task. For example, the above-described synchronization type may be a "full-scale synchronization type". As another example, the above-described synchronization type may also be an "incremental synchronization type". The "full sync type" may be a sync type that synchronizes all data in the database. The "incremental sync type" may be a sync type in which generated data is synchronized after the time point is updated. The update time point may be a time point at the previous data synchronization. Therefore, the execution state of the data synchronization task can be monitored, and the multiple data synchronization tasks can be uniformly scheduled through the execution state.
Step 302, in response to the representation of the execution state information included in the value of the pre-parent task key value pair of the task key value pair, completing execution, and selecting an execution node from the execution node cluster as a target execution node according to the health degree of each execution node in the execution node cluster.
In some embodiments, the execution subject may select, in response to the representation of the execution completion by the execution state information included in the value of the pre-parent task key value pair of the task key value pair, an execution node from the execution node cluster as a target execution node according to the health of each execution node in the execution node cluster. The pre-father task key value pair may be a task key value pair of a father data synchronization task of the target data synchronization task. And executing the data synchronization task corresponding to the prepositive parent task key value pair before the target data synchronization task. The execution nodes in the execution node cluster may be nodes for executing data synchronization tasks. The execution nodes in the execution node cluster may be databases. For example, the execution node may be a MYSQL database. The health degree can be used for quantifying the operation state of the equipment corresponding to the execution node. The larger the above-mentioned health degree is, the smaller the load characterizing the device corresponding to the execution node is. In practice, the health degree may be generated by the disk occupancy rate, the memory occupancy rate, the central processing unit occupancy rate, and the number of data synchronization tasks of the device corresponding to the corresponding execution node. For example, the executing entity may generate the health degree of each executing node in the executing node cluster by the following formula:
Figure BDA0002959649390000091
wherein, the health score represents the health of the execution node. A represents the disk occupancy of the device corresponding to the execution node. And B represents the memory occupancy rate of the device corresponding to the execution node. C represents the central processor occupancy of the device corresponding to the execution node. And D represents the number of data synchronization tasks executed on the equipment corresponding to the execution node.
The target execution node may be configured to, in response to that the connection status of the source database is a connected status, send, based on the target database address information, a data synchronization operation statement generated according to the source database address information and the synchronization type to the target database. The connection status may characterize a status type of the connection of the target execution node to the source database. For example, the connection status may be "connected status", and a user name and a user password characterizing that the network connection is normal or the source database is correct. For another example, the connection status may also be "unconnected status", which indicates that the network is unconnected, or that the user name and/or user password of the source database are incorrect. The data synchronization operation statement may be a programming statement for accessing data and querying and updating a database. For example, the data synchronization operation statement may be an SQL (Structured Query Language) statement.
In practice, the target execution node may generate the data synchronization operation statement by:
first, according to the synchronization type and the source database address information, obtaining data to be synchronized from the source database. In practice, the target execution node may, in response to that the synchronization type is a "full synchronization type," obtain full data in a table to be updated in the source database as data to be synchronized. The target execution node may further acquire, in response to that the synchronization type is an "incremental synchronization type," incremental data in the source database as data to be synchronized. The above-mentioned total data may be all data in the table to be updated. The incremental data may be data after the last export in the table to be updated.
And secondly, generating a data synchronization operation statement according to the data to be synchronized. In practice, the target execution node may generate a data synchronization operation statement based on the data to be synchronized and the target data synchronization operation command. The target data synchronization operation command may be a command (e.g., SQL command) in a structured query language. When the data to be synchronized is full data, the target data synchronization operation command is an "insert" command. And when the data to be synchronized is incremental data and the event type of data synchronization is updating, the target data synchronization operation command is an update command. The target database may be configured to execute the data synchronization operation statement to perform a data synchronization operation on the target database.
In practice, the execution subject may select an execution node satisfying a predetermined condition from the execution node cluster as a target execution node. The predetermined condition may be that "the health degree corresponding to the execution node is a maximum value of each health degree corresponding to each execution node in the execution node cluster".
Through step 302, a load-balanced execution node may be selected among the plurality of execution nodes, so that the load-balanced execution node may be determined as an execution node that executes the target data synchronization task.
Optionally, before step 302, first, the executing entity may obtain target data from the source database in response to the connection status of the source database being a connected status. The connection status may be a status type of connection between the execution subject and the source database. The target data may be at least one piece of data to be synchronized in the source database. And then, sending the preset data synchronization operation statement to the target database. The preset data synchronization operation statement may be a preset data synchronization operation statement. For example, the preset data sync operation statement may be "select 1". Finally, in response to receiving the execution result sent by the target database, a data delay detection result may be generated by various methods based on the time when the execution result is received and the time when the target data is acquired. The data delay detection result can represent whether data synchronization is delayed or not. The execution result may be a feedback result generated after the target database executes a preset data synchronization operation statement. The execution result may be an execution success or an execution failure. Therefore, the delay condition of the data synchronization can be detected before the data synchronization, and the frequency of abnormal conditions with long delay in the execution of the data synchronization task is reduced.
Optionally, the executing entity may generate the data delay detection result by:
step one, determining the time for acquiring the target data as target time. In practice, the execution subject may obtain the time for acquiring the target data by the following codes: an import time; time ().
And secondly, determining the interval duration between the time of receiving the execution result and the target time as a target duration. In practice, the execution subject may obtain the time when the execution result is received from a database for storing the time when the execution result is received. The execution subject may subtract the time of receiving the execution result from the target time to generate the target duration.
And thirdly, responding to the target duration meeting the preset condition, and generating a data delay detection result representing the data synchronization without delay. The preset condition may be that the target time length is less than a preset time length. Here, the setting of the preset time period is not limited.
In some optional implementations of some embodiments, the execution subject may select an execution node from the execution node cluster as a target execution node in response to the data delay detection result indicating that data synchronization is not delayed. Therefore, the target execution node can be selected to execute the data synchronization task under the condition that the data delay detection is passed, so that the frequency of abnormal conditions with long delay in the execution of the data synchronization task is reduced.
Optionally, the executing body may control the associated first alarm device to execute the first alarm operation in response to the data delay detection result representing the data synchronization delay. The first alarm device may be a display device. The first alarm operation may be an operation of displaying a predetermined icon. The predetermined icon may be a "warning icon". In practice, the execution body may control the associated display device to display a preset icon in response to the data delay detection result representing the data synchronization delay. Therefore, alarm prompt can be performed under the condition of data synchronization delay.
Optionally, first, the execution main body may obtain a data volume and a data obtaining speed of each execution node in the execution node cluster, where the data volume and the data obtaining speed are obtained from a corresponding source-end database, so as to obtain a data volume set and a speed set. Then, in response to the presence of a data amount satisfying the abnormal data amount condition in the set of data amounts or the presence of a speed satisfying the abnormal speed condition in the set of speeds, the associated second alarm device may be controlled to perform the second alarm operation. The abnormal data amount condition may be that the data amount is greater than a preset data amount. The abnormal speed condition may be "speed less than a preset speed". Here, the setting of the preset data amount and the preset speed is not limited. The second alarm device may be a sound box. The second alarm operation may be an operation of playing a preset audio. It is understood that the first alarm device and the second alarm device may be the same device or different devices. The first warning operation and the second warning operation may be the same operation or different operations. In practice, the execution subject may control the associated speaker device to play the preset audio. Therefore, the alarm prompt can be performed under the condition of abnormal data quantity or abnormal speed.
The above embodiments of the present disclosure have the following advantages: by the data synchronization method of some embodiments of the present disclosure, the number of data synchronization task interrupts is reduced. Specifically, the reason why the number of data synchronization task interruptions increases is that: when a plurality of data synchronization tasks exist, the number of times of load abnormality of the device executing the data synchronization tasks is increased. Based on this, the data synchronization method of some embodiments of the present disclosure first generates a task key value pair of the target data synchronization task in response to receiving parameter information of the target data synchronization task. The parameter information includes source database address information of a source database corresponding to the target data synchronization task, target database address information and synchronization type of a target database corresponding to the target data synchronization task. Therefore, the execution state of the data synchronization task can be monitored. Thus, a plurality of data synchronization tasks can be uniformly scheduled through the execution state. And then, responding to the representation of the execution state information included by the value of the prepositive parent task key value pair of the task key value pair, and selecting an execution node from the execution node cluster as a target execution node according to the health degree of each execution node in the execution node cluster. The target execution node is configured to send, in response to that the connection status of the source database is a connected status, a data synchronization operation statement generated according to the source database address information and the synchronization type to the target database based on the target database address information. The target database is used for executing the data synchronization operation statement. Thus, the execution node for load balancing can be selected from the plurality of execution nodes, and the execution node for load balancing can be determined as the execution node for executing the target data synchronization task. And the data synchronization tasks can be uniformly scheduled, and the load of the execution nodes executing the target data synchronization task is balanced, so that the frequency of load abnormality of equipment executing the data synchronization task can be reduced when a plurality of data synchronization tasks exist.
With further reference to fig. 4, a flow 400 of further embodiments of a data synchronization method is shown. The process 400 of the data synchronization method includes the following steps:
step 401, in response to receiving the parameter information of the target data synchronization task, generating a task key value pair of the target data synchronization task.
And 402, responding to the representation and the execution completion of the execution state information included in the value of the pre-father task key value pair of the task key value pair, and selecting an execution node from the execution node cluster as a target execution node according to the health degree of each execution node in the execution node cluster.
In some embodiments, the specific implementation and technical effects of steps 401-402 can refer to steps 301-302 in those embodiments corresponding to fig. 3, which are not described herein again.
And step 403, acquiring a target data synchronization operation log from the target database.
In some embodiments, an executing entity (e.g., the computing device 101 shown in fig. 1) of the data synchronization method may obtain the target data synchronization operation log from the target database through a wired connection or a wireless connection. The target data synchronization operation log may be a binary log file generated by the target database in real time and operating on the database data. For example, the target data synchronization operation log may be a Mysql Binlog log. The target data synchronization oplog may include a set of synchronization data. The synchronization data in the synchronization data set may be data that has been synchronized in the target data.
Step 404, for each synchronization data in the set of synchronization data, performing the following steps: determining whether the source database meets a preset abnormal condition corresponding to a data synchronization operation type corresponding to the synchronization data; in response to determining yes, sending the synchronization data to the target terminal device.
In some embodiments, for each synchronization data in the set of synchronization data, the execution subject may perform the following steps: determining whether the source database meets a preset abnormal condition corresponding to a data synchronization operation type corresponding to the synchronization data; and responding to the determination, and sending the synchronous data to the target terminal equipment. The data synchronization operation type may be a type of a data synchronization operation statement executed on the synchronization data. For example, the data synchronization operation type may be an "insert class". As another example, the data synchronization operation type described above may be a "delete class". When the data synchronization operation type is "insert type", the predetermined exception condition may be "the synchronization data exists in the source database". When the data synchronization operation type may be a "delete type", the predetermined exception condition may be "the synchronization data does not exist in the source database". The target terminal device may be a data synchronization monitoring terminal device communicatively connected to the execution main body. The target terminal device may also be a terminal device of a user who sends the parameter information. In practice, the execution body may transmit the synchronization data to the target terminal device by means of a wired connection or a wireless connection in response to the determination. Therefore, the synchronous data can be checked in real time, and the abnormal synchronous data can be positioned quickly.
The related content of step 403 plus 404 serves as an invention point of the embodiment of the present disclosure, and solves the technical problem mentioned in the background art that "the synchronous data often cannot be verified in real time, so that the abnormal synchronous data cannot be located quickly when the data synchronization is abnormal". When data synchronization is abnormal, the factors of not being able to locate abnormal synchronization data quickly are as follows: often, the synchronous data cannot be checked in real time. If the factors are solved, the effect of quickly positioning abnormal synchronous data when the data synchronization is abnormal can be achieved. To achieve this effect, the present disclosure obtains a target data synchronization operation log from the above-described target database. Then, for each synchronization data in the above synchronization data set, the following steps are performed: determining whether the source database meets a preset abnormal condition corresponding to a data synchronization operation type corresponding to the synchronization data; and responding to the determination, and sending the synchronous data to the target terminal equipment. Since the target data synchronization operation log records real-time synchronization data, the synchronized data can be verified in real time. Therefore, when the data synchronization is abnormal, abnormal synchronous data can be positioned quickly.
As can be seen from fig. 4, compared with the description of some embodiments corresponding to fig. 3, the flow 400 of the data synchronization method in some embodiments corresponding to fig. 4 embodies the steps extended by checking the synchronized data. Thus, the embodiments describe schemes that allow real-time verification of synchronized data. Therefore, when the data synchronization is abnormal, abnormal synchronous data can be positioned quickly.
With further reference to fig. 5, as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a data synchronization apparatus, which correspond to those shown in fig. 3, and which may be applied in various electronic devices in particular.
As shown in fig. 5, the data synchronization apparatus 500 of some embodiments includes: a generating unit 501 and a selecting unit 502. The generating unit 501 is configured to generate a task key value pair of a target data synchronization task in response to receiving parameter information of the target data synchronization task, where the parameter information includes source database address information of a source database corresponding to the target data synchronization task, target database address information of a target database corresponding to the target data synchronization task, and a synchronization type; the selecting unit 502 is configured to, in response to that the execution state information included in the value of the predecessor parent task key-value pair of the task key-value pair represents that execution is completed, select an execution node from the execution node cluster as a target execution node according to the health of each execution node in the execution node cluster, where the target execution node is configured to, in response to that the connection state of the source-side database is a connected state, send, to the target database, a data synchronization operation statement generated according to the source-side database address information and the synchronization type based on the target database address information, and the target database is configured to execute the data synchronization operation statement.
In an optional implementation manner of some embodiments, the data synchronization apparatus 500 may further include: an acquisition unit and an execution unit (not shown in the figure). The acquisition unit is configured to acquire a target data synchronization operation log from the target database, wherein the target data synchronization operation log comprises a synchronization data set. The execution unit is configured to, for each synchronization data of the set of synchronization data, perform the following steps: determining whether the source database meets a preset abnormal condition corresponding to a data synchronization operation type corresponding to the synchronization data; and responding to the determination, and sending the synchronous data to the target terminal equipment.
In an optional implementation manner of some embodiments, before the selecting unit 502, the data synchronization apparatus 500 may further include: a target data acquisition unit, a transmission unit, and a data delay detection result generation unit (not shown in the figure). Wherein the target data obtaining unit is configured to obtain the target data from the source database in response to the connection status of the source database being a connected status. The sending unit is configured to send a preset data synchronization operation statement to the target database. The data delay detection result generation unit is configured to generate a data delay detection result in response to receiving the execution result sent by the target database, based on the time when the execution result is received and the time when the target data is acquired, wherein the data delay detection result represents whether data synchronization is delayed or not.
In an optional implementation of some embodiments, the selecting unit 502 may be further configured to: and selecting an execution node from the execution node cluster as a target execution node in response to the data delay detection result representing that data synchronization is not delayed.
In an optional implementation of some embodiments, the data delay detection result generation unit may be further configured to: determining the time for acquiring the target data as target time; determining the interval duration between the time of receiving the execution result and the target time as a target duration; and responding to the condition that the target duration meets the preset condition, and generating a data delay detection result representing that data synchronization is not delayed.
In an optional implementation manner of some embodiments, the data synchronization apparatus 500 may further include: a first alarm device control unit (not shown in the figures) configured to control the associated first alarm device to perform a first alarm operation in response to the data delay detection result characterizing the data synchronization delay.
In an optional implementation manner of some embodiments, the data synchronization apparatus 500 may further include: a data volume and speed acquisition unit and a second alarm device control unit (not shown in the figure). The data volume and speed acquiring unit is configured to acquire the data volume and the data acquiring speed of each execution node in the execution node cluster from the corresponding source end database, so as to obtain a data volume set and a speed set. The second warning device control unit is configured to control the associated second warning device to perform a second warning operation in response to the presence of a data amount satisfying the abnormal data amount condition in the set of data amounts or the presence of a speed satisfying the abnormal speed condition in the set of speeds.
It will be understood that the elements described in the apparatus 500 correspond to various steps in the method described with reference to fig. 3. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 500 and the units included therein, and are not described herein again.
Referring now to FIG. 6, a block diagram of an electronic device (e.g., computing device 101 of FIG. 1)600 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, 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), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, 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. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: responding to received parameter information of a target data synchronization task, and generating a task key value pair of the target data synchronization task, wherein the parameter information comprises source end database address information of a source end database corresponding to the target data synchronization task, target database address information and a synchronization type of a target database corresponding to the target data synchronization task; and responding to the representation and execution completion of execution state information included by a value of a front parent task key value pair of the task key value pair, and selecting an execution node from the execution node cluster as a target execution node according to the health degree of each execution node in the execution node cluster, wherein the target execution node is used for responding to the connection state of the source database as a connected state, sending a data synchronization operation statement generated according to the source database address information and the synchronization type to the target database based on the target database address information, and the target database is used for executing the data synchronization operation statement.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. 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 and/or flowchart illustration, and combinations of blocks in the block diagrams and/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.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a generation unit and a selection unit. The names of these units do not in some cases constitute a limitation on the units themselves, and for example, the generation unit may also be described as "a unit that generates a task key value pair of a target data synchronization task in response to receiving parameter information of the target data synchronization task".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (10)

1. A method of data synchronization, comprising:
responding to received parameter information of a target data synchronization task, and generating a task key value pair of the target data synchronization task, wherein the parameter information comprises source end database address information of a source end database corresponding to the target data synchronization task, target database address information and a synchronization type of a target database corresponding to the target data synchronization task;
responding to the representation and execution completion of execution state information included by a value of a front parent task key-value pair of the task key-value pair, and according to the health degree of each execution node in an execution node cluster, selecting an execution node from the execution node cluster as a target execution node, wherein the target execution node is used for responding to the connection state of the source-end database as a connected state, sending a data synchronization operation statement generated according to the source-end database address information and the synchronization type to the target database based on the target database address information, and the target database is used for executing the data synchronization operation statement.
2. The method of claim 1, wherein the method further comprises:
acquiring a target data synchronization operation log from the target database, wherein the target data synchronization operation log comprises a synchronization data set;
for each synchronization data in the set of synchronization data, performing the steps of:
determining whether the source database meets a preset abnormal condition corresponding to a data synchronization operation type corresponding to the synchronization data;
in response to determining yes, transmitting the synchronization data to a target terminal device.
3. The method of claim 1, wherein prior to said selecting an execution node from the cluster of execution nodes as a target execution node, the method further comprises:
responding to the connection state of the source database as a connected state, and acquiring target data from the source database;
sending a preset data synchronous operation statement to the target database;
and in response to receiving an execution result sent by the target database, generating a data delay detection result based on the time of receiving the execution result and the time of acquiring the target data, wherein the data delay detection result represents whether data synchronization is delayed or not.
4. The method of claim 3, wherein the selecting an execution node from the cluster of execution nodes as a target execution node comprises:
and in response to the data delay detection result representing that data synchronization is not delayed, selecting an execution node from the execution node cluster as a target execution node.
5. The method of claim 3, wherein the generating data delay detection results comprises:
determining the time for acquiring the target data as target time;
determining the interval duration between the time of receiving the execution result and the target time as a target duration;
and generating a data delay detection result representing that data synchronization is not delayed in response to the target duration meeting a preset condition.
6. The method of claim 3, wherein the method further comprises:
and controlling the associated first alarm equipment to execute a first alarm operation in response to the data delay detection result representing the data synchronization delay.
7. The method of claim 1, wherein the method further comprises:
acquiring the data volume and the data acquisition speed of each execution node in the execution node cluster from the corresponding source end database to obtain a data volume set and a speed set;
and in response to the data volume meeting the abnormal data volume condition in the data volume set or the speed meeting the abnormal speed condition in the speed set, controlling the associated second alarm equipment to execute a second alarm operation.
8. A data synchronization apparatus, comprising:
a generating unit configured to generate a task key value pair of a target data synchronization task in response to receiving parameter information of the target data synchronization task, wherein the parameter information includes source-end database address information of a source-end database corresponding to the target data synchronization task, target database address information of a target database corresponding to the target data synchronization task, and a synchronization type;
and the selecting unit is configured to respond to the representation and the execution completion of the execution state information included by the value of the pre-parent task key value pair of the task key value pair, select an execution node from the execution node cluster as a target execution node according to the health degree of each execution node in the execution node cluster, wherein the target execution node is used for responding to the connection state of the source-end database being a connected state, sending a data synchronization operation statement generated according to the source-end database address information and the synchronization type to the target database based on the target database address information, and the target database is used for executing the data synchronization operation statement.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-7.
CN202110233504.8A 2021-03-03 2021-03-03 Data synchronization method, device, electronic equipment and computer readable medium Active CN113032412B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110233504.8A CN113032412B (en) 2021-03-03 2021-03-03 Data synchronization method, device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110233504.8A CN113032412B (en) 2021-03-03 2021-03-03 Data synchronization method, device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN113032412A true CN113032412A (en) 2021-06-25
CN113032412B CN113032412B (en) 2023-12-05

Family

ID=76465753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110233504.8A Active CN113032412B (en) 2021-03-03 2021-03-03 Data synchronization method, device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN113032412B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115080311A (en) * 2022-07-01 2022-09-20 深圳美克拉网络技术有限公司 Informatization remote control method and device for big data
CN115314512A (en) * 2022-10-09 2022-11-08 中孚信息股份有限公司 Massive terminal data synchronization method and system
WO2023109238A1 (en) * 2021-12-17 2023-06-22 深圳前海微众银行股份有限公司 Data synchronization method and system, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170091298A1 (en) * 2015-09-25 2017-03-30 International Business Machines Corporation Replicating structured query language (sql) in a heterogeneous replication environment
CN108628909A (en) * 2017-03-24 2018-10-09 北京京东尚科信息技术有限公司 Information-pushing method and device
US20200050782A1 (en) * 2018-08-08 2020-02-13 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for operating database

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170091298A1 (en) * 2015-09-25 2017-03-30 International Business Machines Corporation Replicating structured query language (sql) in a heterogeneous replication environment
CN108628909A (en) * 2017-03-24 2018-10-09 北京京东尚科信息技术有限公司 Information-pushing method and device
US20200050782A1 (en) * 2018-08-08 2020-02-13 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for operating database

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
崔维;丁玲;孙丽波;: "基于Markov链模型的集群式数据库数据均衡算法", 湘潭大学自然科学学报, no. 03 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023109238A1 (en) * 2021-12-17 2023-06-22 深圳前海微众银行股份有限公司 Data synchronization method and system, and storage medium
CN115080311A (en) * 2022-07-01 2022-09-20 深圳美克拉网络技术有限公司 Informatization remote control method and device for big data
CN115080311B (en) * 2022-07-01 2023-01-24 深圳美克拉网络技术有限公司 Informatization remote control method and device for big data
CN115314512A (en) * 2022-10-09 2022-11-08 中孚信息股份有限公司 Massive terminal data synchronization method and system
CN115314512B (en) * 2022-10-09 2023-02-17 中孚信息股份有限公司 Massive terminal data synchronization method and system

Also Published As

Publication number Publication date
CN113032412B (en) 2023-12-05

Similar Documents

Publication Publication Date Title
CN113032412B (en) Data synchronization method, device, electronic equipment and computer readable medium
US11188560B2 (en) Synchronizing object in local object storage node
CN112416632B (en) Event communication method and device, electronic equipment and computer readable medium
JP2022542258A (en) Method and apparatus for executing smart contracts
CN111625592A (en) Load balancing method and device for distributed database
CN111338834B (en) Data storage method and device
CN114928574B (en) Information transmission method, apparatus, electronic device, and computer-readable medium
CN107315672B (en) Method and device for monitoring server
CN112054934B (en) Protocol detection method and device and electronic equipment
WO2020044090A1 (en) Method and apparatus for determining change event publishing success
WO2022179470A1 (en) Timer processing method and apparatus, electronic device, and computer readable storage medium
CN110730109A (en) Method and apparatus for generating information
CN111290873B (en) Fault processing method and device
CN110633182B (en) System, method and device for monitoring server stability
CN110750424B (en) Resource inspection method and device
CN114418625A (en) Information display method and device, electronic equipment and computer readable medium
CN114428815A (en) Data storage method and device, electronic equipment and computer readable medium
CN114785770A (en) Mirror layer file sending method and device, electronic equipment and computer readable medium
CN109960659B (en) Method and device for detecting application program
CN111950232B (en) Method and device for automatically switching number segments
CN113760927A (en) Data processing method and device, electronic equipment and computer readable medium
US10516767B2 (en) Unifying realtime and static data for presenting over a web service
CN111930704B (en) Service alarm equipment control method, device, equipment and computer readable medium
CN110262756B (en) Method and device for caching data
CN112235167B (en) Flow alarm method, device, electronic equipment and computer readable 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
GR01 Patent grant
GR01 Patent grant