Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5736237B2 - Video transmission device - Google Patents
[go: Go Back, main page]

JP5736237B2 - Video transmission device - Google Patents

Video transmission device Download PDF

Info

Publication number
JP5736237B2
JP5736237B2 JP2011118075A JP2011118075A JP5736237B2 JP 5736237 B2 JP5736237 B2 JP 5736237B2 JP 2011118075 A JP2011118075 A JP 2011118075A JP 2011118075 A JP2011118075 A JP 2011118075A JP 5736237 B2 JP5736237 B2 JP 5736237B2
Authority
JP
Japan
Prior art keywords
transmission
rate
modulation
unit
encoding 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.)
Expired - Fee Related
Application number
JP2011118075A
Other languages
Japanese (ja)
Other versions
JP2012249005A (en
Inventor
周平 小田
周平 小田
智史 小山
智史 小山
黒住 正顕
正顕 黒住
青木 勝典
勝典 青木
山本 真
真 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting Corp
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 Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP2011118075A priority Critical patent/JP5736237B2/en
Publication of JP2012249005A publication Critical patent/JP2012249005A/en
Application granted granted Critical
Publication of JP5736237B2 publication Critical patent/JP5736237B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Mobile Radio Communication Systems (AREA)

Description

本発明は、無線LANにより映像データを伝送する映像伝送装置に関する。   The present invention relates to a video transmission apparatus that transmits video data by a wireless LAN.

無線通信に関する各種手順を標準化した規格としてIEEE802.11が知られており、この規格に従った一連の伝送方式を利用した映像伝送装置が広く普及している。この伝送方式を利用して、ウェブカメラにより撮影されたライブ映像を、無線LANにより遠隔地から伝送することが一般に行われている。ライブ映像の動画データは大容量であるため、ライブ映像を伝送する際には、人間の目に感知し難い高周波映像成分を削減する符号化処理が行われ、ライブ映像のデータ圧縮処理が行われることが多い。   IEEE802.11 is known as a standard that standardizes various procedures related to wireless communication, and video transmission apparatuses using a series of transmission methods according to this standard are widely used. Using this transmission method, live video captured by a web camera is generally transmitted from a remote place by a wireless LAN. Since video data of live video is large, when live video is transmitted, encoding processing is performed to reduce high-frequency video components that are difficult for human eyes to detect, and live video data compression processing is performed. There are many cases.

無線LANにより映像データを伝送するシステムでは、搬送波対ノイズ比(C/N比)によって、周波数帯域あたりの伝送可能なビットレート(伝送レート)が変化する。すなわち、無線LANにより映像データを伝送する送受信装置間の距離、または送受信装置間内の電波伝搬を妨げる障害物の有無によって、無線伝送路の伝搬状況が変化し、伝送レートが変動する。   In a system that transmits video data using a wireless LAN, the bit rate (transmission rate) that can be transmitted per frequency band varies depending on the carrier-to-noise ratio (C / N ratio). That is, the propagation state of the wireless transmission path changes and the transmission rate varies depending on the distance between the transmission / reception devices that transmit video data over the wireless LAN or the presence or absence of an obstacle that prevents radio wave propagation between the transmission / reception devices.

このような無線伝送路において、送信装置が、固定の圧縮率(エンコードレート)で映像データを符号化し、一定の伝送レートのままで映像データを送信している場合に、無線伝送路の伝搬状況が変化し伝送レートが低下したときには、全ての映像データを送信することができなくなる。この場合、受信装置は、映像データを良好に受信することができないから、画面表示される映像は乱れてしまう。   In such a wireless transmission path, when the transmitting device encodes video data at a fixed compression rate (encoding rate) and transmits the video data at a constant transmission rate, the propagation status of the wireless transmission path When the transmission rate decreases due to a change in the video data, all video data cannot be transmitted. In this case, since the receiving device cannot receive the video data satisfactorily, the video displayed on the screen is disturbed.

また、IEEE802.11に規定する無線LANでは、CSMA(Carrier Sense Multiple Access)方式により、複数の映像伝送装置が、同じチャンネルの無線伝送路を共有して映像データを伝送する。各映像伝送装置は、無線伝搬路上での混信を避けるために、他の映像伝送装置が映像データを送信しているときに、映像データの送信を一時的に停止し、送信する映像データを待機させる。しかし、このような無線伝送路の伝搬状況では、各映像伝送装置において伝送レートは低下してしまう。   Also, in a wireless LAN defined in IEEE 802.11, a plurality of video transmission apparatuses share video transmission data of the same channel using a CSMA (Carrier Sense Multiple Access) method. Each video transmission device temporarily stops video data transmission and waits for video data to be transmitted when other video transmission devices are transmitting video data to avoid interference on the wireless propagation path Let However, in such a propagation state of the wireless transmission path, the transmission rate is lowered in each video transmission apparatus.

このような問題を解決するために、無線伝送路の伝搬状況に応じて、適応的に映像データの圧縮率を変更する手法が知られている(例えば、特許文献1を参照)。この手法では、映像伝送装置は、無線伝送路の伝搬状況が劣化した場合、伝送レートを下げ、良化した場合、伝送レートを上げる。また、エンコードレートが伝送レート以下になるように、エンコードレートを制御する。これにより、映像データの伝送エラーを低減することができ、無線伝送路の伝搬状況が変化した場合であっても、映像データを良好に伝送することができる。   In order to solve such a problem, a method of adaptively changing the compression rate of video data according to the propagation state of the wireless transmission path is known (see, for example, Patent Document 1). In this method, the video transmission apparatus lowers the transmission rate when the propagation state of the wireless transmission path deteriorates, and increases the transmission rate when it improves. Also, the encoding rate is controlled so that the encoding rate is equal to or lower than the transmission rate. Thereby, transmission errors of video data can be reduced, and video data can be transmitted satisfactorily even when the propagation state of the wireless transmission path changes.

特開2007−329708号公報JP 2007-329708 A

しかしながら、特許文献1の手法では、伝送レートが変化してからエンコードレートを制御するため、無線伝送路の伝搬状況が変化して伝送レートが低下した場合、エンコードレートが切り替わるまでの間、映像データが欠損して伝送できないことがあり、その期間の映像が途切れてしまうという問題があった。また、特許文献1には、CSMA方式によって、複数の映像伝送装置が同じチャンネルの無線伝送路を共有して映像データを伝送する場合、同時送信時に伝送レートが低下してしまうという状況に対し、エンコードレートをどのように具体的に制御するかについて、明示的な記載がない。   However, in the method of Patent Document 1, since the encoding rate is controlled after the transmission rate is changed, when the propagation state of the wireless transmission path is changed and the transmission rate is lowered, the video data is changed until the encoding rate is switched. There is a problem that the video cannot be transmitted due to a loss of video, and the video during that period is interrupted. Also, in Patent Document 1, when a plurality of video transmission apparatuses transmit video data by sharing a wireless transmission path of the same channel according to the CSMA method, a situation in which a transmission rate is reduced at the time of simultaneous transmission, There is no explicit description on how to specifically control the encoding rate.

そこで、本発明は前記課題を鑑み、その目的は、無線伝送路の伝搬状況に応じて伝送レートが変化したり、同一伝送路にて同時送信が発生し伝送レートが低下したりした場合であっても、映像データの伝送を無瞬断で継続することが可能な映像伝送装置を提供することにある。   Therefore, the present invention has been made in view of the above problems, and its purpose is that the transmission rate changes according to the propagation status of the wireless transmission path, or the transmission rate is lowered due to simultaneous transmission on the same transmission path. However, an object of the present invention is to provide a video transmission device capable of continuing transmission of video data without interruption.

前記目的を達成するために、本発明による映像伝送装置は、映像信号を圧縮符号化してエンコードデータを生成し、前記エンコードデータを変調し無線伝送路を介して受信装置へ送信する映像伝送装置において、前記送信されたエンコードデータに対する確認応答のACKを含むデータを、前記受信装置から受信して復調する受信復調部、前記受信装置により送信されたデータについての電波の電界強度を測定する電界強度測定部、前記電界強度測定部により測定された電界強度に基づいて変調方式を決定する変調方式決定部、及び、前記変調方式決定部により決定された変調方式に従ってエンコードデータを変調し、無線伝送路へ送信する変調送信部、を有する送信部と、前記送信部の変調方式決定部により新たな変調方式が決定され、前記新たな変調方式に切り替わる場合、前記切り替え前の現在の変調方式、前記切り替え後の変調方式、及び、前記送信部の電界強度測定部により測定された電界強度に基づいて、エンコードレートを決定する中間ドライバと、前記エンコードレートにて映像信号を圧縮符号化し、エンコードデータを生成するエンコーダと、を備え、前記中間ドライバが、前記変調方式に基づいて、送信可能な最大レートを算出し、前記切り替え後の変調方式における送信可能な最大レートが、前記切り替え前の現在の変調方式における送信可能な最大レート以下の場合に、前記切り替え後の変調方式における送信可能な最大レート以下のエンコードレートで圧縮符号化するための指示を前記エンコーダに出力し、前記指示を前記エンコーダに出力してから、前記指示によりエンコードレートが低下したエンコードデータを前記送信部の変調送信部にて変調可能な所定時間が経過した後に、前記新たな変調方式に切り替えるための指示を前記送信部の変調送信部に出力し、前記切り替え後の変調方式における送信可能な最大レートが、前記切り替え前の現在の変調方式における送信可能な最大レートよりも高い場合に、前記新たな変調方式に切り替えるための指示を前記送信部の変調送信部に出力し、前記送信部の変調送信部から、前記新たな変調方式に切り替わったことを示す変調方式切替完了を入力した後に、または、前記指示を前記送信部の変調送信部に出力してから、前記指示により前記新たな変調方式に切り替わる所定時間が経過した後に、前記切り替え後の変調方式における送信可能な最大レート以下のエンコードレートで圧縮符号化するための指示を前記エンコーダに出力する、ことを特徴とする。 In order to achieve the above object, a video transmission apparatus according to the present invention is a video transmission apparatus that generates encoded data by compressing and encoding a video signal, modulates the encoded data, and transmits the encoded data to a receiving apparatus via a wireless transmission path. A reception demodulator for receiving and demodulating data including an acknowledgment ACK for the transmitted encoded data from the receiving device; and an electric field strength measurement for measuring electric field strength of radio waves for the data transmitted by the receiving device A modulation scheme determination unit that determines a modulation scheme based on the electric field strength measured by the electric field strength measurement unit, and modulates the encoded data according to the modulation scheme determined by the modulation scheme determination unit, to the wireless transmission path A new modulation scheme is determined by a transmission section having a modulation transmission section to transmit, and a modulation scheme determination section of the transmission section; When switching to a new modulation method, an intermediate encoding rate is determined based on the current modulation method before the switching, the modulation method after the switching, and the electric field strength measured by the electric field strength measuring unit of the transmitting unit. A driver and an encoder that compresses and encodes a video signal at the encoding rate to generate encoded data, and the intermediate driver calculates a maximum transmittable rate based on the modulation scheme, and after the switching When the maximum transmittable rate in the modulation scheme is equal to or lower than the maximum transmittable rate in the current modulation scheme before switching, compression encoding is performed at an encoding rate equal to or lower than the maximum transmittable rate in the modulation scheme after switching. To output to the encoder, to output the instruction to the encoder, An instruction to switch to the new modulation method is output to the modulation transmission unit of the transmission unit after a predetermined time in which the modulation data of the transmission unit can be modulated by the modulation transmission unit of the transmission unit has elapsed. When the maximum transmittable rate in the modulation scheme after switching is higher than the maximum transmittable rate in the current modulation scheme before switching, an instruction for switching to the new modulation scheme is sent to the transmitting unit. The modulation transmission unit of the transmission unit outputs the modulation scheme switching completion indicating the switching to the new modulation scheme, or the instruction is sent to the modulation transmission unit of the transmission unit. After a predetermined time for switching to the new modulation scheme by the instruction after the output, the maximum transmission possible in the modulation scheme after the switching An instruction for compression encoding at an encoding rate equal to or less than a large rate is output to the encoder .

また、本発明による映像伝送装置は、前記中間ドライバが、前記送信部の電界強度測定部により測定された電界強度が所定の閾値よりも小さい場合、前記送信部の変調送信部に、前記変調及び送信を停止させると共に前記エンコードデータを破棄させ、前記送信部の電界強度測定部により測定された電界強度が所定の閾値以上の場合、前記送信部の変調送信部に、前記変調及び送信を再開させる、ことを特徴とする。   In the video transmission device according to the present invention, when the electric field strength measured by the electric field strength measurement unit of the transmission unit is smaller than a predetermined threshold, the intermediate driver transmits the modulation and transmission to the modulation transmission unit of the transmission unit. The transmission is stopped and the encoded data is discarded, and when the electric field strength measured by the electric field strength measurement unit of the transmission unit is equal to or greater than a predetermined threshold, the modulation transmission unit of the transmission unit restarts the modulation and transmission It is characterized by that.

また、本発明による映像伝送装置は、さらに、位置情報測定部及びエンコードレート決定部を備え、前記位置情報測定部が、当該映像伝送装置の位置を測定して位置情報を生成し、前記エンコードレート決定部が、位置情報とエンコードレートとが対応して格納されたテーブルを有し、前記位置情報測定部により生成された位置情報、前記テーブルに格納された位置情報及びエンコードレート、並びに前記送信部の変調送信部にて用いている現在の変調方式に基づいて、エンコードレートを決定する、ことを特徴とする。   The video transmission apparatus according to the present invention further includes a position information measuring unit and an encoding rate determining unit, wherein the position information measuring unit measures the position of the video transmission apparatus to generate position information, and the encoding rate The determination unit includes a table in which position information and an encoding rate are stored correspondingly, the position information generated by the position information measurement unit, the position information and the encoding rate stored in the table, and the transmission unit The encoding rate is determined based on the current modulation method used in the modulation transmission unit.

また、本発明による映像伝送装置は、前記エンコードレート決定部が、前記位置情報測定部により生成された位置情報が前記テーブルに格納されているか否かを判定し、前記位置情報が格納されていない場合、前記現在の変調方式に基づいて、現在の送信可能な最大レートを算出し、前記現在の送信可能な最大レートを前記位置情報に対応するエンコードレートとして前記テーブルに格納し、前記位置情報が格納されている場合、前記位置情報に対応するエンコードレートを前記テーブルから読み出す、ことを特徴とする。   In the video transmission apparatus according to the present invention, the encoding rate determination unit determines whether the position information generated by the position information measurement unit is stored in the table, and the position information is not stored. A current maximum transmittable rate is calculated based on the current modulation scheme, and the current maximum transmittable rate is stored in the table as an encoding rate corresponding to the position information. If stored, the encoding rate corresponding to the position information is read from the table.

また、本発明による映像伝送装置は、前記エンコードレート決定部が、前記現在の変調方式に基づいて、現在の送信可能な最大レートを算出し、前記テーブルから読み出した、前記位置情報に対応するエンコードレートと、前記現在の送信可能な最大レートとを比較し、前記読み出したエンコードレートが前記現在の送信可能な最大レート以下の場合、前記エンコーダに、前記読み出したエンコードレートにて圧縮符号化を行わせる、ことを特徴とする。   In the video transmission apparatus according to the present invention, the encoding rate determination unit calculates the current maximum transmittable rate based on the current modulation method, and reads the encoding corresponding to the position information read from the table. When the read encoding rate is equal to or less than the current maximum transmittable rate, the encoder performs compression encoding at the read encode rate. It is characterized by that.

また、本発明による映像伝送装置は、前記エンコードレート決定部が、前記読み出したエンコードレートが前記現在の送信可能な最大レートよりも高い場合、所定時間経過後に、または、前記現在の送信可能な最大レートが所定のレートにまで高くなった後に、前記エンコーダに、前記読み出したエンコードレートにて圧縮符号化を行わせる、ことを特徴とする。   In the video transmission apparatus according to the present invention, the encoding rate determination unit may determine that the read encoding rate is higher than the current maximum transmittable rate after a predetermined time elapses or the current maximum transmittable rate. After the rate has increased to a predetermined rate, the encoder is caused to perform compression encoding at the read encoding rate.

以上のように、本発明によれば、映像データの伝送を無瞬断で継続することができ、ライブ映像は途切れることがない。   As described above, according to the present invention, transmission of video data can be continued without interruption, and a live video is not interrupted.

本発明の実施形態による送信装置(映像伝送装置)を含む伝送システムの全体構成を示す概略図である。It is the schematic which shows the whole structure of the transmission system containing the transmission apparatus (video transmission apparatus) by embodiment of this invention. 送信装置の無線LAN物理層による送信処理を示すフローチャートである。It is a flowchart which shows the transmission process by the wireless LAN physical layer of a transmitter. 本発明の第1の実施形態(実施例1)による送信装置の構成を示すブロック図である。It is a block diagram which shows the structure of the transmitter by the 1st Embodiment (Example 1) of this invention. 実施例1の中間ドライバによるエンコードレート及び変調方式に関する処理を示すフローチャートである。6 is a flowchart illustrating processing related to an encoding rate and a modulation method by an intermediate driver according to the first exemplary embodiment. 本発明の第2の実施形態(実施例2)による送信装置の構成を示すブロック図である。It is a block diagram which shows the structure of the transmitter by the 2nd Embodiment (Example 2) of this invention. 実施例2のエンコードレート算出部によるエンコードレート算出処理を示すフローチャートである。10 is a flowchart illustrating encoding rate calculation processing by an encoding rate calculation unit according to the second embodiment. 本発明の第3の実施形態(実施例3)による送信装置の構成を示すブロック図である。It is a block diagram which shows the structure of the transmitter by the 3rd Embodiment (Example 3) of this invention. 実施例3のエンコードレート算出部によるエンコードレート算出処理を示すフローチャートである。10 is a flowchart illustrating an encoding rate calculation process by an encoding rate calculation unit according to the third embodiment. 本発明の第4の実施形態(実施例4)による送信装置の構成を示すブロック図である。It is a block diagram which shows the structure of the transmitter by the 4th Embodiment (Example 4) of this invention. 実施例4の位置−送信レートテーブル保持部によるエンコードレート及び変調方式に関する処理を示すフローチャートである。14 is a flowchart illustrating processing related to an encoding rate and a modulation method by a position-transmission rate table holding unit according to the fourth embodiment. 本発明の第5の実施形態(実施例5)による送信装置の構成を示すブロック図である。It is a block diagram which shows the structure of the transmitter by the 5th Embodiment (Example 5) of this invention.

以下、本発明を実施するための形態について図面を用いて詳細に説明する。
〔全体システム〕
まず、本発明の実施形態による送信装置(映像伝送装置)を含む伝送システムについて説明する。図1は、伝送システムの全体構成を示す概略図である。この伝送システムは、送信装置1及び受信装置2を備えて構成され、無線LANによりライブ映像伝送を行う。送信装置1は、映像信号を入力し、エンコード及び変調等の処理を行い、無線にてデータを受信装置2へ送信し、受信装置2からACK等を受信する。受信装置2は、送信装置1から送信されたデータを受信し、復調及びデコード等の処理を行い、元の映像信号に復元して出力する。また、受信装置2は、データを正常に受信した場合にはACKを送信装置1へ送信し、必要に応じてその他のデータを送信装置1へ送信する。
Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings.
[Overall system]
First, a transmission system including a transmission device (video transmission device) according to an embodiment of the present invention will be described. FIG. 1 is a schematic diagram showing the overall configuration of a transmission system. This transmission system includes a transmission device 1 and a reception device 2, and performs live video transmission over a wireless LAN. The transmission device 1 inputs a video signal, performs processing such as encoding and modulation, transmits data to the reception device 2 wirelessly, and receives ACK and the like from the reception device 2. The receiving device 2 receives the data transmitted from the transmitting device 1, performs processing such as demodulation and decoding, restores the original video signal, and outputs it. In addition, when receiving data normally, the receiving device 2 transmits ACK to the transmitting device 1 and transmits other data to the transmitting device 1 as necessary.

送信装置1は、エンコーダ11、中間ドライバ12及び無線LAN物理層(送信部)13を備えている。尚、後述する実施例1〜5の送信装置1−1〜1−5は、図1と基本的に同じ機能を有する構成部を備えているが、図1の各構成部に加えて新たな機能を有する場合もあるし、図1の各構成部の機能のうち、一部の機能を有しない場合もあり、また、処理内容が異なる場合もある。   The transmission device 1 includes an encoder 11, an intermediate driver 12, and a wireless LAN physical layer (transmission unit) 13. In addition, although the transmission apparatuses 1-1 to 1-5 of Examples 1 to 5 which will be described later are provided with components having basically the same functions as those in FIG. 1, in addition to the components in FIG. 1 may have a function, or may not have a part of the functions of each component in FIG. 1, and the processing content may be different.

エンコーダ11は、映像信号である映像ベースバンド信号を入力すると共に、中間ドライバ12からエンコードレート指示を入力し、エンコードレート指示が示すエンコードレートに従って、映像信号の圧縮符号化を行い、エンコードデータを生成する。   The encoder 11 receives a video baseband signal, which is a video signal, and also receives an encoding rate instruction from the intermediate driver 12, performs compression encoding of the video signal according to the encoding rate indicated by the encoding rate instruction, and generates encoded data To do.

中間ドライバ12は、エンコーダ11からエンコードデータを入力し、入力したエンコードデータを無線LAN物理層13に出力する。また、中間ドライバ12は、無線LAN物理層13から変調方式切替情報、電界強度等の受信情報を入力し、受信情報に基づいてエンコードレートを算出し、エンコードレート指示をエンコーダ11に出力する。ここで、中間ドライバ12は、下位層である無線LAN物理層13の実装に伴う差異を吸収し、どのような種類の無線LAN物理層13であっても、エンコーダ11からみると同一の物理層であるかのように見せかけるためのインターフェースである。したがって、中間ドライバ12は、実装される無線LAN物理層13の種類に応じて、入力する受信情報が異なり処理内容も異なる。これは、無線LAN物理層13が各メーカから提供されるものであり、無線LAN物理層13の種類によって、変調方式の決定手法及び外部へ出力される情報等が異なるからである。   The intermediate driver 12 receives the encoded data from the encoder 11 and outputs the input encoded data to the wireless LAN physical layer 13. The intermediate driver 12 also receives reception information such as modulation method switching information and electric field strength from the wireless LAN physical layer 13, calculates an encoding rate based on the reception information, and outputs an encoding rate instruction to the encoder 11. Here, the intermediate driver 12 absorbs a difference associated with the implementation of the wireless LAN physical layer 13 which is a lower layer, and the same physical layer as viewed from the encoder 11 regardless of the type of the wireless LAN physical layer 13. It is an interface that makes it appear as if it is. Therefore, the intermediate driver 12 has different received input information and different processing contents depending on the type of the wireless LAN physical layer 13 to be mounted. This is because the wireless LAN physical layer 13 is provided by each manufacturer, and the modulation method determination method and the information output to the outside differ depending on the type of the wireless LAN physical layer 13.

無線LAN物理層13は、中間ドライバ12からエンコードデータを入力し、エンコードデータをパケット化し、シーケンス番号を付加して変調し、無線にて受信装置2へ送信する。この場合、無線LAN物理層13は、入力したエンコードデータを送信バッファに格納し、無線伝送路の伝搬状況による実際の伝送レートに応じて送信バッファからエンコードデータを読み出し、前述の処理を行い送信する。また、無線LAN物理層13は、送信したデータに対するACKを受信装置2から受信する。これにより、無線LAN物理層13は、送信したデータが、受信装置2により正しく受信されたことを認識することができる。   The wireless LAN physical layer 13 receives the encoded data from the intermediate driver 12, packetizes the encoded data, adds a sequence number, modulates it, and transmits it wirelessly to the receiving device 2. In this case, the wireless LAN physical layer 13 stores the input encoded data in the transmission buffer, reads the encoded data from the transmission buffer according to the actual transmission rate according to the propagation state of the wireless transmission path, performs the above-described processing, and transmits it. . Further, the wireless LAN physical layer 13 receives an ACK for the transmitted data from the receiving device 2. Thereby, the wireless LAN physical layer 13 can recognize that the transmitted data is correctly received by the receiving device 2.

送信装置1と受信装置2との間の無線伝送路の伝搬状況によっては、送信装置1から送信されたデータにノイズが加算される場合があり、受信装置2は、送信装置1からのデータを正常に受信できないこともあり得る。この場合、受信装置2は、ACKを送信装置1へ送信することができない。   Depending on the propagation status of the wireless transmission path between the transmission device 1 and the reception device 2, noise may be added to the data transmitted from the transmission device 1, and the reception device 2 uses the data from the transmission device 1 as a result. It may not be possible to receive normally. In this case, the receiving device 2 cannot transmit ACK to the transmitting device 1.

受信装置2は、無線LAN物理層21、中間ドライバ22及びデコーダ23を備えている。無線LAN物理層21は、送信装置1により送信されたデータを受信し、データをパケット単位に復調し、復調したパケットのシーケンス番号に基づいて、データが連続して正常に到着しているか否かを判定する。また、無線LAN物理層21は、復調したパケットのフレームチェックシーケンス(FCS)部に基づいて、パケット内のデータが壊れていないか否かを判定する。無線LAN物理層21は、データが正常に到着しており、かつ、パケット内のデータが正常であると判定した場合、受信確認応答のパケットとしてACKを送信装置1へ送信すると共に、正常に受信したデータ(エンコードデータ)を中間ドライバ22に出力する。   The receiving device 2 includes a wireless LAN physical layer 21, an intermediate driver 22, and a decoder 23. The wireless LAN physical layer 21 receives the data transmitted by the transmission device 1, demodulates the data in units of packets, and determines whether the data has arrived normally continuously based on the sequence number of the demodulated packets. Determine. Further, the wireless LAN physical layer 21 determines whether or not the data in the packet is broken based on the frame check sequence (FCS) portion of the demodulated packet. When the wireless LAN physical layer 21 determines that the data has arrived normally and the data in the packet is normal, the wireless LAN physical layer 21 transmits an ACK to the transmission device 1 as a reception confirmation response packet and receives the data normally. The processed data (encoded data) is output to the intermediate driver 22.

中間ドライバ22は、無線LAN物理層21からエンコードデータを入力し、入力したエンコードデータをデコーダ23に出力する。ここで、中間ドライバ22も送信装置1に備えた中間ドライバ12と同様に、下位層である無線LAN物理層21の実装に伴う差異を吸収し、どのような種類の無線LAN物理層21であっても、デコーダ23からみると同一の物理層であるかのように見せかけるためのインターフェースである。   The intermediate driver 22 inputs encoded data from the wireless LAN physical layer 21 and outputs the input encoded data to the decoder 23. Here, as with the intermediate driver 12 provided in the transmission apparatus 1, the intermediate driver 22 absorbs the difference associated with the implementation of the wireless LAN physical layer 21, which is a lower layer, and can be any type of wireless LAN physical layer 21. However, it is an interface for making it appear as if it is the same physical layer as seen from the decoder 23.

デコーダ23は、中間ドライバ22からエンコードデータを入力し、圧縮符号化されたエンコードデータの復号を行い、元の映像信号である映像ベースバンド信号を生成し、出力する。   The decoder 23 receives the encoded data from the intermediate driver 22, decodes the encoded encoded data, generates a video baseband signal that is the original video signal, and outputs it.

〔送信装置の無線LAN物理層による送信処理〕
次に、図1に示した送信装置1の無線LAN物理層13による送信処理について説明する。図2は、その送信処理を示すフローチャートである。送信装置1の無線LAN物理層13は、中間ドライバ12からエンコードデータを入力し、エンコードデータをパケット化し、パケット化したデータにシーケンス番号を付加する(ステップS201)。そして、無線LAN物理層13は、シーケンス番号を付加したパケットを変調して送信する(ステップS202)。無線LAN物理層13は、受信装置2から送信されるACKを待つ。
[Transmission processing by the wireless LAN physical layer of the transmission device]
Next, transmission processing by the wireless LAN physical layer 13 of the transmission apparatus 1 shown in FIG. 1 will be described. FIG. 2 is a flowchart showing the transmission processing. The wireless LAN physical layer 13 of the transmission apparatus 1 receives the encoded data from the intermediate driver 12, packetizes the encoded data, and adds a sequence number to the packetized data (step S201). Then, the wireless LAN physical layer 13 modulates and transmits the packet to which the sequence number is added (step S202). The wireless LAN physical layer 13 waits for an ACK transmitted from the receiving device 2.

受信装置2は、パケットを受信し復調すると、データに付加されたシーケンス番号に基づいて、パケットの連続性を判定すると共に、パケットのFCS部に基づいて、受信したパケットが壊れていないことを判定し、パケットが正常に到着しており、かつ、受信したパケットが正常であると判定した場合、ACKを送信装置1へ返信する。また、受信装置2は、パケットが正常に到着していない、または、受信したパケットが正常でないと判定した場合、ACKの返信を行わない。   When receiving and demodulating the packet, the receiving device 2 determines the continuity of the packet based on the sequence number added to the data, and determines that the received packet is not broken based on the FCS part of the packet. If it is determined that the packet has arrived normally and the received packet is normal, an ACK is returned to the transmitting apparatus 1. Further, when the receiving device 2 determines that the packet has not arrived normally or the received packet is not normal, the receiving device 2 does not return an ACK.

送信装置1の無線LAN物理層13は、送信したパケットに対するACKを受信装置2から受信したか否かを判定し(ステップS203)、ACKを受信したと判定した場合(ステップS203:Y)、処理を終了し、次のパケットに対してステップS201の処理を行う。このように、無線LAN物理層13は、ステップS201〜ステップS203にて、パケットを送信し、受信装置2からACKを受信すると、次のパケットを送信し、ACKの受信を待つ処理を繰り返す。   The wireless LAN physical layer 13 of the transmission device 1 determines whether or not an ACK for the transmitted packet has been received from the reception device 2 (step S203), and determines that an ACK has been received (step S203: Y). And the process of step S201 is performed on the next packet. As described above, when the wireless LAN physical layer 13 transmits a packet in step S201 to step S203 and receives an ACK from the receiving device 2, the wireless LAN physical layer 13 repeats the process of transmitting the next packet and waiting for the reception of the ACK.

無線LAN物理層13は、ステップS203において、所定時間待ってもACKを受信していないと判定した場合(ステップS203:N)、後述するステップS206によりパケットを再送した回数と、所定の再送最大回数とを比較し、再送回数が再送最大回数以上であるか否かを判定する(ステップS204)。無線LAN物理層13は、ステップS204において、再送回数が再送最大回数以上でないと判定した場合(ステップS204:N)、パケットを再送するために、所定のランダム時間の間待機する(ステップS205)。ここで、所定のランダム時間は、前回にパケットを再送したときよりも長い時間とする。つまり、無線LAN物理層13は、ステップS205において、パケットの再送に伴い、前回のパケットを再送したときに待機した時間よりも長い時間を、今回のパケットを再送するための所定のランダム時間に設定し、その所定のランダム時間の間待機する。そして、無線LAN物理層13は、同一のパケットを受信装置2へ再送し(ステップS206)、ステップS203へ移行する。このように、無線LAN物理層13は、受信装置2からのACKを、パケット送信後または再送後所定時間内に受信せず、同一パケットの再送回数が所定の最大再送回数に達していない場合、同一のパケットを受信装置2へ再送する。   If the wireless LAN physical layer 13 determines in step S203 that no ACK has been received after waiting for a predetermined time (step S203: N), the number of times the packet has been retransmitted in step S206, which will be described later, and the predetermined maximum number of retransmissions To determine whether the number of retransmissions is equal to or greater than the maximum number of retransmissions (step S204). If the wireless LAN physical layer 13 determines in step S204 that the number of retransmissions is not equal to or greater than the maximum number of retransmissions (step S204: N), the wireless LAN physical layer 13 waits for a predetermined random time to retransmit the packet (step S205). Here, the predetermined random time is longer than the time when the packet was retransmitted last time. That is, in step S205, the wireless LAN physical layer 13 sets a time longer than the time waited when the previous packet was retransmitted as a predetermined random time for retransmitting the current packet, in accordance with the retransmission of the packet. And wait for the predetermined random time. Then, the wireless LAN physical layer 13 retransmits the same packet to the receiving device 2 (step S206), and proceeds to step S203. Thus, when the wireless LAN physical layer 13 does not receive the ACK from the receiving device 2 within a predetermined time after packet transmission or retransmission, the number of retransmissions of the same packet has not reached the predetermined maximum number of retransmissions. The same packet is retransmitted to the receiving device 2.

無線LAN物理層13は、ステップS204において、再送回数が再送最大回数以上であると判定した場合(ステップS204:Y)、再送処理をしてもACKを受信することができないと判断し、所定のタイムアウト処理を行い(ステップS207)、処理を終了する。   If the wireless LAN physical layer 13 determines in step S204 that the number of retransmissions is equal to or greater than the maximum number of retransmissions (step S204: Y), the wireless LAN physical layer 13 determines that an ACK cannot be received even if the retransmission process is performed. A time-out process is performed (step S207), and the process ends.

尚、無線LAN物理層13が、図2に示した送信処理を行っても、パケットを受信装置2へ正常に送信することができない場合、すなわち、再送処理によってもパケットが回復しない場合、エンコーダ11は、無線LAN物理層13に対しそのパケットを再送させるために、そのパケットに対応するエンコードデータを、中間ドライバ12を介して無線LAN物理層13に再度出力するようにしてもよい。また、無線LAN物理層13は、送信したパケットに含まれるデータを訂正するための誤り訂正データを含む誤り訂正パケットを生成し、受信装置2へ送信するようにしてもよい。この場合、受信装置2の無線LAN物理層21は、送信装置1から誤り訂正パケットを受信し、誤り訂正パケットに含まれる誤り訂正データを用いて、正常でないと判定したデータの訂正を行う。   If the wireless LAN physical layer 13 cannot normally transmit the packet to the receiving device 2 even after performing the transmission process shown in FIG. 2, that is, if the packet is not recovered by the retransmission process, the encoder 11 In order to cause the wireless LAN physical layer 13 to retransmit the packet, the encoded data corresponding to the packet may be output again to the wireless LAN physical layer 13 via the intermediate driver 12. Further, the wireless LAN physical layer 13 may generate an error correction packet including error correction data for correcting data included in the transmitted packet and transmit the error correction packet to the reception device 2. In this case, the wireless LAN physical layer 21 of the reception device 2 receives the error correction packet from the transmission device 1 and corrects the data determined to be not normal using the error correction data included in the error correction packet.

以下、図1に示した送信装置1がライブ映像伝送を行う具体例について、実施例1〜5を挙げて詳細に説明する。実施例1は、RSSI(Received Signal Strength Indication:受信信号強度)に基づいて決定した変調方式の切替情報に従って、エンコードレートを制御する例である。実施例2は、送信バッファに一時的に保持されているデータの量に従って、エンコードレートを制御する例である。実施例3は、ACKタイムアウト期間中送信できなかったデータの量(ACKが想定通りに返信された場合に送信できていたと予想されるデータ量)に従って、エンコードレートを制御する例である。実施例4は、GPS(Global Positioning System)等により取得した送信装置の位置情報に従って、エンコードレートを制御する例である。実施例5は、実施例1〜4の変形例であり、実施例1〜4における送信装置のエンコーダと無線LAN物理層とが一体化されておらず、別々の装置として構成され、無線LAN物理層が、無線LANアクセスポイントまたは無線LANブリッジ装置として外部に設置される場合の例である。   Hereinafter, specific examples in which the transmission apparatus 1 illustrated in FIG. 1 performs live video transmission will be described in detail with reference to Examples 1 to 5. The first embodiment is an example in which the encoding rate is controlled in accordance with modulation system switching information determined based on RSSI (Received Signal Strength Indication). In the second embodiment, the encoding rate is controlled according to the amount of data temporarily held in the transmission buffer. Example 3 is an example in which the encoding rate is controlled according to the amount of data that could not be transmitted during the ACK timeout period (the amount of data that could be transmitted when ACK was returned as expected). The fourth embodiment is an example in which the encoding rate is controlled according to the position information of the transmission device acquired by GPS (Global Positioning System) or the like. The fifth embodiment is a modification of the first to fourth embodiments, in which the encoder of the transmission device and the wireless LAN physical layer in the first to fourth embodiments are not integrated, and are configured as separate devices. This is an example where the layer is installed outside as a wireless LAN access point or a wireless LAN bridge device.

〔実施例1〕
まず、実施例1について説明する。実施例1は、前述のとおり、RSSIに基づいて決定した変調方式の切替情報に従って、エンコードレートを制御する例である。
[Example 1]
First, Example 1 will be described. In the first embodiment, as described above, the encoding rate is controlled according to the switching information of the modulation scheme determined based on the RSSI.

図3は、実施例1による送信装置の構成を示すブロック図である。この送信装置1−1は、エンコーダ11、中間ドライバ12−1及び無線LAN物理層13−1を備えている。エンコーダ11は、図1に示したエンコーダ11と同様に、映像信号を入力すると共に、中間ドライバ12からエンコードレート指示を入力し、エンコードレート指示が示すエンコードレートに従って映像信号の圧縮符号化を行い、エンコードデータを生成し、エンコードデータを、中間ドライバ12−1を介して無線LAN物理層13−1に出力する。これにより、エンコードレートに従った一定量のエンコードデータが、常に生成され出力される。   FIG. 3 is a block diagram illustrating the configuration of the transmission apparatus according to the first embodiment. The transmission device 1-1 includes an encoder 11, an intermediate driver 12-1, and a wireless LAN physical layer 13-1. As with the encoder 11 shown in FIG. 1, the encoder 11 inputs a video signal, inputs an encoding rate instruction from the intermediate driver 12, performs compression encoding of the video signal according to the encoding rate indicated by the encoding rate instruction, Encode data is generated, and the encode data is output to the wireless LAN physical layer 13-1 via the intermediate driver 12-1. As a result, a fixed amount of encoded data according to the encoding rate is always generated and output.

中間ドライバ12−1は、エンコーダ11からエンコードデータを入力し、入力したエンコードデータを無線LAN物理層13に出力する。また、中間ドライバ12−1は、無線LAN物理層13−1から変調方式切替情報、電界強度及び受信データを入力し、変調方式切替情報が示す切り替え後の変調方式について、送信可能な最大レートを算出する。そして、中間ドライバ12−1は、変調方式切り替え後の送信可能な最大レートが現在の送信可能な最大レート以下であると判定した場合、無線LAN物理層13−1にて実際に変調方式が変更される前に、エンコードレートが変調方式切り替え後の送信可能な最大レート以下になるように、エンコードレート指示をエンコーダ11に出力する。一方、中間ドライバ12−1は、変調方式切り替え後の送信可能な最大レートが現在の送信可能な最大レートよりも高いと判定した場合、無線LAN物理層13−1にて実際に変調方式が変更された後に、エンコードレートが変調方式切り替え後の送信可能な最大レート以下になるように、エンコードレート指示をエンコーダ11に出力する。また、中間ドライバ12−1は、電界強度に基づいて、無線伝送路が完全に遮蔽されたと判断した場合、無線LAN物理層13−1に、変調及び送信処理を停止させ、入力及び保持したエンコードデータを破棄させる。一方、中間ドライバ12−1は、電界強度に基づいて、無線伝送路が回復したと判断した場合、無線LAN物理層13−1に、変調及び送信処理を再開させる。   The intermediate driver 12-1 receives encoded data from the encoder 11 and outputs the input encoded data to the wireless LAN physical layer 13. Further, the intermediate driver 12-1 inputs modulation scheme switching information, electric field strength, and received data from the wireless LAN physical layer 13-1, and sets a maximum transmittable rate for the modulation scheme after switching indicated by the modulation scheme switching information. calculate. When the intermediate driver 12-1 determines that the maximum transmittable rate after switching the modulation scheme is equal to or less than the current maximum transmittable rate, the wireless LAN physical layer 13-1 actually changes the modulation scheme. Before being performed, an encode rate instruction is output to the encoder 11 so that the encode rate is equal to or lower than the maximum transmittable rate after switching the modulation method. On the other hand, if the intermediate driver 12-1 determines that the maximum transmittable rate after switching the modulation scheme is higher than the current maximum transmittable rate, the modulation scheme is actually changed in the wireless LAN physical layer 13-1. After that, the encoding rate instruction is output to the encoder 11 so that the encoding rate is equal to or lower than the maximum transmittable rate after switching the modulation method. If the intermediate driver 12-1 determines that the wireless transmission path is completely shielded based on the electric field strength, the intermediate driver 12-1 causes the wireless LAN physical layer 13-1 to stop the modulation and transmission processing, and input and hold the encoded encoding. Discard the data. On the other hand, if the intermediate driver 12-1 determines that the wireless transmission path has been recovered based on the electric field strength, the intermediate driver 12-1 causes the wireless LAN physical layer 13-1 to resume modulation and transmission processing.

図4は、中間ドライバ12−1によるエンコードレート及び変調方式に関する処理を示すフローチャートである。中間ドライバ12−1は、無線LAN物理層13−1から変調方式切替情報を入力したか否かを判定し(ステップS401)、変調方式切替情報を入力していないと判定した場合(ステップS401:N)、ステップS408へ移行する。一方、中間ドライバ12−1は、ステップS401において、変調方式切替情報を入力したと判定した場合(ステップS401:Y)、変調方式切替情報が示す切り替え後の変調方式について、この変調方式に対応する誤り訂正のための冗長データ量及び伝送プロトコルヘッダ量等を用いて所定の除算処理を行うことにより、送信可能な最大レートを算出する(ステップS402)。尚、送信可能な最大レートの算出手法は既知であるから、ここでは詳細な説明を省略する。   FIG. 4 is a flowchart showing processing related to the encoding rate and modulation method by the intermediate driver 12-1. The intermediate driver 12-1 determines whether or not the modulation method switching information is input from the wireless LAN physical layer 13-1 (step S401), and determines that the modulation method switching information is not input (step S401: N), the process proceeds to step S408. On the other hand, if the intermediate driver 12-1 determines in step S401 that the modulation scheme switching information has been input (step S401: Y), the intermediate driver 12-1 corresponds to the modulation scheme after the switching indicated by the modulation scheme switching information. By performing a predetermined division process using the redundant data amount for error correction, the transmission protocol header amount, and the like, the maximum transmittable rate is calculated (step S402). Since the method for calculating the maximum rate that can be transmitted is known, detailed description thereof is omitted here.

中間ドライバ12−1は、変調方式切り替え後の送信可能な最大レートと、現在の送信可能な最大レート(以前に変調方式切替情報を入力したときに算出した、変調方式切り替え後の送信可能な最大レート)とを比較する(ステップS403)。そして、中間ドライバ12−1は、ステップS403において、変調方式切り替え後の送信可能な最大レートが現在の送信可能な最大レート以下であると判定した場合(ステップS403:≦)、エンコードレートが変調方式切り替え後の送信可能な最大レート以下になるように、エンコードレート指示をエンコーダ11に出力し(ステップS404)、所定時間経過後、変調方式切替指示を無線LAN物理層13−1に出力する(ステップS405)。ここで、変調方式切替指示が出力されるタイミングを示す所定時間とは、エンコードレート指示が出力されてからの時間であり、エンコーダ11のエンコードレートを低下させた後に、無線LAN物理層13−1の変調方式が実際に切り替えられ、エンコードレートが低下したエンコードデータに対し、切り替え後の変調方式が適用可能な時間をいう。   The intermediate driver 12-1 determines the maximum transmittable rate after switching the modulation scheme and the current maximum transmittable rate (the maximum transmittable rate after switching the modulation scheme calculated when the modulation scheme switching information was previously input). The rate is compared (step S403). If the intermediate driver 12-1 determines in step S403 that the maximum transmittable rate after switching the modulation scheme is equal to or less than the current maximum transmittable rate (step S403: ≦), the encoding rate is the modulation scheme. An encoding rate instruction is output to the encoder 11 so as to be equal to or lower than the maximum transmittable rate after switching (step S404), and after a predetermined time has elapsed, a modulation system switching instruction is output to the wireless LAN physical layer 13-1 (step S404). S405). Here, the predetermined time indicating the timing at which the modulation scheme switching instruction is output is the time after the encoding rate instruction is output. After the encoding rate of the encoder 11 is reduced, the wireless LAN physical layer 13-1 The time when the modulation method after switching can be applied to the encoded data whose encoding rate has been lowered by actually switching the modulation method.

