JP2007235356A - Apparatus, method, and computer program for separating data by allocating session identification code to data - Google Patents

Apparatus, method, and computer program for separating data by allocating session identification code to data Download PDF

Info

Publication number
JP2007235356A
JP2007235356A JP2006052467A JP2006052467A JP2007235356A JP 2007235356 A JP2007235356 A JP 2007235356A JP 2006052467 A JP2006052467 A JP 2006052467A JP 2006052467 A JP2006052467 A JP 2006052467A JP 2007235356 A JP2007235356 A JP 2007235356A
Authority
JP
Japan
Prior art keywords
data
session
data packet
packet
format
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.)
Granted
Application number
JP2006052467A
Other languages
Japanese (ja)
Other versions
JP4868392B2 (en
Inventor
Takashi Murakami
敬司 村上
Kunihiro Matsumoto
邦裕 松本
Junichi Yoshikawa
淳一 吉川
Kazunori Enokido
一典 榎戸
Takahiro Namimatsu
孝浩 並松
Shuji Yamamoto
修司 山本
Yoshinori Sasaki
吉慶 佐々木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JAPAN MANNED SPACE SYSTEMS COR
JAPAN MANNED SPACE SYSTEMS CORP
Japan Aerospace Exploration Agency JAXA
Original Assignee
JAPAN MANNED SPACE SYSTEMS COR
JAPAN MANNED SPACE SYSTEMS CORP
Japan Aerospace Exploration Agency JAXA
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JAPAN MANNED SPACE SYSTEMS COR, JAPAN MANNED SPACE SYSTEMS CORP, Japan Aerospace Exploration Agency JAXA filed Critical JAPAN MANNED SPACE SYSTEMS COR
Priority to JP2006052467A priority Critical patent/JP4868392B2/en
Publication of JP2007235356A publication Critical patent/JP2007235356A/en
Application granted granted Critical
Publication of JP4868392B2 publication Critical patent/JP4868392B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology for identifying respective data when data from a plurality of transmission sources are multiplexed to be transmitted from a protocol using packet sender information or the like to another protocol having no such information in its header. <P>SOLUTION: A method includes the steps of: multiplexing a data packet of a second form on a data packet of a first form; dividing data of a payload part in the data packet of the second form into a data group within a data capacity of the payload part in the data packet of the first form; sequentially storing the data group to the payload part of each data packet of the first form; storing session identification data associated with each session to a first field of the header in the data packet of the first form; attaching a packet serial number to a second field of the data packet; and sequentially multiplexing the packets of the first form by each session in the order of packet production. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、データにセッション識別符号を割り当てることによって、データとデータの間の分離を行うことを可能とする装置、方法、および、コンピュータプログラムに関し、特にMPEG2−TSのデータ・パケットに、ethernetのデータ・パケットを多重化し、多重されたデータを逆多重するための装置、方法、および、コンピュータプログラムに関する。   The present invention relates to an apparatus, a method, and a computer program that can perform separation between data by assigning a session identification code to the data, and more particularly, to an Ethernet packet of MPEG2-TS. The present invention relates to an apparatus, a method, and a computer program for multiplexing data packets and demultiplexing multiplexed data.

図1は、映像信号源100から送出されるMPEG2−TSのパケット群(1001、1003、1005・・・)(パケット長は188バイト)に、信号源1(101)、信号源2(102)、信号源3(103)から送出されるイーサーネット信号のパケット群(1011、1021、1031等)(パケット長は1024バイト)を多重する場合の、従来的方法を示す。   FIG. 1 shows an MPEG2-TS packet group (1001, 1003, 1005...) (Packet length is 188 bytes) transmitted from the video signal source 100, a signal source 1 (101), and a signal source 2 (102). A conventional method in the case of multiplexing a packet group (1011, 1021, 1031, etc.) (packet length is 1024 bytes) of an Ethernet signal transmitted from the signal source 3 (103) will be described.

映像信号源100から送出されるデータのプロトコルは、プロトコル階層図1007に示されるように物理層が例えばIEEE1394、上位層が例えばMPEG2−TSであり、信号源1乃至3から送出されるデータのプロトコルは、プロトコル階層図104に示されるように物理層が例えばIEEE802.3、上位層が例えばUDP、TFTP、FTP等である。また、多重後の信号のプロトコルは、プロトコル階層図1009に示されるように物理層が例えばEthernet2.0、上位層が例えばMPEG2−TSである。   As shown in a protocol hierarchy diagram 1007, the protocol of data transmitted from the video signal source 100 is, for example, IEEE 1394, the upper layer is, for example, MPEG2-TS, and the protocol of data transmitted from the signal sources 1 to 3 is used. As shown in the protocol hierarchy diagram 104, the physical layer is, for example, IEEE 802.3, and the upper layer is, for example, UDP, TFTP, FTP, or the like. Further, as shown in the protocol layer diagram 1009, the multiplexed signal protocol is, for example, Ethernet 2.0 for the physical layer and MPEG2-TS for the upper layer, for example.

映像信号源100から送出されるMPEG2−TSのパケット群(1001、1003、1005・・・)、及び、信号源1(101)、信号源2(102)、信号源3(103)から送出されるイーサーネット信号のパケット群(1011、1021、1031等)が多重機105で多重されると、その出力は、1051で示されるようなパケット群で表される。即ち、映像信号源からのパケット群1001、1003、1005に続いて、信号源1(101)から送出されたイーサーネット信号1011が分割されたデータの一部たる”(i)1−1”(1054)、”(i)1−2”(1056)、”(i)1−3”(1058)、”(ii)2−1”(1060)、・・・、がMPEG2−TSのパケットのペイロード部に多重されて伝送される。   MPEG2-TS packets (1001, 1003, 1005...) Sent from the video signal source 100, and sent from the signal source 1 (101), signal source 2 (102), and signal source 3 (103). When an Ethernet signal packet group (1011, 1021, 1031, etc.) is multiplexed by the multiplexer 105, its output is represented by a packet group as indicated by 1051. That is, following the packet groups 1001, 1003, and 1005 from the video signal source, the Ethernet signal 1011 sent from the signal source 1 (101) is a part of the divided data “(i) 1-1” ( 1054), “(i) 1-2” (1056), “(i) 1-3” (1058), “(ii) 2-1” (1060),. Multiplexed in the payload part and transmitted.

なお、データ・パケット中のヘッダ情報を利用する発明として、シリアル・ディジタル・トランスファ・インターフェースの伝送パケット中のアンシラリー(補助)データ領域中の情報を利用して、伝送パケットの転送モードやタイミングモードを抽出する特許文献1が挙げられる。   As an invention that uses header information in a data packet, information in the ancillary (auxiliary) data area in the transmission packet of the serial digital transfer interface is used to set the transfer mode and timing mode of the transmission packet. Patent document 1 to extract is mentioned.

しかし、当該特許文献1の発明においては、MPEG2−TS等のパケット群に、イーサーネット信号等の異なった形式のパケット群を多重する思想は開示されていないので、本発明とは異なる。   However, the invention of Patent Document 1 is different from the present invention because it does not disclose the idea of multiplexing packet groups of different formats such as Ethernet signals into packet groups such as MPEG2-TS.

特開2000−307647号公報JP 2000-307647 A

上述のような背景技術の通信ルートにおいて、パケットの送信元情報やストリーム中の各ファイルの送信開始符号や終了符号等の情報を使用するプロトコルから、それらをヘッダに記載しない(使用しない)タイプのプロトコルに、複数の送信元からのデータを多重化して流す場合、および1つの送信元からの複数のデータを流す場合に、それぞれのデータを識別出来るようにして流す場合には、下記のような種々の課題が存在した。   In the communication route of the background art as described above, from a protocol that uses information such as transmission source information of a packet and transmission start code and end code of each file in a stream, a type that does not write (use) them in the header. If you want to multiplex and send data from multiple senders to the protocol, and if you want to send multiple pieces of data from one sender, you can identify each data as follows: There were various challenges.

[課題1] (パケットのペイロード部分への重複的なヘッダ情報を格納する必要性)
例えばFTP等の場合、1ファイル毎にファイルの最後にEOF(End Of File)符号を付け、パケットにEOFが付いていたらそのパケットで当該ファイルのデータ・パケットは終わりで、次のパケットでシーケンスナンバーが“1”から始まっていれば次のファイルと言うように識別されている(FTP規格RFC959参照)。
この場合、パケットのヘッダに相当する部分に情報が記載され、送られるデータが識別される。従って、送信元情報の無いプロトコル(例えばMPEG2−TS)に通信経路の途中で変換される場合は、MPEG2−TSパケットのデータが入る部分(ペイロード部分)に、それらのヘッダ情報も含めて記載する必要があり、単位時間あたりに送信出来る実質的なデータ量が減ってしまう。
[Problem 1] (Necessity to store duplicate header information in the payload part of the packet)
For example, in the case of FTP, for each file, an EOF (End Of File) code is added to the end of the file, and if the packet has an EOF, the data packet of the file ends at that packet, and the sequence number at the next packet Is identified as the next file if it starts with "1" (see FTP standard RFC959).
In this case, information is described in a portion corresponding to the header of the packet, and data to be sent is identified. Therefore, in the case of conversion to a protocol having no source information (for example, MPEG2-TS) in the middle of the communication path, the header information is described in the portion (payload portion) where the data of the MPEG2-TS packet is entered. This is necessary, and the actual amount of data that can be transmitted per unit time is reduced.

[課題2] (課題1を解決しようとすると、必要とされるPIDの数が膨大になる)
この課題1を解決すべく、送信元情報の無いプロトコル(MPEG2−TS)のペイロード部分に前記のようなヘッダ情報を毎回入れる変わりに、ファイル毎にパケットID(PID)を変更した場合、この変更を新しいファイルが来る毎に新しいPIDを付加すると、膨大なPIDの数が必要となる。
[Problem 2] (If you try to solve Problem 1, the number of PIDs required is huge)
In order to solve this problem 1, when the packet ID (PID) is changed for each file instead of inserting the header information as described above into the payload portion of the protocol (MPEG2-TS) having no transmission source information, this change is made. When a new PID is added each time a new file comes, a huge number of PIDs are required.

一方、MPEG2−TSのパケットのような、データの送信元情報やストリーム中の各ファイルの送信開始符号や終了符号等の情報を、そのままパケット毎に付加する規格の無い通信の場合には、複数の送信元に対しPIDを固定して割り振り、識別していた(例えば、送信元1にPID=1を割当て、送信元2にPID=2を割当て・・・・、送信元nにPID=nを割当て、というように)。更に1送信元から複数のファイルが送られるような場合は前記課題1に記載したようにヘッダ情報も含めてペイロード部分に入れる必要があった。   On the other hand, in the case of non-standard communication in which data source information and information such as transmission start code and end code of each file in a stream are added as they are for each packet, such as MPEG2-TS packets, PID is fixedly allocated and identified for the transmission source (for example, PID = 1 is assigned to the transmission source 1, PID = 2 is assigned to the transmission source 2,..., PID = n is assigned to the transmission source n. Assign, and so on). Further, when a plurality of files are sent from one transmission source, it is necessary to include the header information in the payload portion as described in Problem 1 above.

このような場合、送信元毎にPIDを割り振るので、ファイル識別のためのPIDに加えて送信元毎のPIDが必要になり、送信元が多くなるにつれ、PIDが不足する可能性もあった(MPEG2−TSの場合、最大8175個のPIDが使えるが、例えば100台のPCがそれぞれ82個のファイルを送信すると、不足してしまう。限られた環境では1日や2日では使い切らないが、時間が経てば最終的には不足する)。   In such a case, since a PID is allocated for each transmission source, a PID for each transmission source is required in addition to a PID for file identification. As the number of transmission sources increases, the PID may be insufficient ( In the case of MPEG2-TS, a maximum of 8175 PIDs can be used, but if, for example, 100 PCs send 82 files each, it will be insufficient. Eventually it will run out over time).

[課題3] (膨大な数のPIDを使った場合でも、データが全て送信されて終了したか否かの判断が困難である) [Problem 3] (Even if a huge number of PIDs are used, it is difficult to determine whether all the data has been transmitted and ended)

さらに、MPEG2−TSのパケットのような、データの送信元情報やストリーム中の各ファイルの送信開始符号や終了符号等の情報を、そのままパケット毎に付加する規格の無い通信の場合、ファイル送信などの終了符号が無いため、送信されるデータが来ない時、データが全て送信されて終了したのか途中で止まっているのかの識別が出来ない。   Further, in the case of communication without a standard in which information such as data transmission source information and transmission start code and end code of each file in a stream is added as it is for each packet, such as MPEG2-TS packet, file transmission, etc. Since there is no end code, it is impossible to identify whether all the data has been transmitted and has been stopped or stopped midway when there is no data to be transmitted.

以上の説明を、具体的に図面を参照して詳説する。
例えば、図1の信号源1(101)から供給されるイーサーネット信号1011は、1024バイトのデータ長を持っているので、188バイトのデータ長を持つMPEG2−TSに多重するために、素直にイーサーネット信号1011をMPEG2−TS(1051)に多重するためには、イーサーネット信号1011を、MPEG2−TSに収納される大きさに分割して、MPEG2−TSの各パケットに収納する必要がある。図1の例では、イーサーネット信号1011を1−1、1−2,1−3のように分割し、これらを、MPEG2−TS(1051)中のパケット群1054、1056、1058に分けて多重することとなる。
The above description will be specifically described with reference to the drawings.
For example, since the Ethernet signal 1011 supplied from the signal source 1 (101) in FIG. 1 has a data length of 1024 bytes, it is obediently used for multiplexing on an MPEG2-TS having a data length of 188 bytes. In order to multiplex the Ethernet signal 1011 into the MPEG2-TS (1051), it is necessary to divide the Ethernet signal 1011 into a size that can be stored in the MPEG2-TS and store it in each packet of the MPEG2-TS. . In the example of FIG. 1, the Ethernet signal 1011 is divided into 1-1, 1-2, 1-3, and these are divided into packet groups 1054, 1056, 1058 in MPEG2-TS (1051) and multiplexed. Will be.

更に、分断された各イーサーネット信号1054、1056、1058の送出ソース101,102,103、及び、当該分断された各イーサーネット信号が或るセッション(通信者間において、その通信者間のみの通信(コネクション指向の通信)が開始されてから、終了されるまでの一連の通信)と他のセッションのいずれに属するか、を識別するためには、分割されたイーサーネット信号10543,10563,10583が収納されているMPEG2−TSの各パケット1054、1056、1058内に、同じイーサーネット信号のヘッダ情報10541、10561、10581(これらは、全く同じ情報(i)を表す)をコピーして、併せて収納する必要がある。この情報iは、イーサーネット信号源1(101)からのパケット1011のヘッダ10111に格納された情報である。また、この”i”内には、当該イーサーネット信号が、どのソース101、102、103を起源とし、どのセッション中の信号であるかを示す情報が含まれている。これらの情報が付される理由は、分割されてしまった各MPEG2パケット1054,1056,1058が、それぞれ、どのソース101、102、103に属し、どのセッション中の信号であるかを示す必要があるためである。   Further, the transmission sources 101, 102, and 103 of the divided Ethernet signals 1054, 1056, and 1058, and the divided Ethernet signals are transmitted in a certain session (communication between the communication parties only between the communication persons. In order to identify which of a series of communications from the start of (connection-oriented communication) to the end of the session) and other sessions, the divided Ethernet signals 10543, 10563, and 1058 The header information 10541, 10561, and 10581 of the same Ethernet signal (these represent exactly the same information (i)) are copied into the MPEG2-TS packets 1054, 1056, and 1058 that are stored together. Need to be stored. This information i is information stored in the header 10111 of the packet 1011 from the Ethernet signal source 1 (101). Further, in this “i”, information indicating which source 101, 102, 103 the Ethernet signal is from and which session is the signal is included. The reason why these pieces of information are added is to indicate to which source 101, 102, 103 each MPEG2 packet 1054, 1056, 1058 that has been divided belongs and which signal is in which session. Because.

このように、イーサーネット信号のヘッダ情報(”i”等)が、重ねて収納される必要があるために、データ伝送効率が極めて非効率的となってしまう。   As described above, since the header information (such as “i”) of the Ethernet signal needs to be stored in an overlapping manner, the data transmission efficiency becomes extremely inefficient.

図1の要部を説明する図2においては、ソース1(201)を起源としては、第2の形式の、或るセッションα中のパケット群(20111を含む)、次のセッションδ(20131を含む)中のパケット群が送出される。同様に、ソース2(202)、及び、ソース3(203)を起源として、第2の形式のパケット群が送出される。   In FIG. 2 for explaining the main part of FIG. 1, the source 1 (201) originates from a packet group (including 20111) in a session α in the second format, the next session δ (20131). Packet group) is transmitted. Similarly, a packet group of the second format is transmitted from source 2 (202) and source 3 (203).

これらが、第2の形式のパケットより短い単位長を持つ、第1の形式のパケット群205に多重される。多重後の第1の形式のパケット群205中の、パケット206、パケット207、及び、パケット217は、全て、ソース1(201)を起源としている。但し、パケット206、及び、パケット207は、同じセッションα中のパケットであるが、パケット217は、別のセッションδ中のパケットである。   These are multiplexed into the first type packet group 205 having a unit length shorter than that of the second type packet. The packet 206, the packet 207, and the packet 217 in the packet group 205 in the first format after multiplexing all originate from the source 1 (201). However, the packet 206 and the packet 207 are packets in the same session α, but the packet 217 is a packet in another session δ.

この場合、受信されたパケット206、207、及び、217中のペイロード部(206について2063及び2065、207について2073及び2075、217について2173及び2175)に多重された、第1の形式のパケット群のヘッダ情報”i”(20113及び20133)は、受信データのソースがソース1(201)であることは示すが、どのセッションに属するかについての情報は何ら呈示しない。   In this case, the packet group of the first format multiplexed in the payload part (2063 and 2065 for 206, 2073 and 2075 for 207, 2173 and 2175 for 217) in the received packets 206, 207 and 217. The header information “i” (2011 and 20133) indicates that the source of the received data is source 1 (201), but does not present any information about which session belongs.

従って、図2において、Y2の時点で受信されたパケット217も、X2の時点で受信されたパケット206と同じセッション中のパケットとしてカテゴライズされてしまう。即ち、受信データを送信セッション毎に分類できないのである。   Therefore, in FIG. 2, the packet 217 received at the time point Y2 is also categorized as a packet in the same session as the packet 206 received at the time point X2. That is, the received data cannot be classified for each transmission session.

そこで、通信ルートにおいて、パケットの送信元情報やストリーム中の各ファイルの送信開始符号や終了符号等の情報を使用するプロトコルから、それらをヘッダに記載しない(使用しない)タイプのプロトコルに、複数の送信元からのデータを多重化して流す場合、および1つの送信元からの複数のデータを流す場合に、それぞれのデータを識別出来るようにして流すことが、本発明の目的の1つである。   Therefore, in a communication route, a protocol that uses information such as packet transmission source information and transmission start code and end code of each file in a stream is changed to a protocol that does not describe (use) them in a header. One of the objects of the present invention is to stream data from a transmission source in a multiplexed manner and when flowing a plurality of data from one transmission source so that each data can be identified.

<多重化>
通常、複数の送信元からのデータ送信は全てが時間的に同時に重なることはなく、ある時間で区切って見ると、実際には全体の何割かが同時刻帯に通信しているだけとなる。この状態(時間帯)だけを考えると使用するPIDは予想される全ての数(接続される送信元数や送信されるファイル数)のPIDを準備する必要はなく、何割かのPIDを用意すればよいことになる。しかし、現実には時間が経過すれば必要なPID数は増加し、全ての数のPIDが必要となるため、何割かのPIDを用意することには結果として意味が無くなる。
<Multiplexing>
Normally, all data transmissions from a plurality of transmission sources do not overlap at the same time, and when divided by a certain period of time, only a certain percentage of the whole actually communicates in the same time zone. Considering only this state (time zone), it is not necessary to prepare all the expected PIDs (the number of connected sources and the number of files to be transmitted), and prepare some PIDs. It will be good. However, in reality, the necessary number of PIDs increases as time elapses, and all the numbers of PIDs are required. Therefore, it makes no sense to prepare several percent of PIDs.

