JP6973105B2 - Multiplexing device and multiplexing method - Google Patents

Multiplexing device and multiplexing method Download PDF

Info

Publication number
JP6973105B2
JP6973105B2 JP2018007056A JP2018007056A JP6973105B2 JP 6973105 B2 JP6973105 B2 JP 6973105B2 JP 2018007056 A JP2018007056 A JP 2018007056A JP 2018007056 A JP2018007056 A JP 2018007056A JP 6973105 B2 JP6973105 B2 JP 6973105B2
Authority
JP
Japan
Prior art keywords
packet
layer
buffers
change
temporary buffer
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.)
Active
Application number
JP2018007056A
Other languages
Japanese (ja)
Other versions
JP2019125993A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2018007056A priority Critical patent/JP6973105B2/en
Publication of JP2019125993A publication Critical patent/JP2019125993A/en
Application granted granted Critical
Publication of JP6973105B2 publication Critical patent/JP6973105B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本技術は、多重化装置及多重化方法に関する。 The present technology relates to a multiplexing device and a multiplexing method.

地上デジタルテレビジョン放送や高度BSデジタル放送において同一チャンネル内にワンセグと呼ばれる弱階層サービスとフルセグと呼ばれる強階層サービスが多重化されている。またこれらのテレビジョン放送では、同一チャンネル内で複数のチャンネルを多重化して放送することや、時間帯によって1つのチャンネルのみに切り替えることが可能となっている。このような放送のために放送局側のシステムには、コンテンツのパケットを多重化する多重化装置が用いられている。 In terrestrial digital television broadcasting and advanced BS digital broadcasting, a weak layer service called One Seg and a strong layer service called Full Seg are multiplexed in the same channel. Further, in these television broadcasts, it is possible to multiplex and broadcast a plurality of channels within the same channel, or to switch to only one channel depending on the time zone. For such broadcasting, a multiplexing device for multiplexing content packets is used in the system on the broadcasting station side.

例えば特許文献1には、受信側のクロックを送信側のクロックに同期させるために必要なクロック情報を含むIPパケットに対し、優先用入力バッファにおいて遅延量を算出し、TLVパケットにカプセル化し、スロットに格納してフレームを構成し、変調信号を送信する送信装置が開示されている。フレーム構成部は、優先用入力バッファからクロック情報を含むTLVパケット及び遅延量を、入力バッファからクロック情報を含まないTLVパケットを、タイマーから時間情報をそれぞれ入力し、伝送路符号化の単位であるスロットにTLVパケットを格納すると共に、遅延量をスロットヘッダーに格納する。 For example, in Patent Document 1, for an IP packet containing clock information necessary for synchronizing the clock on the receiving side with the clock on the transmitting side, the delay amount is calculated in the priority input buffer, encapsulated in a TLV packet, and slotted. A transmitter that is stored in a frame to form a frame and transmits a modulated signal is disclosed. The frame configuration unit inputs a TLV packet containing clock information and a delay amount from the priority input buffer, a TLV packet not including clock information from the input buffer, and time information from a timer, and is a unit for channel coding. The TLV packet is stored in the slot, and the delay amount is stored in the slot header.

また、フレーム構成部は、時間情報に基づいて、一定周期のトリガーを、スロットに格納可能なバイト量を示す指定量と共に、優先用入力バッファ及び入力バッファに出力する。これにより、トリガーに対応して入力したTLVパケットはスロットに格納され、フレームが構成される。そして、フレーム構成部は、スロットにより構成されたフレームを伝送路符号化処理部に出力する。変調処理部は、伝送路符号化処理部から伝送路符号化処理がされたデータを入力し、変調処理を行い、変調信号を生成する。 Further, the frame component unit outputs a trigger having a fixed cycle to the priority input buffer and the input buffer together with a specified amount indicating the amount of bytes that can be stored in the slot, based on the time information. As a result, the TLV packet input corresponding to the trigger is stored in the slot, and a frame is formed. Then, the frame component unit outputs the frame composed of the slots to the transmission line coding processing unit. The modulation processing unit inputs data that has undergone transmission line coding processing from the transmission line coding processing unit, performs modulation processing, and generates a modulation signal.

特開2011−103568号公報Japanese Unexamined Patent Publication No. 2011-103568

上述のように複数の階層の放送サービスを提供する放送局側の送信装置は、時間帯によって階層の設定を変更可能に構成されている。しかしながら各階層の放送サービスの提供時刻には時間差が存在しているため、階層の設定の変更時には、時間差の分、コンテンツの最後が提供されずに欠落するおそれがある。 As described above, the transmission device on the broadcasting station side that provides the broadcasting service of a plurality of layers is configured so that the setting of the layers can be changed depending on the time zone. However, since there is a time difference in the provision time of the broadcasting service of each layer, when the setting of the layer is changed, the end of the content may not be provided due to the time difference and may be omitted.

特許文献1に開示される送信装置は、複数の階層の放送サービスを提供するものではなく、上記の課題を解決する構成は備えていない。 The transmission device disclosed in Patent Document 1 does not provide a broadcasting service having a plurality of layers, and does not have a configuration for solving the above-mentioned problems.

本発明は、放送サービスの階層の設定の変更時にコンテンツの最後が欠落することを防止できる多重化装置及び多重化方法を提供することを主な目的としている。 An object of the present invention is to provide a multiplexing device and a multiplexing method that can prevent the end of content from being omitted when the setting of the hierarchy of a broadcasting service is changed.

本発明の1つの側面による多重化装置は、複数の階層のパケットを入力するパケット入力部と、前記複数の階層に対応する複数のバッファと、前記階層の変更指示があったとき、前記パケットを一時保存するテンポラリバッファと、前記パケットを前記階層に基づいて前記複数のバッファに振り分け、前記階層の変更指示があったとき前記パケットを前記テンポラリバッファに振り分ける階層振り分け部と、前記階層の変更指示があったとき前記複数のバッファから前記パケットを読出し、前記複数のバッファがすべて空になった後に前記テンポラリバッファに振り分けられていた前記パケットを読み出してTLVパケットを生成するTLVパケット生成部と、を有する。 The multiplexing device according to one aspect of the present invention has a packet input unit for inputting packets of a plurality of layers, a plurality of buffers corresponding to the plurality of layers, and a packet when there is an instruction to change the layers. Temporary buffers for temporary storage, a hierarchical distribution unit that distributes the packets to the plurality of buffers based on the layer, and distributes the packets to the temporary buffer when there is an instruction to change the layer, and a layer change instruction. It has a TLV packet generation unit that reads the packet from the plurality of buffers at the time of the occurrence, reads the packet allocated to the temporary buffer after the plurality of buffers are all emptied, and generates a TLV packet. ..

また本発明の他の側面による多重化方法は、複数の階層のパケットを入力し、前記パケットを前記複数の階層に対応する複数のバッファに振り分け、階層の変更指示があったとき前記パケットをテンポラリバッファに振り分け、前記階層の変更指示があったとき前記複数のバッファから前記パケットを読出し、前記複数のバッファがすべて空になった後に前記テンポラリバッファに振り分けられていた前記パケットを読み出してTLVパケットを生成する。 Further, in the multiplexing method according to another aspect of the present invention, packets having a plurality of layers are input, the packets are distributed to a plurality of buffers corresponding to the plurality of layers, and the packets are temporarily distributed when a layer change instruction is given. Allocate to the buffer, read the packet from the plurality of buffers when there is an instruction to change the hierarchy, read the packet allocated to the temporary buffer after all the plurality of buffers are empty, and read the TLV packet. Generate.