このように、変調方式切り替え後の送信可能な最大レートが現在の送信可能な最大レート以下であると判定した場合、無線LAN物理層13−1にて実際に変調方式が変更される前に、エンコーダ11のエンコードレートが変更される。したがって、変調方式切り替えに伴って送信レートが低下する場合、エンコードレートが低下した後に送信レートが低下する。これにより、データ欠損を防ぐことができ、データを送信することができなくなるという不具合を解消することができる。また、受信装置2において、映像が途切れることがない。   Thus, when it is determined that the maximum transmittable rate after switching the modulation scheme is equal to or less than the current maximum transmittable rate, before the modulation scheme is actually changed in the wireless LAN physical layer 13-1, The encoding rate of the encoder 11 is changed. Therefore, when the transmission rate is reduced as the modulation method is switched, the transmission rate is lowered after the encoding rate is lowered. As a result, it is possible to prevent data loss and to solve the problem that data cannot be transmitted. Further, the video is not interrupted in the receiving device 2.

中間ドライバ12−1は、変調方式切り替え後の送信可能な最大レートが現在の送信可能な最大レートよりも高いと判定した場合(ステップS403:>)、変調方式切替指示を無線LAN物理層13−1に出力する(ステップS406)。これにより、無線LAN物理層13−1において、実際に変調方式が切り替えられ、無線LAN物理層13−1から変調方式切替完了が中間ドライバ12−1に出力される。そして、中間ドライバ12−1は、無線LAN物理層13−1から変調方式切替完了を入力した後、エンコードレートが変調方式切り替え後の送信可能な最大レート以下になるように、エンコードレート指示をエンコーダ11に出力する(ステップS407)。   If the intermediate driver 12-1 determines that the maximum transmittable rate after switching the modulation scheme is higher than the current maximum transmittable rate (step S403:>), the intermediate driver 12-1 issues a modulation scheme switch instruction to the wireless LAN physical layer 13-. 1 (step S406). As a result, the modulation scheme is actually switched in the wireless LAN physical layer 13-1, and the modulation scheme switching completion is output from the wireless LAN physical layer 13-1 to the intermediate driver 12-1. The intermediate driver 12-1 then inputs an encoding rate instruction from the wireless LAN physical layer 13-1 so that the encoding rate is less than or equal to the maximum transmittable rate after switching the modulation method. 11 (step S407).