そこで、本発明ではある時間で区切った時に必要な数のPIDのみを使って、時間経過に従って必要となる新しいPIDの代わりに元からあるPID(ある時間帯に必要な数として設定したPID)を時間的かつ論理的に異なる入力(送信元)に対し動的に割り振る方法を採ることで、前記課題1及び2を解決した。   Therefore, in the present invention, only the necessary number of PIDs are used when divided by a certain time, and instead of the new PIDs that are necessary as time elapses, the original PIDs (PIDs set as necessary numbers in a certain time zone) are used. The problems 1 and 2 have been solved by adopting a method of dynamically assigning temporally and logically different inputs (transmission sources).

具体的には、あるファイル送信が始まる時間や、論理的な接続をトリガーとして、それぞれセッションを設定する。(ここで、「セッション」は、1つのデータが入力・処理されている時間(期間)のことを意味する。そして、データ入力が開始された時点を、セッション開始と呼び、データ入力が終了した時点を、セッション終了と呼ぶ。)   Specifically, a session is set by using a time when a certain file transmission starts or a logical connection as a trigger. (Here, “session” means the time (period) during which one piece of data is entered and processed. The point in time when data entry is started is called session start, and data entry ends. (The time is called session end.)

そして、そのセッション毎にPIDを動的に割り振るもので、同時処理できる最大セッション数(前記で言うところの“ある時間帯に必要な数として設定したPID数”)を3とすると、4つのPIDを用意して、最初のセッションはPID=1、次のセッションはPID=2、次のセッションはPID=3、PID=1〜3のいずれかのセッションが終わったら(例としてPID=2が終わったとする)次のセッションはPID=4、さらに別のセッションが終了すれば空いているPID=2を割り振れば、各セッションの識別は可能となり課題2が解決出来る。   Then, PID is dynamically allocated for each session. When the maximum number of sessions that can be processed simultaneously (the above-mentioned “number of PIDs set as a necessary number in a certain time zone”) is 3, 4 PIDs When the first session is PID = 1, the next session is PID = 2, the next session is PID = 3, and any of PID = 1 to 3 sessions (for example, PID = 2 ends) For example, if PID = 4 is assigned to the next session and PID = 2 which is free when another session is completed, each session can be identified and Problem 2 can be solved.

この課題解決方法を例示したのが次の例1である。

例1)(図3を参照)
(a)PID=1,2,3,4が使用できると仮定する。
(b)セッションA,B,Cのデータリンクが確立している状態を想定する。
(c)セッションA(PID1)が終了した状態を想定する。
(d)セッションB,Cのデータが出力された後セッションD(PID4)が開始した状態を想定する。
(e)セッションDが終了した状態を想定する。
(f)セッションEが開始(PID1)した状態を想定する。
(g)セッションB,Cのデータが出力された状態を想定する。
以上のような前提で、パケットのPIDをnで表しパケットを

Figure 2007235356
で表すと、各セッション毎に、図3のようなシーケンスが得られる。
この結果、多重化後に出力されるパケットのPIDを時間順(受信順)で並べると以下のようになる。
1,2,3,1,2,3,4,1,2,3,2,3,2,3...
この並びだけから見ると、PID4のデータが届くことでPID1,2,3のどれかが終了した事は検出でるが、どれが終了したかは検出できない。
従って、この方法だけでは前記課題3を解決出来ない。 The following example 1 illustrates this problem solving method.

Example 1) (See Figure 3)
(A) Assume that PID = 1, 2, 3, 4 can be used.
(B) Assume that the data links of sessions A, B, and C are established.
(C) Assume that session A (PID1) has ended.
(D) Assume that session D (PID4) has started after the data of sessions B and C are output.
(E) Assume that session D has ended.
(F) Assume that session E has started (PID1).
(G) Assume that the data of sessions B and C are output.
Based on the above assumption, the packet PID is represented by n and the packet is
Figure 2007235356
3, a sequence as shown in FIG. 3 is obtained for each session.
As a result, the PIDs of packets output after multiplexing are arranged in time order (reception order) as follows.
1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 2, 3, 2, 3. . .
From this arrangement alone, it can be detected that one of PIDs 1, 2 and 3 has ended when the data of PID4 arrives, but which cannot be detected.
Therefore, the problem 3 cannot be solved by this method alone.

そこで、本発明では、
(a)最大同時セッション数x2のPIDが設定できるようにする。
(b)データセッション毎に新たな(使用されていなかった)PIDを使用する。
(c)2つのPIDは必ず1組(例えば1aと1b、2aと2b、3aと3bと言うようにPIDを対にして扱う)で使用し、データセッションの終了毎に交互に使用する。
と言う方法を採ることにより、以下の例2のように前記課題3を解決することが出来る。
Therefore, in the present invention,
(A) The maximum number of simultaneous sessions x2 can be set.
(B) Use a new (unused) PID for each data session.
(C) Two PIDs are always used in one set (for example, PIDs are treated as a pair such as 1a and 1b, 2a and 2b, 3a and 3b), and are used alternately at the end of each data session.
The problem 3 can be solved as in Example 2 below.

例2)(図4参照)
前記の例に適用すると、
PID=(1a,1b),(2a,2b),(3a,3b)の3組、6個のPIDを使用すると、図4のようなシーケンスが得られる。
Example 2) (See Figure 4)
Applying to the above example,
When three sets of PID = (1a, 1b), (2a, 2b), (3a, 3b) and six PIDs are used, a sequence as shown in FIG. 4 is obtained.

多重化後に出力されるパケットのPIDを時間順(受信順)で並べると1a,2a,3a,1a,2a,3a,”1b”,1a,2a,3a...となり、”1b”が検出されるので最初の1aのセッションが終了していたことを検出できる。
また、次のセッションがいずれも開始されない状況で、ファイル送信が終わった場合は前記のようなパケットの受信状況では終了を判別出来ないので数秒のタイムアウト値(当該ネットワーク環境においてパケットの到着タイミングの変動値より十分大きな値)を設定し受信終了を判別する。
When the PIDs of packets output after multiplexing are arranged in time order (reception order), 1a, 2a, 3a, 1a, 2a, 3a, “1b”, 1a, 2a, 3a. . . Since “1b” is detected, it can be detected that the session of the first 1a has ended.
In addition, when the next session is not started and the file transmission is completed, it is impossible to determine the end in the packet reception status as described above, so a timeout value of several seconds (change in arrival timing of the packet in the network environment) Set a value sufficiently larger than the value) to determine the end of reception.

