CN116319828A - Remote disaster recovery backup data transmission method, system, device and medium - Google Patents

Remote disaster recovery backup data transmission method, system, device and medium Download PDF

Info

Publication number
CN116319828A
CN116319828A CN202310141514.8A CN202310141514A CN116319828A CN 116319828 A CN116319828 A CN 116319828A CN 202310141514 A CN202310141514 A CN 202310141514A CN 116319828 A CN116319828 A CN 116319828A
Authority
CN
China
Prior art keywords
backup data
data
data packet
transmitted
disaster recovery
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310141514.8A
Other languages
Chinese (zh)
Inventor
王永坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jinan Inspur Data Technology Co Ltd
Original Assignee
Jinan Inspur Data 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 Jinan Inspur Data Technology Co Ltd filed Critical Jinan Inspur Data Technology Co Ltd
Priority to CN202310141514.8A priority Critical patent/CN116319828A/en
Publication of CN116319828A publication Critical patent/CN116319828A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0076Distributed coding, e.g. network coding, involving channel coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a method, a system, a device and a medium for transmitting disaster recovery backup data in different places, which are applied to the field of backup data transmission. And judging whether the number of the backup data packets to be transmitted exceeds a preset value, merging the backup data packets to be transmitted into a target data packet according to the preset value if the number of the backup data packets to be transmitted exceeds the preset value, and carrying out coding processing on data in the target data packet and transmitting the data to a standby site. By the method, the queued backup data packets are combined when the number of the backup data packets is excessive, single transmission is not needed, the conversation times of the main station and the standby station are reduced, the data transmission time is shortened, the intermediate nodes of the network do not have a store-and-forward function any more, the received related data information can be encoded, the encoded data after being processed is directly transmitted out, the encoded information is played in the middle, the transmission copying process is reduced, the network bandwidth resource consumption is saved, and the transmission efficiency is greatly improved.

Description