中間ドライバ12−1は、ステップS401、ステップS405またはステップS407から移行して、無線LAN物理層13−1から入力した電界強度と所定の閾値とを比較し(ステップS408)、電界強度が閾値よりも小さいと判定した場合(ステップS408:<)、無線伝送路が完全に遮蔽される等して通信できる伝搬状況ではない、すなわち送信可能な最大レートが0になったと判断し、破棄指示を無線LAN物理層13−1に出力する(ステップS409)。これにより、無線LAN物理層13−1は、破棄指示に基づいて、変調及び送信処理を停止し、入力したエンコードデータを送信バッファに保持することなく破棄すると共に、送信バッファに保持していたエンコードデータを破棄する。   The intermediate driver 12-1 shifts from Step S401, Step S405, or Step S407, compares the electric field strength input from the wireless LAN physical layer 13-1 with a predetermined threshold (Step S408), and the electric field strength is greater than the threshold. Is determined to be small (step S408: <), it is determined that the wireless transmission path is not completely propagated and communication is not possible, that is, the maximum transmittable rate is 0, and the discard instruction is transmitted wirelessly. The data is output to the LAN physical layer 13-1 (step S409). As a result, the wireless LAN physical layer 13-1 stops the modulation and transmission processing based on the discard instruction, discards the input encoded data without retaining it in the transmission buffer, and encodes the transmission buffer. Discard the data.

中間ドライバ12−1は、ステップS408において、電界強度が閾値以上であると判定した場合(ステップS408:≧)、データ破棄指示の出力により、無線LAN物理層13−1において変調処理等が停止しているか否かを判定する(ステップS410)。中間ドライバ12−1は、ステップS410において、データ破棄指示の出力により、無線LAN物理層13−1において変調処理等が停止していると判定した場合(ステップS410:Y)、無線伝送路の伝搬状況が改善したと判断し、処理再開指示を無線LAN物理層13−1に出力する(ステップS411)。これにより、無線LAN物理層13−1は、処理再開指示に基づいて、入力したエンコードデータに対する変調及び送信処理を再開する。一方、中間ドライバ12−1は、ステップS410において、データ破棄指示の出力済みの状態ではなく、無線LAN物理層13−1において変調処理等が停止していないと判定した場合(ステップS410:N)、処理を終了し、ステップS401へ戻って処理を繰り返す。   If the intermediate driver 12-1 determines in step S408 that the electric field strength is greater than or equal to the threshold value (step S408: ≧), the modulation processing or the like is stopped in the wireless LAN physical layer 13-1 due to the output of the data discard instruction. It is determined whether or not (step S410). If the intermediate driver 12-1 determines in step S410 that the modulation processing or the like is stopped in the wireless LAN physical layer 13-1 based on the output of the data discard instruction (step S410: Y), the propagation of the wireless transmission path It is determined that the situation has improved, and a process resumption instruction is output to the wireless LAN physical layer 13-1 (step S411). As a result, the wireless LAN physical layer 13-1 restarts the modulation and transmission processing for the input encoded data based on the processing restart instruction. On the other hand, if the intermediate driver 12-1 determines in step S410 that the data discard instruction has not been output and the modulation process or the like has not stopped in the wireless LAN physical layer 13-1 (step S410: N). The process is terminated, and the process returns to step S401 to repeat the process.

このように、無線伝送路が途切れた場合には、エンコードデータは送信バッファに保持されることなく破棄され送信が停止するから、無線伝送路が回復した際に、エンコードデータに対する変調及び送信処理が再開され、受信装置2において、迅速にライブ映像の復号が再開される。   As described above, when the wireless transmission path is interrupted, the encoded data is discarded without being held in the transmission buffer, and transmission stops. Therefore, when the wireless transmission path is restored, the modulation and transmission processing for the encoded data is performed. The reception apparatus 2 resumes the live video decoding promptly.

尚、前述のとおり、中間ドライバ12−1は、無線LAN物理層13−1により決定された変調方式を含む変調方式切替情報を入力する。これに対し、無線LAN物理層13−1が変調方式を決定する機能を有さない場合には、中間ドライバ12−1が、無線LAN物理層13−1から入力した電界強度に基づいて、変調方式を決定するようにしてもよい。また、中間ドライバ12−1が、送信可能な最大レートを算出するようにしたが、無線LAN物理層13−1が、送信可能な最大レートを算出し、中間ドライバ12−1が、無線LAN物理層13−1から、送信可能な最大レートを直接入力するようにしてもよい。   As described above, the intermediate driver 12-1 inputs modulation scheme switching information including the modulation scheme determined by the wireless LAN physical layer 13-1. On the other hand, when the wireless LAN physical layer 13-1 does not have a function of determining the modulation method, the intermediate driver 12-1 performs modulation based on the electric field strength input from the wireless LAN physical layer 13-1. You may make it determine a system. Further, the intermediate driver 12-1 calculates the maximum transmittable rate, but the wireless LAN physical layer 13-1 calculates the maximum transmittable rate, and the intermediate driver 12-1 The maximum rate that can be transmitted may be directly input from the layer 13-1.

図3に戻って、無線LAN物理層13−1は、変調・送信部131−1、受信・復調部132、電界強度測定部133及び変調方式決定部134を備えている。変調・送信部131−1は、エンコードデータを送信する際に一時的に保持する送信バッファを備えており、中間ドライバ12−1からエンコードデータを入力すると共に、変調方式決定部134から変調方式切替情報を入力し、入力したエンコードデータを送信バッファに格納し、無線伝送路の伝搬状況による実際の伝送レートに応じて送信バッファからエンコードデータを読み出し、エンコードデータをパケット化してシーケンス番号を付加し、変調方式切替情報が示す変調方式に従ってデータを変調し、変調方式に対応した所定の冗長度の誤り訂正符号を付加し、無線にて受信装置2へ送信する。また、変調・送信部131−1は、中間ドライバ12−1から変調方式切替指示を入力し、変調方式決定部134から入力した変調方式切替情報が示す変調方式に切り替え、切り替え後の変調方式に従ってデータを変調する。そして、変調・送信部131−1は、変調方式切替完了を中間ドライバ12−1に出力する。また、変調・送信部131−1は、受信・復調部132からACKを入力し、送信したデータが受信装置2により正しく受信されたことを認識する。この場合、変調・送信部131−1は、ACKを入力した後に、次のデータ(パケット)を送信する。   Returning to FIG. 3, the wireless LAN physical layer 13-1 includes a modulation / transmission unit 131-1, a reception / demodulation unit 132, an electric field strength measurement unit 133, and a modulation method determination unit 134. The modulation / transmission unit 131-1 includes a transmission buffer that temporarily holds the encoded data when it is transmitted. The modulation / transmission unit 131-1 receives the encoded data from the intermediate driver 12-1 and switches the modulation method from the modulation method determination unit 134. Input the information, store the input encoded data in the transmission buffer, read the encoded data from the transmission buffer according to the actual transmission rate according to the propagation status of the wireless transmission path, packetize the encoded data and add the sequence number, Data is modulated in accordance with the modulation scheme indicated by the modulation scheme switching information, an error correction code having a predetermined redundancy corresponding to the modulation scheme is added, and transmitted to the receiving apparatus 2 by radio. Also, the modulation / transmission unit 131-1 receives a modulation method switching instruction from the intermediate driver 12-1, switches to the modulation method indicated by the modulation method switching information input from the modulation method determination unit 134, and follows the modulation method after switching. Modulate data. Then, the modulation / transmission unit 131-1 outputs the modulation scheme switching completion to the intermediate driver 12-1. Also, the modulation / transmission unit 131-1 receives ACK from the reception / demodulation unit 132, and recognizes that the transmitted data is correctly received by the reception device 2. In this case, the modulation / transmission unit 131-1 transmits the next data (packet) after inputting the ACK.