<逆多重化>
本発明で、これらの多重化されたデータを復元するには、受信したパケットからPID毎に取り出す(PID=1aのファイルを取り出すならPID=1bのパケットが出現するまでのPID=1aのパケットを取り出す)作業を行い、それらのパケットからデータ領域を取り出して結合する。これにより、各セッションから送信されたファイルやデータストリームを復元することが出来る(例2で言うと、最初のPID=1aを取り出すとセッションAから送信されたファイルが復元出来る)。
<Demultiplexing>
In the present invention, in order to restore these multiplexed data, the PID = 1a packet is extracted from the received packet for each PID (if the PID = 1a file is extracted, the PID = 1a packet until the appearance of the PID = 1b packet appears. The data area is extracted from these packets and combined. As a result, the file and data stream transmitted from each session can be restored (in Example 2, the file transmitted from session A can be restored by taking out the first PID = 1a).

以上のような課題解決方法に対応する、出願時の本願各請求項記載の発明の態様を列挙し、必要に応じて解説を加える。   Aspects of the invention described in the claims of the present application corresponding to the above problem solving methods are listed, and explanations are added as necessary.

(発明A−1)(Aはソースにより識別されるセッションを示すフラグを使用する発明群)
ヘッダ部とペイロード部を含む第1の形式のデータ・パケット群を含むビット・ストリーム内の、当該第1の各データ・パケット内に、それぞれ複数のソース毎に区別され、それぞれ所定の時間帯内に含まれる複数のセッションから成る、複数のソースから供給される、ヘッダ部とペイロード部を含む、前記第1の形式のデータ・パケットより多いデータ量を持つ第2の形式のデータ・パケット群のデータを多重化して送出し、受信された当該多重されたデータを逆多重する方法であって、
(1) 各セッション毎に、前記複数のソースから供給される第2の形式のデータ・パケット群内の各データ・パケット中のペイロード部のデータを、前記第1の形式のデータ・パケット内のペイロード部のデータ容量以内のデータ群に分割するステップと、
(2) 各セッション毎に、ステップ(1)で分割されたデータ群を、前記第1の形式の各データ・パケット内のペイロード部に順次格納するステップと、
(3) 前記第1の形式のデータ・パケット内のヘッダの第1の領域に、ステップ(2)でペイロード部に格納された各データに対応する前記複数のセッションを識別するためにセッションに対応づけられたセッション識別データを格納し、データ・パケットのヘッダの第2の領域に識別データ毎のパケットの順番を示すパケット通し番号を付加するステップと、
(4) ステップ(2)および(3)で作られた各セッション毎の第1の形式のパケットをパケット生成順に順次多重化するステップと、
(5) ステップ(4)で多重化されたデータ・パケットをシーケンシャルに送出するステップと、
(6) ステップ(5)で送出されたデータ・パケットを、パケット毎に受信するステップと、
(7) ステップ(6)で受信された各データ・パケットのセッション識別データを用いて、ステップ(6)で受信された各データ・パケットを逆多重するステップと、
(8) ステップ(7)で逆多重された各データ・パケットのセッション識別データに基いて、ステップ(7)で逆多重された各データ・パケット群と、当該データ・パケット群の属するセッションとを対応付けるステップと、
(9) ステップ(7)で逆多重されたデータ・パケット群のペイロード部内のデータを前記パケット通し番号に従って、結合するステップと、
(10) ステップ(8)で対応付けられたセッションに基いて、ステップ(9)で結合されたデータと、複数のソース及び前記所定の時間帯とを対応付けるステップと、
を含む方法。
このようにすることによって、多重される当該第2の形式のデータ・パケット群のデータのソース情報及びセッション情報は、第1の形式のデータ・パッケット群のヘッダ部分の不使用領域に格納されるので、第1の形式のデータ・パケットのペイロード部に、第2の形式のデータ・パケットのソース情報及びセッション情報(ヘッダ部の情報)を格納する必要が無くなる。このため、第1の形式のデータ・パケットのペイロード部には、第2の形式のデータ・パケットのペイロード部の情報のみを格納可能であり、データ送信効率の改善が図れる。
また、第1の形式のデータ・パッケット群に多重され得る、第2の形式のデータ・パケット群以外の情報(例えば画像情報)と、第2の形式のデータ・パケット群の情報とが、ほぼ同一時刻に受信されるので、送信側で、タイム・スタンプ情報等をわざわざ格納しなくても、ほぼ同一の送信時刻に送出された、両者の情報が、ほぼ同期(例えばデータの送信レートを20Mbpsとした場合、1/10000秒以下のズレで送信され、人のための表示処理をしても人が知覚できる範囲以下のズレ)して、ほぼ同一の時刻に受信可能である。このため、同期のための処理を行わずに、両者の情報(例えば映像情報とその映像の環境情報表示)を同期させることが可能であり、同期のための処理負荷を軽減することが出来る。
さらに、タイム・スタンプ情報等が格納されていた場合でも、両者の情報の同期のためにタイム・スタンプ情報を読み出す処理を実施する必要がないために、処理負荷を軽減することが可能である。
また、「(1)各セッション毎に、前記複数のソースから供給される第2の形式のデータ・パケット群内の各データ・パケット中のヘッダ部及びペイロード部のデータを、前記第1の形式のデータ・パケット内のペイロード部のデータ容量以内のデータ群に分割するステップと、」において、「前記第1の形式のデータ・パケット内のペイロード部のデータ容量以内のデータ群に分割する」には、均等に分割する場合もあり、不均等に分割する場合も含まれる。
なお、「前記第1の形式のデータ・パケット内のヘッダの第1の領域に、ステップ(2)でペイロード部に格納された各データに対応する前記複数のセッションを識別するためにセッションに対応づけられたセッション識別データを格納し」において、「ヘッダの第1の領域」は、MPEG2−TSの送受に影響を与えないような領域を用いる必要がある。
(Invention A-1) (A is an invention group using a flag indicating a session identified by a source)
In the first data packet in the bit stream including the data packet group of the first format including the header part and the payload part, each of the first data packets is distinguished for each of a plurality of sources, and each is within a predetermined time zone. A second type of data packet group having a larger amount of data than the first type of data packet, including a header part and a payload part, supplied from a plurality of sources, consisting of a plurality of sessions included in A method of multiplexing and sending data and demultiplexing the received multiplexed data,
(1) For each session, the data of the payload part in each data packet in the data packet group of the second format supplied from the plurality of sources is stored in the data packet of the first format. Dividing into data groups within the data capacity of the payload portion; and
(2) For each session, sequentially storing the data group divided in step (1) in the payload portion in each data packet of the first format;
(3) In the first area of the header in the data packet of the first format, correspond to the session to identify the plurality of sessions corresponding to each data stored in the payload part in step (2) Storing the attached session identification data, and adding a packet serial number indicating the order of the packets for each identification data to the second area of the header of the data packet;
(4) sequentially multiplexing packets of the first format for each session created in steps (2) and (3) in the order of packet generation;
(5) sequentially transmitting the data packets multiplexed in step (4);
(6) receiving the data packet transmitted in step (5) for each packet;
(7) demultiplexing each data packet received in step (6) using the session identification data of each data packet received in step (6);
(8) Based on the session identification data of each data packet demultiplexed in step (7), each data packet group demultiplexed in step (7) and the session to which the data packet group belongs Associating steps;
(9) combining the data in the payload portion of the data packet group demultiplexed in step (7) according to the packet serial number;
(10) Based on the session associated in step (8), associating the data combined in step (9) with a plurality of sources and the predetermined time period;
Including methods.
By doing so, the source information and session information of the data packet group of the second format to be multiplexed are stored in the unused area of the header portion of the data packet group of the first format. Therefore, it is not necessary to store the source information and session information (header information) of the data packet in the second format in the payload portion of the data packet in the first format. For this reason, only the information of the payload portion of the data packet in the second format can be stored in the payload portion of the data packet in the first format, and the data transmission efficiency can be improved.
Further, information (for example, image information) other than the data packet group of the second format and information of the data packet group of the second format, which can be multiplexed in the data packet group of the first format, Since they are received at the same time, both information sent at almost the same transmission time is almost synchronized (for example, the data transmission rate is 20 Mbps) without having to store time stamp information etc. on the transmission side. In this case, transmission is performed with a deviation of 1/10000 second or less, and the deviation is less than the range that can be perceived by a person even if display processing for a person is performed, and can be received at substantially the same time. For this reason, it is possible to synchronize both pieces of information (for example, video information and environmental information display of the video) without performing processing for synchronization, and the processing load for synchronization can be reduced.
Furthermore, even when time stamp information or the like is stored, it is not necessary to perform a process of reading the time stamp information in order to synchronize both pieces of information, so that the processing load can be reduced.
In addition, “(1) For each session, the data of the header part and the payload part in each data packet in the data packet group of the second format supplied from the plurality of sources is changed to the first format. Dividing into data groups within the data capacity of the payload portion in the data packet of "in the data packet", "dividing into data groups within the data capacity of the payload portion in the data packet of the first format" May be divided evenly and may be divided unevenly.
Note that “in the first area of the header in the data packet of the first format, the session corresponds to identify the plurality of sessions corresponding to each data stored in the payload portion in step (2). In the “store the attached session identification data”, it is necessary to use an area that does not affect the transmission and reception of MPEG2-TS as the “first area of the header”.

(発明A−2)
発明A−1に記載の方法であって、
前記ステップ(3)における、セッション識別データのために、最大同時セッション数の2倍の種類のデータを用意し、
最大同時セッション数の2倍の種類の前記セッション識別データは、2個毎に1対を形成し、
最初のセッションには、所定の1対のセッション識別データ対の一方を使用し、
同時セッションとなる新たなセッションには、それまで使用されていない、所定の1対のセッション識別データの一方を使用し、
同時セッションとならない新たなセッションには、過去に使用された前記所定の1対のセッション識別データ対の一方とは異なる、他方のセッション識別データを使用することによって、
前記過去に使用された前記所定の1対のセッション識別データ対の一方に対応する過去のセッションが既に終了したことを検知可能とする、
方法。
このようにすることによって、データのソース及びセッションが識別できると同時に、セッションの終了通知等を送受信すること無しに過去のセッションが終了したことを検知出来る。
(Invention A-2)
A method according to invention A-1,
For the session identification data in step (3), prepare twice as many types of data as the maximum number of simultaneous sessions,
The session identification data of twice the maximum number of simultaneous sessions forms a pair every two,
Use one of a predefined pair of session identification data for the first session,
For a new session to be a simultaneous session, use one of a predetermined pair of session identification data that has not been used before,
By using the other session identification data different from one of the predetermined pair of session identification data used in the past for a new session that does not become a simultaneous session,
It is possible to detect that a past session corresponding to one of the predetermined pair of session identification data pairs used in the past has already ended.
Method.
In this way, the source and session of the data can be identified, and at the same time, it can be detected that the past session has ended without transmitting / receiving a session end notification or the like.

(発明A−2−1)
発明A−2に記載の方法であって、
最大同時セッション数(i)がn個(1≦n;nは整数)である場合に、
前記1対のセッション識別データ対を、(xiy,XiY)
(ここで、xi=Xiが16進の1からnまでの整数、yが16進の所定の整数の定数、Yがyとは異なる別の整数の定数)のような16進の1対のn個のデータ群とした、
方法。
(Invention A-2-1)
A method according to invention A-2,
When the maximum number of simultaneous sessions (i) is n (1 ≦ n; n is an integer),
The pair of session identification data pairs is represented by (x i y, X i Y)
(Here, the x i = X i is hexadecimal 1 integer to n, predetermined integer constants y hexadecimal, Y is another integer constant that is different from the y) 1 hex like A pair of n data groups is used.
Method.

(発明A−2−2)
発明A−2−1に記載の方法であって、
前記nが、0<n≦9(nは整数)であり、
i=Xiが16進の1からnまでの整数であり、
yが16進の所定のアルファベット、Yがyとは異なる別のアルファベット
である、
方法。
このように構成することによって、1A、1B(16進)のような汎用されているデータ記述を用いて簡易に、ソース及びセッションの起源を認識可能である。なお、本発明では、1A、1Bには限定されず、その場合には、例えば1D、1F(16進)の対を用いて、ソース及びセッションの切り替わりを識別しても良い。
(Invention A-2-2)
The method according to Invention A-2-1,
N is 0 <n ≦ 9 (n is an integer);
x i = X i is an integer from 1 to n in hexadecimal,
y is a predetermined hexadecimal alphabet, Y is another alphabet different from y,
Method.
By configuring in this way, it is possible to easily recognize the source and the origin of the session using a general-purpose data description such as 1A and 1B (hexadecimal). In the present invention, the present invention is not limited to 1A and 1B. In that case, for example, a pair of 1D and 1F (hexadecimal) may be used to identify source and session switching.

(発明A−3)
以上のいずれかの発明に記載の方法であって、
前記第1の形式のデータ・パケット群を含むビット・ストリームが、MPEG2−TS(Transport Stream)であり、前記第1の形式のデータ・パケット内のヘッダ領域中の第1の領域が、PID領域内にあり、
前記第2の形式のデータ・パケット群のデータが、Ethernetのデータである
方法。
このようにすることによって、MPEG2−TS(Transport Stream)及びethernetのデータという、現在汎用されているデータ・パケットを、パケットサイズを気にせずにデータ伝送に広く用いることが可能となる。
(Invention A-3)
A method according to any one of the above inventions,
The bit stream including the data packet group of the first format is MPEG2-TS (Transport Stream), and the first area in the header area in the data packet of the first format is the PID area. In
A method in which the data of the second type of data packet group is Ethernet data.
By doing so, it is possible to widely use currently used data packets such as MPEG2-TS (Transport Stream) and ethernet data for data transmission without worrying about the packet size.

(発明B−1)(Bは接続時間帯により識別されるセッションを示すフラグを使用する発明群)
ヘッダ部とペイロード部を含む第1の形式のデータ・パケット群を含むビット・ストリーム内の、当該第1の各データ・パケット内に、接続時間帯毎に区別され、それぞれ所定の時間帯内に含まれる複数のセッションから成る、複数のソースから供給される、ヘッダ部とペイロード部を含む、前記第1の形式のデータ・パケットより多いデータ量を持つ第2の形式のデータ・パケット群のデータを多重化して送出し、受信された当該多重されたデータを逆多重する方法であって、送出された各データ・パケットはそれらの時間的先後関係を保ったまま順次受信されるものであり、同一ソースを起源とする当該第2の形式のデータ・パケット群のデータの各セッションにおいて、当該データの送出開始から完了までの時間が、所定の送出時間の範囲内にあるものであり、当該指定の送出時間内に送出された当該第2形式のデータ・パケット群のデータは、前記第1の形式のデータ・パケットのストリームとして所定の受信時間の範囲内において受信されるものであり、あるセッションにおける当該第2の形式のデータ・パケットの送出が、当該所定の送出時間内に終了した場合には、次のセッションの送出は当該所定の送出時間経過後に行われるものであり、
(1) 各セッション毎に、前記複数のソースから供給される第2の形式のデータ・パケット群内の各データ・パケット中のペイロード部のデータを、前記第1の形式のデータ・パケット内のペイロード部のデータ容量以内のデータ群に分割するステップと、
(2) 各セッション毎に、ステップ(1)で分割されたデータ群を、前記第1の形式の各データ・パケット内のペイロード部に順次格納するステップと、
(3) 前記第1の形式のデータ・パケット内のヘッダの第1の領域に、ステップ(2)でペイロード部に格納された各データに対応する前記複数のソース毎に区別されるセッションおよび接続時間帯毎に区別されるセッションを識別するためにセッションに対応づけられたセッション識別データを格納し、データ・パケットのヘッダの第2の領域に識別データ毎のパケットの順番を示すパケット通し番号を付加するステップと、
(4) ステップ(2)および(3)で作られた各セッション毎の第1の形式のパケットをパケット生成順に順次多重化するステップと、
(5) ステップ(4)で多重化されたデータ・パケットをシーケンシャルに送出するステップと、
(6) ステップ(5)で送出されたデータ・パケットを、パケット毎に受信するステップと、
(7) ステップ(6)で受信された各データ・パケットのセッション識別データを用いて、ステップ(6)で受信された各データ・パケットを逆多重するステップと、
(7−1) ステップ(7)において、あるソースから受信された最初のデータ・パケットであると識別された場合に、当該時点を時刻ゼロと設定した上、当該同じソースから受信される後続のデータ・パケット群を監視し、時刻が前記所定の受信時刻以内である場合に受信された、当該ソースから受信されたデータ・パケットのみを、当該ソースから送出された、同一セッションのデータ・パケットとして識別し、時刻が前記所定の受信時間以降に受信された、当該ソースから受信されたデータ・パケットを、当該ソースから送出された、後続の別セッションのデータ・パケットとして識別するステップと、
(8) ステップ(7)で逆多重された各データ・パケットのセッション識別データに基いて、ステップ(7−1)での識別から、ステップ(7)で逆多重された各データ・パケット群と、当該データ・パケット群の属するセッションとを対応付けるステップと、
(9) ステップ(7)で逆多重されたデータ・パケット群のペイロード部内のデータをパケット通し番号に従って、結合するステップと、
(10) ステップ(8)で対応付けられたセッションに基いて、ステップ(9)で結合されたデータと、複数のソース及び前記所定の時間帯とを対応付けるステップと、
を含む方法。
このように構成することによって、例えば「1A、1B」という4バイトの情報の1/4の1バイトの「1」を用いるだけで、ソース及びセッションを識別可能である。
(Invention B-1) (B is an invention group using a flag indicating a session identified by a connection time zone)
In the bit stream including the data packet group of the first format including the header part and the payload part, the first data packet is distinguished for each connection time zone, and each is within a predetermined time zone. Data of the second type data packet group having a larger amount of data than the first type of data packet, including the header part and the payload part, which are supplied from a plurality of sources and include a plurality of included sessions. Are multiplexed and transmitted, and the received multiplexed data is demultiplexed, and each transmitted data packet is sequentially received while maintaining their temporal and temporal relationship, In each session of data of the second type of data packet group that originates from the same source, the time from the start of transmission of the data to the completion is the predetermined transmission time. The data in the second format data packet group transmitted within the specified transmission time is within a predetermined reception time range as a stream of data packets in the first format. If the transmission of the data packet of the second format in a session is completed within the predetermined transmission time, the next session is transmitted after the predetermined transmission time has elapsed. And
(1) For each session, the data of the payload part in each data packet in the data packet group of the second format supplied from the plurality of sources is stored in the data packet of the first format. Dividing into data groups within the data capacity of the payload portion; and
(2) For each session, sequentially storing the data group divided in step (1) in the payload portion in each data packet of the first format;
(3) Sessions and connections distinguished for each of the plurality of sources corresponding to each data stored in the payload part in step (2) in the first area of the header in the data packet of the first format Session identification data associated with a session is stored in order to identify a session distinguished for each time period, and a packet serial number indicating the order of packets for each identification data is added to the second area of the header of the data packet. And steps to
(4) sequentially multiplexing packets of the first format for each session created in steps (2) and (3) in the order of packet generation;
(5) sequentially transmitting the data packets multiplexed in step (4);
(6) receiving the data packet transmitted in step (5) for each packet;
(7) demultiplexing each data packet received in step (6) using the session identification data of each data packet received in step (6);
(7-1) In step (7), when it is identified as the first data packet received from a certain source, the time point is set to time zero, and the subsequent data received from the same source The data packet group is monitored, and only the data packet received from the source that is received when the time is within the predetermined reception time is used as the data packet of the same session sent from the source. Identifying a data packet received from the source whose time was received after the predetermined reception time as a data packet of a subsequent session sent from the source; and
(8) Based on the session identification data of each data packet demultiplexed in step (7), from the identification in step (7-1), each data packet group demultiplexed in step (7) Associating the session to which the data packet group belongs;
(9) combining the data in the payload portion of the data packet group demultiplexed in step (7) according to the packet serial number;
(10) Based on the session associated in step (8), associating the data combined in step (9) with a plurality of sources and the predetermined time period;
Including methods.
By configuring in this way, it is possible to identify the source and the session only by using, for example, “1” that is a quarter of the 4-byte information “1A, 1B”.

(発明C−1)(Cは、例えば、MPEG2−TSに、MPEG2−TSより小さいパケット・データを多重する発明群)
ヘッダ部とペイロード部を含む第1の形式のデータ・パケット群を含むビット・ストリーム内の、当該第1の各データ・パケット内に、それぞれ複数のソース毎に区別され、それぞれ所定の時間帯内に含まれる複数のセッションから成る、複数のソースから供給される、ヘッダ部とペイロード部を含む、前記第1の形式のデータ・パケットより少ないデータ量を持つ第2の形式のデータ・パケット群のデータを多重化して送出し、受信された当該多重されたデータを逆多重する方法であって、
(1) 各セッション毎に、前記複数のソースから供給される第2の形式のデータ・パケット群内の各データ・パケット中のペイロード部のデータを、前記第1の形式のデータ・パケット内のペイロード部に順次多重するステップと、
(2) 前記第1の形式のデータ・パケット内のヘッダの第1の領域に、ステップ(1)でペイロード部に多重された各データに対応する前記複数のセッションを識別するためにセッションに対応づけられたセッション識別データを格納し、データ・パケットのヘッダの第2の領域に識別データ毎のパケットの順番を示すパケット通し番号を付加するステップと、
(3) ステップ(2)で作られた各セッション毎の第1の形式のパケットをパケット生成順に順次多重化するステップと、
(4) ステップ(3)で多重化されたデータ・パケットをシーケンシャルに送出するステップと、
(5) ステップ(4)で送出されたデータ・パケットを、パケット毎に受信するステップと、
(6) ステップ(5)で受信された各データ・パケットのセッション識別データを用いて、ステップ(5)で受信された各データ・パケットを逆多重するステップと、
(7) ステップ(6)で逆多重された各データ・パケットのセッション識別データに基いて、ステップ(6)で逆多重された各データ・パケット群と、当該データ・パケット群の属するセッションとを対応付けるステップと、
(8) ステップ(6)で逆多重されたデータ・パケット群のペイロード部内のデータを前記パケット通し番号に従って、結合するステップと、
(9) ステップ(7)で対応付けられたセッションに基いて、ステップ(8)で結合されたデータと、複数のソース及び前記所定の時間帯とを対応付けるステップと、
を含む方法。
このように、「第1の形式のデータ・パケットより少ないデータ量を持つ第2の形式のデータ・パケット群のデータを多重」する場合も、第2の形式のデータ・パケット群のヘッダ情報を、「第1の形式のデータ・パケット」のペイロード部にコピーする必要が無くなり、データ格納の効率化が図れる。
(Invention C-1) (C is an invention group in which, for example, MPEG2-TS is multiplexed with packet data smaller than MPEG2-TS)
In the first data packet in the bit stream including the data packet group of the first format including the header part and the payload part, each of the first data packets is distinguished for each of a plurality of sources, and each is within a predetermined time zone. A second type of data packet group having a smaller amount of data than the first type of data packet, comprising a header part and a payload part, supplied from a plurality of sources, comprising a plurality of sessions included in A method of multiplexing and sending data and demultiplexing the received multiplexed data,
(1) For each session, the data of the payload part in each data packet in the data packet group of the second format supplied from the plurality of sources is stored in the data packet of the first format. Sequentially multiplexing in the payload part;
(2) In the first area of the header in the data packet of the first format, correspond to the session to identify the plurality of sessions corresponding to each data multiplexed in the payload part in step (1) Storing the attached session identification data, and adding a packet serial number indicating the order of the packets for each identification data to the second area of the header of the data packet;
(3) sequentially multiplexing the packets in the first format for each session created in step (2) in the order of packet generation;
(4) sequentially transmitting the data packets multiplexed in step (3);
(5) receiving the data packet transmitted in step (4) for each packet;
(6) demultiplexing each data packet received in step (5) using the session identification data of each data packet received in step (5);
(7) Based on the session identification data of each data packet demultiplexed in step (6), each data packet group demultiplexed in step (6) and the session to which the data packet group belongs Associating steps;
(8) combining the data in the payload portion of the data packet group demultiplexed in step (6) according to the packet serial number;
(9) Based on the session associated in step (7), associating the data combined in step (8) with a plurality of sources and the predetermined time period;
Including methods.
In this way, even when “multiplexing data of the second type data packet group having a data amount smaller than that of the first type data packet”, the header information of the second type data packet group is used. Therefore, it is not necessary to copy to the payload portion of the “first format data packet”, and the efficiency of data storage can be improved.

(発明CB−1)(CBは、例えば、MPEG2−TSに、MPEG2−TSより小さいパケット・データを多重する場合で、更に、例えば「1」のような、ソースを表すフラグのみを使用する発明群)
ヘッダ部とペイロード部を含む第1の形式のデータ・パケット群を含むビット・ストリーム内の、当該第1の各データ・パケット内に、それぞれ複数のソース毎に区別され、それぞれ所定の時間帯内に含まれる複数のセッションから成る、複数のソースから供給される、ヘッダ部とペイロード部を含む、前記第1の形式のデータ・パケットより少ないデータ量を持つ第2の形式のデータ・パケット群のデータを多重化して送出し、受信された当該多重されたデータを逆多重する方法であって、送出された各データ・パケットはそれらの時間的先後関係を保ったまま順次受信されるものであり、同一ソースを起源とする当該第2の形式のデータ・パケット群のデータの各セッションにおいて、当該データの送出開始から完了までの時間が、所定の送出時間の範囲内にあるものであり、当該指定の送出時間内に送出された当該第2形式のデータ・パケット群のデータは、前記第1の形式のデータ・パケットのストリームとして所定の受信時間の範囲内において受信されるものであり、あるセッションにおける当該第2の形式のデータ・パケットの送出が、当該所定の送出時間内に終了した場合には、次のセッションの送出は当該所定の送出時間経過後に行われるものであり、
(1) 各セッション毎に、前記複数のソースから供給される第2の形式のデータ・パケット群内の各データ・パケット中のペイロード部のデータを、前記第1の形式のデータ・パケット内のペイロード部に順次格納するステップと、
(2) 前記第1の形式のデータ・パケット内のヘッダの第1の領域に、ステップ(1)でペイロード部に格納された各データに対応する前記複数のセッションを識別するためにセッションに対応づけられたセッション識別データを格納し、データ・パケットのヘッダの第2の領域に識別データ毎のパケットの順番を示すパケット通し番号を付加するステップと、
(3) ステップ(2)で作られた各セッション毎の第1の形式のパケットをパケット生成順に順次多重化するステップと、
(4) ステップ(3)で多重化されたデータ・パケットをシーケンシャルに送出するステップと、
(5) ステップ(4)で送出されたデータ・パケットを、パケット毎に受信するステップと、
(6) ステップ(5)で受信された各データ・パケットのセッション識別データを用いて、ステップ(5)で受信された各データ・パケットを逆多重するステップと、
(7) ステップ(6)において、あるソースから受信された最初のパケット・データであると識別された場合に、当該時点を時刻ゼロと設定した上、当該同じソースから受信される後続のパケット・データ群を監視し、時刻が前記所定の受信時間以内である場合に受信された、当該ソースから受信されたパケット・データのみを、当該ソースから送出された、同一セッションのパケット・データとして識別し、時刻が前記所定の受信時間以降に受信された、当該ソースから受信されたパケット・データを、当該ソースから送出された、後続の別セッションのパケット・データとして識別するステップと、
(8) ステップ(6)で識別された受信された各データ・パケットのソースの情報、及び、ステップ(7)で識別された、受信された各データ・パケットのセッション情報を用いて、ステップ(5)で受信された各データ・パケットのペイロード部内のデータを、各データ・パケットのソース及びセッションと対応付けるステップと、
(9) ステップ(6)で逆多重されたデータ・パケット群のペイロード部内のデータを前記パケット通し番号に従って、結合するステップと、
を含む方法。
このようにすることによって、「第1の形式のデータ・パケットより少ないデータ量を持つ第2の形式のデータ・パケット群のデータを多重」する場合も、第2の形式のデータ・パケット群のヘッダ情報を、「第1の形式のデータ・パケット」のペイロード部にコピーする必要が無くなり、データ多重の効率化が図れる。また、例えば「1A、1B」という4バイトの情報の1/4の1バイトの「1」を用いるだけで、ソース及びセッションを識別可能である。
(Invention CB-1) (CB is, for example, a case where packet data smaller than MPEG2-TS is multiplexed on MPEG2-TS, and further, for example, only a flag representing a source such as “1” is used. group)
In the first data packet in the bit stream including the data packet group of the first format including the header part and the payload part, each of the first data packets is distinguished for each of a plurality of sources, and each is within a predetermined time zone. A second type of data packet group having a smaller amount of data than the first type of data packet, comprising a header part and a payload part, supplied from a plurality of sources, comprising a plurality of sessions included in A method in which data is multiplexed and transmitted, and the received multiplexed data is demultiplexed, and each transmitted data packet is sequentially received while maintaining their temporal and temporal relationship. In each session of the data packet group of the second format that originates from the same source, the time from the start of transmission of the data to the completion is predetermined. The data of the second format data packet group that is within the range of the transmission time and is transmitted within the specified transmission time is a predetermined reception time as a stream of data packets of the first format. If the transmission of the data packet of the second format in a session is completed within the predetermined transmission time, the transmission of the next session is the predetermined transmission. It is done after the passage of time,
(1) For each session, the data of the payload part in each data packet in the data packet group of the second format supplied from the plurality of sources is stored in the data packet of the first format. Sequentially storing in the payload portion;
(2) In the first area of the header in the data packet of the first format, correspond to the session to identify the plurality of sessions corresponding to each data stored in the payload part in step (1) Storing the attached session identification data, and adding a packet serial number indicating the order of the packets for each identification data to the second area of the header of the data packet;
(3) sequentially multiplexing the packets in the first format for each session created in step (2) in the order of packet generation;
(4) sequentially transmitting the data packets multiplexed in step (3);
(5) receiving the data packet transmitted in step (4) for each packet;
(6) demultiplexing each data packet received in step (5) using the session identification data of each data packet received in step (5);
(7) In step (6), when it is identified that the packet data is the first packet data received from a certain source, the time point is set to zero, and the subsequent packet received from the same source The data group is monitored, and only packet data received from the source received when the time is within the predetermined reception time is identified as packet data of the same session sent from the source. Identifying packet data received from the source whose time was received after the predetermined reception time as packet data of a subsequent session sent from the source;
(8) Using the information of the source of each received data packet identified in step (6) and the session information of each received data packet identified in step (7), Associating the data in the payload portion of each data packet received in 5) with the source and session of each data packet;
(9) combining the data in the payload portion of the data packet group demultiplexed in step (6) according to the packet serial number;
Including methods.
By doing so, even when “multiplexing data of the second type data packet group having a data amount smaller than that of the first type data packet”, the second type data packet group It is not necessary to copy the header information to the payload portion of the “first format data packet”, and the efficiency of data multiplexing can be improved. Further, for example, the source and the session can be identified only by using 1 byte of “1” which is 1/4 of 4 bytes of information “1A, 1B”.