また本発明のさらに他の側面によるプログラムは、コンピュータを、複数の階層のパケットを入力するパケット入力部、前記複数の階層に対応する複数のバッファ、前記階層の変更指示があったとき、前記パケットを一時保存するテンポラリバッファ、前記パケットを前記階層に基づいて前記複数のバッファに振り分け、前記階層の変更指示があったとき前記パケットを前記テンポラリバッファに振り分ける階層振り分け部、及び、前記階層の変更指示があったとき前記複数のバッファから前記パケットを読出し、前記複数のバッファがすべて空になった後に前記テンポラリバッファから前記パケットを読み出してTLVパケットを生成するTLVパケット生成部、として機能させる。 Further, the program according to still another aspect of the present invention is a packet input unit for inputting a packet of a plurality of layers, a plurality of buffers corresponding to the plurality of layers, and a packet when a change instruction of the layer is given. A temporary buffer that temporarily stores the packet, a layer distribution unit that distributes the packet to the plurality of buffers based on the layer, and distributes the packet to the temporary buffer when there is an instruction to change the layer, and an instruction to change the layer. When there is, the packet is read from the plurality of buffers, and after the plurality of buffers are all emptied, the packet is read from the temporary buffer to generate a TLV packet.

本発明の上記側面によれば、放送サービスの階層の設定の変更時にコンテンツの最後が欠落することを防止できる。 According to the above aspect of the present invention, it is possible to prevent the end of the content from being omitted when the setting of the hierarchy of the broadcasting service is changed.

図1は、第1の実施形態の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of the first embodiment. 図2は、図1の動作の概要を示す図である。FIG. 2 is a diagram showing an outline of the operation of FIG. 1. 図3は、図1の動作を示すフローチャートである。FIG. 3 is a flowchart showing the operation of FIG. 図4は、第2の実施形態の構成を示すブロック図である。FIG. 4 is a block diagram showing the configuration of the second embodiment. 図5は、図4の動作を示すフローチャートである。FIG. 5 is a flowchart showing the operation of FIG. 図6は、第3の実施形態の構成を示すブロック図である。FIG. 6 is a block diagram showing the configuration of the third embodiment. 図7は、図6の動作を示すフローチャートである。FIG. 7 is a flowchart showing the operation of FIG. 図8は、各実施形態の各部を実現するコンピュータの構成の一例を示す図である。FIG. 8 is a diagram showing an example of a computer configuration that realizes each part of each embodiment.

次に例示的な第1の実施形態について図面を参照して説明する。本実施形態のTLVパケット多重化装置1は、デジタル放送用送信装置において、入力される映像、音声、データのパケットを多重化して各スロットを構成し、さらに120スロットで1フレームを構成してTLVパケットを生成するのに用いられる。 Next, an exemplary first embodiment will be described with reference to the drawings. In the TLV packet multiplexing device 1 of the present embodiment, in a digital broadcasting transmitting device, input video, audio, and data packets are multiplexed to form each slot, and 120 slots further form one frame to form a TLV. Used to generate packets.

デジタル放送用送信装置は、1フレーム中のスロットに、複数の伝送モードを設定して、各伝送モードにより階層を構成して、TLV形式のストリームの階層伝送を行うことが可能である。なお伝送モードの設定とは、例えば、伝送路符号化に関する設定であり、伝送主信号の変調方式、誤り訂正内符号化の符号化率、衛星出力バックオフおよび割り当てスロット数などの設定を意味する。パケットの階層の振り分けは、例えば、TLVパケット多重化装置1に入力される映像、音声、データのパケットの識別情報と階層の対応をTLVパケット多重化装置1に設定し、TLVパケット多重化装置1がパケットの識別情報により階層振り分けを行うことで実現される。 The digital broadcasting transmission device can set a plurality of transmission modes in slots in one frame, form layers according to each transmission mode, and perform layered transmission of a TLV format stream. The transmission mode setting is, for example, a setting related to transmission line coding, and means a setting such as a modulation method of a transmission main signal, a coding rate of error correction internal coding, satellite output backoff, and the number of allocated slots. .. For the distribution of the packet hierarchy, for example, the correspondence between the identification information of the video, voice, and data packets input to the TLV packet multiplexing device 1 and the hierarchy is set in the TLV packet multiplexing device 1, and the TLV packet multiplexing device 1 is used. Is realized by performing hierarchical distribution based on packet identification information.

伝送モードは、TMCC(Transmission & Multiplexing Configuration Control)情報によって、フレーム内のスロット位置毎に設定される。TMCC情報が変更されるとTMCC設定電文がTLVパケット多重化装置1に入力される。したがって階層の変更はTMCC設定電文により検知することが可能である。また階層の変更は、TMCC情報によって実際に変更される前にIF_IN階層設定電文によって指示される。したがって階層の変更指示はIF_IN階層設定電文により検知することが可能である。 The transmission mode is set for each slot position in the frame by TMCC (Transmission & Multiplexing Control) information. When the TMCC information is changed, the TMCC setting message is input to the TLV packet multiplexing device 1. Therefore, the change in the hierarchy can be detected by the TMCC setting message. Further, the change of the hierarchy is instructed by the IF_IN hierarchy setting message before the change is actually made by the TMCC information. Therefore, the hierarchy change instruction can be detected by the IF_IN hierarchy setting telegram.

図1は、第1の実施形態の構成を示すブロック図である。図1に示すように、本実施形態のTLVパケット多重化装置1は、パケット入力部11と、階層振り分け部12と、N個(Nは2以上の整数)のバッファ131〜バッファ13Nと、テンポラリバッファ13と、TLVパケット生成部14を備えている。 パケット入力部11は、伝送モードの設定が異なる、N個の階層(Nは2以上の整数)のパケットを入力する。 FIG. 1 is a block diagram showing the configuration of the first embodiment. As shown in FIG. 1, the TLV packet multiplexing device 1 of the present embodiment has a packet input unit 11, a hierarchical distribution unit 12, N buffers 131 to 13N (N is an integer of 2 or more), and a temporary buffer 13N. It includes a buffer 13 and a TLV packet generation unit 14. The packet input unit 11 inputs packets having N layers (N is an integer of 2 or more) having different transmission mode settings.

バッファ131〜バッファ13Nは、各階層に対応してN個、備えられ、階層に基づいて振り分けられたパケットを一時保存する。またテンポラリバッファ13は、階層の変更指示があったとき、パケットを一時保存する。 N buffers 131 to 13N are provided corresponding to each layer, and packets distributed based on the layer are temporarily stored. Further, the temporary buffer 13 temporarily stores the packet when there is an instruction to change the hierarchy.

階層振り分け部12には、TLVパケット多重化装置1に入力される映像、音声、データのパケットの識別情報と階層との対応が設定されており、階層振り分け部12は、入力されるパケットの識別情報から入力されるパケットの階層を判断する。そして階層振り分け部12は、TLVパケット多重化装置1に入力されるパケットを階層に基づいて複数のバッファ131〜バッファ13Nに振り分ける。また階層振り分け部12は、IF_IN階層設定電文によって階層の変更指示があると、入力されるパケットをテンポラリバッファ13に振り分ける。 The hierarchical distribution unit 12 is set to correspond to the layer with the identification information of the video, audio, and data packets input to the TLV packet multiplexing device 1, and the layer distribution unit 12 identifies the input packet. Determine the hierarchy of packets input from the information. Then, the layer distribution unit 12 distributes the packets input to the TLV packet multiplexing device 1 to a plurality of buffers 131 to 13N based on the layer. Further, the layer distribution unit 12 distributes the input packet to the temporary buffer 13 when there is an instruction to change the layer by the IF_IN layer setting telegram.

