CN102186088A - Wireless sensor network (WSN) video transmission method based on interleave technology and secondary error-correction fusion - Google Patents
Wireless sensor network (WSN) video transmission method based on interleave technology and secondary error-correction fusion Download PDFInfo
- Publication number
- CN102186088A CN102186088A CN 201110113819 CN201110113819A CN102186088A CN 102186088 A CN102186088 A CN 102186088A CN 201110113819 CN201110113819 CN 201110113819 CN 201110113819 A CN201110113819 A CN 201110113819A CN 102186088 A CN102186088 A CN 102186088A
- Authority
- CN
- China
- Prior art keywords
- packet
- data
- wsn
- method based
- error correction
- 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
Links
Images
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses a wireless sensor network (WSN) video transmission method based on interleave technology and secondary error-correction fusion. In the method, the latest twice increment information can be obtained through increments of former and latter key frames, and is transmitted through the interleave technology; and data are de-interleaved by a receiving end, and are decoded with a stored data packet of the former frame to recover an image. The method reduces the data volume of transmission through increment transmission of key frames, and solves the problem of image decoding failures of increment transmission caused by data packet loss.
Description
Technical field
The present invention relates to a kind of WSN video transmission method,, belong to the wireless sense network technical field based on interleaving technology and secondary error correction integration technology.
Background technology
The variation of the video pictures that video monitoring system is obtained is gradual, and certain getting in touch arranged between frame and the frame.The data volume of one two field picture also is very big, if carry out the multi-hop transmission at wireless sense network, still is sizable for the energy consumption of transmitting.At present, the video transmission Qos of big data quantity has following two kinds of thoughts:
One, utilize retransmission mechanism, resend lost data packets, this method is also inapplicable under the such big data quantity transmission of video image situation.
Two, adopt forward error correction to solve this problem, by creating redundant information, itself and original data flow are transmitted together.Under correct message that receives and the enough prerequisites of redundant information, redundant information can help to rebuild the packet of losing in the network.The method need be carried out the FEC algorithm computation at codec, and the sacrificial section bandwidth has reduced real time of data transmission.Simultaneously, the method for forward error correction also has a shortcoming, is exactly in the packet within the specific limits, and the data that can lose are surrounded by the fault value, only when being lower than this threshold value, could recover the packet lost by redundant information.
If paroxysmal mistake appears in the video transmission, will cause block information dropout, can influence video decode when serious.
The bit error bunchiness takes place in the video transmission process in order to solve, and the scattered method of the subsequent bits in a piece of news, promptly the subsequent bits in a piece of news is sent out in non-mode in succession.Like this, even the bunchiness mistake has taken place in transmission course, when reverting to the message of a subsequent bits string, mistake also just becomes single (or length is very short), at this moment correct mistake with the chnnel coding error correction again, recover former message, this method is exactly an interleaving technology.
Summary of the invention
Technical problem to be solved by this invention is to cause the situation of picture decoding error in, the transmission course big at the video transmission data volume easily, provide a kind of WSN to look transmission method based on interleaving technology and secondary error correction fusion, improve the Qos of gradual video transmission, reduce the loss waste of wireless sensing node, improve the quality of receiver, video effect.
The present invention is for solving the problems of the technologies described above by the following technical solutions:
A kind of WSN video transmission method based on interleaving technology and secondary error correction fusion comprises the steps:
Steps A, transmitting terminal are obtained the data of the present frame of video image;
Step B, the packing operation of should current frame data dividing into groups obtains several packet data package, then to every group of packet be numbered, the encoding compression operation;
Step C, the packet that step B is obtained carries out interleaving treatment, is transferred to receiving terminal then;
Step D, receiving terminal is received packet, carries out deinterleaving then and handles;
Step e is carried out picture decoding, decompression, the data in the recovery data packets to the packet after the deinterleaving processing;
If step F-1 packet full recovery success, then with this frame data bag storage, is returned steps A and is obtained the next frame data and proceed to transmit;
F-2 recovers failure if data are surrounded by part, then recovers the numbering and the up-to-date timestamp of miss data bag according to this, in conjunction with the packet of the local previous frame of preserving, recovers not recover successful packet in step e;
Step G according to handled packet before, recovers successful packet to step F-2 and carries out picture decoding;
Step H carries out this locality storage with the packet after upgrading, and returns the transmission that steps A continues to carry out the next frame video data.
The present invention adopts above technical scheme compared with prior art, has following technique effect:
The present invention reduces data quantity transmitted by the incremental transmission of key frame; Solved the incremental transmission factor causes picture decoding to slip up according to packet loss situation simultaneously.
Description of drawings
Fig. 1 is a method flow diagram of the present invention.
Fig. 2 is the interleaver matrix schematic diagram.
Fig. 3 is the functional flow diagram of sending node.
Fig. 4 is the functional flow diagram of receiving node.
Embodiment
Below in conjunction with accompanying drawing technical scheme of the present invention is described in further detail:
As shown in Figure 1, the present invention comprises the steps: on the whole
At first, obtain the N key frame data of video image, N represents natural number; Then this N key frame data is divided into groups, form after several packet data package every group of packet carried out the encoding compression operation
Then, adopt interleaving technology to give receiving terminal with data packet transmission; After receiving terminal receives packet, at first carry out deinterleaving and handle, decode successively then, decompression operation, the data in the recovery data packets;
When the data full recovery success of packet, then return the video data that obtains the N+1 frame, continue to carry out aforesaid operations;
When packet does not recover success or recovers imperfect, then carry out the secondary error correcting routine, specific as follows:
Recover the numbering and the up-to-date timestamp of miss data bag according to this,, recover not recover successful packet in conjunction with the packet of the local previous frame of preserving; According to handled packet before, carry out picture decoding to recovering successful packet; Packet after will upgrading at last carries out this locality storage, returns the transmission that continues to carry out the next frame video data.
As shown in Figure 2, interleaving technology is ripe utilization in communication network, is divided into that one-level interweaves and secondary interweaves, wherein secondary interweaves interweave and the complexity of deinterleaving higher.Consider the finite energy factor of wireless sensing net node, the present invention adopts one-level ranks matrix interleaving technology: packet writes by row, and the result reads by row.Like this, just paroxysmal concentrated mistake is distributed to overall randomness mistake, having avoided amount of image information to cause in a large number can't identification problem.
As shown in Figure 3, the handling process of sending node is as follows:
1, obtains the data of video image N key frame;
2, the image to the N key frame that obtains carries out encoding compression processing; View data is packaged into several packet data package, then each packet is numbered;
3, packet is carried out interleaving treatment: at first determine the row and column of interleaver matrix, carry out interleaving treatment by the numbering of packet based on interleaver matrix then;
4, give receiving terminal by wireless sense network with data packet transmission.
As shown in Figure 4, the handling process of receiving node is as follows:
A, receiving terminal receive the packet that transmitting terminal transmits;
B, the deinterleaved data bag;
C sorts according to the numbering of packet;
D adopts the image level error correction decoding; Refresh local storing image data storehouse according to package number and timestamp;
E, statistics is failed the packet of normal error correction;
F is according to package number and the timestamp data message of local up-to-date identical numbering of preserving that goes to table look-up;
G recovers view data.
The present invention is based on the secondary error correction Restoration Mechanism of frame data bag.Each frame of video monitoring image all is gradual image, and background is fixed, and the key object variable quantity is little.Therefore, the unrecovered packet of image decompressor can be on certain degree, and the packet of the up-to-date timestamp of the identical numbering of frame substitutes on the foundation, then decoding.At first, data compression is divided into little image block according to the picture position order and encodes, the corresponding corresponding pixel of packet sequence number; Secondly, packet all is to handle through entropy coding, does not have association each other.So secondary error correction Restoration Mechanism is feasible.
Claims (3)
1. the WSN video transmission method based on interleaving technology and secondary error correction fusion is characterized in that, comprises the steps:
Steps A, transmitting terminal are obtained the data of the present frame of video image;
Step B, the packing operation of should current frame data dividing into groups obtains several packet data package, then to every group of packet be numbered, the encoding compression operation;
Step C, the packet that step B is obtained carries out interleaving treatment, is transferred to receiving terminal then;
Step D, receiving terminal is received packet, carries out deinterleaving then and handles;
Step e is carried out image error correction decoding, decompression, the data in the recovery data packets to the packet after the deinterleaving processing; Refresh local storing image data storehouse according to package number and timestamp then;
If step F-1 packet full recovery success, then with this frame data bag storage, is returned steps A and is obtained the next frame data and proceed to transmit;
F-2 recovers failure if data are surrounded by part, then recovers the numbering and the up-to-date timestamp of miss data bag according to this, in conjunction with the packet of the local previous frame of preserving, recovers not recover successful packet in step e;
Step G according to handled packet before, recovers successful packet to step F-2 and carries out picture decoding;
Step H carries out this locality storage with the packet after upgrading, and returns the transmission that steps A continues to carry out the next frame video data.
2. the WSN video transmission method based on interleaving technology and secondary error correction fusion according to claim 1 is characterized in that the described interleaving treatment of step C adopts one-level ranks matrix deinterleaving method.
3. the WSN video transmission method based on interleaving technology and secondary error correction fusion according to claim 2, it is characterized in that: described one-level ranks matrix deinterleaving method is: at first determine the row and column of interleaver matrix, carry out interleaving treatment by the numbering of packet based on interleaver matrix then.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110113819 CN102186088A (en) | 2011-05-04 | 2011-05-04 | Wireless sensor network (WSN) video transmission method based on interleave technology and secondary error-correction fusion |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110113819 CN102186088A (en) | 2011-05-04 | 2011-05-04 | Wireless sensor network (WSN) video transmission method based on interleave technology and secondary error-correction fusion |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102186088A true CN102186088A (en) | 2011-09-14 |
Family
ID=44572148
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110113819 Pending CN102186088A (en) | 2011-05-04 | 2011-05-04 | Wireless sensor network (WSN) video transmission method based on interleave technology and secondary error-correction fusion |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102186088A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105988762A (en) * | 2015-02-10 | 2016-10-05 | 腾讯科技(深圳)有限公司 | Display and hiding methods and apparatuses for animation frame |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047841A (en) * | 2006-04-18 | 2007-10-03 | 华为技术有限公司 | Cascade coding method and device in hand TV system |
CN101166273A (en) * | 2006-10-16 | 2008-04-23 | 华为技术有限公司 | Method, device and system for transmitting video data |
CN101483497A (en) * | 2008-12-15 | 2009-07-15 | 华亚微电子(上海)有限公司 | Data transmission system, receiving terminal and data packet recovery method thereof |
CN101577556A (en) * | 2009-06-17 | 2009-11-11 | 北京九方中实电子科技有限责任公司 | Method for realizing rectangular interweaving |
CN101588504A (en) * | 2009-05-21 | 2009-11-25 | 中兴通讯股份有限公司 | Sending and receiving devices of video communication system, and sending and receiving method thereof |
-
2011
- 2011-05-04 CN CN 201110113819 patent/CN102186088A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047841A (en) * | 2006-04-18 | 2007-10-03 | 华为技术有限公司 | Cascade coding method and device in hand TV system |
CN101166273A (en) * | 2006-10-16 | 2008-04-23 | 华为技术有限公司 | Method, device and system for transmitting video data |
CN101483497A (en) * | 2008-12-15 | 2009-07-15 | 华亚微电子(上海)有限公司 | Data transmission system, receiving terminal and data packet recovery method thereof |
CN101588504A (en) * | 2009-05-21 | 2009-11-25 | 中兴通讯股份有限公司 | Sending and receiving devices of video communication system, and sending and receiving method thereof |
CN101577556A (en) * | 2009-06-17 | 2009-11-11 | 北京九方中实电子科技有限责任公司 | Method for realizing rectangular interweaving |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105988762A (en) * | 2015-02-10 | 2016-10-05 | 腾讯科技(深圳)有限公司 | Display and hiding methods and apparatuses for animation frame |
CN105988762B (en) * | 2015-02-10 | 2019-07-05 | 腾讯科技(深圳)有限公司 | Display methods, hidden method and the device of animation frame |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101834700A (en) | Unidirectional reliable transmission method and transceiving device based on data packets | |
CN101563874B (en) | A method to support forward error correction for real-time audio and video data over internet protocol networks | |
CN101432969B (en) | Forward error-correcting (FEC) coding and streaming | |
CN101359981B (en) | Method, apparatus and system for data packet redundant encoding and decoding | |
US8386901B2 (en) | Method, device and software application for transmitting data packets in a communication system | |
CN101800757B (en) | No-feedback one-way data transmission method based on single fiber structure | |
EP0928520B1 (en) | Error detection scheme for arq systems | |
CN100512021C (en) | Digital transmitter/receiver system having a robust error correction coding/decoding device and error correction coding/decoding method thereof | |
WO2016045391A1 (en) | Method and device for data transmission | |
CN101350699B (en) | Method for distributing information based on increment fountain | |
US8370721B2 (en) | Method and system for sensing available bandwidth over a best effort connection | |
JP2015222954A (en) | Fast channel zapping and high quality streaming protection over broadcast channel | |
CN101166273A (en) | Method, device and system for transmitting video data | |
CN100568744C (en) | A kind of method and apparatus of convolutional code rate coupling | |
KR101118194B1 (en) | Method for lost packet reconstruction and device for carrying out said method | |
CN102239658B (en) | Error control on-demand | |
CN101702640A (en) | Method and device for transmitting data in unidirectional network | |
CN101877620A (en) | Method, apparatus and system for forward error correction | |
CN101090306A (en) | Code and decode multiple method in service channel | |
CN104104727B (en) | Raptor code based large file transmission method | |
CN102984232A (en) | Real-time streaming media transmission protocol stack in multi-hop network | |
US7289530B1 (en) | System and method for coding a digital wrapper frame | |
CN100589359C (en) | A Reed-Solomon code coding method and device | |
EP1758254A1 (en) | Improved erasure correction scheme based on XOR operations for packet transmission | |
CN102186088A (en) | Wireless sensor network (WSN) video transmission method based on interleave technology and secondary error-correction fusion |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110914 |