A method and system for restoring stage lighting data under weak network conditions

By adopting merged retransmission technology and adaptive redundancy adjustment technology in weak network environments, the packet loss recovery of stage lighting data is solved, and the problem of large demand for retransmission storms and bandwidth in the existing technology is achieved, and more efficient data transmission and anti-packet loss recovery capabilities are achieved.

CN116073955BActive Publication Date: 2025-04-25SICHUAN HUSHAN ELECTRIC APPLIANCE
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310096920.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-02
Publication Date
2025-04-25
Estimated Expiration
2043-02-02

AI Technical Summary

Technical Problem

The existing data packet recovery technology is prone to retransmission storms in high-delay scenarios, and the bandwidth demand is high in weak network environments, making it difficult to effectively restore stage lighting data.

Method used

The combined retransmission technology and adaptive redundancy adjustment technology are used to detect the network status. If it is in a weak network state, the combined retransmission method is used to recover the packet loss of network dimming data, and adaptive redundancy adjustment is performed according to the recovery rate to reduce the proportion of redundancy to reduce bandwidth requirements.

Benefits of technology

The number of data retransmissions is reduced, the retransmission storm is avoided, the data transmission rate is improved, and the redundancy proportion is reduced while ensuring the packet loss recovery rate, which improves the anti-packet loss recovery ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116073955B_ABST
    Figure CN116073955B_ABST
Patent Text Reader

Abstract

The present invention relates to a data packet recovery technology, and discloses a method and system for recovering stage lighting data under a weak network. The present invention determines whether the current stage lighting transmission network is in a weak network state by detecting network dimming data; if it is in a weak network state, the current network dimming data is recovered from packet loss by merging and retransmitting, otherwise, the network dimming data is directly output; further determine whether the current packet loss recovery rate has reached the expected packet loss recovery rate, if it has not reached the expected packet loss recovery rate, the network dimming data after merging and retransmission is adaptively adjusted for redundancy, and the redundancy ratio of the network dimming data is adjusted according to the minimum redundancy. Repeat the above steps until the expected packet loss recovery rate is reached, and output the recovered network dimming data. The above steps can reduce the number of retransmissions and increase the data transmission rate; reduce the redundancy ratio while ensuring the packet loss recovery rate, and improve the anti-packet loss recovery capability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a data packet recovery technology, and in particular to a method and system for recovering stage lighting data in a weak network. Background Art

[0002] Stage lighting data is different from video data. There is no screen distortion or color anomalies. You do not need to view the effect on the screen, but instead use your naked eyes to see it on site. Therefore, the data recovery rate of lighting data is not as high as that of video data.

[0003] There are many unstable situations in real-time stage lighting network transmission, which will cause data packet loss, delay or jitter, resulting in the failure of the sent data packet to be successfully received by the receiving end or the delay of the receiving end receiving the data packet. Once the data packet is lost in the real-time stage lighting network transmission link, the data packet is mainly recovered in two ways. The first way is that the sender uses the notification or timeout mechanism of the receiving end to resend the data packet to the receiving end, and recover the lost data packet at the receiving end; the second way is to recover the data packet at the receiving end based on other redundant packets received. However, the above two data packet recovery methods have the following problems: First, in high-latency scenarios, when using the first method for data recovery, there is a risk of retransmission storm; second, in addition to the data packet, the sent data will also carry other redundant packets. When the second method is used for data packet recovery, the required bandwidth will increase.

[0004] In view of this, this application is hereby filed. Summary of the invention

[0005] The purpose of the present invention is to provide a method and system for recovering stage lighting data under a weak network, so as to solve the problems of multiple retransmissions of data packets and large bandwidth requirements when using the existing data packet recovery technology to recover stage lighting data packets.

[0006] The present invention is achieved through the following technical solutions:

[0007] On the one hand, a method for recovering stage lighting data under a weak network is provided, comprising the following steps:

[0008] S1: Detect network dimming data;

[0009] S2: According to the detection result of the network dimming data, determine whether the current stage lighting transmission network is in a weak network state;

[0010] S3: If the current stage lighting transmission network is in a weak network state, execute S4; if the current stage lighting transmission network is in a non-weak network state, directly output the network dimming data and end the current task;