TLVパケット生成部14は、階層の変更指示があっても変更前の階層に対応する複数のバッファ131〜バッファ13Nからの読出しを続ける。すなわちTLVパケット生成部14は、階層の変更指示を検知した後も、変更前の階層に対応する複数のバッファ131〜バッファ13Nからパケットを読出し、複数のバッファがすべて空になった後に、テンポラリバッファ13に振り分けられていたパケットを読み出す。そしてTLVパケット生成部14は、読み出したパケットを多重化しTLVパケットを生成する。 The TLV packet generation unit 14 continues reading from the plurality of buffers 131 to 13N corresponding to the layer before the change even if there is an instruction to change the layer. That is, the TLV packet generation unit 14 reads packets from the plurality of buffers 131 to 13N corresponding to the layer before the change even after detecting the layer change instruction, and after the plurality of buffers are all empty, the temporary buffer. Read the packet distributed to 13. Then, the TLV packet generation unit 14 multiplexes the read packet and generates a TLV packet.

なお、階層振り分け部12がテンポラリバッファ13からパケットを読み出すタイミング及びTLVパケット生成部14が振り分けられたパケットを読み出すタイミングは種々考えられる。例えば、複数のバッファがすべて空になる前からテンポラリバッファ13からパケットを読み出し始め、変更後の階層に振り分けて図示しない記憶部に一時保存しておき、複数のバッファ131〜バッファ13Nがすべて空になった後に、TLVパケット生成部14は、その振り分けられたパケットを、図示しない記憶部から読出してもよい。 It should be noted that the timing at which the hierarchical distribution unit 12 reads the packet from the temporary buffer 13 and the timing at which the TLV packet generation unit 14 reads the distributed packet can be considered variously. For example, packets are started to be read from the temporary buffer 13 before all the plurality of buffers are empty, distributed to the changed hierarchy and temporarily stored in a storage unit (not shown), and the plurality of buffers 131 to 13N are all empty. After that, the TLV packet generation unit 14 may read the distributed packet from a storage unit (not shown).

またTLVパケット生成部14は、複数のバッファがすべて空になった後、さらにTMCC設定電文により階層の変更が検知された後に、階層振り分け部12がテンポラリバッファ13に振り分けられていたパケットを読み出して変更後の階層に振り分け、TLVパケット生成部14が、その振り分けられたパケットを読み出してもよい。 Further, the TLV packet generation unit 14 reads out the packets distributed to the temporary buffer 13 by the layer distribution unit 12 after all the plurality of buffers are emptied and the layer change is detected by the TMCC setting message. It may be distributed to the changed layer, and the TLV packet generation unit 14 may read the distributed packet.

階層振り分け部12は、パケット入力部11から入力されたパケットを変更後の階層に対応する複数のバッファ131〜バッファ13Nに振り分ける。また、TLVパケット生成部14は、テンポラリバッファ13に振り分けられていたパケットの読み出し完了後、複数のバッファ131〜バッファ13Nから変更後の階層に振り分けられたパケットを読み出す。 The layer distribution unit 12 distributes the packet input from the packet input unit 11 to a plurality of buffers 131 to 13N corresponding to the changed layer. Further, the TLV packet generation unit 14 reads the packets distributed to the changed layer from the plurality of buffers 131 to 13N after the reading of the packets distributed to the temporary buffer 13 is completed.

なお図1に示す第1の実施形態及び後述の他の実施形態の送信装置の各構成要素は、機能単位のブロックを示している。各実施形態の送信装置の各構成要素の一部又は全部は、例えば図8に示すようなコンピュータ50とプログラムとの任意の組み合わせにより実現されてもよい。コンピュータ50は、一例として、以下のような構成を含む。 It should be noted that each component of the transmission device of the first embodiment shown in FIG. 1 and other embodiments described later shows a block of functional units. A part or all of each component of the transmitting device of each embodiment may be realized by any combination of a computer 50 and a program as shown in FIG. 8, for example. As an example, the computer 50 includes the following configuration.

・CPU(Central Processing Unit)51
・ROM(Read Only Memory)52
・RAM(Random Access Memory)53
・RAM53にロードされるプログラム54
・プログラム54を格納する記憶装置55
・記録媒体56の読み書きを行うドライブ装置57
・通信ネットワーク59と接続する通信インタフェース58
・データの入出力を行う入出力インタフェース60
・各構成要素を接続するバス61
各実施形態の各構成要素は、これらの機能を実現するプログラム54をCPU51が取得して実行することで実現される。例えば、図1のTLVパケット多重化装置1の例では、パケット入力部11は、プログラム54を取得したCPU51が、プログラム54に基づきパケットの入力処理を行うことで機能が実現されてもよい。バッファ131〜バッファ13Nは、例えばプログラム54を取得したCPU51がRAM53にそれぞれの領域を割り当て、RAM53に割り当てられたバッファ131〜バッファ13Nの領域に振り分けられたパケットを一時保存する処理を行うことで機能が実現されてもよい。テンポラリバッファ13は、例えばプログラム54を取得したCPU51がRAM53にその領域を割り当てし、上記の複数の階層の変更指示があったとき、RAM53に割り当てられたテンポラリバッファ13の領域にパケットを一時保存する処理を行うことで機能が実現されてもよい。階層振り分け部12は、例えばプログラム54を取得したCPU51が、パケットをRAM53に割り当てられたバッファ131〜バッファ13N、及びテンポラリバッファ13の領域に振り分ける処理を行うことで機能が実現されてもよい。TLVパケット生成部14は、また例えばプログラム54を取得したCPU51が、プログラム54に基づきRAM53に割り当てられた領域からパケットを読み出してTLVパケットを生成する処理を行うことで機能が実現されてもよい。
-CPU (Central Processing Unit) 51
-ROM (Read Only Memory) 52
-RAM (Random Access Memory) 53
-Program 54 loaded into RAM 53
A storage device 55 for storing the program 54.
A drive device 57 that reads and writes the recording medium 56.
-Communication interface 58 connected to the communication network 59
-I / O interface 60 for inputting / outputting data
-Bus 61 connecting each component
Each component of each embodiment is realized by the CPU 51 acquiring and executing the program 54 that realizes these functions. For example, in the example of the TLV packet multiplexing device 1 of FIG. 1, the function of the packet input unit 11 may be realized by the CPU 51 that has acquired the program 54 performing packet input processing based on the program 54. The buffers 131 to 13N function, for example, when the CPU 51 that has acquired the program 54 allocates each area to the RAM 53 and temporarily stores the packets allocated to the areas of the buffers 131 to the buffer 13N allocated to the RAM 53. May be realized. The temporary buffer 13 temporarily stores the packet in the area of the temporary buffer 13 allocated to the RAM 53 when, for example, the CPU 51 that has acquired the program 54 allocates the area to the RAM 53 and is instructed to change the plurality of layers described above. The function may be realized by performing the process. The hierarchical distribution unit 12 may realize the function by, for example, the CPU 51 that has acquired the program 54 distributes the packet to the areas of the buffer 131 to the buffer 13N and the temporary buffer 13 allocated to the RAM 53. The TLV packet generation unit 14 may also realize the function by, for example, the CPU 51 that has acquired the program 54 reads a packet from the area allocated to the RAM 53 based on the program 54 and generates a TLV packet.

各実施形態の各構成要素の機能を実現するプログラム54は、例えば、予め記憶装置55やROM52やRAM53に格納されており、必要に応じてCPU51が読み出すように構成されてもよい。プログラム54は、通信ネットワーク59を介してCPU51に供給されてもよいし、予め記録媒体56に格納されており、ドライブ装置57が当該プログラムを読み出してCPU51に供給してもよい。 The program 54 that realizes the functions of each component of each embodiment is stored in, for example, a storage device 55, a ROM 52, or a RAM 53 in advance, and may be configured to be read by the CPU 51 as needed. The program 54 may be supplied to the CPU 51 via the communication network 59, or may be stored in the recording medium 56 in advance, and the drive device 57 may read the program and supply the program to the CPU 51.

次に本実施形態の動作について説明する。図2は、図1の動作の概要を示す図である。図2の例は、階層の設定が、階層A及び階層Bの2つであった状態から、階層Aの1つのみに変更された場合の例である。 Next, the operation of this embodiment will be described. FIG. 2 is a diagram showing an outline of the operation of FIG. 1. The example of FIG. 2 is an example in which the setting of the hierarchy is changed from two of the hierarchy A and the hierarchy B to only one of the hierarchy A.

図2に示すようにパケット入力部11は、パケット201から216を階層振り分け部に入力する。パケット201から203は階層Aのパケットであり、パケット204から206は階層Bのパケットであるとすると、図2に示すように階層振り分け部12は、パケット201から203を階層Aに対応するバッファ131に振り分ける。また階層振り分け部12は、パケット204から206を階層Bに対応するバッファ132に振り分ける。 As shown in FIG. 2, the packet input unit 11 inputs packets 201 to 216 to the hierarchical distribution unit. Assuming that the packets 201 to 203 are the packets of the layer A and the packets 204 to 206 are the packets of the layer B, as shown in FIG. 2, the layer distribution unit 12 sets the packets 201 to 203 in the buffer 131 corresponding to the layer A. Allocate to. Further, the layer distribution unit 12 distributes packets 204 to 206 to the buffer 132 corresponding to the layer B.

バッファ131、132に振り分けられ、一時保存されたパケットは、TLVパケット生成部14によってバッファ131、132から読み出される。なお階層Aについてスロット数N1が設定され、階層Bについてスロット数N2が設定されており、TLVパケット生成部14は、各階層に対応するバッファ131、132から各階層について設定されたスロット数N1、N2に対応する期間、パケットを読み出す。またTLVパケット生成部14は、各階層に対応する複数のバッファから所定の順序で周期的にパケットを読み出す。 The packets distributed to the buffers 131 and 132 and temporarily stored are read from the buffers 131 and 132 by the TLV packet generation unit 14. The number of slots N1 is set for the layer A, the number of slots N2 is set for the layer B, and the TLV packet generation unit 14 has the number of slots N1 set for each layer from the buffers 131 and 132 corresponding to each layer. Read the packet for the period corresponding to N2. Further, the TLV packet generation unit 14 periodically reads out packets from a plurality of buffers corresponding to each layer in a predetermined order.

例えば図2に示すようにTLVパケット生成部14は、まずバッファ131からスロット数N1に対応する期間、一時保存されているパケット201、202、203を読出し、次にバッファ132からスロット数N2に対応する期間、一時保存されているパケット204、205を読み出す。図2に示すように、階層Bでは設定されるスロット数N2が少ないので、パケット206は読み出されない場合がある。この場合読み出されなかったパケット206は次の周期で読み出されることになる。 For example, as shown in FIG. 2, the TLV packet generation unit 14 first reads packets 201, 202, 203 temporarily stored for a period corresponding to the number of slots N1 from the buffer 131, and then corresponds to the number of slots N2 from the buffer 132. During this period, the packets 204 and 205 that are temporarily stored are read out. As shown in FIG. 2, since the number of slots N2 set in the layer B is small, the packet 206 may not be read. In this case, the packet 206 that was not read will be read in the next cycle.

図2に示すように階層Bに対応するバッファからパケット206が読みだされないまま読出しが終了したタイミングで階層Bを使用しないよう設定を変更する指示が入力されるとする。 As shown in FIG. 2, it is assumed that an instruction to change the setting not to use the layer B is input at the timing when the reading is completed without reading the packet 206 from the buffer corresponding to the layer B.

もしパケット201、202、203のようにパケット207から210がバッファ131に振り分けられ、変更された設定にしたがってバッファ131のみから読み出されるとすると、パケット206は読み出されないままとなる。 If packets 207 to 210 are distributed to buffer 131, such as packets 201, 202, 203, and are read only from buffer 131 according to the changed settings, packet 206 remains unread.

そこで本実施形態では、IF_IN階層設定電文によって階層の設定の変更が指示されると、階層振り分け部12は、パケット入力部11から入力されるパケットを、テンポラリバッファ13に振り分ける。またTLVパケット生成部14は、階層の変更の指示があっても変更前の階層に対応するバッファ131、132からパケットを読出してTLVパケットを生成する。そして変更前の階層に対応するバッファ131、132のすべてが空になった後に、TLVパケット生成部14は、テンポラリバッファ13からパケット207から212を読み出してTLVパケットを生成する。その後、TLVパケット生成部14は、変更後の階層に対応するバッファからパケットを読み出してTLVパケットを生成する。 Therefore, in the present embodiment, when the IF_IN layer setting message instructs to change the layer setting, the layer distribution unit 12 distributes the packet input from the packet input unit 11 to the temporary buffer 13. Further, the TLV packet generation unit 14 reads a packet from the buffers 131 and 132 corresponding to the layer before the change and generates a TLV packet even if there is an instruction to change the layer. Then, after all the buffers 131 and 132 corresponding to the layer before the change are emptied, the TLV packet generation unit 14 reads the packets 207 to 212 from the temporary buffer 13 and generates a TLV packet. After that, the TLV packet generation unit 14 reads the packet from the buffer corresponding to the changed layer and generates the TLV packet.

階層を変更する指示から1周期後に、TMCC情報設定電文がTLVパケット多重化装置1に入力され、TLVパケット生成部14は、変更後の階層の設定でパケット生成を開始する。TMCC情報設定電文がTLVパケット多重化装置1に入力されるとTLVパケット生成部14は、テンポラリバッファ13からパケット207から212を読出し、テンポラリバッファ13が空になると、階層Aに対応するバッファ131からパケット213から216を読み出す。 One cycle after the instruction to change the layer, the TMCC information setting message is input to the TLV packet multiplexing device 1, and the TLV packet generation unit 14 starts packet generation with the changed layer setting. When the TMCC information setting message is input to the TLV packet multiplexing device 1, the TLV packet generation unit 14 reads 212 from the packet 207 from the temporary buffer 13, and when the temporary buffer 13 becomes empty, the buffer 131 corresponding to the layer A Read packets 213 to 216.

図3は、図1の動作を示すフローチャートである。本実施形態のTLV多重化方法においては、まず階層の変更が指示される前は、パケット入力部11が変更前の複数の階層のパケットを入力する(ステップS1)。 FIG. 3 is a flowchart showing the operation of FIG. In the TLV multiplexing method of the present embodiment, the packet input unit 11 first inputs packets of a plurality of layers before the change before the instruction to change the layer is instructed (step S1).

階層振り分け部12は、パケット入力部11から入力されるパケットを、変更前の複数の階層に対応する複数のバッファ131〜バッファ13Nに振り分ける(ステップS2)。 The layer distribution unit 12 distributes the packet input from the packet input unit 11 to a plurality of buffers 131 to 13N corresponding to the plurality of layers before the change (step S2).