受信・復調部132は、受信装置2により送信されたACK等のデータを受信し、受信したACK等のデータを復調し、ACKを変調・送信部131−1に出力すると共に、ACK以外のデータを受信データとして中間ドライバ12−1に出力する。また、受信・復調部132は、復調前の受信データを電界強度測定部133に出力する。   The reception / demodulation unit 132 receives data such as ACK transmitted by the reception device 2, demodulates the received data such as ACK, outputs the ACK to the modulation / transmission unit 131-1, and data other than ACK Are output to the intermediate driver 12-1 as received data. Also, the reception / demodulation unit 132 outputs the reception data before demodulation to the electric field strength measurement unit 133.

電界強度測定部133は、受信・復調部132から復調前の受信データを入力し、復調前の受信データに基づいて、C/N比等の電界強度を測定し、測定した電界強度を変調方式決定部134及び中間ドライバ12−1に出力する。   The electric field strength measuring unit 133 receives the reception data before demodulation from the reception / demodulation unit 132, measures the electric field strength such as the C / N ratio based on the reception data before demodulation, and modulates the measured electric field strength. The data is output to the determination unit 134 and the intermediate driver 12-1.

変調方式決定部134は、電界強度測定部133から電界強度を入力し、所定の変換方式テーブルを用いて、入力した電界強度に対応する変調方式を新たな変調方式に決定する。そして、変調方式決定部134は、変調方式が変わった場合、変調方式切替情報を中間ドライバ12−1及び変調・送信部131−1に出力する。変換方式テーブルには、例えばC/N比等の電界強度と変調方式とが対になって格納されており、電界強度に基づいて変調方式が一義的に決定される。   The modulation method determination unit 134 receives the electric field strength from the electric field strength measurement unit 133, and uses the predetermined conversion method table to determine the modulation method corresponding to the input electric field strength as a new modulation method. Then, when the modulation scheme changes, the modulation scheme determination unit 134 outputs the modulation scheme switching information to the intermediate driver 12-1 and the modulation / transmission unit 131-1. In the conversion method table, for example, the electric field strength such as the C / N ratio and the modulation method are stored as a pair, and the modulation method is uniquely determined based on the electric field strength.

尚、変調方式決定部134は、C/N比に基づいて変調方式を決定するだけでなく、ACKの非到着頻度、FCS部のエラー情報等に基づいて、変調方式を決定するようにしてもよい。この場合、受信・復調部132が、ACKの非到着頻度、FCS部のエラー情報等を生成し、変調方式決定部134は、受信・復調部132からACKの非到着頻度、FCS部のエラー情報等を入力し、例えば、ACKの非到着頻度が高い場合、送信可能な最大レートが一層低くなる変調方式に決定する。また、変調方式決定部134における変調方式を決定するアルゴリズムは、無線LAN標準化方式にて規定されておらず、無線LAN物理層13−1の実装により異なるものである。実施例1は、無線LAN物理層13−1により決定される変調方式に従って、中間ドライバ12−1がエンコードレートを決定するものであり、どのようなアルゴリズムで変調方式が決定されても適用可能である(実施例2〜5においても同様)。   The modulation scheme determination unit 134 may determine the modulation scheme based not only on the C / N ratio but also on the basis of the non-arrival frequency of the ACK, the error information of the FCS unit, and the like. Good. In this case, the reception / demodulation unit 132 generates non-arrival frequency of ACK, error information of the FCS unit, and the like, and the modulation scheme determination unit 134 receives non-arrival frequency of ACK and error information of the FCS unit from the reception / demodulation unit 132. For example, when the non-arrival frequency of ACK is high, the modulation scheme is determined such that the maximum transmittable rate is further reduced. The algorithm for determining the modulation method in the modulation method determination unit 134 is not defined by the wireless LAN standardization method, and differs depending on the implementation of the wireless LAN physical layer 13-1. In the first embodiment, the intermediate driver 12-1 determines the encoding rate according to the modulation method determined by the wireless LAN physical layer 13-1, and can be applied regardless of the modulation method determined by any algorithm. Yes (the same applies to Examples 2 to 5).

また、前記実施例1では、中間ドライバ12−1は、変調方式切り替え後の送信可能な最大レートが現在の送信可能な最大レートよりも高いと判定した場合、変調方式切替指示を無線LAN物理層13−1に出力し、無線LAN物理層13−1から変調方式切替完了を入力した後、エンコードレート指示をエンコーダ11に出力するようにした。これに対し、変調方式切替指示を無線LAN物理層13−1に出力し、所定時間経過後(実際に変調方式が切り替わる時間を待った後)、エンコードレート指示をエンコーダ11に出力するようにしてもよい。   In the first embodiment, when the intermediate driver 12-1 determines that the maximum transmittable rate after switching the modulation scheme is higher than the current maximum transmittable rate, the intermediate driver 12-1 issues a modulation scheme switch instruction to the wireless LAN physical layer. 13-1 and after the completion of modulation system switching input from the wireless LAN physical layer 13-1, an encode rate instruction is output to the encoder 11. On the other hand, a modulation system switching instruction is output to the wireless LAN physical layer 13-1, and after a predetermined time has elapsed (after waiting for a time for the actual switching of the modulation system), an encoding rate instruction is output to the encoder 11. Good.

また、無線LAN物理層13−1の変調方式決定部134の前後に遅延部を設け(変調方式決定部134と中間ドライバ12−1との間に第1の遅延部、変調方式決定部134と変調・送信部131−1との間に第2の遅延部を設け)、中間ドライバ12−1は、変調方式切り替え後の送信可能な最大レートが現在の送信可能な最大レート以下であると判定した場合、第1の遅延部に、変調方式決定部134から入力した変調方式切替情報を、即座に中間ドライバ12−1に出力させるようにし、第2の遅延部に、変調方式決定部134から入力した変調方式切替情報を、所定時間経過後に変調・送信部131−1に出力させるようにする。一方、中間ドライバ12−1は、変調方式切り替え後の送信可能な最大レートが現在の送信可能な最大レートよりも高いと判定した場合、第1の遅延部に、変調方式決定部134から入力した変調方式切替情報を、所定時間経過後に中間ドライバ12−1に出力させるようにし、第2の遅延部に、変調方式決定部134から入力した変調方式切替情報を、即座に変調・送信部131−1に出力させるようにする。この場合、中間ドライバ12−1は、図4に示したステップS404〜ステップS407の処理を行わない。また、変調・送信部131−1は、変調方式切替情報を入力すると、その変調方式に即座に切り替える。   In addition, a delay unit is provided before and after the modulation method determination unit 134 of the wireless LAN physical layer 13-1 (the first delay unit, the modulation method determination unit 134, and the like between the modulation method determination unit 134 and the intermediate driver 12-1). The intermediate driver 12-1 determines that the maximum transmittable rate after switching the modulation scheme is equal to or less than the current maximum transmittable rate. In this case, the modulation method switching information input from the modulation method determination unit 134 is immediately output to the intermediate driver 12-1 to the first delay unit, and the modulation method determination unit 134 receives the second delay unit. The input modulation method switching information is output to the modulation / transmission unit 131-1 after a predetermined time has elapsed. On the other hand, when the intermediate driver 12-1 determines that the maximum transmittable rate after switching the modulation scheme is higher than the current maximum transmittable rate, the intermediate driver 12-1 inputs the first delay unit from the modulation scheme determination unit 134 The modulation system switching information is output to the intermediate driver 12-1 after a predetermined time has elapsed, and the modulation system switching information input from the modulation system determination section 134 is immediately transmitted to the second delay section as the modulation / transmission section 131-. 1 is output. In this case, the intermediate driver 12-1 does not perform the processing of step S404 to step S407 shown in FIG. Further, when the modulation / transmission unit 131-1 receives the modulation method switching information, the modulation / transmission unit 131-1 immediately switches to the modulation method.

以上のように、実施例1の送信装置1−1によれば、中間ドライバ12−1が、変調方式切り替え後の送信可能な最大レートを算出し、この最大レートが現在の送信可能な最大レート以下であると判定した場合、エンコードレートが変調方式切り替え後の送信可能な最大レート以下になるように、エンコードレート指示をエンコーダ11に出力し、所定時間経過後、変調方式切替指示を無線LAN物理層13−1に出力するようにした。これにより、無線LAN物理層13−1にて実際に変調方式が変更されて送信レートが低下する前に、エンコーダ11のエンコードレートを低下させることができる。したがって、変調方式切り替えに伴って送信レートが低下する場合、エンコードレートが低下した後に送信レートが低下し、エンコードレートよりも送信レートが低くなるという状態を回避することができるから、データ欠損を防ぐことができ、データを送信することができなくなるという不具合を解消することができる。つまり、映像データの伝送を無瞬断で継続することができ、ライブ映像は途切れることがない。   As described above, according to the transmission device 1-1 of the first embodiment, the intermediate driver 12-1 calculates the maximum transmittable rate after switching the modulation scheme, and this maximum rate is the current maximum transmittable rate. If it is determined that the encoding rate is less than or equal to the encoding rate instruction, the encoding rate instruction is output to the encoder 11 so that the encoding rate is equal to or lower than the maximum transmission rate after switching the modulation method. It was made to output to the layer 13-1. As a result, the encoding rate of the encoder 11 can be lowered before the modulation method is actually changed in the wireless LAN physical layer 13-1 and the transmission rate is lowered. Therefore, when the transmission rate is reduced due to the switching of the modulation method, it is possible to avoid a state in which the transmission rate is lowered after the encoding rate is lowered and the transmission rate is lower than the encoding rate, thereby preventing data loss. And the problem that data cannot be transmitted can be solved. That is, transmission of video data can be continued without interruption, and the live video is not interrupted.

一方、中間ドライバ12−1が、この最大レートが現在の送信可能な最大レートよりも高いと判定した場合、変調方式切替指示を無線LAN物理層13−1に出力して変調方式が実際に切り替わった後に、エンコードレートが変調方式切り替え後の送信可能な最大レート以下になるように、エンコードレート指示をエンコーダ11に出力するようにした。これにより、無線LAN物理層13−1にて実際に変調方式が変更されて送信レートが高くなった後に、エンコーダ11のエンコードレートを高くすることができる。したがって、変調方式切り替えに伴って送信レートが高くなる場合、送信レートが高くなった後にエンコードレートが高くなり、エンコードレートが送信レートよりも高くなるという状態を回避することができるから、データ欠損を防ぐことができ、データを送信することができなくなるという不具合を解消することができる。つまり、映像データの伝送を無瞬断で継続することができ、ライブ映像は途切れることがない。尚、実施例1による受信装置2は、従来の無線LAN標準化方式に従った構成でよい(実施例2〜5においても同様)。   On the other hand, if the intermediate driver 12-1 determines that this maximum rate is higher than the current maximum transmittable rate, it outputs a modulation method switching instruction to the wireless LAN physical layer 13-1 to actually switch the modulation method. After that, the encode rate instruction is output to the encoder 11 so that the encode rate is equal to or lower than the maximum transmittable rate after switching the modulation method. As a result, the encoding rate of the encoder 11 can be increased after the modulation scheme is actually changed in the wireless LAN physical layer 13-1 and the transmission rate is increased. Therefore, when the transmission rate increases with the switching of the modulation method, it is possible to avoid a situation in which the encoding rate increases after the transmission rate increases and the encoding rate becomes higher than the transmission rate. It is possible to prevent such a problem that data cannot be transmitted. That is, transmission of video data can be continued without interruption, and the live video is not interrupted. The receiving device 2 according to the first embodiment may have a configuration according to the conventional wireless LAN standardization method (the same applies to the second to fifth embodiments).

〔実施例2〕
次に、実施例2について説明する。実施例2は、前述のとおり、送信バッファに一時的に保持されているデータの量に従って、エンコードレートを制御する例である。
[Example 2]
Next, Example 2 will be described. In the second embodiment, as described above, the encoding rate is controlled according to the amount of data temporarily held in the transmission buffer.

図5は、実施例2による送信装置の構成を示すブロック図である。この送信装置1−2は、エンコーダ11、中間ドライバ12−2、無線LAN物理層13−2及びエンコードレート算出部14を備えている。エンコーダ11は、実施例1と同様の処理を行い、映像信号を入力すると共に、エンコードレート算出部14からエンコードレート指示を入力し、圧縮符号化を行ってエンコードデータを生成し、中間ドライバ12−1を介して無線LAN物理層13−2に出力する。   FIG. 5 is a block diagram illustrating the configuration of the transmission apparatus according to the second embodiment. The transmission device 1-2 includes an encoder 11, an intermediate driver 12-2, a wireless LAN physical layer 13-2, and an encode rate calculation unit 14. The encoder 11 performs the same processing as in the first embodiment, inputs a video signal, receives an encoding rate instruction from the encoding rate calculation unit 14, performs compression encoding, generates encoded data, and generates an intermediate driver 12- 1 to the wireless LAN physical layer 13-2.

中間ドライバ12−2は、エンコーダ11からエンコードデータを入力し、入力したエンコードデータを無線LAN物理層13−2に出力する。また、中間ドライバ12−2は、無線LAN物理層13−2から変調方式切替情報、電界強度及び受信データを入力し、入力した変調方式切替情報をエンコードレート算出部14に出力する。また、中間ドライバ12−2は、入力した電界強度を用いて、図4に示したステップS408〜ステップS411の処理を行い、無線伝送路が完全に遮蔽される等して通信できる伝搬状況ではないと判断した場合、無線LAN物理層13−2に、入力したエンコードデータ及び保持していたエンコードデータを破棄させ、無線伝送路の伝搬状況が改善したと判断した場合、無線LAN物理層13−2に、変調及び送信処理を再開させる。   The intermediate driver 12-2 receives the encoded data from the encoder 11, and outputs the input encoded data to the wireless LAN physical layer 13-2. Further, the intermediate driver 12-2 receives modulation method switching information, electric field strength, and received data from the wireless LAN physical layer 13-2, and outputs the input modulation method switching information to the encode rate calculation unit 14. Further, the intermediate driver 12-2 performs the processing of steps S408 to S411 shown in FIG. 4 using the input electric field strength, and is not in a propagation state in which communication is possible because the wireless transmission path is completely shielded. If it is determined that the wireless LAN physical layer 13-2 has discarded the input encoded data and the encoded data held therein, and it is determined that the propagation state of the wireless transmission path has been improved, the wireless LAN physical layer 13-2 Then, the modulation and transmission process is resumed.

エンコードレート算出部14は、中間ドライバ12−2から変調方式切替情報を入力すると共に、無線LAN物理層13−2からバッファデータ量(送信バッファに一時的に保持されているデータの量)を入力し、変調方式切替情報及びバッファデータ量に基づいてエンコードレートを算出し、エンコーダ11に出力する。   The encode rate calculation unit 14 receives the modulation method switching information from the intermediate driver 12-2 and also receives the buffer data amount (the amount of data temporarily stored in the transmission buffer) from the wireless LAN physical layer 13-2. Then, the encoding rate is calculated based on the modulation method switching information and the buffer data amount, and is output to the encoder 11.

図6は、エンコードレート算出部14によるエンコードレート算出処理を示すフローチャートである。まず、エンコードレート算出部14は、中間ドライバ12−2から変調方式切替情報を入力すると共に、無線LAN物理層13−2からバッファデータ量を入力する(ステップS601)。そして、エンコードレート算出部14は、変調方式切替情報が示す切り替え後の変調方式について、この変調方式に対応する誤り訂正のための冗長データ量及び伝送プロトコルヘッダ量等を用いて所定の除算処理を行うことにより、送信可能な最大レートを算出し(ステップS602)、バッファデータ量の時間的変化を求めて送信バッファ内データレートを算出する(ステップS603)。そして、エンコードレート算出部14は、以下の数式によりエンコードレートを算出し(ステップS604)、エンコードレート指示をエンコーダ11に出力する(ステップS605)。
(数式1)
エンコードレート=送信可能な最大レート−送信バッファ内データレート・・・(1)
これにより、エンコーダ11は、エンコードレート算出部14からのエンコードレート指示に従って、所定のレート内に収まるように圧縮符号化を行う。
FIG. 6 is a flowchart showing the encoding rate calculation processing by the encoding rate calculation unit 14. First, the encode rate calculation unit 14 receives the modulation method switching information from the intermediate driver 12-2 and also receives the buffer data amount from the wireless LAN physical layer 13-2 (step S601). Then, the encoding rate calculation unit 14 performs a predetermined division process on the modulation scheme after switching indicated by the modulation scheme switching information using the redundant data amount for error correction and the transmission protocol header amount corresponding to the modulation scheme. By doing so, the maximum transmittable rate is calculated (step S602), and the temporal change of the buffer data amount is obtained to calculate the data rate in the transmission buffer (step S603). Then, the encode rate calculation unit 14 calculates the encode rate using the following mathematical formula (step S604), and outputs an encode rate instruction to the encoder 11 (step S605).
(Formula 1)
Encoding rate = maximum transmittable rate−data rate in transmission buffer (1)
Accordingly, the encoder 11 performs compression encoding so as to be within a predetermined rate in accordance with the encoding rate instruction from the encoding rate calculation unit 14.

