A method and system for monitoring data resumption of a break
By performing packet processing, transmission monitoring, and breakpoint verification between the data transmission end and multiple receiving ends, the problem of insufficient speed and stability of interrupted transmission resumption in existing technologies is solved, and stable collaborative transmission of multi-target transmission is achieved.
Patent Information
- Application Number
- CN202411988609.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2044-12-31
AI Technical Summary
In existing technologies, breakpoint resume can only be implemented between a data transmission end and a data receiving end. Factors such as network environment fluctuations, server capacity limitations, and user bandwidth make it impossible to effectively guarantee data transmission speed and stability, which may result in speed reduction or transmission failure.
By receiving multi-target transmission tasks, the data transmission end and multiple data receiving ends are identified, packetization and identification processing are performed, a packet transmission directory is generated, and direct transmission, same forwarding and transmission monitoring are performed between the data transmission end and multiple data receiving ends. The breakpoint receiving end is selected, the cooperating receiving end is matched, and the breakpoint data packet is determined from multiple identified data packets for cooperative transmission.
It enables breakpoint resumption during multi-target transmission, improving data transmission speed and stability, and avoiding speed drops or transmission failures.
Smart Images

Figure CN119835276B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of breakpoint resume technology, and particularly relates to a method and system for monitoring breakpoint resume transmission of data. Background Technology
[0002] Resumable transmission is a technique that allows transmission to resume from the point of interruption when the transmission is interrupted. It records the transmitted portion and related information, allowing the transmission to continue from the point of interruption rather than restarting the entire transmission process.
[0003] In existing technologies, breakpoint resumption can only be implemented between a data transmission end and a data receiving end. In practical applications, various factors such as network environment fluctuations, server capacity limitations, and user bandwidth can cause breakpoint resumption, making it impossible to effectively guarantee the speed and stability of the entire data transmission. Even if breakpoint resumption is possible, speed reduction or even transmission failure may occur. Summary of the Invention
[0004] The purpose of this invention is to provide a method and system for monitoring data interruption and resuming transmission, aiming to solve the technical problems existing in the prior art mentioned in the background.
[0005] The embodiments of the present invention are implemented as follows:
[0006] A method for resuming interrupted data transmission during monitoring, the method specifically includes the following steps:
[0007] Receive multi-target transmission tasks, determine the data transmission end and multiple data receiving ends, extract the target transmission data, perform packet segmentation and identification processing, and generate multiple identified data packets;
[0008] Based on multiple identifier data packets, a packet transmission directory is generated and sent to multiple data receiving ends;
[0009] According to the packet transmission directory, multiple identified data packets are directly transmitted, forwarded in the same way, and monitored during transmission between the data transmission end and multiple data receiving ends, and transmission monitoring data is obtained.
[0010] Based on the packet transmission directory, breakpoint verification is performed on the transmission monitoring data. From the multiple data receiving ends, the breakpoint receiving end is selected and matched with the cooperating receiving end.
[0011] From the multiple identified data packets, the breakpoint data packet is determined, and the breakpoint data packet is collaboratively transmitted to the breakpoint receiving end through the collaborative receiving end.
[0012] As a further limitation of the technical solution of this embodiment of the invention, the step of receiving a multi-target transmission task, determining the data transmission end and multiple data receiving ends, extracting the target transmission data, performing packet segmentation and identification processing, and generating multiple identified data packets specifically includes the following steps:
[0013] Receive multi-target transmission tasks;
[0014] The multi-target transmission task is identified to determine the data transmission end and multiple data receiving ends;
[0015] Extract the target transmission data from the multi-target transmission task;
[0016] Perform data packet calculations to determine the number of data packets and their start and end positions;
[0017] The target transmission data is divided into multiple basic data packets according to the number of data packets and the start and end position data;
[0018] Multiple basic data packets are identified to generate multiple identified data packets.
[0019] As a further limitation of the technical solution of this embodiment of the invention, the formula for calculating the number of data packets is:
[0020] ;
[0021] in, For the number of data packets, The size of the data to be transmitted to the target. The preset standard data packet size;
[0022] The formula for calculating the start and end position data is:
[0023] ;
[0024] ;
[0025] in, For the first The starting position of each subcontractor For the first The termination position of each sub-package, and all the start and end positions constitute the start and end position data.
[0026] As a further limitation of the technical solution of this embodiment of the invention, the step of generating a packet transmission directory based on multiple identifier data packets and sending it to multiple data receiving ends specifically includes the following steps:
[0027] Extract the sub-packet identifiers corresponding to multiple of the aforementioned identifier data sub-packets;
[0028] Record the data transmission relationship between multiple identified data packets and multiple data receiving terminals;
[0029] Based on the data transmission relationship and the multiple packet identifiers, a packet transmission directory is created;
[0030] The packet transmission directory is sent to multiple data receiving terminals.
[0031] As a further limitation of the technical solution of this embodiment of the invention, the step of directly transmitting, forwarding, and monitoring multiple identified data packets between the data transmission end and multiple data receiving ends, and obtaining transmission monitoring data according to the packet transmission directory, specifically includes the following steps:
[0032] Create a packet transmission task based on the packet transmission directory;
[0033] According to the packet transmission task, multiple identifier data packets are directly transmitted and transmission task monitored between the data transmission end and multiple data receiving ends to obtain task monitoring data.
[0034] Based on task monitoring data, select multiple identical data packages from multiple identified data packages;
[0035] The multiple identical data packets are divided into already transmitted identical packets and multiple identical packets to be transmitted;
[0036] From the multiple data receiving ends, match the receiving end that has transmitted the same sub-packet, and match the multiple receiving ends that are to be transmitted for the same sub-packet.
[0037] The already transmitted receiving end modifies the identifier of the identically transmitted packets and forwards them to multiple corresponding receiving ends to be transmitted.
[0038] Perform real-time transmission process monitoring and acquire transmission monitoring data.
[0039] As a further limitation of the technical solution of this embodiment of the invention, the step of performing breakpoint verification on the transmission monitoring data based on the packet transmission directory, selecting the breakpoint receiving end from multiple data receiving ends, and matching the cooperating receiving end specifically includes the following steps:
[0040] Based on the packet transmission directory, the transmission monitoring data is checked for breakpoints in real time to determine whether there are data transmission breakpoints.
[0041] When there is a data transmission interruption, select the interruption receiver from among the plurality of data receivers;
[0042] Obtain real-time status data from multiple data receiving terminals;
[0043] Based on the collaborative analysis of multiple real-time status data, a collaborative receiving end is matched from the multiple data receiving ends.
[0044] As a further limitation of the technical solution of this embodiment of the invention, the step of determining the breakpoint data packet from the plurality of identified data packets and coordinating the transmission of the breakpoint data packet to the breakpoint receiving end through the cooperative receiving end specifically includes the following steps:
[0045] The breakpoint data packet is determined from the multiple identified data packets;
[0046] Create a cooperative transfer command;
[0047] The breakpoint data packets and the cooperative transmission instructions are transmitted to the cooperative receiving end;
[0048] The breakpoint data is packetized and collaboratively transmitted to the breakpoint receiver via a collaborative receiving end.
[0049] A data breakpoint resumption monitoring system, the system comprising a data packet processing module, a packet directory generation module, a packet transmission monitoring module, a breakpoint verification processing module, and a packet collaborative transmission module, wherein:
[0050] The data packet processing module is used to receive multi-target transmission tasks, determine the data transmission end and multiple data receiving ends, extract the target transmission data, perform packet and identification processing, and generate multiple identified data packets.
[0051] The packet directory generation module is used to generate a packet transmission directory based on multiple identifier data packets and send it to multiple data receiving ends;
[0052] The packet transmission monitoring module is used to perform direct transmission, identical forwarding, and transmission monitoring of multiple identified data packets between the data transmission end and multiple data receiving ends, based on the packet transmission directory, and to obtain transmission monitoring data.
[0053] The breakpoint verification processing module is used to perform breakpoint verification on the transmission monitoring data based on the packet transmission directory, select the breakpoint receiving end from multiple data receiving ends, and match the cooperating receiving end.
[0054] The packet-based collaborative transmission module is used to determine the breakpoint data packet from multiple identified data packets, and to collaboratively transmit the breakpoint data packet to the breakpoint receiving end through the collaborative receiving end.
[0055] As a further limitation of the technical solution of this embodiment of the invention, the data packet processing module specifically includes:
[0056] The task receiving unit is used to receive multi-target transmission tasks;
[0057] The task identification unit is used to identify the multi-target transmission task and determine the data transmission end and multiple data receiving ends;
[0058] A data extraction unit is used to extract target transmission data from the multi-target transmission task;
[0059] The data sub-packet calculation unit is used to perform data sub-packet calculations and determine the number of data sub-packets and their start and end positions.
[0060] A data segmentation unit is used to segment the target transmission data into multiple basic data packets according to the number of data packets and the start and end position data;
[0061] The identification processing unit is used to perform identification processing on multiple basic data packets to generate multiple identification data packets.
[0062] As a further limitation of the technical solution of this embodiment of the invention, the packet transmission monitoring module specifically includes:
[0063] The task creation unit is used to create a packet transmission task according to the packet transmission directory;
[0064] The direct transmission monitoring unit is used to perform direct transmission and transmission task monitoring of multiple identified data packets between the data transmission end and multiple data receiving ends according to the packet transmission task, and to obtain task monitoring data.
[0065] The same selection unit is used to select multiple identical data packets from multiple identifier data packets based on task monitoring data;
[0066] The same partitioning unit is used to divide multiple identical data packets into transmitted identical packets and multiple identical packets to be transmitted;
[0067] The receiving end matching unit is used to match the already transmitted receiving end corresponding to the already transmitted identical sub-packet from the multiple data receiving ends, and to match the multiple receiving ends corresponding to the multiple untransmitted identical sub-packets.
[0068] The same forwarding unit is used to modify the identifier of the transmitted identical sub-packet through the transmitted receiving end, and forward it to multiple corresponding receiving ends to be transmitted.
[0069] The process monitoring unit is used to monitor the transmission process in real time and acquire transmission monitoring data.
[0070] Compared with the prior art, the beneficial effects of the present invention are:
[0071] This invention, through receiving multi-target transmission tasks, determines the data transmission end and multiple data receiving ends, and performs packet segmentation and identification processing; generates a packet transmission directory; performs direct transmission, identical forwarding, and transmission monitoring on multiple identified data packets; performs breakpoint verification on the transmission monitoring data, selects breakpoint receiving ends, and matches cooperative receiving ends; identifies breakpoint data packets from multiple identified data packets, and collaboratively transmits the breakpoint data packets to the breakpoint receiving ends through the cooperative receiving ends. This enables direct transmission, identical forwarding, and collaborative breakpoint transmission between the data transmission end and multiple data receiving ends. It not only achieves breakpoint resumption during multi-target transmission but also improves the speed and stability of data transmission through collaboration among multiple targets, effectively avoiding speed reduction or transmission failure during breakpoint resumption. Attached Figure Description
[0072] Figure 1 A flowchart of the monitoring data breakpoint resume method provided in an embodiment of the present invention is shown;
[0073] Figure 2 A flowchart illustrating the subcontracting and identification processing in the method provided by an embodiment of the present invention is shown;
[0074] Figure 3 A flowchart illustrating the generation of a packet transmission directory in the method provided by an embodiment of the present invention is shown;
[0075] Figure 4 The flowcharts for direct transmission, identical forwarding, and transmission monitoring in the method provided by the embodiments of the present invention are shown.
[0076] Figure 5 A flowchart of breakpoint verification processing in the method provided by the embodiments of the present invention is shown;
[0077] Figure 6 A flowchart illustrating the interruption point data packet collaborative transmission method provided in this embodiment of the invention is shown.
[0078] Figure 7 This diagram illustrates the application architecture of the monitoring data breakpoint resume system provided in an embodiment of the present invention.
[0079] Figure 8 This diagram illustrates the structural block diagram of the data packet processing module in the system provided by an embodiment of the present invention.
[0080] Figure 9 A structural block diagram of the packet transmission monitoring module in the system provided by an embodiment of the present invention is shown. Detailed Implementation
[0081] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0082] Understandably, in existing technologies, breakpoint resume can only be implemented between a data transmission end and a data receiving end. In practical applications, factors such as network environment fluctuations, server capacity limitations, and user bandwidth can cause breakpoint resume to result in the inability to effectively guarantee the speed and stability of the entire data transmission. Even if breakpoint resume is possible, there may be a decrease in speed or even transmission failure.
[0083] To address the aforementioned issues, this invention discloses a method and system for monitoring data resuming after interruption. The method involves receiving multi-target transmission tasks, identifying the data transmission end and multiple data receiving ends, extracting the target transmission data, performing packetization and identification processing to generate multiple identified data packets, generating a packet transmission directory based on these packets, and sending it to the multiple data receiving ends. According to the packet transmission directory, the method performs direct transmission, identical forwarding, and transmission monitoring of the multiple identified data packets between the data transmission end and the multiple data receiving ends to obtain transmission monitoring data. Based on the packet transmission directory, the method performs interruption verification on the transmission monitoring data, selects the interruption receiving end from the multiple data receiving ends, and matches a cooperating receiving end. Finally, the method identifies the interruption data packet from the multiple identified data packets and, through the cooperating receiving end, collaboratively transmits the interruption data packet to the interruption receiving end. It can perform direct transmission, same-point forwarding, and breakpoint collaborative transmission between the data transmission end and multiple data receiving ends. It can not only realize breakpoint resumption in the multi-target transmission process, but also improve the speed and stability of data transmission through the collaboration between multiple targets, effectively avoiding the situation of speed reduction or transmission failure in breakpoint resumption.
[0084] Specifically, Figure 1 A flowchart of the monitoring data breakpoint resume method provided in an embodiment of the present invention is shown.
[0085] In a preferred embodiment of the present invention, a method for resuming interrupted data transmission is provided, the method specifically including the following steps:
[0086] Step S101: Receive multi-target transmission task, determine the data transmission end and multiple data receiving ends, extract the target transmission data, perform packet segmentation and identification processing, and generate multiple identified data packets.
[0087] In this embodiment of the invention, by receiving a multi-target transmission task, the transmission target of the multi-target transmission task is identified to determine the data transmission end and multiple data receiving ends. The target transmission data to be transmitted is extracted from the multi-target transmission task. Data packetization calculation is performed on the target transmission data to determine the number of data packets and their start and end positions. Then, according to the number of data packets and their start and end positions, the target transmission data is further divided into multiple basic data packets. Based on the order of the basic data packets, packet identifiers are generated for each basic data packet. Finally, corresponding packet identifiers are added to each basic data packet to generate multiple identified data packets. Specifically, the formula for calculating the number of data packets is as follows:
[0088] ;
[0089] in, For the number of data packets, The size of the data to be transmitted to the target. The preset standard data packet size;
[0090] The formula for calculating the start and end position data is:
[0091] ;
[0092] ;
[0093] in, For the first The starting position of each subcontractor For the first The termination position of each sub-package, and all the start and end positions constitute the start and end position data.
[0094] Understandably, before packet fragmentation and identification, the network status between the data transmission end and multiple data receiving ends is detected, and the standard data packet size is adjusted based on the network status between the data transmission end and the multiple data receiving ends. When network latency is low, the standard data packet size is reduced. Increase the size of standard data packets when network latency is high. This reduces the likelihood of packet loss.
[0095] Understandably, in the formula for calculating the number of data packets, This represents the calculation of division and remainder.
[0096] Specifically, Figure 2 A flowchart illustrating the subcontracting and identification processing in the method provided by an embodiment of the present invention is shown.
[0097] In another preferred embodiment of the present invention, the steps of receiving multi-target transmission tasks, determining the data transmission end and multiple data receiving ends, extracting the target transmission data, performing packet segmentation and identification processing, and generating multiple identified data packets specifically include the following steps:
[0098] Step S1011: Receive multi-target transmission task.
[0099] Step S1012: Identify the multi-target transmission task and determine the data transmission end and multiple data receiving ends.
[0100] Step S1013: Extract target transmission data from the multi-target transmission task.
[0101] Step S1014: Perform data packet calculation to determine the number of data packets and the start and end positions of the data packets.
[0102] Step S1015: Divide the target transmission data into multiple basic data packets according to the number of data packets and the start and end position data.
[0103] Step S1016: Identify the multiple basic data packets to generate multiple identified data packets.
[0104] Furthermore, the monitoring data breakpoint resume method also includes the following steps:
[0105] Step S102: Based on multiple identifier data packets, generate a packet transmission directory and send it to multiple data receiving ends.
[0106] In this embodiment of the invention, by extracting the sub-packet identifiers corresponding to multiple identifier data sub-packets and analyzing the multi-target transmission task, the data transmission relationship between multiple identifier data sub-packets and multiple data receiving ends is recorded. Then, based on the data transmission relationship and multiple sub-packet identifiers, a sub-packet transmission directory is created and sent to multiple data receiving ends.
[0107] Specifically, Figure 3 A flowchart illustrating the generation of a packet transmission directory in the method provided by an embodiment of the present invention is shown.
[0108] In another preferred embodiment of the present invention, the step of generating a packet transmission directory based on multiple identifier data packets and sending it to multiple data receiving ends specifically includes the following steps:
[0109] Step S1021: Extract the sub-packet identifiers corresponding to the multiple identified data sub-packets.
[0110] Step S1022: Record the data transmission relationship between the multiple identification data packets and the multiple data receiving terminals.
[0111] Step S1023: Create a packet transmission directory based on the data transmission relationship and multiple packet identifiers.
[0112] Step S1024: Send the packet transmission directory to multiple data receiving terminals.
[0113] Furthermore, the monitoring data breakpoint resume method also includes the following steps:
[0114] Step S103: According to the packet transmission directory, between the data transmission end and multiple data receiving ends, multiple identified data packets are directly transmitted, forwarded in the same way, and monitored for transmission to obtain transmission monitoring data.
[0115] In this embodiment of the invention, a packet transmission task is created according to the packet transmission directory. According to the packet transmission task, multiple identified data packets are directly transmitted between the data transmission end and multiple data receiving ends. Transmission task monitoring is performed to obtain task monitoring data. Then, based on the task monitoring data, multiple identical data packets are selected from the multiple identified data packets. According to the transmission status of the multiple identical data packets, they are divided into transmitted identical packets and pending identical packets. Then, from the multiple data receiving ends, the transmitted receivers corresponding to the transmitted identical packets are matched, and the pending identical packets corresponding to the pending identical packets are matched. When the pending identical packets need to be transmitted, the transmitted receivers modify the identifiers of the transmitted identical packets according to the packet identifiers corresponding to the pending identical packets, and forward them to the multiple corresponding pending identical receivers. This eliminates the need for the data transmission end to transmit the multiple pending identical packets, reducing the amount of data directly transmitted, alleviating queuing congestion, and performing real-time transmission process monitoring to obtain transmission monitoring data.
[0116] It is understandable that transmission task monitoring is a process based on packet transmission tasks, which involves monitoring whether multiple identified data packets have been transmitted, not transmitted, and their contents.
[0117] It is understandable that multiple identical data packets contain the same data; the condition for selecting multiple identical data packets is that one of the identical data packets has been transmitted.
[0118] Understandably, transmission process monitoring involves monitoring the transmission results of the identified data packets being transmitted, providing support for subsequent breakpoint detection.
[0119] Specifically, Figure 4 The flowcharts for direct transmission, identical forwarding, and transmission monitoring in the method provided by the embodiments of the present invention are shown.
[0120] In another preferred embodiment of the present invention, the step of directly transmitting, forwarding, and monitoring multiple identified data packets between the data transmission end and multiple data receiving ends, and obtaining transmission monitoring data according to the packet transmission directory, specifically includes the following steps:
[0121] Step S1031: Create a packet transmission task according to the packet transmission directory.
[0122] Step S1032: According to the packet transmission task, multiple identifier data packets are directly transmitted and transmission task monitored between the data transmission end and multiple data receiving ends to obtain task monitoring data.
[0123] Step S1033: Based on the task monitoring data, select multiple identical data packages from multiple identifier data packages.
[0124] Step S1034: Divide the multiple identical data packets into transmitted identical packets and multiple identical packets to be transmitted.
[0125] Step S1035: From the multiple data receiving ends, match the receiving end corresponding to the transmitted identical sub-packet, and match the multiple receiving ends corresponding to the multiple untransmitted identical sub-packets.
[0126] Step S1036: Modify the identifier of the transmitted identical sub-packets through the transmitted receiving end, and forward them to multiple corresponding receiving ends to be transmitted.
[0127] Step S1037: Perform real-time transmission process monitoring and obtain transmission monitoring data.
[0128] Furthermore, the monitoring data breakpoint resume method also includes the following steps:
[0129] Step S104: Based on the packet transmission directory, perform breakpoint verification on the transmission monitoring data, select the breakpoint receiver from multiple data receivers, and match the cooperating receiver.
[0130] In this embodiment of the invention, based on the packet transmission directory, real-time breakpoint verification is performed on the transmission monitoring data to determine whether there is a data transmission breakpoint. When it is determined that there is a data transmission breakpoint, the breakpoint receiver is selected from multiple data receivers, and the real-time status data of multiple data receivers is obtained. Then, the collaborative status is compared based on the multiple real-time status data, and the collaborative receiver with the best collaborative status is selected from multiple data receivers.
[0131] It is understandable that collaborative state comparison is a process of comparing the network states of multiple data receivers.
[0132] Specifically, Figure 5 A flowchart of breakpoint verification processing in the method provided by an embodiment of the present invention is shown.
[0133] In another preferred embodiment of the present invention, the step of performing breakpoint verification on the transmission monitoring data based on the packet transmission directory, selecting a breakpoint receiver from multiple data receivers, and matching a cooperating receiver specifically includes the following steps:
[0134] Step S1041: Based on the packet transmission directory, perform real-time breakpoint verification on the transmission monitoring data to determine whether there are data transmission breakpoints.
[0135] Step S1042: When there is a data transmission interruption, select the interruption receiver from the plurality of data receivers.
[0136] Step S1043: Obtain real-time status data from multiple data receiving terminals.
[0137] Step S1044: Perform collaborative analysis based on multiple real-time status data, and match collaborative receiving ends from multiple data receiving ends.
[0138] Furthermore, the monitoring data breakpoint resume method also includes the following steps:
[0139] Step S105: Determine the breakpoint data packet from the multiple identified data packets, and transmit the breakpoint data packet to the breakpoint receiving end through the collaborative receiving end.
[0140] In this embodiment of the invention, based on transmission monitoring data, a breakpoint data packet is determined from multiple identified data packets, a collaborative transmission instruction is created, and the breakpoint data packet and the collaborative transmission instruction are transmitted to the collaborative receiving end, so that the collaborative receiving end can respond to the collaborative transmission instruction and collaboratively transmit the breakpoint data packet to the breakpoint receiving end, thereby realizing data interruption resumption.
[0141] Specifically, Figure 6 A flowchart illustrating the interruption point data packet collaborative transmission method provided in an embodiment of the present invention is shown.
[0142] In another preferred embodiment of the present invention, determining the breakpoint data packet from the plurality of identified data packets and coordinating the transmission of the breakpoint data packet to the breakpoint receiving end through the cooperative receiving end specifically includes the following steps:
[0143] Step S1051: Determine the breakpoint data packet from the multiple identified data packets.
[0144] Step S1052: Create a cooperative transmission command.
[0145] Step S1053: Transmit the breakpoint data packets and the cooperative transmission instructions to the cooperative receiving end.
[0146] Step S1054: The breakpoint data is packetized and collaboratively transmitted to the breakpoint receiver via the collaborative receiver.
[0147] Furthermore, Figure 7 The application architecture diagram of the monitoring data breakpoint resume system provided in the embodiment of the present invention is shown.
[0148] Specifically, in another preferred embodiment provided by the present invention, a monitoring data breakpoint resume system includes:
[0149] The data packet processing module 101 is used to receive multi-target transmission tasks, determine the data transmission end and multiple data receiving ends, extract the target transmission data, perform packet and identification processing, and generate multiple identified data packets.
[0150] In this embodiment of the invention, the data packet processing module 101 receives a multi-target transmission task, identifies the transmission target of the multi-target transmission task, determines the data transmission end and multiple data receiving ends, extracts the target transmission data to be transmitted from the multi-target transmission task, calculates the number of data packets and the start and end position data by performing data packetization on the target transmission data, and then performs data packetization processing on the target transmission data according to the number of data packets and the start and end position data, dividing the target transmission data into multiple basic data packets, and generating packet identifiers corresponding to multiple basic data packets according to the division order of the multiple basic data packets, and then adding corresponding packet identifiers to the multiple basic data packets to generate multiple identified data packets. Specifically, the formula for calculating the number of data packets is:
[0151] ;
[0152] in, For the number of data packets, The size of the data to be transmitted to the target. The preset standard data packet size;
[0153] The formula for calculating the start and end position data is:
[0154] ;
[0155] ;
[0156] in, For the first The starting position of each subcontractor For the first The termination position of each sub-package, and all the start and end positions constitute the start and end position data.
[0157] Furthermore, Figure 8 The diagram shows the structural block diagram of the data packet processing module 101 in the system provided by the embodiment of the present invention.
[0158] Specifically, in another preferred embodiment provided by the present invention, the data packet processing module 101 specifically includes:
[0159] The task receiving unit 1011 is used to receive multi-target transmission tasks.
[0160] The task identification unit 1012 is used to identify the multi-target transmission task and determine the data transmission end and multiple data receiving ends.
[0161] The data extraction unit 1013 is used to extract target transmission data from the multi-target transmission task.
[0162] The data sub-packet calculation unit 1014 is used to perform data sub-packet calculation and determine the number of data sub-packets and the start and end position data.
[0163] The data segmentation unit 1015 is used to segment the target transmission data into multiple basic data packets according to the number of data packets and the start and end position data.
[0164] The identification processing unit 1016 is used to perform identification processing on multiple basic data packets to generate multiple identification data packets.
[0165] Furthermore, the monitoring data breakpoint resume system also includes:
[0166] The packet directory generation module 102 is used to generate a packet transmission directory based on multiple identifier data packets and send it to multiple data receiving ends.
[0167] In this embodiment of the invention, the packet directory generation module 102 extracts the packet identifiers corresponding to multiple identifier data packets, analyzes the multi-target transmission task, records the data transmission relationship between multiple identifier data packets and multiple data receiving ends, and then creates a packet transmission directory based on the data transmission relationship and multiple packet identifiers, and sends the packet transmission directory to multiple data receiving ends.
[0168] The packet transmission monitoring module 103 is used to perform direct transmission, same forwarding and transmission monitoring of multiple identified data packets between the data transmission end and multiple data receiving ends according to the packet transmission directory, and to obtain transmission monitoring data.
[0169] In this embodiment of the invention, the packet transmission monitoring module 103 creates a packet transmission task according to the packet transmission directory. According to the packet transmission task, it directly transmits multiple identified data packets between the data transmission end and multiple data receiving ends, and monitors the transmission task to obtain task monitoring data. Then, based on the task monitoring data, it selects multiple identical data packets from the multiple identified data packets. According to the transmission status of the multiple identical data packets, it divides the multiple identical data packets into transmitted identical packets and multiple identical packets to be transmitted. Then, it matches the transmitted receivers corresponding to the transmitted identical packets from the multiple data receiving ends, and matches the multiple receivers to be transmitted corresponding to the multiple identical packets to be transmitted. When multiple identical packets to be transmitted need to be transmitted, the transmitted receivers modify the identifiers of the transmitted identical packets according to the packet identifiers corresponding to the multiple identical packets to be transmitted, and forward them to the multiple corresponding receivers to be transmitted, without requiring the data transmission end to transmit the multiple identical packets to be transmitted. This reduces the amount of data directly transmitted, alleviates queuing and congestion, and performs real-time transmission process monitoring to obtain transmission monitoring data.
[0170] Furthermore, Figure 9 The diagram shows the structural block diagram of the packet transmission monitoring module 103 in the system provided by an embodiment of the present invention.
[0171] Specifically, in another preferred embodiment provided by the present invention, the packet transmission monitoring module 103 specifically includes:
[0172] The task creation unit 1031 is used to create a packet transmission task according to the packet transmission directory.
[0173] The direct transmission monitoring unit 1032 is used to perform direct transmission and transmission task monitoring of multiple identified data packets between the data transmission end and multiple data receiving ends according to the packet transmission task, and to obtain task monitoring data.
[0174] The same selection unit 1033 is used to select multiple identical data packets from multiple identifier data packets based on task monitoring data.
[0175] The same partitioning unit 1034 is used to divide the multiple identical data packets into transmitted identical packets and multiple identical packets to be transmitted.
[0176] The receiving end matching unit 1035 is used to match the already transmitted receiving end corresponding to the already transmitted identical sub-packet from the plurality of data receiving ends, and to match the plurality of waiting receiving ends corresponding to the plurality of untransmitted identical sub-packets.
[0177] The same forwarding unit 1036 is used to modify the identifier of the transmitted identical sub-packet through the transmitted receiving end, and forward it to multiple corresponding receiving ends to be transmitted.
[0178] The process monitoring unit 1037 is used to perform real-time transmission process monitoring and acquire transmission monitoring data.
[0179] Furthermore, the monitoring data breakpoint resume system also includes:
[0180] The breakpoint verification processing module 104 is used to perform breakpoint verification on the transmission monitoring data based on the packet transmission directory, select the breakpoint receiving end from multiple data receiving ends, and match the cooperating receiving end.
[0181] In this embodiment of the invention, the breakpoint verification processing module 104 performs real-time breakpoint verification on the transmission monitoring data based on the packet transmission directory to determine whether there is a data transmission breakpoint. When it is determined that there is a data transmission breakpoint, the breakpoint receiving end is selected from multiple data receiving ends, and the real-time status data of multiple data receiving ends is obtained. Then, the collaborative status is compared based on the multiple real-time status data, and the collaborative receiving end with the best collaborative status is selected from multiple data receiving ends.
[0182] The packet-based collaborative transmission module 105 is used to determine the breakpoint data packet from multiple identified data packets, and to collaboratively transmit the breakpoint data packet to the breakpoint receiving end through the collaborative receiving end.
[0183] In this embodiment of the invention, the packet collaborative transmission module 105 determines the breakpoint data packet from multiple identified data packets based on transmission monitoring data, creates a collaborative transmission instruction, and transmits the breakpoint data packet and the collaborative transmission instruction to the collaborative receiving end, so that the collaborative receiving end can respond to the collaborative transmission instruction and collaboratively transmit the breakpoint data packet to the breakpoint receiving end, thereby realizing the resumption of data transmission at the breakpoint.
[0184] It should be understood that although the steps in the flowcharts of the various embodiments of the present invention are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the various embodiments may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.
[0185] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0186] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.
Claims
1. A method for resuming interrupted data transmission during monitoring, characterized in that, The method specifically includes the following steps: Receive multi-target transmission tasks, determine the data transmission end and multiple data receiving ends, extract the target transmission data, perform packetization and identification processing, and generate multiple identified data packets; Based on multiple identifier data packets, a packet transmission directory is generated and sent to multiple data receiving ends; According to the packet transmission directory, multiple identified data packets are directly transmitted, forwarded in the same way, and monitored during transmission between the data transmission end and multiple data receiving ends, and transmission monitoring data is obtained. Based on the packet transmission directory, breakpoint verification is performed on the transmission monitoring data. From the multiple data receiving ends, the breakpoint receiving end is selected and matched with the cooperating receiving end. From the multiple identified data packets, the breakpoint data packet is determined, and the breakpoint data packet is collaboratively transmitted to the breakpoint receiving end through the collaborative receiving end; The step of directly transmitting, forwarding, and monitoring multiple identified data packets between the data transmission end and multiple data receiving ends, and obtaining transmission monitoring data according to the packet transmission directory, specifically includes the following steps: Create a packet transmission task based on the packet transmission directory; According to the packet transmission task, multiple identifier data packets are directly transmitted and transmission task monitored between the data transmission end and multiple data receiving ends to obtain task monitoring data. Based on task monitoring data, select multiple identical data packages from multiple identified data packages; The multiple identical data packets are divided into already transmitted identical packets and multiple identical packets to be transmitted; From the multiple data receiving ends, match the receiving end that has transmitted the same sub-packet, and match the multiple receiving ends that are to be transmitted for the same sub-packet. The already transmitted receiving end modifies the identifier of the identically transmitted packets and forwards them to multiple corresponding receiving ends to be transmitted. Perform real-time transmission process monitoring and acquire transmission monitoring data; The step of performing breakpoint verification on the transmission monitoring data based on the packet transmission directory, selecting the breakpoint receiver from multiple data receivers, and matching the cooperating receiver specifically includes the following steps: Based on the packet transmission directory, the transmission monitoring data is checked for breakpoints in real time to determine whether there are data transmission breakpoints. When there is a data transmission interruption, select the interruption receiver from among the plurality of data receivers; Obtain real-time status data from multiple data receiving terminals; Based on the collaborative analysis of multiple real-time status data, a collaborative receiving end is matched from the multiple data receiving ends.
2. The monitoring data breakpoint resumption method according to claim 1, characterized in that, The process of receiving multi-target transmission tasks, determining the data transmission end and multiple data receiving ends, extracting the target transmission data, performing packet segmentation and identification processing, and generating multiple identified data packets specifically includes the following steps: Receive multi-target transmission tasks; The multi-target transmission task is identified to determine the data transmission end and multiple data receiving ends; Extract the target transmission data from the multi-target transmission task; Perform data packet calculations to determine the number of data packets and their start and end positions; The target transmission data is divided into multiple basic data packets according to the number of data packets and the start and end position data; Multiple basic data packets are identified to generate multiple identified data packets.
3. The monitoring data breakpoint resumption method according to claim 2, characterized in that, The formula for calculating the number of data packets is: ; in, For the number of data packets, The size of the data to be transmitted to the target. The preset standard data packet size; The formula for calculating the start and end position data is: ; ; in, For the first The starting position of each subcontractor For the first The termination position of each sub-package, and all the start and end positions constitute the start and end position data.
4. The monitoring data breakpoint resumption method according to claim 1, characterized in that, The process of generating a packet transmission directory based on multiple identifier data packets and sending it to multiple data receiving ends specifically includes the following steps: Extract the sub-packet identifiers corresponding to multiple of the aforementioned identifier data sub-packets; Record the data transmission relationship between multiple identified data packets and multiple data receiving terminals; Based on the data transmission relationship and the multiple packet identifiers, a packet transmission directory is created; The packet transmission directory is sent to multiple data receiving terminals.
5. The monitoring data breakpoint resumption method according to claim 1, characterized in that, The step of determining the breakpoint data packet from multiple identified data packets and then collaboratively transmitting the breakpoint data packet to the collaborative receiving end specifically includes the following steps: The breakpoint data packet is determined from the multiple identified data packets; Create a cooperative transfer command; The breakpoint data packets and the cooperative transmission instructions are transmitted to the cooperative receiving end; The breakpoint data is packetized and collaboratively transmitted to the breakpoint receiver via a collaborative receiving end.
6. A monitoring data breakpoint resumption system for executing the monitoring data breakpoint resumption method as described in any one of claims 1-5, characterized in that, The system includes a data packet processing module, a packet directory generation module, a packet transmission monitoring module, a breakpoint verification and processing module, and a packet collaborative transmission module, wherein: The data packet processing module is used to receive multi-target transmission tasks, determine the data transmission end and multiple data receiving ends, extract the target transmission data, perform packet and identification processing, and generate multiple identified data packets. The packet directory generation module is used to generate a packet transmission directory based on multiple identifier data packets and send it to multiple data receiving ends; The packet transmission monitoring module is used to perform direct transmission, identical forwarding, and transmission monitoring of multiple identified data packets between the data transmission end and multiple data receiving ends, based on the packet transmission directory, and to obtain transmission monitoring data. The breakpoint verification processing module is used to perform breakpoint verification on the transmission monitoring data based on the packet transmission directory, select the breakpoint receiving end from multiple data receiving ends, and match the cooperating receiving end. The packet-based collaborative transmission module is used to determine the breakpoint data packet from multiple identified data packets, and to collaboratively transmit the breakpoint data packet to the breakpoint receiving end through the collaborative receiving end.
7. The monitoring data breakpoint resume system according to claim 6, characterized in that, The data packet processing module specifically includes: The task receiving unit is used to receive multi-target transmission tasks; The task identification unit is used to identify the multi-target transmission task and determine the data transmission end and multiple data receiving ends; A data extraction unit is used to extract target transmission data from the multi-target transmission task; The data sub-packet calculation unit is used to perform data sub-packet calculations and determine the number of data sub-packets and their start and end positions. A data segmentation unit is used to segment the target transmission data into multiple basic data packets according to the number of data packets and the start and end position data; The identification processing unit is used to perform identification processing on multiple basic data packets to generate multiple identification data packets.
8. The monitoring data breakpoint resume system according to claim 6, characterized in that, The packet transmission monitoring module specifically includes: The task creation unit is used to create a packet transmission task according to the packet transmission directory; The direct transmission monitoring unit is used to perform direct transmission and transmission task monitoring of multiple identified data packets between the data transmission end and multiple data receiving ends according to the packet transmission task, and to obtain task monitoring data. The same selection unit is used to select multiple identical data packets from multiple identifier data packets based on task monitoring data; The same partitioning unit is used to divide multiple identical data packets into transmitted identical packets and multiple identical packets to be transmitted; The receiving end matching unit is used to match the already transmitted receiving end corresponding to the already transmitted identical sub-packet from the multiple data receiving ends, and to match the multiple receiving ends corresponding to the multiple untransmitted identical sub-packets. The same forwarding unit is used to modify the identifier of the transmitted identical sub-packet through the transmitted receiving end, and forward it to multiple corresponding receiving ends to be transmitted. The process monitoring unit is used to monitor the transmission process in real time and acquire transmission monitoring data.
Citation Information
Patent Citations
Local storage time-sharing transmission method
CN112235627A
Mirror image file uploading method, related equipment and computer storage medium
CN113411363A