CN116073955A - Method and system for recovering stage lighting data under weak network - Google Patents

Method and system for recovering stage lighting data under weak network Download PDF

Info

Publication number
CN116073955A
CN116073955A CN202310096920.7A CN202310096920A CN116073955A CN 116073955 A CN116073955 A CN 116073955A CN 202310096920 A CN202310096920 A CN 202310096920A CN 116073955 A CN116073955 A CN 116073955A
Authority
CN
China
Prior art keywords
network
data
packet loss
loss recovery
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.)
Pending
Application number
CN202310096920.7A
Other languages
Chinese (zh)
Inventor
董浩
刘念林
陈柯宇
张徐辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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/CN116073955A/en
Publication of CN116073955A publication Critical patent/CN116073955A/en
Pending legal-status Critical Current

Links

Images

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 invention relates to a data packet recovery technology and discloses a method and a system for recovering stage lighting data under a weak network. The invention judges whether the current stage lighting transmission network is in a weak network state or not by detecting the network dimming data; if the network dimming data is in a weak network state, packet loss recovery is carried out on the current network dimming data in a retransmission mode, otherwise, the network dimming data is directly output; and further judging whether the current packet loss recovery rate reaches the expected packet loss recovery rate, if the current packet loss recovery rate does not reach the expected packet loss recovery rate, performing adaptive redundancy adjustment on the network dimming data after retransmission, and adjusting the redundancy duty ratio of the network dimming data according to the minimum redundancy. And repeatedly executing the steps until the expected packet loss recovery rate, and outputting the recovered network dimming data. The retransmission times can be reduced and the data transmission rate can be improved through the steps; on the premise of ensuring the packet loss recovery rate, the redundancy duty ratio is reduced, and the packet loss resistance recovery capacity is improved.

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 sends the data packet to the receiving end again by using a mechanism of notification or overtime of the receiving end, and the lost data packet is recovered at the receiving end; the second way is to recover the data packet at the receiving end based on the other received redundant packets. However, the two packet recovery methods have the following problems: 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 can carry other redundant packets besides the data packets, and when the data packets are recovered by using the second mode, the required bandwidth can be increased.
In view of this, the present application is specifically proposed.
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, and obtaining 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;
s6: if the expected packet loss recovery rate is not reached, carrying out self-adaptive redundancy adjustment on the network dimming data subjected to the 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 current network dimming data, and 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, and ending retransmission; when the combined data packet is correctly decoded, acquiring the current packet loss recovery rate; and when the maximum retransmission times are reached, the data packet of the buffer area is emptied, and the current network dimming data is discarded.
In S44, the method for obtaining the maximum retransmission times includes: and adaptively acquiring 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 probability value P mki And probability value P nj The method comprises the steps of carrying out a first treatment on the surface of the Probability value P mki Representing 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 times k are reached; probability value P nj The method comprises the steps that a sending end transmits n redundant packets in network dimming data to a receiving end, and the receiving end receives the probability of j redundant packets;
s52: according to the probability value P mki And probability value P nj Establishing a calculation model of the probability value P; 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;
s53: calculation model p= Σaccording to probability value P i+j≥m P mki P nj And calculating the minimum redundant packet number when the current packet loss recovery rate of the network dimming data reaches the expected packet loss recovery rate.
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 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; and the system is also used for outputting the recovered network dimming data and ending the current task under the condition that the current packet loss recovery rate reaches the expected packet loss recovery rate.
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; 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; the retransmission request unit is used for requesting the transmitting end to retransmit the data packet corresponding to the data packet with decoding error under the condition that the decoding error of the receiving end occurs; the data packet 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; the lamplight data coding unit is used for coding and transmitting the lamplight data and the CRC check code at the transmitting end.
The adaptive redundancy adjustment module comprises a probability calculation unit and a redundancy calculation unit. Wherein the probability calculation unit is used for calculating and obtaining probability value P mki And probability value P nj The method comprises the steps of carrying out a first treatment on the surface of the Probability value P mki Representing 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 times k are reached; probability value P nj The method comprises the steps that a sending end transmits n redundant packets in network dimming data to a receiving end, and the receiving end receives the probability of j redundant packets; and also for according to the probability value P mki And probability value P nj Establishing a calculation model of the probability value P; 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; the redundancy calculation unit is used for calculating and obtaining a minimum redundancy packet number value 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.
Compared with the prior art, the invention has the following advantages and beneficial effects: on the one hand, under the condition of data packet analysis errors, a combining retransmission technology is adopted to request a transmitting end to retransmit the data packet with analysis errors, and the data packet received currently is combined with the data packet with analysis errors before, so that the combined 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, and when the retransmission times reach the maximum value, if the data packets cannot be analyzed correctly, the data packets are selected to be discarded, so that the data retransmission times are reduced, 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, thereby reducing retransmission times and improving data transmission rate; on the premise of ensuring the packet loss recovery rate, the redundancy duty ratio is reduced, and the packet loss resistance recovery capability is improved.
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:
step 1: the transmission rate of the network dimming data is detected.
Step 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.
Step 3: if the current stage lighting transmission network is in a weak network state, executing the step 4; if the current stage lighting transmission network is in a non-weak network state, directly outputting network dimming data, and ending the current task.
Step 4: and carrying out packet loss recovery on the current network dimming data in a retransmission mode, and obtaining the current packet loss recovery rate after retransmission.
Step 5: and judging whether the current packet loss recovery rate reaches the expected packet loss recovery rate or not.
Step 6: if the expected packet loss recovery rate is not reached, carrying out self-adaptive redundancy adjustment on the network dimming data subjected to the 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 current network dimming data, and 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, step 4 is realized by the following steps:
step 4.1: the sending end carries out CRC coding on the network dimming data and sends the coded data to the receiving end.
Step 4.2: and decoding the data packet of the network dimming data at the receiving end.
Step 4.3: if the receiving end decodes the error, the data packet with the decoding error is stored in the buffer area, and the transmitting end is requested to retransmit the data packet corresponding to the data packet with the decoding error.
Step 4.4: and 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.
Step 4.5: if the combined data packet is not decoded correctly, returning to the step 4.3 until the combined data packet is decoded correctly or the maximum retransmission times are reached, and ending retransmission; when the combined data packet is correctly decoded, acquiring the current packet loss recovery rate; and when the maximum retransmission times are reached, the data packet of the buffer area is emptied, and the current network dimming data is discarded.
In step 4.5, the method for obtaining the maximum retransmission times includes: and adaptively acquiring 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:
step 5.1: respectively calculating to obtain probability value P mki And probability value P nj
Wherein the probability value P mki Representing 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 times k are reached; probability value P nj The probability that the receiving end receives j redundant packets indicates that the transmitting end transmits n redundant packets in the network dimming data to the receiving end.
Step 5.2: according to the probability value P mki And probability value P nj And establishing a calculation model of the probability value P. The expression of the calculation model of the probability value P is 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 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.
Step 5.3: and according to the calculation model of the probability value P, calculating to obtain the minimum redundant packet quantity when the current packet loss recovery rate of the network dimming data reaches the expected packet loss recovery rate.
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%. Thus, according to the expression of the calculation model of the probability value P, the number of redundant packets is self-increased by 1 from the number of redundant packets n=0, i.e. n=n+1 operations are performed; and carrying out summation calculation by using an expression of a calculation model of the probability value P every time of self-increment, and taking the current redundant packet number n as redundancy when the calculation result is equal to 90%, so as to obtain the optimal redundancy proportion, the most suitable delay loss and the optimal packet loss recovery rate.
In summary, in the method for recovering stage lighting data under the weak network provided in the present embodiment, on one hand, in the case of an analysis error of a data packet, a combining retransmission technology is adopted to request a transmitting end to retransmit the data packet with the analysis error, and combine the data packet currently received with the data packet with the previous analysis error, so that the combined data packet is more reliable than 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, and when the retransmission times reach the maximum value, if the data packets cannot be analyzed correctly, the data packets are selected to be discarded, so that the data retransmission times are reduced, 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 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, and inputting the adjusted network dimming data as the current network dimming data into the packet loss recovery rate detection module; and the system is also used for outputting the recovered network dimming data and ending the current task under the condition that the current packet loss recovery rate reaches the expected packet loss recovery rate.
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 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; the lamplight data coding unit is used for coding and transmitting the lamplight data and the CRC check code at the 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 respectively calculating and obtaining the probability value P mki And probability value P nj . And also for according to the probability value P mki And probability value P nj And establishing a calculation model of the probability value P.
Probability value P mki And 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 times k are reached is represented.
Probability value P nj The method comprises the steps that a sending end transmits n redundant packets in network dimming data to a receiving end, and the receiving end receives the probability of j redundant packets; 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 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 (10)

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, and obtaining 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;
s6: if the expected packet loss recovery rate is not reached, carrying out self-adaptive redundancy adjustment on the network dimming data subjected to the 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 current network dimming data, and 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 of recovering stage lighting data under a weak net according to claim 1, wherein said S4 comprises:
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, and ending retransmission; when the combined data packet is correctly decoded, acquiring the current packet loss recovery rate; and when the maximum retransmission times are reached, the data packet of the buffer area is emptied, and the current network dimming data is discarded.
3. The method for recovering stage lighting data under the weak network according to claim 2, wherein the maximum retransmission number obtaining method is as follows: and adaptively acquiring 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.
4. A method for recovering stage lighting data in a weak net according to claim 2 or 3, wherein in S5, obtaining the minimum redundancy of the network dimming data comprises the steps of:
s51: respectively calculating to obtain probability value P mki And probability value P nj The method comprises the steps of carrying out a first treatment on the surface of the Probability value P mki Representing 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 times k are reached; probability value P nj The method comprises the steps that a sending end transmits n redundant packets in network dimming data to a receiving end, and the receiving end receives the probability of j redundant packets;
s52: according to the probability value P mki And probability value P nj Establishing a calculation model of the probability value P; 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;
s53: and according to the calculation model of the probability value P, calculating to obtain the minimum redundant packet quantity when the current packet loss recovery rate of the network dimming data reaches the expected packet loss recovery rate.
5. The method for recovering stage lighting data under a weak network according to claim 4, wherein the expression of the calculation model of the probability value P is: p= Σ i+j≥m P mki P nj
6. A system for recovering stage lighting data under a weak network, 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; and the system is also used for outputting the recovered network dimming data and ending the current task under the condition that the current packet loss recovery rate reaches the expected packet loss recovery rate.
7. The system for recovering stage lighting data under weak net as defined in claim 6, wherein 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;
and 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.
8. The system for recovering stage lighting data under weak network according to claim 7, 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.
9. A system for recovering stage lighting data under a weak net according to claim 7 or 8, wherein the buffer emptying unit comprises
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.
10. A system for recovering stage lighting data under a weak net according to claim 7 or 8, wherein the adaptive redundancy adjustment module comprises
Probability calculation units for calculating and obtaining probability values P mki And probability value P nj The method comprises the steps of carrying out a first treatment on the surface of the Probability value P mki Representing 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 times k are reached; probability value P nj The method comprises the steps that a sending end transmits n redundant packets in network dimming data to a receiving end, and the receiving end receives the probability of j redundant packets; and also for according to the probability value P mki And probability value P nj Establishing a calculation model of the probability value P; 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.
CN202310096920.7A 2023-02-02 2023-02-02 Method and system for recovering stage lighting data under weak network Pending CN116073955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310096920.7A CN116073955A (en) 2023-02-02 2023-02-02 Method and system for recovering stage lighting data under weak network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310096920.7A CN116073955A (en) 2023-02-02 2023-02-02 Method and system for recovering stage lighting data under weak network

Publications (1)

Publication Number Publication Date
CN116073955A true CN116073955A (en) 2023-05-05

Family

ID=86171275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310096920.7A Pending CN116073955A (en) 2023-02-02 2023-02-02 Method and system for recovering stage lighting data under weak network

Country Status (1)

Country Link
CN (1) CN116073955A (en)

Similar Documents

Publication Publication Date Title
CN107196746B (en) Method, device and system for packet loss resistance in real-time communication
US8526513B2 (en) Method and apparatus for transmitting data, and communication system
JP3634800B2 (en) System and method for implementing hybrid automatic repeat request using parity check combination
JP4446338B2 (en) Retransmission request method, radio communication system, and receiver
CN101193312B (en) Self-adapted error recovery device, video communication system and method based on feedback
EP2493105A1 (en) Method and system for recovering lost media data packets
CN107888342A (en) A kind of network real-time video transmission method and device
CN1152511C (en) Method for retransmitting information by changing intersection length through merging data package
US20100125768A1 (en) Error resilience in video communication by retransmission of packets of designated reference frames
CN101072083A (en) Method for optimizing network data transmission redundancy error correction rate
CN101938334A (en) Adaptive error control method combining random network coding and automatic repeat request
CN110557677A (en) Video transmission method and device
US10630426B2 (en) Redundancy information for a packet data portion
CN105681342A (en) Anti-error code method and system of multi-channel video conference system based on H264
CN112995685B (en) Data transmitting method and device, data receiving method and device, medium and equipment
CN106792265B (en) Network real-time streaming media transmission method and system
CN116073955A (en) Method and system for recovering stage lighting data under weak network
CN101192903B (en) Data frame coding and decoding control method
CN110572721B (en) Video transmission method and device
US20110243217A1 (en) Moving picture transmission apparatus, moving picture transmission system, moving picture transmission method, and program
CN114401208A (en) Data transmission method and device, electronic equipment and storage medium
CN116318545A (en) Video data transmission method, device, equipment and storage medium
CN116132001A (en) Packet loss retransmission method
RU2216868C2 (en) System and method for automatic hybrid request to repeat using parity check combination
JPH0562861B2 (en)

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