ここで、データの送信中に変調方式が切り替わり、送信可能な最大レートが現在のエンコードレートより低くなると、無線LAN物理層13−2の送信バッファにデータが一時的に保持される。この場合、エンコードレート算出部14は、送信可能な最大レートが低くなるから、前記数式(1)により、以前よりも低いエンコードレートを算出し、エンコードレート指示をエンコーダ11に出力する。これにより、エンコーダ11により出力されるエンコードデータの量は少なくなり、無線LAN物理層13−2が送信バッファからデータを読み出して送信するに従って、送信バッファに保持されるデータの量が減少する。このとき、エンコードレート算出部14は、送信バッファ内データレートが低くなるから、前記数式(1)により、以前よりも高いエンコードレートを算出し、エンコードレート指示をエンコーダ11に出力する。これにより、エンコーダ11により出力されるエンコードデータは多くなる。   Here, when the modulation method is switched during data transmission and the maximum transmittable rate is lower than the current encoding rate, the data is temporarily held in the transmission buffer of the wireless LAN physical layer 13-2. In this case, since the maximum rate that can be transmitted becomes lower, the encode rate calculation unit 14 calculates an encode rate lower than before using the equation (1) and outputs an encode rate instruction to the encoder 11. As a result, the amount of encoded data output by the encoder 11 decreases, and the amount of data held in the transmission buffer decreases as the wireless LAN physical layer 13-2 reads and transmits data from the transmission buffer. At this time, since the data rate in the transmission buffer becomes low, the encode rate calculation unit 14 calculates an encode rate higher than before by the equation (1) and outputs an encode rate instruction to the encoder 11. As a result, the encoded data output by the encoder 11 increases.

このように、変調方式が切り替わり、送信可能な最大レートが現在のエンコードレートより低い場合、送信バッファから送信すべきデータを送信できるようにエンコードレートは一旦下げられ、送信バッファ内のデータが送信されながら、送信バッファ内のデータの量が減少するに従って、徐々にエンコードレートが上がっていく。これにより、エンコードレート算出部14が前記数式(1)によりエンコードレートを算出し、エンコーダ11のエンコードレートを制御することで、所定の時間内に全てのデータを送ることができ、受信装置2において映像が途切れることなく、ライブ映像を良好に伝送することが可能となる。   In this way, when the modulation method is switched and the maximum transmittable rate is lower than the current encoding rate, the encoding rate is temporarily lowered so that the data to be transmitted can be transmitted from the transmission buffer, and the data in the transmission buffer is transmitted. However, the encoding rate gradually increases as the amount of data in the transmission buffer decreases. As a result, the encoding rate calculation unit 14 calculates the encoding rate according to the mathematical expression (1) and controls the encoding rate of the encoder 11 so that all data can be sent within a predetermined time. It is possible to transmit the live video satisfactorily without the video being interrupted.

図5に戻って、無線LAN物理層13−2は、変調・送信部131−2、受信・復調部132、電界強度測定部133及び変調方式決定部134を備えている。変調・送信部131−2は、エンコードデータを送信する際に一時的に保持する送信バッファを備えており、中間ドライバ12−2からエンコードデータを入力すると共に、変調方式決定部134から変調方式切替情報を入力し、実施例1と同様に、入力したエンコードデータを送信バッファに格納し、無線伝送路の伝搬状況による実際の伝送レートに応じて送信バッファからエンコードデータを読み出し、エンコードデータをパケット化してシーケンス番号を付加し、変調方式切替情報が示す変調方式に従ってデータを変調し、変調方式に対応した所定の冗長度の誤り訂正符号を付加し、無線にて受信装置2へ送信する。また、変調・送信部131−2は、受信・復調部132からACKを入力し、送信したデータが受信装置2により正しく受信されたことを認識する。この場合、変調・送信部131−2は、ACKを入力した後に、データを送信する。また、変調・送信部131−2は、送信バッファに保持されているデータの量を算出し、バッファデータ量としてエンコードレート算出部14に出力する。   Returning to FIG. 5, the wireless LAN physical layer 13-2 includes a modulation / transmission unit 131-2, a reception / demodulation unit 132, an electric field strength measurement unit 133, and a modulation method determination unit 134. The modulation / transmission unit 131-2 includes a transmission buffer that temporarily holds the encoded data when it is transmitted. The modulation / transmission unit 131-2 receives the encoded data from the intermediate driver 12-2 and also switches the modulation method from the modulation method determination unit 134. Information is input, and the input encoded data is stored in the transmission buffer as in the first embodiment, and the encoded data is read from the transmission buffer according to the actual transmission rate according to the propagation state of the wireless transmission path, and the encoded data is packetized. Then, the sequence number is added, the data is modulated according to the modulation scheme indicated by the modulation scheme switching information, an error correction code of a predetermined redundancy corresponding to the modulation scheme is added, and transmitted to the receiving apparatus 2 by radio. Also, the modulation / transmission unit 131-2 receives ACK from the reception / demodulation unit 132, and recognizes that the transmitted data has been correctly received by the reception device 2. In this case, the modulation / transmission unit 131-2 transmits data after inputting the ACK. Also, the modulation / transmission unit 131-2 calculates the amount of data held in the transmission buffer, and outputs the data amount to the encode rate calculation unit 14 as the buffer data amount.

受信・復調部132、電界強度測定部133及び変調方式決定部134は、実施例1と同様であるから、説明を省略する。   Since the reception / demodulation unit 132, the electric field strength measurement unit 133, and the modulation scheme determination unit 134 are the same as those in the first embodiment, the description thereof is omitted.

尚、無線LAN物理層13−2の変調・送信部131−2に備えた送信バッファ内に一時的に保持されるデータには、無線LAN伝送方式よりも上位の通信方式により処理される再送データも含まれる。すなわち、無線伝送路でデータが失われた場合、送信バッファ内にデータが保持されるから、エンコードレート算出部14は、送信バッファ内データレートが高くなり、前記数式(1)により、以前よりも低いエンコードレートを算出し、エンコーダ11により出力されるエンコードデータの量は少なくなる。これにより、全体の送信レートが無線伝送路の送信可能な最大レートを超えることがなくなり、データ欠損を防ぐことができると共に、送信バッファを用いて、失われたデータの再送が行われる。   The data temporarily stored in the transmission buffer provided in the modulation / transmission unit 131-2 of the wireless LAN physical layer 13-2 includes retransmission data processed by a communication method higher than the wireless LAN transmission method. Is also included. That is, when data is lost on the wireless transmission path, the data is held in the transmission buffer, so the encoding rate calculation unit 14 increases the data rate in the transmission buffer, and the above equation (1) A low encoding rate is calculated, and the amount of encoded data output by the encoder 11 is reduced. As a result, the overall transmission rate does not exceed the maximum transmittable rate of the wireless transmission path, data loss can be prevented, and lost data is retransmitted using the transmission buffer.

また、本実施例2によらず、一般に、受信装置2は、デコードを開始する前に一旦データを保持するための受信バッファを備えており、ある程度の量のエンコードデータを受信バッファに保持した後にデコードを開始する。送信装置1−2において、変調方式が切り替わり、送信可能な最大レートが低下した場合であっても、この受信バッファにある程度の量のエンコードデータを保持する期間内に(受信バッファが空になる前に)、送信装置1−2のエンコードレート算出部14が、エンコードレートを制御し、無線LAN物理層13−2の変調・送信部131−2が、データを送信することができるときには、受信装置2において映像が途切れることなく、ライブ映像を伝送することが可能となる。   Regardless of the second embodiment, the receiving apparatus 2 generally includes a receiving buffer for temporarily holding data before starting decoding, and after holding a certain amount of encoded data in the receiving buffer. Start decoding. Even in the case where the modulation method is switched and the maximum transmission rate is reduced in the transmission device 1-2, the transmission apparatus 1-2 does not have a certain amount of encoded data in the reception buffer (before the reception buffer becomes empty). When the encoding rate calculation unit 14 of the transmission device 1-2 controls the encoding rate and the modulation / transmission unit 131-2 of the wireless LAN physical layer 13-2 can transmit data, the reception device In 2, live video can be transmitted without interruption.

また、中間ドライバ12−2は、エンコードレート算出部14を備えるようにしてもよいし、無線LAN物理層13−2の変調・送信部131−2は、バッファデータ量を、中間ドライバ12−2を介してエンコードレート算出部14に出力するようにしてもよい。   The intermediate driver 12-2 may include the encode rate calculation unit 14, and the modulation / transmission unit 131-2 of the wireless LAN physical layer 13-2 may determine the buffer data amount by using the intermediate driver 12-2. May be output to the encode rate calculation unit 14 via

また、無線LANでは、CSMA方式により、複数の送信装置1−2及び複数の受信装置2が同一の無線伝送路を共有してデータを伝送する。第1の送信装置1−2がデータを伝送している間は、無線伝送路を共有する他の送信装置1−2はデータを伝送することができない。すなわち、無線伝送路の伝搬状況に加え、他の送信装置1−2の伝送状況によっても、第1の送信装置1−2の送信レートは変化する。他の送信装置1−2がデータを伝送している間、第1の送信装置1−2において伝送すべきデータは、無線LAN物理層13−2の変調・送信部131−2に備えた送信バッファに一時的に保持される。そうすると、送信バッファ内にデータが保持されるから、エンコードレート算出部14は、送信バッファ内データレートが高くなり、前記数式(1)により、以前よりも低いエンコードレートを算出し、エンコーダ11により出力されるエンコードデータの量は少なくなる。これにより、エンコードレートは、無線伝送路の伝搬状況に見合った値になるから、受信装置2において映像が途切れることなく、ライブ映像を伝送することが可能となる。   In the wireless LAN, a plurality of transmission apparatuses 1-2 and a plurality of reception apparatuses 2 share the same wireless transmission path and transmit data by the CSMA method. While the first transmission device 1-2 is transmitting data, other transmission devices 1-2 sharing the wireless transmission path cannot transmit data. That is, the transmission rate of the first transmission device 1-2 changes depending on the transmission status of the other transmission device 1-2 in addition to the propagation status of the wireless transmission path. While the other transmission device 1-2 is transmitting data, the data to be transmitted by the first transmission device 1-2 is transmitted to the modulation / transmission unit 131-2 of the wireless LAN physical layer 13-2. Temporarily held in a buffer. Then, since the data is held in the transmission buffer, the encoding rate calculation unit 14 increases the data rate in the transmission buffer, calculates an encoding rate lower than before by the above equation (1), and outputs it by the encoder 11. The amount of encoded data is reduced. As a result, the encoding rate becomes a value commensurate with the propagation state of the wireless transmission path, so that it is possible to transmit live video without interruption of video in the receiving device 2.

以上のように、実施例2の送信装置1−2によれば、エンコードレート算出部14が、変調方式切替情報に基づいて、送信可能な最大レートを算出し、送信バッファ内のバッファデータ量の時間的変化を求めて送信バッファ内データレートを算出し、前記数式(1)によりエンコードレートを算出するようにした。そして、エンコーダ11が、エンコードレート算出部14により算出されたエンコードレートに従って、圧縮符号化を行いエンコードデータを生成するようにした。これにより、変調方式が切り替わり、送信可能な最大レートが現在のエンコードレートより低くなる場合、送信バッファから送信すべきデータを送信できるようにエンコードレートは一旦下げられ、送信バッファ内のデータが送信されながら、送信バッファ内のデータが減少するに従って、徐々にエンコードレートが上がっていく。つまり、送信バッファに一時的に保持されているデータ量を考慮してエンコードレートが制御され、無線伝送路の伝搬状況による送信可能な最大レートの変化に追従するだけでなく、他の送信装置1−2の伝送状況によって変化する送信レートにも追従するから、データ欠損を防ぎ、映像データの伝送を無瞬断で継続することができ、ライブ映像は途切れることがない。   As described above, according to the transmission device 1-2 of the second embodiment, the encode rate calculation unit 14 calculates the maximum transmittable rate based on the modulation scheme switching information, and calculates the buffer data amount in the transmission buffer. The data rate in the transmission buffer is calculated by obtaining the temporal change, and the encoding rate is calculated by the equation (1). The encoder 11 performs compression encoding according to the encoding rate calculated by the encoding rate calculation unit 14 to generate encoded data. As a result, when the modulation method is switched and the maximum transmittable rate is lower than the current encoding rate, the encoding rate is temporarily lowered so that the data to be transmitted can be transmitted from the transmission buffer, and the data in the transmission buffer is transmitted. However, as the data in the transmission buffer decreases, the encoding rate gradually increases. That is, the encoding rate is controlled in consideration of the amount of data temporarily held in the transmission buffer, and not only follows the change in the maximum transmittable rate depending on the propagation state of the wireless transmission path, but also other transmission devices 1 -2 also follows the transmission rate that changes depending on the transmission status, so that data loss can be prevented, video data transmission can be continued without interruption, and live video is not interrupted.

〔実施例3〕
次に、実施例3について説明する。実施例3は、前述のとおり、ACKタイムアウト期間中送信できなかったデータの量(ACKが想定通りに返信された場合に送信できていたと予想されるデータ量)に従って、エンコードレートを制御する例である。
Example 3
Next, Example 3 will be described. As described above, the third embodiment is an example in which the encoding rate is controlled according to the amount of data that could not be transmitted during the ACK timeout period (the amount of data that could be transmitted when ACK was returned as expected). is there.

図7は、実施例3による送信装置の構成を示すブロック図である。この送信装置1−3は、エンコーダ11、中間ドライバ12−3、無線LAN物理層13−3、仮想送信量カウント部15及びエンコードレート算出部19を備えている。エンコーダ11は、実施例1,2と同様の処理を行い、生成したエンコードデータを、中間ドライバ12−3を介して無線LAN物理層13−3に出力する。中間ドライバ12−3は、実施例2と同様であるから、説明を省略する。   FIG. 7 is a block diagram illustrating the configuration of the transmission apparatus according to the third embodiment. The transmission device 1-3 includes an encoder 11, an intermediate driver 12-3, a wireless LAN physical layer 13-3, a virtual transmission amount count unit 15, and an encode rate calculation unit 19. The encoder 11 performs the same processing as in the first and second embodiments, and outputs the generated encoded data to the wireless LAN physical layer 13-3 via the intermediate driver 12-3. Since the intermediate driver 12-3 is the same as that of the second embodiment, the description thereof is omitted.

エンコードレート算出部19は、中間ドライバ12−3から変調方式切替情報を入力すると共に、仮想送信量カウント部15から仮想送信量(ACKが想定通りに返信された場合に送信できていたと予想されるデータの量)を入力し、変調方式切替情報及び仮想送信量に基づいてエンコードレートを算出し、エンコーダ11に出力する。   The encode rate calculation unit 19 receives the modulation method switching information from the intermediate driver 12-3, and is expected to have been able to transmit the virtual transmission amount (if the ACK is returned as expected) from the virtual transmission amount counting unit 15. The amount of data) is input, the encoding rate is calculated based on the modulation scheme switching information and the virtual transmission amount, and is output to the encoder 11.

図8は、エンコードレート算出部19によるエンコードレート算出処理を示すフローチャートである。まず、エンコードレート算出部19は、中間ドライバ12−3から変調方式切替情報を入力すると共に、仮想送信量カウント部15から仮想送信量を入力する(ステップS801)。そして、エンコードレート算出部19は、変調方式切替情報が示す切り替え後の変調方式について、この変調方式に対応する誤り訂正のための冗長データ量及び伝送プロトコルヘッダ量等を用いて所定の除算処理を行うことにより、送信可能な最大レートを算出する(ステップS802)。そして、エンコードレート算出部19は、以下の数式によりエンコードレートを算出し(ステップS803)、エンコードレート指示をエンコーダ11に出力する(ステップS804)。
(数式2)
エンコードレート=送信可能な最大レート−仮想送信量 ・・・(2)
これにより、エンコーダ11は、エンコードレート算出部19からのエンコードレート指示に従って、所定のレート内に収まるように圧縮符号化を行う。
FIG. 8 is a flowchart showing the encoding rate calculation processing by the encoding rate calculation unit 19. First, the encoding rate calculation unit 19 inputs modulation scheme switching information from the intermediate driver 12-3 and also inputs a virtual transmission amount from the virtual transmission amount counting unit 15 (step S801). Then, the encoding rate calculation unit 19 performs a predetermined division process on the modulation scheme after switching indicated by the modulation scheme switching information using the redundant data amount for error correction and the transmission protocol header amount corresponding to the modulation scheme. By doing so, the maximum transmittable rate is calculated (step S802). Then, the encode rate calculation unit 19 calculates the encode rate using the following formula (step S803), and outputs an encode rate instruction to the encoder 11 (step S804).
(Formula 2)
Encoding rate = Maximum rate that can be transmitted-Virtual transmission amount (2)
Accordingly, the encoder 11 performs compression encoding so as to be within a predetermined rate in accordance with the encoding rate instruction from the encoding rate calculation unit 19.

ここで、無線伝送路の伝搬状況により、送信装置1−3から受信装置2へデータが正常に伝送されなかった場合、または、他の送信装置1−3がデータを伝送中の場合、受信装置2からACKが返信されないことがある。この場合、後述する仮想送信量カウント部15において、仮想送信量がカウントされる。エンコードレート算出部19は、仮想送信量が大きくなるから、前記数式(2)により、以前よりも低いエンコードレートを算出し、エンコードレート指示をエンコーダ11に出力する。これにより、エンコーダ11により出力されるエンコードデータの量は少なくなる。したがって、エンコードレート算出部19は、送信できなかったデータ量である仮想送信量に従って、前記数式(2)により、本来想定していたレートよりもエンコードレートを下げることで、エンコーダ11のエンコードレートを制御するようにしたから、データの欠損を防ぎ、所定の時間内に全てのデータを送ることができ、受信装置2において映像が途切れることなく、ライブ映像を伝送することが可能となる。   Here, when data is not normally transmitted from the transmission device 1-3 to the reception device 2 due to the propagation state of the wireless transmission path, or when another transmission device 1-3 is transmitting data, the reception device ACK may not be returned from 2. In this case, the virtual transmission amount is counted by a virtual transmission amount counting unit 15 described later. Since the virtual transmission amount becomes large, the encode rate calculation unit 19 calculates an encode rate lower than before by the mathematical formula (2), and outputs an encode rate instruction to the encoder 11. Thereby, the amount of encoded data output by the encoder 11 is reduced. Therefore, the encoding rate calculation unit 19 reduces the encoding rate of the encoder 11 by lowering the encoding rate from the originally assumed rate according to Equation (2) according to the virtual transmission amount that is the amount of data that could not be transmitted. Since the control is performed, loss of data can be prevented, all data can be transmitted within a predetermined time, and a live video can be transmitted without interruption of video in the receiving device 2.

図7に戻って、無線LAN物理層13−3は、変調・送信部131−3、受信・復調部132、電界強度測定部133及び変調方式決定部134を備えている。変調・送信部131−3は、エンコードデータを送信する際に一時的に保持する送信バッファを備えており、中間ドライバ12−3からエンコードデータを入力すると共に、変調方式決定部134から変調方式切替情報を入力し、実施例1,2と同様に、入力したエンコードデータを送信バッファに格納し、無線伝送路の伝搬状況による実際の伝送レートに応じて送信バッファからエンコードデータを読み出し、エンコードデータをパケット化してシーケンス番号を付加し、変調方式切替情報が示す変調方式に従ってデータを変調し、変調方式に対応した所定の冗長度の誤り訂正符号を付加し、無線にて受信装置2へ送信する。また、変調・送信部131−3は、受信・復調部132からACKを入力し、送信したデータが受信装置2により正しく受信されたことを認識する。この場合、変調・送信部131−3は、ACKを入力した後に、データを送信する。また、変調・送信部131−3は、データを送信してからACKを所定時間内に入力しない場合、ACK未受信を仮想送信量カウント部15に出力する。   Returning to FIG. 7, the wireless LAN physical layer 13-3 includes a modulation / transmission unit 131-3, a reception / demodulation unit 132, an electric field strength measurement unit 133, and a modulation method determination unit 134. The modulation / transmission unit 131-3 includes a transmission buffer that temporarily holds the encoded data when it is transmitted. The modulation / transmission unit 131-3 inputs the encoded data from the intermediate driver 12-3 and also switches the modulation method from the modulation method determination unit 134. As in the first and second embodiments, the input encoded data is stored in the transmission buffer, and the encoded data is read from the transmission buffer according to the actual transmission rate according to the propagation state of the wireless transmission path. It is packetized, a sequence number is added, data is modulated according to the modulation scheme indicated by the modulation scheme switching information, an error correction code with a predetermined redundancy corresponding to the modulation scheme is added, and transmitted to the receiving apparatus 2 by radio. Further, the modulation / transmission unit 131-3 receives ACK from the reception / demodulation unit 132 and recognizes that the transmitted data is correctly received by the reception device 2. In this case, the modulation / transmission unit 131-3 transmits data after inputting ACK. In addition, the modulation / transmission unit 131-3 outputs ACK not received to the virtual transmission amount counting unit 15 when ACK is not input within a predetermined time after data is transmitted.

受信・復調部132、電界強度測定部133及び変調方式決定部134は、実施例1,2と同様であるから、説明を省略する。   Since the reception / demodulation unit 132, the electric field strength measurement unit 133, and the modulation scheme determination unit 134 are the same as those in the first and second embodiments, the description thereof is omitted.

仮想送信量カウント部15は、無線LAN物理層13−3の変調・送信部131−3からACK未受信を入力すると、仮に、受信・復調部132においてACKを受信し、変調・送信部131−3においてACKを想定通りに入力していたならば、送信していたと予想されるデータ量(ACKが想定通りに返信された場合に送信できていたと予想されるデータの量)を仮想送信量としてカウントし、仮想送信量をエンコードレート算出部19に出力する。   When the virtual transmission amount counting unit 15 receives ACK not received from the modulation / transmission unit 131-3 of the wireless LAN physical layer 13-3, the reception / demodulation unit 132 temporarily receives the ACK, and the modulation / transmission unit 131- If ACK was input as expected in 3, the amount of data expected to have been transmitted (the amount of data expected to have been transmitted when ACK was returned as expected) is used as the virtual transmission amount. The virtual transmission amount is counted and output to the encode rate calculation unit 19.

尚、無線LAN物理層13−3は、仮想送信量カウント部15を備えるようにしてもよいし、仮想送信量カウント部15は、仮想送信量を、中間ドライバ12−3を介してエンコードレート算出部19に出力するようにしてもよい。また、中間ドライバ12−3は、エンコードレート算出部19を備えるようにしてもよい。   The wireless LAN physical layer 13-3 may include a virtual transmission amount counting unit 15, or the virtual transmission amount counting unit 15 may calculate the encoding rate via the intermediate driver 12-3. You may make it output to the part 19. FIG. Further, the intermediate driver 12-3 may include an encoding rate calculation unit 19.

また、無線LAN標準化方式では、複数パケットのACKをまとめて返信するブロックACK方式が規定されている。この場合も同様に、仮想送信量カウント部15は、ブロックACK内で確認応答がなかったパケットのデータ量を仮想送信量としてカウントし、エンコードレート算出部19に出力する。これにより、前述と同様の手法にて、エンコードレートを制御することができる。   Further, in the wireless LAN standardization method, a block ACK method for returning ACKs of a plurality of packets collectively is defined. Similarly in this case, the virtual transmission amount counting unit 15 counts the data amount of the packet that has not been acknowledged in the block ACK as the virtual transmission amount, and outputs the virtual transmission amount to the encode rate calculation unit 19. Thereby, the encoding rate can be controlled by the same method as described above.

以上のように、実施例3の送信装置1−3によれば、仮想送信量カウント部15が、ACK未受信を入力し、ACKが想定通りに返信された場合に送信できていたと予想されるデータの量を仮想送信量としてカウントし、エンコードレート算出部19が、変調方式切替情報に基づいて、送信可能な最大レートを算出し、前記数式(2)により、送信可能な最大レート及び仮想送信量からエンコードレートを算出するようにした。そして、エンコーダ11が、エンコードレート算出部19により算出したエンコードレートに従って、圧縮符号化を行いエンコードデータを生成するようにした。これにより、無線伝送路の伝搬状況により、送信装置1−3から受信装置2へデータが正常に伝送されなかったり、他の送信装置1−3によりデータが伝送中であったりして、受信装置2からACKが返信されない場合、エンコードレートは一旦下げられ、ACKが返信された場合、エンコードレートは上がる。つまり、無線伝送路の伝搬状況、または、無線伝送路を共有する他の送信装置1−3の伝送状況により変化する送信レートに追従して、エンコードレートを制御することができ、データ欠損を防ぎ、受信装置2において映像が途切れることなく、ライブ映像を伝送することが可能となる。   As described above, according to the transmission device 1-3 of the third embodiment, the virtual transmission amount counting unit 15 is expected to have been able to transmit when ACK not received is input and ACK is returned as expected. The amount of data is counted as a virtual transmission amount, and the encode rate calculation unit 19 calculates the maximum transmittable rate based on the modulation scheme switching information. The maximum transmittable rate and the virtual transmission are calculated according to the equation (2). The encoding rate was calculated from the amount. Then, the encoder 11 performs compression encoding according to the encoding rate calculated by the encoding rate calculation unit 19 to generate encoded data. Thereby, depending on the propagation state of the wireless transmission path, data may not be normally transmitted from the transmission device 1-3 to the reception device 2, or data may be being transmitted by another transmission device 1-3. When ACK is not returned from 2, the encoding rate is temporarily lowered, and when ACK is returned, the encoding rate is increased. In other words, the encoding rate can be controlled to follow the transmission rate that changes depending on the propagation status of the wireless transmission path or the transmission status of other transmission apparatuses 1-3 that share the wireless transmission path, thereby preventing data loss. Thus, it is possible to transmit the live video without interruption of the video in the receiving device 2.

〔実施例4〕
次に、実施例4について説明する。実施例4は、前述のとおり、GPS等により取得した送信装置の位置情報に従って、エンコードレートを制御する例である。尚、実施例4では、受信装置2は移動することのない固定局であることを前提とする。
Example 4
Next, Example 4 will be described. As described above, the fourth embodiment is an example in which the encoding rate is controlled according to the position information of the transmission device acquired by GPS or the like. In the fourth embodiment, it is assumed that the receiving device 2 is a fixed station that does not move.

図9は、実施例4による送信装置の構成を示すブロック図である。この送信装置1−4は、エンコーダ11、中間ドライバ12−4、無線LAN物理層13−4、位置情報測定部16及び位置−送信レートテーブル保持部(エンコードレート決定部)17を備えている。エンコーダ11は、実施例1〜3と同様の処理を行い、生成したエンコードデータを、中間ドライバ12−4を介して無線LAN物理層13−4に出力する。   FIG. 9 is a block diagram illustrating the configuration of the transmission apparatus according to the fourth embodiment. The transmission apparatus 1-4 includes an encoder 11, an intermediate driver 12-4, a wireless LAN physical layer 13-4, a position information measurement unit 16, and a position-transmission rate table holding unit (encoding rate determination unit) 17. The encoder 11 performs the same processing as in the first to third embodiments, and outputs the generated encoded data to the wireless LAN physical layer 13-4 via the intermediate driver 12-4.

中間ドライバ12−4は、エンコーダ11からエンコードデータを入力し、入力したエンコードデータを無線LAN物理層13−4に出力する。また、中間ドライバ12−4は、位置−送信レートテーブル保持部17からエンコードレート指示を入力し、入力したエンコードレート指示をエンコーダ11に出力する。また、中間ドライバ12−4は、無線LAN物理層13−4から変調方式切替情報、電界強度及び受信データを入力し、変調方式切替情報が示す切り替え後の変調方式について、送信可能な最大レートを算出する。そして、中間ドライバ12−4は、図4に示したステップS401〜ステップS407の処理を行い、エンコードレート指示をエンコーダ11に出力する。また、中間ドライバ12−4は、入力した電界強度を用いて、図4に示したステップS408〜ステップS411の処理を行い、無線伝送路が完全に遮蔽される等して通信できる伝搬状況ではないと判断した場合、無線LAN物理層13−4に、入力したエンコードデータ及び保持していたエンコードデータを破棄させ、無線伝送路の伝搬状況が改善したと判断した場合、無線LAN物理層13−4に、変調及び送信処理を再開させる。尚、中間ドライバ12−4は、通常、図4に示したステップS401〜ステップS407の処理により生成したエンコードレート指示をエンコーダ11に出力し、位置−送信レートテーブル保持部17からエンコードレート指示を入力した場合に、入力したエンコードレート指示をエンコーダ11に出力する。   The intermediate driver 12-4 receives the encoded data from the encoder 11 and outputs the input encoded data to the wireless LAN physical layer 13-4. The intermediate driver 12-4 receives an encoding rate instruction from the position-transmission rate table holding unit 17 and outputs the input encoding rate instruction to the encoder 11. Further, the intermediate driver 12-4 inputs the modulation system switching information, the electric field strength, and the reception data from the wireless LAN physical layer 13-4, and sets the maximum transmittable rate for the modulation system after switching indicated by the modulation system switching information. calculate. Then, the intermediate driver 12-4 performs the processing of steps S401 to S407 illustrated in FIG. 4 and outputs an encoding rate instruction to the encoder 11. Further, the intermediate driver 12-4 performs the processing of step S408 to step S411 shown in FIG. 4 using the input electric field strength, and is not in a propagation situation in which communication is possible because the wireless transmission path is completely shielded. If it is determined that the wireless LAN physical layer 13-4 has discarded the input encoded data and the encoded data held therein, and it is determined that the propagation state of the wireless transmission path has been improved, the wireless LAN physical layer 13-4 Then, the modulation and transmission process is resumed. The intermediate driver 12-4 normally outputs the encoding rate instruction generated by the processing in steps S401 to S407 shown in FIG. 4 to the encoder 11, and inputs the encoding rate instruction from the position-transmission rate table holding unit 17. In this case, the input encoding rate instruction is output to the encoder 11.

位置情報測定部16は、GPS等を利用して現在の送信装置1−4の位置を測定し、位置情報を生成して位置−送信レートテーブル保持部17に出力する。位置−送信レートテーブル保持部17は、所定のテーブルを保持しており、位置情報測定部16から送信装置1−4の位置情報を入力すると共に、後述する変調方式決定部137から現在の変調方式を入力する。そして、位置−送信レートテーブル保持部17は、入力した位置情報に対応する送信レート(エンコードレート)をテーブルから読み出し、エンコードレート指示を、中間ドライバ12−4を介してエンコーダ11に出力する。この場合、位置−送信レートテーブル保持部17は、エンコードレートが現在の送信可能な最大レートよりも高い場合、所定時間経過後に、エンコードレート指示を出力する。また、位置−送信レートテーブル保持部17は、入力した位置情報に対応する送信レート(エンコードレート)がテーブルに存在しない場合、入力した現在の変調方式について、実施例1の中間ドライバ12−1と同様に、現在の送信可能な最大レートを算出し、現在の送信可能な最大レートを、位置情報に対応する送信レート(エンコードレート)としてテーブルに格納する。ここで、テーブルには、位置情報及びこの位置情報に対応する送信レート(エンコードレート)等が格納されており、位置情報は、基準位置を中心とした所定範囲を示す情報である。   The position information measurement unit 16 measures the current position of the transmission device 1-4 using GPS or the like, generates position information, and outputs the position information to the position-transmission rate table holding unit 17. The position-transmission rate table holding unit 17 holds a predetermined table, inputs the position information of the transmission device 1-4 from the position information measurement unit 16, and the current modulation method from the modulation method determination unit 137 described later. Enter. Then, the position-transmission rate table holding unit 17 reads a transmission rate (encoding rate) corresponding to the input position information from the table, and outputs an encoding rate instruction to the encoder 11 via the intermediate driver 12-4. In this case, the position-transmission rate table holding unit 17 outputs an encoding rate instruction after a predetermined time elapses when the encoding rate is higher than the current maximum transmittable rate. In addition, the position-transmission rate table holding unit 17 determines whether the transmission rate (encoding rate) corresponding to the input position information exists in the table with the intermediate driver 12-1 of the first embodiment for the input current modulation method. Similarly, the current maximum transmittable rate is calculated, and the current maximum transmittable rate is stored in the table as a transmission rate (encoding rate) corresponding to the position information. Here, the table stores position information, a transmission rate (encoding rate) corresponding to the position information, and the like, and the position information is information indicating a predetermined range centered on the reference position.

また、位置−送信レートテーブル保持部17は、送信装置1−4の移動による位置情報の変化に伴い、テーブルから読み出した第1の位置情報に対応するエンコードレートよりも、その後に読み出した第2の位置情報に対応するエンコードレートの方が低くなっている場合、第2の位置情報に対応するエンコードレートよりも一層低いエンコードレートを決定し、エンコードレート指示を中間ドライバ12−4に出力し、所定時間経過した後、決定したエンコードレートに相当する送信可能な最大レートの変調方式を決定し、変調方式指示を後述する変調方式決定部137に出力する。これにより、変調方式決定部137は、位置−送信レートテーブル保持部17から変調方式指示を入力し、その変調方式に決定する。   In addition, the position-transmission rate table holding unit 17 causes the second read out after the encoding rate corresponding to the first position information read out from the table as the position information changes due to the movement of the transmitting device 1-4. If the encoding rate corresponding to the position information is lower, an encoding rate lower than the encoding rate corresponding to the second position information is determined, and an encoding rate instruction is output to the intermediate driver 12-4. After a predetermined time has elapsed, a modulation scheme of the maximum transmittable rate corresponding to the determined encoding rate is determined, and a modulation scheme instruction is output to a modulation scheme determination section 137 described later. As a result, the modulation scheme determination unit 137 receives a modulation scheme instruction from the position-transmission rate table holding unit 17 and determines the modulation scheme.

図10は、位置−送信レートテーブル保持部17によるエンコードレート及び変調方式に関する処理を示すフローチャートである。まず、位置−送信レートテーブル保持部17は、位置情報測定部16から送信装置1−4の位置情報を入力すると共に、変調方式決定部137から現在の変調方式を入力し(ステップS1001)、現在の変調方式に対応する誤り訂正のための冗長データ量及び伝送プロトコルヘッダ量等を用いて所定の除算処理を行うことにより、現在の送信可能な最大レートを算出する(ステップS1002)。   FIG. 10 is a flowchart showing processing related to the encoding rate and modulation method by the position-transmission rate table holding unit 17. First, the position-transmission rate table holding unit 17 inputs the position information of the transmission device 1-4 from the position information measurement unit 16, and also inputs the current modulation method from the modulation method determination unit 137 (step S1001). By performing a predetermined division process using the redundant data amount for error correction and the transmission protocol header amount corresponding to the modulation method, the current maximum transmittable rate is calculated (step S1002).

位置−送信レートテーブル保持部17は、テーブルに、位置情報に対応するエンコードレートが存在するか否かを判定し(ステップS1003)、位置情報に対応するエンコードレートが存在すると判定した場合(ステップS1003:Y)、テーブルから位置情報に対応するエンコードレートを読み出し、新たなエンコードレートを決定する(ステップS1004)。一方、位置−送信レートテーブル保持部17は、ステップS1003において、位置情報に対応するエンコードレートが存在しないと判定した場合(ステップS1003:N)、ステップS1002にて算出した現在の送信可能な最大レートを、位置情報に対応するエンコードレートとし、テーブルに格納する(ステップS1005)。   The position-transmission rate table holding unit 17 determines whether an encoding rate corresponding to the position information exists in the table (step S1003), and determines that there is an encoding rate corresponding to the position information (step S1003). : Y), the encoding rate corresponding to the position information is read from the table, and a new encoding rate is determined (step S1004). On the other hand, if the position-transmission rate table holding unit 17 determines in step S1003 that there is no encoding rate corresponding to the position information (step S1003: N), the current maximum transmittable rate calculated in step S1002 Is set as the encoding rate corresponding to the position information and stored in the table (step S1005).