[0011] S4: recover the current network dimming data from packet loss by combining and retransmitting, and obtain the current packet loss recovery rate after combining and retransmitting;

[0012] S5: Determine whether the current packet loss recovery rate reaches the expected packet loss recovery rate;

[0013] S6: If the expected packet loss recovery rate is not achieved, adaptive redundancy adjustment is performed on the network dimming data after merging and retransmission to obtain the minimum redundancy of the network dimming data, and the redundancy ratio of the network dimming data is adjusted according to the minimum redundancy. The adjusted network dimming data is used as the current network dimming data, and the process returns to S4; if the expected packet loss recovery rate is achieved, the recovered network dimming data is output, and the current task is terminated.

[0014] Wherein, S4 comprises the following steps:

[0015] S41: decoding the data packet of the current network dimming data at the receiving end;

[0016] S42: If the receiving end decodes incorrectly, the receiving end saves the data packet with the decoding error to the buffer area, and requests the sending end to retransmit the data packet corresponding to the data packet with the decoding error;

[0017] S43: at the receiving end, merging the retransmitted data packet with the data packet in the buffer area, and decoding the merged data packet;

[0018] S44: If the merged data packet is still not correctly decoded, return to S42 until the merged data packet is correctly decoded or the maximum number of retransmissions is reached, and the retransmission ends; when the merged data packet is correctly decoded, the current packet loss recovery rate is obtained; when the maximum number of retransmissions is reached, the data packets in the buffer area are cleared and the current network dimming data is discarded.

[0019] In S44, the method for obtaining the maximum number of retransmissions is: according to the allowed packet loss recovery time and the expected packet loss recovery rate, the number of passive retransmissions is adaptively obtained through the combined retransmission technology, and the number of passive retransmissions is used as the maximum number of retransmissions.

[0020] In the above S5, obtaining the minimum redundancy of the network dimming data includes the following steps:

[0021] S51: Calculate and obtain probability values ​​P respectively mki and probability value P nj ; Probability value P mki It represents the probability that the receiving end receives i media packets after retransmitting m media packets in the network dimming data and reaching the maximum number of retransmissions k; the probability value P njIt represents the probability that the sender transmits n redundant packets in the network dimming data to the receiver and the receiver receives j redundant packets;

[0022] S52: According to the probability value P mki and probability value P nj , a calculation model of the probability value P is established; the probability value P represents the probability that the current recovery rate of the network dimming data reaches the expected packet loss recovery rate after m media packets are retransmitted and the maximum number of retransmissions k is reached when there are n redundant packets in the network dimming data;

[0023] S53: Based on the calculation model of probability value P, P=∑ i+j≥m P mki P nj , calculate and obtain the minimum number of redundant packets when the current packet loss recovery rate of the network dimming data reaches the expected packet loss recovery rate.

[0024] On the other hand, a system for recovering stage lighting data under a weak network is provided, including a data detection module, a network status detection module, a logic control module, a packet loss recovery processing module, a data output module, a packet loss recovery rate detection module and an adaptive redundancy adjustment module. Among them, the data detection module is used to detect network dimming data; the network status detection module is used to determine whether the current stage lighting transmission network is in a weak network state according to the detection result of the network dimming data; the logic control module is used to drive the packet loss recovery processing module to work when the current stage lighting transmission network is in a weak network state, and drive the data output module to work when the current stage lighting transmission network is in a non-weak network state; the packet loss recovery processing module is used to recover the current network dimming data by merging and retransmitting when the current stage lighting transmission network is in a weak network state, and obtain the current packet loss recovery rate after merging and retransmitting; the data output module is used to recover the current network dimming data by merging and retransmitting when the current stage lighting transmission network is in a non-weak network state. state, directly output the network dimming data and end the current task; the packet loss recovery rate detection module is used to determine whether the current packet loss recovery rate has reached the expected packet loss recovery rate; the adaptive redundancy adjustment module is used to adaptively adjust the redundancy of the network dimming data after merging and retransmission when the current packet loss recovery rate has not reached the expected packet loss recovery rate, so as to obtain the minimum redundancy of the network dimming data, adjust the redundancy ratio of the network dimming data according to the minimum redundancy, and input the adjusted network dimming data as the current network dimming data into the packet loss recovery rate detection module; it is also used to output the recovered network dimming data and end the current task when the current packet loss recovery rate has reached the expected packet loss recovery rate.