Remote disaster recovery backup data transmission method, system, device and medium
Technical Field
The present invention relates to the field of backup data transmission, and in particular, to a method, system, device, and medium for transmitting disaster recovery backup data in different places.
Background
With the advent of the big data age, the original conscious data backup of users cannot meet the demands of key business on the availability, real-time performance and safety of the system, more importantly, the backed up data is often destroyed due to various factors, such as earthquake, fire disaster, loss and the like, and it is very important to seek a data backup mode in different places.
The main mode at present is that serial transmission is carried out according to the set time length of the most possible lost data and the backup data are transmitted in the form of a plurality of small data packets, and each time the data packet is transmitted, the main station and the standby station carry out a conversation, the data transmission time is overlong, the information to be forwarded and transmitted is not processed to be directly forwarded to the standby station, and the transmission data are easily damaged maliciously by an attacker or network fluctuation caused by the network in the transmission process, so that the backup data are easy to be wrong.
In view of the above problems, it is an urgent need for those skilled in the art to find a solution to the above technical problems.
Disclosure of Invention
The application aims to provide a method, a system, a device and a medium for transmitting disaster recovery backup data in different places.
The original data backup can not meet the requirements of key business on availability, instantaneity and safety of a system, the main mode at present is to serially transmit data according to the set time length of most possible lost data and the backup data is transmitted in a form of a plurality of small data packets, and when the data packet is transmitted once, a main station and a standby station are subjected to one-time conversation, the data transmission time is overlong, the information to be forwarded is not processed to be directly forwarded to the standby station, and the transmission data is easily damaged maliciously by an attacker or network fluctuation caused by a network in the transmission process, so that the backup data is easy to be wrong.
In order to solve the technical problems, the method and the device for transmitting the backup data packets judge whether the number of the backup data packets to be transmitted exceeds a preset value or not; if yes, merging the backup data packet to be transmitted into a target data packet according to the preset value, and carrying out coding processing on data in the target data packet and transmitting the data to a standby site. By the method, the queued backup data packets are combined when the number of sessions of the main station and the backup station is excessive, the data are correspondingly processed, the data transmission time is reduced, the intermediate node of the network does not have a store-and-forward function any more, the received related data information can be encoded, the processed encoded data are directly transmitted, the encoded information is played in the middle, the transmission and copying process is reduced, the network bandwidth resource consumption is saved, and the transmission efficiency is greatly improved.
In order to solve the above technical problems, the present application provides a method for transmitting disaster recovery backup data in different places, which is applied to a main site, and includes:
judging whether the number of backup data packets to be transmitted exceeds a preset value n;
if yes, merging the first n backup data packets to be transmitted into a target data packet;
encoding data in a target data packet;
and transmitting the target data packet subjected to the coding processing to a standby site.
Preferably, after determining whether the number of backup data packets to be transmitted exceeds a preset value, before merging each backup data packet to be transmitted into one target data packet, the method further includes:
judging whether the data in each backup data packet is the same or not;
if the data are the same, the redundant data are deleted.
Preferably, the encoding processing of the data in the target data packet includes:
and carrying out Hamming code encoding processing and network encoding processing on the data in the target data packet.
Preferably, performing network coding processing on data in the target data packet includes:
and carrying out linear coding or nonlinear coding processing on the data in the target data packet.
Preferably, the preset value n is a fixed value or is set according to the number of backup data packets.
Preferably, the determining whether the number of backup data packets to be transmitted exceeds the preset value n further includes:
and if the number of the backup data packets to be transmitted does not exceed the preset value n, sequentially encoding each backup data packet and transmitting the backup data packets to a standby site.
In order to solve the above technical problem, the present application further provides a method for transmitting disaster recovery backup data in different places, which is applied to a backup site, and includes:
acquiring a target data packet which is transmitted by a main station and is subjected to coding processing;
decoding the data in the target data packet and recovering the original data;
the method for determining the target data packet by the master station comprises the following steps:
judging whether the number of backup data packets to be transmitted exceeds a preset value n;
if yes, merging the first n backup data packets to be transmitted into a target data packet.
In order to solve the above technical problem, the present application further provides a remote disaster recovery backup data transmission system, applied to a primary site, including:
the first judging module is used for judging whether the number of the backup data packets to be transmitted exceeds a preset value n;
the merging module is used for merging the first n backup data packets to be transmitted into a target data packet if yes;
the first processing module is used for carrying out coding processing on data in the target data packet;
and the transmission module is used for transmitting the target data packet subjected to the coding processing to the standby station.
Preferably, the remote disaster recovery backup data transmission system is applied to a main site, and further comprises:
the second judging module is used for judging whether the data in each backup data packet are the same or not;
and the deleting module is used for deleting the redundant data if the data are the same.
Preferably, the remote disaster recovery backup data transmission system is applied to a main site, and further comprises:
and the second processing module is used for carrying out Hamming code encoding processing and network encoding processing on the data in the target data packet.
In order to solve the technical problems, the application also provides a remote disaster recovery backup data transmission device, which comprises a memory for storing a computer program;
and the processor is used for realizing the steps of the remote disaster recovery backup data transmission method when executing the computer program.
In order to solve the above technical problems, the present application further provides a computer readable storage medium, on which a computer program is stored, where the computer program when executed by a processor implements the steps of the above-mentioned method for transmitting disaster recovery backup data in different places.
According to the remote disaster recovery backup data transmission method provided by the application, whether the number of backup data packets to be transmitted exceeds a preset value is judged; if yes, merging the backup data packet to be transmitted into a target data packet according to the preset value, and carrying out coding processing on data in the target data packet and transmitting the data to a standby site. By the method, the queued backup data packets are combined when the number of sessions of the main station and the backup station is excessive, the data are correspondingly processed, the data transmission time is reduced, the intermediate node of the network does not have a store-and-forward function any more, the received related data information can be encoded, the processed encoded data are directly transmitted, the encoded information is played in the middle, the transmission and copying process is reduced, the network bandwidth resource consumption is saved, and the transmission efficiency is greatly improved.
The application also provides a system, a device and a computer readable storage medium for transmitting the disaster recovery backup data in different places, which correspond to the method, so that the method has the same beneficial effects as the method.
Drawings
For a clearer description of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for transmitting disaster recovery backup data in different places provided by the present application;
FIG. 2 is a flowchart of a method for transmitting disaster recovery backup data in different places according to another embodiment of the present application;
FIG. 3 is a block diagram of a system for remote disaster recovery backup data transmission provided in the present application;
fig. 4 is a block diagram of a remote disaster recovery backup data transmission device according to another embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments herein without making any inventive effort are intended to fall within the scope of the present application.
The core of the application is to provide a method, a system, a device and a medium for transmitting disaster recovery backup data in different places.
The original data backup can not meet the requirements of key business on availability, instantaneity and safety of a system, the main mode at present is to serially transmit data according to the set time length of most possible lost data and the backup data is transmitted in a form of a plurality of small data packets, and when the data packet is transmitted once, a main station and a standby station are subjected to one-time conversation, the data transmission time is overlong, the information to be forwarded is not processed to be directly forwarded to the standby station, and the transmission data is easily damaged maliciously by an attacker or network fluctuation caused by a network in the transmission process, so that the backup data is easy to be wrong.
In order to solve the technical problems, the method and the device for transmitting the backup data packets judge whether the number of the backup data packets to be transmitted exceeds a preset value or not; if yes, merging the backup data packet to be transmitted into a target data packet according to the preset value, and carrying out coding processing on data in the target data packet and transmitting the data to a standby site. By the method, the queued backup data packets are combined when the number of sessions of the main station and the backup station is excessive, the data are correspondingly processed, the data transmission time is reduced, the intermediate node of the network does not have a store-and-forward function any more, the received related data information can be encoded, the processed encoded data are directly transmitted, the encoded information is played in the middle, the transmission and copying process is reduced, the network bandwidth resource consumption is saved, and the transmission efficiency is greatly improved.
In order to provide a better understanding of the present application, those skilled in the art will now make further details of the present application with reference to the drawings and detailed description.
Fig. 1 is a flowchart of a method for transmitting disaster recovery backup data in different places, provided in the present application, applied to a primary site, as shown in fig. 1, where the method includes:
s10: judging whether the number of backup data packets to be transmitted exceeds a preset value n;
it should be noted that, when the primary station transmits data, the primary station continuously updates the data according to a set period, and each time the data is updated, a spare data packet is formed, if external interference or network fluctuation is encountered in the transmission process of the spare data packet, the transmission of the spare data packet may be blocked, so that the spare data packet to be transmitted can be better transmitted from the current primary station to the spare station, and a situation that the number of queued spare data packets to be transmitted is too many needs to be found, and whether the number of the spare data packets to be transmitted exceeds a preset value n needs to be judged. The embodiment of the application does not limit the number of preset values and the setting mode of the preset values.
S11: if yes, merging the first n backup data packets to be transmitted into a target data packet;
it should be noted that, when the number of the standby data packets to be transmitted exceeds the preset value n, the first n standby data packets to be transmitted are combined into one target data packet for transmission. In an embodiment of an application scenario, when the value of n is 10, if the number of queued standby data packets to be transmitted is greater than 10, the standby data packets to be transmitted are combined into a target data packet for transmission in sequence according to 10 groups. The numerical value of n is not specifically limited, and may be set according to actual situations, where n may be fixed or may be changed according to situations, and the embodiments of the present application are not limited herein. In addition, when the standby data packet to be transmitted does not exceed the preset value, the embodiment of the application does not limit the transmission mode of the standby data packet to be transmitted at this time, but may, but is not limited to, make the standby data packet to be transmitted currently in a waiting state, and transmit the standby data packet after merging until the number of updated standby data packets reaches the preset value, or make the standby data packet to be transmitted currently transmit separately in sequence, etc., where the embodiment of the application does not limit the transmission mode specifically, and may change according to the actual situation. In addition, the embodiment of the present application does not limit the processing of the target data packet.
S12: encoding data in a target data packet;
s13: and transmitting the target data packet subjected to the coding processing to a standby site.
It should be noted that, after the standby data packet to be transmitted is combined into the target data packet, the data in the data packet is correspondingly encoded, and the embodiment of the present application does not limit the type of encoding and the encoding mode. The embodiment of the application does not limit the processing mode of the data in the target data packet and the type of the data in the target data packet. And transmitting the data packet subjected to the coding processing to a standby station after the target data packet is formed.
Therefore, according to the method provided by the embodiment of the application, whether the number of the backup data packets to be transmitted exceeds the preset value is judged; if yes, merging the backup data packet to be transmitted into a target data packet according to the preset value, and carrying out coding processing on data in the target data packet and transmitting the data to a standby site. By the method, the queued backup data packets are combined when the number of sessions of the main station and the backup station is excessive, the data are correspondingly processed, the data transmission time is reduced, the intermediate node of the network does not have a store-and-forward function any more, the received related data information can be encoded, the processed encoded data are directly transmitted, the encoded information is played in the middle, the transmission and copying process is reduced, the network bandwidth resource consumption is saved, and the transmission efficiency is greatly improved.
Based on the foregoing embodiments, the present application provides a preferred embodiment, after determining whether the number of backup data packets to be transmitted exceeds a preset value, before merging each backup data packet to be transmitted into a target data packet, further includes:
judging whether the data in each backup data packet is the same or not;
if the data are the same, the redundant data are deleted.
It should be noted that, in the process of updating and transmitting data at the master site, the data in each backup data packet to be transmitted may have the same repetition, so when the backup data packets to be transmitted are combined, the same data needs to be judged, if multiple groups of data are the same, only one group of data needs to be reserved, and redundant data of the same data needs to be deleted.
Therefore, by judging whether the number of the backup data packets to be transmitted exceeds the preset value or not, the method provided by the embodiment of the application is used; if yes, merging the backup data packet to be transmitted into a target data packet according to the preset value, and carrying out coding processing on data in the target data packet and transmitting the data to a standby site. By the method, the queued backup data packets are combined when the number of sessions of the main station and the backup station is excessive, the corresponding processing is carried out on the data, the redundant data in the data packets before combination is deleted, the data transmission time is shortened, and the backup station can directly acquire the resources of the transmitted target data packets without carrying out data identification and redundant data deletion after receiving the target data packets. And the intermediate node of the network has no store-and-forward function any more, can carry out coding operation on the received related data information, and the processed coded data is directly transmitted, so that the intermediate node plays the role of coding information, reduces the process of transmission replication, saves the network bandwidth resource consumption, and greatly improves the transmission efficiency.
Based on the foregoing embodiments, the present application provides a preferred embodiment, where the encoding processing of the data in the target data packet includes:
and carrying out Hamming code encoding processing and network encoding processing on the data in the target data packet.
It should be noted that, at present, the conventional algorithm of network transmission does not reach the theoretical maximum capacity of network multicast transmission, and success or failure depends on the evaluation of each packet by the standby station when it is received, if the packet can be decoded, an acknowledgement is transmitted to the main station; otherwise, the corrupted packet is discarded and a request is sent to the primary site to resend the packet. Hamming Code (Hamming Code), a linear precoding in the field of communications, is an error correcting Code, and the Hamming Code inserts a check Code into a transmitted message stream, so that data bit errors may be generated during data transmission, single bit flip errors are detected and corrected by the Hamming Code, and in order to save network bandwidth resource consumption, improve network transmission efficiency, and need to perform network coding once during data transmission. The embodiment of the application is not limited to the two encoding processing modes, and can be selected or changed according to actual situations. The embodiments of the present application do not limit the specific manner of network coding. In addition, the embodiment of the application does not limit the processing sequence of hamming code encoding and network encoding, and the target data packet can be subjected to hamming code encoding processing first or network encoding processing first and can be selected according to actual conditions.
It can be seen that, in the method provided in this embodiment, whether the number of backup data packets to be transmitted exceeds a preset value is determined; if yes, merging the backup data packet to be transmitted into a target data packet according to a preset value, carrying out Hamming code encoding processing and network encoding processing on data in the target data packet, and transmitting the data to a standby site. By the method, the problem that data errors are caused by malicious damage or network fluctuation in data transmission is further solved, meanwhile, the intermediate node of the network does not have a store-and-forward function any more, coding operation can be carried out on received related data information, the processed coded data is directly transmitted, the middle part plays a role of coding information, the process of transmission and copying is reduced, the consumption of network bandwidth resources is saved, and the transmission efficiency and reliability are greatly improved.
Based on the foregoing embodiments, the present application provides a preferred embodiment, where performing network coding processing on data in a target data packet includes:
and carrying out linear coding or nonlinear coding processing on the data in the target data packet.
In order to save network bandwidth resource consumption and improve network transmission efficiency, it is necessary to perform network coding once when transmitting data. The conventional network routing mechanism considers that the intermediate node only needs to simply store and forward the transmitted information, and does not need to perform any processing. However, none of the conventional algorithms reach the theoretical maximum capacity of network multicast transmission. The network coding thoroughly overrides the traditional point, the intermediate node of the network not only has a store-and-forward function, but also can perform linear or nonlinear coding operation on the received related information, and the processed coded data is transmitted. The embodiment of the application is not limited to only include two processing modes of linear coding and nonlinear coding, and can be changed according to actual conditions.
It can be seen that, in the method provided in this embodiment, whether the number of backup data packets to be transmitted exceeds a preset value is determined; if yes, merging the backup data packet to be transmitted into a target data packet according to a preset value, carrying out Hamming code encoding processing and linear encoding or nonlinear encoding processing on data in the target data packet, and transmitting the data to a standby site. By the method, the intermediate node of the network has no store-and-forward function, can perform linear coding or nonlinear coding operation on the received related data information, and the processed coded data is directly transmitted, so that the intermediate node plays a role in coding information, reduces the transmission and copying process, saves the network bandwidth resource consumption, and greatly improves the transmission efficiency and reliability.
Based on the foregoing embodiments, the present application provides a preferred embodiment, where the preset value n is a fixed value or is set according to the number of backup data packets.
It should be noted that, the value of the preset value n may be a fixed value, or may be set according to the value count of the backup data packets to be transmitted, that is, when the number of the backup data packets is too large, the value of the preset value may be correspondingly increased. The embodiment of the application is not limited to the two setting modes, and may be set to a dynamic preset value or the like, and may be selected according to actual situations.
It can be seen that, by the method provided in this embodiment, whether the number of backup data packets to be transmitted exceeds a preset value is determined; if yes, merging the backup data packet to be transmitted into a target data packet according to the preset value, and carrying out coding processing on data in the target data packet and transmitting the data to a standby site. By the method, the queued backup data packets are combined when the number of sessions of the main station and the backup station is excessive, the data are correspondingly processed, the data transmission time is reduced, the intermediate node of the network does not have a store-and-forward function any more, the received related data information can be encoded, the processed encoded data are directly transmitted, the encoded information is played in the middle, the transmission and copying process is reduced, the network bandwidth resource consumption is saved, and the transmission efficiency is greatly improved.
On the basis of the foregoing embodiment, the present application provides a preferred embodiment, where determining whether the number of backup data packets to be transmitted exceeds the preset value n further includes:
and if the number of the backup data packets to be transmitted does not exceed the preset value n, sequentially encoding each backup data packet and transmitting the backup data packets to a standby site.
It should be noted that, when the number of the backup data packets to be transmitted does not exceed the preset value n, that is, the number of the backup data packets to be transmitted does not reach the combined value, in order to avoid interruption of data transmission, and the queued data packets at this time do not affect normal transmission, each backup data packet is sequentially encoded and transmitted to the backup site. The embodiment of the application is not limited to the transmission mode, and can be selected according to actual situations.
Therefore, by judging whether the number of the backup data packets to be transmitted exceeds the preset value or not, the method provided by the embodiment of the application is used; if yes, merging the backup data packet to be transmitted into a target data packet according to the preset value, and carrying out coding processing on data in the target data packet and transmitting the data to a standby site. By the method, the queued backup data packets are combined when the number of the session times of the main station and the backup station is excessive, the data are correspondingly processed, the data transmission time is shortened, the backup data packets are sequentially and singly transmitted when the number of the backup data packets does not reach a preset value, the condition of transmission failure in the waiting process is avoided, the interruption of data transmission is avoided, and the transmission efficiency and reliability are greatly improved.
In order to solve the above technical problem, the present application further provides a method for transmitting disaster recovery backup data in different places, which is applied to a backup site, and fig. 2 is a flowchart of a method for transmitting disaster recovery backup data in different places, which is provided in another embodiment of the present application, as shown in fig. 2, and the method includes:
s20: acquiring a target data packet which is transmitted by a main station and is subjected to coding processing;
s21: decoding the data in the target data packet and recovering the original data;
the method for determining the target data packet by the master station comprises the following steps:
judging whether the number of backup data packets to be transmitted exceeds a preset value n;
if yes, merging the first n backup data packets to be transmitted into a target data packet.
The embodiment corresponding to the method for transmitting the disaster recovery backup data through the different place for the backup site provided by the application corresponds to the embodiment of the portion of the method for transmitting the disaster recovery backup data applied to the main site, and is not described herein.
Therefore, according to the method provided by the application, the master station judges whether the number of the backup data packets to be transmitted exceeds a preset value or not; if yes, merging the backup data packet to be transmitted into a target data packet according to the preset value. And the standby station decodes the coded data packet and acquires corresponding resources. By the method, the main station combines the queued backup data packets when the backup data packets are too many, so that the conversation times with the backup station are reduced, the data transmission time is reduced, the intermediate node of the network does not have a store-and-forward function any more, the received related data information can be encoded, the backup station acquires the processed encoded data, the network bandwidth resource consumption is saved, and the transmission efficiency is greatly improved.
Based on the angle of the functional module, the application also provides a remote disaster recovery backup data transmission system, which is applied to a main site, as shown in fig. 3, fig. 3 is a structural diagram of the remote disaster recovery backup data transmission system provided by the application, and the system comprises:
a first judging module 30, configured to judge whether the number of backup data packets to be transmitted exceeds a preset value n;
the merging module 31 is configured to merge the first n backup data packets to be transmitted into a target data packet if the backup data packets to be transmitted are the same;
a first processing module 32, configured to perform encoding processing on data in the target data packet;
and the transmission module 33 is used for transmitting the target data packet subjected to the coding processing to the standby station.
Based on the angle of the functional module, the remote disaster recovery backup data transmission system is applied to a main site and further comprises:
the second judging module is used for judging whether the data in each backup data packet are the same or not;
and the deleting module is used for deleting the redundant data if the data are the same.
Based on the angle of the functional module, the remote disaster recovery backup data transmission system is applied to a main site and further comprises:
and the second processing module is used for carrying out Hamming code encoding processing and network encoding processing on the data in the target data packet.
Since the embodiments of the system portion and the embodiments of the method portion correspond to each other, the embodiments of the system portion refer to the description of the embodiments of the method portion, which is not repeated herein.
The system for transmitting the remote disaster recovery backup data provided by the embodiment corresponds to the method for transmitting the remote disaster recovery backup data, so that the system has the same beneficial effects as the method.
Fig. 4 is a structural diagram of a remote disaster recovery backup data transmission device according to another embodiment of the present application, where, as shown in fig. 4, the remote disaster recovery backup data transmission device includes: a memory 20 for storing a computer program;
a processor 21 for carrying out the steps of the method of XXX as mentioned in the above embodiments when executing a computer program.
The remote disaster recovery backup data transmission device provided by the embodiment can include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer or the like.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in hardware in at least one of a digital signal processor (Digital Signal Processor, DSP), a Field programmable gate array (Field-Programmable Gate Array, FPGA), a programmable logic array (Programmable Logic Array, PLA). The processor 21 may also comprise a main processor, which is a processor for processing data in an awake state, also called central processor (Central Processing Unit, CPU), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with an image processor (Graphics Processing Unit, GPU) for taking care of rendering and rendering of the content that the display screen is required to display. In some embodiments, the processor 21 may also include an artificial intelligence (Artificial Intelligence, AI) processor for processing computing operations related to machine learning.
Memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing a computer program 201, where the computer program, after being loaded and executed by the processor 21, can implement the relevant steps of the method for transmitting disaster recovery backup data in different places disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may further include an operating system 202, data 203, and the like, where the storage manner may be transient storage or permanent storage. The operating system 202 may include Windows, unix, linux, among others. Data 203 may include, but is not limited to, data in a disaster recovery backup data transmission method, and the like.
In some embodiments, the disaster recovery backup data transmission device further includes a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the configuration shown in fig. 4 is not limiting of the disaster recovery backup data transmission device and may include more or fewer components than shown.
The remote disaster recovery backup data transmission device provided by the embodiment of the application comprises a memory and a processor, wherein the processor can realize the following method when executing a program stored in the memory: a method for transmitting disaster recovery backup data in different places.
Finally, the present application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium stores a computer program which, when executed by a processor, performs the steps described in the above method embodiments (may be a method corresponding to a primary site, a method corresponding to a backup site, or a method corresponding to each backup site of the primary site).
It will be appreciated that the methods of the above embodiments, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored on a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution contributing to the prior art, or in a software product stored in a storage medium, performing all or part of the steps of the methods of the various embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The method, the system, the device and the medium for transmitting the remote disaster recovery backup data provided by the application are described in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it would be obvious to those skilled in the art that various improvements and modifications can be made to the present application without departing from the principles of the present application, and such improvements and modifications fall within the scope of the claims of the present application.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.