(発明D−1)(Dは、「1A+1B」のようなフラグを使用する発明群で、送出前の多重までを記載)
ヘッダ部とペイロード部を含む第1の形式のデータ・パケット群を含むビット・ストリーム内の、当該第1の各データ・パケット内に、それぞれ複数のソース毎に区別され、それぞれ所定の時間帯内に含まれる複数のセッションから成る、複数のソースから供給される、ヘッダ部とペイロード部を含む、前記第1の形式のデータ・パケットより多いデータ量を持つ第2の形式のデータ・パケット群のデータを多重するための方法であって、
(1) 各セッション毎に、前記複数のソースから供給される第2の形式のデータ・パケット群内の各データ・パケット中のペイロード部のデータを、前記第1の形式のデータ・パケット内のペイロード部のデータ容量以内のデータ群に分割するステップと、
(2) 各セッション毎に、ステップ(1)で分割されたデータ群を、前記第1の形式の各データ・パケット内のペイロード部に順次格納するステップと、
(3) 前記第1の形式のデータ・パケット内のヘッダの第1の領域に、ステップ(2)でペイロード部に格納された各データに対応する前記複数のセッションを識別するためにセッションに対応づけられたセッション識別データを格納し、データ・パケットのヘッダの第2の領域に識別データ毎のパケットの順番を示すパケット通し番号を付加するステップと、
(4) ステップ(2)および(3)で作られた各セッション毎の第1の形式のパケットをパケット生成順に順次多重化するステップと、
を含む方法。
このようにすることによって、多重される当該第2の形式のデータ・パケット群のデータのソース情報及びセッション情報は、第1の形式のデータ・パッケット群のヘッダ部分の不使用領域に多重されるので、第1の形式のデータ・パケットのペイロード部に、第2の形式のデータ・パケットのソース情報及びセッション情報(ヘッダ部の情報)を格納する必要が無くなる。このため、第1の形式のデータ・パケットのペイロード部には、第2の形式のデータ・パケットのペイロード部の情報のみを格納可能であり、データ送信効率の改善が図れる。
また、この発明に係る方法で多重化されたデータを受信する場合、第1の形式のデータ・パッケット群に多重され得る、第2の形式のデータ・パケット群以外の情報(例えば画像情報)と、第2の形式のデータ・パケット群の情報とが、ほぼ同一時刻に受信されるので、送信側で、タイム・スタンプ情報等をわざわざ格納しなくても、ほぼ同一の送信時刻に送出された、両者の情報が、ほぼ同期(例えばデータの送信レートを20Mbpsとした場合、1/10000秒以下のズレで送信され、人のための表示処理をしても人が知覚できる範囲以下のズレ)して、ほぼ同一の時刻に受信可能である。このため、同期のための処理を行わずに、両者の情報(例えば映像情報とその映像の環境情報表示)を同期させることが可能であり、同期のための処理負荷を軽減することが出来る。
さらに、タイム・スタンプ情報等が格納されていた場合でも、両者の情報の同期のためにタイム・スタンプ情報を読み出す処理を実施する必要がないために、処理負荷を軽減することが可能である。
「(1)各セッション毎に、前記複数のソースから供給される第2の形式のデータ・パケット群内の各データ・パケット中のペイロード部のデータを、前記第1の形式のデータ・パケット内のペイロード部のデータ容量以内のデータ群に分割するステップと、」において、「前記第1の形式のデータ・パケット内のペイロード部のデータ容量以内のデータ群に分割する」には、均等に分割する場合もあり、不均等に分割する場合も含まれる。
また、「前記第1の形式のデータ・パケット内のヘッダの第1の領域に、ステップ(2)でペイロード部に格納された各データに対応する前記複数のセッションを識別するためにセッションに対応づけられたセッション識別データを格納し」において、「ヘッダ領域内の不使用領域」は、MPEG2−TSの送受に影響を与えないような領域を用いる必要がある。
(Invention D-1) (D is an invention group that uses a flag such as “1A + 1B”, and describes up to multiplexing before transmission)
In the first data packet in the bit stream including the data packet group of the first format including the header part and the payload part, each of the first data packets is distinguished for each of a plurality of sources, and each is within a predetermined time zone. A second type of data packet group having a larger amount of data than the first type of data packet, including a header part and a payload part, supplied from a plurality of sources, consisting of a plurality of sessions included in A method for multiplexing data comprising:
(1) For each session, the data of the payload part in each data packet in the data packet group of the second format supplied from the plurality of sources is stored in the data packet of the first format. Dividing into data groups within the data capacity of the payload portion; and
(2) For each session, sequentially storing the data group divided in step (1) in the payload portion in each data packet of the first format;
(3) In the first area of the header in the data packet of the first format, correspond to the session to identify the plurality of sessions corresponding to each data stored in the payload part in step (2) Storing the attached session identification data, and adding a packet serial number indicating the order of the packets for each identification data to the second area of the header of the data packet;
(4) sequentially multiplexing packets of the first format for each session created in steps (2) and (3) in the order of packet generation;
Including methods.
By doing so, the source information and session information of the data packet group of the second format to be multiplexed are multiplexed in the unused area of the header portion of the data packet group of the first format. Therefore, it is not necessary to store the source information and session information (header information) of the data packet in the second format in the payload portion of the data packet in the first format. For this reason, only the information of the payload portion of the data packet in the second format can be stored in the payload portion of the data packet in the first format, and the data transmission efficiency can be improved.
Further, when receiving data multiplexed by the method according to the present invention, information other than the data packet group of the second format that can be multiplexed to the data packet group of the first format (for example, image information) Since the data packet group information in the second format is received at almost the same time, it is sent out at almost the same transmission time without having to store time stamp information or the like on the transmission side. , Information of both is almost synchronized (for example, if the data transmission rate is 20 Mbps, it is transmitted with a deviation of 1/10000 second or less, and the deviation is less than the range that can be perceived by a person even if display processing for people) Thus, reception is possible at substantially the same time. For this reason, it is possible to synchronize both pieces of information (for example, video information and environmental information display of the video) without performing processing for synchronization, and the processing load for synchronization can be reduced.
Furthermore, even when time stamp information or the like is stored, it is not necessary to perform a process of reading the time stamp information in order to synchronize both pieces of information, so that the processing load can be reduced.
“(1) For each session, the data of the payload part in each data packet in the second type data packet group supplied from the plurality of sources is included in the first type data packet. Divide into data groups within the data capacity of the payload part of "the data part within the data capacity of the payload part in the data packet of the first format" In some cases, it may be divided unevenly.
In addition, “corresponding to the session to identify the plurality of sessions corresponding to each data stored in the payload part in step (2) in the first area of the header in the data packet of the first format” In the “store the attached session identification data”, the “unused area in the header area” needs to use an area that does not affect the transmission and reception of MPEG2-TS.

(発明D−2)
発明D−1に記載の方法であって、
前記ステップ(3)における、セッション識別データのために、最大同時セッション数の2倍の種類のデータを用意し、
最大同時セッション数の2倍の種類の前記セッション識別データは、2個毎に1対を形成し、
最初のセッションには、所定の1対のセッション識別データ対の一方を使用し、
同時セッションとなる新たなセッションには、それまで使用されていない、所定の1対のセッション識別データの一方を使用し、
同時セッションとならない新たなセッションには、過去に使用された前記所定の1対のセッション識別データ対の一方とは異なる、他方のセッション識別データを使用することによって、
前記過去に使用された前記所定の1対のセッション識別データ対の一方に対応する過去のセッションが既に終了したことを検知可能とする、
方法。
このようにすることによって、データのソース及びセッションが識別できると同時に、セッションの終了通知等を送受信すること無しに過去のセッションが終了したことを検知出来る。
(Invention D-2)
A method according to invention D-1,
For the session identification data in step (3), prepare twice as many types of data as the maximum number of simultaneous sessions,
The session identification data of twice the maximum number of simultaneous sessions forms a pair every two,
Use one of a predefined pair of session identification data for the first session,
For a new session to be a simultaneous session, use one of a predetermined pair of session identification data that has not been used before,
By using the other session identification data different from one of the predetermined pair of session identification data used in the past for a new session that does not become a simultaneous session,
It is possible to detect that a past session corresponding to one of the predetermined pair of session identification data pairs used in the past has already ended.
Method.
In this way, the source and session of the data can be identified, and at the same time, it can be detected that the past session has ended without transmitting / receiving a session end notification or the like.

(発明D−2−1)
発明D−2に記載の方法であって、
最大同時セッション数(i)がn個(1≦n;nは整数)である場合に、
前記1対のセッション識別データ対を、(xiy,XiY)
(ここで、xi=Xiが16進の1からnまでの整数、yが16進の所定の整数の定数、Yがyとは異なる別の整数の定数)のような16進の1対のn個のデータ群とした、
方法。
(Invention D-2-1)
A method according to invention D-2,
When the maximum number of simultaneous sessions (i) is n (1 ≦ n; n is an integer),
The pair of session identification data pairs is represented by (x i y, X i Y)
(Here, the x i = X i is hexadecimal 1 integer to n, predetermined integer constants y hexadecimal, Y is another integer constant that is different from the y) 1 hex like A pair of n data groups is used.
Method.

(発明D−2−2)
発明D−2−1に記載の方法であって、
前記nが、0<n≦9(nは整数)であり、
i=Xiが16進の1からnまでの整数であり、
yが16進の所定のアルファベット、Yがyとは異なる別のアルファベット
である、
方法。
このように構成することによって、1A、1B(16進)のような汎用されているデータ記述を用いて簡易に、ソース及びセッションの起源を認識可能である。なお、本発明では、1A、1Bには限定されず、その場合には、例えば1D、1F(16進)の対を用いて、ソース及びセッションの切り替わりを識別しても良い。
(Invention D-2-2)
The method according to Invention D-2-1,
N is 0 <n ≦ 9 (n is an integer);
x i = X i is an integer from 1 to n in hexadecimal,
y is a predetermined hexadecimal alphabet, Y is another alphabet different from y,
Method.
By configuring in this way, it is possible to easily recognize the source and the origin of the session using a general-purpose data description such as 1A and 1B (hexadecimal). In the present invention, the present invention is not limited to 1A and 1B. In that case, for example, a pair of 1D and 1F (hexadecimal) may be used to identify source and session switching.

(発明D−3)
発明D−1、発明D−2、発明D−2−1、又は発明D−2−2のいずれかに記載の方法であって、
前記第1の形式のデータ・パケット群を含むビット・ストリームが、MPEG2−TS(Transport Stream)であり、前記第1の形式のデータ・パケット内のヘッダ領域中の第1の領域が、PID領域内にあり、
前記第2の形式のデータ・パケット群のデータが、Ethernetのデータである
方法。
このようにすることによって、MPEG2−TS(Transport Stream)及びethernetのデータという、現在汎用されているデータ・パケットを、パケットサイズを気にせずにデータ伝送に広く用いることが可能となる。
(Invention D-3)
The method according to any one of Invention D-1, Invention D-2, Invention D-2-1, or Invention D-2-2,
The bit stream including the data packet group of the first format is MPEG2-TS (Transport Stream), and the first area in the header area in the data packet of the first format is the PID area. In
A method in which the data of the second type of data packet group is Ethernet data.
By doing so, it is possible to widely use currently used data packets such as MPEG2-TS (Transport Stream) and ethernet data for data transmission without worrying about the packet size.

(発明E−1)(受信側のみを記載)
発明D−1に記載の方法によって多重されたデータを逆多重するための方法であって、
(1)発明D−1に記載の方法によって多重されたデータ中の、受信された各データ・パケットのセッション識別データを用いて、受信された各データ・パケットを逆多重するステップと、
(2) ステップ(1)で逆多重された各データ・パケットのセッション識別データに基いて、ステップ(1)で逆多重された各データ・パケット群と、当該データ・パケット群の属するセッションとを対応付けるステップと、
(3) ステップ(1)で逆多重されたデータ・パケット群のペイロード部内のデータを前記パケット通し番号に従って、結合するステップと、
(4) ステップ(2)で対応付けられたセッションに基いて、ステップ(3)で結合されたデータに、複数のソースと前記所定の時間帯を対応付けるステップと、
を含む方法。
このようにすることによって、第1の形式のデータ・パッケット群に多重され得る、第2の形式のデータ・パケット群以外の情報(例えば画像情報)と、第2の形式のデータ・パケット群の情報とが、ほぼ同一時刻に受信されるので、送信側で、タイム・スタンプ情報等をわざわざ格納しなくても、ほぼ同一の送信時刻に送出された、両者の情報が、ほぼ同期(例えばデータの送信レートを20Mbpsとした場合、1/10000秒以下のズレで送信され、人のための表示処理をしても人が知覚できる範囲以下のズレ)して、ほぼ同一の時刻に受信可能である。このため、同期のための処理を行わずに、両者の情報(例えば映像情報とその映像の環境情報表示)を同期させることが可能であり、同期のための処理負荷を軽減することが出来る。
さらに、タイム・スタンプ情報等が格納されていた場合でも、両者の情報の同期のためにタイム・スタンプ情報を読み出す処理を実施する必要がないために、処理負荷を軽減することが可能である。
(Invention E-1) (Only the receiving side is described)
A method for demultiplexing data multiplexed by the method according to invention D-1,
(1) demultiplexing each received data packet using the session identification data of each received data packet in the data multiplexed by the method described in Invention D-1.
(2) Based on the session identification data of each data packet demultiplexed in step (1), each data packet group demultiplexed in step (1) and the session to which the data packet group belongs Associating steps;
(3) combining the data in the payload portion of the data packet group demultiplexed in step (1) according to the packet serial number;
(4) Based on the session associated in step (2), associating the data combined in step (3) with a plurality of sources and the predetermined time period;
Including methods.
By doing so, information (for example, image information) other than the data packet group of the second format that can be multiplexed in the data packet group of the first format, and the data packet group of the second format Since the information is received at approximately the same time, both information sent at approximately the same transmission time is substantially synchronized (for example, data) without having to store time stamp information or the like on the transmitting side. When the transmission rate is 20 Mbps, transmission is done with a deviation of 1/10000 second or less, and even if display processing for people is done, the deviation is below the range that can be perceived by humans) and can be received at almost the same time is there. For this reason, it is possible to synchronize both pieces of information (for example, video information and environmental information display of the video) without performing processing for synchronization, and the processing load for synchronization can be reduced.
Furthermore, even when time stamp information or the like is stored, it is not necessary to perform a process of reading the time stamp information in order to synchronize both pieces of information, so that the processing load can be reduced.

(発明SOFT−1)
コンピュータに、以上のいずれかの発明に記載の方法を実行させるプログラム。
(Invention SOFT-1)
A program for causing a computer to execute the method according to any one of the above inventions.

(発明F−1)(発明D群の装置発明)(Dは、「1A+1B」のようなフラグを使用する発明群で、送出前の多重までのみを記載)
ヘッダ部とペイロード部を含む第1の形式のデータ・パケット群を含むビット・ストリーム内の、当該第1の各データ・パケット内に、それぞれ複数のソース毎に区別され、それぞれ所定の時間帯に含まれる複数のセッションから成る、複数のソースから供給される、ヘッダ部とペイロード部を含む、前記第1の形式のデータ・パケットより多いデータ量を持つ第2の形式のデータ・パケット群のデータを多重するための装置であって、
(1) 各セッション毎に、前記複数のソースから供給される第2の形式のデータ・パケット群内の各データ・パケット中のペイロード部のデータを、前記第1の形式のデータ・パケット内のペイロード部のデータ容量以内のデータ群に分割する分割手段と、
(2) 各セッション毎に、ステップ(1)で分割されたデータ群を、前記第1の形式の各データ・パケット内のペイロード部に順次格納する、データ群格納手段と、
(3) 前記第1の形式のデータ・パケット内のヘッダの第1の領域に、ステップ(2)でペイロード部に格納された各データに対応する前記複数のセッションを識別するためにセッションに対応づけられたセッション識別データを格納し、データ・パケットのヘッダの第2の領域に識別データ毎のパケットの順番を示すパケット通し番号を付加する、格納・付加手段と、
(4) ステップ(2)および(3)で作られた各セッション毎の第1の形式のパケットをパケット生成順に順次多重化する多重化手段と、
を含む装置。
このようにすることによって、多重される当該第2の形式のデータ・パケット群のデータのソース情報及びセッション情報は、第1の形式のデータ・パッケット群のヘッダ部分の不使用領域に多重されるので、第1の形式のデータ・パケットのペイロード部に、第2の形式のデータ・パケットのソース情報及びセッション情報(ヘッダ部の情報)を格納する必要が無くなる。このため、第1の形式のデータ・パケットのペイロード部には、第2の形式のデータ・パケットのペイロード部の情報のみを格納可能であり、データ送信効率の改善が図れる。
また、この発明に係る方法で多重化されたデータを受信する場合、第1の形式のデータ・パッケット群に多重され得る、第2の形式のデータ・パケット群以外の情報(例えば画像情報)と、第2の形式のデータ・パケット群の情報とが、ほぼ同一時刻に受信されるので、送信側で、タイム・スタンプ情報等をわざわざ格納しなくても、ほぼ同一の送信時刻に送出された、両者の情報が、ほぼ同期(例えばデータの送信レートを20Mbpsとした場合、1/10000秒以下のズレで送信され、人のための表示処理をしても人が知覚できる範囲以下のズレ)して、ほぼ同一の時刻に受信可能である。このため、同期のための処理を行わずに、両者の情報(例えば映像情報とその映像の環境情報表示)を同期させることが可能であり、同期のための処理負荷を軽減することが出来る。
さらに、タイム・スタンプ情報等が格納されていた場合でも、両者の情報の同期のためにタイム・スタンプ情報を読み出す処理を実施する必要がないために、処理負荷を軽減することが可能である。
なお、「(1)各セッション毎に、前記複数のソースから供給される第2の形式のデータ・パケット群内の各データ・パケット中のヘッダ部及びペイロード部のデータを、前記第1の形式のデータ・パケット内のペイロード部のデータ容量以内のデータ群に分割する分割手段と、」において、「前記第1の形式のデータ・パケット内のペイロード部のデータ容量以内のデータ群に分割する」には、均等に分割する場合もあり、不均等に分割する場合も含まれる。
また、「(3)前記第1の形式のデータ・パケット内のヘッダの第1の領域に、ステップ(2)でペイロード部に格納された各データに対応する前記複数のセッションを識別するためにセッションに対応づけられたセッション識別データを格納し」において、「ヘッダの第1の領域」は、MPEG2−TSの送受に影響を与えないような領域を用いる必要がある。
(Invention F-1) (Device Invention of Invention D Group) (D is an invention group that uses a flag such as “1A + 1B”, and describes only up to multiplexing before transmission)
In the first data packet in the bit stream including the data packet group of the first format including the header part and the payload part, each of the first data packets is distinguished for each of a plurality of sources, and each of them is in a predetermined time zone. Data of the second type data packet group having a larger amount of data than the first type of data packet, including the header part and the payload part, which are supplied from a plurality of sources and include a plurality of included sessions. A device for multiplexing
(1) For each session, the data of the payload part in each data packet in the data packet group of the second format supplied from the plurality of sources is stored in the data packet of the first format. A dividing means for dividing the payload portion into data groups within the data capacity;
(2) Data group storage means for sequentially storing the data group divided in step (1) for each session in the payload portion in each data packet of the first format;
(3) In the first area of the header in the data packet of the first format, correspond to the session to identify the plurality of sessions corresponding to each data stored in the payload part in step (2) Storage / addition means for storing the attached session identification data and adding a packet serial number indicating the order of the packets for each identification data to the second area of the header of the data packet;
(4) Multiplexing means for sequentially multiplexing the packets of the first format for each session created in steps (2) and (3) in the order of packet generation;
Including the device.
By doing so, the source information and session information of the data packet group of the second format to be multiplexed are multiplexed in the unused area of the header portion of the data packet group of the first format. Therefore, it is not necessary to store the source information and session information (header information) of the data packet in the second format in the payload portion of the data packet in the first format. For this reason, only the information of the payload portion of the data packet in the second format can be stored in the payload portion of the data packet in the first format, and the data transmission efficiency can be improved.
Further, when receiving data multiplexed by the method according to the present invention, information other than the data packet group of the second format that can be multiplexed to the data packet group of the first format (for example, image information) Since the data packet group information in the second format is received at almost the same time, it is sent out at almost the same transmission time without having to store time stamp information or the like on the transmission side. , Information of both is almost synchronized (for example, if the data transmission rate is 20 Mbps, it is transmitted with a deviation of 1/10000 second or less, and the deviation is less than the range that can be perceived by a person even if display processing for people) Thus, reception is possible at substantially the same time. For this reason, it is possible to synchronize both pieces of information (for example, video information and environmental information display of the video) without performing processing for synchronization, and the processing load for synchronization can be reduced.
Furthermore, even when time stamp information or the like is stored, it is not necessary to perform a process of reading the time stamp information in order to synchronize both pieces of information, so that the processing load can be reduced.
"(1) For each session, the data in the header part and the payload part in each data packet in the data packet group of the second form supplied from the plurality of sources is changed to the first form. "Division means for dividing the data packet into a data group within the data capacity of the payload part in the data packet of" in "The data is divided into data groups within the data capacity of the payload part in the data packet of the first format" Includes a case of dividing equally and a case of dividing unevenly.
Further, “(3) In order to identify the plurality of sessions corresponding to each data stored in the payload portion in step (2) in the first area of the header in the data packet of the first format” In “store session identification data associated with a session”, it is necessary to use an area that does not affect the transmission and reception of MPEG2-TS as the “first area of the header”.

(発明F−2)
発明F−1に記載の装置であって、
前記格納・付加手段における、セッション識別データのために、最大同時セッション数の2倍の種類のデータを用意し、
最大同時セッション数の2倍の種類の前記セッション識別データは、2個毎に1対を形成し、
最初のセッションには、所定の1対のセッション識別データ対の一方を使用し、
同時セッションとなる新たなセッションには、それまで使用されていない、所定の1対のセッション識別データの一方を使用し、
同時セッションとならない新たなセッションには、過去に使用された前記所定の1対のセッション識別データ対の一方とは異なる、他方のセッション識別データを使用することによって、
前記過去に使用された前記所定の1対のセッション識別データ対の一方に対応する過去のセッションが既に終了したことを検知可能とする、
装置。
このようにすることによって、データのソース及びセッションが識別できると同時に、セッションの終了通知等を送受信すること無しに過去のセッションが終了したことを検知出来る。
(Invention F-2)
An apparatus according to invention F-1,
For the session identification data in the storage / addition means, prepare data of twice the maximum number of simultaneous sessions,
The session identification data of twice the maximum number of simultaneous sessions forms a pair every two,
Use one of a predefined pair of session identification data for the first session,
For a new session to be a simultaneous session, use one of a predetermined pair of session identification data that has not been used before,
By using the other session identification data different from one of the predetermined pair of session identification data used in the past for a new session that does not become a simultaneous session,
It is possible to detect that a past session corresponding to one of the predetermined pair of session identification data pairs used in the past has already ended.
apparatus.
In this way, the source and session of the data can be identified, and at the same time, it can be detected that the past session has ended without transmitting / receiving a session end notification or the like.