[0025] Furthermore, the packet loss recovery processing module includes a CRC decoding unit, a data packet cache unit, a retransmission request unit, a data packet merging unit, a logic control unit, a recovery rate acquisition unit, a cache clearing unit and a light data encoding unit.

[0026] Among them, the CRC decoding unit is used to decode the data packet of the current network dimming data at the receiving end; the data packet cache unit is used to save the data packet with decoding error to the cache area when the receiving end has decoding error; the retransmission request unit is used to request the sending end to retransmit the data packet corresponding to the data packet with decoding error when the receiving end has decoding error; the data packet merging unit is used to merge the retransmitted data packet with the data packet in the cache area at the receiving end, and decode the merged data packet; the logic control unit is used to control the data packet cache unit, the retransmission request unit and the data packet merging unit to work when the merged data packet is still not correctly decoded, until the merged data packet is correctly decoded or the maximum number of retransmissions is reached, and the retransmission is ended; the recovery rate acquisition unit is used to obtain the current packet loss recovery rate when the merged data packet is correctly decoded; the cache clearing unit is used to clear the data packet in the cache area and discard the current network dimming data when the number of retransmissions reaches the maximum value; the light data encoding unit is used to encode and transmit the light data and CRC check code at the sending end.

[0027] The adaptive redundancy adjustment module includes a probability calculation unit and a redundancy calculation unit. The probability calculation unit is used to calculate the probability value P mki and probability value P nj ; Probability value P mki It represents the probability that the receiving end receives i media packets after retransmitting m media packets in the network dimming data and reaching the maximum number of retransmissions k; the probability value P nj It indicates the probability that the sender transmits n redundant packets in the network dimming data to the receiver and the receiver receives j redundant packets. It is also used to calculate the probability of receiving j redundant packets according to the probability value P. mki and probability value P nj , establish a calculation model for the probability value P; the probability value P represents the probability that, when there are n redundant packets in the network dimming data, after m media packets are retransmitted and the maximum number of retransmissions k is reached, the current recovery rate of the network dimming data reaches the expected packet loss recovery rate; the redundancy calculation unit is used to calculate the minimum number of redundant packets when the current packet loss recovery rate of the network dimming data reaches the expected packet loss recovery rate according to the calculation model of the probability value P.

[0028] Compared with the prior art, the present invention has the following advantages and beneficial effects: on the one hand, in the case of data packet parsing error, the combined retransmission technology is used to request the sender to retransmit the data packet with parsing error, and the currently received data packet is merged with the previously parsed data packet with parsing error, so that the merged data packet is more reliable than the data packet obtained by decoding alone; in addition, the maximum number of retransmissions is set according to the expected packet loss recovery rate and packet loss recovery time. When the number of retransmissions reaches the maximum value, if the data packet cannot be correctly parsed, the data packet is discarded, thereby reducing the number of data retransmissions and avoiding data retransmission storms during high latency. On the other hand, when the expected packet loss recovery rate is still not achieved after the combined retransmission technology is adopted, the redundancy ratio in the network dimming data is continuously adjusted adaptively, thereby reducing the packet loss recovery time and bandwidth requirements. In general, the present invention uses a combination of combined retransmission technology and adaptive adjustment technology to recover stage lighting data under weak networks, reducing the number of retransmissions and improving the data transmission rate; while ensuring the packet loss recovery rate, the redundancy ratio is reduced, and the anti-packet loss recovery capability is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0030] Figure 1 A flowchart of a method for restoring stage lighting data under a weak network provided in Embodiment 1 of the present invention;

[0031] Figure 2 A schematic diagram of a process for recovering packet loss of current network dimming data by combining and retransmitting according to Embodiment 1 of the present invention. DETAILED DESCRIPTION

[0032] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.

[0033] Example 1

[0034] This embodiment provides a Figure 1 The method for recovering stage lighting data under weak network conditions is shown in FIG. The method comprises the following steps:

[0035] Step 1: Detect the transmission rate of network dimming data.