位置−送信レートテーブル保持部17は、ステップS1004から移行して、新たに決定したエンコードレートと、現在の送信可能な最大レートとを比較し(ステップS1006)、決定したエンコードレートが現在の送信可能な最大レート以下であると判定した場合(ステップS1006:≦)、エンコードレート指示を、中間ドライバ12−4を介してエンコーダ11に出力する(ステップS1007)。これにより、無線伝送路の伝搬状況が悪化して実際に送信可能な最大レートが低下する前に、エンコーダ11のエンコードレートは速やかに低くなり、データ送信量が減少するから、データの欠落を防ぐことができ、映像が途切れ難い伝送を実現できる。   The position-transmission rate table holding unit 17 shifts from step S1004 to compare the newly determined encoding rate with the current maximum transmittable rate (step S1006), and the determined encoding rate can be currently transmitted. When it is determined that the maximum rate is below the maximum rate (step S1006: ≦), an encoding rate instruction is output to the encoder 11 via the intermediate driver 12-4 (step S1007). As a result, the encoding rate of the encoder 11 quickly decreases and the data transmission amount decreases before the propagation rate of the wireless transmission path deteriorates and the maximum rate that can be actually transmitted decreases, thereby preventing data loss. And transmission with which the video is hardly interrupted can be realized.

一方、位置−送信レートテーブル保持部17は、ステップS1006において、決定したエンコードレートが現在の送信可能な最大レートよりも高いと判定した場合(ステップS1006:>)、所定時間経過後に、エンコードレート指示を、中間ドライバ12−4を介してエンコーダ11に出力する(ステップS1008)。これにより、エンコーダ11のエンコードレートは、送信バッファからデータが送信されるのを待った後に高くなるから、データ欠損を防ぎ、映像が途切れることのない伝送を実現できる。   On the other hand, if the position-transmission rate table holding unit 17 determines in step S1006 that the determined encoding rate is higher than the current maximum transmittable rate (step S1006:>), the encoding rate instruction is given after a predetermined time has elapsed. Is output to the encoder 11 via the intermediate driver 12-4 (step S1008). As a result, the encoding rate of the encoder 11 is increased after waiting for data to be transmitted from the transmission buffer, so that data loss can be prevented and transmission without interruption of video can be realized.

尚、位置−送信レートテーブル保持部17は、ステップS1008の処理の代わりに、さらに位置情報が更新され、現在の変調方式から算出した現在の送信可能な最大レートが所定のレート(例えば、決定したエンコードレートに近い所定値)にまで高くなるのを待ってから、テーブルから読み出したエンコードレートのエンコードレート指示を出力するようにしてもよい。   The position-transmission rate table holding unit 17 updates the position information in place of the process of step S1008, and the current maximum transmission rate calculated from the current modulation scheme is determined to be a predetermined rate (for example, determined). An encoding rate instruction for the encoding rate read from the table may be output after waiting for the value to reach a predetermined value close to the encoding rate.

位置−送信レートテーブル保持部17は、ステップS1005、ステップS1007またはステップS1008から移行して、送信装置1−4の移動による位置情報の変化に伴い、ステップS1004にてテーブルから読み出したエンコードレートが低下しているか否かを判定する(ステップS1009)。例えば、位置−送信レートテーブル保持部17は、所定時間の間、テーブルから読み出した複数のエンコードレート及び読み出した時間に基づいて、時間的に低下傾向にあるか否かを判定する。位置−送信レートテーブル保持部17は、ステップS1009において、エンコードレートが低下していると判定した場合(ステップS1009:Y)、そのときの位置情報に対応するエンコードレートよりも一層低い最低値のエンコードレートを決定する(ステップS1010)。例えば、位置−送信レートテーブル保持部17は、そのときの位置情報に対応するエンコードレートから所定値を減算し、減算結果の最低値をエンコードレートに決定する。   The position-transmission rate table holding unit 17 moves from step S1005, step S1007, or step S1008, and the encoding rate read from the table in step S1004 decreases as the position information changes due to the movement of the transmission device 1-4. It is determined whether or not (step S1009). For example, the position-transmission rate table holding unit 17 determines whether or not there is a tendency to decrease in time based on a plurality of encoding rates read from the table and the read times for a predetermined time. If the position-transmission rate table holding unit 17 determines in step S1009 that the encoding rate is decreasing (step S1009: Y), the encoding of the lowest value that is lower than the encoding rate corresponding to the position information at that time is performed. The rate is determined (step S1010). For example, the position-transmission rate table holding unit 17 subtracts a predetermined value from the encoding rate corresponding to the position information at that time, and determines the lowest value of the subtraction result as the encoding rate.

位置−送信レートテーブル保持部17は、ステップS1010にて決定した最低値のエンコードレートのエンコードレート指示を、中間ドライバ12−4を介してエンコーダ11に出力する(ステップS1011)。また、位置−送信レートテーブル保持部17は、所定時間経過した後、ステップS1010にて決定した最低値のエンコードレートに相当する送信可能な最大レートの変調方式を決定し(ステップS1012)、変調方式指示を無線LAN物理層13−4に出力し(ステップS1013)、処理を終了してステップS1001へ移行する。例えば、位置−送信レートテーブル保持部17は、最低値のエンコードレートと、送信可能な最大レートの変調方式とが対応したテーブルを用いて、変調方式を決定する。   The position-transmission rate table holding unit 17 outputs the encoding rate instruction of the lowest encoding rate determined in step S1010 to the encoder 11 via the intermediate driver 12-4 (step S1011). Further, the position-transmission rate table holding unit 17 determines a modulation scheme of the maximum transmittable rate corresponding to the lowest encoding rate determined in step S1010 after a predetermined time has elapsed (step S1012), and the modulation scheme The instruction is output to the wireless LAN physical layer 13-4 (step S1013), the process ends, and the process proceeds to step S1001. For example, the position-transmission rate table holding unit 17 determines a modulation scheme using a table in which the lowest encoding rate corresponds to the modulation scheme with the maximum transmittable rate.

ここで、送信可能な最大レートが低くなる位置に送信装置1−4が近づいた場合には、位置−送信レートテーブル保持部17は、まず、エンコードレートを低い値に制御し、その後に、無線LAN物理層13−4に対し変調方式を直接変更するようにした。一般に、送信可能な最大レートが低くなる位置に近づくことで、電界強度の低下に伴うパケットロスが発生するが、位置−送信レートテーブル保持部17の処理により、そのパケットロスを低減することができ、映像が途切れる可能性を低く抑えることが可能となる。   Here, when the transmitting apparatus 1-4 approaches a position where the maximum transmittable rate is low, the position-transmission rate table holding unit 17 first controls the encoding rate to a low value, and then wirelessly The modulation method is directly changed for the LAN physical layer 13-4. In general, when approaching a position where the maximum transmittable rate becomes low, packet loss occurs due to a decrease in electric field strength. However, the packet loss can be reduced by the processing of the position-transmission rate table holding unit 17. Therefore, it is possible to reduce the possibility that the video is interrupted.

一方、位置−送信レートテーブル保持部17は、ステップS1009において、エンコードレートが低下していないと判定した場合(ステップS1009:N)、処理を終了してステップS1001へ移行する。   On the other hand, if the position-transmission rate table holding unit 17 determines in step S1009 that the encoding rate has not decreased (step S1009: N), the process ends and the process proceeds to step S1001.

尚、位置情報及びこれに対応するエンコードレートがテーブルに存在している場合に、位置−送信レートテーブル保持部17は、ステップS1006において、テーブルから読み出したエンコードレートが現在の送信可能な最大レートよりも高いと判定した場合(ステップS1006:>)、テーブルに格納されているエンコードレートを、このエンコードレート以下である現在の送信可能な最大レートに更新するようにしてもよい。これにより、無線伝送路の伝搬状況が最も悪化している場合に合わせたテーブルが生成され、一層映像が途切れ難い制御を行うことが可能となる。   When the position information and the corresponding encoding rate exist in the table, the position-transmission rate table holding unit 17 determines that the encoding rate read from the table is higher than the current maximum transmittable rate in step S1006. If it is determined that the encoding rate is higher (step S1006:>), the encoding rate stored in the table may be updated to the current maximum transmittable rate that is equal to or lower than the encoding rate. As a result, a table adapted to the case where the propagation state of the wireless transmission path is most deteriorated is generated, and it becomes possible to perform control that makes it difficult to interrupt the video.

図9に戻って、無線LAN物理層13−4は、変調・送信部131−4、受信・復調部132、電界強度測定部133及び変調方式決定部137を備えている。変調・送信部131−4は、エンコードデータを送信する際に一時的に保持する送信バッファを備えており、中間ドライバ12−4からエンコードデータを入力すると共に、変調方式決定部137から変調方式切替情報を入力し、実施例1〜3と同様に、入力したエンコードデータを送信バッファに格納し、無線伝送路の伝搬状況による実際の伝送レートに応じて送信バッファからエンコードデータを読み出し、エンコードデータをパケット化してシーケンス番号を付加し、変調方式切替情報が示す変調方式に従ってデータを変調し、変調方式に対応した所定の冗長度の誤り訂正符号を付加し、無線にて受信装置2へ送信する。また、変調・送信部131−4は、受信・復調部132からACKを入力し、送信したデータが受信装置2により正しく受信されたことを認識する。この場合、変調・送信部131−4は、ACKを入力した後に、データを送信する。   Returning to FIG. 9, the wireless LAN physical layer 13-4 includes a modulation / transmission unit 131-4, a reception / demodulation unit 132, an electric field strength measurement unit 133, and a modulation method determination unit 137. The modulation / transmission unit 131-4 includes a transmission buffer that temporarily holds the encoded data when it is transmitted. The modulation / transmission unit 131-4 inputs the encoded data from the intermediate driver 12-4 and also switches the modulation method from the modulation method determination unit 137. Information is input, the input encoded data is stored in the transmission buffer in the same manner as in the first to third embodiments, the encoded data is read from the transmission buffer according to the actual transmission rate according to the propagation state of the wireless transmission path, and the encoded data is It is packetized, a sequence number is added, data is modulated according to the modulation scheme indicated by the modulation scheme switching information, an error correction code with a predetermined redundancy corresponding to the modulation scheme is added, and transmitted to the receiving apparatus 2 by radio. Also, the modulation / transmission unit 131-4 receives ACK from the reception / demodulation unit 132 and recognizes that the transmitted data is correctly received by the reception device 2. In this case, the modulation / transmission unit 131-4 transmits data after inputting the ACK.

変調方式決定部137は、電界強度測定部133から電界強度を入力し、所定の変換方式テーブルを用いて、入力した電界強度に対応する変調方式を新たな変調方式に決定すると共に、位置−送信レートテーブル保持部17から変調方式指示を入力し、変調方式指示が示す変調方式を新たな変調方式に決定する。そして、変調方式決定部137は、変調方式が変わった場合、変調方式切替情報を中間ドライバ12−4及び変調・送信部131−4に出力すると共に、現在の変調方式を位置−送信レートテーブル保持部17に出力する。受信・復調部132及び電界強度測定部133は、実施例1〜3と同様であるから、説明を省略する。   The modulation method determination unit 137 receives the electric field strength from the electric field strength measurement unit 133, determines a modulation method corresponding to the input electric field strength as a new modulation method using a predetermined conversion method table, and performs position-transmission. A modulation scheme instruction is input from the rate table holding unit 17, and the modulation scheme indicated by the modulation scheme instruction is determined as a new modulation scheme. Then, when the modulation method changes, the modulation method determination unit 137 outputs the modulation method switching information to the intermediate driver 12-4 and the modulation / transmission unit 131-4, and holds the current modulation method in the position-transmission rate table. To the unit 17. Since the reception / demodulation unit 132 and the electric field strength measurement unit 133 are the same as those in the first to third embodiments, the description thereof is omitted.

尚、実施例4は、実施例1の構成を基本とし、さらに位置情報測定部16及び位置−送信レートテーブル保持部17を備え、GPSにより取得した位置情報に従って、予めエンコードレートを制御するものである。これに対し、実施例4の変形例は、実施例2,3の構成を基本とし、さらに位置情報測定部16及び位置−送信レートテーブル保持部17を備えるようにしてもよい。   The fourth embodiment is based on the configuration of the first embodiment, and further includes a position information measurement unit 16 and a position-transmission rate table holding unit 17, and controls the encoding rate in advance according to the position information acquired by GPS. is there. On the other hand, the modification of the fourth embodiment is based on the configuration of the second and third embodiments, and may further include a position information measurement unit 16 and a position-transmission rate table holding unit 17.

また、位置−送信レートテーブル保持部17は、エンコードレート指示を、中間ドライバ12−4を介してエンコーダ11に出力するようにしたが、中間ドライバ12−4を介することなく、エンコーダ11に直接出力するようにしてもよい。また、中間ドライバ12−4は、位置情報測定部16及び位置−送信レートテーブル保持部17を備えるようにしてもよい。   The position-transmission rate table holding unit 17 outputs the encoding rate instruction to the encoder 11 via the intermediate driver 12-4, but directly outputs it to the encoder 11 without passing through the intermediate driver 12-4. You may make it do. Further, the intermediate driver 12-4 may include a position information measuring unit 16 and a position-transmission rate table holding unit 17.

以上のように、実施例4の送信装置1−4によれば、位置−送信レートテーブル保持部17が、送信装置1−4の位置情報に対応するエンコードレートをテーブルから読み出し、エンコードレート指示を、中間ドライバ12−4を介してエンコーダ11に出力する際に、テーブルから読み出したエンコードレートと、現在の変調方式から算出した現在の送信可能な最大レートとを比較し、読み出したエンコードレートが現在の送信可能な最大レート以下の場合、即座にエンコードレート指示を出力し、読み出したエンコードレートが現在の送信可能な最大レートよりも高い場合、所定時間経過後に、エンコードレート指示を出力するようにした。これにより、無線伝送路の伝搬状況が悪化して実際に送信可能な最大レートが低下する前に、エンコードレートを低下させてデータ送信量を減少させることができる。したがって、データ欠損を防ぎ、受信装置2において映像が途切れることなく、ライブ映像を伝送することが可能となる。   As described above, according to the transmission device 1-4 of the fourth embodiment, the position-transmission rate table holding unit 17 reads the encoding rate corresponding to the position information of the transmission device 1-4 from the table, and issues an encoding rate instruction. When outputting to the encoder 11 via the intermediate driver 12-4, the encoding rate read from the table is compared with the current maximum transmittable rate calculated from the current modulation scheme, and the read encoding rate is The encoding rate instruction is output immediately when the maximum transmission rate is less than the maximum transmission rate, and when the read encoding rate is higher than the current maximum transmission rate, the encoding rate instruction is output after a predetermined time. . As a result, the data transmission amount can be reduced by lowering the encoding rate before the propagation state of the wireless transmission path deteriorates and the maximum rate that can be actually transmitted decreases. Therefore, it is possible to prevent data loss and transmit live video without interruption of video in the receiving device 2.

〔実施例5〕
次に、実施例5について説明する。実施例5は、前述のとおり、実施例1〜4の変形例であり、実施例1〜4における送信装置1−1〜1−4のエンコーダ11と無線LAN物理層13−1〜13−4とが一体化されておらず、別々の装置として構成され、無線LAN物理層13−1〜13−4が、無線LANアクセスポイントまたは無線LANブリッジ装置として外部に設置される場合の例である。
Example 5
Next, Example 5 will be described. As described above, the fifth embodiment is a modification of the first to fourth embodiments. The encoder 11 of the transmission apparatuses 1-1 to 1-4 and the wireless LAN physical layers 13-1 to 13-4 in the first to fourth embodiments. Are configured as separate devices, and the wireless LAN physical layers 13-1 to 13-4 are installed outside as wireless LAN access points or wireless LAN bridge devices.

図11は、実施例5による送信装置(送信システム)の構成を示すブロック図である。この送信装置1−5は、エンコーダ20及び無線LANアクセスポイント18を備えて構成される。エンコーダ20は、実施例1のエンコーダ11及び中間ドライバ12−1、実施例2,3の中間ドライバ12−2,12−3及びエンコードレート算出部14,19、または、実施例4の中間ドライバ12−4、位置情報測定部16及び位置−送信レートテーブル保持部17のうちのいずれかの実施例の構成部を備えている。エンコーダ20は、映像信号を入力し、所定のエンコードレートにて圧縮符号化してエンコードデータを生成し、例えばイーサネット(登録商標)等の有線媒体を介して、無線LANアクセスポイント18へ送信する。また、エンコーダ20は、無線LANアクセスポイント18から電界強度及び変調方式切替情報等を受信し、送信可能な最大レートを算出し、実施例1〜4と同様にしてエンコードレートを求め、エンコードデータを生成する。   FIG. 11 is a block diagram illustrating a configuration of a transmission apparatus (transmission system) according to the fifth embodiment. The transmission apparatus 1-5 includes an encoder 20 and a wireless LAN access point 18. The encoder 20 includes the encoder 11 and the intermediate driver 12-1 of the first embodiment, the intermediate drivers 12-2 and 12-3 and the encode rate calculation units 14 and 19 of the second and third embodiments, or the intermediate driver 12 of the fourth embodiment. -4, the position information measuring unit 16 and the position-transmission rate table holding unit 17 are provided with the components of any of the embodiments. The encoder 20 receives a video signal, compresses and encodes the video signal at a predetermined encoding rate, generates encoded data, and transmits the encoded data to the wireless LAN access point 18 via a wired medium such as Ethernet (registered trademark). Further, the encoder 20 receives the electric field strength and modulation method switching information from the wireless LAN access point 18, calculates the maximum rate that can be transmitted, obtains the encoding rate in the same manner as in the first to fourth embodiments, and obtains the encoding data. Generate.

