JP2016206516A - Voice transmitter, voice receiver, and voice transmission program - Google Patents

Voice transmitter, voice receiver, and voice transmission program Download PDF

Info

Publication number
JP2016206516A
JP2016206516A JP2015090093A JP2015090093A JP2016206516A JP 2016206516 A JP2016206516 A JP 2016206516A JP 2015090093 A JP2015090093 A JP 2015090093A JP 2015090093 A JP2015090093 A JP 2015090093A JP 2016206516 A JP2016206516 A JP 2016206516A
Authority
JP
Japan
Prior art keywords
period
packetization
encoding
value
cycle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2015090093A
Other languages
Japanese (ja)
Inventor
厚史 田代
Atsushi Tashiro
厚史 田代
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2015090093A priority Critical patent/JP2016206516A/en
Publication of JP2016206516A publication Critical patent/JP2016206516A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephone Function (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a voice transmitter capable of controlling arithmetic processing on the basis of a processing load actually measured in a telephone device.SOLUTION: The voice transmitter comprises an encoder 102 for coding an external signal at a first coding cycle and generating an encoded signal and a packet generator 103 for packetizing the signal at a first packetization cycle. The voice transmitter further comprises a packetization interval calculation unit 104 for measuring a packetization interval of continuous packets and outputting packetization time measurement information and a cycle determination unit 105 for comparing the packetization time measurement information with the first coding cycle or the first packetization cycle to determine a second coding cycle, and applying the second coding cycle to the encoder to encode the encoded signal at the second coding cycle.SELECTED DRAWING: Figure 1

Description

本発明は、音声送信装置、音声受信装置及び音声送信プログラムに関し、例えば、VoIP(Voice over IP)通信を行う音声送信装置、音声受信装置及び音声送信プログラムに適用し得る。   The present invention relates to a voice transmission device, a voice reception device, and a voice transmission program, and can be applied to, for example, a voice transmission device, a voice reception device, and a voice transmission program that perform VoIP (Voice over IP) communication.

一般に、ディジタル電話装置は、演算処理を特定の時間ごとに繰り返し実施するようにしている。ただし、ディジタル電話装置は、符号化の処理負荷が大きい場合には特定の時間内に演算処理を終了することができない問題があった。また、ディジタル電話装置は、パケット化の処理負荷が大きい場合、パケット送出までの時間が掛かり、特定の時間内に演算処理が終了できない問題があった。さらに、ディジタル電話装置は、符号化処理とパケット化処理を同期して処理させる場合や、符号化処理とパケット化処理タイミングを合わせる必要がある場合にも、パケット化の処理負荷が大きい場合に、特定の時間内に演算処理が終了できない問題があった。   In general, the digital telephone apparatus repeatedly performs arithmetic processing at specific time intervals. However, the digital telephone apparatus has a problem that the arithmetic processing cannot be completed within a specific time when the processing load of encoding is large. Further, the digital telephone apparatus has a problem that when the processing load for packetization is large, it takes time until the packet is transmitted, and the arithmetic processing cannot be completed within a specific time. Furthermore, when the digital telephone apparatus processes the encoding process and the packetization process synchronously, or when it is necessary to match the encoding process and the packetization process timing, when the processing load of the packetization is large, There was a problem that the arithmetic processing could not be completed within a specific time.

ディジタル電話装置において、電話装置の処理負荷に応じて演算処理(パケット化または符号化)を制御する従来技術として、例えば特許文献1に開示したものが挙げられる。特許文献1に記載のディジタル電話装置は、通話内容の圧縮符号化を行うための複数方式の圧縮符号化手段と、復号化手段と、制御部にかかる処理負荷を測定する負荷判定部とを設け、負荷判定部の判定結果に応じて、複数方式の符号化手段の1つを選択し、圧縮符号化を行っていた。   As a conventional technique for controlling arithmetic processing (packetization or encoding) in accordance with the processing load of a telephone device in a digital telephone device, for example, the one disclosed in Patent Document 1 can be cited. The digital telephone apparatus described in Patent Literature 1 includes a plurality of methods of compression encoding means for performing compression encoding of call contents, a decoding means, and a load determination section that measures the processing load applied to the control section. According to the determination result of the load determination unit, one of a plurality of encoding means is selected and compression encoding is performed.

特開平11−27381JP-A-11-27381

しかしながら、特許文献1に記載のディジタル電話装置は、電話装置の動作状態(待ち受け、親機通話、子機通話など)に基づいて制御部にかかる処理負荷を大まかに判定している。そのため、特許文献1に記載のディジタル電話装置は、電話装置における実測された処理負荷に基づいて、演算処理を制御することができない問題があった。また、符号化手段以外に処理負荷が大きい処理が含まれる場合に、上記構成の電話装置では対応できない問題があった。例えば、ディジタル電話装置がソフトフォンの場合には、ソフトフォンが搭載されたパソコンが様々な処理を行うため、問題が一層顕在化することとなる。   However, the digital telephone device described in Patent Document 1 roughly determines the processing load applied to the control unit based on the operation state of the telephone device (standby, parent device call, child device call, etc.). For this reason, the digital telephone device described in Patent Document 1 has a problem that the arithmetic processing cannot be controlled based on the actually measured processing load in the telephone device. In addition, there is a problem that cannot be handled by the telephone device having the above-described configuration when processing with a large processing load is included other than the encoding means. For example, when the digital telephone apparatus is a soft phone, the problem becomes more apparent because a personal computer on which the soft phone is mounted performs various processes.

そのため、電話装置における実測された処理負荷に基づいて、演算装置を制御することができる音声送信装置、音声受信装置及び音声送信プログラムが望まれている。   Therefore, a voice transmission device, a voice reception device, and a voice transmission program that can control the arithmetic device based on the actually measured processing load in the telephone device are desired.

第1の本発明は、(1)外部から入力される信号を第1の符号化周期で符号化して符号化信号を生成する符号化器と、(2)当該符号化信号を第1のパケット化周期でパケット化するパケット生成器とを有する音声送信装置において、(3)前記パケット生成器が出力する、連続するパケットのパケット化間隔を測定して、パケット化時間測定情報を出力するパケット化時間測定部と、(4)前記パケット化時間測定情報と、前記第1の符号化周期又は前記第1のパケット化周期とを比較することにより、第2の符号化周期を決定し、前記符号化器に当該第2の符号化周期を与えて、当該第2の符号化周期で前記符号化信号を符号化させる周期指定部とを有することを特徴とする。   The first aspect of the present invention is: (1) an encoder that encodes a signal input from the outside at a first encoding period to generate an encoded signal; and (2) the encoded signal that is a first packet. (3) Packetization that outputs packetization time measurement information by measuring the packetization interval of consecutive packets output by the packet generator A time measurement unit; (4) determining a second encoding period by comparing the packetization time measurement information with the first encoding period or the first packetization period; And a period specifying unit that gives the second encoding period to the encoder and encodes the encoded signal in the second encoding period.

第2の本発明は、外部から入力されるパケットを第1のパケット分解周期で分解するパケット分解部と、分解されたパケットを復号して復号信号を生成する復号部とを有する音声受信装置において、(1)前記復号部における、前記パケットの復号処理開始時刻と復号処理終了時刻とから、連続するパケットにおける復号処理間隔を計算して、復号処理時間測定情報を出力する復号間隔計算部と、(2)前記復号処理時間測定情報と、前記第1のパケット分解周期とから第2のパケット分解周期を決定し、前記パケット分解部に当該第2のパケット分解周期を与えて、当該第2のパケット分解周期で前記パケットを分解させる周期指定部とを有することを特徴とする。   According to a second aspect of the present invention, there is provided a voice receiving apparatus including: a packet decomposing unit that decomposes a packet input from the outside at a first packet decomposing period; and a decoding unit that decodes the decomposed packet to generate a decoded signal. (1) a decoding interval calculation unit that calculates a decoding processing interval in successive packets from the decoding processing start time and decoding processing end time of the packet in the decoding unit, and outputs decoding processing time measurement information; (2) A second packet decomposition period is determined from the decoding processing time measurement information and the first packet decomposition period, the second packet decomposition period is given to the packet decomposition unit, and the second packet decomposition period is given. And a period designating unit for decomposing the packet at a packet decomposing period.

第3の本発明の音声送信プログラムは、音声送信装置に搭載されるコンピュータを、(1)外部から入力される信号を第1の符号化周期で符号化して符号化信号を生成する符号化器と、(2)当該符号化信号を第1のパケット化周期でパケット化するパケット生成器と、(3)前記パケット生成器が出力する、連続するパケットのパケット化間隔を測定して、パケット化時間測定情報を出力するパケット化時間測定部と、(4)前記パケット化時間測定情報と、前記第1の符号化周期又は前記第1のパケット化周期とを比較することにより、第2の符号化周期を決定し、前記符号化器に当該第2の符号化周期を与えて、当該第2の符号化周期で前記符号化信号を符号化させる周期指定部として機能させることを特徴とする。   According to a third aspect of the present invention, there is provided an audio transmission program comprising: (1) an encoder that generates an encoded signal by encoding an externally input signal at a first encoding period; And (2) a packet generator that packetizes the encoded signal at a first packetization period, and (3) packetization by measuring the packetization interval of successive packets output by the packet generator. A packetization time measurement unit that outputs time measurement information; and (4) a second code by comparing the packetization time measurement information with the first encoding period or the first packetization period. An encoding period is determined, the second encoding period is given to the encoder, and the encoder is made to function as a period specifying unit that encodes the encoded signal in the second encoding period.

本発明によれば、電話装置における実測された処理負荷に基づいて、演算処理を制御することができる。   According to the present invention, the arithmetic processing can be controlled based on the actually measured processing load in the telephone device.

第1の実施形態に係る送信部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the transmission part which concerns on 1st Embodiment. 第1の実施形態に係る音声通信システムの全体構成を示す説明図である。It is explanatory drawing which shows the whole structure of the audio | voice communication system which concerns on 1st Embodiment. 第1の実施形態に係る送信部の各処理の動作を示すタイムチャートである。It is a time chart which shows operation | movement of each process of the transmission part which concerns on 1st Embodiment. 第2の実施形態に係る送信部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the transmission part which concerns on 2nd Embodiment. 第2の実施形態に係る送信部の各処理の動作を示すタイムチャート(その1)である。It is a time chart (the 1) which shows operation | movement of each process of the transmission part which concerns on 2nd Embodiment. 第2の実施形態に係る送信部の各処理の動作を示すタイムチャート(その2)である。It is a time chart (the 2) which shows operation | movement of each process of the transmission part which concerns on 2nd Embodiment.

(A)第1の実施形態
以下では、本発明に係る音声送信装置、音声受信装置及び音声送信プログラムの第1の実施形態を、図面を参照しながら詳細に説明する。
(A) First Embodiment Hereinafter, a first embodiment of a voice transmission device, a voice reception device, and a voice transmission program according to the present invention will be described in detail with reference to the drawings.

(A−1)第1の実施形態の構成
図2は、第1の実施形態に係る音声通信システムの全体構成を示す説明図である。
(A-1) Configuration of the First Embodiment FIG. 2 is an explanatory diagram showing the overall configuration of the voice communication system according to the first embodiment.

図2において、音声通信システム5は、ネットワーク2を介して、リアルタイムで音声通信(通話)を行う2つの音声通信装置1A及び1Bを有する。ネットワーク2の通信方式については限定されないものであるが、例えば、IP通信網等を適用することができる(以下、ネットワーク2はIP通信網として説明する)。各音声通信装置1A、1Bは、音声等のメディアデータをIPパケットとして送受信するものである。   In FIG. 2, the voice communication system 5 includes two voice communication apparatuses 1 </ b> A and 1 </ b> B that perform voice communication (call) in real time via the network 2. Although the communication system of the network 2 is not limited, for example, an IP communication network or the like can be applied (hereinafter, the network 2 will be described as an IP communication network). Each of the voice communication apparatuses 1A and 1B transmits and receives media data such as voice as IP packets.

音声通信装置1Aは、送信部10及び受信部11を有する。音声通信装置1Bも、図示は省略するが、音声通信装置1Aと同様の構成を有するものとする。   The voice communication device 1 </ b> A includes a transmission unit 10 and a reception unit 11. Although not shown, the voice communication device 1B has the same configuration as the voice communication device 1A.

図1は、第1の実施形態に係る送信部の内部構成を示すブロック図である。第1の実施形態に係る送信部は、マイクを除いた部分をハードウェアで構成することも可能であり、また、CPUが実行するソフトウェア(音声送信プログラム)とCPUとで実現することも可能であるが、いずれの実現方法を採用した場合であっても、機能的には図1で表すことができる。   FIG. 1 is a block diagram illustrating an internal configuration of a transmission unit according to the first embodiment. The transmission unit according to the first embodiment can be configured by hardware except for the microphone, and can also be realized by software (voice transmission program) executed by the CPU and the CPU. However, even if any realization method is adopted, it can be functionally represented in FIG.

図1において、送信部10は、マイク101、符号化器102、パケット生成器103、パケット化間隔計算部104、符号化周期決定部105及びタイマー部106を有する。   In FIG. 1, the transmission unit 10 includes a microphone 101, an encoder 102, a packet generator 103, a packetization interval calculation unit 104, an encoding period determination unit 105, and a timer unit 106.

タイマー部106は、送信部10内の時刻を計時するものである。   The timer unit 106 measures the time in the transmission unit 10.

マイク101は、音声通信装置1A近傍の音声を捕捉するものであり、捕捉して得た音声信号をディジタル信号に変換した後、その結果を入力信号S111として符号化器102に出力するものである。   The microphone 101 captures the sound in the vicinity of the sound communication apparatus 1A, converts the sound signal obtained by the capture into a digital signal, and outputs the result as an input signal S111 to the encoder 102. .

符号化器102は、入力信号S111に対し符号化処理を実施し、符号化信号S112としてパケット生成器103に出力するものである。このとき、符号化器102が行う処理は、後述する符号化周期情報J124で示される周期に従い行われる。   The encoder 102 performs an encoding process on the input signal S111 and outputs it to the packet generator 103 as an encoded signal S112. At this time, the processing performed by the encoder 102 is performed according to a cycle indicated by encoding cycle information J124 described later.

なお、符号化器102による符号化方式は、特に限定されるものではなく、種々の方式を広く適用することができる。例えば、G.729等に規定される音声圧縮アルゴリズムを適用することができる。また、この実施形態では、符号化器102は、入力信号S111に対し符号化処理を実施すると共に、符号化以外のパケットを送出するための信号を生成するために必要な処理、例えば、ゲイン調整、入力信号S111に含まれる不要な成分のリダクション処理(帯域制限、雑音除去)等を実施するものとする。   Note that the encoding method by the encoder 102 is not particularly limited, and various methods can be widely applied. For example, G. 729 and the like can be applied. In this embodiment, the encoder 102 performs an encoding process on the input signal S111 and processes necessary for generating a signal for sending a packet other than the encoding, for example, gain adjustment. It is assumed that reduction processing (band limitation, noise removal) of unnecessary components included in the input signal S111 is performed.

パケット生成器103は、入力された符号化信号S112を基に、対向する音声通信装置1Bに送信する送出パケットS113を生成するものである。このとき、送出パケットS113の生成(パケット化)は、送信周期情報J122で示される周期に従い行われる。この送信周期情報J122は、音声通信装置1Aに配置された図示しないパケット化周期指定部へのユーザ操作により適宜に設定・変更が可能であるものとする。そして、パケット化された送出パケットS113は、ネットワーク2を介して音声通信装置1Bへ送出される。   The packet generator 103 generates a transmission packet S113 to be transmitted to the opposite voice communication device 1B based on the input encoded signal S112. At this time, the generation (packetization) of the transmission packet S113 is performed according to the cycle indicated by the transmission cycle information J122. It is assumed that this transmission cycle information J122 can be appropriately set and changed by a user operation on a packetization cycle designation unit (not shown) arranged in the voice communication device 1A. Then, the packetized transmission packet S113 is transmitted to the voice communication apparatus 1B via the network 2.

また、パケット生成器103は、符号化信号S112のパケット化を開始した時刻をパケット化開始情報J130としてパケット化間隔計算部104へ出力する。さらに、パケット生成器103は、出力した送出パケットS113の送出完了メッセージをパケット化間隔計算部104へ出力する。   Also, the packet generator 103 outputs the time at which packetization of the encoded signal S112 is started to the packetization interval calculation unit 104 as packetization start information J130. Further, the packet generator 103 outputs a transmission completion message of the output transmission packet S113 to the packetization interval calculation unit 104.

なお、この実施形態では、パケット生成器103は、前処理の符号化器102により出力された符号化信号S112が入力されたことを契機に動作するものとして説明するが、符号化器102と、パケット生成器103とが各々独立して動作しても良い。   In this embodiment, the packet generator 103 is described as operating when the encoded signal S112 output from the pre-processing encoder 102 is input. However, the encoder 102, Each of the packet generators 103 may operate independently.

パケット化間隔計算部104は、送出パケットS113の送出完了メッセージを受信すると、タイマー部106から受信時刻を取得し、内部にパケット化終了時刻PTMとして記憶する。そして、パケット化間隔計算部104は、パケット化開始情報J130と、パケット化終了時刻PTMとからパケット化間隔を計算し、当該計算結果をパケット化時間測定情報J123として、符号化周期決定部105に出力する。   When the packetization interval calculation unit 104 receives the transmission completion message of the transmission packet S113, the packetization interval calculation unit 104 obtains the reception time from the timer unit 106 and stores it internally as the packetization end time PTM. Then, the packetization interval calculation unit 104 calculates the packetization interval from the packetization start information J130 and the packetization end time PTM, and sends the calculation result as the packetization time measurement information J123 to the encoding cycle determination unit 105. Output.

符号化周期決定部105は、パケット化時間測定情報J123に基づいて、パケット化周期が適正か否か判断し、必要ならば、変更する符号化周期を符号化周期情報J124として符号化器102へ出力する。この符号化周期情報J124は、符号化周期を特定できる情報であれば良く、例えば、符号化周期の時間、符号化周期を表すインデックス等が考えられる。なお、符号化周期決定部105の詳しい動作については、後述する動作の項で説明する。また、符号化周期決定部105は、出力した符号化周期情報J124を現在の符号化周期を示す情報として符号化周期CT0に記憶する。   The coding cycle determination unit 105 determines whether or not the packetization cycle is appropriate based on the packetization time measurement information J123, and if necessary, sets the coding cycle to be changed to the encoder 102 as the coding cycle information J124. Output. The encoding cycle information J124 only needs to be information that can specify the encoding cycle. For example, the encoding cycle time, an index indicating the encoding cycle, and the like are conceivable. The detailed operation of the coding cycle determination unit 105 will be described in the section of operation described later. Also, the coding cycle determination unit 105 stores the output coding cycle information J124 in the coding cycle CT0 as information indicating the current coding cycle.

(A−2)第1の実施形態の動作
次に、以上のような構成を有する第1の実施形態の送信部10の動作を、図面を参照しながら説明する。なお、この実施形態の送信部10は、符号化器102の処理とパケット生成器103の処理とが同期して動作するものとして説明する。また、送信周期情報J122は、ユーザにより予め設定されているものとする。
(A-2) Operation of the First Embodiment Next, the operation of the transmission unit 10 of the first embodiment having the above configuration will be described with reference to the drawings. The transmission unit 10 of this embodiment will be described assuming that the processing of the encoder 102 and the processing of the packet generator 103 operate in synchronization. The transmission cycle information J122 is set in advance by the user.

送信部10が動作を開始した際、符号化周期決定部105は、符号化器102で符号化する際の符号化周期CT0を後述する符号化周期決定方法により決定し、符号化周期情報J124として出力する。この実施形態では、動作開始時点において、符号化周期情報J124は、符号化周期CT0の初期値(例えば、10ms)を示すものとする。   When the transmission unit 10 starts operating, the encoding period determining unit 105 determines an encoding period CT0 for encoding by the encoder 102 by an encoding period determining method to be described later as encoding period information J124. Output. In this embodiment, the encoding cycle information J124 indicates an initial value (for example, 10 ms) of the encoding cycle CT0 at the operation start time.

マイク101により捕捉して得た音声信号は、ディジタル信号に変換した後、入力信号S111として符号化器102に出力される。   An audio signal captured by the microphone 101 is converted into a digital signal and then output to the encoder 102 as an input signal S111.

符号化器102では、入力信号S111に対して、符号化処理が実施される。この際、入力信号S111は、符号化周期情報J124で指定された時間(周期)毎に符号化処理が実施されることになる。そして、符号化処理が施された入力信号S111は、符号化信号S112としてパケット生成器103に出力される。   In the encoder 102, an encoding process is performed on the input signal S111. At this time, the input signal S111 is subjected to encoding processing every time (cycle) designated by the encoding cycle information J124. The input signal S111 subjected to the encoding process is output to the packet generator 103 as the encoded signal S112.

パケット生成器103では、符号化信号S112は、送信周期情報J122で指定された時間毎にパケット化され、送出パケットS113として外部に出力される。また、パケット生成器103は、入力された符号化信号S112に対しパケット化処理を開始した時刻をパケット化開始情報J130として出力する。さらに、パケット生成器103は、出力した送出パケットS113の送出完了メッセージをパケット化間隔計算部104へ出力する。   In the packet generator 103, the encoded signal S112 is packetized every time specified by the transmission cycle information J122, and is output to the outside as a transmission packet S113. Further, the packet generator 103 outputs, as packetization start information J130, the time at which packetization processing is started for the input encoded signal S112. Further, the packet generator 103 outputs a transmission completion message of the output transmission packet S113 to the packetization interval calculation unit 104.

パケット化間隔計算部104では、送出パケットS113の送出メッセージを受信した時刻をパケット化終了時刻PTMとして記憶しておく。また、パケット化間隔計算部104は、パケット化開始情報J130と、直前で取得したパケット化終了時刻PTM(言い換えれば、現在より一つ前のパケット化処理の終了時刻)との差分をパケット化時間測定情報J123として、符号化周期決定部105へ出力する。なお、送信部10が動作を開始した当初など、パケット化時間測定情報J123が決定できない場合には、パケット化時間測定情報J123は、未決定を表す値(例えば、0.0ms)等を入力しても良い。   The packetization interval calculation unit 104 stores the time when the transmission message of the transmission packet S113 is received as the packetization end time PTM. Further, the packetization interval calculation unit 104 calculates the difference between the packetization start information J130 and the packetization end time PTM acquired immediately before (in other words, the end time of the packetization process immediately before the present time) as the packetization time. The measurement information J123 is output to the encoding cycle determination unit 105. When the packetization time measurement information J123 cannot be determined, such as at the beginning of the operation of the transmission unit 10, the packetization time measurement information J123 is input with a value indicating undecided (for example, 0.0 ms). May be.

次に、符号化周期決定部105で実施される符号化周期決定方法について説明する。   Next, a coding cycle determination method performed by the coding cycle determination unit 105 will be described.

符号化周期決定部105は、受信したパケット化時間測定情報J123の値が(a)未定義を示すとき、(b)符号化周期CT0未満であるとき、(c)符号化周期CT0以上であるときのいずれかによって、動作が異なる。符号化周期決定部105は、後述する(a)〜(c)に対応する処理を行った後に、符号化周期情報J124を符号化器102に送信する。   The encoding period determination unit 105 is (c) when the value of the received packetization time measurement information J123 indicates (a) undefined, (b) when it is less than the encoding period CT0, and (c) is equal to or more than the encoding period CT0. Depending on the time, the operation is different. The encoding period determination unit 105 transmits the encoding period information J124 to the encoder 102 after performing processing corresponding to (a) to (c) described later.

まず、上記(a)のパケット化時間測定情報J123の値が、未定義を示すときの符号化周期決定部105の動作から説明する。   First, the operation of the coding period determining unit 105 when the value of the packetization time measurement information J123 in (a) indicates undefined will be described.

この時点では、パケット生成器103によりパケット化が行われていないため、符号化周期決定部105は、符号化周期情報J124には予め定めた既定値(例えば、10ms)を設定する。また、符号化周期決定部105は、現在の符号化周期の値(送信した符号化周期情報J124)を符号化周期CT0として記憶しておく。   At this time, since packetization is not performed by the packet generator 103, the encoding period determining unit 105 sets a predetermined default value (for example, 10 ms) in the encoding period information J124. Also, the coding cycle determination unit 105 stores the current coding cycle value (transmitted coding cycle information J124) as the coding cycle CT0.

次に、上記(b)のパケット化時間測定情報J123の値が、符号化周期CT0未満であるときの符号化周期決定部105の動作を説明する。   Next, the operation of the coding period determining unit 105 when the value of the packetization time measurement information J123 in (b) is less than the coding period CT0 will be described.

パケット生成器103では、パケット化の処理負荷により符号化処理に影響が出ていないため、符号化周期決定部105は、符号化周期CT0の値を変更しない。変更しない場合、符号化周期決定部105は、符号化周期情報J124を符号化器102に送信しないようにするか、又は変更しない符号化周期CT0の値を符号化周期情報J124としてパケット生成器103に送信するかの何れかを選択して良い。   In the packet generator 103, since the encoding process is not affected by the processing load of packetization, the encoding period determination unit 105 does not change the value of the encoding period CT0. If not changed, the coding cycle determination unit 105 does not transmit the coding cycle information J124 to the encoder 102, or the packet generator 103 uses the value of the coding cycle CT0 not changed as the coding cycle information J124. You may choose to send to

なお、当該処理が行われる具体例として、例えば、後述する図3で示す入力信号s2を符号化及びパケット化する場合が挙げられる。   A specific example in which this processing is performed is, for example, a case where an input signal s2 shown in FIG. 3 to be described later is encoded and packetized.

次に、上記(c)のパケット化時間測定情報J123の値が、符号化周期CT0以上であるときの符号化周期決定部105の動作を説明する。   Next, the operation of the coding period determination unit 105 when the value of the packetization time measurement information J123 in (c) is equal to or greater than the coding period CT0 will be described.

パケット生成器103では、パケット化の処理負荷が大きくなっている。これにより、パケット生成器103と同期している符号化器102での符号化処理が、符号化周期情報J124で指定する符号化周期内に完了できなくなる。このため、符号化周期決定部105は、符号化周期CT0の値を大きくし、符号化が実施される時間間隔が大きくなるように変更する。これにより、符号化処理が新たに設定した符号化周期内に完了できるようになる。   In the packet generator 103, the processing load of packetization is large. As a result, the encoding process in the encoder 102 synchronized with the packet generator 103 cannot be completed within the encoding period specified by the encoding period information J124. For this reason, the coding cycle determination unit 105 increases the value of the coding cycle CT0 so that the time interval for performing the coding is increased. As a result, the encoding process can be completed within the newly set encoding cycle.

ここで、変更される符号化周期量は、元の符号化周期CT0の値よりも大きく、かつパケット化時間測定情報J123の値以上の値となるように変更される。この実施形態では、10msの自然数倍の時間、かつ符号化周期CT0及びパケット化時間測定情報J123の値よりも大きい値に変更するようにしている。ただし、この値は、設計者が適用する装置に応じて、適切に動作するように変更してもよく、例えば、元の符号化周期CT0よりも大きい値でかつ、パケット化時間測定情報J123の値の1.5倍の符号化周期等に変更しても良い。   Here, the coding period amount to be changed is changed so as to be larger than the value of the original coding period CT0 and equal to or larger than the value of the packetization time measurement information J123. In this embodiment, a time that is a natural number multiple of 10 ms and a value that is larger than the values of the coding period CT0 and the packetization time measurement information J123 are changed. However, this value may be changed so as to operate appropriately according to the device applied by the designer. For example, the value is larger than the original coding period CT0 and the packetization time measurement information J123 The encoding period may be changed to 1.5 times the value.

また、符号化周期CT0を変更した後に、パケット化時間測定情報J123の値が符号化周期CT0以上でない状態となった場合には、符号化周期決定部105は、大きくした符号化周期を元の符号化周期CT0に戻す。変更前の符号化周期CT0は、符号化周期決定部105の内部に保持(記憶)しておくものとし、符号化周期決定部105は、この周期を読み出して、再設定すれば良い。この符号化周期を元に戻す処理は、上記例に限定されず、他には、パケット化時間測定情報J123の値が符号化周期CT0以上でない状態が3回連続して起きた場合に実行する等様々な手法を用いることができる。   If the value of the packetization time measurement information J123 is not equal to or greater than the coding period CT0 after changing the coding period CT0, the coding period determining unit 105 sets the increased coding period to the original value. Return to the coding period CT0. The encoding period CT0 before the change is held (stored) in the encoding period determining unit 105, and the encoding period determining unit 105 may read and reset this period. The process of returning the encoding period to the original is not limited to the above example, but is executed when a state in which the value of the packetization time measurement information J123 is not equal to or greater than the encoding period CT0 occurs three times in succession. Various methods can be used.

なお、当該処理が行われる具体例として、例えば、後述する図3で示す入力信号s3を符号化及びパケット化する場合が挙げられる。   A specific example in which this processing is performed is, for example, a case where an input signal s3 shown in FIG. 3 described later is encoded and packetized.

次に、送信部10の動作について図3のタイムチャートを例に挙げて説明する。   Next, the operation of the transmission unit 10 will be described using the time chart of FIG. 3 as an example.

ここで、図3(A)は、マイク101が捕捉した音声の波形を示している。図3(B)は、捕捉した音声について、ディジタル信号に変換した入力信号S111を単位時間(この実施形態では、10ms)ごとに区切ったものを、それぞれ入力信号s1〜s6として示している。図3(C)は、各入力信号に対して符号化処理する時間をブロックイメージで示している。符号化器102で、上記各入力信号に対して、符号化が開始される時刻は、時刻t2、時刻t5、時刻t8、時刻t11、時刻t14として示している。また、各符号化処理が行われる符号化周期をct01〜ct03として示している。符号化周期ct01、又はct02の周期は、区切った入力信号1つ分に相当する。また、符号化周期ct03の周期は、区切った入力信号2つ分に相当する。図3(D)は、符号化器102で符号化した信号に対してパケット化する時間をブロックイメージで示している。パケット化の開始時刻(各ブロックの先頭)は、時刻t3、時刻t6、時刻t9、時刻t12、時刻t15で示している。また、パケット化処理(各ブロックの後尾)の終了時刻は、時刻t4、時刻t7、時刻t10、時刻t13、時刻t16で示している。また、図3(C)の各ブロックから図3(D)への各ブロックの「矢印」は、符号化器102からパケット生成器103に処理が引き継がれたことを示している。なお、この処理の引き継ぎには多少のタイムラグが存在する。パケット化間隔pp1は、パケット化処理開始である時刻t6から直前のパケット処理の終了時刻である時刻t4までの差分(間隔)である。同様に、パケット化間隔pp2は、パケット化処理開始である時刻t9から直前のパケット化処理の終了時刻である時刻t7までの差分(間隔)である。   Here, FIG. 3A shows the waveform of the sound captured by the microphone 101. FIG. 3B shows input signals S1 to s6 obtained by dividing an input signal S111 converted into a digital signal for every unit time (10 ms in this embodiment) with respect to the captured voice. FIG. 3C shows a block image of the time for encoding processing for each input signal. The time at which encoding is started for each input signal by the encoder 102 is indicated as time t2, time t5, time t8, time t11, and time t14. In addition, encoding cycles in which each encoding process is performed are indicated as ct01 to ct03. The cycle of the encoding cycle ct01 or ct02 corresponds to one divided input signal. The cycle of the encoding cycle ct03 corresponds to two divided input signals. FIG. 3D shows a block image of the time for packetizing the signal encoded by the encoder 102. The packetization start time (the head of each block) is indicated by time t3, time t6, time t9, time t12, and time t15. The end time of packetization processing (tail of each block) is indicated by time t4, time t7, time t10, time t13, and time t16. Also, the “arrow” of each block from each block in FIG. 3C to FIG. 3D indicates that the processing has been taken over from the encoder 102 to the packet generator 103. Note that there is some time lag in taking over this process. The packetization interval pp1 is a difference (interval) from time t6, which is the start of packetization processing, to time t4, which is the end time of the previous packet processing. Similarly, the packetization interval pp2 is a difference (interval) from time t9, which is the start of packetization processing, to time t7, which is the end time of the previous packetization processing.

次に、時系列に沿って図3のタイムチャートを説明する。   Next, the time chart of FIG. 3 will be described along time series.

時刻t1において、マイク101は、音声を捕捉し、捕捉した音声信号をディジタル信号(入力信号S111)に変換する。時刻t2において、符号化器102は、入力信号s1の符号化を開始する。なお、入力信号s1を符号化する周期は、符号化周期ct01である。時刻t3において、パケット生成器103は、符号化が終了した入力信号s1について、パケット化を開始する。パケット化が終了した時刻t4において、パケット生成器103は、生成したパケット信号を送出する。   At time t1, the microphone 101 captures sound and converts the captured sound signal into a digital signal (input signal S111). At time t2, the encoder 102 starts encoding the input signal s1. The cycle for encoding the input signal s1 is the encoding cycle ct01. At time t3, the packet generator 103 starts packetizing the input signal s1 that has been encoded. At time t4 when packetization ends, the packet generator 103 sends the generated packet signal.

次に、入力信号s2について符号化及びパケット化の処理を行う。   Next, encoding and packetizing processes are performed on the input signal s2.

時刻t5において、符号化器102は、入力信号s2を符号化周期ct02で符号化する。時刻t6において、パケット生成器103は、符号化が終了した入力信号s2について、パケット化を開始する。パケット化が終了した時刻t7において、パケット生成器103は、生成したパケット信号を送出する。   At time t5, the encoder 102 encodes the input signal s2 with the encoding cycle ct02. At time t6, the packet generator 103 starts to packetize the input signal s2 that has been encoded. At time t7 when packetization ends, the packet generator 103 sends the generated packet signal.

なお、パケット化間隔計算部104では、周期毎に行っているパケット化処理の間隔を随時計算している。例えば、パケット化間隔pp1は、入力信号s2のパケット化処理の開始時刻である時刻t6から入力信号s1のパケット化処理の終了時刻である時刻t4を差し引いた時間(間隔)となる。符号化周期決定部105では、パケット化間隔計算部104からパケット化間隔の情報が含まれるパケット化時間測定情報J123を受信する度に、符号化周期の判定を行い、必要ならば符号化周期の変更を行うことなる。例えば、パケット化間隔pp1と、現在の符号化周期ct01とを比較すると、パケット化間隔pp1は、符号化周期ct01未満であるので、次の符号化周期ct02は、変更されないこととなる。   Note that the packetization interval calculation unit 104 calculates the interval of packetization processing performed every period as needed. For example, the packetization interval pp1 is a time (interval) obtained by subtracting the time t4 that is the end time of the packetization processing of the input signal s1 from the time t6 that is the start time of the packetization processing of the input signal s2. The encoding cycle determination unit 105 determines the encoding cycle each time it receives the packetization time measurement information J123 including the packetization interval information from the packetization interval calculation unit 104, and if necessary, determines the encoding cycle. Make changes. For example, when the packetization interval pp1 is compared with the current encoding cycle ct01, the packetization interval pp1 is less than the encoding cycle ct01. Therefore, the next encoding cycle ct02 is not changed.

次に、入力信号s3について符号化及びパケット化の処理を行う。   Next, encoding and packetizing processes are performed on the input signal s3.

時刻t8において、符号化器102は、入力信号s3を符号化周期ct03で符号化する。時刻t9において、パケット生成器103は、符号化が終了した入力信号s3について、パケット化を開始する。パケット化が終了した時刻t10において、パケット生成器103は、生成したパケット信号を送出する。   At time t8, the encoder 102 encodes the input signal s3 with the encoding cycle ct03. At time t9, the packet generator 103 starts packetizing the input signal s3 that has been encoded. At time t10 when packetization ends, the packet generator 103 sends out the generated packet signal.

なお、符号化周期ct03は、以下の処理により符号化周期ct02から変更されている。パケット化間隔計算部104で計算されるパケット化間隔pp2は、入力信号s3のパケット化処理の開始時刻である時刻t9から入力信号s2のパケット化処理の終了時刻である時刻t7を差し引いた時間(間隔)となる。符号化周期決定部105では、パケット化間隔pp2と、現在の符号化周期ct02とを比較すると、パケット化間隔pp2は、符号化周期ct02より大きいため、次の符号化周期ct03は、変更されることとなる。   The encoding cycle ct03 is changed from the encoding cycle ct02 by the following process. The packetization interval pp2 calculated by the packetization interval calculation unit 104 is a time obtained by subtracting the time t7 which is the end time of the packetization processing of the input signal s2 from the time t9 which is the start time of the packetization processing of the input signal s3 ( Interval). In the encoding cycle determination unit 105, when the packetization interval pp2 is compared with the current encoding cycle ct02, since the packetization interval pp2 is larger than the encoding cycle ct02, the next encoding cycle ct03 is changed. It will be.

符号化周期ct03の値を決定する方法は上述のとおりであり、符号化周期ct03の値は、元の符号化周期ct02の値よりも大きく、かつパケット化時間測定情報J123の値(ここではパケット化間隔pp2)以上の値となるように変更される。どの程度の値に変更するかは任意であるが、図3の例では、符号化周期ct03は、符号化周期ct02の2倍の周期となるように変更している。   The method of determining the value of the coding cycle ct03 is as described above. The value of the coding cycle ct03 is larger than the value of the original coding cycle ct02 and the value of the packetization time measurement information J123 (here, the packet). Is changed to a value equal to or greater than the conversion interval pp2). The value to be changed to any value is arbitrary, but in the example of FIG. 3, the coding cycle ct03 is changed to be twice as long as the coding cycle ct02.

なお、図3の例では、入力信号S3の処理終了後、符号化周期を変更前の符号化周期に戻す処理を行っている。これ以降(時刻t11以降)の処理の説明は省略するが、入力信号S4〜S6の処理についても同様に符号化・パケット化処理が行われる。   In the example of FIG. 3, after the process of the input signal S3 is completed, a process of returning the encoding period to the encoding period before the change is performed. The description of the processing after this (after time t11) is omitted, but the encoding / packetization processing is similarly performed for the processing of the input signals S4 to S6.

(A−3)第1の実施形態の効果
第1の実施形態によれば、符号化周期決定部105が、パケット化の処理時間に基づいて、符号化周期を変更することにより、音声信号のパケット化処理に掛かる時間が符号化周期を超えないようにすることが可能となった。
(A-3) Effect of the First Embodiment According to the first embodiment, the coding cycle determination unit 105 changes the coding cycle based on the packetization processing time, thereby It has become possible to prevent the time required for packetization processing from exceeding the encoding cycle.

さらに、第1の実施形態によれば、パケット化間隔計算部104が、パケット生成器103の処理負荷をパケット化の処理時間として実測し、符号化周期決定部105が実測値に基づいて符号化周期を変更するため、符号化処理及びパケット化処理を、リアルタイムの音声通信に精度よく追従させることが可能となった。   Further, according to the first embodiment, the packetization interval calculation unit 104 actually measures the processing load of the packet generator 103 as the packetization processing time, and the encoding cycle determination unit 105 performs encoding based on the actually measured value. Since the period is changed, the encoding process and the packetizing process can be accurately followed to real-time voice communication.

(B)第2の実施形態
次に、本発明に係る音声送信装置、音声受信装置及び音声送信プログラムの第2の実施形態を、図面を参照しながら説明する。
(B) Second Embodiment Next, a second embodiment of the voice transmission device, the voice reception device, and the voice transmission program according to the present invention will be described with reference to the drawings.

(B−1)第2の実施形態の構成
第2の実施形態の音声通信システム5も、上述した図2に示すように、IPパケットを授受し合う2つの音声通信装置1A又は1Bがネットワーク2を介して対向しているものである。
(B-1) Configuration of Second Embodiment As shown in FIG. 2 described above, the voice communication system 5 of the second embodiment also includes two voice communication apparatuses 1A or 1B that exchange IP packets. Are opposed to each other.

しかしながら、第2の実施形態の場合、音声通信装置1(1A又は1B)の内部構成
が第1の実施形態のものと異なっている。すなわち、第2の実施形態の場合、音声通信装置1(1A又は1B)に送信部20を適用した点が第1の実施形態と異なる。
However, in the case of the second embodiment, the internal configuration of the voice communication device 1 (1A or 1B) is different from that of the first embodiment. That is, the second embodiment differs from the first embodiment in that the transmission unit 20 is applied to the voice communication device 1 (1A or 1B).

図4は、第2の実施形態に係る送信部20の内部構成を示すブロック図であり、第1の実施形態に係る図1との同一、対応部分には同一符号を付して示している。   FIG. 4 is a block diagram showing an internal configuration of the transmission unit 20 according to the second embodiment, and the same reference numerals are given to the same and corresponding parts as those in FIG. 1 according to the first embodiment. .

図4において、第2の実施形態に係る送信部20は、マイク101、符号化器202、パケット生成器203、パケット化間隔計算部104、符号化周期計算部207及び周期判定部208を有する。すなわち、第1の実施形態における符号化器102、パケット生成器103、符号化周期決定部105に代えて、符号化器202、パケット生成器203、符号化周期計算部207及び周期判定部208が設けられており、その他の構成要素は、第1の実施形態のものと同様である。   4, the transmission unit 20 according to the second embodiment includes a microphone 101, an encoder 202, a packet generator 203, a packetization interval calculation unit 104, an encoding period calculation unit 207, and a period determination unit 208. That is, instead of the encoder 102, the packet generator 103, and the encoding period determining unit 105 in the first embodiment, an encoder 202, a packet generator 203, an encoding period calculating unit 207, and a period determining unit 208 are provided. The other components are the same as those of the first embodiment.

符号化器202は、符号化器102の機能に加え、入力信号S111を取得し、符号化処理が開始された時刻を符号化開始情報J231として出力するものである。また、符号化器202は、出力した符号化信号S112の送出完了メッセージを符号化周期計算部207へ出力する。   In addition to the function of the encoder 102, the encoder 202 acquires the input signal S111 and outputs the time when the encoding process is started as the encoding start information J231. Further, the encoder 202 outputs a transmission completion message of the output encoded signal S112 to the encoding period calculation unit 207.

パケット生成器203は、パケット生成器103の機能を有するが、送信周期情報J122の代わりにパケット化周期指示情報J222を入力する点が異なる。   The packet generator 203 has the function of the packet generator 103 except that packetization cycle instruction information J222 is input instead of the transmission cycle information J122.

符号化周期計算部207は、符号化開始情報J231と、符号化信号S112の送出完了メッセージの受信時刻(タイマー部106より取得)とにより符号化処理時間を計算し、当該計算結果を符号化時間測定情報J228として出力する。   The encoding period calculation unit 207 calculates the encoding processing time based on the encoding start information J231 and the reception time of the transmission completion message of the encoded signal S112 (obtained from the timer unit 106), and the calculation result is encoded time. Output as measurement information J228.

周期判定部208は、符号化周期決定部105の機能に加えて、送信周期情報J122、パケット化時間測定情報J123及び符号化時間測定情報J228を取得し、符号化器202で適用する符号化周期を符号化周期情報J124、パケット生成器203で適用するパケット化周期をパケット化周期指示情報J222として出力する。また、周期判定部208は、出力した符号化周期情報J124を現在の符号化周期を示す情報として符号化周期CT0に記憶する。さらに、周期判定部208は、出力したパケット化周期指示情報J222を現在のパケット化周期を示す情報としてパケット化周期PT0に記憶する。なお、周期判定部208の詳しい動作については、後述する動作の項で明らかにする。   In addition to the function of the coding cycle determination unit 105, the cycle determination unit 208 acquires the transmission cycle information J122, the packetization time measurement information J123, and the coding time measurement information J228 and applies the coding cycle applied by the encoder 202. Is output as encoding period information J124, and the packetization period applied by the packet generator 203 is output as packetization period instruction information J222. In addition, the cycle determination unit 208 stores the output encoding cycle information J124 in the encoding cycle CT0 as information indicating the current encoding cycle. Further, the cycle determination unit 208 stores the output packetization cycle instruction information J222 in the packetization cycle PT0 as information indicating the current packetization cycle. The detailed operation of the period determination unit 208 will be clarified in the operation section described later.

(B−2)第2の実施形態の動作
次に、第2の実施形態に係る送信部20の動作について、第1の実施形態に係る送信部10の動作との違いを中心に説明する。
(B-2) Operation | movement of 2nd Embodiment Next, operation | movement of the transmission part 20 which concerns on 2nd Embodiment is demonstrated centering on the difference with the operation | movement of the transmission part 10 which concerns on 1st Embodiment.

送信部20が動作を開始した際、周期判定部208では、第1の実施形態と同様にユーザから指定される送信周期情報J122を基に、符号化周期情報J124及びパケット化周期指示情報J222を決定し、決定した値を符号化器202及びパケット生成器203へ出力する。動作開始時では、当該符号化周期情報J124は、既定値(この実施形態では、例えば、10ms)を設定し出力する。また、パケット化周期指示情報J222は、送信周期情報J122と同値を出力する。さらに、出力した符号化周期情報J124及びパケット化周期指示情報J222は、それぞれ、符号化周期CT0、パケット化周期PT0として周期判定部208内部に記憶する。   When the transmission unit 20 starts to operate, the cycle determination unit 208 uses the transmission cycle information J122 specified by the user as in the first embodiment to store the encoding cycle information J124 and the packetization cycle instruction information J222. The determined value is output to the encoder 202 and the packet generator 203. At the start of the operation, the encoding cycle information J124 is set and output a predetermined value (in this embodiment, for example, 10 ms). Further, the packetization cycle instruction information J222 outputs the same value as the transmission cycle information J122. Further, the output encoding period information J124 and packetization period instruction information J222 are stored in the period determination unit 208 as an encoding period CT0 and a packetization period PT0, respectively.

マイク101により捕捉して得た音声信号は、ディジタル信号に変換した後、入力信号S111として符号化器202に出力される。   An audio signal captured by the microphone 101 is converted into a digital signal and then output to the encoder 202 as an input signal S111.

符号化器202は、入力信号S111を符号化する際に符号化を開始した時刻を符号化開始情報J231として、符号化周期計算部207へ出力する。また、符号化器202は、出力した符号化信号S112の送出完了メッセージを符号化周期計算部207へ出力する。   The encoder 202 outputs the time at which encoding was started when encoding the input signal S111 to the encoding period calculation unit 207 as encoding start information J231. Further, the encoder 202 outputs a transmission completion message of the output encoded signal S112 to the encoding period calculation unit 207.

符号化周期計算部207は、符号化器202での処理時間を符号化開始情報J231と、符号化信号S112の送出完了メッセージの受信時刻とから計算する。すなわち、符号化開始情報J231により与えられる符号化が開始された時刻と、上記送出完了メッセージの受信時刻との差分を符号化器202での処理時間として計算し、当該計算結果を符号化時間測定情報J228として、周期判定部208に出力する。   The encoding period calculation unit 207 calculates the processing time in the encoder 202 from the encoding start information J231 and the reception time of the transmission completion message of the encoded signal S112. That is, the difference between the encoding start time given by the encoding start information J231 and the reception time of the transmission completion message is calculated as a processing time in the encoder 202, and the calculation result is measured as an encoding time measurement. The information J228 is output to the period determination unit 208.

パケット生成器203で行われるパケット化処理及びパケット化間隔計算部104で行われるパケット化間隔の計算処理については、第1の実施形態と同様であるので、その説明を省略する。   Since the packetization processing performed by the packet generator 203 and the packetization interval calculation processing performed by the packetization interval calculation unit 104 are the same as those in the first embodiment, the description thereof is omitted.

周期判定部208は、パケット化時間測定情報J123及び符号化時間測定情報J228を基に、後述の周期決定方法により、パケット化周期指示情報J222、符号化周期情報J124を決定し、それぞれ、パケット生成器203、符号化器202へ出力する。   The period determination unit 208 determines the packetization period instruction information J222 and the encoding period information J124 by the period determination method described later based on the packetization time measurement information J123 and the encoding time measurement information J228, and generates packet generations respectively. Output to the encoder 203 and the encoder 202.

次に、周期判定部208で実施される周期決定方法について説明する。   Next, the period determination method performed by the period determination unit 208 will be described.

周期判定部208は、(1)符号化時間測定情報J228を取得した場合と、(2)パケット化時間測定情報J123を取得した場合のいずれかの場合によって、動作が異なる。周期判定部208は、後述する(1)又は(2)に対応する処理を行った後に、符号化周期情報J124を符号化器202に、パケット化周期指示情報J222をパケット生成器203に送信する。   The period determination unit 208 operates differently depending on whether (1) the encoding time measurement information J228 is acquired or (2) the packetization time measurement information J123 is acquired. After performing processing corresponding to (1) or (2) described later, the period determining unit 208 transmits the encoding period information J124 to the encoder 202 and the packetization period instruction information J222 to the packet generator 203. .

まず、上記(1)の周期判定部208が、符号化時間測定情報J228を取得した場合の動作について説明する。   First, an operation when the period determination unit 208 in (1) acquires the encoding time measurement information J228 will be described.

周期判定部208は、符号化時間測定情報J228の値と、現在の符号化周期CT0とを比較する。   The period determination unit 208 compares the value of the encoding time measurement information J228 with the current encoding period CT0.

周期判定部208は、符号化時間測定情報J228の値が符号化周期CT0以下である場合には、符号化周期CT0を変更しない。なお、当該処理が行われる具体例として、例えば、後述する図5で示す入力信号s2を符号化する場合が挙げられる。   The period determination unit 208 does not change the encoding period CT0 when the value of the encoding time measurement information J228 is equal to or less than the encoding period CT0. As a specific example in which the processing is performed, for example, a case where an input signal s2 shown in FIG.

一方、周期判定部208は、符号化時間測定情報J228の値が、符号化周期CT0を超過している場合には、符号化周期CT0を変更する。この場合は、符号化器202が行う入力信号S111の符号化処理が符号化周期CT0の時間内に終了していないと判断されるからである。   On the other hand, when the value of the encoding time measurement information J228 exceeds the encoding period CT0, the period determination unit 208 changes the encoding period CT0. In this case, it is determined that the encoding process of the input signal S111 performed by the encoder 202 is not completed within the time of the encoding cycle CT0.

具体的には、周期判定部208は、符号化周期を変更するために、現在の符号化周期CT0の値より大きな値を符号化周期情報J124に設定し、その符号化周期情報J124を符号化器202へ出力する。符号化周期情報J124に設定する値は、例えば、10msの自然数倍の時間、かつ、符号化周期CT0より大きく、符号化周期CT0にもっとも近くなる値とする。符号化器202は、符号化周期情報J124を受信すると、入力信号S111を符号化する間隔を当該符号化周期情報J124で指定された値に変更する。なお、当該処理が行われる具体例として、例えば、後述する図5で示す入力信号s3を符号化する場合が挙げられる。   Specifically, the period determining unit 208 sets a value larger than the current encoding period CT0 in the encoding period information J124 in order to change the encoding period, and encodes the encoding period information J124. Output to the unit 202. The value set in the coding cycle information J124 is, for example, a value that is a time that is a natural number multiple of 10 ms and that is larger than the coding cycle CT0 and closest to the coding cycle CT0. Upon receiving the encoding cycle information J124, the encoder 202 changes the interval for encoding the input signal S111 to the value specified by the encoding cycle information J124. In addition, as a specific example in which the process is performed, for example, a case where an input signal s3 shown in FIG.

次に、上記(2)の周期判定部208が、パケット化時間測定情報J123を取得した場合の動作について説明する。   Next, an operation when the period determination unit 208 in (2) acquires the packetization time measurement information J123 will be described.

周期判定部208は、パケット化時間測定情報J123の値と現在のパケット化周期PT0とを比較する。   Period determination section 208 compares the value of packetization time measurement information J123 with the current packetization period PT0.

比較した結果、パケット化時間測定情報J123の値がパケット化周期PT0以下である場合には、周期判定部208は、符号化周期CT0及びパケット化周期PT0の値を変更しない。なお、当該処理が行われる具体例として、例えば、後述する図6で示す入力信号s2を符号化・パケット化する場合が挙げられる。   As a result of the comparison, when the value of the packetization time measurement information J123 is equal to or less than the packetization period PT0, the period determination unit 208 does not change the values of the encoding period CT0 and the packetization period PT0. A specific example in which this processing is performed is, for example, a case where an input signal s2 shown in FIG. 6 to be described later is encoded / packetized.

比較した結果、パケット化時間測定情報J123の値がパケット化周期PT0を超過している場合には、周期判定部208は、先述の(1)で示した符号化周期を変更する処理を行うと共に、パケット化周期PT0の変更を実施する。   As a result of the comparison, if the value of the packetization time measurement information J123 exceeds the packetization period PT0, the period determination unit 208 performs the process of changing the encoding period shown in (1) above. Then, the packetization period PT0 is changed.

具体的には、周期判定部208は、比較時の符号化周期CT0の値より大きな値を符号化周期情報J124として出力する。さらに、周期判定部208は、パケット化周期を変更するために、現在のパケット化周期PT0の値より大きな値をパケット化周期指示情報J222として出力する。パケット化周期指示情報J222の値は、例えば、10msの自然数倍の時間、かつ、パケット化周期PT0より大きく、現在のパケット化周期PT0にもっとも近くなる値に変更する。なお、当該処理が行われる具体例として、例えば、後述する図6で示す入力信号s4を符号化・パケット化する場合が挙げられる。   Specifically, cycle determination unit 208 outputs a value larger than the value of coding cycle CT0 at the time of comparison as coding cycle information J124. Furthermore, the period determination unit 208 outputs a value larger than the current packetization period PT0 as the packetization period instruction information J222 in order to change the packetization period. The value of the packetization cycle instruction information J222 is changed to a value closest to the current packetization cycle PT0, for example, a time that is a natural number multiple of 10 ms and larger than the packetization cycle PT0. A specific example in which this processing is performed is, for example, a case where an input signal s4 shown in FIG. 6 to be described later is encoded / packetized.

また、上記の符号化周期及びパケット化周期の変更方法は、一例であり、この他にもパケット化周期PT0が送信部20全体の動作に影響を与えないように、様々な方法を用いて変更しても良い。例えば、パケット化周期PT0を大きくした場合に、送出周期がさらに超過した場合には、パケット化周期を小さくするように調整する方法や、又は、当該パケットを送出せず(つまり、パケット欠落扱いとする)、パケット生成器203の負荷を減らすようにしても良い。   In addition, the above-described method for changing the encoding period and the packetization period is merely an example. In addition to this, the packetization period PT0 is changed using various methods so that the operation of the entire transmission unit 20 is not affected. You may do it. For example, when the packetization period PT0 is increased and the transmission period further exceeds, a method for adjusting the packetization period to be decreased or the packet is not transmitted (that is, the packet is treated as missing). Yes, the load on the packet generator 203 may be reduced.

なお、符号化周期情報J124を符号化周期CT0より大きい値として決定するために用いる符号化周期CT0は、予め定めた既定値、又は先述の(1)で示した符号化周期の変更処理により更新された値を用いる。また先述の(A)第1の実施形態のように、符号化周期情報J124を、符号化周期CT0の値よりも大きく、かつパケット化時間測定情報J123の値以上となるように変更してもよい。   Note that the coding cycle CT0 used for determining the coding cycle information J124 as a value larger than the coding cycle CT0 is updated by a predetermined value or a coding cycle change process described in (1) above. Use the value obtained. Further, as in the first embodiment (A) described above, the coding period information J124 may be changed to be larger than the value of the coding period CT0 and equal to or larger than the value of the packetization time measurement information J123. Good.

符号化器202は、符号化周期情報J124を受信後、入力信号S111を符号化する間隔(符号化周期)を当該符号化周期情報J124で指定された値に変更する。また、パケット生成器203は、パケット化周期指示情報J222を受信後、符号化信号S112をパケット化する間隔(パケット化周期)を当該パケット化周期指示情報J222で指定された値に変更する。   After receiving the coding cycle information J124, the encoder 202 changes the interval (coding cycle) for coding the input signal S111 to a value specified by the coding cycle information J124. Further, after receiving the packetization cycle instruction information J222, the packet generator 203 changes the interval (packetization cycle) for packetizing the encoded signal S112 to the value specified by the packetization cycle instruction information J222.

また、変更後、パケット化時間測定情報J123の値がパケット化周期PT0を超過していない状態となった場合には、周期判定部208は、大きくした符号化周期を元の符号化周期CT0に戻すとともに、大きくしたパケット化周期PT0も元に戻す。変更前の符号化周期CT0とパケット化周期PT0は、周期判定部208内部で記憶し、各周期を読み出して再設定すれば良い。この符号化周期とパケット化周期とを元に戻す処理は、上記例に限定されず、他には、パケット化時間測定情報J123の値がパケット化周期PT0を超過していない状態が、3回連続して起きた場合に実行する等様々な手法を用いることができる。   Further, after the change, when the value of the packetization time measurement information J123 does not exceed the packetization period PT0, the period determination unit 208 sets the increased encoding period to the original encoding period CT0. At the same time, the increased packetization period PT0 is also restored. The encoding period CT0 and the packetization period PT0 before the change may be stored inside the period determining unit 208, and each period may be read and reset. The process of returning the encoding period and the packetization period to the original is not limited to the above example, and the state where the value of the packetization time measurement information J123 does not exceed the packetization period PT0 is three times. Various methods can be used, such as execution when a problem occurs continuously.

この実施形態では、周期判定部208は、パケット化周期PT0に従い、パケットが送出される間隔を指定するようにしたが、パケット化時間測定情報J123の判定により決定されるパケット化周期PT0を判定のみに用い、実際のパケット化周期を操作しないようにしても良い。例えば、後述する図6の入力信号s4を符号化・パケット化する場合にパケット化間隔pp3がパケット化周期pt03より大きい場合であっても、パケット化周期pt03を指定せず、周期判定部208の判定のみで用いるようにしても良い。   In this embodiment, the period determination unit 208 designates the interval at which packets are transmitted according to the packetization period PT0. However, only the packetization period PT0 determined by the determination of the packetization time measurement information J123 is determined. The actual packetization period may not be manipulated. For example, when encoding / packetizing an input signal s4 in FIG. 6 to be described later, even if the packetization interval pp3 is larger than the packetization cycle pt03, the packetization cycle pt03 is not specified, and the cycle determination unit 208 You may make it use only by determination.

次に、送信部20の動作(符号化時間測定情報J228を取得)について図5のタイムチャートを例に挙げて説明する。以下、図5について、図3と異なる点を中心に説明する。   Next, the operation of the transmission unit 20 (acquisition of the encoding time measurement information J228) will be described using the time chart of FIG. 5 as an example. In the following, FIG. 5 will be described focusing on differences from FIG.

図5(C)は、先述の図3(C)と同様に、各入力信号を符号化する時間をブロックイメージにより示している。さらに、図5(C)は、各ブロックの処理時間を符号化間隔cp1〜cp3として示している。この符号化間隔cp1〜cp3は、符号化周期計算部207での計算により符号化時間測定情報J228として出力される値である。また、符号化間隔cp1〜cp3は、それぞれ、対応する入力信号s1〜s3が符号化に要する時間を表している。図5(A)、(B)及び(D)は、先述の図3(A)、(B)及び(D)と同様であるので、その説明を省略する。   FIG. 5C shows a block image of the time for encoding each input signal, as in FIG. 3C described above. Further, FIG. 5C shows the processing time of each block as encoding intervals cp1 to cp3. The encoding intervals cp1 to cp3 are values output as the encoding time measurement information J228 by the calculation in the encoding period calculation unit 207. The encoding intervals cp1 to cp3 represent the time required for encoding the corresponding input signals s1 to s3, respectively. 5 (A), (B), and (D) are the same as FIGS. 3 (A), (B), and (D), and the description thereof is omitted.

次に、時系列に沿って図5のタイムチャートを説明する。   Next, the time chart of FIG. 5 will be described along a time series.

入力信号s1を符号化・パケット化する時刻t1〜t4までの処理は、先述の図3の同時刻の処理と同様である。   Processing from time t1 to time t4 for encoding / packetizing the input signal s1 is the same as the processing at the same time in FIG.

入力信号s2を符号化・パケット化する時刻t5〜t7までの処理は、基本的には、先述の図3の同時刻の処理と同様であるが、符号化周期ct02の判定処理については異なる。周期判定部208は、符号化周期計算部207から符号化時間測定情報J228を受信したときに符号化周期の判定を行う。すなわち、符号化時間測定情報J228に含まれる符号化間隔cp2が、現在の符号化周期である符号化周期ct01よりも小さいため、符号化周期ct02は、符号化周期ct01と同じ周期となる(つまり、符号化周期は変更しない)。   The processing from time t5 to time t7 for encoding / packetizing the input signal s2 is basically the same as the processing at the same time in FIG. 3 described above, but the determination processing for the encoding cycle ct02 is different. The period determination unit 208 determines the encoding period when the encoding time measurement information J228 is received from the encoding period calculation unit 207. That is, since the coding interval cp2 included in the coding time measurement information J228 is smaller than the coding cycle ct01 that is the current coding cycle, the coding cycle ct02 becomes the same cycle as the coding cycle ct01 (that is, The encoding cycle is not changed).

同様に、入力信号s3を符号化・パケット化する時刻t8〜t10までの処理は、基本的には、先述の図3の同時刻の処理と同様であるが、符号化周期ct03の判定処理については異なる。すなわち、符号化時間測定情報J228に含まれる符号化間隔cp3が、現在の符号化周期である符号化周期ct02よりも大きいため、次の符号化周期ct03は、符号化周期ct02より大きい周期に変更する。図5の例では、符号化周期ct03は、符号化周期ct02の2倍の周期に変更している。   Similarly, the process from time t8 to time t10 for encoding / packetizing the input signal s3 is basically the same as the process at the same time in FIG. 3 described above, but the determination process for the encoding cycle ct03 is as follows. Is different. That is, since the coding interval cp3 included in the coding time measurement information J228 is larger than the coding cycle ct02 which is the current coding cycle, the next coding cycle ct03 is changed to a cycle longer than the coding cycle ct02. To do. In the example of FIG. 5, the coding cycle ct03 is changed to a cycle twice the coding cycle ct02.

なお、図5の例では、入力信号S3の処理終了後、符号化周期は、変更前の符号化周期に戻す処理を行っている。これ以降(時刻t11以降)の処理の説明は省略するが、入力信号S4〜S6の処理についても同様に符号化・パケット化処理が行われる。   In the example of FIG. 5, after the processing of the input signal S3 is completed, a process for returning the encoding period to the encoding period before the change is performed. The description of the processing after this (after time t11) is omitted, but the encoding / packetization processing is similarly performed for the processing of the input signals S4 to S6.

次に、送信部20の動作(パケット化時間測定情報J123を取得)について図6のタイムチャートを例に挙げて説明する。以下、図6について、図3、図5と異なる点を中心に説明する。   Next, the operation of the transmission unit 20 (acquisition of packetization time measurement information J123) will be described using the time chart of FIG. 6 as an example. Hereinafter, FIG. 6 will be described focusing on differences from FIG. 3 and FIG. 5.

図6(D)は、符号化器202で符号化した信号に対してパケット化する時間をブロックイメージで示している。さらに、図6(D)は、パケット化の周期をパケット化周期pt01〜pt04として示している。図6(A)〜(C)は、先述の図3、図5(A)〜(C)と同様であるので、その説明を省略する。   FIG. 6D shows a block image of the time for packetizing the signal encoded by the encoder 202. Further, FIG. 6D shows packetization periods as packetization periods pt01 to pt04. 6A to 6C are the same as FIGS. 3 and 5A to 5C described above, and a description thereof will be omitted.

入力信号s1〜s3を符号化・パケット化する処理は、基本的には、先述の図3、図5で示す処理と同様であるが、パケット化周期の判定処理については異なる。周期判定部208は、パケット化間隔計算部104からパケット化時間測定情報J123を受信したときにパケット化周期の判定を行う。例えば、入力信号s2の処理の場合、パケット化時間測定情報J123に含まれるパケット化間隔pp2は、パケット化周期pt01より小さい値である。そのため、周期判定部208は、パケット化周期pt02を直前のパケット化周期pt01と同値に判定する(つまり、パケット化周期pt02の値の変更は無い)。   The process of encoding / packetizing the input signals s1 to s3 is basically the same as the process shown in FIGS. 3 and 5 described above, but the process for determining the packetization period is different. The period determination unit 208 determines the packetization period when the packetization time measurement information J123 is received from the packetization interval calculation unit 104. For example, in the case of processing of the input signal s2, the packetization interval pp2 included in the packetization time measurement information J123 is a value smaller than the packetization period pt01. Therefore, the period determining unit 208 determines that the packetization period pt02 is the same value as the previous packetization period pt01 (that is, the value of the packetization period pt02 is not changed).

同様に、入力信号s4を符号化・パケット化する時刻t11〜t14までの処理は、基本的には、先述の図3、5の処理と同様であるが、パケット化周期pt03の判定処理については異なる。すなわち、周期判定部208は、パケット化時間測定情報J123に含まれるパケット化間隔pp3が直前のパケット化周期pt02より大きいため(つまり、パケット化処理の負荷が大きい)、パケット化周期pt03の値の更新を行う。図6の例では、パケット化周期pt03は、パケット化周期pt02の2倍の周期に変更している。また符号化周期ct04は、符号化周期ct03よりも大きく、かつパケット化時間測定情報J123の値(ここではパケット化間隔pp3)以上の値となるように変更している。   Similarly, the processing from time t11 to time t14 for encoding / packetizing the input signal s4 is basically the same as the processing of FIGS. 3 and 5 described above, but the determination processing of the packetization period pt03 is as follows. Different. That is, since the packetization interval pp3 included in the packetization time measurement information J123 is larger than the previous packetization cycle pt02 (that is, the load of the packetization process is large), the cycle determination unit 208 determines the value of the packetization cycle pt03. Update. In the example of FIG. 6, the packetization period pt03 is changed to a period twice as long as the packetization period pt02. Also, the coding cycle ct04 is changed to be larger than the coding cycle ct03 and equal to or greater than the value of the packetization time measurement information J123 (here, the packetization interval pp3).

なお、図6の例では、入力信号S4の処理終了後、符号化周期及びパケット周期は、変更前の符号化周期及びパケット化周期に戻す処理を行っている。これ以降(時刻t15以降)の処理の説明は省略するが、入力信号S5、S6の処理についても同様に符号化・パケット化処理が行われる。   In the example of FIG. 6, after the processing of the input signal S4 is completed, the encoding period and the packet period are returned to the encoding period and the packetization period before the change. The description of the processing after this (after time t15) is omitted, but the encoding / packetization processing is similarly performed for the processing of the input signals S5 and S6.

(B−3)第2の実施形態の効果
第2の実施形態によれば、周期判定部208が、符号化の処理時間、及びパケット化の処理時間に基づいて、符号化周期、及びパケット化周期を変更することにより、音声信号の符号化処理及びパケット化処理に掛かる時間が符号化周期を超えないようにすることが可能となった。
(B-3) Effect of the Second Embodiment According to the second embodiment, the period determination unit 208 performs the encoding period and packetization based on the encoding processing time and the packetization processing time. By changing the period, it is possible to prevent the time required for the encoding process and the packetizing process of the audio signal from exceeding the encoding period.

さらに、第2の実施形態によれば、符号化周期計算部207及びパケット化間隔計算部104が、符号化器202及びパケット生成器203の負荷処理をそれぞれ符号化の処理時間及びパケット化の処理時間として実測し、周期判定部208が実測値に基づいて符号化周期、及びパケット化周期を変更するため、符号化処理及びパケット化処理を、リアルタイムの音声通信に精度よく追従させることが可能となった。   Furthermore, according to the second embodiment, the encoding period calculation unit 207 and the packetization interval calculation unit 104 perform the load processing of the encoder 202 and the packet generator 203, respectively, as encoding processing time and packetization processing. It is actually measured as time, and the period determination unit 208 changes the encoding period and the packetization period based on the actual measurement value, so that the encoding process and the packetization process can accurately follow real-time voice communication. became.

(C)他の実施形態
上記各実施形態に加えて、さらに、以下に例示するような変形実施形態も挙げることができる。
(C) Other Embodiments In addition to the above-described embodiments, the following modified embodiments can be exemplified.

(C−1)上記各実施形態では、本発明が適用される装置として、種々様々な装置(固定電話装置、スマートフォン、トランシーバ等)を適用することができるが、ソフトフォンに適用した場合に特に効果を奏する。ソフトフォンの場合には、通話処理以外にも他の処理が割り込む可能性が高いため、符号化周期及びパケット化周期が乱れるおそれが存在するからである。   (C-1) In each of the above embodiments, various devices (fixed telephone devices, smartphones, transceivers, etc.) can be applied as devices to which the present invention is applied, but particularly when applied to softphones. There is an effect. This is because, in the case of a soft phone, there is a possibility that other processes besides the call process may interrupt, and there is a possibility that the encoding period and the packetization period may be disturbed.

(C−2)上記各実施形態では、音声通信装置が、音声パケットを送出する例を示したが、音声パケットを受信する場合にも本発明を適用しても良い。例えば、音声通信装置(受信部)が、受信したパケットを分解するパケット分解部と、分解したパケット(ペイロード)を復号する復号部と、復号開始時刻と処理終了時刻とから前後のパケット間の復号処理間隔を計算する復号化間隔計算部と、当該復号処理間隔と、現在のパケット分解周期とから適切なパケット分解周期を判定するパケット分解周期計算部とを有することにより実現することができる。   (C-2) In each of the above embodiments, an example in which a voice communication device transmits a voice packet has been described. However, the present invention may be applied to a case where a voice packet is received. For example, the voice communication device (reception unit) decomposes a received packet, a packet decomposition unit that decodes the decomposed packet (payload), and decoding between packets before and after the decoding start time and processing end time. This can be realized by including a decoding interval calculation unit that calculates a processing interval, and a packet decomposition period calculation unit that determines an appropriate packet decomposition period from the decoding processing interval and the current packet decomposition period.