TLVパケット生成部14は、階層の変更前の複数の階層に対応する複数のバッファ131〜バッファ13Nからパケットを読出してTLVパケットを生成する(ステップS3)。 The TLV packet generation unit 14 reads a packet from a plurality of buffers 131 to 13N corresponding to the plurality of layers before the change of the layer and generates a TLV packet (step S3).

IF_IN階層設定電文によって階層の変更指示があると、階層振り分け部12は、パケット入力部11から入力されるパケットをテンポラリバッファ13に振り分ける(ステップS4)。 When there is an instruction to change the hierarchy by the IF_IN hierarchy setting message, the hierarchy distribution unit 12 distributes the packet input from the packet input unit 11 to the temporary buffer 13 (step S4).

一方、TLVパケット生成部14は、IF_IN階層設定電文によって階層の変更指示があっても、階層の変更前の複数の階層に対応する複数のバッファ131〜バッファ13Nからパケットを読出してTLVパケットを生成する(ステップS5)。 On the other hand, the TLV packet generation unit 14 reads a packet from a plurality of buffers 131 to 13N corresponding to the plurality of layers before the change of the layer and generates a TLV packet even if the IF_IN layer setting message gives an instruction to change the layer. (Step S5).

そしてTLVパケット生成部14は、変更前の階層に対応する複数のバッファ131〜バッファ13Nがすべて空になった後に、テンポラリバッファ13に振り分けられていたパケットを読み出してTLVパケットを生成する(ステップS6)。 Then, the TLV packet generation unit 14 reads the packets distributed to the temporary buffer 13 and generates a TLV packet after all the plurality of buffers 131 to 13N corresponding to the layer before the change are emptied (step S6). ).

その後は変更後の階層により、パケット入力部11が変更後の複数の階層のパケットを入力し、階層振り分け部12は、パケット入力部11から入力されるパケットを、変更後の複数の階層に対応する複数のバッファ131〜バッファ13Nに振り分ける。また、TLVパケット生成部14は、テンポラリバッファ13に振り分けられていたパケットの読み出し完了後、複数のバッファ131〜バッファ13Nから変更後の階層に振り分けられたパケットを読み出し多重化する。 After that, the packet input unit 11 inputs the packets of a plurality of layers after the change according to the layer after the change, and the layer distribution unit 12 corresponds to the packets input from the packet input unit 11 to the plurality of layers after the change. Allocate to a plurality of buffers 131 to 13N. Further, the TLV packet generation unit 14 reads and multiplexes the packets distributed to the changed layer from the plurality of buffers 131 to 13N after the reading of the packets distributed to the temporary buffer 13 is completed.

以上説明したように本実施形態によれば、階層の設定の変更指示があると、パケット入力部から入力されるパケットをテンポラリバッファに振り分け、変更前の階層に対応する複数のバッファがすべて空になるまでパケットを読出し、すべて空になった後に、テンポラリバッファからパケットを読み出す。 As described above, according to the present embodiment, when there is an instruction to change the hierarchy setting, the packet input from the packet input unit is distributed to the temporary buffer, and the plurality of buffers corresponding to the hierarchy before the change are all emptied. Read the packet until it is empty, and then read the packet from the temporary buffer.

この構成によって、図2のように階層Bに対応するバッファからパケット206が読みだされないまま読出しが終了したタイミングで階層Bを使用しないよう設定を変更する指示が入力された場合でも、パケット206が読み出され、その後、パケット207以降が読み出される。したがって階層の設定の変更時にコンテンツの最後が欠落することを防止できる。 With this configuration, even if an instruction to change the setting not to use the layer B is input at the timing when the reading is completed without reading the packet 206 from the buffer corresponding to the layer B as shown in FIG. 2, the packet 206 is output. It is read, and then packets 207 and subsequent packets are read. Therefore, it is possible to prevent the end of the content from being omitted when the hierarchy setting is changed.

次に第2の実施形態について説明する。図4は、第2の実施形態の構成の一例を示すブロック図である。図4に示すように、第2の実施形態のTLVパケット多重化装置2は、第1の実施形態と異なり、階層振り分け部22へのパケットの入力として、パケット入力部11及びテンポラリバッファ13のいずれかを選択する選択部21を有している。またTLVパケット多重化装置2は、第1の実施形態と異なり、階層の変更指示及びTMCC情報設定電文による階層の変更を検知する階層変更検知部23を有している。 Next, the second embodiment will be described. FIG. 4 is a block diagram showing an example of the configuration of the second embodiment. As shown in FIG. 4, unlike the first embodiment, the TLV packet multiplexing device 2 of the second embodiment has either the packet input unit 11 or the temporary buffer 13 as the input of the packet to the hierarchical distribution unit 22. It has a selection unit 21 for selecting a packet. Further, unlike the first embodiment, the TLV packet multiplexing device 2 has a layer change detection unit 23 that detects a layer change instruction and a layer change by a TMCC information setting message.

次に本実施形態の動作について説明する。図5は第2の実施形態の動作を示すフローチャートである。図5に示すように本実施形態のTLV多重化方法においては、まず階層の変更が指示される前は、選択部21が階層振り分け部22へのパケットの入力として、パケット入力部11を選択し、パケット入力部11が入力した変更前の複数の階層のパケットを階層振り分け部22に入力する(ステップS21)。 Next, the operation of this embodiment will be described. FIG. 5 is a flowchart showing the operation of the second embodiment. As shown in FIG. 5, in the TLV multiplexing method of the present embodiment, the selection unit 21 first selects the packet input unit 11 as the packet input to the layer distribution unit 22 before the layer change is instructed. , Packets of a plurality of layers before the change input by the packet input unit 11 are input to the layer distribution unit 22 (step S21).

階層振り分け部12は、第1の実施形態と同様、パケット入力部11から入力されるパケットを、変更前の複数の階層に対応する複数のバッファ131〜バッファ13Nに振り分ける(ステップS2)。 Similar to the first embodiment, the layer distribution unit 12 distributes the packet input from the packet input unit 11 to a plurality of buffers 131 to 13N corresponding to the plurality of layers before the change (step S2).

TLVパケット生成部24は、第1の実施形態と同様、階層の変更前の複数の階層に対応する複数のバッファ131〜バッファ13Nからパケットを読出してTLVパケットを生成する(ステップS3)。 Similar to the first embodiment, the TLV packet generation unit 24 reads packets from the plurality of buffers 131 to 13N corresponding to the plurality of layers before the change of the layer and generates a TLV packet (step S3).

IF_IN階層設定電文によって階層の変更指示があると階層変更検知部23が階層の変更を検知し(ステップS22)、階層振り分け部12は、第1の実施形態と同様、パケット入力部11から入力されるパケットをテンポラリバッファ13に振り分ける(ステップS4)。 When there is a hierarchy change instruction by the IF_IN hierarchy setting message, the hierarchy change detection unit 23 detects the layer change (step S22), and the layer distribution unit 12 is input from the packet input unit 11 as in the first embodiment. Packets are distributed to the temporary buffer 13 (step S4).

一方、TLVパケット生成部24は、第1の実施形態と同様、階層の変更指示があっても、階層の変更前の複数の階層に対応する複数のバッファ131〜バッファ13Nからパケットを読出してTLVパケットを生成する(ステップS5)。 On the other hand, as in the first embodiment, the TLV packet generation unit 24 reads a packet from the plurality of buffers 131 to 13N corresponding to the plurality of layers before the change of the layer even if there is an instruction to change the layer, and the TLV packet generation unit 24 reads the packet. Generate a packet (step S5).

そして選択部21は、変更前の複数の階層に対応する複数のバッファ131〜バッファ13Nがすべて空になったことを検知する(ステップS23)と、階層振り分け部22へのパケットの入力として、テンポラリバッファ13を選択する(ステップS24)。階層振り分け部22は、テンポラリバッファ13に振り分けられていたパケットを変更後の階層に基づいて振り分ける(ステップS25)。 Then, when the selection unit 21 detects that the plurality of buffers 131 to 13N corresponding to the plurality of layers before the change are all empty (step S23), the selection unit 21 temporarily inputs the packet to the layer distribution unit 22. Select buffer 13 (step S24). The layer distribution unit 22 distributes the packets distributed to the temporary buffer 13 based on the changed layer (step S25).

TMCC設定電文により階層の変更がされると階層変更検知部23が階層の変更を検知し(ステップS26)、TLVパケット生成部24は、第1の実施形態と同様、テンポラリバッファ13に振り分けられていたパケットを読み出してTLVパケットを生成する(ステップS6)。 When the hierarchy is changed by the TMCC setting message, the hierarchy change detection unit 23 detects the hierarchy change (step S26), and the TLV packet generation unit 24 is distributed to the temporary buffer 13 as in the first embodiment. The packet is read and a TLV packet is generated (step S6).

また階層の変更がされると、選択部21は、階層振り分け部22へのパケットの入力として、パケット入力部11を選択する。階層振り分け部22は、パケット入力部11から入力されるパケットを、変更後の複数の階層に対応する複数のバッファ131〜バッファ13Nに振り分ける(ステップS28)。 When the layer is changed, the selection unit 21 selects the packet input unit 11 as the input of the packet to the layer distribution unit 22. The layer distribution unit 22 distributes the packet input from the packet input unit 11 to a plurality of buffers 131 to 13N corresponding to the plurality of changed layers (step S28).

TLVパケット生成部14は、テンポラリバッファ13に振り分けられていたパケットの読み出しが完了すると(ステップS29)、階層の変更後の複数の階層に対応する複数のバッファ131〜バッファ13Nからパケットを読出してTLVパケットを生成する(ステップS30)。 When the TLV packet generation unit 14 completes reading the packets distributed to the temporary buffer 13 (step S29), the TLV packet generation unit 14 reads the packets from the plurality of buffers 131 to the buffer 13N corresponding to the plurality of layers after the layer change, and TLV. Generate a packet (step S30).

以上説明した第2の実施形態においても、第1の実施形態と同様、階層の設定の変更指示があると、パケット入力部から入力されるパケットをテンポラリバッファに振り分け、変更前の階層に対応する複数のバッファがすべて空になるまでパケットを読出し、すべて空になった後に、テンポラリバッファからパケットを読み出す。したがって本実施形態によっても、図2のように階層Bに対応するバッファからパケット206が読みだされないまま読出しが終了したタイミングで階層Bを使用しないよう設定を変更する指示が入力された場合でも、パケット206が読み出され、その後パケット207以降が読み出される。したがって階層の設定の変更時にコンテンツの最後が欠落することを防止できる。ができる。 Also in the second embodiment described above, as in the first embodiment, when there is an instruction to change the layer setting, the packet input from the packet input unit is distributed to the temporary buffer, and the layer before the change is supported. Read the packet until all the buffers are empty, and then read the packet from the temporary buffer. Therefore, even in this embodiment, even when an instruction to change the setting so as not to use the layer B is input at the timing when the reading is completed without reading the packet 206 from the buffer corresponding to the layer B as shown in FIG. Packet 206 is read, and then packets 207 and subsequent packets are read. Therefore, it is possible to prevent the end of the content from being omitted when the hierarchy setting is changed. Can be done.

次に第3の実施形態について説明する。図6は第3の実施形態の構成の一例を示すブロック図である。図6に示すように、第3の実施形態のTLVパケット多重化装置3は、第1の実施形態及び第2の実施形態と異なり、TLVパケット生成部34へのパケットの入力として複数のバッファ131〜バッファ13N及びテンポラリバッファ33のいずれかを選択する選択部31を有する。またテンポラリバッファ33は、複数の階層に対応する複数の領域331〜領域33Nを備え、階層振り分け部32は、IF_IN階層設定電文によって階層の変更指示がされるとパケット入力部11から入力されるパケットを変更後の複数の階層に対応する複数の領域331〜領域33Nに振り分ける。 Next, a third embodiment will be described. FIG. 6 is a block diagram showing an example of the configuration of the third embodiment. As shown in FIG. 6, the TLV packet multiplexing device 3 of the third embodiment is different from the first embodiment and the second embodiment, and has a plurality of buffers 131 as input of packets to the TLV packet generation unit 34. -Has a selection unit 31 for selecting one of the buffer 13N and the temporary buffer 33. Further, the temporary buffer 33 includes a plurality of areas 331 to 33N corresponding to a plurality of layers, and the layer distribution unit 32 is a packet input from the packet input unit 11 when a layer change instruction is given by the IF_IN layer setting telegram. Is allocated to a plurality of areas 331 to 33N corresponding to the plurality of layers after the change.

次に本実施形態の動作について説明する。図7は第3の実施形態の動作を示すフローチャートである。図7に示すように本実施形態のTLV多重化方法においては、まず階層の変更が指示される前は、第1の実施形態と同様、パケット入力部11が入力した変更前の複数の階層のパケットを階層振り分け部32に入力する。階層振り分け部32は、第1の実施形態と同様、パケット入力部11から入力されるパケットを、変更前の複数の階層に対応する複数のバッファ131〜バッファ13Nに振り分ける(ステップS2)。 Next, the operation of this embodiment will be described. FIG. 7 is a flowchart showing the operation of the third embodiment. As shown in FIG. 7, in the TLV multiplexing method of the present embodiment, before the change of the hierarchy is first instructed, as in the first embodiment, the plurality of layers before the change input by the packet input unit 11 The packet is input to the hierarchical distribution unit 32. Similar to the first embodiment, the layer distribution unit 32 distributes the packet input from the packet input unit 11 to a plurality of buffers 131 to 13N corresponding to the plurality of layers before the change (step S2).

選択部31はTLVパケット生成部34へのパケットの入力として階層の変更前の複数の階層に対応する複数のバッファ131〜バッファ13Nを順次選択する(ステップS31)。そしてTLVパケット生成部34は、第1及び第2の実施形態と同様、階層の変更前の複数の階層に対応する複数のバッファ131〜バッファ13Nからパケットを読出してTLVパケットを生成する(ステップS3)。 The selection unit 31 sequentially selects a plurality of buffers 131 to 13N corresponding to the plurality of layers before the change of the layer as the input of the packet to the TLV packet generation unit 34 (step S31). Then, as in the first and second embodiments, the TLV packet generation unit 34 reads packets from the plurality of buffers 131 to 13N corresponding to the plurality of layers before the change of the layer and generates a TLV packet (step S3). ).

IF_IN階層設定電文によって階層の変更指示があると階層変更検知部35が階層の変更指示を検知し(ステップS32)、階層振り分け部32は、パケット入力部11から入力されるパケットを、テンポラリバッファ33の、変更後の複数の階層に対応する複数の領域331〜領域33Nに振り分ける(ステップS33)。 When there is a hierarchy change instruction by the IF_IN hierarchy setting message, the hierarchy change detection unit 35 detects the hierarchy change instruction (step S32), and the hierarchy distribution unit 32 inputs the packet input from the packet input unit 11 to the temporary buffer 33. Allocate to a plurality of regions 331 to 33N corresponding to the plurality of layers after the change (step S33).

一方、選択部31はTLVパケット生成部34へのパケットの入力として階層の変更前の複数の階層に対応する複数のバッファ131〜バッファ13Nを順次選択する(ステップS31)。TLVパケット生成部34は、第1及び第2の実施形態と同様、階層の変更指示があっても、階層の変更前の複数の階層に対応する複数のバッファ131〜バッファ13Nからパケットを読出してTLVパケットを生成する(ステップS5)。 On the other hand, the selection unit 31 sequentially selects a plurality of buffers 131 to 13N corresponding to the plurality of layers before the change of the layer as the input of the packet to the TLV packet generation unit 34 (step S31). Similar to the first and second embodiments, the TLV packet generation unit 34 reads packets from the plurality of buffers 131 to 13N corresponding to the plurality of layers before the layer change even if there is an instruction to change the layer. Generate a TLV packet (step S5).

TMCC設定電文により階層の変更がされると階層変更検知部35が階層の変更を検知し(ステップS35)、選択部31は、変更前の複数の階層に対応する複数のバッファ131〜バッファ13Nがすべて空になったことを検知すると(ステップS36)、TLVパケット生成部34へのパケットの入力として、テンポラリバッファ33を選択する(ステップS37)。TLVパケット生成部34は、テンポラリバッファ33に振り分けられていたパケットを読み出してTLVパケットを生成する(ステップS6)。 When the hierarchy is changed by the TMCC setting message, the hierarchy change detection unit 35 detects the hierarchy change (step S35), and the selection unit 31 has a plurality of buffers 131 to 13N corresponding to the plurality of layers before the change. When it is detected that all the packets are empty (step S36), the temporary buffer 33 is selected as the input of the packet to the TLV packet generation unit 34 (step S37). The TLV packet generation unit 34 reads the packets distributed to the temporary buffer 33 and generates a TLV packet (step S6).

またTMCC階層設定電文により階層の変更がされると、階層振り分け部32は、パケット入力部11から入力されるパケットを、変更後の複数の階層に対応する複数のバッファ131〜バッファ13Nに振り分ける(ステップS38)。テンポラリバッファ13に振り分けられていたパケットの読み出しが完了すると(ステップS39)、選択部31は、TLVパケット生成部34へのパケットの入力として、複数の階層に対応する複数のバッファ131〜バッファ13Nを順次選択する(ステップS40)。TLVパケット生成部34は、階層の変更後の複数の階層に対応する複数のバッファ131〜バッファ13Nからパケットを読出してTLVパケットを生成する(ステップS41)。 When the layer is changed by the TMCC layer setting message, the layer distribution unit 32 distributes the packet input from the packet input unit 11 to a plurality of buffers 131 to 13N corresponding to the changed plurality of layers ( Step S38). When the reading of the packets distributed to the temporary buffer 13 is completed (step S39), the selection unit 31 inputs a plurality of buffers 131 to buffers 13N corresponding to a plurality of layers as input of the packet to the TLV packet generation unit 34. Select sequentially (step S40). The TLV packet generation unit 34 reads packets from the plurality of buffers 131 to 13N corresponding to the plurality of layers after the layer change to generate a TLV packet (step S41).

以上説明した第3の実施形態においても、第1、第2の実施形態と同様、階層の設定の変更指示があると、パケット入力部から入力されるパケットをテンポラリバッファに振り分け、変更前の階層に対応する複数のバッファがすべて空になるまでパケットを読出し、すべて空になった後に、テンポラリバッファからパケットを読み出す。したがって本実施形態によっても、図2のように階層Bに対応するバッファからパケット206が読みだされないまま読出しが終了したタイミングで階層Bを使用しないよう設定を変更する指示が入力された場合でも、パケット206が読み出され、その後パケット207以降が読み出される。したがって階層の設定の変更時にコンテンツの最後が欠落することを防止できる。 Also in the third embodiment described above, when there is an instruction to change the layer setting, the packet input from the packet input unit is distributed to the temporary buffer and the layer before the change is given, as in the first and second embodiments. Reads the packet until all the corresponding buffers are empty, and then reads the packet from the temporary buffer. Therefore, even in this embodiment, even when an instruction to change the setting so as not to use the layer B is input at the timing when the reading is completed without reading the packet 206 from the buffer corresponding to the layer B as shown in FIG. Packet 206 is read, and then packets 207 and subsequent packets are read. Therefore, it is possible to prevent the end of the content from being omitted when the hierarchy setting is changed.

以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解し得る様々な変更をすることができる。 Although the present invention has been described above with reference to the embodiments, the present invention is not limited to the above embodiments. Various modifications that can be understood by those skilled in the art can be made to the structure and details of the present invention within the scope of the present invention.

1、2、3 TLVパケット多重化装置
11 パケット入力部
12、22、32 階層振り分け部
13、33 テンポラリバッファ
131、13N バッファ
14、24、34 TLVパケット生成部
21、31 選択部
23、35 階層変更検知部
331、33N 領域
1, 2, 3 TLV packet multiplexing device 11 Packet input section 12, 22, 32 Hierarchical distribution section 13, 33 Temporary buffer 131, 13N buffer 14, 24, 34 TLV packet generator section 21, 31 Selection section 23, 35 Hierarchical change Detection unit 331, 33N area

Claims (10)