(発明F−2−1)
発明F−2に記載の装置であって、
最大同時セッション数(i)がn個(1≦n;nは整数)である場合に、
前記1対のセッション識別データ対を、(xiy,XiY)
(ここで、xi=Xiが16進の1からnまでの整数、yが16進の所定の整数の定数、Yがyとは異なる別の整数の定数)のような16進の1対のn個のデータ群とした、
装置。
(Invention F-2-1)
An apparatus according to invention F-2,
When the maximum number of simultaneous sessions (i) is n (1 ≦ n; n is an integer),
The pair of session identification data pairs is represented by (x i y, X i Y)
(Here, the x i = X i is hexadecimal 1 integer to n, predetermined integer constants y hexadecimal, Y is another integer constant that is different from the y) 1 hex like A pair of n data groups is used.
apparatus.

(発明F−2−2)
発明F−2−1に記載の装置であって、
前記nが、0<n≦9(nは整数)であり、
i=Xiが16進の1からnまでの整数であり、
yが16進の所定のアルファベット、Yがyとは異なる別のアルファベット
である、
装置。
このように構成することによって、1A、1B(16進)のような汎用されているデータ記述を用いて簡易に、ソース及びセッションの起源を認識可能である。なお、本発明では、1A、1Bには限定されず、その場合には、例えば1D、1F(16進)の対を用いて、ソース及びセッションの切り替わりを識別しても良い。
(Invention F-2-2)
The apparatus according to Invention F-2-1,
N is 0 <n ≦ 9 (n is an integer);
x i = X i is an integer from 1 to n in hexadecimal,
y is a predetermined hexadecimal alphabet, Y is another alphabet different from y,
apparatus.
By configuring in this way, it is possible to easily recognize the source and the origin of the session using a general-purpose data description such as 1A and 1B (hexadecimal). In the present invention, the present invention is not limited to 1A and 1B. In that case, for example, a pair of 1D and 1F (hexadecimal) may be used to identify source and session switching.

(発明F−3)
発明F−1、発明F−2、発明F−2−1、又は、発明F−2−2のいずれかに記載の装置であって、
前記第1の形式のデータ・パケット群を含むビット・ストリームが、MPEG2−TS(Transport Stream)であり、前記第1の形式のデータ・パケット内のヘッダ領域中の第1の領域が、PID領域内にあり、
前記第2の形式のデータ・パケット群のデータが、Ethernetのデータである
装置。
このようにすることによって、MPEG2−TS(Transport Stream)及びethernetのデータという、現在汎用されているデータ・パケットを、パケットサイズを気にせずにデータ伝送に広く用いることが可能となる。
(Invention F-3)
The device according to any one of Invention F-1, Invention F-2, Invention F-2-1 or Invention F-2-2,
The bit stream including the data packet group of the first format is MPEG2-TS (Transport Stream), and the first area in the header area in the data packet of the first format is the PID area. In
The apparatus in which the data packet group data in the second format is Ethernet data.
By doing so, it is possible to widely use currently used data packets such as MPEG2-TS (Transport Stream) and ethernet data for data transmission without worrying about the packet size.

(発明G−1)(発明Fの装置によって多重されたデータを逆多重する装置)
発明F−1に記載の装置によって多重されたデータを逆多重するための装置であって、
(1)発明F−1に記載の装置によって多重されたデータ中の、受信された各データ・パケットのセッション識別データを用いて、受信された各データ・パケットを逆多重する、逆多重手段と、
(2) 前記逆多重手段で逆多重された各データ・パケットのヘッダ部の第1の領域に格納された前記複数のソース毎に区別される複数のセッションを識別するための識別データに基いて、前記逆多重された各データ・パケット群のセッションを対応付ける、セッション対応付け手段と、
(3) 前記逆多重手段で逆多重されたデータ・パケット群のペイロード部内のデータを前記パケット通し番号に従って、結合する結合手段と、
(4) セッション対応付け手段で対応付けられたセッションに基いて、前記結合手段で結合されたデータに、複数のソース及び前記所定の時間帯とを対応付ける、ソース・接続時間帯対応付け手段と、
を含む方法。
このようにすると、第1の形式のデータ・パッケット群に多重され得る、第2の形式のデータ・パケット群以外の情報(例えば画像情報)と、第2の形式のデータ・パケット群の情報とが、ほぼ同一時刻に受信されるので、送信側で、タイム・スタンプ情報等をわざわざ格納しなくても、ほぼ同一の送信時刻に送出された、両者の情報が、ほぼ同期(例えばデータの送信レートを20Mbpsとした場合、1/10000秒以下のズレで送信され、人のための表示処理をしても人が知覚できる範囲以下のズレ)して、ほぼ同一の時刻に受信可能である。このため、同期のための処理を行わずに、両者の情報(例えば映像情報とその映像の環境情報表示)を同期させることが可能であり、同期のための処理負荷を軽減することが出来る。
さらに、タイム・スタンプ情報等が格納されていた場合でも、両者の情報の同期のためにタイム・スタンプ情報を読み出す処理を実施する必要がないために、処理負荷を軽減することが可能である。
(Invention G-1) (Apparatus for demultiplexing data multiplexed by the apparatus of Invention F)
An apparatus for demultiplexing data multiplexed by the apparatus according to invention F-1,
(1) Demultiplexing means for demultiplexing each received data packet using the session identification data of each received data packet in the data multiplexed by the apparatus according to the invention F-1. ,
(2) Based on identification data for identifying a plurality of sessions distinguished for each of the plurality of sources stored in a first area of a header portion of each data packet demultiplexed by the demultiplexing means. Session associating means for associating a session of each demultiplexed data packet group;
(3) combining means for combining data in the payload portion of the data packet group demultiplexed by the demultiplexing means according to the packet serial number;
(4) Source / connection time zone association means for associating a plurality of sources and the predetermined time zone with the data combined by the connection unit based on the session associated with the session association unit;
Including methods.
In this way, information (for example, image information) other than the data packet group in the second format that can be multiplexed in the data packet group in the first format, information on the data packet group in the second format, Are received at almost the same time, so the sending side does not bother to store time stamp information etc., and the information sent at almost the same transmission time is almost synchronized (for example, data transmission). When the rate is set to 20 Mbps, transmission is performed with a deviation of 1/10000 second or less, and even if display processing for a person is performed, the deviation is within a range that can be perceived by a person, and can be received at substantially the same time. For this reason, it is possible to synchronize both pieces of information (for example, video information and environmental information display of the video) without performing processing for synchronization, and the processing load for synchronization can be reduced.
Furthermore, even when time stamp information or the like is stored, it is not necessary to perform a process of reading the time stamp information in order to synchronize both pieces of information, so that the processing load can be reduced.

(発明SOFT−2)
コンピュータを、発明F−1ないし発明G−2のいずれかの発明に記載の装置として機能させるプログラム。
(Invention SOFT-2)
A program for causing a computer to function as the device according to any one of inventions F-1 to G-2.

最後に、本願特許請求の範囲及び明細書で使用する用語の意義を表形式で以下に示す。

表1 本明細書中で用いられる用語の意義

Figure 2007235356

















Figure 2007235356
Finally, the meanings of the terms used in the claims and the specification of the present application are shown in tabular form below.

Table 1 Significance of terms used in this specification
Figure 2007235356

















Figure 2007235356

本発明によって、通信ルートにおいて、パケットの送信元情報やストリーム中の各ファイルの送信開始符号や終了符号等の情報を使用するプロトコルから、それらをヘッダに記載しない(使用しない)タイプのプロトコルに、複数の送信元からのデータを多重化して流す場合、および1つの送信元からの複数のデータを流す場合に、それぞれのデータを識別出来るようにして流すことが可能となる。   According to the present invention, in a communication route, from a protocol that uses information such as transmission source information of a packet and transmission start code and end code of each file in a stream, to a protocol that does not write (use) them in a header. When data from a plurality of transmission sources is multiplexed and flowed, and when a plurality of data from one transmission source is flowed, it is possible to flow the data so that each data can be identified.

以下、本発明の各種の実施例を図を参照しつつ説明する。但し、以下の説明は、あくまでも本発明の例示であり、以下の記載によって、本発明の技術的範囲が限定されるものではない。   Various embodiments of the present invention will be described below with reference to the drawings. However, the following description is merely an example of the present invention, and the technical scope of the present invention is not limited by the following description.

図7Aを参照する。
本図においては、ソース1(701)を起源としては、第2の形式の、或るセッションαのパケット群(70111を含む)、次のセッションδのパケット群(70131を含む)が送出される。同様に、ソース2(702)、及び、ソース3(703)を起源として、第2の形式のパケット群が送出される。
Refer to FIG. 7A.
In this figure, with source 1 (701) as the origin, a packet group of a certain session α (including 70111) and a packet group of the next session δ (including 70131) of the second format are transmitted. . Similarly, a packet group of the second format is transmitted from source 2 (702) and source 3 (703).

これらの第2の形式のパケット群のデータは、第2の形式のパケットより単位長が短い第1の形式のパケット群705内に多重される。
第2の形式のパケット群のデータが多重された、第1の形式のパケット群705内の各パケット(706,707,709,711,717等)は、ヘッダ部7061、7071、7091、7111、7171を持つ。
The data of the second type packet group is multiplexed in the first type packet group 705 having a unit length shorter than that of the second type packet.
Each packet (706, 707, 709, 711, 717, etc.) in the packet group 705 of the first format, in which data of the packet group of the second format is multiplexed, has a header part 7061, 7071, 7091, 7111, 7171.

当該ヘッダ部(例えば7061)には、出所情報識別データ部70611、及び、出所情報識別データ毎のパケットの順番を示す番号格納用データ部70613が含まれる。   The header portion (for example, 7061) includes a source information identification data portion 70611 and a number storage data portion 70613 that indicates the order of packets for each source information identification data.

本実施例1においては、この出所情報識別データ部70611に、例えば1A(16進)を多重する。ここで、1Aの「1」は、ソース1(701)を起源とするという意味であり、「A」は、「或るセッション」を起源とする、ということを表す。   In the first embodiment, for example, 1A (hexadecimal) is multiplexed in the origin information identification data portion 70611. Here, “1” of 1A means that it originates from the source 1 (701), and “A” means that it originates from “a certain session”.

一方、パケット717のヘッダ部7171内の出所情報識別データ部71711には、1B(16進)が多重されている。ここでも1Bの「1」は、ソース1(701)を起源とするという意味であるが、「B」は、「A」の「後の別のセッション」を意味する。   On the other hand, 1B (hexadecimal) is multiplexed in the origin information identification data portion 71711 in the header portion 7171 of the packet 717. Again, “1” in 1B means that it originates from source 1 (701), but “B” means “another session after” “A”.

このような情報を、第1の形式のパケット群705内の各パケット(706,707,709,711,717等)内のヘッダ部7061、7071、7091、7111、7171内の出所情報識別データ部70611、70711、70911、71111、71711に多重することによって、当該パケットの出所たるソースと、当該パケットが属するセッションが識別できる。   Such information is stored in the header information 7061, 7071, 7091, 7111, 7171 in each packet (706, 707, 709, 711, 717, etc.) in the packet group 705 in the first format. By multiplexing to 70611, 70711, 70911, 71111, and 71711, the source of the packet and the session to which the packet belongs can be identified.

例えば、パケット706とパケット707の出所情報識別データ部70611、70711のデータ(「1A」)から、これらは、ソース1を起源とした「或るセッション」中のパケットであることが把握される。パケット709の出所情報識別データ部70911のデータ「2A」から、これは、ソース2を起源とした「或るセッション」中のパケットであることが把握される。また、パケット711の出所情報識別データ部71111のデータ「3A」から、これは、ソース3を起源とした「或るセッション」中のパケットであることが把握される。その後のパケット717の出所情報識別データ部71711のデータ(「1B」)から、これは、パケット705と707と同じソース1を起源とするが、「次のセッション」中のパケットであることが把握される。   For example, from the data (“1A”) of the origin information identification data portions 70611 and 70711 of the packet 706 and the packet 707, it is understood that these are packets in “a session” originating from the source 1. From the data “2A” of the origin information identification data portion 70911 of the packet 709, it is understood that this is a packet in “a session” originating from the source 2. Further, from the data “3A” of the origin information identification data portion 71111 of the packet 711, it is understood that this is a packet in “a session” originating from the source 3. From the data (“1B”) in the source information identification data portion 71711 of the subsequent packet 717, it is understood that this originates from the same source 1 as the packets 705 and 707 but is in the “next session”. Is done.

次に、識別データ毎のパケットの順番を示す番号(70613,70713,70913,71113,71713に示される1や2など)は、パケット通信において一般的に使用されるパケットの生成順に付加される「カウンタ」値を意味し、伝送されるパケットの伝送順序が乱れた場合に、受信側で元の伝送順序に復元するために用いられる。   Next, numbers indicating the order of packets for each identification data (such as 1 and 2 shown in 70613, 70713, 70913, 71113, and 71713) are added in the order in which packets are generally used in packet communication. This value is used to restore the original transmission order on the receiving side when the transmission order of the transmitted packets is disturbed.

例えば、MPEG2−TSの場合は、「continuity_counter」と呼ばれる4ビットのカウンタ値が、出所情報識別データ毎に独立して、生成されるパケット1つに対し1つずつカウンタ値が増えてヘッダの中に付加される。このカウンタ値は”0”から始まり、上限(1111)2に達するとまた”0”から付加される。(通常のシステムでは数個レベルでパケットの前後関係が崩れることがあっても、10個以上の単位で前後関係が崩れることはないため、このやり方(4ビット=0〜15のカウンタ値)で十分である)。 For example, in the case of MPEG2-TS, a 4-bit counter value called “continuity_counter” is incremented by one for each generated packet, one for each source information identification data. To be added. The counter value starts from “0”, and is added from “0” when the upper limit (1111) 2 is reached. (In a normal system, even if the context of a packet breaks at several levels, the context does not break in units of 10 or more, so this method (4 bits = 0 to 15 counter value) It is enough).

この「識別データ毎のパケットの順番を示す番号」(以下「カウンタ値」と呼ぶ。)は、図7Aにおいては、上述のように、パケット群705中の各パケットの70613、70713、70913、71113、71713、等に格納される1、2などに相当する。そして、例えば、ソースを示す出所情報識別データが同じ1Aであるパケット(例えば、706と707)の、送出順序を保持するために用いられる。図7Aでは、パケット706の「カウンタ値」は1であるが、パケット707の「カウンタ値」は2である。これにより、仮に、受信側で、パケット707の方が、パケット706より早く受信された場合でも、送出順序はパケット706の方が早かったことが把握できる。   This “number indicating the order of packets for each identification data” (hereinafter referred to as “counter value”) is 70613, 70713, 70913, 71113 of each packet in the packet group 705 as described above in FIG. 7A. , 71713, and so on. For example, it is used to hold the transmission order of packets (eg, 706 and 707) having the same origin information identification data indicating the source of 1A. In FIG. 7A, the “counter value” of the packet 706 is 1, but the “counter value” of the packet 707 is 2. Thereby, even if the packet 707 is received earlier than the packet 706 on the receiving side, it can be understood that the packet 706 is earlier in the sending order.

従って、一旦ソースを示す出所情報識別データ「1A」が現れ、この後に送出されるパケットにおいて「1A」が再度現れた場合には、そのパケットのカウンタ値が直前のパケットと連番であれば、そのパケットは、直前のパケットと同じソース1を起源とする「或るセッション(最初の「1A」)」中のパケットであることが把握され、そのパケットのカウンタ値が直前の「1A」のパケットと連番でなければ、そのパケットは直前のパケットと同じソース1を起源とするが、「或るセッション(最初の「1A」)」の「次のセッション(最初の「1B])」の更に「次のセッション(次の「1A])」中のパケットであることが把握される。   Therefore, once the origin information identification data “1A” indicating the source appears, and “1A” appears again in a packet transmitted after that, if the counter value of the packet is a serial number with the immediately preceding packet, It is understood that the packet is a packet in “a session (first“ 1A ”)” that originates from the same source 1 as the previous packet, and the packet value of the previous packet is “1A”. If it is not a serial number, the packet originates from the same source 1 as that of the previous packet, but the “next session (first“ 1B]) ”of“ some session (first “1A”) ”further It is understood that the packet is in the “next session (next“ 1A ”)”.

なお、「1A」の後に「1B」の最初のパケットが来て、その後に再び「1A」が表れる場合、最初の「1A」の残りが通信途中で「1B」に追い抜かれてしまった場合と、「1B」が終了して次のセッションとして新たな「1A」が送られてきた場合の、2通りが考えられる。この場合、上述のようにカウンタ値で判断すると、どちらの場合か判別することが可能となる。   In addition, when the first packet of “1B” comes after “1A” and “1A” appears again thereafter, the remainder of the first “1A” is overtaken by “1B” during the communication. , “1B” is completed and a new “1A” is sent as the next session, and two ways are conceivable. In this case, if it is determined by the counter value as described above, it is possible to determine which case.

このようにして、2桁の記号1A、1B、2A、2B・・・等を、出所情報識別データ部(70611、70711、70911、71111、71711等)に多重することで、各パケットの起源となるソースと、各パケットの属するセッションが区別可能である。   In this way, by multiplexing the two-digit symbols 1A, 1B, 2A, 2B, etc. in the source information identification data section (70611, 70711, 70911, 71111, 71711, etc.), the origin of each packet is determined. And the session to which each packet belongs can be distinguished.

前記出所情報識別データ部(70611等)、及び、「識別データ毎のパケットの順番を示す番号」(70613等の”1”等)は、第1の形式のパケットのペイロード部(例えば7065)ではなく、ヘッダ部(例えば7061)内に多重されるので、図2の2063のようにペイロード部に出所情報識別データを多重することは無く、データ多重効率が向上する。   The origin information identification data part (70611 and the like) and the “number indicating the order of the packets for each identification data” (such as “1” such as 70613) are in the payload part (eg, 7065) of the first format packet. However, the source information identification data is not multiplexed in the payload portion as shown by 2063 in FIG. 2, and the data multiplexing efficiency is improved.

これは、図7Aのパケット706のペイロード部の多重データ7065の長さが”N”である一方、従来技術を示した図2のパケット206のペイロード部のデータ2065の長さが”n”(N>n)であることからはっきりする。このように、ペイロード部に格納可能な、出所情報識別データ以外の通常のデータの量が大きくなるのは、各ペイロード部(7065等)に、第2の形式のパケットのヘッダ情報(図2の2063等)を、コピーして、各パケットに全て多重する必要が無いためである。   This is because the length of the multiplexed data 7065 in the payload portion of the packet 706 in FIG. 7A is “N”, while the length of the data 2065 in the payload portion of the packet 206 in FIG. It is clear from N> n). As described above, the amount of normal data other than the origin information identification data that can be stored in the payload portion is increased in each payload portion (7065 etc.) in the header information of the packet in the second format (FIG. 2). This is because it is not necessary to copy and multiplex all of the packets into each packet.

また、図7Aのパケット群705中には、例えば映像情報等が多重された第1の形式の他のパケットが混合されている場合もある。そのような場合には、当該映像情報のパケットと、図示されたパケット群705のいずれにも時間情報(タイム・スタンプ等)を多重しなくても、受信側では、近似する時刻に受信された各パケット情報は、近似する時刻に送出したことが把握される。そのため、図7Aのパケット群705が、映像情報に付随するデータ(例えば、映像撮影時の気温等)であれば、受信側で映像に、映像撮影時の気温情報をオーバーラップして表示すること等が簡単に可能となる。つまり、各データ間の同期化が容易に図れる。   Further, in the packet group 705 of FIG. 7A, for example, other packets of the first format in which video information or the like is multiplexed may be mixed. In such a case, even if the time information (time stamp or the like) is not multiplexed in any of the video information packet and the packet group 705 shown in FIG. It is understood that each packet information is transmitted at an approximate time. Therefore, if the packet group 705 in FIG. 7A is data associated with video information (for example, temperature at the time of video shooting), the temperature information at the time of video shooting is displayed overlapping on the video on the receiving side. Etc. are easily possible. That is, synchronization between the data can be easily achieved.

図7Aの送出パケット群の受信方法が、図7Bに示される。
図7Bでは、パケット706及び707の出所情報部(70611及び70711)から、これらがソース1の「或るセッション」を起源とすることが識別される(”あ”731及び”い”733)。また、これらのパケット中の「識別データ毎のパケットの順番を示す番号」(70613及び70713)を参照することによって、”あ”731が、”い”733より先に送出されたことが認識され、仮に、伝送過程で”あ”731と、”い”733の順番が乱れた場合であっても、受信側で、正しい送出順序に整列して受信することが可能である。(なお、「あ731」等の右上の(1)等は、パケットの順番を示すパケット通し番号である。)
A method for receiving the transmission packet group in FIG. 7A is shown in FIG. 7B.
In FIG. 7B, it is identified from the origin information section (70611 and 70711) of the packets 706 and 707 that they originate from “a certain session” of the source 1 (“A” 731 and “I” 733). Further, by referring to “number indicating the order of packets for each identification data” (70613 and 70713) in these packets, it is recognized that “A” 731 was transmitted before “I” 733. Even if the order of “A” 731 and “I” 733 is disturbed in the transmission process, the receiving side can receive the signals in the correct transmission order. (Note that (1) in the upper right of “A731” etc. is a packet serial number indicating the order of the packets.)

次に、パケット709の出所情報部70911の「2A」から、これがソース2の「或るセッション」を起源とすることが識別され(”う”751)、パケット711の出所情報部71111の「3A」から、これがソース3の「或るセッション」を起源とすることが識別され(”え”771)、パケット717の出所情報部71711の「1B」から、これがソース1の「或るセッション」の次のセッションを起源とすることが識別される(”お”791)。   Next, it is identified from “2A” of the origin information section 70911 of the packet 709 that it originates from “a certain session” of the source 2 (“U” 751), and “3A” of the origin information section 71111 of the packet 711 is identified. ”Is identified as having originated from“ a certain session ”of source 3 (“ e ”771), and“ 1B ”of the source information portion 71711 of the packet 717 It is identified that it originates from the next session ("O" 791).

なお、第1の形式のパケット群が、MPEG2−TSである場合に、当該パケットのヘッダ部(7061等)中の出所情報部(70611等)中の識別データ(1A、1B等)は、図8のMPEG2−TSヘッダ・フォーマット中のPID中の不使用領域に多重することが可能である(以下の、他の実施例でも同様)。
PIDは、MPEG2−TSの用途に応じて、使用バイトが規定されているので、その使用バイト以外の、バイトを利用することになる。
When the packet group of the first format is MPEG2-TS, the identification data (1A, 1B, etc.) in the source information part (70611 etc.) in the header part (7061 etc.) of the packet is shown in FIG. It is possible to multiplex in the unused area in the PID in the MPEG2-TS header format of 8 (the same applies to other embodiments below).
The PID uses bytes other than the used bytes because the used bytes are defined according to the use of MPEG2-TS.

(1のみ使用:図9A、9B)
図9A及び9Bは、前記実施例1の出所情報部(70611等)へ多重された、各々2バイトの出所情報(1A、1B等)の代わりに、1、2等の1バイトの出所情報の多重で済ませるようにした例である。
(Only 1 is used: FIGS. 9A and 9B)
FIGS. 9A and 9B show the source information of 1 byte such as 1 or 2 instead of the source information (1A, 1B, etc.) of 2 bytes each multiplexed to the source information part (70611 etc.) of the first embodiment. This is an example in which multiple processes are completed.

本実施例では、送出される第2のビット・ストリーム(90111、90117、90119、90131等)の、各セッション(セッションα(9011)、δ(9013))毎の、最大送出時間長TSMAXが定められている。つまり、セッションα(9011)の最初のパケット90111が送出されてから、同じセッションα(9011)のパケットの最終パケット90119が送出されるまでの時間は、最大TSMAX920に規定されている。 In this embodiment, the maximum transmission time length T SMAX for each session (session α (9011), δ (9013)) of the second bit stream to be transmitted (90111, 90117, 90119, 90131, etc.) is It has been established. That is, the maximum time T SMAX 920 is defined between the time when the first packet 90111 of the session α (9011) is transmitted and the time when the final packet 90119 of the packet of the same session α (9011) is transmitted.

更に、TSMAX以内に送出が完了したセッションの場合には、次のセッションは必ず、TSMAX以降に開始するように規定される。そして、当該TSMAX以後に、同じソース901から送出されるパケットは、別のセッション(セッションδ(9013))に係るパケットと判断される。 Furthermore, in the case of a session that has been transmitted within T SMAX , it is specified that the next session always starts after T SMAX . Then, a packet transmitted from the same source 901 after the T SMAX is determined as a packet related to another session (session δ (9013)).

また、送出段階において、TSMAX以内に送出された第2の形式のビット・ストリームは、受信側において、TRMAX以内に受信される。 In the transmission stage, the bit stream of the second format transmitted within T SMAX is received within T RMAX on the receiving side.

このような条件設定を前提とした場合、図9Aにおいて、ソース1(901)のセッションα(9011)内の第2の形式のパケット(90111等)は、TSMAX以内に送出され、これらが多重された第1の形式のパケット(906等)は、TRMAX以内に受信される。そして、ソース1(901)の次のセッションδ(9013)に係るパケットは、TSMAX以降に送出され、これが受信されるのは、TRMAX以降である。 Assuming such condition setting, in FIG. 9A, the second type packet (such as 90111) in the session α (9011) of the source 1 (901) is transmitted within T SMAX and multiplexed. The first type of packet (such as 906) is received within TRMAX . A packet related to the next session δ (9013) of the source 1 (901) is transmitted after T SMAX and received after T RMAX .

このため、図9Bのように、受信側にタイマーを用意しておき、出所情報「1(90611)」の最初のパケット906を受信した時刻をゼロと設定し、当該パケット906及び、後続の、パケット(907等)で時刻TRMAX以前に受信されたもの(”あ”931、”い”933)のセッションを「或るセッション」と識別し、時刻TRMAX以降に受信された同じ出所情報「1(91711)」を持つパケット917(”お”991)のセッションは、最初のパケット906とは異なる「或るセッション」の次のセッションと識別することが可能である。 For this reason, as shown in FIG. 9B, a timer is prepared on the receiving side, the time when the first packet 906 of the source information “1 (90611)” is received is set to zero, the packet 906 and the following packet (907, etc.) at time T RMAX those previously received ( "a" 931, "have" 933) a session identified as "one session", the time T RMAX same source information received since " The session of the packet 917 (“O” 991) having “1 (91711)” can be identified as the next session of “a certain session” different from the first packet 906.

このようにすることによって、出所情報データとして、実施例1のような「1A,1B」という4バイトの情報の1/4の「1」という1バイトの情報で、出所の識別が可能となる。   In this way, as the origin information data, the origin can be identified by 1-byte information “1” that is 1/4 of the 4-byte information “1A, 1B” as in the first embodiment. .

(第1の形式のパケット長の方が長い場合:図10A、10B)
図10A及び10Bは、第1の形式のパケット長の方が、第2の形式のパケット長より長い場合を示す。
(When the packet length of the first format is longer: FIGS. 10A and 10B)
10A and 10B show the case where the packet length of the first format is longer than the packet length of the second format.

本実施例では、以上の実施例とは逆に、第1の形式のパケット(1005等)の長さの方が、第2の形式のパケット(100111等)の長さより長い。
この場合には、同じソース(例えば1001)の、同じセッション(例えばセッションα(10011))の、第2の形式のパケット(例えば、100111及び100117)が、第1の形式のパケット(例えば1005)に多重される。
In this embodiment, the length of the first format packet (1005, etc.) is longer than the length of the second format packet (100111, etc.), contrary to the above embodiment.
In this case, packets of the second format (eg, 100111 and 100117) of the same session (eg, session α (10011)) of the same source (eg, 1001) are changed to packets of the first format (eg, 1005). Is multiplexed.

第1の形式のパケット(例えば1005)のヘッダ部(10051等)の出所情報部100511には、前記実施例と同様に1A、1B等の出所情報が多重される。
本実施例の受信方法を示すのが図10Bである。
The origin information such as 1A and 1B is multiplexed in the origin information part 10000511 of the header part (10051 etc.) of the first format packet (for example, 1005).
FIG. 10B shows the reception method of this embodiment.

同じ出所情報を持つ”あ”、”い”等が同じ出所に起源を持つものとしてカテゴライズされている。
詳細については、上述の実施例と同様である。
また、いくつかの時間的条件設定を行うことによって、出所識別情報として「1A、1B」等の代わりに、「1」等を用いることが可能なのも同様である。
“A”, “I”, etc. with the same source information are categorized as having origins from the same source.
Details are the same as in the above-described embodiment.
Similarly, by setting several temporal conditions, “1” or the like can be used as the source identification information instead of “1A, 1B” or the like.

図11のように、送信側1102において、HDTVカメラ1101からのMPEG2−TS信号に、医療機器1105等からのUSB信号1117等を受ける、パソコン1103からのイーサーネット信号1121を、多重機1107によって多重し、MPEG2−TS信号1123としてネットワーク1109を伝送し、受信側1110において、逆多重機1111によって、イーサーネット・データ逆多重し、映像モニタ1113に、HDTVカメラ1101で撮影した映像を映し、パソコン1115に、当該映像と同時刻に得られた、医療機器1105からの医療データを表示する、等の広い用途が得られる。   As shown in FIG. 11, on the transmission side 1102, the multiplexer 1107 multiplexes the Ethernet signal 1121 from the personal computer 1103 that receives the USB signal 1117 from the medical device 1105 or the like to the MPEG2-TS signal from the HDTV camera 1101. Then, the network 1109 is transmitted as the MPEG2-TS signal 1123, and the Ethernet data is demultiplexed by the demultiplexer 1111 on the receiving side 1110, and the video captured by the HDTV camera 1101 is displayed on the video monitor 1113, and the personal computer 1115 In addition, a wide use such as displaying medical data obtained from the medical device 1105 obtained at the same time as the video can be obtained.

従来技術による多重方法を示す概念図。The conceptual diagram which shows the multiplexing method by a prior art. 従来技術による多重方法を示すパケット詳細図。The packet detailed drawing which shows the multiplexing method by a prior art. 所定の条件下でのパケットの送出シーケンス図。FIG. 7 is a sequence diagram of sending packets under a predetermined condition. 図3とは別の条件下でのパケットの送出シーケンス図。FIG. 4 is a sequence diagram for sending packets under conditions different from those in FIG. 3. Ethernet信号を説明する図面。The figure explaining an Ethernet signal. 多重化、格納、付加、の意義を解説する図面。Drawing explaining the significance of multiplexing, storing, adding. 本発明の実施例1の送出方法概説図。BRIEF DESCRIPTION OF THE DRAWINGS The delivery method general | schematic figure of Example 1 of this invention. 本発明の実施例1の受信方法概説図。FIG. 3 is a schematic diagram of a receiving method according to the first embodiment of the present invention. MPEG2−TSヘッダ・フォーマット。MPEG2-TS header format. 本発明の実施例2の送出方法概説図。The delivery method schematic diagram of Example 2 of this invention. 本発明の実施例2の受信方法概説図。FIG. 5 is a schematic diagram of a receiving method according to the second embodiment of the present invention. 本発明の実施例3の送出方法概説図。The delivery method schematic diagram of Example 3 of this invention. 本発明の実施例3の受信方法概説図。FIG. 6 is a schematic diagram of a receiving method according to a third embodiment of the present invention. 本発明を利用したシステム例。1 is a system example using the present invention.

符号の説明Explanation of symbols

100 映像信号源
101 信号源1
102 信号源2
103 信号源3
105 多重機
1001、1003、1005 MPEG2−TSのパケット群
1007、104、1009 プロトコル階層図
1011 イーサーネット信号
1011 イーサーネット信号源1(101)からのパケット
1011 信号源1(101)から供給されるイーサーネット信号
1011、1021、1031 イーサーネット信号のパケット群
1051 MPEG2−TS
1054、1056、1058 MPEG2−TS(1051)中のパケット群
10111 イーサーネット信号源1(101)からのパケット(1011)のヘッダ(10111)
10541、10561、10581 イーサーネット信号のヘッダ情報
10543、10563、10583 分割されたイーサーネット信号
201 ソース1
202 ソース2
203 ソース3
205 第1の形式のパケット群
206、207、217 多重後の第1の形式のパケット群(205)中のパケット
2063 受信されたパケット206中のペイロード部中の第2の形式のパケットのヘッダ情報
2065 図2のパケット206のペイロード部のデータ
2071 受信されたパケット207中のヘッダ情報
2173、2175 受信されたパケット217中のペイロード部
20111 第2の形式の、或るセッションα中のパケット
20113、20133 第1の形式のパケット群のヘッダ情報”i”
20131 或るセッションαの次のセッションδ中のパケット
611 素材データ
613 素材を分割しヘッダを付加した状態
615 PES(Packetized Elementary Stream)を分割し、更にヘッダを付加した状態
615a TSP−1(1)
615b TSP−1(2)
615c TSP−1(3)
621 符号化されたデジタル信号の流れ
623 PES データ(分割されたES、例えば映像1フレーム分)
625 分割されたPES
631 ES−3
633 PES−3
635 TSP−3
640 TS(Transport Stream)
6401(2) TSP−1(2)
6401(3) TSP−1(3)
6402(2) TSP−2(2)
6403(2) TSP−3(2)
701 ソース1
702 ソース2
703 ソース3
705 第2の形式のパケットより単位長が短い第1の形式のパケット群
706,707,709,711,717 第1の形式のパケット群(705)内の各パケット
731 ”あ”
733 ”い”
751 ”う”
771 ”え”
791 ”お”
7061 パケットのヘッダ部
7061、7071、7091、7111、7171 ヘッダ部
7065 パケット706のペイロード部の多重データ
7171 パケット717のヘッダ部
70111 第2の形式の、或るセッションαのパケット群中のパケット
70131 次のセッションδのパケット群中のパケット
70611、70711 パケット706及びパケット707の出所情報部
70613、70713 パケット中の「識別データ毎のパケットの順番を示す番号」
70611、70711、70911、71111、71711 出所情報識別データ部
70713、70913、71113、71713 パケット群705中の各パケット中のヘッダ部中に付加された識別データ毎のパケットの順番を示す番号
70613 出所情報識別データ毎のパケットの順番を示す番号格納用データ部
70911 パケット709の出所情報部
71111 パケット711の出所情報部
71711 パケット717の出所情報部
901 ソース
906 第1の形式の最初のパケット
917 TRmax以降に受信されたパケット
920 TSMAX
931 ”あ”
933 ”い”
991 ”お”
9011 セッションα
9011 送出される第2のビット・ストリーム(90111、90117、90119等)のセッションα
9013 セッションδ
9013 セッションδ
90111 セッションα(9011)の最初のパケット
90117、90119、90131 送出される第2のビット・ストリーム
90119 セッションα(9011)のパケットの最終パケット
90611 出所情報「1」
91711 出所情報「1」
1005 第1の形式のパケット群
10011 セッションα
10051 第1の形式のパケット(1005)のヘッダ部
1001 ソース
100111、100117 第2の形式のパケット
100511 第1の形式のパケット(1005)のヘッダ部(10051)の出所情報部
1101 HDTVカメラ
1102 送信側
1103 パソコン
1105 医療機器
1107 多重機
1109 ネットワーク
1110 受信側
1111 逆多重機
1113 映像モニタ
1115 パソコン
1117 USB信号
1121 イーサーネット信号
1123 MPEG2−TS信号
100 Video signal source
101 Signal source 1
102 Signal source 2
103 Signal source 3
105 Multiplexer
1001, 1003, 1005 MPEG2-TS packet group
1007, 104, 1009 Protocol hierarchy diagram
1011 Ethernet signal
1011 Packet from Ethernet signal source 1 (101)
1011 Ethernet signal supplied from signal source 1 (101)
1011, 1021, 1031 Ethernet signal packets
1051 MPEG2-TS
1054, 1056, 1058 Packet group in MPEG2-TS (1051)
10111 Header (10111) of packet (1011) from Ethernet signal source 1 (101)
10541, 10561, 10581 Ethernet signal header information
10543, 10563, 10583 Split Ethernet signal
201 Source 1
202 Source 2
203 Source 3
205 Packets of the first format
206, 207, 217 Packets in first type packet group (205) after multiplexing
2063 Header information of the second type packet in the payload part in the received packet 206
2065 Payload data of packet 206 in FIG.
2071 Header information in received packet 207
2173, 2175 Payload portion in received packet 217
20111 Second format packet in a session α
20113, 20133 First format packet group header information "i"
20131 Packets in the next session δ of a session α
611 Material data
613 Material split and header added
615 PES (Packetized Elementary Stream) divided and header added
615a TSP-1 (1)
615b TSP-1 (2)
615c TSP-1 (3)
621 Encoded digital signal flow
623 PES data (divided ES, eg 1 frame of video)
625 divided PES
631 ES-3
633 PES-3
635 TSP-3
640 TS (Transport Stream)
6401 (2) TSP-1 (2)
6401 (3) TSP-1 (3)
6402 (2) TSP-2 (2)
6403 (2) TSP-3 (2)
701 Source 1
702 Source 2
703 source 3
705 First type packet group whose unit length is shorter than that of the second type packet
706,707,709,711,717 Each packet in the first format packet group (705)
731 “Ah”
733 “I”
751 “U”
771 “E”
791 “O”
7061 packet header
7061, 7071, 7091, 7111, 7171 Header
7065 Multiplex data of payload part of packet 706
7171 Header of packet 717
70111 Packets in a packet group of a session α in the second format
70131 Packets in packet group of next session δ
70611, 70711 Source information section of packet 706 and packet 707
"Number indicating the packet order for each identification data" in 70613, 70713 packets
70611, 70711, 70911, 71111, 71711 Source information identification data part
70713, 70913, 71113, 71713 Numbers indicating the order of packets for each identification data added to the header portion of each packet in the packet group 705
70613 Number storage data part indicating the order of packets for each source information identification data
70911 Source information section of packet 709
71111 Source information section of packet 711
71711 Source information section of packet 717
901 source
906 First packet of the first format
917 T R max packets received since
920 T SMAX
931 “Ah”
933 “I”
991 “O”
9011 Session α
9011 Session α of the second bit stream to be transmitted (90111, 90117, 90119, etc.)
9013 Session δ
9013 Session δ
90111 The first packet of session α (9011)
90117, 90119, 90131 Second bit stream to be sent
90119 Last packet of session α (9011) packet
90611 Source information “1”
91711 Source information "1"
1005 First type packet group
10011 Session α
10051 Header portion of first format packet (1005)
1001 source
100111, 100117 Second format packet
100511 Source information part of header part (10051) of packet (1005) of the first format
1101 HDTV Camera
1102 Sender
1103 PC
1105 Medical equipment
1107 Multiplexer
1109 Network
1110 Receiver
1111 Demultiplexer
1113 video monitor
1115 PC
1117 USB signal
1121 Ethernet signal
1123 MPEG2-TS signal

Claims (22)

