+

CN116073955B - A method and system for restoring stage lighting data under weak network conditions - Google Patents

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

Info

Publication number
CN116073955B
CN116073955B CN202310096920.7A CN202310096920A CN116073955B CN 116073955 B CN116073955 B CN 116073955B CN 202310096920 A CN202310096920 A CN 202310096920A CN 116073955 B CN116073955 B CN 116073955B
Authority
CN
China
Prior art keywords
network
data
packet loss
current
recovery rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310096920.7A
Other languages
Chinese (zh)
Other versions
CN116073955A (en
Inventor
董浩
刘念林
陈柯宇
张徐辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SICHUAN HUSHAN ELECTRICAL APPLIANCE CO LTD
Original Assignee
SICHUAN HUSHAN ELECTRICAL APPLIANCE CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SICHUAN HUSHAN ELECTRICAL APPLIANCE CO LTD filed Critical SICHUAN HUSHAN ELECTRICAL APPLIANCE CO LTD
Priority to CN202310096920.7A priority Critical patent/CN116073955B/en
Publication of CN116073955A publication Critical patent/CN116073955A/en
Application granted granted Critical
Publication of CN116073955B publication Critical patent/CN116073955B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0081Fault tolerance; Redundancy; Recovery; Reconfigurability
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

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.

Description

Method and system for recovering stage lighting data under weak network
Technical Field
The invention relates to a data packet recovery technology, in particular to a method and a system for recovering stage lighting data under a weak network.
Background
The stage lighting data is different from the video data, so that the phenomena of screen display, abnormal color and the like do not exist, the effect does not need to be checked on the screen, and the on-site naked eye impression is performed. Therefore, the lamplight data has no video data in terms of data recovery rate and has high requirements on the data recovery rate.
There are many unstable situations in real-time stage light optical network transmission, and these unstable situations may cause packet loss, delay or jitter, so that the transmitted data packet cannot be successfully received by the receiving end or the receiving end receives the data packet delay. Once the data packet is lost in the real-time stage lighting network transmission link, the data packet is recovered mainly in two ways. The first mode is that the sending end utilizes a mechanism of notification or overtime of the receiving end to send the data packet to the receiving end again, and the lost data packet is recovered at the receiving end, and the second mode is that the data packet is recovered at the receiving end based on other received redundant packets. However, the two data packet recovery modes have the following problems that firstly, in a high-delay scene, when the first mode is used for data recovery, the risk of a retransmission storm exists, and secondly, the transmitted data also carries other redundant packets besides the data packets, and when the second mode is used for data packet recovery, the required bandwidth is increased.
In view of this, the present application has been made.
Disclosure of Invention
The invention aims to provide a method and a system for recovering stage lighting data under a weak network, which solve the problems of repeated retransmission of data packets and large bandwidth requirement when the stage lighting data packets are recovered by applying the existing data packet recovery technology.
The invention is realized by the following technical scheme:
in one aspect, a method for recovering stage lighting data under a weak network is provided, including the following steps:
S1, detecting network dimming data;
s2, judging whether the current stage lighting transmission network is in a weak network state according to the detection result of the network dimming data;
S3, if the current stage lighting transmission network is in a weak network state, executing S4, if the current stage lighting transmission network is in a non-weak network state, directly outputting network dimming data, and ending the current task;
S4, carrying out packet loss recovery on the current network dimming data in a retransmission mode to obtain the current packet loss recovery rate after retransmission;
S5, judging whether the current packet loss recovery rate reaches the expected packet loss recovery rate or not;
And S6, if the expected packet loss recovery rate is not reached, carrying out self-adaptive redundancy adjustment on the network dimming data subjected to retransmission to obtain the minimum redundancy of the network dimming data, adjusting the redundancy duty ratio of the network dimming data according to the minimum redundancy, taking the adjusted network dimming data as the current network dimming data, returning to S4, and if the expected packet loss recovery rate is reached, outputting the recovered network dimming data, and ending the current task.
Wherein S4 comprises the steps of:
s41, decoding a data packet of the current network dimming data at a receiving end;
S42, if the receiving end decodes the error, the data packet with the decoding error is stored in a buffer area, and the transmitting end is requested to retransmit the data packet corresponding to the data packet with the decoding error;
S43, combining the retransmitted data packet with the data packet in the buffer area at the receiving end, and decoding the combined data packet;
S44, if the combined data packet is not decoded correctly, returning to S42 until the combined data packet is decoded correctly or the maximum retransmission times are reached, ending retransmission, obtaining the current packet loss recovery rate when the combined data packet is decoded correctly, and emptying the data packet of the buffer area and discarding the current network dimming data when the maximum retransmission times are reached.
In S44, the method for obtaining the maximum retransmission times comprises the steps of adaptively obtaining the passive retransmission times by combining retransmission techniques according to the allowed packet loss recovery time and the expected packet loss recovery rate, and taking the passive retransmission times as the maximum retransmission times.
In S5, obtaining the minimum redundancy of the network dimming data includes the following steps:
S51, respectively calculating to obtain a probability value P mki and a probability value P nj, wherein the probability value P mki 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 retransmission times k, and the probability value P nj represents the probability that the transmitting end transmits n redundant packets in the network dimming data to the receiving end and the receiving end receives j redundant packets;
s52, establishing a calculation model of a probability value P according to the probability value P mki and the probability value P nj, wherein 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 the m media packets are retransmitted and the maximum retransmission times k are reached under the condition that n redundant packets exist in the network dimming data;
And S53, calculating and obtaining a minimum redundant packet quantity when the current packet loss recovery rate of the network dimming data reaches the expected packet loss recovery rate according to a calculation model P-Sigma i+j≥mPmkiPnj of the probability value P.
On the other hand, the system for recovering stage lighting data under the weak network comprises a data detection module, a network state detection module, a logic control module, a packet loss recovery processing module, a data output module, a packet loss recovery rate detection module and a self-adaptive redundancy adjustment module. The system comprises a data detection module, a logic control module, a self-adaptive redundancy adjustment module and a dimming module, wherein the data detection module is used for detecting network dimming data, the network state detection module is used for judging whether a 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 for driving a packet loss recovery processing module to work when the current stage lighting transmission network is in the weak network state, and driving a data output module to work when the current stage lighting transmission network is in the non-weak network state, the packet loss recovery processing module is used for carrying out packet loss recovery on the current network dimming data in a mode of combining and retransmitting to obtain the current packet loss recovery rate after combining and retransmitting, the data output module is used for directly outputting the network dimming data when the current stage lighting transmission network is in the non-weak network state, and ending the current task, the self-adaptive redundancy adjustment module is used for carrying out self-adaptive redundancy adjustment on the network dimming data after combining and retransmitting the network dimming data when the current packet loss recovery rate does not reach the expected packet loss recovery rate, and the redundancy adjustment module is used for outputting the current dimming data after the redundancy adjustment is used for completing the current dimming task when the current dimming data is in the state.
Further, the packet loss recovery processing module comprises a CRC decoding unit, a data packet buffer unit, a retransmission request unit, a data inclusion merging unit, a logic control unit, a recovery rate obtaining unit, a buffer emptying unit and a lamplight data encoding unit.
The CRC decoding unit is used for decoding a data packet of current network dimming data at a receiving end, the data packet buffer unit is used for storing the data packet with the decoding error into a buffer area under the condition of decoding error of the receiving end, the retransmission request unit is used for requesting a transmitting end to retransmit the data packet corresponding to the data packet with the decoding error under the condition of decoding error of the receiving end, the data inclusion merging unit is used for merging the retransmitted data packet with the data packet of the buffer area at the receiving end and decoding the merged data packet, the logic control unit is used for controlling the data packet buffer unit, the retransmission request unit and the data packet merging unit to work until the merged data packet is correctly decoded or reaches the maximum retransmission times, the retransmission is ended, the recovery rate acquisition unit is used for acquiring the current packet loss recovery rate when the merged data packet is correctly decoded, the buffer area is emptied and the current network dimming data is discarded when the retransmission times reach the maximum value, and the lamplight data encoding unit is used for carrying out CRC encoding on the data and transmission at the transmitting end.
The adaptive redundancy adjustment module comprises a probability calculation unit and a redundancy calculation unit. The probability calculation unit is used for calculating and obtaining a probability value P mki and a probability value P nj respectively, wherein the probability value P mki is used for representing the probability that m media packets in the network dimming data are retransmitted and the receiving end receives i media packets after the maximum retransmission times k are reached, the probability value P nj is used for representing the probability that the transmitting end transmits n redundant packets in the network dimming data to the receiving end and the receiving end receives j redundant packets, the probability calculation unit is also used for establishing a calculation model of the probability value P according to the probability value P mki and the probability value P nj, the probability value P is used for representing the probability that the current recovery rate of the network dimming data reaches the expected packet loss recovery rate when the n redundant packets exist in the network dimming data, and the redundancy calculation unit is used for calculating and obtaining the minimum value of the redundancy packet quantity 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.
Compared with the prior art, the method has the advantages that on one hand, under the condition that the analysis of the data packet is wrong, a merging retransmission technology is adopted to request a transmitting end to retransmit the data packet with the analysis error, and the data packet received at present is merged with the data packet with the analysis error before, so that the merged data packet is more reliable compared with the data packet obtained by independent decoding, in addition, the maximum retransmission times are set according to the expected packet loss recovery rate and the packet loss recovery time, when the retransmission times reach the maximum value, if the data packet cannot be analyzed correctly, the data packet is selected to be discarded, the data retransmission times are reduced in this way, and the occurrence of data retransmission storm during high delay is avoided. On the other hand, under the condition that the expected packet loss recovery rate is not reached after the merging retransmission technology is adopted, the redundancy duty ratio in the network dimming data is continuously adaptively adjusted, so that the packet loss recovery time and the bandwidth requirement are reduced. In general, the invention adopts a mode of combining retransmission technology and self-adaptive adjustment technology to recover stage lighting data under a weak network, reduces retransmission times, improves data transmission rate, reduces redundancy duty ratio on the premise of ensuring packet loss recovery rate, and improves packet loss resistance recovery capability.
Drawings
In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the drawings that are needed in the examples will be briefly described below, it being understood that the following drawings only illustrate some examples of the present invention and therefore should not be considered as limiting the scope, and that other related drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a method for recovering stage lighting data under a weak network according to embodiment 1 of the present invention;
fig. 2 is a schematic flow chart of packet loss recovery for current network dimming data by adopting a retransmission method in embodiment 1 of the present invention.
Detailed Description
For the purpose of making apparent the objects, technical solutions and advantages of the present invention, the present invention will be further described in detail with reference to the following examples and the accompanying drawings, wherein the exemplary embodiments of the present invention and the descriptions thereof are for illustrating the present invention only and are not to be construed as limiting the present invention.
Example 1
The embodiment provides a method for recovering stage lighting data under a weak network as shown in fig. 1. The method comprises the following steps:
and 1, detecting the transmission rate of the network dimming data.
And 2, judging whether the current stage lighting transmission network is in a weak network state according to the detected transmission rate of the network dimming data.
And step 3, if the current stage lighting transmission network is in a weak network state, executing step 4, and if the current stage lighting transmission network is in a non-weak network state, directly outputting network dimming data, and ending the current task.
And 4, carrying out packet loss recovery on the current network dimming data in a retransmission mode to obtain the current packet loss recovery rate after retransmission.
And 5, judging whether the current packet loss recovery rate reaches the expected packet loss recovery rate.
And 6, if the expected packet loss recovery rate is not reached, carrying out self-adaptive redundancy adjustment on the network dimming data subjected to retransmission to obtain the minimum redundancy of the network dimming data, adjusting the redundancy duty ratio of the network dimming data according to the minimum redundancy, taking the adjusted network dimming data as the current network dimming data, returning to the step 4, and if the expected packet loss recovery rate is reached, outputting the recovered network dimming data, and ending the current task.
Wherein, step 4 is realized by the following steps:
and 4.1, the sending end performs CRC encoding on the network dimming data and sends the encoded data to the receiving end.
And 4.2, decoding the data packet of the network dimming data at the receiving end.
And 4.3, if the decoding error occurs at the receiving end, storing the data packet with the decoding error into a buffer area, and requesting the transmitting end to retransmit the data packet corresponding to the data packet with the decoding error.
And 4.4, combining the retransmitted data packet with the data packet in the buffer area at the receiving end, wherein the combined data packet has better reliability compared with the independently decoded data packet. And decoding the combined data packet.
And 4.5, returning to the step 4.3 if the combined data packet is not decoded correctly, ending retransmission until the combined data packet is decoded correctly or the maximum retransmission times are reached, acquiring the current packet loss recovery rate when the combined data packet is decoded correctly, and emptying the data packet in the buffer area and discarding the current network dimming data when the maximum retransmission times are reached.
In step 4.5, the method for obtaining the maximum retransmission times includes adaptively obtaining the passive retransmission times by combining retransmission techniques according to the allowed packet loss recovery time and the expected packet loss recovery rate, and taking the passive retransmission times as the maximum retransmission times. For example, at the allowed packet loss recovery time T (customer demand), the value of the passive retransmission number k is adaptively obtained by combining retransmission techniques. For example, in 100 hausec packet loss recovery time, combining retransmission to obtain the minimum k_min when the packet loss recovery rate is equal to 90%, and taking the minimum k_min as the value of the retransmission times K.
Further, in S5, obtaining the minimum redundancy of the network dimming data includes the following steps:
And 5.1, respectively calculating to obtain a probability value P mki and a probability value P nj.
The probability value P mki 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 retransmission frequency k, and the probability value P nj represents the probability that the transmitting end transmits n redundant packets in the network dimming data to the receiving end and the receiving end receives j redundant packets.
And 5.2, establishing a calculation model of the probability value P according to the probability value P mki and the probability value P nj. The expression of the calculation model of the probability value P is p= Σ i+j≥mPmkiPnj. 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 the m media packets are retransmitted and the maximum retransmission number k is reached in the case that n redundant packets exist in the network dimming data.
And 5.3, calculating and obtaining a minimum redundant packet number when the current packet loss recovery rate of the network dimming data reaches the expected packet loss recovery rate according to a calculation model of the probability value P.
Specifically, the transmitted network dimming data includes m data packets, and the maximum retransmission number is k within the allowed packet loss recovery time T. Wherein i and j are independent variables, and i+j is greater than or equal to m. The expected recovery of lost packets is 90%. And carrying out summation calculation by using the expression of the calculation model of the probability value P every time of self-increment, and taking the current redundancy packet number n as redundancy when the calculation result is equal to 90%, thereby obtaining the optimal redundancy proportion, the optimal delay loss and the optimal packet loss recovery rate.
In summary, in the method for recovering stage lighting data under a weak network provided in this embodiment, on the one hand, in the case of a data packet parsing error, a merging retransmission technology is adopted to request a transmitting end to retransmit the data packet with the parsing error, and combine the currently received data packet with the previously parsed data packet, so that the combined data packet is more reliable than the data packet obtained by independent decoding. On the other hand, under the condition that the expected packet loss recovery rate is not achieved after the combined retransmission technology is adopted, the redundancy duty ratio in the network dimming data is continuously adaptively adjusted, so that the packet loss recovery time and the bandwidth requirement are reduced.
Example 2
Corresponding to embodiment 1, the present embodiment provides a system for recovering stage lighting data under a weak network, which includes a data detection module, a network state 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.
The data detection module is used for detecting network dimming data.
And the network state detection module is used for judging 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 for driving the packet loss recovery processing module to work when the current stage lighting transmission network is in a weak network state, and driving 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 for carrying out packet loss recovery on the current network dimming data in a retransmission mode when the current stage lighting transmission network is in a weak network state, and obtaining the current packet loss recovery rate after retransmission.
And the data output module is used for directly outputting network dimming data when the current stage lighting transmission network is in a non-weak network state, and ending the current task.
And the packet loss recovery rate detection module is used for judging whether the current packet loss recovery rate reaches the expected packet loss recovery rate.
The self-adaptive redundancy adjustment module is used for carrying out self-adaptive redundancy adjustment on the network dimming data after the retransmission is combined under the condition that the current packet loss recovery rate does not reach the expected packet loss recovery rate, obtaining the minimum redundancy of the network dimming data, adjusting the redundancy duty ratio of the network dimming data according to the minimum redundancy, inputting the adjusted network dimming data as the current network dimming data into the packet loss recovery rate detection module, and outputting the recovered network dimming data under the condition that the current packet loss recovery rate reaches the expected packet loss recovery rate, thereby ending the current task.
Further, the packet loss recovery processing module comprises a CRC decoding unit, a data packet buffer unit, a retransmission request unit, a data inclusion merging unit, a logic control unit, a recovery rate obtaining unit, a buffer emptying unit and a lamplight data encoding unit.
The CRC decoding unit is used for decoding the data packet of the current network dimming data at the receiving end.
And the data packet buffer unit is used for storing the data packet with decoding error into the buffer area under the condition of decoding error of the receiving end.
And the retransmission request unit is used for requesting the transmitting end to retransmit the data packet corresponding to the data packet with the decoding error under the condition that the decoding error of the receiving end occurs.
And the data inclusion merging unit is used for merging the retransmitted data packet with the data packet in the buffer area at the receiving end and decoding the merged data packet.
And the logic control unit is used for controlling the data packet buffer unit, the retransmission request unit and the data packet merging unit to work under the condition that the merged data packet is not decoded correctly, until the merged data packet is decoded correctly or the maximum retransmission times are reached, and ending retransmission.
And the recovery rate acquisition unit is used for acquiring the current packet loss recovery rate when the combined data packets are correctly decoded.
The system comprises a buffer clearing unit, a lamplight data coding unit and a CRC check code, wherein the buffer clearing unit is used for clearing data packets of a buffer area and discarding current network dimming data when the retransmission times reach the maximum value, and the lamplight data coding unit is used for coding and transmitting the lamplight data and the CRC check code at a transmitting end.
Further, the adaptive redundancy adjustment module includes a probability calculation unit and a redundancy calculation unit.
Wherein, the probability calculation unit is used for calculating and obtaining a probability value P mki and a probability value P nj respectively. And is further configured to build a calculation model of the probability value P according to the probability value P mki and the probability value P nj.
The probability value P mki represents the probability that the receiving end receives i media packets after the m media packets in the network dimming data are retransmitted and the maximum retransmission number k is reached.
The probability value P nj represents the probability that the transmitting end transmits n redundant packets in the network dimming data to the receiving end, and the receiving end receives j redundant packets, and 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 the m media packets are retransmitted and the maximum retransmission times k are reached under the condition that n redundant packets exist in the network dimming data.
And the redundancy calculation unit is used for calculating and obtaining 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.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (6)

1. A method for recovering stage lighting data under a weak network, comprising the steps of:
S1, detecting network dimming data;
s2, judging whether the current stage lighting transmission network is in a weak network state according to the detection result of the network dimming data;
S3, if the current stage lighting transmission network is in a weak network state, executing S4, if the current stage lighting transmission network is in a non-weak network state, directly outputting network dimming data, and ending the current task;
S4, carrying out packet loss recovery on the current network dimming data in a retransmission mode to obtain the current packet loss recovery rate after retransmission;
the step S4 comprises the following steps:
s41, decoding a data packet of the current network dimming data at a receiving end;
S42, if the receiving end decodes the error, the data packet with the decoding error is stored in a buffer area, and the transmitting end is requested to retransmit the data packet corresponding to the data packet with the decoding error;
S43, combining the retransmitted data packet with the data packet in the buffer area at the receiving end, and decoding the combined data packet;
S44, if the combined data packet is not decoded correctly, returning to S42 until the combined data packet is decoded correctly or the maximum retransmission times are reached, ending retransmission, acquiring the current lost packet recovery rate when the combined data packet is decoded correctly, and clearing the data packet of the buffer zone and discarding the current network dimming data when the maximum retransmission times are reached;
S5, judging whether the current packet loss recovery rate reaches the expected packet loss recovery rate or not;
And S6, if the expected packet loss recovery rate is not reached, carrying out self-adaptive redundancy adjustment on the network dimming data subjected to retransmission to obtain the minimum redundancy of the network dimming data, adjusting the redundancy duty ratio of the network dimming data according to the minimum redundancy, taking the adjusted network dimming data as the current network dimming data, returning to S4, and if the expected packet loss recovery rate is reached, outputting the recovered network dimming data, and ending the current task.
2. A method for recovering stage lighting data under a weak network according to claim 1, wherein in S5, obtaining the minimum redundancy of the network dimming data comprises the steps of:
S51, respectively calculating to obtain a probability value P mki and a probability value P nj, wherein the probability value P mki 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 retransmission times k, and the probability value P nj represents the probability that the transmitting end transmits n redundant packets in the network dimming data to the receiving end and the receiving end receives j redundant packets;
s52, establishing a calculation model of a probability value P according to the probability value P mki and the probability value P nj, wherein 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 the m media packets are retransmitted and the maximum retransmission times k are reached under the condition that n redundant packets exist in the network dimming data;
And S53, calculating and obtaining a minimum redundant packet number when the current packet loss recovery rate of the network dimming data reaches the expected packet loss recovery rate according to a calculation model of the probability value P.
3. The method for recovering stage lighting data under a weak network according to claim 2, wherein the probability value P is expressed as a calculation model of P= Σ i+j≥mPmkiPnj.
4. A system for recovering stage lighting data under weak net is characterized by comprising,
The data detection module is used for detecting network dimming data;
The network state detection module is used for judging 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 for driving the packet loss recovery processing module to work when the current stage lighting transmission network is in a weak network state, and driving 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 for carrying out packet loss recovery on the current network dimming data in a retransmission mode when the current stage lighting transmission network is in a weak network state, and obtaining the current packet loss recovery rate after retransmission;
the data output module is used for directly outputting network dimming data when the current stage lighting transmission network is in a non-weak network state, and ending the current task;
the packet loss recovery rate detection module is used for judging whether the current packet loss recovery rate reaches the expected packet loss recovery rate;
The self-adaptive redundancy adjustment module is used for carrying out self-adaptive redundancy adjustment on the network dimming data after the retransmission is combined under the condition that the current packet loss recovery rate does not reach the expected packet loss recovery rate, obtaining the minimum redundancy of the network dimming data, adjusting the redundancy duty ratio of the network dimming data according to the minimum redundancy, and inputting the adjusted network dimming data as the current network dimming data into the packet loss recovery rate detection module;
The packet loss recovery processing module comprises:
the CRC decoding unit is used for decoding the data packet of the current network dimming data at the receiving end;
The data packet buffer unit is used for storing the data packet with decoding error into the buffer area under the condition of decoding error of the receiving end;
a retransmission request unit, configured to request, in the case of decoding errors at the receiving end, the transmitting end to retransmit a data packet corresponding to the data packet with decoding errors;
the data inclusion merging unit is used for merging the retransmitted data packet with the data packet in the buffer area at the receiving end and decoding the merged data packet;
The logic control unit is used for controlling the data packet buffer unit, the retransmission request unit and the data packet merging unit to work under the condition that the merged data packet is not decoded correctly, until the merged data packet is decoded correctly or reaches the maximum retransmission times, and the retransmission is finished;
The recovery rate acquisition unit is used for acquiring the current packet loss recovery rate when the combined data packets are correctly decoded;
the buffer clearing unit is used for clearing the data packet of the buffer area and discarding the current network dimming data when the retransmission times reach the maximum value;
Wherein, the buffer emptying unit includes:
And the retransmission times calculation subunit is used for adaptively acquiring the passive retransmission times through a combined retransmission technology according to the allowed packet loss recovery time and the expected packet loss recovery rate.
5. The system for recovering stage lighting data under a weak network according to claim 4, wherein the packet loss recovery processing module further comprises:
and the lamplight data coding unit is used for coding and transmitting the lamplight data and the CRC check code at the transmitting end.
6. A system for recovering stage lighting data under a weak network according to claim 4 or 5, wherein the adaptive redundancy adjustment module comprises:
The device comprises a probability calculation unit, a probability calculation unit and a probability calculation unit, wherein the probability calculation unit is used for respectively calculating and obtaining a probability value P mki and a probability value P nj, wherein the probability value P mki represents the probability that a receiving end receives i media packets after m media packets in network dimming data are retransmitted and the maximum retransmission times k are reached, the probability value P nj represents the probability that a transmitting end transmits n redundant packets in the network dimming data to the receiving end and the receiving end receives j redundant packets, the probability calculation unit is also used for establishing a calculation model of the probability value P according to the probability value P mki and the probability value P nj, and 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 the m media packets are retransmitted and the maximum retransmission times k are reached in the network dimming data;
And the redundancy calculation unit is used for calculating and obtaining 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.
CN202310096920.7A 2023-02-02 2023-02-02 A method and system for restoring stage lighting data under weak network conditions Active CN116073955B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310096920.7A CN116073955B (en) 2023-02-02 2023-02-02 A method and system for restoring stage lighting data under weak network conditions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310096920.7A CN116073955B (en) 2023-02-02 2023-02-02 A method and system for restoring stage lighting data under weak network conditions

Publications (2)

Publication Number Publication Date
CN116073955A CN116073955A (en) 2023-05-05
CN116073955B true CN116073955B (en) 2025-04-25

Family

ID=86171275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310096920.7A Active CN116073955B (en) 2023-02-02 2023-02-02 A method and system for restoring stage lighting data under weak network conditions

Country Status (1)

Country Link
CN (1) CN116073955B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095440A (en) * 2013-01-31 2013-05-08 西安电子科技大学 System and method for hybrid automatic request retransmission in free space optical communication
CN114039703A (en) * 2021-11-26 2022-02-11 北京字节跳动网络技术有限公司 Data transmission method, device, equipment and medium
WO2023284460A1 (en) * 2021-07-15 2023-01-19 中兴通讯股份有限公司 Data transmission method and apparatus, data receiving method and apparatus, electronic device and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100355248C (en) * 2003-09-28 2007-12-12 上海贝尔阿尔卡特股份有限公司 Multiple business realizing method based on ethernet passive optical network
CN102075312B (en) * 2011-01-10 2013-03-20 西安电子科技大学 Video service quality-based hybrid selective repeat method
CN107888342B (en) * 2016-09-30 2019-10-25 瞬已网络科技(上海)有限公司 A network real-time video transmission method and device
CN106533618A (en) * 2016-10-26 2017-03-22 哈尔滨工业大学深圳研究生院 Forward error correction for Bundles of spatial DTN network based on LDPC coding and decoding
CN108667563B (en) * 2018-01-19 2021-05-11 唐桥科技(杭州)有限公司 Method and device for acquiring number of forward error correction packets
CN111385055B (en) * 2018-12-27 2023-03-24 杭州海康威视数字技术股份有限公司 Data transmission method and device
CN111464458B (en) * 2020-04-03 2024-01-02 广州市百果园信息技术有限公司 Packet loss prevention method, device, equipment and storage medium
CN115085859B (en) * 2021-03-15 2023-11-24 海能达通信股份有限公司 Packet loss prevention method, device and computer readable storage medium
CN114422173B (en) * 2021-12-09 2024-02-13 绿盟科技集团股份有限公司 Method, system and storage medium for data transmission based on visible light

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095440A (en) * 2013-01-31 2013-05-08 西安电子科技大学 System and method for hybrid automatic request retransmission in free space optical communication
WO2023284460A1 (en) * 2021-07-15 2023-01-19 中兴通讯股份有限公司 Data transmission method and apparatus, data receiving method and apparatus, electronic device and storage medium
CN114039703A (en) * 2021-11-26 2022-02-11 北京字节跳动网络技术有限公司 Data transmission method, device, equipment and medium

Also Published As

Publication number Publication date
CN116073955A (en) 2023-05-05

Similar Documents

Publication Publication Date Title
CN107196746B (en) Method, device and system for packet loss resistance in real-time communication
EP2638653B1 (en) Method and arrangement for retransmission control
CN1163027C (en) Packet data transfer method with hybrid automatic repeat request
US8526513B2 (en) Method and apparatus for transmitting data, and communication system
US7236740B2 (en) Data retransmission apparatus and method in a mobile communication system employing HARQ technique
CN107257270B (en) Data transmission method and system based on hybrid automatic repeat request
WO2018058803A1 (en) Network-based real-time video transmission method and device
JP4703310B2 (en) Communication method and communication system
KR20040026231A (en) Adaptive hybrid ARQ method and method of transmitting and receiving data in system employing the same
US20100125768A1 (en) Error resilience in video communication by retransmission of packets of designated reference frames
CN105681342A (en) Anti-error code method and system of multi-channel video conference system based on H264
US10630426B2 (en) Redundancy information for a packet data portion
CN112995685B (en) Data transmitting method and device, data receiving method and device, medium and equipment
CN114401208B (en) Data transmission method and device, electronic equipment and storage medium
CN105391530A (en) Satellite network reliable multicast method based on network coding
CN104038327A (en) Error retransmission method for FC (fiber channel) network
CN101667897A (en) Method, device and system for implementing retransmission on physical layer
CN107181576A (en) A kind of IR HARQ transmission methods of the LDPC code suitable for 5G
CN116073955B (en) A method and system for restoring stage lighting data under weak network conditions
CN114567799B (en) Video stream data transmission method and device, storage medium and electronic equipment
CN115296773A (en) Method, receiver and communication device for soft bit decoding
US20080082890A1 (en) Apparatus and method for transmitting/receiving signal in communication system
WO2002093820A1 (en) Communicating method, transmitting apparatus, receiving apparatus, and communicating system including them
CN110572721B (en) Video transmission method and device
US10999006B2 (en) Communications having reduced latency

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载