1A、1B…音声通信装置、2…ネットワーク、5…音声通信システム、10、20…送信部、11…受信部、101…マイク、102…符号化器、103…パケット生成器、104…パケット化間隔計算部、105…符号化周期決定部、106…タイマー部、202…符号化器、203…パケット生成器、207…符号化周期計算部、208…周期判定部。   DESCRIPTION OF SYMBOLS 1A, 1B ... Voice communication apparatus, 2 ... Network, 5 ... Voice communication system, 10, 20 ... Transmitter, 11 ... Receiver, 101 ... Microphone, 102 ... Encoder, 103 ... Packet generator, 104 ... Packetization Interval calculation unit 105... Coding cycle determination unit 106. Timer unit 202. Encoder 203 203 Packet generator 207 Coding cycle calculation unit 208.

Claims (8)

外部から入力される信号を第1の符号化周期で符号化して符号化信号を生成する符号化器と、当該符号化信号を第1のパケット化周期でパケット化するパケット生成器とを有する音声送信装置において、
前記パケット生成器が出力する、連続するパケットのパケット化間隔を測定して、パケット化時間測定情報を出力するパケット化時間測定部と、
前記パケット化時間測定情報と、前記第1の符号化周期又は前記第1のパケット化周期とを比較することにより、第2の符号化周期を決定し、前記符号化器に当該第2の符号化周期を与えて、当該第2の符号化周期で前記符号化信号を符号化させる周期指定部と
を有することを特徴とする音声送信装置。
Speech having an encoder that encodes an externally input signal at a first encoding period to generate an encoded signal, and a packet generator that packetizes the encoded signal at a first packetization period In the transmission device,
A packetization time measuring unit that outputs a packetization time measurement information by measuring a packetization interval between successive packets output by the packet generator;
A second encoding period is determined by comparing the packetization time measurement information with the first encoding period or the first packetization period, and the second code is sent to the encoder. A voice transmitting apparatus comprising: a cycle designating unit that gives a coding cycle and codes the coded signal in the second coding cycle.
前記周期指定部は、前記パケット化時間測定情報と、前記第1の符号化周期とを比較し、前記パケット化時間測定情報の値が、前記第1の符号化周期の値以上である場合に、前記第2の符号化周期の値を前記パケット化時間測定情報の値よりも大きい値に決定することを特徴とする請求項1に記載の音声送信装置。   The period specifying unit compares the packetization time measurement information with the first encoding period, and when the value of the packetization time measurement information is equal to or greater than the value of the first encoding period. The voice transmitting apparatus according to claim 1, wherein the value of the second coding period is determined to be larger than the value of the packetization time measurement information. 前記周期指定部は、前記パケット化時間測定情報と、前記第1の符号化周期とを比較し、前記パケット化時間測定情報の値が、前記第1の符号化周期の値未満の場合に、前記第2の符号化周期の値を前記第1の符号化周期の値に戻すことを特徴とする請求項2に記載の音声送信装置。   The period specifying unit compares the packetization time measurement information with the first encoding period, and when the value of the packetization time measurement information is less than the value of the first encoding period, The voice transmitting apparatus according to claim 2, wherein the value of the second coding period is returned to the value of the first coding period. 前記周期指定部は、前記パケット化時間測定情報と、前記第1のパケット化周期とを比較し、前記パケット化時間測定情報の値が、前記第1のパケット化周期の値以上である場合に、前記第2の符号化周期の値を前記第1の符号化周期の値よりも大きい値に決定するとともに、前記第1のパケット化周期の値を大きくして第2のパケット化周期とし、当該第2のパケット化周期を前記パケット生成器に与えることを特徴とする請求項1に記載の音声送信装置。   The period specifying unit compares the packetization time measurement information with the first packetization period, and when the value of the packetization time measurement information is equal to or greater than the value of the first packetization period. , Determining the value of the second encoding period to a value larger than the value of the first encoding period, and increasing the value of the first packetization period to be a second packetization period, The voice transmitting apparatus according to claim 1, wherein the second packetization period is given to the packet generator. 前記周期指定部は、さらに、前記第2の符号化周期の値を前記第1の符号化周期の値よりも大きく、かつ前記パケット化時間測定情報の値よりも大きい値に変更することを特徴とする、請求項4に記載の音声送信装置。   The period designating unit further changes the value of the second coding period to a value larger than the value of the first coding period and larger than the value of the packetization time measurement information. The voice transmitting apparatus according to claim 4. 前記周期指定部は、前記パケット化時間測定情報と、前記第1のパケット化周期とを比較し、前記パケット化時間測定情報の値が、前記第1のパケット化周期の値未満となった場合に、前記第2の符号化周期の値を前記第1の符号化周期の値に戻すとともに、前記第2のパケット化周期の値を前記第1のパケット化周期の値に戻すことを特徴とする請求項4又は5に記載の音声送信装置。   The period specifying unit compares the packetization time measurement information with the first packetization period, and the value of the packetization time measurement information is less than the value of the first packetization period And returning the value of the second coding period to the value of the first coding period and returning the value of the second packetization period to the value of the first packetization period. The voice transmitting device according to claim 4 or 5. 音声送信装置に搭載されるコンピュータを、
外部から入力される信号を第1の符号化周期で符号化して符号化信号を生成する符号化器と、
当該符号化信号を第1のパケット化周期でパケット化するパケット生成器と、
前記パケット生成器が出力する、連続するパケットのパケット化間隔を測定して、パケット化時間測定情報を出力するパケット化時間測定部と、
前記パケット化時間測定情報と、前記第1の符号化周期又は前記第1のパケット化周期とを比較することにより、第2の符号化周期を決定し、前記符号化器に当該第2の符号化周期を与えて、当該第2の符号化周期で前記符号化信号を符号化させる周期指定部と
して機能させることを特徴とする音声送信プログラム。
The computer installed in the audio transmission device
An encoder that encodes an externally input signal at a first encoding period to generate an encoded signal;
A packet generator for packetizing the encoded signal at a first packetization period;
A packetization time measuring unit that outputs a packetization time measurement information by measuring a packetization interval between successive packets output by the packet generator;
A second encoding period is determined by comparing the packetization time measurement information with the first encoding period or the first packetization period, and the second code is sent to the encoder. An audio transmission program that functions as a period designating unit that provides an encoding period and encodes the encoded signal in the second encoding period.
外部から入力されるパケットを第1のパケット分解周期で分解するパケット分解部と、分解されたパケットを復号して復号信号を生成する復号部とを有する音声受信装置において、
前記復号部における、前記パケットの復号処理開始時刻と復号処理終了時刻とから、連続するパケットにおける復号処理間隔を計算して、復号処理時間測定情報を出力する復号間隔計算部と、
前記復号処理時間測定情報と、前記第1のパケット分解周期とから第2のパケット分解周期を決定し、前記パケット分解部に当該第2のパケット分解周期を与えて、当該第2のパケット分解周期で前記パケットを分解させる周期指定部と
を有することを特徴とする音声受信装置。
In a voice receiving device having a packet decomposing unit that decomposes a packet input from the outside at a first packet decomposing period, and a decoding unit that decodes the decomposed packet and generates a decoded signal.
In the decoding unit, a decoding interval calculation unit that calculates a decoding processing interval in successive packets from the decoding processing start time and decoding processing end time of the packet and outputs decoding processing time measurement information;
A second packet decomposition period is determined from the decoding processing time measurement information and the first packet decomposition period, the second packet decomposition period is given to the packet decomposition unit, and the second packet decomposition period is determined. And a period designating unit for decomposing the packet.
JP2015090093A 2015-04-27 2015-04-27 Voice transmitter, voice receiver, and voice transmission program Pending JP2016206516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015090093A JP2016206516A (en) 2015-04-27 2015-04-27 Voice transmitter, voice receiver, and voice transmission program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015090093A JP2016206516A (en) 2015-04-27 2015-04-27 Voice transmitter, voice receiver, and voice transmission program

Publications (1)

Publication Number Publication Date
JP2016206516A true JP2016206516A (en) 2016-12-08

Family

ID=57489830

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015090093A Pending JP2016206516A (en) 2015-04-27 2015-04-27 Voice transmitter, voice receiver, and voice transmission program

Country Status (1)

Country Link
JP (1) JP2016206516A (en)

Similar Documents

Publication Publication Date Title
US9294834B2 (en) Method and apparatus for reducing noise in voices of mobile terminal
CN103988486B (en) The method of active channel is selected in the audio mixing of multiparty teleconferencing
US8566108B2 (en) Synchronization of multiple real-time transport protocol sessions
US20090323880A1 (en) Synchronization of real time data within deterministic clock edge
JP2016206516A (en) Voice transmitter, voice receiver, and voice transmission program
JP5212208B2 (en) Receiving apparatus, method and program
EP2641345A1 (en) Non-synchronized adpcm with discontinuous transmission
US20090132246A1 (en) METHOD AND APPARATUS FOR GENERATING FILL FRAMES FOR VOICE OVER INTERNET PROTOCOL (VoIP) APPLICATIONS
JP2006279809A (en) Apparatus and method for voice reproducing
JP2005073040A (en) Real time data synchronization method and variable clock generator circuit
JP6972576B2 (en) Communication equipment, communication systems, communication methods and programs
CN115890009B (en) Laser and galvanometer data processing system, method and medium based on function upgrading
JP5834851B2 (en) Communication system, apparatus and program
Roselinkiruba et al. Secure steganography in audio using inactive frames of voip streams
JPH1013239A (en) Decoding processor and decoding processing method therefor
JP2005274917A (en) Voice decoding device
JP2021097405A (en) Server for multi-party call system and method of operating the same
JP2016158133A (en) Communication device, delay recovery method and delay recovery program
JP4973376B2 (en) Apparatus for detecting basic period of speech and apparatus for converting speech speed using the basic period
KR20230089910A (en) Wireless tuning method by data communication based on sound signal
JP2005142757A (en) Receiving apparatus and method
JP5201259B2 (en) Apparatus for detecting basic period of speech and apparatus for converting speech speed using the basic period
JP6529473B2 (en) Wireless communication apparatus, wireless communication system, and noise reduction method
JP2013074424A (en) Voice communication system, voice communication device, and program
JP2009204815A (en) Wireless communication device, wireless communication method and wireless communication system