Claims (10)

1. The method for transmitting the disaster recovery backup data in different places is characterized by being applied to a main site and comprising the following steps:
judging whether the number of backup data packets to be transmitted exceeds a preset value n;
if yes, merging the first n backup data packets to be transmitted into a target data packet;
encoding the data in the target data packet;
and transmitting the target data packet subjected to the coding processing to a standby station.
2. The method for transmitting disaster recovery backup data according to claim 1, wherein after determining whether the number of backup data packets to be transmitted exceeds a preset value, the method further comprises, before merging each backup data packet to be transmitted into one target data packet:
judging whether the data in each backup data packet are the same or not;
and if the data are the same, deleting the redundant data.
3. The method for transmitting disaster recovery backup data in different places according to claim 2, wherein said encoding the data in the target data packet comprises:
and carrying out Hamming code encoding processing and network encoding processing on the data in the target data packet.
4. The method for transmitting disaster recovery backup data in different places according to claim 3, wherein said performing network coding processing on data in said target data packet comprises:
and carrying out linear coding or nonlinear coding processing on the data in the target data packet.
5. The method for transmitting disaster recovery backup data according to claim 1, wherein the preset value n is a fixed value or is set according to the number of backup data packets.
6. The method for transmitting disaster recovery backup data according to any one of claims 1 to 5, wherein the determining whether the number of backup data packets to be transmitted exceeds a preset value n further comprises:
and if the number of the backup data packets to be transmitted does not exceed the preset value n, sequentially encoding each backup data packet and transmitting the backup data packets to a standby site.
7. The method for transmitting the disaster recovery backup data in different places is characterized by being applied to a standby site and comprising the following steps:
acquiring the target data packet which is transmitted by the master station and is subjected to coding processing;
decoding the data in the target data packet and recovering the original data;
the method for determining the target data packet by the master station comprises the following steps:
judging whether the number of backup data packets to be transmitted exceeds a preset value n;
if yes, merging the first n backup data packets to be transmitted into a target data packet.
8. A remote disaster recovery backup data transmission system, applied to a primary site, comprising:
the judging module is used for judging whether the number of the backup data packets to be transmitted exceeds a preset value n;
the merging module is used for merging the first n backup data packets to be transmitted into a target data packet if yes;
the processing module is used for carrying out coding processing on the data in the target data packet;
and the transmission module is used for transmitting the target data packet subjected to the coding processing to a standby station.
9. The remote disaster recovery backup data transmission device is characterized by comprising a memory for storing a computer program;
a processor for implementing the steps of the off-site disaster recovery backup data transmission method according to any one of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the method for transmitting disaster recovery backup data according to any one of claims 1 to 7 are implemented.
CN202310141514.8A 2023-02-16 2023-02-16 Remote disaster recovery backup data transmission method, system, device and medium Pending CN116319828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310141514.8A CN116319828A (en) 2023-02-16 2023-02-16 Remote disaster recovery backup data transmission method, system, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310141514.8A CN116319828A (en) 2023-02-16 2023-02-16 Remote disaster recovery backup data transmission method, system, device and medium

