CN107241122B - A method of video signal transmission based on power line - Google Patents
A method of video signal transmission based on power line Download PDFInfo
- Publication number
- CN107241122B CN107241122B CN201710294943.3A CN201710294943A CN107241122B CN 107241122 B CN107241122 B CN 107241122B CN 201710294943 A CN201710294943 A CN 201710294943A CN 107241122 B CN107241122 B CN 107241122B
- Authority
- CN
- China
- Prior art keywords
- signal
- digital
- video
- analog
- receiving end
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/10—Adaptations for transmission by electrical cable
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/54—Systems for transmission via power distribution lines
- H04B3/542—Systems for transmission via power distribution lines the information being in digital form
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/268—Signal distribution or switching
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Power Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
本发明公开了一种基于电力线的视频信号传输方法,该方法能够利用电力线传输视频信号。该方法利用数字编码获得最佳的编码效率,模拟编码获得平缓的视频质量变化,通过混合数模编码方法,有效地结合二者的优点,利用数字编码调制中的功率余量传输增强层相关的信息,在提高功率利用率的同时增强视频传输的重建质量;根据信道状况动态调整目标信息速率,保证全天候的通信可达性;且在同样的带宽条件下动态实现不同信息速率的传输,最大化利用带宽,并保证通信速率和成功率;视频数据解码过程中,通过创建ION共享内存并利用私有句柄结构对象直接访问接收端窗口缓存器中的视频解码数据,减少了CPU的压力,提高了视频信号传输的效率。
The invention discloses a video signal transmission method based on a power line, which can transmit the video signal by using the power line. This method uses digital coding to obtain the best coding efficiency, and analog coding to obtain smooth video quality changes. Through the hybrid digital-analog coding method, the advantages of the two are effectively combined, and the power headroom in digital coding and modulation is used to transmit enhancement layer related data. information, enhance the reconstruction quality of video transmission while improving the power utilization rate; dynamically adjust the target information rate according to the channel conditions to ensure all-weather communication accessibility; and dynamically realize the transmission of different information rates under the same bandwidth conditions, maximizing the Utilize bandwidth and ensure communication rate and success rate; in the process of video data decoding, by creating ION shared memory and using a private handle structure object to directly access the video decoding data in the receiver's window buffer, the pressure on the CPU is reduced and the video quality is improved. Efficiency of signal transmission.
Description
技术领域technical field
本发明涉及电力载波通信技术,具体涉及一种基于电力线的视频信号传输方法。The invention relates to a power carrier communication technology, in particular to a power line-based video signal transmission method.
背景技术Background technique
目前,电使用已经遍及千家万户,但如何实现家用电的智慧管理,是政府部门和相关厂商需要考虑的问题。通过物联网解决这一问题是一个很好的思路和途径,不过目前对于智慧电力物联网系统的研究还处于初步发展阶段,研究较少。At present, the use of electricity has spread to thousands of households, but how to realize the intelligent management of household electricity is a problem that government departments and related manufacturers need to consider. It is a good idea and way to solve this problem through the Internet of Things, but the current research on the smart power Internet of Things system is still in the initial stage of development, and there are few studies.
电力载波是电力系统特有的通信方式,电力载波通讯(Power lineCommunication,PLC)是指利用现有电力线,通过载波方式将模拟或数字信号进行高速传输的技术。近年来,宽带电力线载波通信(BPLC:Broadband Power Line Carrier)技术得到了广泛应用,尤其大量应用于智能电网抄表系统、能源互联网、智能家居和工业数据采集等场景。Power carrier is a unique communication method for power systems. Power line Communication (PLC) refers to a technology that uses existing power lines to transmit analog or digital signals at high speed through carrier waves. In recent years, Broadband Power Line Carrier (BPLC: Broadband Power Line Carrier) technology has been widely used, especially in scenarios such as smart grid meter reading systems, energy Internet, smart home and industrial data collection.
视频监控在电力设备监控中存在广泛的应用中,当前视频信号的传输主要依靠光缆或其他单独的传输通道进行传输,成本较高。现有技术中尚未见采用电力线进行视频信号传输的报道。Video surveillance has a wide range of applications in power equipment monitoring. Currently, the transmission of video signals mainly relies on optical cables or other separate transmission channels for transmission, which is costly. In the prior art, there is no report on the use of power lines for video signal transmission.
电力线载波通信网络具有无需重复布线的优点,可大大减少视频传输网络筹建费用。利用已有的电力线资源进行通信,既能满足通信需求,又可解决布线困难,且基础建设投资和日常维护费用低廉,因此电力线载波通信技术具有很高的经济性、便捷性和实用性。但是电力线路设计的初衷是为了完成电能配送而非数据的传输,因而对于数据通信而言,电力线网络并不是一种可靠的通信载体,首先,电力线对通信信号会造成强烈的衰减,这种衰减幅度时变性很强,取决于信号频率、网络拓扑、负载电器等等。The power line carrier communication network has the advantage of not requiring repeated wiring, which can greatly reduce the construction cost of the video transmission network. Using the existing power line resources for communication can not only meet the communication needs, but also solve the wiring difficulties, and the infrastructure investment and daily maintenance costs are low. Therefore, the power line carrier communication technology has high economy, convenience and practicability. However, the original intention of power line design is to complete power distribution rather than data transmission. Therefore, power line network is not a reliable communication carrier for data communication. First, power line will cause strong attenuation to communication signals. This attenuation The amplitude is highly time-varying and depends on the signal frequency, network topology, load electronics, etc.
现有的电力线载波通信系统和装置中的频段分为窄带(30kHz-500kHz)和宽带(2MHz-30MHz)通信,电力线载波通信信道受到各种干扰、衰减、反射等多种影响,使得信道的频率和相位响应变得十分复杂,导致通信成功率随时间和线路变化差异性很大。The frequency bands in the existing power line carrier communication systems and devices are divided into narrowband (30kHz-500kHz) and wideband (2MHz-30MHz) communication. The power line carrier communication channel is affected by various interference, attenuation, reflection, etc., which makes the frequency of the channel. And the phase response becomes very complex, resulting in a large difference in the communication success rate with time and line variation.
此外,视频信号与传统的网络数据传输的差别在于视频对实时性要求较高,另一方面,用户对于视频传输中的一些差错和失真是可以容忍的。这就给模拟编码传输创造了一个应用场景。现有数字编码它存在悬崖效应。信源经过熵编码之后,经过信道传输。根据香农的分离编码理论,对于点到点通信,这个性能是可以达到最优的。但这个最优性能是有前提的,一是要对信道质量估计非常准确;一旦信源数字编码的码率确定之后,如果信道质量发生变化,信道变得更好,也不能利用信道质量变好带来的增益,如果信道质量变差,差到临界点,整个视频质量就会出现悬崖效应。In addition, the difference between the video signal and the traditional network data transmission is that the video has a higher requirement for real-time performance. On the other hand, the user can tolerate some errors and distortions in the video transmission. This creates an application scenario for analog encoded transmission. Existing digital encodings have a cliff effect. After the source is entropy encoded, it is transmitted through the channel. According to Shannon's separate coding theory, this performance can be optimal for point-to-point communication. However, this optimal performance has prerequisites. First, the estimation of the channel quality must be very accurate; once the code rate of the digital encoding of the source is determined, if the channel quality changes, the channel becomes better, and the channel quality cannot be used to improve. The gain brought by, if the channel quality deteriorates to a critical point, the entire video quality will have a cliff effect.
发明内容SUMMARY OF THE INVENTION
本发明提供一种基于电力线的视频信号传输方法,该方法可以利用电力线传输视频信号,不需要建立专门的视频信号传输网络,实现监控视频信号的经济通信,且能保证信号传输的可靠性和及时性;成本较低;利用数字编码获得最佳的编码效率,模拟编码获得平缓的视频质量变化,充分利用数字编码调制中的功率余量传输增强层相关的信息,在提高功率利用率的同时增强视频传输的重建质量;可以保证全天候的通信可达性;且在同样的带宽条件下动态实现不同信息速率的传输,可以最大化利用带宽,并可以保证通信速率和成功率;减少了CPU的压力,提高了视频信号传输的效率。The invention provides a video signal transmission method based on power lines, which can transmit video signals by using power lines without establishing a special video signal transmission network, realize economical communication of monitoring video signals, and ensure the reliability and timeliness of signal transmission. low cost; use digital coding to obtain the best coding efficiency, analog coding to obtain smooth video quality changes, make full use of the power headroom in digital coding and modulation to transmit information related to the enhancement layer, and improve power utilization while enhancing Reconstruction quality of video transmission; can ensure all-weather communication accessibility; and dynamically realize the transmission of different information rates under the same bandwidth conditions, can maximize the use of bandwidth, and can ensure the communication rate and success rate; reduce the pressure on the CPU , which improves the efficiency of video signal transmission.
为了实现上述目的,本发明提供一种基于电力线的视频信号传输方法,该方法能够利用电力线传输视频信号。In order to achieve the above object, the present invention provides a video signal transmission method based on a power line, which can transmit a video signal by using a power line.
一种优化方案,包括如下步骤:An optimization scheme includes the following steps:
S1.在多个电力设备之间设置多个载波数据发送端和并在中控室设置载波数据接收端;S1. Set up multiple carrier data transmitters between multiple power devices and set up carrier data receivers in the central control room;
S2. 原始视频信号经基本层数字编码和增强层模拟编码的分层编码,对应得到数字信道编码信号和模拟编码信号,将数字信道编码信号和模拟编码信号打包得到待发送数据包;S2. The original video signal is subjected to hierarchical coding of the base layer digital coding and the enhancement layer analog coding, correspondingly to obtain a digital channel coding signal and an analog coding signal, and packaging the digital channel coding signal and the analog coding signal to obtain a data packet to be sent;
S3. 获取待发送的数据包,并动态确定目标信息速率;S3. Obtain the data packets to be sent, and dynamically determine the target information rate;
S4. 根据预设的帧结构确定信息帧,所述信息帧包括信息帧头和所述信息数据,所述信息帧头包括所述目标信息速率,所述信息数据包括所述数据包;S4. Determine an information frame according to a preset frame structure, the information frame includes an information frame header and the information data, the information frame header includes the target information rate, and the information data includes the data packet;
S5. 将所述信息帧发送至中控室接收端,完成视频信号的传输。S5. Send the information frame to the receiving end of the central control room to complete the transmission of the video signal.
进一步地,其中在S2中,基本层数模编码过程为:原始视频信号经基于最优量化参数的数字信源编码器得到数字比特流,数字比特流经数字信道编码器得到数字信道编码信号,增强层模拟编码过程为:数字比特流经视频解码器得到重建的数字编码视频,原始视频信号与重建的数字编码视频求差得到残差信号,残差信号经模拟编码器得到模拟编码信号。Further, wherein in S2, the basic layer digital-to-analog encoding process is: the original video signal obtains a digital bit stream through a digital source encoder based on optimal quantization parameters, and the digital bit stream obtains a digital channel encoded signal through a digital channel encoder, The analog encoding process of the enhancement layer is as follows: the digital bit stream is passed through the video decoder to obtain the reconstructed digitally encoded video, the difference between the original video signal and the reconstructed digitally encoded video is obtained to obtain the residual signal, and the residual signal is passed through the analog encoder to obtain the analog encoded signal.
进一步地,在所述S3中,包括:按照预设的临时信息速率向接收端发送信道探测帧,指示所述接收端确定接收所述信道探测帧的第一信噪比,所述信道探测帧包括发送功率;获取接收端以所述临时信息速率发送的应答帧,所述应答帧包括所述第一信噪比;确定接收所述应答帧的第二信噪比;在所述第一信噪比和所述第二信噪比均不小于预设阈值时,将所述临时信息速率作为所述目标信息速率。Further, in the S3, it includes: sending a channel sounding frame to a receiving end according to a preset temporary information rate, instructing the receiving end to determine a first signal-to-noise ratio for receiving the channel sounding frame, and the channel sounding frame Including the transmission power; acquiring the response frame sent by the receiving end at the temporary information rate, the response frame including the first signal-to-noise ratio; determining the second signal-to-noise ratio for receiving the response frame; When both the noise ratio and the second signal-to-noise ratio are not less than a preset threshold, the temporary information rate is used as the target information rate.
进一步地,在所述按照预设的临时信息速率向接收端发送信道探测帧之后,还包括:当在预设时间段内未接收到接收端发送的应答帧时,重复执行更新所述临时信息速率,直至接收到接收端发送的应答帧;更新所述临时信息速率包括:降低所述临时信息速率,并将降低后的临时信息速率作为新的临时信息速率。Further, after the channel sounding frame is sent to the receiving end according to the preset temporary information rate, it also includes: when the response frame sent by the receiving end is not received within a preset time period, repeating the update of the temporary information. until the response frame sent by the receiving end is received; updating the temporary information rate includes: reducing the temporary information rate, and using the reduced temporary information rate as a new temporary information rate.
进一步地,在所述步骤S5中,所述视频信号传输过程中,还建立了残差信号分块后的子块的块方差与量化参数之间的线性函数关系。Further, in the step S5, during the video signal transmission process, a linear function relationship between the block variance of the sub-blocks after the residual signal is divided into blocks and the quantization parameter is also established.
进一步地,所述残差信号分块后的子块的块方差与量化参数之间的线性函数关系,对应的建立过程为:Further, the linear function relationship between the block variance of the sub-blocks after the residual signal is divided into blocks and the quantization parameters, the corresponding establishment process is:
S51.在设定的量化参数取值范围内,选取最高值QPmin和最低值QPmax;S51. within the set quantization parameter value range, select the highest value QP min and the lowest value QP max ;
S52.将原始视频信号划分为多个画面组GoP,由每个GoP分别得到与QPmin和QPmax对应的残差信号数据;S52. Divide the original video signal into multiple groups of pictures GoP, and obtain residual signal data corresponding to QP min and QP max from each GoP;
S53对步骤S52.获得的两组的残差信号数据分别进行三维DCT变换,将三维DCT变换得到的DCT系数进行分块,获取分块后每个子块的块方差,用λi表示第i个子块的块方差;S53 carries out three-dimensional DCT transformation to the residual signal data of the two groups obtained in step S52. respectively, divides the DCT coefficients obtained by the three-dimensional DCT transformation into blocks, obtains the block variance of each sub-block after the block, and represents the i-th sub-block with λ i the block variance of the block;
S54.用线性函数lnλi=ki·QP+wi表示lnλi随QP变化的曲线,可得:S54. Use the linear function lnλ i = ki ·QP+w i to represent the curve of lnλ i changing with QP, we can get:
式中,和表示在QPmin和QPmax下第i个子块的块方差,ki和wi为第i个子块对应的曲线参数;In the formula, and represents the block variance of the ith sub-block under QP min and QP max , and ki and wi are the curve parameters corresponding to the ith sub-block;
S55.对于一个GoP中的每个子块,都对应得到一组ki和wi,则对于任意给出的一个量化参数QP的数值,可得在量化参数QP下第i个子块的块方差λi_QP为:S55. For each sub-block in a GoP, a set of k i and w i are obtained correspondingly, then for any given value of a quantization parameter QP, the block variance λ of the i-th sub-block under the quantization parameter QP can be obtained i_QP is:
λi_QP=exp(ki·QP+wi)。λ i_QP =exp(k i ·QP+ wi ).
进一步地,在所述步骤S5中,还包括视频信号重建的过程。Further, in the step S5, the process of video signal reconstruction is also included.
进一步地,所述视频信号重建的过程为:Further, the process of the video signal reconstruction is:
接收端接到的所述信息帧经数字信道解码器得到重建的数字信道编码信号,由重建的数字信道编码信号得到重建的数字比特流,重建的数字比特流经数字信源解码器得到重建的数字编码视频;The information frame received by the receiving end obtains the reconstructed digital channel coded signal through the digital channel decoder, obtains the reconstructed digital bit stream from the reconstructed digital channel coded signal, and obtains the reconstructed digital bit stream through the digital source decoder. digitally encoded video;
接收端接到到的所述信息帧与重建的数字信道编码信号求差得到带躁的模拟编码信号,带躁的模拟编码信号经模拟解码器得到重建的残差信号;The information frame received by the receiving end and the reconstructed digital channel coded signal are calculated to obtain a disturbed analog coded signal, and the disturbed analog coded signal obtains a reconstructed residual signal through an analog decoder;
重建的数字编码视频与重建的残差信号相叠加,获得重建的原始视频信号。The reconstructed digitally encoded video is superimposed with the reconstructed residual signal to obtain a reconstructed original video signal.
进一步地,所述数字信道解码器通过如下方法重建数字信道编码信号:Further, the digital channel decoder reconstructs the digital channel coded signal by the following method:
通过数字信道管理函数创建一包含文件标识符的ION共享内存;Create an ION shared memory containing the file identifier through the digital channel management function;
根据所述文件标识符构建私有句柄结构对象并根据所述私有句柄结构对象以及所述ION共享内存创建接收端窗口缓存器。A private handle structure object is constructed according to the file identifier, and a receiver window buffer is created according to the private handle structure object and the ION shared memory.
在接收端接收到所述信息帧时,将所述信息帧中的所述数据包填充至所述接收端窗口缓存器中;When the receiving end receives the information frame, the data packet in the information frame is filled into the window buffer of the receiving end;
将被所述数据包填充的所述接收端窗口缓存器对应的所述私有句柄结构对象传递至一视频库中;passing the private handle structure object corresponding to the receiver window buffer filled by the data packet to a video library;
所述视频库根据接收到的所述接收端窗口缓存器对应的私有句柄结构对象访问所述接收端窗口缓存器中的所述数据包,并进行解码。The video library accesses the data packet in the receiver window buffer according to the received private handle structure object corresponding to the receiver window buffer, and performs decoding.
本发明具有以下优点和有益效果:The present invention has the following advantages and beneficial effects:
(1)利用数字编码获得最佳的编码效率,模拟编码获得平缓的视频质量变化。通过混合数模编码方法,可以有效地结合二者的优点,充分利用数字编码调制中的功率余量传输增强层相关的信息,在提高功率利用率的同时增强视频传输的重建质量;(1) Use digital coding to obtain the best coding efficiency, and analog coding to obtain smooth video quality changes. Through the hybrid digital-analog coding method, the advantages of the two can be effectively combined, and the power headroom in the digital coding and modulation can be fully utilized to transmit the information related to the enhancement layer, and the reconstruction quality of the video transmission can be enhanced while improving the power utilization rate;
(2)根据信道状况动态调整目标信息速率,可以保证全天候的通信可达性;且在同样的带宽条件下动态实现不同信息速率的传输,可以最大化利用带宽,并可以保证通信速率和成功率;(2) Dynamically adjust the target information rate according to the channel conditions, which can ensure all-weather communication accessibility; and dynamically realize the transmission of different information rates under the same bandwidth conditions, which can maximize the use of bandwidth and ensure the communication rate and success rate. ;
(3)视频数据解码过程中,通过创建ION共享内存并利用私有句柄结构对象直接访问接收端窗口缓存器中的视频解码数据,减少了CPU的压力,提高了视频信号传输的效率。(3) During the video data decoding process, by creating the ION shared memory and using the private handle structure object to directly access the video decoding data in the receiver window buffer, the pressure on the CPU is reduced and the efficiency of video signal transmission is improved.
附图说明Description of drawings
图1示出了本发明的一种基于电力线的视频信号传输方法的流程图。FIG. 1 shows a flow chart of a power line-based video signal transmission method of the present invention.
具体实施方式Detailed ways
为了对本发明的技术特征、目的和效果有更加清楚的理解,现对照附图说明本发明的具体实施方式。In order to have a clearer understanding of the technical features, objects and effects of the present invention, the specific embodiments of the present invention will now be described with reference to the accompanying drawings.
实施例1一种基于电力线的视频信号传输方法Embodiment 1 A video signal transmission method based on power line
本发明提供一种基于电力线的视频信号传输方法,该方法具体包括如下步骤:The present invention provides a power line-based video signal transmission method, which specifically includes the following steps:
S1.在多个电力设备之间设置多个载波数据发送端和并在中控室设置载波数据接收端;S1. Set up multiple carrier data transmitters between multiple power devices and set up carrier data receivers in the central control room;
S2. 原始视频信号经基本层数字编码和增强层模拟编码的分层编码,对应得到数字信道编码信号和模拟编码信号,将数字信道编码信号和模拟编码信号打包得到待发送数据包。本发明利用数字编码获得最佳的编码效率,模拟编码获得平缓的视频质量变化。通过混合数模编码方法,可以有效地结合二者的优点,充分利用数字编码调制中的功率余量传输增强层相关的信息,在提高功率利用率的同时增强视频传输的重建质量,从而实现质量可伸缩性和编码效率的有效权衡。S2. The original video signal is subjected to layered encoding of the base layer digital encoding and the enhancement layer analog encoding, correspondingly to obtain a digital channel encoded signal and an analog encoded signal, and package the digital channel encoded signal and the analog encoded signal to obtain a data packet to be sent. The invention utilizes digital encoding to obtain the best encoding efficiency, and analog encoding to obtain smooth video quality changes. The hybrid digital-analog coding method can effectively combine the advantages of the two, make full use of the power headroom in the digital coding and modulation to transmit the information related to the enhancement layer, and enhance the reconstruction quality of the video transmission while improving the power utilization rate, so as to achieve high quality Effective trade-off of scalability and coding efficiency.
S3. 获取待发送的数据包,并动态确定目标信息速率。S3. Acquire the data packets to be sent, and dynamically determine the target information rate.
S4. 根据预设的帧结构确定信息帧,所述信息帧包括信息帧头和所述信息数据,所述信息帧头包括所述目标信息速率,所述信息数据包括所述数据包。S4. Determine an information frame according to a preset frame structure, where the information frame includes an information frame header and the information data, the information frame header includes the target information rate, and the information data includes the data packet.
S5. 将所述信息帧发送至中控室接收端,完成视频信号的传输。其中,所述信息帧的发送速率参照所述目标信息速率。接收端无需事先协商即可正确解调和接收,无需增加复杂的解调算法。同时,根据信道状况动态调整目标信息速率,可以保证全天候的通信可达性;且在同样的带宽条件下动态实现不同信息速率的传输,可以最大化利用带宽,并可以保证通信速率和成功率。S5. Send the information frame to the receiving end of the central control room to complete the transmission of the video signal. The sending rate of the information frame refers to the target information rate. The receiving end can demodulate and receive correctly without prior negotiation, without adding complex demodulation algorithms. At the same time, dynamically adjusting the target information rate according to the channel conditions can ensure all-weather communication accessibility; and dynamically realizing the transmission of different information rates under the same bandwidth conditions can maximize the utilization of the bandwidth and ensure the communication rate and success rate.
其中在S2中,基本层数模编码过程为:原始视频信号经基于最优量化参数的数字信源编码器得到数字比特流,数字比特流经数字信道编码器得到数字信道编码信号,增强层模拟编码过程为:数字比特流经视频解码器得到重建的数字编码视频,原始视频信号与重建的数字编码视频求差得到残差信号,残差信号经模拟编码器得到模拟编码信号。In S2, the basic layer digital-to-analog encoding process is as follows: the original video signal is passed through a digital source encoder based on optimal quantization parameters to obtain a digital bit stream, the digital bit stream is passed through a digital channel encoder to obtain a digital channel encoded signal, and the enhancement layer analog The encoding process is as follows: the digital bit stream is passed through the video decoder to obtain the reconstructed digitally encoded video, the original video signal and the reconstructed digitally encoded video are differenced to obtain the residual signal, and the residual signal is passed through the analog encoder to obtain the analog encoded signal.
优选的,在所述S3中,包括:按照预设的临时信息速率向接收端发送信道探测帧,指示所述接收端确定接收所述信道探测帧的第一信噪比,所述信道探测帧包括发送功率;获取接收端以所述临时信息速率发送的应答帧,所述应答帧包括所述第一信噪比;确定接收所述应答帧的第二信噪比;在所述第一信噪比和所述第二信噪比均不小于预设阈值时,将所述临时信息速率作为所述目标信息速率。Preferably, in S3, the method includes: sending a channel sounding frame to a receiving end according to a preset temporary information rate, and instructing the receiving end to determine a first signal-to-noise ratio for receiving the channel sounding frame, and the channel sounding frame Including the transmission power; acquiring the response frame sent by the receiving end at the temporary information rate, the response frame including the first signal-to-noise ratio; determining the second signal-to-noise ratio for receiving the response frame; When both the noise ratio and the second signal-to-noise ratio are not less than a preset threshold, the temporary information rate is used as the target information rate.
优选的,在所述按照预设的临时信息速率向接收端发送信道探测帧之后,还包括:当在预设时间段内未接收到接收端发送的应答帧时,重复执行更新所述临时信息速率,直至接收到接收端发送的应答帧;所述更新所述临时信息速率包括:降低所述临时信息速率,并将降低后的临时信息速率作为新的临时信息速率。Preferably, after the channel sounding frame is sent to the receiving end according to the preset temporary information rate, the method further includes: when the response frame sent by the receiving end is not received within a preset time period, repeating updating the temporary information until the response frame sent by the receiving end is received; the updating the temporary information rate includes: reducing the temporary information rate, and using the reduced temporary information rate as a new temporary information rate.
优选的,在所述步骤S5中,所述视频信号传输过程中,还建立了残差信号分块后的子块的块方差与量化参数之间的线性函数关系,对应的建立过程为:Preferably, in the step S5, during the video signal transmission process, a linear function relationship between the block variance of the sub-blocks after the residual signal is divided into blocks and the quantization parameters is also established, and the corresponding establishment process is:
S51.在设定的量化参数取值范围内,选取最高值QPmin和最低值QPmax;S51. within the set quantization parameter value range, select the highest value QP min and the lowest value QP max ;
S52.将原始视频信号划分为多个画面组GoP,由每个GoP分别得到与QPmin和QPmax对应的残差信号数据;S52. Divide the original video signal into multiple groups of pictures GoP, and obtain residual signal data corresponding to QP min and QP max from each GoP;
S53对步骤S52获得的两组的残差信号数据分别进行三维DCT变换,将三维DCT变换得到的DCT系数进行分块,获取分块后每个子块的块方差,用λi表示第i个子块的块方差;S53 respectively performs three-dimensional DCT transformation on the residual signal data of the two groups obtained in step S52, divides the DCT coefficients obtained by the three-dimensional DCT transformation into blocks, obtains the block variance of each sub-block after the block, and uses λ i to represent the ith sub-block The block variance of ;
S54.用线性函数lnλi=ki·QP+wi表示lnλi随QP变化的曲线,可得:S54. Use the linear function lnλ i = ki ·QP+w i to represent the curve of lnλ i changing with QP, we can get:
式中,和表示在QPmin和QPmax下第i个子块的块方差,ki和wi为第i个子块对应的曲线参数;In the formula, and represents the block variance of the ith sub-block under QP min and QP max , and ki and wi are the curve parameters corresponding to the ith sub-block;
S55.对于一个GoP中的每个子块,都对应得到一组ki和wi,则对于任意给出的一个量化参数QP的数值,可得在量化参数QP下第i个子块的块方差λi_QP为:S55. For each sub-block in a GoP, a set of k i and w i are obtained correspondingly, then for any given value of a quantization parameter QP, the block variance λ of the i-th sub-block under the quantization parameter QP can be obtained i_QP is:
λi_QP=exp(ki·QP+wi)。λ i_QP =exp(k i ·QP+ wi ).
优选的,在所述步骤S5中,还包括视频信号重建的过程:Preferably, in the step S5, the process of video signal reconstruction is also included:
接收端接到到的所述信息帧经数字信道解码器得到重建的数字信道编码信号,由重建的数字信道编码信号得到重建的数字比特流,重建的数字比特流经数字信源解码器得到重建的数字编码视频。The information frame received by the receiving end obtains a reconstructed digital channel coded signal through a digital channel decoder, a reconstructed digital bit stream is obtained from the reconstructed digital channel coded signal, and the reconstructed digital bit stream is reconstructed through a digital source decoder. digitally encoded video.
接收端接到到的所述信息帧与重建的数字信道编码信号求差得到带躁的模拟编码信号,带躁的模拟编码信号经模拟解码器得到重建的残差信号。具体的,将带噪的模拟编码信号采用LLSE做模拟解码获得重建的残差信号(LLSE是解码器的重要组成部分,LLSE采用一种叫做最小线性平方估计的算法对从PHY物理层接收到的数据进行反白化,反能量分配过程)。The information frame received by the receiving end and the reconstructed digital channel coded signal are calculated to obtain an analog coded signal with noise, and the analog coded signal with noise is obtained through an analog decoder to obtain a reconstructed residual signal. Specifically, LLSE is used for analog decoding of the noisy analog coded signal to obtain the reconstructed residual signal (LLSE is an important part of the decoder, LLSE uses an algorithm called least linear square estimation to analyze the received signal from the PHY physical layer. Data is de-whitened, inverse energy distribution process).
重建的数字编码视频与重建的残差信号相叠加,获得重建的原始视频信号。The reconstructed digitally encoded video is superimposed with the reconstructed residual signal to obtain a reconstructed original video signal.
优选的,所述数字信道解码器通过如下方法重建数字信道编码信号:Preferably, the digital channel decoder reconstructs the digital channel coded signal by the following method:
通过数字信道管理函数创建一包含文件标识符的ION共享内存;Create an ION shared memory containing the file identifier through the digital channel management function;
根据所述文件标识符构建私有句柄结构对象并根据所述私有句柄结构对象以及所述ION共享内存创建接收端窗口缓存器。A private handle structure object is constructed according to the file identifier, and a receiver window buffer is created according to the private handle structure object and the ION shared memory.
在接收端接收到所述信息帧时,将所述信息帧中的所述数据包填充至所述接收端窗口缓存器中;When the receiving end receives the information frame, filling the data packet in the information frame into the window buffer of the receiving end;
将被所述数据包填充的所述接收端窗口缓存器对应的所述私有句柄结构对象传递至一视频库中;passing the private handle structure object corresponding to the receiver window buffer filled by the data packet to a video library;
所述视频库根据接收到的所述接收端窗口缓存器对应的私有句柄结构对象访问所述接收端窗口缓存器中的所述数据包,并进行解码。The video library accesses the data packet in the receiver window buffer according to the received private handle structure object corresponding to the receiver window buffer, and performs decoding.
优选的,所述私有句柄定义为:Preferably, the private handle is defined as:
在数据I/O中,如果要从数据包中读取数据,应用程序首先要调用操作系统函数并传送文件名,并选择一个到该文件的路径来打开文件;上述操作系统函数取回一个顺序号,即私有句柄(file handle),该私有句柄对于打开的文件是唯一的识别依据;要从数据包中读取一块数据,应用程序需要调用函数ReadFile,并将私有句柄在内存中的地址和要拷贝的字节数传送给操作系统;buffer(缓冲寄存器,也可以称为缓冲器)可以使高速工作的CPU与慢速工作的外设起协调和缓冲作用,实现数据传送的同步。In data I/O, if data is to be read from a packet, the application first calls the operating system function and passes the file name, and selects a path to the file to open the file; the above operating system function retrieves a sequence number, that is, the private handle (file handle), which is the only identification basis for the opened file; to read a piece of data from the data packet, the application needs to call the function ReadFile, and combine the address of the private handle in memory with the The number of bytes to be copied is transmitted to the operating system; the buffer (buffer register, also called a buffer) can coordinate and buffer the high-speed CPU and the slow-speed peripherals to achieve synchronization of data transmission.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。对示例性实施例进行选择和描述的目的在于解释本发明的特定原理及其实际应用,从而使得本领域的技术人员能够实现并利用本发明的各种不同的示例性实施方案以及各种不同的选择和改变。本发明的范围意在由权利要求书及其等同形式所限定。The above are only the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can be made. It should be regarded as the protection scope of the present invention. The exemplary embodiments were chosen and described for the purpose of explaining certain principles of the invention and their practical applications, to thereby enable one skilled in the art to make and utilize various exemplary embodiments and various different aspects of the invention. Choose and change. The scope of the invention is intended to be defined by the claims and their equivalents.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710294943.3A CN107241122B (en) | 2017-04-28 | 2017-04-28 | A method of video signal transmission based on power line |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710294943.3A CN107241122B (en) | 2017-04-28 | 2017-04-28 | A method of video signal transmission based on power line |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107241122A CN107241122A (en) | 2017-10-10 |
CN107241122B true CN107241122B (en) | 2020-11-27 |
Family
ID=59984096
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710294943.3A Expired - Fee Related CN107241122B (en) | 2017-04-28 | 2017-04-28 | A method of video signal transmission based on power line |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107241122B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019218269A1 (en) * | 2018-05-16 | 2019-11-21 | SZ DJI Technology Co., Ltd. | Image transmission |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996001025A1 (en) * | 1994-06-30 | 1996-01-11 | Thomson Multimedia S.A. | Transport processor interface and video recorder/playback apparatus for a digital television system |
CN1734961A (en) * | 2004-12-17 | 2006-02-15 | 康佳集团股份有限公司 | Method for carrying out digital communication using power line |
CN102170554A (en) * | 2010-02-25 | 2011-08-31 | 无锡中星微电子有限公司 | Network shooting device based on power network and network shooting method thereof |
CN103414865A (en) * | 2013-07-16 | 2013-11-27 | 深圳市金品半导体有限公司 | Method and system for transmitting audio and video through power line |
CN105049880A (en) * | 2015-07-13 | 2015-11-11 | 太原科技大学 | Unequal protection method in video signal modulation |
CN105515614A (en) * | 2015-12-18 | 2016-04-20 | 国网河南省电力公司安阳供电公司 | Channel concatenated coding and decoding method for power line carrier communication and apparatus thereof |
CN105591826A (en) * | 2016-03-18 | 2016-05-18 | 光一科技股份有限公司 | Low voltage power line broadband carrier communication network fault diagnostic device and method |
CN205356613U (en) * | 2016-01-29 | 2016-06-29 | 北京四季豆信息技术有限公司 | Sound video sending , receive and share equipment |
-
2017
- 2017-04-28 CN CN201710294943.3A patent/CN107241122B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996001025A1 (en) * | 1994-06-30 | 1996-01-11 | Thomson Multimedia S.A. | Transport processor interface and video recorder/playback apparatus for a digital television system |
CN1734961A (en) * | 2004-12-17 | 2006-02-15 | 康佳集团股份有限公司 | Method for carrying out digital communication using power line |
CN102170554A (en) * | 2010-02-25 | 2011-08-31 | 无锡中星微电子有限公司 | Network shooting device based on power network and network shooting method thereof |
CN103414865A (en) * | 2013-07-16 | 2013-11-27 | 深圳市金品半导体有限公司 | Method and system for transmitting audio and video through power line |
CN105049880A (en) * | 2015-07-13 | 2015-11-11 | 太原科技大学 | Unequal protection method in video signal modulation |
CN105515614A (en) * | 2015-12-18 | 2016-04-20 | 国网河南省电力公司安阳供电公司 | Channel concatenated coding and decoding method for power line carrier communication and apparatus thereof |
CN205356613U (en) * | 2016-01-29 | 2016-06-29 | 北京四季豆信息技术有限公司 | Sound video sending , receive and share equipment |
CN105591826A (en) * | 2016-03-18 | 2016-05-18 | 光一科技股份有限公司 | Low voltage power line broadband carrier communication network fault diagnostic device and method |
Also Published As
Publication number | Publication date |
---|---|
CN107241122A (en) | 2017-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101010964B (en) | Method and apparatus for using frame rate up conversion techniques in scalable video coding | |
CN104683811B (en) | A kind of Information hiding and extracting method based on the modulation of integer DCT coefficient | |
CN110351216A (en) | A kind of partial transmission sequence method for suppressing peak to average ratio based on precoding | |
CN103974268B (en) | The adjustable low delay sensor network data transmission method of fine granulation | |
Zhao et al. | Adaptive hybrid digital–analog video transmission in wireless fading channel | |
CN110113274A (en) | NOMA system based on m ultiwavelet pulse-shaping | |
CN103067710B (en) | Based on distributed hyper spectrum image coding and the coding/decoding method of 3 D wavelet transformation | |
JP2017050874A (en) | Adjusting physical layer transmission properties | |
JP2016225987A (en) | System for transmitting video on radio channel | |
CN107241122B (en) | A method of video signal transmission based on power line | |
CN107197289B (en) | A kind of mixing digital-to-analogue video transmission method under the isomery scene for antenna | |
CN106657961A (en) | Hybrid digital-analog video coding for stereoscopic video | |
CN103138805B (en) | Transmission method and device and system of power line carrier waves | |
CN112218084A (en) | Frame-level rate control method of high-efficiency video coding standard for surveillance video | |
CN107437976B (en) | Data processing method and equipment | |
CN101299819A (en) | Method for sorting three-dimensional wavelet sub-band and enveloping code flow of telescopic video coding | |
CN116667973B (en) | Data transmission method, device and equipment for analog joint source channel coding | |
CN106301736B (en) | A kind of space-time coding method and device based on OCML | |
CN107222749A (en) | A kind of chaos code constructing method for wireless video transmission | |
CN112787733B (en) | A bidirectional relay scheme adaptive selection method, system, storage medium and terminal | |
CN105049880A (en) | Unequal protection method in video signal modulation | |
CN102629893A (en) | Information sending method and device by multiple-description successive refinement coding | |
Singh et al. | Transmission of audio over LTE packet based wireless networks using wavelets | |
CN107566831A (en) | Multiple description coded adaptive coding/decoding method and system are quantified based on random offset | |
CN110995271A (en) | A/D conversion quantification method for shortest RSA ciphertext length |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201127 |
|
CF01 | Termination of patent right due to non-payment of annual fee |