[0036] Step 2: Determine whether the current stage lighting transmission network is in a weak network state according to the transmission rate of the detected network dimming data.

[0037] Step 3: If the current stage lighting transmission network is in a weak network state, execute step 4; if the current stage lighting transmission network is in a non-weak network state, directly output the network dimming data and end the current task.

[0038] Step 4: Use the merge and retransmission method to recover the packet loss of the current network dimming data, and obtain the current packet loss recovery rate after merge and retransmission.

[0039] Step 5: Determine whether the current packet loss recovery rate has reached the expected packet loss recovery rate.

[0040] Step 6: If the expected packet loss recovery rate is not achieved, adaptive redundancy adjustment is performed on the network dimming data after merging and retransmission to obtain the minimum redundancy of the network dimming data, and the redundancy ratio of the network dimming data is adjusted according to the minimum redundancy. The adjusted network dimming data is used as the current network dimming data and returns to S4; if the expected packet loss recovery rate is achieved, the recovered network dimming data is output and the current task is terminated.

[0041] Among them, step 4 is implemented by the following steps:

[0042] Step 4.1: The sending end performs CRC encoding on the network dimming data and sends the encoded data to the receiving end.

[0043] Step 4.2: Decode the data packet of the network dimming data at the receiving end.

[0044] Step 4.3: If the receiving end decodes incorrectly, the data packet with the decoding error is saved in the buffer area, and the sending end is requested to retransmit the data packet corresponding to the data packet with the decoding error.

[0045] Step 4.4: At the receiving end, the retransmitted data packet is combined with the data packet in the buffer area. The combined data packet has better reliability than the data packet decoded separately. The combined data packet is decoded.

[0046] Step 4.5: If the merged data packet is still not correctly decoded, return to step 4.3 until the merged data packet is correctly decoded or the maximum number of retransmissions is reached, and the retransmission ends; when the merged data packet is correctly decoded, the current packet loss recovery rate is obtained; when the maximum number of retransmissions is reached, the data packets in the buffer area are cleared and the current network dimming data is discarded.

[0047] It should be noted that in step 4.5, the method for obtaining the maximum number of retransmissions is: according to the allowed packet loss recovery time and the expected packet loss recovery rate, the number of passive retransmissions is adaptively obtained through the combined retransmission technology, and the passive retransmission number is used as the maximum number of retransmissions. For example, within the allowed packet loss recovery time T (customer demand), the value of the number of passive retransmissions k is adaptively obtained through the combined retransmission technology. For example, within the 100 millisecond packet loss recovery time, the minimum K_min obtained when the packet loss recovery rate is equal to 90% obtained by combining retransmissions is used as the value of the number of retransmissions k.

[0048] Furthermore, in the above S5, obtaining the minimum redundancy of the network dimming data includes the following steps:

[0049] Step 5.1: Calculate the probability value P respectively mki and probability value P nj .

[0050] Among them, the probability value P mki It represents the probability that the receiving end receives i media packets after retransmitting m media packets in the network dimming data and reaching the maximum number of retransmissions k; the probability value P nj It represents the probability that the sender transmits n redundant packets in the network dimming data to the receiver and the receiver receives j redundant packets.

[0051] Step 5.2: According to the probability value P mki and probability value P nj , establish the calculation model of probability value P. The calculation model of probability value P is expressed as P = ∑ i+j≥m P mki P nj The probability value P represents the probability that the current recovery rate of the network dimming data reaches the expected packet loss recovery rate after m media packets are retransmitted and the maximum number of retransmissions k is reached when there are n redundant packets in the network dimming data.

[0052] Step 5.3: According to the calculation model of the probability value P, the minimum number of redundant packets when the current packet loss recovery rate of the network dimming data reaches the expected packet loss recovery rate is calculated.

[0053] Specifically, the transmitted network dimming data contains m data packets, and within the allowed packet loss recovery time T, the maximum number of retransmissions is k. Among them, i and j are independent variables, and i+j is greater than or equal to m. The expected packet loss recovery rate is 90%. Therefore, according to the expression of the calculation model of the probability value P, the number of redundant packets is incremented by 1 starting from the number of redundant packets n=0, that is, the n=n+1 operation is performed; each time it is incremented, the expression of the calculation model of the probability value P is used to perform a summation calculation. When the calculation result is equal to 90%, the current number of redundant packets n is used as the redundancy, thereby obtaining the optimal redundancy ratio, the most appropriate delay loss, and the best packet loss recovery rate.

[0054] In summary, the present embodiment provides a method for recovering stage lighting data under a weak network. On the one hand, in the case of a parsing error of a data packet, a merge retransmission technique is used to request the sender to retransmit the data packet with the parsing error, and the currently received data packet is merged with the previously parsed data packet with the parsing error, so that the merged data packet is more reliable than the data packet obtained by decoding separately; in addition, the maximum number of retransmissions is set according to the expected packet loss recovery rate and packet loss recovery time. When the number of retransmissions reaches the maximum value, if the data packet still cannot be correctly parsed, the data packet is discarded, thereby reducing the number of data retransmissions and avoiding data retransmission storms during high latency. On the other hand, if the expected packet loss recovery rate is still not achieved after the use of the merge retransmission technique, the redundancy ratio in the network dimming data continues to be adaptively adjusted to reduce the packet loss recovery time and bandwidth requirements.

[0055] Example 2

[0056] Corresponding to Example 1, this embodiment provides a system for recovering stage lighting data under a weak network, including a data detection module, a network status detection module, a logic control module, a packet loss recovery processing module, a data output module, a packet loss recovery rate detection module and an adaptive redundancy adjustment module.

[0057] Among them, the data detection module is used to detect network dimming data.

[0058] The network status detection module is used to determine whether the current stage lighting transmission network is in a weak network state based on the detection results of the network dimming data.

[0059] The logic control module is used to drive the packet loss recovery processing module to work when the current stage lighting transmission network is in a weak network state, and to drive the data output module to work when the current stage lighting transmission network is in a non-weak network state.

[0060] The packet loss recovery processing module is used to recover the current network dimming data from packet loss by merging and retransmitting when the current stage lighting transmission network is in a weak network state, and obtain the current packet loss recovery rate after merging and retransmitting.

[0061] The data output module is used to directly output the network dimming data and end the current task when the current stage lighting transmission network is in a non-weak network state.

[0062] The packet loss recovery rate detection module is used to determine whether the current packet loss recovery rate has reached the expected packet loss recovery rate.

[0063] The adaptive redundancy adjustment module is used to adaptively adjust the redundancy of the network dimming data after merging and retransmission when the current packet loss recovery rate does not reach the expected packet loss recovery rate, obtain the minimum redundancy of the network dimming data, adjust the redundancy ratio of the network dimming data according to the minimum redundancy, and input the adjusted network dimming data into the packet loss recovery rate detection module as the current network dimming data; it is also used to output the recovered network dimming data and end the current task when the current packet loss recovery rate reaches the expected packet loss recovery rate.

[0064] Furthermore, the packet loss recovery processing module includes a CRC decoding unit, a data packet cache unit, a retransmission request unit, a data packet merging unit, a logic control unit, a recovery rate acquisition unit, a cache clearing unit and a light data encoding unit.

[0065] The CRC decoding unit is used to decode the data packet of the current network dimming data at the receiving end.

[0066] The data packet buffer unit is used to save the decoded erroneous data packets into the buffer area in case of decoding errors at the receiving end.

[0067] The retransmission request unit is used to request the sending end to retransmit the data packet corresponding to the data packet with decoding error in the case of decoding error at the receiving end.

[0068] The data packet merging unit is used to merge the retransmitted data packet with the data packet in the buffer area at the receiving end, and decode the merged data packet.

[0069] The logic control unit is used to control the data packet buffer unit, the retransmission request unit and the data packet merging unit to work when the merged data packet is still not correctly decoded, until the merged data packet is correctly decoded or the maximum number of retransmissions is reached, and the retransmission is ended.

[0070] The recovery rate acquisition unit is used to acquire the current packet loss recovery rate when the combined data packet is correctly decoded.

[0071] The cache clearing unit is used to clear the data packets in the cache area and discard the current network dimming data when the number of retransmissions reaches the maximum value; the light data encoding unit is used to encode and transmit the light data and CRC check code at the sending end.

[0072] Furthermore, the adaptive redundancy adjustment module includes a probability calculation unit and a redundancy calculation unit.

[0073] Among them, the probability calculation unit is used to calculate the probability value P mki and probability value P nj . It is also used to calculate the probability value P mki and probability value P nj , establish a calculation model for the probability value P.

[0074] Probability value P mki It represents the probability that the receiving end receives i media packets after retransmitting m media packets in the network dimming data and reaching the maximum number of retransmissions k.

[0075] Probability value P nj It represents the probability that the sender transmits n redundant packets in the network dimming data to the receiver and the receiver receives j redundant packets. The probability value P represents the probability that when there are n redundant packets in the network dimming data, after m media packets are retransmitted and the maximum number of retransmissions k is reached, the current recovery rate of the network dimming data reaches the expected packet loss recovery rate.

[0076] The redundancy calculation unit is used to calculate the minimum number of redundant packets when the current packet loss recovery rate of the network dimming data reaches the expected packet loss recovery rate according to the calculation model of the probability value P.

[0077] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for restoring stage lighting data under weak network conditions, characterized in that: The following steps are involved: S1: Detect network dimming data; S2: According to the detection result of the network dimming data, determine whether the current stage lighting transmission network is in a weak network state; S3: If the current stage lighting transmission network is in a weak network state, execute S4; if the current stage lighting transmission network is in a non-weak network state, directly output the network dimming data and end the current task; S4: recover the current network dimming data from packet loss by combining and retransmitting, and obtain the current packet loss recovery rate after combining and retransmitting; The S4 includes: S41: decoding the data packet of the current network dimming data at the receiving end; S42: If the receiving end decodes incorrectly, the receiving end saves the data packet with the decoding error to the buffer area, and requests the sending end to retransmit the data packet corresponding to the data packet with the decoding error; S43: at the receiving end, merging the retransmitted data packet with the data packet in the buffer area, and decoding the merged data packet; S44: if the combined data packet is still not correctly decoded, return to S42 until the combined data packet is correctly decoded or the maximum number of retransmissions is reached, and the retransmission is terminated; when the combined data packet is correctly decoded, the current packet loss recovery rate is obtained; when the maximum number of retransmissions is reached, the data packets in the buffer area are cleared and the current network dimming data is discarded; the maximum number of retransmissions is obtained by adaptively obtaining the number of passive retransmissions through the combined retransmission technology according to the allowed packet loss recovery time and the expected packet loss recovery rate, and the passive retransmission number is used as the maximum number of retransmissions; S5: Determine whether the current packet loss recovery rate reaches the expected packet loss recovery rate; S6: If the expected packet loss recovery rate is not achieved, adaptive redundancy adjustment is performed on the network dimming data after merging and retransmission to obtain the minimum redundancy of the network dimming data, and the redundancy ratio of the network dimming data is adjusted according to the minimum redundancy. The adjusted network dimming data is used as the current network dimming data, and the process returns to S4; if the expected packet loss recovery rate is achieved, the recovered network dimming data is output, and the current task is terminated.

2. A method for restoring stage lighting data under a weak network according to claim 1, characterized in that: In S5, obtaining the minimum redundancy of the network dimming data includes the following steps: S51: Calculate and obtain probability values ​​P respectively mki and probability value P nj ; Probability value P mki It represents the probability that the receiving end receives i media packets after retransmitting m media packets in the network dimming data and reaching the maximum number of retransmissions k; the probability value P nj It represents the probability that the sender transmits n redundant packets in the network dimming data to the receiver and the receiver receives j redundant packets; S52: According to the probability value P mki and probability value P nj , a calculation model of the probability value P is established; the probability value P represents the probability that the current recovery rate of the network dimming data reaches the expected packet loss recovery rate after m media packets are retransmitted and the maximum number of retransmissions k is reached when there are n redundant packets in the network dimming data; S53: According to the calculation model of the probability value P, the minimum value of the number of redundant packets when the current packet loss recovery rate of the network dimming data reaches the expected packet loss recovery rate is calculated.