Publications (1)

Publication Number Publication Date
CN116319828A true CN116319828A (en) 2023-06-23

Family

ID=86824990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310141514.8A Pending CN116319828A (en) 2023-02-16 2023-02-16 Remote disaster recovery backup data transmission method, system, device and medium

Country Status (1)

Country Link
CN (1) CN116319828A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117873777A (en) * 2023-12-14 2024-04-12 杭州齐智能源科技股份有限公司 Centralized management remote disaster recovery backup system
CN117873777B (en) * 2023-12-14 2024-07-05 杭州齐智能源科技股份有限公司 Centralized management remote disaster recovery backup system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117873777A (en) * 2023-12-14 2024-04-12 杭州齐智能源科技股份有限公司 Centralized management remote disaster recovery backup system
CN117873777B (en) * 2023-12-14 2024-07-05 杭州齐智能源科技股份有限公司 Centralized management remote disaster recovery backup system

Similar Documents

Publication Publication Date Title
WO2019128707A1 (en) Rate matching and polar code encoding method and device
CN112787945B (en) Data transmission method, data transmission device, computer readable medium and electronic equipment
US10817460B2 (en) RDMA data sending and receiving methods, electronic device, and readable storage medium
US10630426B2 (en) Redundancy information for a packet data portion
US10200155B2 (en) One-way data transmission apparatus, one-way data reception apparatus, and one-way data transmission/reception method using the same
WO2021190031A1 (en) Wdm-based data transmission method, apparatus, and system, and storage medium
CN112532359B (en) Method and device for content merging at receiving end based on data retransmission data
CN109428676B (en) Method and device for synchronizing forward error correction coding and decoding modes
JP7282895B2 (en) Data retransmission decoding method, device, system and communication device
CN116319828A (en) Remote disaster recovery backup data transmission method, system, device and medium
CN113098978B (en) Data transmission method, device and medium
CN113938269B (en) File fragment uploading verification method and system
CN112491508B (en) Data transmission method and device based on transmission process self-adaption
CN116863949A (en) Communication receiving method and device thereof
CN113595685A (en) Data transmission method and device, storage medium and terminal
CN113037437A (en) Data transmission method and device
US8065374B2 (en) Application-level lossless compression
CN115085872B (en) Data processing method and device, storage medium and electronic equipment
CN112822787B (en) Method and device for generating and analyzing aggregated MPDU (MPDU), and storage medium
CN114979794B (en) Data transmission method and device
US11323135B2 (en) Polar code coding, polar code decoding method, apparatus and device
US20240004842A1 (en) Rebalance method for blockchain-based decentralized file system
CN108833182B (en) Reconstruction method of virtual link and related device
US20200278812A1 (en) Processing data access requests in accordance with a storage unit memory pressure level
CN117062102A (en) Data processing method, device, computer readable medium and electronic equipment

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