無線LANアクセスポイント18は、無線LAN物理層13−5を備えており、具体的には、実施例1の無線LAN物理層13−1、実施例2の無線LAN物理層13−2、実施例3の無線LAN物理層13−3及び仮想送信量カウント部15、または、実施例4の無線LAN物理層13−4のうちのいずれかの実施例であってエンコーダ20の実施例に対応した構成部を備えている。無線LAN物理層13−5は、実施例1〜4の無線LAN物理層13−1〜13−4のいずれかと同様の機能を有する。無線LANアクセスポイント18は、エンコーダ20からエンコードデータを受信し、無線LANプロトコルにより受信装置2へ送信し、無線LAN用ACK等を受信する。また、無線LANアクセスポイント18は、電界強度を測定し、変調方式を決定する等の処理を行い、電界強度及び変調方式切替情報等を、有線媒体を介してエンコーダ20へ送信する。   The wireless LAN access point 18 includes a wireless LAN physical layer 13-5. Specifically, the wireless LAN physical layer 13-1 according to the first embodiment, the wireless LAN physical layer 13-2 according to the second embodiment, and the embodiment. 3 of the wireless LAN physical layer 13-3 and the virtual transmission amount counting unit 15 of the third embodiment, or the wireless LAN physical layer 13-4 of the fourth embodiment, and a configuration corresponding to the embodiment of the encoder 20 Department. The wireless LAN physical layer 13-5 has the same function as any of the wireless LAN physical layers 13-1 to 13-4 of the first to fourth embodiments. The wireless LAN access point 18 receives the encoded data from the encoder 20, transmits it to the receiving device 2 using the wireless LAN protocol, and receives the wireless LAN ACK and the like. In addition, the wireless LAN access point 18 measures the electric field strength, performs a process such as determining a modulation method, and transmits the electric field strength and the modulation method switching information to the encoder 20 via a wired medium.

尚、エンコーダ20は、中間ドライバ12−1〜12−4等を備えるようにしたが、無線LANアクセスポイント18は、エンコーダ20の代わりに、エンコーダ11以外の中間ドライバ12−1〜12−4等を備えるようにしてもよい。この場合、エンコーダ20は、無線LANアクセスポイント18からエンコードレート指示を受信する。   Although the encoder 20 includes the intermediate drivers 12-1 to 12-4 and the like, the wireless LAN access point 18 includes the intermediate drivers 12-1 to 12-4 other than the encoder 11 instead of the encoder 20. You may make it provide. In this case, the encoder 20 receives an encoding rate instruction from the wireless LAN access point 18.

以上のように、実施例5の送信装置1−5によれば、無線LAN物理層13−5をエンコーダ20の外部に設置された無線LANアクセスポイント18内に設けるようにした。この場合も、実施例1〜4と同様に、無線伝送路の伝搬状況に応じて伝送レートが変化したり、同一伝送路にて同時送信が発生し伝送レートが低下したりしたときであっても、映像データの伝送を無瞬断で継続することができ、ライブ映像は途切れることがない。   As described above, according to the transmission device 1-5 of the fifth embodiment, the wireless LAN physical layer 13-5 is provided in the wireless LAN access point 18 installed outside the encoder 20. Also in this case, as in the first to fourth embodiments, the transmission rate changes according to the propagation state of the wireless transmission path, or the simultaneous transmission occurs on the same transmission path and the transmission rate decreases. However, transmission of video data can be continued without interruption, and live video is not interrupted.

1 送信装置
2 受信装置
11,20 エンコーダ
12,22 中間ドライバ
13 無線LAN物理層(送信部)
14,19 エンコードレート算出部
15 仮想送信量カウント部
16 位置情報測定部
17 位置−送信レートテーブル保持部
18 無線LANアクセスポイント
21 無線LAN物理層(受信部)
22 中間ドライバ
131 変調・送信部
132 受信・復調部
133 電界強度測定部
134,137 変調方式決定部
DESCRIPTION OF SYMBOLS 1 Transmission apparatus 2 Reception apparatus 11, 20 Encoder 12, 22 Intermediate driver 13 Wireless LAN physical layer (transmission part)
14, 19 Encoding rate calculation unit 15 Virtual transmission amount counting unit 16 Position information measurement unit 17 Position-transmission rate table holding unit 18 Wireless LAN access point 21 Wireless LAN physical layer (receiving unit)
22 Intermediate Driver 131 Modulation / Transmission Unit 132 Reception / Demodulation Unit 133 Electric Field Strength Measurement Units 134 and 137 Modulation Method Determination Unit

Claims (6)

映像信号を圧縮符号化してエンコードデータを生成し、前記エンコードデータを変調し無線伝送路を介して受信装置へ送信する映像伝送装置において、
前記送信されたエンコードデータに対する確認応答のACKを含むデータを、前記受信装置から受信して復調する受信復調部、前記受信装置により送信されたデータについての電波の電界強度を測定する電界強度測定部、前記電界強度測定部により測定された電界強度に基づいて変調方式を決定する変調方式決定部、及び、前記変調方式決定部により決定された変調方式に従ってエンコードデータを変調し、無線伝送路へ送信する変調送信部、を有する送信部と、
前記送信部の変調方式決定部により新たな変調方式が決定され、前記新たな変調方式に切り替わる場合、前記切り替え前の現在の変調方式、前記切り替え後の変調方式、及び、前記送信部の電界強度測定部により測定された電界強度に基づいて、エンコードレートを決定する中間ドライバと、
前記エンコードレートにて映像信号を圧縮符号化し、エンコードデータを生成するエンコーダと、を備え、
前記中間ドライバは、
前記変調方式に基づいて、送信可能な最大レートを算出し、前記切り替え後の変調方式における送信可能な最大レートが、前記切り替え前の現在の変調方式における送信可能な最大レート以下の場合に、
前記切り替え後の変調方式における送信可能な最大レート以下のエンコードレートで圧縮符号化するための指示を前記エンコーダに出力し、前記指示を前記エンコーダに出力してから、前記指示によりエンコードレートが低下したエンコードデータを前記送信部の変調送信部にて変調可能な所定時間が経過した後に、前記新たな変調方式に切り替えるための指示を前記送信部の変調送信部に出力し、
前記切り替え後の変調方式における送信可能な最大レートが、前記切り替え前の現在の変調方式における送信可能な最大レートよりも高い場合に、
前記新たな変調方式に切り替えるための指示を前記送信部の変調送信部に出力し、前記送信部の変調送信部から、前記新たな変調方式に切り替わったことを示す変調方式切替完了を入力した後に、または、前記指示を前記送信部の変調送信部に出力してから、前記指示により前記新たな変調方式に切り替わる所定時間が経過した後に、前記切り替え後の変調方式における送信可能な最大レート以下のエンコードレートで圧縮符号化するための指示を前記エンコーダに出力する、ことを特徴とする映像伝送装置。
In a video transmission apparatus that compresses and encodes a video signal to generate encoded data, modulates the encoded data, and transmits the encoded data to a receiving apparatus via a wireless transmission path.
A reception demodulator for receiving and demodulating data including an acknowledgment ACK for the transmitted encoded data from the receiving device, and an electric field strength measuring unit for measuring the electric field strength of radio waves for the data transmitted by the receiving device A modulation method determination unit that determines a modulation method based on the electric field strength measured by the electric field strength measurement unit, and modulates the encoded data according to the modulation method determined by the modulation method determination unit and transmits the data to the wireless transmission path A transmitter having a modulation transmitter, and
When a new modulation method is determined by the modulation method determination unit of the transmission unit and switched to the new modulation method, the current modulation method before switching, the modulation method after switching, and the electric field strength of the transmission unit An intermediate driver for determining an encoding rate based on the electric field strength measured by the measurement unit;
An encoder that compresses and encodes a video signal at the encoding rate and generates encoded data;
The intermediate driver is
Based on the modulation scheme, the maximum transmittable rate is calculated, and the maximum transmittable rate in the modulation scheme after switching is equal to or lower than the maximum transmittable rate in the current modulation scheme before switching,
An instruction for compressing and encoding at an encoding rate equal to or lower than the maximum transmittable rate in the modulation scheme after switching is output to the encoder, and the instruction is output to the encoder. An instruction for switching to the new modulation scheme is output to the modulation transmission unit of the transmission unit after a predetermined time that can be modulated by the modulation transmission unit of the transmission unit has elapsed,
When the maximum transmittable rate in the modulation scheme after switching is higher than the maximum transmittable rate in the current modulation scheme before switching,
An instruction for switching to the new modulation scheme is output to the modulation transmission section of the transmission section, and after the modulation scheme switching completion indicating the switching to the new modulation scheme is input from the modulation transmission section of the transmission section Alternatively, after the instruction is output to the modulation transmission unit of the transmission unit, after a predetermined time for switching to the new modulation method by the instruction has elapsed, the transmission rate is equal to or less than the maximum transmittable rate in the modulation method after the switching. An image transmission apparatus, wherein an instruction for compression encoding at an encoding rate is output to the encoder.
請求項1に記載の映像伝送装置において、
前記中間ドライバは、
前記送信部の電界強度測定部により測定された電界強度が所定の閾値よりも小さい場合、前記送信部の変調送信部に、前記変調及び送信を停止させると共に前記エンコードデータを破棄させ、前記送信部の電界強度測定部により測定された電界強度が所定の閾値以上の場合、前記送信部の変調送信部に、前記変調及び送信を再開させる、ことを特徴とする映像伝送装置。
The video transmission apparatus according to claim 1,
The intermediate driver is
When the electric field strength measured by the electric field strength measurement unit of the transmission unit is smaller than a predetermined threshold, the modulation transmission unit of the transmission unit stops the modulation and transmission and discards the encoded data, and the transmission unit A video transmission apparatus characterized in that, when the electric field strength measured by the electric field strength measuring unit is equal to or greater than a predetermined threshold, the modulation and transmission unit of the transmission unit restarts the modulation and transmission.
請求項1または2に記載の映像伝送装置において、
さらに、位置情報測定部及びエンコードレート決定部を備え、
前記位置情報測定部は、当該映像伝送装置の位置を測定して位置情報を生成し、
前記エンコードレート決定部は、位置情報とエンコードレートとが対応して格納されたテーブルを有し、前記位置情報測定部により生成された位置情報、前記テーブルに格納された位置情報及びエンコードレート、並びに前記送信部の変調送信部にて用いている現在の変調方式に基づいて、エンコードレートを決定する、ことを特徴とする映像伝送装置。
The video transmission device according to claim 1 or 2 ,
Furthermore, a position information measurement unit and an encoding rate determination unit are provided,
The position information measurement unit generates position information by measuring the position of the video transmission device,
The encoding rate determination unit includes a table in which position information and an encoding rate are stored correspondingly, the position information generated by the position information measurement unit, the position information and the encoding rate stored in the table, and An image transmission apparatus, wherein an encoding rate is determined based on a current modulation method used in a modulation transmission unit of the transmission unit.
請求項に記載の映像伝送装置において、
前記エンコードレート決定部は、
前記位置情報測定部により生成された位置情報が前記テーブルに格納されているか否かを判定し、前記位置情報が格納されていない場合、前記現在の変調方式に基づいて、現在の送信可能な最大レートを算出し、前記現在の送信可能な最大レートを前記位置情報に対応するエンコードレートとして前記テーブルに格納し、前記位置情報が格納されている場合、前記位置情報に対応するエンコードレートを前記テーブルから読み出す、ことを特徴とする映像伝送装置。
The video transmission apparatus according to claim 3 ,
The encoding rate determination unit
It is determined whether or not the position information generated by the position information measurement unit is stored in the table. If the position information is not stored, the current transmittable maximum is determined based on the current modulation scheme. A rate is calculated, and the current maximum transmittable rate is stored in the table as an encoding rate corresponding to the position information. When the position information is stored, the encoding rate corresponding to the position information is stored in the table. A video transmission device that reads from
請求項に記載の映像伝送装置において、
前記エンコードレート決定部は、
前記現在の変調方式に基づいて、現在の送信可能な最大レートを算出し、前記テーブルから読み出した、前記位置情報に対応するエンコードレートと、前記現在の送信可能な最大レートとを比較し、前記読み出したエンコードレートが前記現在の送信可能な最大レート以下の場合、前記エンコーダに、前記読み出したエンコードレートにて圧縮符号化を行わせる、ことを特徴とする映像伝送装置。
The video transmission device according to claim 4 ,
The encoding rate determination unit
Based on the current modulation scheme, a current maximum transmittable rate is calculated, and the encoding rate corresponding to the position information read from the table is compared with the current maximum transmittable rate, The video transmission apparatus, wherein when the read encoding rate is equal to or lower than the current maximum transmittable rate, the encoder performs compression encoding at the read encoding rate.
請求項に記載の映像伝送装置において、
前記エンコードレート決定部は、
前記読み出したエンコードレートが前記現在の送信可能な最大レートよりも高い場合、所定時間経過後に、または、前記現在の送信可能な最大レートが所定のレートにまで高くなった後に、前記エンコーダに、前記読み出したエンコードレートにて圧縮符号化を行わせる、ことを特徴とする映像伝送装置。
The video transmission apparatus according to claim 5 , wherein
The encoding rate determination unit
If the read encoding rate is higher than the current maximum transmittable rate, after a predetermined time elapses, or after the current maximum transmittable rate reaches a predetermined rate, the encoder A video transmission apparatus, wherein compression encoding is performed at a read encoding rate.
JP2011118075A 2011-05-26 2011-05-26 Video transmission device Expired - Fee Related JP5736237B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011118075A JP5736237B2 (en) 2011-05-26 2011-05-26 Video transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011118075A JP5736237B2 (en) 2011-05-26 2011-05-26 Video transmission device

Publications (2)

Publication Number Publication Date
JP2012249005A JP2012249005A (en) 2012-12-13
JP5736237B2 true JP5736237B2 (en) 2015-06-17

Family

ID=47469062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011118075A Expired - Fee Related JP5736237B2 (en) 2011-05-26 2011-05-26 Video transmission device

Country Status (1)

Country Link
JP (1) JP5736237B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6371539B2 (en) * 2014-03-06 2018-08-08 日本放送協会 Transmitter, receiver, and underwater transmission system
WO2019065296A1 (en) * 2017-09-29 2019-04-04 ソニー株式会社 Communication control apparatus, communication control method, program, motion picture imaging communication terminal, and motion picture reproducing communication terminal

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000183814A (en) * 1998-10-08 2000-06-30 Sony Corp Optical wireless transmission / reception device, optical wireless transmission device, optical wireless reception device, and optical wireless transmission device
JP4048483B2 (en) * 2000-10-13 2008-02-20 ソニー株式会社 Data communication speed control system, transmission device and reception device
JP2005210634A (en) * 2004-01-26 2005-08-04 Toyota Motor Corp Mobile communication system
JP4548057B2 (en) * 2004-09-15 2010-09-22 ソニー株式会社 Information processing apparatus and method, and program
CN101057439B (en) * 2004-11-17 2011-07-27 夏普株式会社 Transmitter
WO2006095868A1 (en) * 2005-03-11 2006-09-14 Pioneer Corporation Content data transmission device, content data transmission method, and remote reproduction system
JP2007329708A (en) * 2006-06-08 2007-12-20 Matsushita Electric Ind Co Ltd Wireless codec equipment
JP4189410B2 (en) * 2006-06-12 2008-12-03 株式会社東芝 Wireless communication apparatus and transmission control method
WO2008108379A1 (en) * 2007-02-28 2008-09-12 Nec Corporation Medium distribution system, distribution server device, medium distribution method used for them, and program thereof
JP2009206627A (en) * 2008-02-26 2009-09-10 Kyocera Corp Wireless communication system, mobile station, base station and wireless communication method

Also Published As

Publication number Publication date
JP2012249005A (en) 2012-12-13

Similar Documents

Publication Publication Date Title
CN108881970B (en) Method and apparatus for transmission rate control for real-time video streaming systems
JP4382153B2 (en) Data transmission / reception system, terminal, relay device, and data transmission method
CN101223759B (en) Transmission device, information communication method
US7236740B2 (en) Data retransmission apparatus and method in a mobile communication system employing HARQ technique
KR101799715B1 (en) High-reliability transmission scheme with low resource utilization
JP5991598B2 (en) Data processing apparatus and data processing method
US8134993B2 (en) Method and apparatus for polling transmission status in a wireless communication system
KR100988683B1 (en) Recording medium readable by computer recording communication terminal, runaway control method, and runaway control program
US8737306B2 (en) Method for triggering status reports and apparatus thereof
US20070214399A1 (en) Apparatus and method for using automatic repeat request scheme in a broadband wireless access communication system
US20090168920A1 (en) Cooperating timer and retransmission counter for buffer management in a HARQ wireless network
EP2572467A2 (en) Remote control of transmitter-side rate adaptation
US20030022628A1 (en) Data communication system and wireless communication device
JP5695506B2 (en) Data transmission device
JP5736237B2 (en) Video transmission device
GB2528998A (en) Methods and apparatuses for managing acknowledgments for multicast data in a wireless network
KR101103077B1 (en) Transmitter, repeater, receiver, frame transmission method, relay method, receiving method
JP2006129277A (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION PROGRAM, RECORDING MEDIUM CONTAINING COMMUNICATION PROGRAM, AND COMMUNICATION SYSTEM
KR101116742B1 (en) Apparatus and method for retransmitting packet data in wireless communication system
EP1253795A1 (en) Data communication system and wireless communication device
KR20070048630A (en) Method and apparatus for handling RLC protocol error in wireless communication system
US10003470B2 (en) Method and terminal for transmitting and receiving data
Nguyen et al. SAR: A self-adaptive and reliable protocol for wireless multimedia sensor networks
JP2005260641A (en) Mobile camera system and control method thereof
JP2010187292A (en) Transmission apparatus and transmission control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140107

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141010

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141016

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150113

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150311

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150327

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150420

R150 Certificate of patent or registration of utility model

Ref document number: 5736237

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R154 Certificate of patent or utility model (reissue)

Free format text: JAPANESE INTERMEDIATE CODE: R154

R150 Certificate of patent or registration of utility model

Ref document number: 5736237

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees