CN110413452A - A communication data synchronization method and system - Google Patents
A communication data synchronization method and system Download PDFInfo
- Publication number
- CN110413452A CN110413452A CN201910695518.4A CN201910695518A CN110413452A CN 110413452 A CN110413452 A CN 110413452A CN 201910695518 A CN201910695518 A CN 201910695518A CN 110413452 A CN110413452 A CN 110413452A
- Authority
- CN
- China
- Prior art keywords
- data
- newly
- data system
- increased
- preliminary
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 61
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000001360 synchronised effect Effects 0.000 claims abstract description 48
- 238000001514 detection method Methods 0.000 claims description 35
- 238000012795 verification Methods 0.000 claims description 20
- 230000002265 prevention Effects 0.000 abstract description 3
- 230000009286 beneficial effect Effects 0.000 description 5
- 238000013500 data storage Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003449 preventive effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000001568 sexual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1464—Management of the backup or restore process for networked environments
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
本发明提供一种通信数据同步方法和系统。该通信数据同步方法包括:检测备用数据系统中当前新增数据的完整度,并将完整的新增数据同步至备用数据系统中;检测主数据系统中缺失的数据;缺失的数据为主数据系统中需要同步的数据;判断主数据系统中需要同步的数据是否存在于备用数据系统中;如果是,将备用数据系统中的该部分数据同步至主数据系统中。该通信数据同步方法使通信数据在主数据系统数据出现问题时能立即通过始终备份的备用数据系统与主数据系统进行数据同步,从而保证主数据系统能够正常运行,进而解决了现有的通信系统用数据保护性和预防性差的问题。
The invention provides a communication data synchronization method and system. The communication data synchronization method includes: detecting the completeness of the current new data in the backup data system, and synchronizing the complete new data to the backup data system; detecting missing data in the main data system; missing data in the main data system The data that needs to be synchronized in the primary data system; determine whether the data that needs to be synchronized in the primary data system exists in the standby data system; if so, synchronize the part of the data in the standby data system to the primary data system. The communication data synchronization method enables the communication data to be immediately synchronized with the main data system through the always backed up backup data system when there is a problem with the main data system data, thereby ensuring the normal operation of the main data system, thereby solving the problem of the existing communication system Problems with poor data protection and prevention.
Description
技术领域technical field
本发明属于通信技术领域,具体涉及一种通信数据同步方法和系统。The invention belongs to the technical field of communication, and in particular relates to a communication data synchronization method and system.
背景技术Background technique
数据备份是容灾的基础,是指为防止系统出现操作失误或系统故障导致数据丢失,而将全部或部分数据集合从应用主机的硬盘或阵列复制到其它的存储介质的过程。传统的数据备份主要是采用内置或外置的磁带机进行冷备份,但是这种方式只能防止操作失误等人为故障,而且其恢复时间也很长。随着技术的不断发展,数据的海量增加,不少的企业开始采用网络备份,网络备份一般通过专业的数据存储管理软件结合相应的硬件和存储设备来实现。Data backup is the basis of disaster recovery, which refers to the process of copying all or part of the data set from the hard disk or array of the application host to other storage media in order to prevent data loss caused by system operation errors or system failures. Traditional data backup mainly uses built-in or external tape drives for cold backup, but this method can only prevent human failures such as operating errors, and the recovery time is also very long. With the continuous development of technology and the massive increase of data, many enterprises have begun to adopt network backup. Network backup is generally realized through professional data storage management software combined with corresponding hardware and storage devices.
现有的通信系统用数据保护性和预防性极其差,而通信系统用数据大都极其重要,一旦发生某些意外情况导致系统数据崩溃或者出现错误,将会使人们的通信变的极为麻烦,而且修复起来也较为复杂,不便于人们使用。The protection and preventability of the data used in the existing communication system are extremely poor, and most of the data used in the communication system is extremely important. Once some unexpected situation occurs and the system data crashes or errors occur, it will make people's communication extremely troublesome, and It is also relatively complicated to repair and is not convenient for people to use.
发明内容Contents of the invention
本发明针对现有技术中的问题,提供一种通信数据同步方法和系统。该通信数据同步方法使通信数据在主数据系统数据出现问题时能立即通过始终备份的备用数据系统与主数据系统进行数据同步,从而保证主数据系统能够正常运行,进而解决了现有的通信系统用数据保护性和预防性差的问题。Aiming at the problems in the prior art, the present invention provides a communication data synchronization method and system. The communication data synchronization method enables the communication data to be immediately synchronized with the main data system through the always backed up backup data system when there is a problem with the main data system data, thereby ensuring the normal operation of the main data system, thereby solving the problem of the existing communication system Problems with poor data protection and prevention.
本发明提供一种通信数据同步方法,包括:The present invention provides a communication data synchronization method, comprising:
检测备用数据系统中当前新增数据的完整度,并将完整的新增数据同步至所述备用数据系统中;Detecting the integrity of the current newly added data in the backup data system, and synchronizing the complete new data to the backup data system;
检测主数据系统中缺失的数据;所述缺失的数据为所述主数据系统中需要同步的数据;Detect missing data in the master data system; the missing data is data that needs to be synchronized in the master data system;
判断所述主数据系统中需要同步的数据是否存在于所述备用数据系统中;judging whether the data to be synchronized in the primary data system exists in the standby data system;
如果是,将所述备用数据系统中的该部分数据同步至所述主数据系统中。If yes, synchronizing the part of data in the standby data system to the primary data system.
优选地,所述检测备用数据系统中当前新增数据的完整度,并将完整的新增数据同步至所述备用数据系统中包括:Preferably, the detecting the completeness of the current new data in the backup data system, and synchronizing the complete new data to the backup data system includes:
识别所述备用数据系统中当前新增的数据;identifying currently added data in the backup data system;
判断当前新增的数据是否完整;Determine whether the currently added data is complete;
如果是,则将当前新增数据存储至所述备用数据系统中;If yes, storing the current newly added data into the backup data system;
如果否,则所述备用数据系统不存储当前新增数据。If not, the backup data system does not store the current newly added data.
优选地,在将所述备用数据系统中的该部分数据同步至所述主数据系统中之后还包括:Preferably, after synchronizing the part of data in the standby data system to the primary data system, the method further includes:
判断所述主数据系统中同步的数据是否完整;Judging whether the synchronized data in the master data system is complete;
如果是,则将该同步数据存储至所述主数据系统中;If yes, storing the synchronization data in the master data system;
如果否,则所述主数据系统不存储该同步数据。If not, the master data system does not store the synchronization data.
优选地,在检测备用数据系统中当前新增数据的完整度,并将完整的新增数据同步至所述备用数据系统中之前还包括:Preferably, before detecting the completeness of the current newly added data in the backup data system, and synchronizing the complete new data to the backup data system, the method further includes:
检测当前新增数据提供者的安全性。Check the security of the currently added data provider.
优选地,所述检测当前新增数据提供者的安全性包括:Preferably, the detecting the security of the currently newly added data provider includes:
验证当前新增数据提供者的登录账户和登录密码是否正确;Verify that the login account and password of the currently added data provider are correct;
验证当前新增数据提供者的登录设备和登录地址是否正确;Verify that the login device and login address of the newly added data provider are correct;
如果上述验证结果均为是,则当前新增数据提供者安全;如果至少一个验证结果为否,则重新验证。If the above verification results are all yes, then the newly added data provider is safe; if at least one of the verification results is no, then re-verify.
本发明还提供一种通信数据同步系统,包括:The present invention also provides a communication data synchronization system, including:
第一检测模块,用于检测备用数据系统中当前新增数据的完整度,并将完整的新增数据同步至所述备用数据系统中;The first detection module is used to detect the integrity of the current newly added data in the backup data system, and synchronize the complete new data to the backup data system;
第二检测模块,用于检测主数据系统中缺失的数据;所述缺失的数据为所述主数据系统中需要同步的数据;The second detection module is used to detect missing data in the master data system; the missing data is data that needs to be synchronized in the master data system;
第一判断模块,用于判断所述主数据系统中需要同步的数据是否存在于所述备用数据系统中;A first judging module, configured to judge whether data to be synchronized in the primary data system exists in the backup data system;
同步模块,用于在所述第一判断模块的判断结果为是时,将所述备用数据系统中的该部分数据同步至所述主数据系统中。A synchronization module, configured to synchronize the part of data in the backup data system to the primary data system when the judgment result of the first judgment module is yes.
优选地,所述第一检测模块包括:Preferably, the first detection module includes:
识别单元,用于识别所述备用数据系统中当前新增的数据;an identifying unit, configured to identify currently added data in the standby data system;
第一判断单元,用于判断当前新增的数据是否完整;The first judging unit is used to judge whether the currently added data is complete;
存储单元,用于在所述第一判断单元的判断结果为是时,将当前新增数据存储至所述备用数据系统中。The storage unit is configured to store the current newly added data in the standby data system when the judgment result of the first judgment unit is yes.
优选地,还包括:第二判断模块,用于判断所述主数据系统中同步的数据是否完整;Preferably, it also includes: a second judging module, configured to judge whether the synchronized data in the master data system is complete;
存储模块,用于在所述第二判断模块的判断结果为是时,将该同步数据存储至所述主数据系统中。A storage module, configured to store the synchronization data in the master data system when the judgment result of the second judging module is yes.
优选地,还包括:第三检测模块,用于检测当前新增数据提供者的安全性。Preferably, it also includes: a third detection module, configured to detect the security of the currently newly added data provider.
优选地,所述第三检测模块包括:Preferably, the third detection module includes:
第一验证单元,用于验证当前新增数据提供者的登录账户和登录密码是否正确;The first verification unit is used to verify whether the login account and login password of the current newly added data provider are correct;
第二验证单元,用于验证当前新增数据提供者的登录设备和登录地址是否正确;The second verification unit is used to verify whether the login device and login address of the current newly added data provider are correct;
第二判断单元,用于在所述第一验证单元和所述第二验证单元的验证结果均为是时,判断当前新增数据提供者安全。The second judging unit is configured to judge that the currently added data provider is safe when the verification results of the first verification unit and the second verification unit are both yes.
本发明的有益效果:本发明所提供的通信数据同步方法,通过对备用数据系统中的当前新增数据进行完整度检测,并根据经过完整度检测的数据对主数据系统中的缺失数据进行同步,使通信数据在主数据系统数据出现问题(如数据丢失、损坏或无法使用)时能立即通过始终备份的备用数据系统与主数据系统进行数据同步,从而保证主数据系统能够正常运行,即能使主数据系统数据出现问题时可以立即通过同步备用数据系统来保持主数据系统持续正常使用,进而解决了现有的通信系统用数据保护性和预防性差的问题。Beneficial effects of the present invention: the communication data synchronization method provided by the present invention detects the completeness of the current newly added data in the backup data system, and synchronizes the missing data in the primary data system according to the data that has passed the completeness detection , so that when there is a problem with the main data system (such as data loss, damage or unusability), the communication data can be immediately synchronized with the main data system through the always backed up backup data system, so as to ensure the normal operation of the main data system, that is, When there is a problem with the data of the main data system, the main data system can be kept in normal use by synchronizing the standby data system immediately, thereby solving the problem of poor data protection and preventability in the existing communication system.
本发明所提供的通信数据同步系统,通过设置第一检测模块、第二检测模块、第一判断模块和同步模块,使通信数据在主数据系统数据出现问题(如数据丢失、损坏或无法使用)时能立即通过始终备份的备用数据系统与主数据系统进行数据同步,从而保证主数据系统能够正常运行,即能使主数据系统数据出现问题时可以立即通过同步备用数据系统来保持主数据系统持续正常使用,进而解决了现有的通信系统用数据保护性和预防性差的问题。In the communication data synchronization system provided by the present invention, by setting the first detection module, the second detection module, the first judgment module and the synchronization module, the communication data has problems in the main data system data (such as data loss, damage or unusability) It can immediately synchronize data with the main data system through the backup data system that is always backed up, so as to ensure the normal operation of the main data system, that is, when there is a problem with the data in the main data system, it can immediately keep the main data system continuous by synchronizing the backup data system Normal use, thereby solving the problem of poor data protection and preventability in existing communication systems.
附图说明Description of drawings
图1为本发明实施例1中通信数据同步方法的流程图;FIG. 1 is a flowchart of a communication data synchronization method in Embodiment 1 of the present invention;
图2为本发明实施例2中通信数据同步方法的流程图;2 is a flowchart of a method for synchronizing communication data in Embodiment 2 of the present invention;
图3为本发明实施例2中通信数据同步方法中步骤S10的流程图;3 is a flow chart of step S10 in the communication data synchronization method in Embodiment 2 of the present invention;
图4为本发明实施例3中通信数据同步系统的原理框图。FIG. 4 is a functional block diagram of a communication data synchronization system in Embodiment 3 of the present invention.
其中附图标记为:Wherein reference sign is:
1、第一检测模块;11、识别单元;12、第一判断单元;13、存储单元;2、第二检测模块;3、第一判断模块;4、同步模块; 5、第二判断模块;6、存储模块;7、第三检测模块;71、第一验证单元;72、第二验证单元;73、第二判断单元。1. The first detection module; 11. The identification unit; 12. The first judgment unit; 13. The storage unit; 2. The second detection module; 3. The first judgment module; 4. The synchronization module; 5. The second judgment module; 6. A storage module; 7. A third detection module; 71. A first verification unit; 72. A second verification unit; 73. A second judgment unit.
具体实施方式Detailed ways
为使本领域技术人员更好地理解本发明的技术方案,下面结合附图和具体实施方式对本发明一种通信数据同步方法和系统作进一步详细描述。In order for those skilled in the art to better understand the technical solution of the present invention, a method and system for synchronizing communication data according to the present invention will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
实施例1:Example 1:
本实施例提供一种通信数据同步方法,如图1所示,包括:This embodiment provides a method for synchronizing communication data, as shown in FIG. 1 , including:
步骤S10:检测备用数据系统中当前新增数据的完整度,并将完整的新增数据同步至备用数据系统中。Step S10: Detect the integrity of the current newly added data in the backup data system, and synchronize the complete new data to the backup data system.
其中,备用数据系统用于对数据中心的数据进行备份。Wherein, the standby data system is used for backing up data in the data center.
步骤S11:检测主数据系统中缺失的数据;缺失的数据为主数据系统中需要同步的数据。Step S11: Detect missing data in the master data system; missing data is data that needs to be synchronized in the master data system.
其中,主数据系统指实际生产用数据系统。Among them, the master data system refers to the actual production data system.
步骤S12:判断主数据系统中需要同步的数据是否存在于备用数据系统中。Step S12: Determine whether the data to be synchronized in the primary data system exists in the standby data system.
如果是,执行步骤S13:将备用数据系统中的该部分数据同步至主数据系统中。如果否,结束。If yes, perform step S13: synchronize the part of data in the standby data system to the primary data system. If not, end.
该通信数据同步方法,通过对备用数据系统中的当前新增数据进行完整度检测,并根据经过完整度检测的数据对主数据系统中的缺失数据进行同步,使通信数据在主数据系统数据出现问题 (如数据丢失、损坏或无法使用)时能立即通过始终备份的备用数据系统与主数据系统进行数据同步,从而保证主数据系统能够正常运行,即能使主数据系统数据出现问题时可以立即通过同步备用数据系统来保持主数据系统持续正常使用,进而解决了现有的通信系统用数据保护性和预防性差的问题。In the communication data synchronization method, the completeness detection of the current new data in the standby data system is performed, and the missing data in the main data system is synchronized according to the data that has passed the completeness detection, so that the communication data appears in the data of the main data system In the event of a problem (such as data loss, damage, or unavailability), the backup data system that is always backed up can be immediately synchronized with the primary data system to ensure the normal operation of the primary data system. The continuous normal use of the main data system is maintained by synchronizing the standby data system, thereby solving the problem of poor data protection and preventability in the existing communication system.
实施例2:Example 2:
基于实施例1中所提供的通信数据同步方法,本实施例提供一种通信数据同步方法,包括:如图2所示,Based on the communication data synchronization method provided in Embodiment 1, this embodiment provides a communication data synchronization method, including: as shown in FIG. 2 ,
步骤S09:检测当前新增数据提供者的安全性。Step S09: Detect the security of the currently added data provider.
该步骤具体包括:验证当前新增数据提供者的登录账户和登录密码是否正确;This step specifically includes: verifying whether the login account and login password of the currently added data provider are correct;
验证当前新增数据提供者的登录设备和登录地址是否正确;Verify that the login device and login address of the newly added data provider are correct;
如果上述验证结果均为是,则当前新增数据提供者安全;如果至少一个验证结果为否,则重新验证,直至验证通过。If the above verification results are all yes, then the currently newly added data provider is safe; if at least one verification result is no, re-verify until the verification passes.
步骤S09的设置,通过对当前新增数据提供者的安全性进行检测,能够确保将要同步至备用数据系统的新增数据的安全性,从而改善现有的通信系统用数据保护性和预防性差的问题。The setting of step S09 can ensure the security of the newly added data to be synchronized to the backup data system by detecting the security of the current newly added data provider, thereby improving the existing communication system with poor data protection and preventability. question.
步骤S10:检测备用数据系统中当前新增数据的完整度,并将完整的新增数据同步至备用数据系统中。Step S10: Detect the integrity of the current newly added data in the backup data system, and synchronize the complete new data to the backup data system.
该步骤具体包括:如图3所示,This step specifically includes: as shown in Figure 3,
步骤S101:识别备用数据系统中当前新增的数据。Step S101: Identify currently added data in the backup data system.
步骤S102:判断当前新增的数据是否完整。Step S102: Judging whether the currently added data is complete.
如果是,则执行步骤S103:将当前新增数据存储至备用数据系统中。If yes, execute step S103: store the current newly added data into the standby data system.
如果否,则执行步骤S104:备用数据系统不存储当前新增数据。If not, execute step S104: the backup data system does not store the current newly added data.
通过步骤S101-步骤S104,确保了备用数据系统中数据的完整性,从而为后续备用数据系统中的数据同步至主数据系统中提供了完整性保障,改善了现有的通信系统用数据保护性和预防性差的问题。Through step S101-step S104, the integrity of the data in the standby data system is ensured, thereby providing integrity guarantee for the synchronization of data in the subsequent standby data system to the main data system, and improving the data protection of the existing communication system and poor preventability.
步骤S11:检测主数据系统中缺失的数据;缺失的数据为主数据系统中需要同步的数据。Step S11: Detect missing data in the master data system; missing data is data that needs to be synchronized in the master data system.
该步骤中,检测主数据系统中缺失数据的同时监控主数据系统中数据的变化,且数据发生变化时立即更新检测的缺失数据。In this step, while detecting missing data in the master data system, monitor the change of data in the master data system, and immediately update the detected missing data when the data changes.
步骤S12:判断主数据系统中需要同步的数据是否存在于备用数据系统中。Step S12: Determine whether the data to be synchronized in the primary data system exists in the standby data system.
如果是,执行步骤S13:将备用数据系统中的该部分数据同步至主数据系统中。If yes, perform step S13: synchronize the part of data in the standby data system to the primary data system.
需要说明的是,正在同步数据时,主数据系统中数据不可使用,强行使用会中断数据同步,并且主数据系统中也无法进行数据存储,新同步的数据储存在临时存储库,直至数据同步完毕再将数据进行存储,保证数据同步的完整性。It should be noted that when the data is being synchronized, the data in the main data system cannot be used, forcibly using it will interrupt the data synchronization, and data storage cannot be performed in the main data system, and the newly synchronized data is stored in the temporary storage until the data synchronization is completed Then store the data to ensure the integrity of data synchronization.
本实施例中,通信数据同步方法还包括:步骤S14:判断主数据系统中同步的数据是否完整。In this embodiment, the communication data synchronization method further includes: Step S14: judging whether the data synchronized in the master data system is complete.
如果是,则执行步骤S15:将该同步数据存储至主数据系统中。If yes, execute step S15: store the synchronization data into the master data system.
如果否,则执行步骤S16:主数据系统不存储该同步数据。If not, execute step S16: the master data system does not store the synchronization data.
步骤S14-步骤S16可以在进行数据同步后对主数据系统中的数据进行进一步缜密的检查,确保同步后的数据不会出现漏洞缺失,这样人们在后续使用主数据系统中的数据时更加安全方便,可以剔除数据中的不足,让数据同步的更为完美,利于人们使用,从而解决了目前现有的通信系统用数据在同步备份时不能对需要备份的数据和备份中心的数据进行缜密检查的问题。Step S14-Step S16 can further carefully check the data in the master data system after data synchronization to ensure that there will be no loopholes in the synchronized data, so that people will be safer and more convenient when using the data in the master data system in the future , can eliminate the deficiencies in the data, make the data synchronization more perfect, which is beneficial to people's use, thus solving the problem that the existing communication system cannot carefully check the data that needs to be backed up and the data in the backup center when synchronizing the backup. question.
实施例1-2的有益效果:实施例1-2所提供的通信数据同步方法,通过对备用数据系统中的当前新增数据进行完整度检测,并根据经过完整度检测的数据对主数据系统中的缺失数据进行同步,使通信数据在主数据系统数据出现问题(如数据丢失、损坏或无法使用)时能立即通过始终备份的备用数据系统与主数据系统进行数据同步,从而保证主数据系统能够正常运行,即能使主数据系统数据出现问题时可以立即通过同步备用数据系统来保持主数据系统持续正常使用,进而解决了现有的通信系统用数据保护性和预防性差的问题。Beneficial effects of embodiment 1-2: the method for synchronizing communication data provided by embodiment 1-2, by performing completeness detection on the current newly added data in the backup data system, and performing completeness detection on the primary data system according to the data that has undergone completeness detection Synchronize the missing data in the system, so that when there is a problem with the main data system data (such as data loss, damage or unusability), the communication data can immediately synchronize data with the main data system through the always backed up backup data system, thereby ensuring that the main data system It can operate normally, that is, when there is a problem with the data of the main data system, it can immediately maintain the continuous normal use of the main data system by synchronizing the standby data system, thereby solving the problem of poor data protection and preventability in the existing communication system.
实施例3:Example 3:
基于实施例2中所提供的通信数据同步方法,本实施例提供一种通信数据同步系统,如图4所示,包括:第一检测模块1,用于检测备用数据系统中当前新增数据的完整度,并将完整的新增数据同步至备用数据系统中。第二检测模块2,用于检测主数据系统中缺失的数据;缺失的数据为主数据系统中需要同步的数据。第一判断模块3,用于判断主数据系统中需要同步的数据是否存在于备用数据系统中。同步模块4,用于在第一判断模块3的判断结果为是时,将备用数据系统中的该部分数据同步至主数据系统中。Based on the communication data synchronization method provided in Embodiment 2, this embodiment provides a communication data synchronization system, as shown in FIG. Integrity, and synchronize the complete new data to the standby data system. The second detection module 2 is used to detect missing data in the master data system; the missing data is data that needs to be synchronized in the master data system. The first judging module 3 is used for judging whether the data to be synchronized in the primary data system exists in the backup data system. The synchronization module 4 is configured to synchronize the part of data in the backup data system to the primary data system when the judgment result of the first judgment module 3 is yes.
其中,第一检测模块1包括:识别单元11,用于识别备用数据系统中当前新增的数据。第一判断单元12,用于判断当前新增的数据是否完整。存储单元13,用于在第一判断单元12的判断结果为是时,将当前新增数据存储至备用数据系统中。第一检测模块1的设置,确保了备用数据系统中数据的完整性,从而为后续备用数据系统中的数据同步至主数据系统中提供了完整性保障,改善了现有的通信系统用数据保护性和预防性差的问题。Wherein, the first detection module 1 includes: an identification unit 11, configured to identify currently newly added data in the standby data system. The first judging unit 12 is configured to judge whether the currently added data is complete. The storage unit 13 is configured to store the current newly added data in the backup data system when the judgment result of the first judgment unit 12 is yes. The setting of the first detection module 1 ensures the integrity of the data in the backup data system, thereby providing integrity guarantee for the synchronization of the data in the subsequent backup data system to the main data system, and improving the data protection of the existing communication system sexual and preventive issues.
本实施例中,通信数据同步系统还包括第二判断模块5,用于判断主数据系统中同步的数据是否完整。存储模块6,用于在第二判断模块5的判断结果为是时,将该同步数据存储至主数据系统中。第二判断模块5和存储模块6的设置,可以在进行数据同步后对主数据系统中的数据进行进一步缜密的检查,确保同步后的数据不会出现漏洞缺失,这样人们在后续使用主数据系统中的数据时更加安全方便,可以剔除数据中的不足,让数据同步的更为完美,利于人们使用,从而解决了目前现有的通信系统用数据在同步备份时不能对需要备份的数据和备份中心的数据进行缜密检查的问题。In this embodiment, the communication data synchronization system further includes a second judging module 5 for judging whether the data synchronized in the main data system is complete. The storage module 6 is configured to store the synchronization data in the master data system when the judgment result of the second judging module 5 is yes. The setting of the second judgment module 5 and the storage module 6 can further check the data in the master data system after data synchronization to ensure that there will be no loopholes in the synchronized data, so that people can use the master data system later. It is safer and more convenient to store the data in the data, and can eliminate the deficiencies in the data, so that the data synchronization is more perfect, which is beneficial to people's use, thus solving the problem that the current existing communication system cannot backup the data that needs to be backed up and the data that needs to be backed up when synchronizing the backup. Center the data for a rigorous examination of the problem.
本实施例中,通信数据同步系统还包括第三检测模块7,用于检测当前新增数据提供者的安全性。第三检测模块7包括第一验证单元71,用于验证当前新增数据提供者的登录账户和登录密码是否正确。第二验证单元72,用于验证当前新增数据提供者的登录设备和登录地址是否正确。第二判断单元73,用于在第一验证单元71和第二验证单元72的验证结果均为是时,判断当前新增数据提供者安全。In this embodiment, the communication data synchronization system further includes a third detection module 7, which is used to detect the security of the currently newly added data provider. The third detection module 7 includes a first verification unit 71 for verifying whether the login account and the login password of the current newly added data provider are correct. The second verification unit 72 is used to verify whether the login device and login address of the current newly added data provider are correct. The second judging unit 73 is configured to judge that the currently added data provider is safe when the verification results of the first verification unit 71 and the second verification unit 72 are both yes.
第三检测模块7的设置,通过对当前新增数据提供者的安全性进行检测,能够确保将要同步至备用数据系统的新增数据的安全性,从而改善现有的通信系统用数据保护性和预防性差的问题。The setting of the third detection module 7 can ensure the security of the newly added data to be synchronized to the standby data system by detecting the security of the current newly added data provider, thereby improving the data protection and security of the existing communication system. The problem of poor prevention.
实施例3的有益效果:实施例3中所提供的通信数据同步系统,通过设置第一检测模块、第二检测模块、第一判断模块和同步模块,使通信数据在主数据系统数据出现问题(如数据丢失、损坏或无法使用)时能立即通过始终备份的备用数据系统与主数据系统进行数据同步,从而保证主数据系统能够正常运行,即能使主数据系统数据出现问题时可以立即通过同步备用数据系统来保持主数据系统持续正常使用,进而解决了现有的通信系统用数据保护性和预防性差的问题。The beneficial effects of embodiment 3: the communication data synchronous system provided in embodiment 3, by arranging the first detection module, the second detection module, the first judgment module and the synchronous module, make communication data appear problem in main data system data ( If the data is lost, damaged or unusable), it can immediately synchronize data with the main data system through the backup data system that is always backed up, so as to ensure the normal operation of the main data system, that is, when the data of the main data system has problems, it can be synchronized immediately The standby data system is used to keep the main data system in continuous normal use, thereby solving the problem of poor data protection and preventability in the existing communication system.
可以理解的是,以上实施方式仅仅是为了说明本发明的原理而采用的示例性实施方式,然而本发明并不局限于此。对于本领域内的普通技术人员而言,在不脱离本发明的精神和实质的情况下,可以做出各种变型和改进,这些变型和改进也视为本发明的保护范围。It can be understood that, the above embodiments are only exemplary embodiments adopted for illustrating the principle of the present invention, but the present invention is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also regarded as the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910695518.4A CN110413452A (en) | 2019-07-30 | 2019-07-30 | A communication data synchronization method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910695518.4A CN110413452A (en) | 2019-07-30 | 2019-07-30 | A communication data synchronization method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110413452A true CN110413452A (en) | 2019-11-05 |
Family
ID=68364284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910695518.4A Pending CN110413452A (en) | 2019-07-30 | 2019-07-30 | A communication data synchronization method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110413452A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111773715A (en) * | 2020-08-03 | 2020-10-16 | 网易(杭州)网络有限公司 | Task execution method and device, equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859204A (en) * | 2006-03-21 | 2006-11-08 | 华为技术有限公司 | Method and device for realizing synchronous data in double machine heat backup |
CN101546189A (en) * | 2008-03-26 | 2009-09-30 | 上海宝信软件股份有限公司 | Method for controlling real-time database system |
WO2011018646A1 (en) * | 2009-08-12 | 2011-02-17 | New Technology/Enterprise Limited | Distributed transaction processing for in memory data grids |
CN109547532A (en) * | 2018-10-25 | 2019-03-29 | 交控科技股份有限公司 | A kind of method of data synchronization in multiserver redundant system between each server |
-
2019
- 2019-07-30 CN CN201910695518.4A patent/CN110413452A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859204A (en) * | 2006-03-21 | 2006-11-08 | 华为技术有限公司 | Method and device for realizing synchronous data in double machine heat backup |
CN101546189A (en) * | 2008-03-26 | 2009-09-30 | 上海宝信软件股份有限公司 | Method for controlling real-time database system |
WO2011018646A1 (en) * | 2009-08-12 | 2011-02-17 | New Technology/Enterprise Limited | Distributed transaction processing for in memory data grids |
CN109547532A (en) * | 2018-10-25 | 2019-03-29 | 交控科技股份有限公司 | A kind of method of data synchronization in multiserver redundant system between each server |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111773715A (en) * | 2020-08-03 | 2020-10-16 | 网易(杭州)网络有限公司 | Task execution method and device, equipment and medium |
CN111773715B (en) * | 2020-08-03 | 2024-07-23 | 网易(杭州)网络有限公司 | Task execution method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8806264B2 (en) | Methods for detecting split brain in a distributed system | |
US7117393B2 (en) | Failover method in a redundant computer system with storage devices | |
CN102891849B (en) | Service data synchronization method, data recovery method, data recovery device and network device | |
US7454655B2 (en) | Autonomic recovery of PPRC errors detected by PPRC peer | |
US9189348B2 (en) | High availability database management system and database management method using same | |
CN108874593B (en) | Disaster recovery method, device, equipment and system for two locations and three centers | |
CN109688012A (en) | A kind of method of alliance's chain node hot standby switch | |
CN100426247C (en) | Data recovery method | |
CN100449501C (en) | The method of computer network data recovery | |
JPH10232810A (en) | Device and method for permitting disconnected state write in client and server computer system | |
WO2016095372A1 (en) | Method and apparatus for realizing image backup of transaction logs | |
CN104252500A (en) | Method and device for carrying out fault repairing on database management platform | |
CN108932180A (en) | A kind of disaster tolerance management method, device, storage medium and computer equipment matter | |
CN112153134A (en) | Disaster tolerance drilling method, device, equipment and storage medium of disaster tolerance cloud host | |
CN110413452A (en) | A communication data synchronization method and system | |
US10296517B1 (en) | Taking a back-up software agnostic consistent backup during asynchronous replication | |
US20120158652A1 (en) | System and method for ensuring consistency in raid storage array metadata | |
CN103064759A (en) | Data recovery method and device | |
CN104850628A (en) | Data synchronization method and apparatus in database | |
CN111190770A (en) | COW snapshot technology for data storage and data disaster recovery | |
CN104636082B (en) | The control method and device of disk array RAID | |
CN108509143B (en) | Data detection method and device based on cloud storage | |
JP2007065873A (en) | Storage control device, storage control system, and storage control method | |
CN105141665A (en) | Method and device for realizing data mirroring and server cluster system | |
CN102520880A (en) | System raid management module design method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191105 |
|
RJ01 | Rejection of invention patent application after publication |