3. A method for restoring stage lighting data under a weak network according to claim 2, characterized in that: The calculation model of probability value P is expressed as: P = ∑ i+j≥m P mki P nj .

4. A system for recovering stage lighting data under weak network conditions, characterized in that: include, Data detection module, used to detect network dimming data; The network status detection module is used to determine whether the current stage lighting transmission network is in a weak network state according to the detection result of the network dimming data; A logic control module, used to drive the packet loss recovery processing module to work when the current stage lighting transmission network is in a weak network state, and to drive the data output module to work when the current stage lighting transmission network is in a non-weak network state; The packet loss recovery processing module is used to recover the current network dimming data from packet loss by combining and retransmitting when the current stage lighting transmission network is in a weak network state, and obtain the current packet loss recovery rate after combining and retransmitting; The data output module is used to directly output the network dimming data and end the current task when the current stage lighting transmission network is in a non-weak network state; The packet loss recovery rate detection module is used to determine whether the current packet loss recovery rate has reached the expected packet loss recovery rate; An adaptive redundancy adjustment module is used to adaptively adjust the redundancy of the network dimming data after merging and retransmission when the current packet loss recovery rate does not reach the expected packet loss recovery rate, obtain the minimum redundancy of the network dimming data, adjust the redundancy ratio of the network dimming data according to the minimum redundancy, and input the adjusted network dimming data as the current network dimming data into the packet loss recovery rate detection module; and is also used to output the recovered network dimming data when the current packet loss recovery rate reaches the expected packet loss recovery rate, and end the current task; The packet loss recovery processing module includes: A CRC decoding unit, used for decoding the data packet of the current network dimming data at the receiving end; The data packet buffer unit is used to save the decoded erroneous data packets into the buffer area in case of decoding errors at the receiving end; A retransmission request unit, used to request the sending end to retransmit a data packet corresponding to the data packet with the decoding error in the case of a decoding error at the receiving end; A data packet merging unit, used to merge the retransmitted data packet with the data packet in the buffer area at the receiving end, and decode the merged data packet; A logic control unit, used for controlling the data packet buffer unit, the retransmission request unit and the data packet merging unit to work when the merged data packet is still not correctly decoded, until the merged data packet is correctly decoded or the maximum number of retransmissions is reached, and the retransmission is terminated; A recovery rate acquisition unit, used to acquire a current packet loss recovery rate when the combined data packet is correctly decoded; A cache clearing unit, used to clear the data packets in the cache area and discard the current network dimming data when the number of retransmissions reaches a maximum value; The cache clearing unit includes: The retransmission number calculation subunit is used to adaptively obtain the passive retransmission number through the combined retransmission technology according to the allowed packet loss recovery time and the expected packet loss recovery rate.

5. A system for recovering stage lighting data under weak network conditions according to claim 4, characterized in that: The packet loss recovery processing module also includes: The light data encoding unit is used to encode and transmit the light data and CRC check code at the sending end.

6. A system for recovering stage lighting data under weak network conditions according to claim 4 or 5, characterized in that: The adaptive redundancy adjustment module includes: The probability calculation unit is used to calculate the probability value P mki and probability value P nj ; Probability value P mki It represents the probability that the receiving end receives i media packets after retransmitting m media packets in the network dimming data and reaching the maximum number of retransmissions k; the probability value P nj It indicates the probability that the sender transmits n redundant packets in the network dimming data to the receiver and the receiver receives j redundant packets. It is also used to calculate the probability of receiving j redundant packets according to the probability value P. mki and probability value P nj , a calculation model of the probability value P is established; the probability value P represents the probability that the current recovery rate of the network dimming data reaches the expected packet loss recovery rate after m media packets are retransmitted and the maximum number of retransmissions k is reached when there are n redundant packets in the network dimming data; The redundancy calculation unit is used to calculate the minimum number of redundant packets when the current packet loss recovery rate of the network dimming data reaches the expected packet loss recovery rate according to the calculation model of the probability value P.

Citation Information

Patent Citations

  • System and method for hybrid automatic request retransmission in free space optical communication

    CN103095440A

  • Data transmission method and device, equipment and medium

    CN114039703A

  • Data transmission method and apparatus, data receiving method and apparatus, electronic device and storage medium

    WO2023284460A1