複数の階層のパケットを入力するパケット入力部と、
前記複数の階層に対応する複数のバッファと、
前記階層の変更指示があったとき、前記パケットを一時保存するテンポラリバッファと、
前記パケットを前記階層に基づいて前記複数のバッファに振り分け、前記階層の変更指示があったとき前記パケットを前記テンポラリバッファに振り分ける階層振り分け部と、
前記階層の変更指示があったとき前記複数のバッファから前記パケットを読出し、前記複数のバッファがすべて空になった後に前記テンポラリバッファに振り分けられていた前記パケットを読み出してTLVパケットを生成するTLVパケット生成部と、
を有する多重化装置。
A packet input unit that inputs packets of multiple layers, and
A plurality of buffers corresponding to the plurality of layers and
When there is an instruction to change the hierarchy, a temporary buffer that temporarily stores the packet and
A hierarchical distribution unit that distributes the packet to the plurality of buffers based on the layer and distributes the packet to the temporary buffer when there is an instruction to change the layer.
A TLV packet that reads the packet from the plurality of buffers when there is an instruction to change the layer, reads the packet allocated to the temporary buffer after the plurality of buffers are all empty, and generates a TLV packet. With the generator
Multiplexing device with.
前記階層振り分け部は、前記テンポラリバッファから前記パケットを読み出して前記パケットを変更後の階層に振り分け、
前記TLVパケット生成部は、前記テンポラリバッファから読み出され前記変更後の階層に振り分けられた前記パケットを、前記複数のバッファがすべて空になった後に読み出す、請求項1に記載の多重化装置。
The layer distribution unit reads the packet from the temporary buffer and distributes the packet to the changed layer.
The multiplexing device according to claim 1, wherein the TLV packet generation unit reads the packet read from the temporary buffer and distributed to the changed layer after all the plurality of buffers are empty.
前記階層振り分け部は、前記階層の変更がされた後に、前記テンポラリバッファから前記パケットを読み出して前記パケットを前記変更後の階層に振り分ける、請求項2に記載の多重化装置。 The multiplexing device according to claim 2, wherein the layer distribution unit reads the packet from the temporary buffer and distributes the packet to the changed layer after the layer is changed. 前記TLVパケット生成部は、前記階層の変更がされ、前記テンポラリバッファからの前記パケットの読み出し完了後、前記複数のバッファから前記変更後の階層に振り分けた前記パケットを読み出す、請求項2又は3に記載の多重化装置。 The TLV packet generation unit reads the packet distributed to the changed layer from the plurality of buffers after the layer is changed and the reading of the packet from the temporary buffer is completed. The multiplexing device described. 前記階層振り分け部は、前記階層の変更がされた後に、前記パケット入力部から入力された前記パケットを前記変更後の階層に対応する前記複数のバッファに振り分ける、請求項2又は3に記載の多重化装置。 The multiplexing according to claim 2 or 3, wherein the layer distribution unit distributes the packet input from the packet input unit to the plurality of buffers corresponding to the changed layer after the layer is changed. Device. 前記階層振り分け部への前記パケットの入力として前記パケット入力部及び前記テンポラリバッファのいずれかを選択する選択部を有する、請求項1から5のいずれか1項に記載の多重化装置。 The multiplexing device according to any one of claims 1 to 5, further comprising a selection unit for selecting either the packet input unit or the temporary buffer as the input of the packet to the hierarchical distribution unit. 前記TLVパケット生成部への前記パケットの入力として前記複数のバッファ及び前記テンポラリバッファのいずれかを選択する選択部を有する、請求項1から5のいずれか1項に記載の多重化装置。 The multiplexing device according to any one of claims 1 to 5, further comprising a selection unit for selecting one of the plurality of buffers and the temporary buffer as an input of the packet to the TLV packet generation unit. 前記階層の変更指示を検知する階層変更検知部を有する、請求項1から7のいずれか1項に記載の多重化装置。 The multiplexing device according to any one of claims 1 to 7, further comprising a layer change detection unit that detects the layer change instruction. 複数の階層のパケットを入力し、
前記パケットを前記複数の階層に対応する複数のバッファに振り分け、
階層の変更指示があったとき前記パケットをテンポラリバッファに振り分け、
前記階層の変更指示があったとき前記複数のバッファから前記パケットを読出し、
前記複数のバッファがすべて空になった後に前記テンポラリバッファに振り分けられていた前記パケットを読み出してTLVパケットを生成する、
多重化方法。
Enter packets of multiple layers and
The packet is distributed to a plurality of buffers corresponding to the plurality of layers, and the packet is distributed to a plurality of buffers.
When there is an instruction to change the hierarchy, the packet is distributed to the temporary buffer,
When there is an instruction to change the hierarchy, the packet is read from the plurality of buffers,
After all the plurality of buffers are emptied, the packet allocated to the temporary buffer is read to generate a TLV packet.
Multiplexing method.
コンピュータを、
複数の階層のパケットを入力するパケット入力部、
前記複数の階層に対応する複数のバッファ、
前記階層の変更指示があったとき、前記パケットを一時保存するテンポラリバッファ、
前記パケットを前記階層に基づいて前記複数のバッファに振り分け、前記階層の変更指示があったとき前記パケットを前記テンポラリバッファに振り分ける階層振り分け部、及び、
前記階層の変更指示があったとき前記複数のバッファから前記パケットを読出し、前記複数のバッファがすべて空になった後に前記テンポラリバッファに振り分けられていた前記パケットを読み出してTLVパケットを生成するTLVパケット生成部、
として機能させるプログラム。
Computer,
Packet input section for inputting packets of multiple layers,
Multiple buffers corresponding to the multiple layers,
A temporary buffer that temporarily stores the packet when there is an instruction to change the layer.
A layer distribution unit that distributes the packet to the plurality of buffers based on the layer, and distributes the packet to the temporary buffer when there is an instruction to change the layer, and a layer distribution unit.
A TLV packet that reads the packet from the plurality of buffers when there is an instruction to change the layer, reads the packet allocated to the temporary buffer after the plurality of buffers are all empty, and generates a TLV packet. Generator,
A program that functions as.
JP2018007056A 2018-01-19 2018-01-19 Multiplexing device and multiplexing method Active JP6973105B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018007056A JP6973105B2 (en) 2018-01-19 2018-01-19 Multiplexing device and multiplexing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018007056A JP6973105B2 (en) 2018-01-19 2018-01-19 Multiplexing device and multiplexing method

Publications (2)

Publication Number Publication Date
JP2019125993A JP2019125993A (en) 2019-07-25
JP6973105B2 true JP6973105B2 (en) 2021-11-24

Family

ID=67399174

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018007056A Active JP6973105B2 (en) 2018-01-19 2018-01-19 Multiplexing device and multiplexing method

Country Status (1)

Country Link
JP (1) JP6973105B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4230654B2 (en) * 2000-11-13 2009-02-25 日本放送協会 Digital terrestrial broadcast transmitter and receiver
JP2003115818A (en) * 2001-10-04 2003-04-18 Nec Corp Device and method for multiplexing hierarchy
JP2004112316A (en) * 2002-09-18 2004-04-08 Toshiba Corp Digital broadcast signal transmission processing apparatus
US8429698B2 (en) * 2007-08-01 2013-04-23 Panasonic Corporation Digital broadcast transmission device and digital broadcast reception device
JP6147451B1 (en) * 2016-01-14 2017-06-14 日本放送協会 Receiving device, transmitting device, and program

Also Published As

Publication number Publication date
JP2019125993A (en) 2019-07-25

Similar Documents

Publication Publication Date Title
KR100393726B1 (en) Data transmitter, data receiver, and data transmission controller
JP2002077092A (en) Multiplexer, receiver and multiplex transmission method
JP4490811B2 (en) Method for creating an MPEG program stream from an encrypted MPEG transport stream
JP2004304813A (en) Multiplex control package for digital service
JP2004007388A (en) Exploitation of null packet in packetized digital television system
KR20070081780A (en) Transmitting apparatus, transmitting method, receiving apparatus, receiving method, and transmitting and receiving system
KR100649336B1 (en) Digital signal processing and signal format
US7096482B2 (en) Broadcasting apparatus, broadcasting method, program recording medium, and program
KR100581159B1 (en) Digital signal multiplexing method and apparatus, digital signal transmission method and apparatus, digital signal recording method and apparatus and recording medium
US7092411B2 (en) Transport stream multiplexing method, transport stream multiplexing apparatus, and storage and reproduction system
JP6973105B2 (en) Multiplexing device and multiplexing method
JP2010177858A (en) Digital data transmission device and digital data reception device
EP1304883A2 (en) Data stream selection
JP2006229510A (en) Digital satellite broadcasting system, transmitting station, and receiver
JP4086403B2 (en) Program information collection and distribution system and program information creation device
KR19980033123A (en) Radiation sensitive composition
JP4282258B2 (en) Digital broadcast signal multiplex transmission device
JP2004260758A (en) Digital broadcast transmission/reception system
JP2009077108A (en) Receiver, receiving method and computer program
JP4142997B2 (en) Data broadcasting TS transmitter
JP3595316B2 (en) Data transfer device
JP4246653B2 (en) Digital data receiver
JP2005130065A (en) Transport stream multiplexer
JPH10257452A (en) Method, device for multiplexing digital data and data supply system
JP4359987B2 (en) Digital CATV retransmission device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210922

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: 20211005

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211018

R150 Certificate of patent or registration of utility model

Ref document number: 6973105

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150