Method, system and device for retransmission and error correction of communication packet loss and storage medium
By monitoring and analyzing network status in real time, dynamically adjusting retransmission parameters and creating dedicated transmission channels, the problem of insufficient communication transmission efficiency and error correction capabilities in complex network environments is solved, and efficient and reliable data transmission is achieved.
Patent Information
- Application Number
- CN202411121440.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-12-10
AI Technical Summary
The prior art is difficult to effectively improve the retransmission efficiency and error correction capabilities in communication transmission in complex network environments, and the existing error correction methods have limited effects on different types of packet loss and errors.
By monitoring network status in real time, analyzing packet loss events, combining historical transmission data and packet loss analysis information, dynamically determine the packet loss compensation mode, and adopting adaptive retransmission parameter adjustment and dedicated transmission channel creation to optimize transmission efficiency and reliability.
It improves the retransmission efficiency and error correction capabilities in communication transmission, ensures transmission efficiency and reliability under different network conditions, and provides sufficient bandwidth for critical data packets when network congestion, ensuring rapid processing.
Smart Images

Figure CN119109559A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data retransmission, and in particular to a communication packet loss retransmission and error correction method, system, device and storage medium. Background Art
[0002] With the continuous development of network technology, wireless network communication has become an indispensable part of people's daily life and work. However, during the network transmission process, packet loss caused by various reasons (such as network congestion, signal interference, etc.) often occurs, which seriously affects the communication quality and user experience. At present, a retransmission mechanism is usually used to compensate for the packet loss problem, but in practical applications, a fixed retransmission strategy is mainly used, that is, when packet loss is detected, retransmission is performed immediately. However, this method is often difficult to achieve ideal results in complex and changeable network environments. In addition, the existing error correction methods mostly use a single error correction algorithm, and the error correction effect is limited for different types of packet loss and errors.
[0003] Based on this, how to improve the retransmission efficiency and error correction capability in communication transmission to match the communication needs in the current complex network environment is a technical problem that needs to be solved urgently. Summary of the invention
[0004] The embodiments of the present application provide a communication packet loss retransmission and error correction method, system, device and storage medium, which can achieve the beneficial effect of improving the retransmission efficiency and error correction capability in communication transmission to match the communication needs in the current complex network environment.
[0005] The first aspect of the present application provides a method for retransmission and error correction of communication packet loss: a method for retransmission and error correction of communication packet loss, the method comprising: Monitor the current network transmission status in real time to determine whether there is a packet loss event; If the data packet loss event occurs, historical transmission data is obtained, where the historical transmission data is the packet loss record information during the communication process; Analyze the data packet loss event in combination with the network transmission status and the historical transmission data to obtain packet loss analysis information; The corresponding packet loss compensation mode is determined in combination with the current network transmission status, the packet loss analysis information and the priority of the corresponding lost data packet in the data packet loss event.
[0006] By adopting the above technical solution, the network status is monitored in real time to obtain whether there is a packet loss event. After a packet loss event occurs, retransmission will not be performed immediately, but the cause of packet loss analysis will be triggered. The cause of packet loss is analyzed through relevant network diagnostic tools and historical transmission data to obtain packet loss analysis information. The packet loss analysis information may be network congestion, signal attenuation, etc., and then the corresponding packet loss compensation mode is determined according to the packet loss analysis information. The packet loss compensation mode is adapted to the transmission priority of the data packet, the specific cause of packet loss and the current network status, and dynamically determines whether the data packet adopts immediate retransmission, delayed retransmission or other compensation methods, so as to adapt to various situations and improve the beneficial effects of retransmission efficiency and error correction capability in communication transmission.
[0007] Optionally, the method comprises: Obtain a first objective function, where the first objective function is used to adaptively adjust the packet loss compensation mode according to the network transmission state, and the first objective function is: The first objective function = α1×transmission efficiency+β1×reliability-γ×delay control, where α1 and β2 are weight parameters used to balance the weight ratio of transmission efficiency and reliability, and γ is a parameter used to control delay, and the value of γ is inversely proportional to the tolerance of network transmission delay.
[0008] By adopting the above technical solution, the first objective function is used to adaptively adjust the retransmission parameters, wherein the transmission efficiency is used to ensure that the data transmission rate is increased as much as possible when the network conditions are good; the reliability is used to ensure the reliability of data transmission when the network conditions are poor or there is packet loss; the delay control is used to balance the transmission efficiency and reliability when the network delay is high or the network is congested, so as to ensure that the data transmission will not cause a serious increase in delay due to excessive retransmissions. That is, in combination with the current network status, the retransmission parameters are dynamically adjusted to achieve the goal of ensuring both the transmission efficiency and the reliability and delay control of data transmission under different network conditions.
[0009] Optionally, the method further includes: Determining whether the priority corresponding to the lost data packet exceeds a preset priority threshold; If the priority corresponding to the lost data packet exceeds the priority threshold, the lost data packet is determined to be a high priority packet loss, and a dedicated transmission channel for the lost data packet is created. The dedicated transmission channel is the transmission channel used for retransmitting the lost data packet in the packet loss compensation mode.
[0010] By adopting the above technical solution, an acceleration channel is opened for key data packets whose priority exceeds the preset priority threshold, ensuring that they can still obtain sufficient bandwidth resources for compensatory transmission in situations such as network congestion, thereby ensuring that key data or tasks are processed more quickly.
[0011] Optionally, the method further includes: Obtain a second objective function, where the second objective function is used to adjust the transmission rate of the dedicated transmission channel according to the priority corresponding to the lost data packet, and the second objective function is: The second objective function=α2×priority+β2×transmission rate, wherein α2 and β2 are weight parameters used to balance the priority corresponding to the lost data packet and the transmission rate of the dedicated transmission channel.
[0012] By adopting the above technical solution, when a dedicated retransmission channel is opened for high-priority lost packets, the corresponding second objective function is obtained, and α2 and β2 are dynamically adjusted as weight parameters to optimize the second objective function, wherein the priority is the packet priority corresponding to the lost data packet, and the transmission rate is the transmission rate dedicated to the channel. By optimizing this objective function, it is possible to create a high-priority transmission channel for critical data packets and ensure that the channel has a higher transmission rate, thereby maximizing the transmission efficiency and reliability of critical data packets.
[0013] Optionally, the method further includes: Determine whether the number of high priority packet losses exceeds a preset high priority packet loss number threshold; If the number of high-priority packet losses exceeds the preset high-priority packet loss number threshold, sorting the priorities corresponding to all the high-priority packet losses from high to low to obtain a sorting result; A corresponding dedicated transmission channel is created for one or more high-priority lost packets whose priorities are before a preset priority ranking in the sorting result.
[0014] By adopting the above technical solution, when there are multiple priorities exceeding the priority threshold, in order to ensure the reliability of the dedicated transmission channel, the data packets should be sorted according to the priority. The sorting can be performed according to the quantitative value of the priority to obtain the sorting result, and then the number of preset priority rankings is determined according to the current network's carrying capacity, and an accelerated dedicated transmission channel is established for the corresponding number of data packets.
[0015] Optionally, the method further includes: Determining packet loss trend information within a preset period based on the historical transmission data within the preset period; According to the packet loss trend information, one or more high-frequency packet loss time periods are determined, and the high-frequency packet loss time periods are used to limit the speed of data packets below the priority threshold if the current moment is in the high-frequency packet loss time period.
[0016] By adopting the above technical solutions, historical transmission data records the performance of the network over a period of time, including key indicators such as data transmission success rate, speed fluctuation, and packet loss rate. By analyzing these historical data, we can find the periodic pattern of network performance problems, identify performance bottlenecks in specific time periods or conditions, and even predict possible problems in the future, so as to determine that except for the high-frequency packet loss time periods, the network may experience peak traffic or regular maintenance activities during these periods. During the high-frequency packet loss period, low-priority data packets can be restricted to ensure the transmission of critical data.
[0017] Optionally, the packet loss compensation mode is one or more packet loss compensation measures among immediate retransmission, delayed retransmission, forward error correction and redundant retransmission.
[0018] The second aspect of the present application provides a communication packet loss retransmission and error correction system, including: Real-time network monitoring module, used to monitor the current network transmission status in real time to determine whether there is a data packet loss event; A historical data acquisition module, used to acquire historical transmission data if the data packet loss event occurs, wherein the historical transmission data is the packet loss record information during the communication process; A packet loss reason analysis module, used to analyze the data packet loss event in combination with the network transmission status and the historical transmission data to obtain packet loss analysis information; The compensation mode determination module is used to determine the corresponding packet loss compensation mode in combination with the current network transmission status, the packet loss analysis information and the priority of the corresponding lost data packet in the data packet loss event.
[0019] A third aspect of the present application provides a device including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the above-mentioned communication packet loss retransmission and error correction method.
[0020] A fourth aspect of the present application provides a storage medium storing a computer program that can be loaded by a processor and execute the above-mentioned communication packet loss retransmission and error correction method.
[0021] In summary, the present application includes at least one of the following beneficial effects: 1. Monitor the network status in real time to determine whether there is a packet loss event. After a packet loss event occurs, retransmission will not be performed immediately, but the cause of packet loss analysis will be triggered. Through relevant network diagnostic tools and historical transmission data, the cause of packet loss is analyzed to obtain packet loss analysis information. The packet loss analysis information can be network congestion, signal attenuation, etc., and then the corresponding packet loss compensation mode is determined according to the packet loss analysis information. The packet loss compensation mode is adapted to the transmission priority of the data packet, the specific cause of packet loss and the current network status, and dynamically determines whether the data packet adopts immediate retransmission, delayed retransmission or other compensation methods, so as to adapt to various situations and improve the retransmission efficiency and error correction capability in communication transmission.
[0022] 2. The first objective function is used to adaptively adjust the retransmission parameters, where transmission efficiency is used to ensure that the data transmission rate is increased as much as possible when the network conditions are good; reliability is used to ensure the reliability of data transmission when the network conditions are poor or there is packet loss; delay control is used to balance transmission efficiency and reliability when the network delay is high or the network is congested, so as to ensure that data transmission will not cause serious delay increase due to excessive retransmissions. That is, combined with the current network status, the retransmission parameters are dynamically adjusted to achieve the goal of ensuring both transmission efficiency and data transmission reliability and delay control under different network conditions.
[0023] 3. Open an acceleration channel for critical data packets whose priority exceeds the preset priority threshold to ensure that they can still obtain sufficient bandwidth resources for compensatory transmission under network congestion and other conditions, thereby ensuring that critical data or tasks are processed more quickly. When a dedicated retransmission channel is opened for high-priority lost packets, the corresponding second objective function is obtained, and α2 and β2 are dynamically adjusted as weight parameters to optimize the second objective function, where the priority is the packet priority corresponding to the lost data packet, and the transmission rate is the transmission rate dedicated to the channel. Optimizing this objective function can create a high-priority transmission channel for critical data packets and ensure that the channel has a high transmission rate, thereby maximizing the transmission efficiency and reliability of critical data packets. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a flow chart of a communication packet loss retransmission and error correction method provided in an embodiment of the present application; Figure 2 It is a virtual structural diagram of the communication packet loss retransmission and error correction system provided by the present application. DETAILED DESCRIPTION
[0025] The following examples will help those skilled in the art to further understand the effects of the present application, but are not intended to limit the present application in any form. It should be noted that, for those of ordinary skill in the art, several modifications and improvements may be made without departing from the concept of the present application. These all fall within the scope of protection of the present application.
[0026] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0027] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0028] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0029] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0030] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0031] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0032] In order to make the purpose, technical solutions and advantages of the present application clearer, the communication packet loss retransmission and error correction method of the present application is explained below from the perspective of the communication packet loss retransmission and error correction device. The communication packet loss retransmission and error correction device can be an electronic device, which can be, for example, a mobile phone terminal, a computer terminal and other devices.
[0033] The present application is further described in detail below in conjunction with the accompanying drawings.
[0034] Reference Figure 1 , is a flow chart of retransmission and error correction of communication packet loss provided in an embodiment of the present application, the method includes the following steps, which are specifically described below: In step S1, the current network transmission status is monitored in real time to determine whether there is a data packet loss event.
[0035] Specifically, real-time monitoring of network transmission status refers to continuously tracking the performance and health of the network through a series of network monitoring tools and technologies. This includes detecting network traffic, bandwidth usage, latency, and data packet transmission, etc. In this process, data packet loss events (referred to as packet loss) may occur. Packet loss refers to the situation where a data packet fails to successfully reach the target during network transmission. Packet loss may be caused by a variety of reasons, including but not limited to network congestion, hardware failure, software error or security issues, etc. Therefore, in this application, packet retransmission will not be performed immediately, but packet loss will be further analyzed.
[0036] In step S2, if the data packet loss event occurs, historical transmission data is obtained.
[0037] Specifically, if it is determined that there is packet loss, the historical transmission data of the network transmission is obtained. The reasons for packet loss may involve various factors, including but not limited to physical line failure, equipment failure, virus attack, routing information error, network congestion, network delay, malicious attack, etc. Real-time monitoring of network status can provide the health of the current network. For example, network delay or packet loss detected by the ping command can immediately reflect the quality of the network connection.
[0038] However, these real-time data can only provide the current network status, but are not enough to explain the historical trends and potential causes of this situation. The historical transmission data records the performance of the network over a period of time in the past, including key indicators such as the success rate of data transmission, speed fluctuations, and packet loss rate. By analyzing these historical data, you can discover the periodic patterns of network performance problems, identify performance bottlenecks under specific time periods or conditions, and even predict possible problems in the future. For example, if packet loss occurs at a certain time of day, it may be that the network experiences peak traffic during these times. In this case, the corresponding high-frequency time period can be determined to avoid the loss of key data packets during the peak traffic time period. The following is a detailed explanation: Determining packet loss trend information within a preset period based on the historical transmission data within the preset period; According to the packet loss trend information, one or more high-frequency packet loss time periods are determined, and the high-frequency packet loss time periods are used to limit the speed of data packets below the priority threshold if the current moment is in the high-frequency packet loss time period.
[0039] Specifically, the preset period can be preset by relevant personnel according to actual needs, and the historical transmission data within the preset period is obtained, and the historical transmission data is analyzed to determine the packet loss trend information, obtain each packet loss record and the corresponding time point, and determine whether there is a time period with high-frequency packet loss. The judgment method of high-frequency packet loss can be that the probability of occurrence of packet loss events in a certain time period exceeds the preset frequency threshold, and the corresponding time period is determined to be a high-frequency packet loss time period. In the high-frequency packet loss time period, in order to maintain the normal transmission of high-priority data packets, the transmission of data packets below a certain priority threshold can be limited. Among them, in order to prioritize, quantitative methods such as scores and levels can be used to determine the priority of different data packets.
[0040] In step S3, the data packet loss event is analyzed in combination with the network transmission status and the historical transmission data to obtain packet loss analysis information.
[0041] Specifically, the network can be diagnosed through relevant network diagnostic tools to further determine the current network transmission status, including but not limited to bandwidth utilization, latency, routing information, previous data packet transmission status, network performance records, etc., and then the packet loss event can be analyzed in combination with historical transmission data to try to determine the specific cause of the packet loss, including but not limited to viewing the log files of network devices, checking software configurations, and evaluating network security measures. Based on the analysis results, detailed packet loss analysis information is provided, which may include the time, location, and possible causes of the packet loss (such as network congestion, equipment failure, software errors, etc.).
[0042] In step S4, a corresponding packet loss compensation mode is determined in combination with the current network transmission status, the packet loss analysis information and the priority of the corresponding lost data packet in the data packet loss event.
[0043] Specifically, a matching packet loss compensation mode is dynamically determined in combination with the current network transmission status, the cause of packet loss and the importance of the data packet. The packet loss compensation mode includes but is not limited to one or more packet loss compensation measures among immediate retransmission, delayed retransmission, forward error correction and redundant retransmission. It can be a single compensation method or a combination of multiple compensation retransmission methods to improve retransmission efficiency.
[0044] More specifically, redundant transmission is a method of ensuring the reliability of data transmission by sending additional data, sending more data than is actually needed, so that even if part of the data is lost or damaged during transmission, the receiver can still recover the original information. This technology is particularly useful in unreliable or noisy channels because it can improve data integrity and the overall reliability of the system. Forward error correction coding is a technology that improves the fault tolerance of data transmission by sending additional check information, providing error detection and correction capabilities by adding redundant check bits to the transmitted data. These check bits enable the receiver to detect and correct a certain number of errors on its own without having to re-acquire data from the sender. Forward error correction coding is particularly effective in noisy environments because it can reduce the impact of noise on the transmission quality of the optical transmission system.
[0045] More specifically, first determine whether immediate retransmission is required based on the current network conditions, otherwise it will enter the delayed retransmission queue. In the case of network congestion or weak signal, the data packets can be sorted according to their priority, and high-priority data packets can be transmitted first. After determining the retransmission timing, determine whether to adopt additional packet loss compensation measures based on actual conditions. For example, redundant transmission can be used for data packets with unstable current network environment, high reliability requirements or transmission needs, and forward error correction coding can be used for compensation for data packets that require long-distance communication or high-speed communication.
[0046] Further, after determining the corresponding packet loss compensation mode, an adaptive retransmission strategy is introduced to dynamically adjust the retransmission parameters (such as the number of retransmissions, the retransmission interval, etc.) according to the change of the network state to improve the retransmission efficiency and reduce unnecessary network overhead. In one embodiment of the present application, the retransmission parameters are adjusted using a first objective function, which is specifically described below: obtaining a first objective function, the first objective function is used to adaptively adjust the packet loss compensation mode according to the network transmission state, and the first objective function is: The first objective function = α1×transmission efficiency+β1×reliability-γ×delay control, where α1 and β2 are weight parameters used to balance the weight ratio of transmission efficiency and reliability, and γ is a parameter used to control delay, and the value of γ is inversely proportional to the tolerance of network transmission delay.
[0047] Specifically, the first objective function is used to adaptively adjust the retransmission parameters, where transmission efficiency is used to ensure that the data transmission rate is increased as much as possible when the network conditions are good; reliability is used to ensure the reliability of data transmission when the network conditions are poor or there is packet loss; delay control is used to balance transmission efficiency and reliability when the network delay is high or the network is congested, so as to ensure that data transmission will not cause serious delay increase due to excessive retransmissions. That is, combined with the current network status, the retransmission parameters are dynamically adjusted to achieve the goal of ensuring both transmission efficiency and data transmission reliability and delay control under different network conditions.
[0048] Furthermore, in order to ensure that key data packets can still obtain sufficient bandwidth resources for compensatory transmission when the network is congested, a high-priority transmission channel can be created for the key data packets, as described below: Determining whether the priority corresponding to the lost data packet exceeds a preset priority threshold; If the priority corresponding to the lost data packet exceeds the priority threshold, the lost data packet is determined to be a high priority packet loss, and a dedicated transmission channel for the lost data packet is created. The dedicated transmission channel is the transmission channel used for retransmitting the lost data packet in the packet loss compensation mode.
[0049] Specifically, the priority of each data packet can be quantified by means of scores, grades, etc. For ease of explanation, priority scoring is used as an example in this embodiment. Correspondingly, the priority threshold is set as a score threshold of a priority score. For priority scores exceeding the score threshold, the corresponding data packets can be determined as high-priority data packets. The priority assessment can be adjusted by relevant personnel through a preset rating method, and can be adjusted in various ways such as time, usage scenario, data type, etc.
[0050] More specifically, when creating a dedicated transmission channel for a high-priority data packet, the transmission rate of the dedicated transmission channel needs to be adjusted to ensure that appropriate bandwidth resources are provided. The bandwidth resources allocated in this application depend on the priority of the corresponding lost data packet, which is specifically described below: Obtain a second objective function, where the second objective function is used to adjust the transmission rate of the dedicated transmission channel according to the priority corresponding to the lost data packet, and the second objective function is: The second objective function=α2×priority+β2×transmission rate, wherein α2 and β2 are weight parameters used to balance the priority corresponding to the lost data packet and the transmission rate of the dedicated transmission channel.
[0051] Specifically, the corresponding second objective function is obtained, and α2 and β2 are dynamically adjusted as weight parameters to optimize the second objective function, wherein the priority is the packet priority corresponding to the lost data packet, and the transmission rate is the transmission rate dedicated to the channel. By optimizing this objective function, it is possible to create a high-priority transmission channel for critical data packets and ensure that the channel has a higher transmission rate, thereby maximizing the transmission efficiency and reliability of critical data packets.
[0052] Furthermore, in some possible situations, due to network fluctuations or other reasons, a group of data packets may be lost at the same time. In this case, this embodiment also proposes a method for reasonably allocating bandwidth resources for these data packets, which is specifically described below: Determine whether the number of high priority packet losses exceeds a preset high priority packet loss number threshold; If the number of high-priority packet losses exceeds the preset high-priority packet loss number threshold, sorting the priorities corresponding to all the high-priority packet losses from high to low to obtain a sorting result; A corresponding dedicated transmission channel is created for one or more high-priority lost packets whose priorities are before a preset priority ranking in the sorting result.
[0053] Specifically, the high-priority packet loss number threshold can be a packet loss number value preset by relevant personnel based on actual conditions, or it can be a proportional value adapted according to the total data transmission carrying capacity. If the number of high-priority packet losses in the packet loss events in the same batch exceeds the high-priority packet loss number threshold, all high-priority packet losses are sorted from high to low according to the corresponding priorities to obtain the sorting result. A dedicated transmission channel is then opened for a certain number of data packets at the top of the sorting results, wherein the preset priority ranking can be determined based on the carrying capacity of the current network status. After the front retransmission packet loss is completed, the data packet that ranks first and has not yet started transmission can take over the transmission, so as to avoid the load caused by creating dedicated transmission channels for too many data packets at the same time, and also ensure the efficiency of transmission.
[0054] On the other hand, the present application discloses a communication packet loss retransmission and error correction system, see Figure 2 , Figure 2 1 is a virtual structural diagram of a communication packet loss retransmission and error correction system provided by the present application, the communication packet loss retransmission and error correction system comprises: a real-time network monitoring module 100, which is used to monitor the current network transmission status in real time to determine whether there is a data packet loss event; The historical data acquisition module 200 is used to acquire historical transmission data if the packet loss event occurs, wherein the historical transmission data is packet loss record information during the communication process; The packet loss reason analysis module 300 is used to analyze the data packet loss event in combination with the network transmission status and the historical transmission data to obtain packet loss analysis information; The compensation mode determination module 400 is used to determine a corresponding packet loss compensation mode in combination with the current network transmission status, the packet loss analysis information and the priority of the corresponding lost data packet in the data packet loss event.
[0055] For the specific definition of the retransmission and error correction system for communication packet loss, please refer to the definition of the retransmission and error correction method for communication packet loss in the above text, which will not be repeated here. Each module in the above communication packet loss retransmission and error correction system can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0056] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0057] The communication packet loss retransmission and error correction method provided in the embodiment of the present application can be applied to electronic devices, computers, wearable devices, vehicle-mounted devices, tablet computers, laptop computers, netbooks, personal digital assistants (PDA), augmented reality (AR) / virtual reality (VR) devices, mobile phones and other terminal devices. The embodiment of the present application does not impose any restrictions on the specific type of terminal devices.
[0058] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in each embodiment of the above method can be implemented.
[0059] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in each embodiment of the above method when executing the computer program product.
[0060] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0061] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0062] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0063] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0064] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0065] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A communication packet loss retransmission and error correction method, characterized in that: The method comprises: Monitor the current network transmission status in real time to determine whether there is a packet loss event; If the data packet loss event occurs, obtaining historical transmission data; Analyze the data packet loss event in combination with the network transmission status and the historical transmission data to obtain packet loss analysis information; The corresponding packet loss compensation mode is determined in combination with the current network transmission status, the packet loss analysis information and the priority of the corresponding lost data packet in the data packet loss event.
2. The communication packet loss retransmission and error correction method according to claim 1, characterized in that: The method comprises: Obtain a first objective function, where the first objective function is used to adaptively adjust the packet loss compensation mode according to the network transmission state, and the first objective function is: The first objective function = α1×transmission efficiency+β1×reliability-γ×delay control, where α1 and β2 are weight parameters used to balance the weight ratio of transmission efficiency and reliability, and γ is a parameter used to control delay, and the value of γ is inversely proportional to the tolerance of network transmission delay.
3. The communication packet loss retransmission and error correction method according to claim 1, characterized in that: The method further comprises: Determining whether the priority corresponding to the lost data packet exceeds a preset priority threshold; If the priority corresponding to the lost data packet exceeds the priority threshold, the lost data packet is determined to be a high priority packet loss, and a dedicated transmission channel for the lost data packet is created. The dedicated transmission channel is the transmission channel used for retransmitting the lost data packet in the packet loss compensation mode.
4. The communication packet loss retransmission and error correction method according to claim 3, characterized in that: The method further comprises: Obtain a second objective function, where the second objective function is used to adjust the transmission rate of the dedicated transmission channel according to the priority corresponding to the lost data packet, and the second objective function is: Second objective function = α2×priority+β2×transmission rate Among them, α2 and β2 are weight parameters, which are used to balance the priority corresponding to the lost data packet and the transmission rate of the dedicated transmission channel.
5. The communication packet loss retransmission and error correction method according to claim 3, characterized in that: The method further comprises: Determine whether the number of high priority packet losses exceeds a preset high priority packet loss number threshold; If the number of high-priority packet losses exceeds the preset high-priority packet loss number threshold, sorting the priorities corresponding to all the high-priority packet losses from high to low to obtain a sorting result; A corresponding dedicated transmission channel is created for one or more high-priority lost packets whose priorities are before a preset priority ranking in the sorting result.
6. The communication packet loss retransmission and error correction method according to claim 3, characterized in that: The method further comprises: Determining packet loss trend information within a preset period based on the historical transmission data within the preset period; According to the packet loss trend information, one or more high-frequency packet loss time periods are determined, and the high-frequency packet loss time periods are used to limit the speed of data packets below the priority threshold if the current moment is in the high-frequency packet loss time period.
7. The communication packet loss retransmission and error correction method according to claim 1, characterized in that: The packet loss compensation mode is one or more packet loss compensation measures among immediate retransmission, delayed retransmission, forward error correction and redundant retransmission.
8. A communication packet loss retransmission and error correction system, characterized in that: include: Real-time network monitoring module, used to monitor the current network transmission status in real time to determine whether there is a data packet loss event; A historical data acquisition module, used to acquire historical transmission data if the data packet loss event occurs, wherein the historical transmission data is the packet loss record information during the communication process; A packet loss reason analysis module, used to analyze the data packet loss event in combination with the network transmission status and the historical transmission data to obtain packet loss analysis information; The compensation mode determination module is used to determine the corresponding packet loss compensation mode in combination with the current network transmission status, the packet loss analysis information and the priority of the corresponding lost data packet in the data packet loss event.
9. A device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes the communication packet loss retransmission and error correction method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the communication packet loss retransmission and error correction method as described in any one of claims 1-7.
Citation Information
Cited By
Satellite navigation signal grading management and control system and method based on time division multiplexing
CN119355758A
Data security transmission system for vehicle-mounted meteorological monitoring equipment
CN119402390A
Remote database synchronization system and method based on incremental data extraction and verification
CN120050291A
Low-delay transmission method and system for realizing virtual-real fusion of intelligent internet of things and universe
CN120111092A
Data retransmission method and device, chip, network interface card, equipment, medium and program product
CN120378065A