ヘッダ部とペイロード部を含む第1の形式のデータ・パケット群を含むビット・ストリーム内の、当該第1の各データ・パケット内に、それぞれ複数のソース毎に区別され、それぞれ所定の時間帯内に含まれる複数のセッションから成る、複数のソースから供給される、ヘッダ部とペイロード部を含む、前記第1の形式のデータ・パケットより多いデータ量を持つ第2の形式のデータ・パケット群のデータを多重化して送出し、受信された当該多重されたデータを逆多重する方法であって、
(1) 各セッション毎に、前記複数のソースから供給される第2の形式のデータ・パケット群内の各データ・パケット中のペイロード部のデータを、前記第1の形式のデータ・パケット内のペイロード部のデータ容量以内のデータ群に分割するステップと、
(2) 各セッション毎に、ステップ(1)で分割されたデータ群を、前記第1の形式の各データ・パケット内のペイロード部に順次格納するステップと、
(3) 前記第1の形式のデータ・パケット内のヘッダの第1の領域に、ステップ(2)でペイロード部に格納された各データに対応する前記複数のセッションを識別するためにセッションに対応づけられたセッション識別データを格納し、データ・パケットのヘッダの第2の領域に識別データ毎のパケットの順番を示すパケット通し番号を付加するステップと、
(4) ステップ(2)および(3)で作られた各セッション毎の第1の形式のパケットをパケット生成順に順次多重化するステップと、
(5) ステップ(4)で多重化されたデータ・パケットをシーケンシャルに送出するステップと、
(6) ステップ(5)で送出されたデータ・パケットを、パケット毎に受信するステップと、
(7) ステップ(6)で受信された各データ・パケットのセッション識別データを用いて、ステップ(6)で受信された各データ・パケットを逆多重するステップと、
(8) ステップ(7)で逆多重された各データ・パケットのセッション識別データに基いて、ステップ(7)で逆多重された各データ・パケット群と、当該データ・パケット群の属するセッションとを対応付けるステップと、
(9) ステップ(7)で逆多重されたデータ・パケット群のペイロード部内のデータを前記パケット通し番号に従って、結合するステップと、
(10) ステップ(8)で対応付けられたセッションに基いて、ステップ(9)で結合されたデータと、複数のソース及び前記所定の時間帯とを対応付けるステップと、
を含む方法。
In the first data packet in the bit stream including the data packet group of the first format including the header part and the payload part, each of the first data packets is distinguished for each of a plurality of sources, and each is within a predetermined time zone. A second type of data packet group having a larger amount of data than the first type of data packet, including a header part and a payload part, supplied from a plurality of sources, consisting of a plurality of sessions included in A method of multiplexing and sending data and demultiplexing the received multiplexed data,
(1) For each session, the data of the payload part in each data packet in the data packet group of the second format supplied from the plurality of sources is stored in the data packet of the first format. Dividing into data groups within the data capacity of the payload portion; and
(2) For each session, sequentially storing the data group divided in step (1) in the payload portion in each data packet of the first format;
(3) In the first area of the header in the data packet of the first format, correspond to the session to identify the plurality of sessions corresponding to each data stored in the payload part in step (2) Storing the attached session identification data, and adding a packet serial number indicating the order of the packets for each identification data to the second area of the header of the data packet;
(4) sequentially multiplexing packets of the first format for each session created in steps (2) and (3) in the order of packet generation;
(5) sequentially transmitting the data packets multiplexed in step (4);
(6) receiving the data packet transmitted in step (5) for each packet;
(7) demultiplexing each data packet received in step (6) using the session identification data of each data packet received in step (6);
(8) Based on the session identification data of each data packet demultiplexed in step (7), each data packet group demultiplexed in step (7) and the session to which the data packet group belongs Associating steps;
(9) combining the data in the payload portion of the data packet group demultiplexed in step (7) according to the packet serial number;
(10) Based on the session associated in step (8), associating the data combined in step (9) with a plurality of sources and the predetermined time period;
Including methods.
請求項1に記載の方法であって、
前記ステップ(3)における、セッション識別データのために、最大同時セッション数の2倍の種類のデータを用意し、
最大同時セッション数の2倍の種類の前記セッション識別データは、2個毎に1対を形成し、
最初のセッションには、所定の1対のセッション識別データ対の一方を使用し、
同時セッションとなる新たなセッションには、それまで使用されていない、所定の1対のセッション識別データの一方を使用し、
同時セッションとならない新たなセッションには、過去に使用された前記所定の1対のセッション識別データ対の一方とは異なる、他方のセッション識別データを使用することによって、
前記過去に使用された前記所定の1対のセッション識別データ対の一方に対応する過去のセッションが既に終了したことを検知可能とする、
方法。
The method of claim 1, comprising:
For the session identification data in step (3), prepare twice as many types of data as the maximum number of simultaneous sessions,
The session identification data of twice the maximum number of simultaneous sessions forms a pair every two,
Use one of a predefined pair of session identification data for the first session,
For a new session to be a simultaneous session, use one of a predetermined pair of session identification data that has not been used before,
By using the other session identification data different from one of the predetermined pair of session identification data used in the past for a new session that does not become a simultaneous session,
It is possible to detect that a past session corresponding to one of the predetermined pair of session identification data pairs used in the past has already ended.
Method.
請求項2に記載の方法であって、
最大同時セッション数(i)がn個(1≦n;nは整数)である場合に、
前記1対のセッション識別データ対を、(xiy,XiY)
(ここで、xi=Xiが16進の1からnまでの整数、yが16進の所定の整数の定数、Yがyとは異なる別の整数の定数)のような16進の1対のn個のデータ群とした、
方法。
The method of claim 2, comprising:
When the maximum number of simultaneous sessions (i) is n (1 ≦ n; n is an integer),
The pair of session identification data pairs is represented by (x i y, X i Y)
(Here, the x i = X i is hexadecimal 1 integer to n, predetermined integer constants y hexadecimal, Y is another integer constant that is different from the y) 1 hex like A pair of n data groups is used.
Method.
請求項3に記載の方法であって、
前記nが、0<n≦9(nは整数)であり、
i=Xiが16進の1からnまでの整数であり、
yが16進の所定のアルファベット、Yがyとは異なる別のアルファベット
である、
方法。
The method of claim 3, comprising:
N is 0 <n ≦ 9 (n is an integer);
x i = X i is an integer from 1 to n in hexadecimal,
y is a predetermined hexadecimal alphabet, Y is another alphabet different from y,
Method.
以上のいずれかの請求項に記載の方法であって、
前記第1の形式のデータ・パケット群を含むビット・ストリームが、MPEG2−TS(Transport Stream)であり、前記第1の形式のデータ・パケット内のヘッダ領域中の第1の領域が、PID領域内にあり、
前記第2の形式のデータ・パケット群のデータが、Ethernetのデータである
方法。
A method according to any of the above claims,
The bit stream including the data packet group of the first format is MPEG2-TS (Transport Stream), and the first area in the header area in the data packet of the first format is the PID area. In
A method in which the data of the second type of data packet group is Ethernet data.
ヘッダ部とペイロード部を含む第1の形式のデータ・パケット群を含むビット・ストリーム内の、当該第1の各データ・パケット内に、接続時間帯毎に区別され、それぞれ所定の時間帯内に含まれる複数のセッションから成る、複数のソースから供給される、ヘッダ部とペイロード部を含む、前記第1の形式のデータ・パケットより多いデータ量を持つ第2の形式のデータ・パケット群のデータを多重化して送出し、受信された当該多重されたデータを逆多重する方法であって、送出された各データ・パケットはそれらの時間的先後関係を保ったまま順次受信されるものであり、同一ソースを起源とする当該第2の形式のデータ・パケット群のデータの各セッションにおいて、当該データの送出開始から完了までの時間が、所定の送出時間の範囲内にあるものであり、当該指定の送出時間内に送出された当該第2形式のデータ・パケット群のデータは、前記第1の形式のデータ・パケットのストリームとして所定の受信時間の範囲内において受信されるものであり、あるセッションにおける当該第2の形式のデータ・パケットの送出が、当該所定の送出時間内に終了した場合には、次のセッションの送出は当該所定の送出時間経過後に行われるものであり、
(1) 各セッション毎に、前記複数のソースから供給される第2の形式のデータ・パケット群内の各データ・パケット中のペイロード部のデータを、前記第1の形式のデータ・パケット内のペイロード部のデータ容量以内のデータ群に分割するステップと、
(2) 各セッション毎に、ステップ(1)で分割されたデータ群を、前記第1の形式の各データ・パケット内のペイロード部に順次格納するステップと、
(3) 前記第1の形式のデータ・パケット内のヘッダの第1の領域に、ステップ(2)でペイロード部に格納された各データに対応する前記複数のソース毎に区別されるセッションおよび接続時間帯毎に区別されるセッションを識別するためにセッションに対応づけられたセッション識別データを格納し、データ・パケットのヘッダの第2の領域に識別データ毎のパケットの順番を示すパケット通し番号を付加するステップと、
(4) ステップ(2)および(3)で作られた各セッション毎の第1の形式のパケットをパケット生成順に順次多重化するステップと、
(5) ステップ(4)で多重化されたデータ・パケットをシーケンシャルに送出するステップと、
(6) ステップ(5)で送出されたデータ・パケットを、パケット毎に受信するステップと、
(7) ステップ(6)で受信された各データ・パケットのセッション識別データを用いて、ステップ(6)で受信された各データ・パケットを逆多重するステップと、
(7−1) ステップ(7)において、あるソースから受信された最初のデータ・パケットであると識別された場合に、当該時点を時刻ゼロと設定した上、当該同じソースから受信される後続のデータ・パケット群を監視し、時刻が前記所定の受信時刻以内である場合に受信された、当該ソースから受信されたデータ・パケットのみを、当該ソースから送出された、同一セッションのデータ・パケットとして識別し、時刻が前記所定の受信時間以降に受信された、当該ソースから受信されたデータ・パケットを、当該ソースから送出された、後続の別セッションのデータ・パケットとして識別するステップと、
(8) ステップ(7)で逆多重された各データ・パケットのセッション識別データに基いて、ステップ(7−1)での識別から、ステップ(7)で逆多重された各データ・パケット群と、当該データ・パケット群の属するセッションとを対応付けるステップと、
(9) ステップ(7)で逆多重されたデータ・パケット群のペイロード部内のデータをパケット通し番号に従って、結合するステップと、
(10) ステップ(8)で対応付けられたセッションに基いて、ステップ(9)で結合されたデータと、複数のソース及び前記所定の時間帯とを対応付けるステップと、
を含む方法。
In the bit stream including the data packet group of the first format including the header part and the payload part, the first data packet is distinguished for each connection time zone, and each is within a predetermined time zone. Data of the second type data packet group having a larger amount of data than the first type of data packet, including the header part and the payload part, which are supplied from a plurality of sources and include a plurality of included sessions. Are multiplexed and transmitted, and the received multiplexed data is demultiplexed, and each transmitted data packet is sequentially received while maintaining their temporal and temporal relationship, In each session of data of the second type of data packet group that originates from the same source, the time from the start of transmission of the data to the completion is the predetermined transmission time The data in the second format data packet group transmitted within the specified transmission time is within a predetermined reception time range as a stream of data packets in the first format. If the transmission of the data packet of the second format in a session is completed within the predetermined transmission time, the next session is transmitted after the predetermined transmission time has elapsed. And
(1) For each session, the data of the payload part in each data packet in the data packet group of the second format supplied from the plurality of sources is stored in the data packet of the first format. Dividing into data groups within the data capacity of the payload portion; and
(2) For each session, sequentially storing the data group divided in step (1) in the payload portion in each data packet of the first format;
(3) Sessions and connections distinguished for each of the plurality of sources corresponding to each data stored in the payload part in step (2) in the first area of the header in the data packet of the first format Session identification data associated with a session is stored in order to identify a session distinguished for each time period, and a packet serial number indicating the order of packets for each identification data is added to the second area of the header of the data packet. And steps to
(4) sequentially multiplexing packets of the first format for each session created in steps (2) and (3) in the order of packet generation;
(5) sequentially transmitting the data packets multiplexed in step (4);
(6) receiving the data packet transmitted in step (5) for each packet;
(7) demultiplexing each data packet received in step (6) using the session identification data of each data packet received in step (6);
(7-1) In step (7), when it is identified as the first data packet received from a certain source, the time point is set to time zero, and the subsequent data received from the same source The data packet group is monitored, and only the data packet received from the source that is received when the time is within the predetermined reception time is used as the data packet of the same session sent from the source. Identifying a data packet received from the source whose time was received after the predetermined reception time as a data packet of a subsequent session sent from the source; and
(8) Based on the session identification data of each data packet demultiplexed in step (7), from the identification in step (7-1), each data packet group demultiplexed in step (7) Associating the session to which the data packet group belongs;
(9) combining the data in the payload portion of the data packet group demultiplexed in step (7) according to the packet serial number;
(10) Based on the session associated in step (8), associating the data combined in step (9) with a plurality of sources and the predetermined time period;
Including methods.
ヘッダ部とペイロード部を含む第1の形式のデータ・パケット群を含むビット・ストリーム内の、当該第1の各データ・パケット内に、それぞれ複数のソース毎に区別され、それぞれ所定の時間帯内に含まれる複数のセッションから成る、複数のソースから供給される、ヘッダ部とペイロード部を含む、前記第1の形式のデータ・パケットより少ないデータ量を持つ第2の形式のデータ・パケット群のデータを多重化して送出し、受信された当該多重されたデータを逆多重する方法であって、
(1) 各セッション毎に、前記複数のソースから供給される第2の形式のデータ・パケット群内の各データ・パケット中のペイロード部のデータを、前記第1の形式のデータ・パケット内のペイロード部に順次多重するステップと、
(2) 前記第1の形式のデータ・パケット内のヘッダの第1の領域に、ステップ(1)でペイロード部に多重された各データに対応する前記複数のセッションを識別するためにセッションに対応づけられたセッション識別データを格納し、データ・パケットのヘッダの第2の領域に識別データ毎のパケットの順番を示すパケット通し番号を付加するステップと、
(3) ステップ(2)で作られた各セッション毎の第1の形式のパケットをパケット生成順に順次多重化するステップと、
(4) ステップ(3)で多重化されたデータ・パケットをシーケンシャルに送出するステップと、
(5) ステップ(4)で送出されたデータ・パケットを、パケット毎に受信するステップと、
(6) ステップ(5)で受信された各データ・パケットのセッション識別データを用いて、ステップ(5)で受信された各データ・パケットを逆多重するステップと、
(7) ステップ(6)で逆多重された各データ・パケットのセッション識別データに基いて、ステップ(6)で逆多重された各データ・パケット群と、当該データ・パケット群の属するセッションとを対応付けるステップと、
(8) ステップ(6)で逆多重されたデータ・パケット群のペイロード部内のデータを前記パケット通し番号に従って、結合するステップと、
(9) ステップ(7)で対応付けられたセッションに基いて、ステップ(8)で結合されたデータと、複数のソース及び前記所定の時間帯とを対応付けるステップと、
を含む方法。
In the first data packet in the bit stream including the data packet group of the first format including the header part and the payload part, each of the first data packets is distinguished for each of a plurality of sources, and each is within a predetermined time zone. A second type of data packet group having a smaller amount of data than the first type of data packet, comprising a header part and a payload part, supplied from a plurality of sources, comprising a plurality of sessions included in A method of multiplexing and sending data and demultiplexing the received multiplexed data,
(1) For each session, the data of the payload part in each data packet in the data packet group of the second format supplied from the plurality of sources is stored in the data packet of the first format. Sequentially multiplexing in the payload part;
(2) In the first area of the header in the data packet of the first format, correspond to the session to identify the plurality of sessions corresponding to each data multiplexed in the payload part in step (1) Storing the attached session identification data, and adding a packet serial number indicating the order of the packets for each identification data to the second area of the header of the data packet;
(3) sequentially multiplexing the packets in the first format for each session created in step (2) in the order of packet generation;
(4) sequentially transmitting the data packets multiplexed in step (3);
(5) receiving the data packet transmitted in step (4) for each packet;
(6) demultiplexing each data packet received in step (5) using the session identification data of each data packet received in step (5);
(7) Based on the session identification data of each data packet demultiplexed in step (6), each data packet group demultiplexed in step (6) and the session to which the data packet group belongs Associating steps;
(8) combining the data in the payload portion of the data packet group demultiplexed in step (6) according to the packet serial number;
(9) Based on the session associated in step (7), associating the data combined in step (8) with a plurality of sources and the predetermined time period;
Including methods.
ヘッダ部とペイロード部を含む第1の形式のデータ・パケット群を含むビット・ストリーム内の、当該第1の各データ・パケット内に、それぞれ複数のソース毎に区別され、それぞれ所定の時間帯内に含まれる複数のセッションから成る、複数のソースから供給される、ヘッダ部とペイロード部を含む、前記第1の形式のデータ・パケットより少ないデータ量を持つ第2の形式のデータ・パケット群のデータを多重化して送出し、受信された当該多重されたデータを逆多重する方法であって、送出された各データ・パケットはそれらの時間的先後関係を保ったまま順次受信されるものであり、同一ソースを起源とする当該第2の形式のデータ・パケット群のデータの各セッションにおいて、当該データの送出開始から完了までの時間が、所定の送出時間の範囲内にあるものであり、当該指定の送出時間内に送出された当該第2形式のデータ・パケット群のデータは、前記第1の形式のデータ・パケットのストリームとして所定の受信時間の範囲内において受信されるものであり、あるセッションにおける当該第2の形式のデータ・パケットの送出が、当該所定の送出時間内に終了した場合には、次のセッションの送出は当該所定の送出時間経過後に行われるものであり、
(1) 各セッション毎に、前記複数のソースから供給される第2の形式のデータ・パケット群内の各データ・パケット中のペイロード部のデータを、前記第1の形式のデータ・パケット内のペイロード部に順次格納するステップと、
(2) 前記第1の形式のデータ・パケット内のヘッダの第1の領域に、ステップ(1)でペイロード部に格納された各データに対応する前記複数のセッションを識別するためにセッションに対応づけられたセッション識別データを格納し、データ・パケットのヘッダの第2の領域に識別データ毎のパケットの順番を示すパケット通し番号を付加するステップと、
(3) ステップ(2)で作られた各セッション毎の第1の形式のパケットをパケット生成順に順次多重化するステップと、
(4) ステップ(3)で多重化されたデータ・パケットをシーケンシャルに送出するステップと、
(5) ステップ(4)で送出されたデータ・パケットを、パケット毎に受信するステップと、
(6) ステップ(5)で受信された各データ・パケットのセッション識別データを用いて、ステップ(5)で受信された各データ・パケットを逆多重するステップと、
(7)ステップ(6)において、あるソースから受信された最初のパケット・データであると識別された場合に、当該時点を時刻ゼロと設定した上、当該同じソースから受信される後続のパケット・データ群を監視し、時刻が前記所定の受信時間以内である場合に受信された、当該ソースから受信されたパケット・データのみを、当該ソースから送出された、同一セッションのパケット・データとして識別し、時刻が前記所定の受信時間以降に受信された、当該ソースから受信されたパケット・データを、当該ソースから送出された、後続の別セッションのパケット・データとして識別するステップと、
(8) ステップ(6)で識別された受信された各データ・パケットのソースの情報、及び、ステップ(7)で識別された、受信された各データ・パケットのセッション情報を用いて、ステップ(5)で受信された各データ・パケットのペイロード部内のデータを、各データ・パケットのソース及びセッションと対応付けるステップと、
(9) ステップ(6)で逆多重されたデータ・パケット群のペイロード部内のデータを前記パケット通し番号に従って、結合するステップと、
を含む方法。
In the first data packet in the bit stream including the data packet group of the first format including the header part and the payload part, each of the first data packets is distinguished for each of a plurality of sources, and each is within a predetermined time zone. A second type of data packet group having a smaller amount of data than the first type of data packet, comprising a header part and a payload part, supplied from a plurality of sources, comprising a plurality of sessions included in A method in which data is multiplexed and transmitted, and the received multiplexed data is demultiplexed, and each transmitted data packet is sequentially received while maintaining their temporal and temporal relationship. In each session of the data packet group of the second format originating from the same source, the time from the start of transmission of the data to the completion is predetermined The data of the second format data packet group that is within the range of the transmission time and is transmitted within the specified transmission time is a predetermined reception time as a stream of data packets of the first format. If the transmission of the data packet of the second format in a session is completed within the predetermined transmission time, the transmission of the next session is the predetermined transmission. It is done after the passage of time,
(1) For each session, the data of the payload part in each data packet in the data packet group of the second format supplied from the plurality of sources is stored in the data packet of the first format. Sequentially storing in the payload portion;
(2) In the first area of the header in the data packet of the first format, correspond to the session to identify the plurality of sessions corresponding to each data stored in the payload part in step (1) Storing the attached session identification data, and adding a packet serial number indicating the order of the packets for each identification data to the second area of the header of the data packet;
(3) sequentially multiplexing the packets in the first format for each session created in step (2) in the order of packet generation;
(4) sequentially transmitting the data packets multiplexed in step (3);
(5) receiving the data packet transmitted in step (4) for each packet;
(6) demultiplexing each data packet received in step (5) using the session identification data of each data packet received in step (5);
(7) In step (6), when it is identified as the first packet data received from a certain source, the time point is set to time zero, and the subsequent packet received from the same source The data group is monitored, and only packet data received from the source received when the time is within the predetermined reception time is identified as packet data of the same session sent from the source. Identifying packet data received from the source whose time was received after the predetermined reception time as packet data of a subsequent session sent from the source;
(8) Using the information of the source of each received data packet identified in step (6) and the session information of each received data packet identified in step (7), Associating the data in the payload portion of each data packet received in 5) with the source and session of each data packet;
(9) combining the data in the payload portion of the data packet group demultiplexed in step (6) according to the packet serial number;
Including methods.
ヘッダ部とペイロード部を含む第1の形式のデータ・パケット群を含むビット・ストリーム内の、当該第1の各データ・パケット内に、それぞれ複数のソース毎に区別され、それぞれ所定の時間帯内に含まれる複数のセッションから成る、複数のソースから供給される、ヘッダ部とペイロード部を含む、前記第1の形式のデータ・パケットより多いデータ量を持つ第2の形式のデータ・パケット群のデータを多重するための方法であって、
(1) 各セッション毎に、前記複数のソースから供給される第2の形式のデータ・パケット群内の各データ・パケット中のペイロード部のデータを、前記第1の形式のデータ・パケット内のペイロード部のデータ容量以内のデータ群に分割するステップと、
(2) 各セッション毎に、ステップ(1)で分割されたデータ群を、前記第1の形式の各データ・パケット内のペイロード部に順次格納するステップと、
(3) 前記第1の形式のデータ・パケット内のヘッダの第1の領域に、ステップ(2)でペイロード部に格納された各データに対応する前記複数のセッションを識別するためにセッションに対応づけられたセッション識別データを格納し、データ・パケットのヘッダの第2の領域に識別データ毎のパケットの順番を示すパケット通し番号を付加するステップと、
(4) ステップ(2)および(3)で作られた各セッション毎の第1の形式のパケットをパケット生成順に順次多重化するステップと、
を含む方法。
In the first data packet in the bit stream including the data packet group of the first format including the header part and the payload part, each of the first data packets is distinguished for each of a plurality of sources, and each is within a predetermined time zone. A second type of data packet group having a larger amount of data than the first type of data packet, including a header part and a payload part, supplied from a plurality of sources, consisting of a plurality of sessions included in A method for multiplexing data comprising:
(1) For each session, the data of the payload part in each data packet in the data packet group of the second format supplied from the plurality of sources is stored in the data packet of the first format. Dividing into data groups within the data capacity of the payload portion; and
(2) For each session, sequentially storing the data group divided in step (1) in the payload portion in each data packet of the first format;
(3) In the first area of the header in the data packet of the first format, correspond to the session to identify the plurality of sessions corresponding to each data stored in the payload part in step (2) Storing the attached session identification data, and adding a packet serial number indicating the order of the packets for each identification data to the second area of the header of the data packet;
(4) sequentially multiplexing packets of the first format for each session created in steps (2) and (3) in the order of packet generation;
Including methods.
請求項9に記載の方法であって、
前記ステップ(3)における、セッション識別データのために、最大同時セッション数の2倍の種類のデータを用意し、
最大同時セッション数の2倍の種類の前記セッション識別データは、2個毎に1対を形成し、
最初のセッションには、所定の1対のセッション識別データ対の一方を使用し、
同時セッションとなる新たなセッションには、それまで使用されていない、所定の1対のセッション識別データの一方を使用し、
同時セッションとならない新たなセッションには、過去に使用された前記所定の1対のセッション識別データ対の一方とは異なる、他方のセッション識別データを使用することによって、
前記過去に使用された前記所定の1対のセッション識別データ対の一方に対応する過去のセッションが既に終了したことを検知可能とする、
方法。
The method of claim 9, comprising:
For the session identification data in step (3), prepare twice as many types of data as the maximum number of simultaneous sessions,
The session identification data of twice the maximum number of simultaneous sessions forms a pair every two,
Use one of a predefined pair of session identification data for the first session,
For a new session to be a simultaneous session, use one of a predetermined pair of session identification data that has not been used before,
By using the other session identification data different from one of the predetermined pair of session identification data used in the past for a new session that does not become a simultaneous session,
It is possible to detect that a past session corresponding to one of the predetermined pair of session identification data pairs used in the past has already ended.
Method.
請求項10に記載の方法であって、
最大同時セッション数(i)がn個(1≦n;nは整数)である場合に、
前記1対のセッション識別データ対を、(xiy,XiY)
(ここで、xi=Xiが16進の1からnまでの整数、yが16進の所定の整数の定数、Yがyとは異なる別の整数の定数)のような16進の1対のn個のデータ群とした、
方法。
The method of claim 10, comprising:
When the maximum number of simultaneous sessions (i) is n (1 ≦ n; n is an integer),
The pair of session identification data pairs is represented by (x i y, X i Y)
(Here, the x i = X i is hexadecimal 1 integer to n, predetermined integer constants y hexadecimal, Y is another integer constant that is different from the y) 1 hex like A pair of n data groups is used.
Method.
請求項11に記載の方法であって、
前記nが、0<n≦9(nは整数)であり、
i=Xiが16進の1からnまでの整数であり、
yが16進の所定のアルファベット、Yがyとは異なる別のアルファベット
である、
方法。
The method of claim 11, comprising:
N is 0 <n ≦ 9 (n is an integer);
x i = X i is an integer from 1 to n in hexadecimal,
y is a predetermined hexadecimal alphabet, Y is another alphabet different from y,
Method.
請求項9ないし請求項12のいずれかに記載の方法であって、
前記第1の形式のデータ・パケット群を含むビット・ストリームが、MPEG2−TS(Transport Stream)であり、前記第1の形式のデータ・パケット内のヘッダ領域中の第1の領域が、PID領域内にあり、
前記第2の形式のデータ・パケット群のデータが、Ethernetのデータである
方法。
A method according to any of claims 9 to 12, comprising
The bit stream including the data packet group of the first format is MPEG2-TS (Transport Stream), and the first area in the header area in the data packet of the first format is the PID area. In
A method in which the data of the second type of data packet group is Ethernet data.
請求項9に記載の方法によって多重されたデータを逆多重するための方法であって、
(1)請求項D−1に記載の方法によって多重されたデータ中の、受信された各データ・パケットのセッション識別データを用いて、受信された各データ・パケットを逆多重するステップと、
(2) ステップ(1)で逆多重された各データ・パケットのセッション識別データに基いて、ステップ(1)で逆多重された各データ・パケット群と、当該データ・パケット群の属するセッションとを対応付けるステップと、
(3) ステップ(1)で逆多重されたデータ・パケット群のペイロード部内のデータを前記パケット通し番号に従って、結合するステップと、
(4) ステップ(2)で対応付けられたセッションに基いて、ステップ(3)で結合されたデータに、複数のソースと前記所定の時間帯を対応付けるステップと、
を含む方法。
A method for demultiplexing data multiplexed by the method of claim 9, comprising:
(1) demultiplexing each received data packet using session identification data of each received data packet in the data multiplexed by the method of claim D-1;
(2) Based on the session identification data of each data packet demultiplexed in step (1), each data packet group demultiplexed in step (1) and the session to which the data packet group belongs Associating steps;
(3) combining the data in the payload portion of the data packet group demultiplexed in step (1) according to the packet serial number;
(4) Based on the session associated in step (2), associating the data combined in step (3) with a plurality of sources and the predetermined time period;
Including methods.
コンピュータに、以上のいずれかの請求項に記載の方法を実行させるプログラム。   A program for causing a computer to execute the method according to any one of the above claims. ヘッダ部とペイロード部を含む第1の形式のデータ・パケット群を含むビット・ストリーム内の、当該第1の各データ・パケット内に、それぞれ複数のソース毎に区別され、それぞれ所定の時間帯に含まれる複数のセッションから成る、複数のソースから供給される、ヘッダ部とペイロード部を含む、前記第1の形式のデータ・パケットより多いデータ量を持つ第2の形式のデータ・パケット群のデータを多重するための装置であって、
(1) 各セッション毎に、前記複数のソースから供給される第2の形式のデータ・パケット群内の各データ・パケット中のペイロード部のデータを、前記第1の形式のデータ・パケット内のペイロード部のデータ容量以内のデータ群に分割する分割手段と、
(2) 各セッション毎に、ステップ(1)で分割されたデータ群を、前記第1の形式の各データ・パケット内のペイロード部に順次格納する、データ群格納手段と、
(3) 前記第1の形式のデータ・パケット内のヘッダの第1の領域に、ステップ(2)でペイロード部に格納された各データに対応する前記複数のセッションを識別するためにセッションに対応づけられたセッション識別データを格納し、データ・パケットのヘッダの第2の領域に識別データ毎のパケットの順番を示すパケット通し番号を付加する、格納・付加手段と、
(4) ステップ(2)および(3)で作られた各セッション毎の第1の形式のパケットをパケット生成順に順次多重化する多重化手段と、
を含む装置。
In the first data packet in the bit stream including the data packet group of the first format including the header part and the payload part, each of the first data packets is distinguished for each of a plurality of sources, and each of them is in a predetermined time zone. Data of the second type data packet group having a larger amount of data than the first type of data packet, including the header part and the payload part, which are supplied from a plurality of sources and include a plurality of included sessions. A device for multiplexing
(1) For each session, the data of the payload part in each data packet in the data packet group of the second format supplied from the plurality of sources is stored in the data packet of the first format. A dividing means for dividing the payload portion into data groups within the data capacity;
(2) Data group storage means for sequentially storing the data group divided in step (1) for each session in the payload portion in each data packet of the first format;
(3) In the first area of the header in the data packet of the first format, correspond to the session to identify the plurality of sessions corresponding to each data stored in the payload part in step (2) Storage / addition means for storing the attached session identification data and adding a packet serial number indicating the order of the packets for each identification data to the second area of the header of the data packet;
(4) Multiplexing means for sequentially multiplexing the packets of the first format for each session created in steps (2) and (3) in the order of packet generation;
Including the device.
請求項16に記載の装置であって、
前記格納・付加手段における、セッション識別データのために、最大同時セッション数の2倍の種類のデータを用意し、
最大同時セッション数の2倍の種類の前記セッション識別データは、2個毎に1対を形成し、
最初のセッションには、所定の1対のセッション識別データ対の一方を使用し、
同時セッションとなる新たなセッションには、それまで使用されていない、所定の1対のセッション識別データの一方を使用し、
同時セッションとならない新たなセッションには、過去に使用された前記所定の1対のセッション識別データ対の一方とは異なる、他方のセッション識別データを使用することによって、
前記過去に使用された前記所定の1対のセッション識別データ対の一方に対応する過去のセッションが既に終了したことを検知可能とする、
装置。
The apparatus of claim 16, comprising:
For the session identification data in the storage / addition means, prepare data of twice the maximum number of simultaneous sessions,
The session identification data of twice the maximum number of simultaneous sessions forms a pair every two,
Use one of a predefined pair of session identification data for the first session,
For a new session to be a simultaneous session, use one of a predetermined pair of session identification data that has not been used before,
By using the other session identification data different from one of the predetermined pair of session identification data used in the past for a new session that does not become a simultaneous session,
It is possible to detect that a past session corresponding to one of the predetermined pair of session identification data pairs used in the past has already ended.
apparatus.
請求項17に記載の装置であって、
最大同時セッション数(i)がn個(1≦n;nは整数)である場合に、
前記1対のセッション識別データ対を、(xiy,XiY)
(ここで、xi=Xiが16進の1からnまでの整数、yが16進の所定の整数の定数、Yがyとは異なる別の整数の定数)のような16進の1対のn個のデータ群とした、
装置。
The apparatus of claim 17, comprising:
When the maximum number of simultaneous sessions (i) is n (1 ≦ n; n is an integer),
The pair of session identification data pairs is represented by (x i y, X i Y)
(Here, the x i = X i is hexadecimal 1 integer to n, predetermined integer constants y hexadecimal, Y is another integer constant that is different from the y) 1 hex like A pair of n data groups is used.
apparatus.
請求項18に記載の装置であって、
前記nが、0<n≦9(nは整数)であり、
i=Xiが16進の1からnまでの整数であり、
yが16進の所定のアルファベット、Yがyとは異なる別のアルファベット
である、
装置。
The apparatus of claim 18, comprising:
N is 0 <n ≦ 9 (n is an integer);
x i = X i is an integer from 1 to n in hexadecimal,
y is a predetermined hexadecimal alphabet, Y is another alphabet different from y,
apparatus.
請求項16ないし請求項19のいずれかに記載の装置であって、
前記第1の形式のデータ・パケット群を含むビット・ストリームが、MPEG2−TS(Transport Stream)であり、前記第1の形式のデータ・パケット内のヘッダ領域中の第1の領域が、PID領域内にあり、
前記第2の形式のデータ・パケット群のデータが、Ethernetのデータである
装置。
An apparatus according to any of claims 16 to 19, comprising
The bit stream including the data packet group of the first format is MPEG2-TS (Transport Stream), and the first area in the header area in the data packet of the first format is the PID area. In
The apparatus in which the data packet group data in the second format is Ethernet data.
請求項16に記載の装置によって多重されたデータを逆多重するための装置であって、
(1)請求項F−1に記載の装置によって多重されたデータ中の、受信された各データ・パケットのセッション識別データを用いて、受信された各データ・パケットを逆多重する、逆多重手段と、
(2) 前記逆多重手段で逆多重された各データ・パケットのヘッダ部の第1の領域に格納された前記複数のソース毎に区別される複数のセッションを識別するための識別データに基いて、前記逆多重された各データ・パケット群のセッションを対応付ける、セッション対応付け手段と、
(3) 前記逆多重手段で逆多重されたデータ・パケット群のペイロード部内のデータを前記パケット通し番号に従って、結合する結合手段と、
(4) セッション対応付け手段で対応付けられたセッションに基いて、前記結合手段で結合されたデータに、複数のソース及び前記所定の時間帯とを対応付ける、ソース・接続時間帯対応付け手段と、
を含む方法。
An apparatus for demultiplexing data multiplexed by an apparatus according to claim 16, comprising:
(1) Demultiplexing means for demultiplexing each received data packet using the session identification data of each received data packet in the data multiplexed by the apparatus according to claim F-1. When,
(2) Based on identification data for identifying a plurality of sessions distinguished for each of the plurality of sources stored in a first area of a header portion of each data packet demultiplexed by the demultiplexing means. Session associating means for associating a session of each demultiplexed data packet group;
(3) combining means for combining data in the payload portion of the data packet group demultiplexed by the demultiplexing means according to the packet serial number;
(4) Source / connection time zone association means for associating a plurality of sources and the predetermined time zone with the data combined by the connection unit based on the session associated with the session association unit;
Including methods.
コンピュータを、請求項16ないし請求項21のいずれかの請求項に記載の装置として機能させるプログラム。   A program causing a computer to function as the device according to any one of claims 16 to 21.
JP2006052467A 2006-02-28 2006-02-28 Apparatus, method, and computer program enabling separation between data by assigning session identification code to data Expired - Fee Related JP4868392B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006052467A JP4868392B2 (en) 2006-02-28 2006-02-28 Apparatus, method, and computer program enabling separation between data by assigning session identification code to data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006052467A JP4868392B2 (en) 2006-02-28 2006-02-28 Apparatus, method, and computer program enabling separation between data by assigning session identification code to data

Publications (2)

Publication Number Publication Date
JP2007235356A true JP2007235356A (en) 2007-09-13
JP4868392B2 JP4868392B2 (en) 2012-02-01

Family

ID=38555525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006052467A Expired - Fee Related JP4868392B2 (en) 2006-02-28 2006-02-28 Apparatus, method, and computer program enabling separation between data by assigning session identification code to data

Country Status (1)

Country Link
JP (1) JP4868392B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9906331B2 (en) 2012-12-28 2018-02-27 Fujitsu Limited Communication method, information processing apparatus and recording medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1188856A (en) * 1997-09-05 1999-03-30 Hitachi Ltd Transmission protocol converting system and catv network connecting system using protocol converting device
JP2000023056A (en) * 1998-06-30 2000-01-21 Jisedai Joho Hoso System Kenkyusho:Kk Continuous media acquisition method for digital broadcast receiver and receiver attaining the method
JP2001177567A (en) * 1999-12-15 2001-06-29 Victor Co Of Japan Ltd Method for storing contents stream preparation operation information
JP2002176432A (en) * 2000-12-05 2002-06-21 Sony Corp Communication relay system, communication relay method, and communication terminal, and program storage medium
JP2005204316A (en) * 2004-01-13 2005-07-28 Samsung Electronics Co Ltd System and method for transmitting and receiving broadcast/communication fusion signal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1188856A (en) * 1997-09-05 1999-03-30 Hitachi Ltd Transmission protocol converting system and catv network connecting system using protocol converting device
JP2000023056A (en) * 1998-06-30 2000-01-21 Jisedai Joho Hoso System Kenkyusho:Kk Continuous media acquisition method for digital broadcast receiver and receiver attaining the method
JP2001177567A (en) * 1999-12-15 2001-06-29 Victor Co Of Japan Ltd Method for storing contents stream preparation operation information
JP2002176432A (en) * 2000-12-05 2002-06-21 Sony Corp Communication relay system, communication relay method, and communication terminal, and program storage medium
JP2005204316A (en) * 2004-01-13 2005-07-28 Samsung Electronics Co Ltd System and method for transmitting and receiving broadcast/communication fusion signal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9906331B2 (en) 2012-12-28 2018-02-27 Fujitsu Limited Communication method, information processing apparatus and recording medium

Also Published As

Publication number Publication date
JP4868392B2 (en) 2012-02-01

Similar Documents

Publication Publication Date Title
WO2012173389A2 (en) Method and apparatus for transmitting/receiving media contents in multimedia system
EP1535275B1 (en) Audio processing
US7860011B2 (en) Method and system for fault resilience in networks with Audio/Video Bridging aware Shortest Path Bridging
US8345668B2 (en) Video delivering system, video delivering device, and synchronization correcting device
US8462687B2 (en) Method and apparatus for recovery processing of synchronously transmitted service data
US8204081B2 (en) Apparatus and method for inserting or extracting network timestamp
US20050018615A1 (en) Media transmitting method, media receiving method, media transmitter and media receiver
CN106416270B (en) Transmission device, transmission method, and reception device
CN112584087B (en) Video conference recording method, electronic device and storage medium
JP2015156636A (en) transmitter and receiver
CN111629158B (en) Audio stream and video stream synchronous switching method and device
JP2000312221A (en) Digital broadcast receiver
JP4868392B2 (en) Apparatus, method, and computer program enabling separation between data by assigning session identification code to data
WO2007037117A1 (en) Relay device, relay method, conversion device, conversion method, relay processing program, conversion processing program, and information recording medium
CN107710627B (en) Communication device, communication system, communication method, and program
WO2007007526A1 (en) Video stream processing device, integrated circuit device, and method
JP2007201756A (en) Information processing apparatus and method, and program
US7971215B1 (en) System, method and computer readable medium for managing media streams
JP3672250B2 (en) Multicast data distribution system and multicast data distribution method
JP2000032416A (en) Digital broadcast system, data server, and broadcasting equipment
WO2013042999A1 (en) Method and apparatus for transmitting media data for mmt system, and apparatus and method for receiving media data
JP2021158549A (en) Si sending device, si sending system, si sending method, and operation method for si sending system
JPH1168763A (en) System decoder
JP2004048243A (en) Multi-video image reproducing apparatus, multi-video image control method and multi-video image control program
JP2009278250A (en) Data transmission device, and band allocation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080321

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100730

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100806

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100929

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110328

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110426

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111109

R150 Certificate of patent or registration of utility model

Ref document number: 4868392

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141125

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees