JP2010026854A - Time-synchronized information distribution and reception method - Google Patents
Time-synchronized information distribution and reception method Download PDFInfo
- Publication number
- JP2010026854A JP2010026854A JP2008188433A JP2008188433A JP2010026854A JP 2010026854 A JP2010026854 A JP 2010026854A JP 2008188433 A JP2008188433 A JP 2008188433A JP 2008188433 A JP2008188433 A JP 2008188433A JP 2010026854 A JP2010026854 A JP 2010026854A
- Authority
- JP
- Japan
- Prior art keywords
- time
- data
- communication
- delay time
- transmitted
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
本発明は、端末側からの情報および端末側への情報を同時に配信・受信する方法に関するものである。 The present invention relates to a method for simultaneously distributing and receiving information from a terminal side and information to a terminal side.
図4は、インターネットオークション等のセリで通常使用されているシステム構成図で、この図において、31はホストコンピュータ、321,322,323は端末であり、ホストコンピュータ31と端末321,322とは、通信路であるイーサネット(登録商標)のLAN回線33と接続され、端末323とは、通信路であるインターネット網34を介して接続されている。
FIG. 4 is a system configuration diagram normally used in auction such as an Internet auction. In this figure, 31 is a host computer, 32 1 , 32 2 , and 32 3 are terminals, and the
上記のようなシステム構成は、情報がホストコンピュータ31からLAN回線33やインターネット網34等からなる通信路を介してそれぞれの端末321〜323に伝送されるため、通信路の関係で通信時間が異なり、ホストコンピュータ31からの情報が端末321,322には早く届くけれども、端末323にはインターネット網34を介して送られるために遅くなってしまう。
In the system configuration as described above, information is transmitted from the
このため、通信路による情報の伝達遅れを補正するために、遅延時間を考慮する手段を採用したものがある(特許文献1参照。)。
図4に示すシステム構成図では、ある情報がホストコンピュータ31にアップされた場合、その結論の情報を一定時間内に出力する必要があるが、ホストコンピュータから端末までの地域差による通信路により、情報が端末で受信されるまでに猶予時間を設けないと、情報到達時刻に不平等が発生する。そのため、この不平等を回避するには、上記のような猶予時間を設ける必要があり、結果的にホストコンピュータでアップできる情報量を限定する必要がある。
In the system configuration diagram shown in FIG. 4, when certain information is uploaded to the
本発明の目的は、上記の事情に鑑みてなされたもので、すべての端末がホストコンピュータから配信されてきた情報を同一時刻で受信できるようにしたため、通信時間遅れによる端末の地域差における情報取得時刻に不平等を発生しないようにした時刻同期型情報配信・受信方法を提供することにある。 The object of the present invention is made in view of the above circumstances, and since all terminals can receive information distributed from the host computer at the same time, information acquisition in regional differences of terminals due to communication time delay An object of the present invention is to provide a time-synchronized information distribution / reception method that prevents inequality in time.
上記の課題を達成するために、請求項1に係る発明は、ホストコンピュータと通信路との間に第1通信遅延時間手段を有する第1装置を設けるとともに、通信路と複数の端末との間に第1通信遅延時間とは、通信遅延時間が異なる第2通信遅延時間手段を有する第2装置を設けて、ホストコンピュータの情報を第1装置から通信路を介して第2装置を経て複数の端末に配信し、その情報を端末で受信する情報配信・受信方法であって、
第1装置と第2装置の時刻合わせを行なう第1過程と、第1装置と第2装置の時刻合わせが終了したなら両装置間のデータ送受信を行う第2過程と、第1装置と第2装置間でのデータ送受信に際して遅延すべきデータであるフレームを選択する第3過程とからなることを特徴とする。
In order to achieve the above object, the invention according to claim 1 provides a first device having first communication delay time means between a host computer and a communication path, and between the communication path and a plurality of terminals. The first communication delay time is provided with a second device having second communication delay time means having different communication delay times, and information of the host computer is transmitted from the first device via the communication device to the plurality of devices via the second device. An information distribution / reception method for distributing to a terminal and receiving the information at the terminal,
A first process for adjusting the time of the first apparatus and the second apparatus; a second process of transmitting and receiving data between the first apparatus and the second apparatus when the time adjustment of the first apparatus and the second apparatus is completed; And a third step of selecting a frame which is data to be delayed when data is transmitted / received between apparatuses.
請求項2に係る発明は、請求項1において、前記時刻合わせを行なう前記第1過程は、第1装置が持つ時刻を第2装置に送信し、第2装置は送信されてきた時刻を受信してセットし、第2装置が持っている時刻を第1装置に送信する第1ステップと、第1装置は第2装置から送信されてきた時刻から現在の第1装置の時刻を演算して第1装置と第2装置間の通信遅延時間と判断する第2ステップと、第1装置は上記通信遅延時間を各第2装置に送信し、第2装置は第1装置から受信した時刻をセットして第2装置が持つ時刻と第1装置との通信遅延時間を演算して第1装置に送信する第3ステップと、第3ステップの処理を第1装置が演算する第4ステップとを備え、第3ステップ及び第4ステップの処理を繰り返し演算し、その値が一定値以下になった時点で処理を終了することを特徴とする。 According to a second aspect of the present invention, in the first aspect, in the first step of performing the time adjustment, the time of the first device is transmitted to the second device, and the second device receives the transmitted time. The first step of transmitting the time held by the second device to the first device, and the first device calculates the current time of the first device from the time transmitted from the second device, A second step for determining the communication delay time between the first device and the second device; the first device transmits the communication delay time to each second device; and the second device sets the time received from the first device. A third step of calculating a time of the second device and a communication delay time between the first device and transmitting to the first device, and a fourth step of calculating the processing of the third step by the first device, Repeat the process of the 3rd step and the 4th step, and the value is a constant value Characterized in that the process ends when it becomes lower.
請求項3に係る発明は、請求項1において、前記データ送受信を行う前記第2過程は、第1装置は最も通信遅延時間が大きい第2装置に対応した遅延時間を確定するステップと、第1装置はホストコンピュータから受信したデータで、遅延処理が必要とするデータについて、第2装置が端末に送信する時刻を付加して、各端末に向けて送信するステップと、第2装置は第1装置から送られてきた端末向けデータを第1装置が付加してきた時刻で端末に送信するステップと、第2装置は端末からの受信データを第1装置に送信し、第1装置は第2装置から受信したデータを確定したホストコンピュータ遅延時間分待ってホストコンピュータに送信するステップとを備えたことを特徴とする。 According to a third aspect of the present invention, in the first aspect, the second process of transmitting and receiving the data includes a step of determining a delay time corresponding to the second device having the longest communication delay time in the first device, A device that receives data from a host computer and that is required for delay processing, adds a time at which the second device transmits to the terminal, and transmits the data to each terminal; Transmitting the data for the terminal sent from the terminal to the terminal at the time when the first device has added, the second device transmits the received data from the terminal to the first device, and the first device from the second device And a step of waiting for the determined host computer delay time to transmit the received data to the host computer.
本発明によれば、すべての端末がホストコンピュータから配信されてきた情報を、同一時刻で受信することができるようにしたため、通信時間遅れによる端末の地域差における情報取得時刻に不平等が発生しないようにすることができる。 According to the present invention, since all terminals can receive the information distributed from the host computer at the same time, inequality does not occur in the information acquisition time in the regional difference of the terminals due to the communication time delay. Can be.
また、ホストコンピュータ側に設置される遅延手段と端末側に設置される遅延手段とをそれぞれの別方式による遅延手段とすることにより、必要とする情報の直前でデータのストックを可能とすることができる。 In addition, the delay means installed on the host computer side and the delay means installed on the terminal side can be made different delay means, respectively, so that data can be stocked immediately before the required information. it can.
さらに、全ての遅延手段が同一時刻を認識することにより、システム全体をホストコンピュータ側の遅延手段の時刻に同期させることが可能となる。 Further, since all the delay means recognize the same time, the entire system can be synchronized with the time of the delay means on the host computer side.
この他、遅延すべき情報を選択することにより、情報は遅延するが、応答は遅延なしとすることが可能となり、そのため、不必要な性能低下を回避することが可能となる。 In addition, by selecting information to be delayed, the information is delayed, but the response can be made without delay, and therefore unnecessary performance degradation can be avoided.
以下本発明の実施の形態を図面に基づいて説明する。図1は本発明の実施の形態を示すシステム構成図で、11はホストコンピュータで、このホストコンピュータ11からのデータは、第1通信遅延時間手段を有する第1装置12からLAN回線13やインターネット網14を経て第1装置12の第1通信遅延時間手段とは、遅延時間が異なる第2通信遅延時間手段を有する第2装置161,162,163に伝送された後に、それぞれの地域の異なる端末151,152,153に供給される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a system configuration diagram showing an embodiment of the present invention.
図2は、第1装置12の具体的な構成を示すブロック構成図、図3は、第2装置161,162,163で、両装置は、ほぼ同様な構成であり、両装置において、異なる部分は、第1装置12に設けられる時間テーブルが、第2装置の数(図においては、3装置)だけ設けられていることである。
FIG. 2 is a block diagram showing a specific configuration of the
図2及び図3において、21は内部バスで、この内部バス21には、CPU22、メモリ(ROM,RAM等)23、タイマー(1ms)24、第1通信(LAN)カード25、第2通信(LAN)カード26及び時間テーブル271,272,273が接続されている。なお、図3における時間テーブルは、符号27を付して示す。
2 and 3,
図2に示す第1装置12のブロック構成図において、第1通信カード25はホストコンピュータ11に接続され、第2通信カード26はLAN回線13とインターネット網14に接続される。
In the block diagram of the
また、図3に示す第2装置161,162,163のブロック構成図において、第1通信カード25は端末151,152,153に接続され、第2通信カード26はLAN回線13またはインターネット網14にそれぞれ接続される。
In the block configuration diagram of the second devices 16 1 , 16 2 , 16 3 shown in FIG. 3 , the
上記のように構成された図2及び図3において、CPU22は、各データの送受信を行う場合、1ms単位のタイマー値を付加した時間テーブル27,271〜273で情報を管理する。第1装置12は、第2装置161,162,163にデータを送信する場合、送信時のタイマー値を時間テーブルに格納し、第2装置161,162,163からデータを受信したときのタイマー値を時間テーブル27,271〜273に格納する。この差の1/2を遅延時間とする。
2 and 3 configured as described above, the
また、タイマー24は1msのタイマーであり、送信遅延時間は、メモリ23上に配置し、送信遅延が必要な場合は、メモリ23上の送信遅延時間テーブル27、271〜273にデータをセットする。タイマー24の1msごとの割り込み処理で、送信遅延時間テーブル27、271〜273にセットされたカウンタをデクリメントし、カウンタが「0」になった時点でデータ送信処理を行う。
The
次に上記実施の形態における第1装置12と第2装置161,162,163との処理について、図2及び図3を用いて述べる。
Next, the processing of the
まず、ステップ1で、第1装置12と第2装置161,162,163の時刻合わせを行なう。
(イ)最初に、第1装置12は各第2装置161,162,163対して第1装置12の時間テーブル271〜273が持つ時刻データを、第2装置161,162,163に送信する。一方、第2装置161,162,163は、送信されてきた時刻データを受信して時間テーブル27の時刻へセットし、第2装置161,162,163が持っている時間テーブル27の時刻データを第1装置12に送信する。
(ロ)その後、第1装置12は、第2装置161,162,163からの時刻データを時間テーブル271〜273の時刻へセットし、第1装置12は、時間テーブル271〜273の[((各第2装置161,162,163から送信されてきた時刻)−(現在の第1装置12の時刻))/2]式を計算し、その結果を第1装置12と各第2装置161,162,163の通信遅延時間と判断して時間テーブル271〜273へセットする。
(ハ)以下同様にして、第1装置12は、各第2装置161,162,163に対して、(第1装置12の時刻+各第2装置161,162,163との通信遅延時間)を各第2装置161,162,163に送信し、各第2装置161,162,163は、第1装置12から受信した時刻(第1装置12の時刻+各第2装置161,162,163との通信遅延時間)を時間テーブル27へセットし、(各第2装置161,162,163が持つ時刻+第1装置12との通信遅延時間)を第1装置12に送信する。
(ニ)第1装置12は、[(各第2装置161,162,163との通信遅延時間)−((各第2装置161,162,163から送信されてきた時刻)−(自身の時刻))/2]を、(新しい各第2装置161,162,163との通信遅延時間)として上記(ハ)の処理を行う。
(ホ)上記(ハ)および(ニ)を繰り返し、[(各第2装置161,162,163から送信されてきた時刻)−(自身の時刻)]が一定値以下になった時点で処理を終了する。
First, in Step 1, the time of the
(B) First, the time data is
(B) Thereafter, the
(C) In the same manner, the
(D) The first device 12 [[(delay time of communication with each second device 16 1 , 16 2 , 16 3 )] − ((time transmitted from each second device 16 1 , 16 2 , 16 3) ) − (Own time)) / 2] (communication delay time with each new second device 16 1 , 16 2 , 16 3 ), the process of (c) is performed.
(E) When (c) and (d) above are repeated, and [(time transmitted from each second device 16 1 , 16 2 , 16 3 ) − (own time)] becomes a predetermined value or less. End the process.
次に、ステップ2で、第1装置12と第2装置161,162,163の時刻データの送受信を行う。
(ヘ)第1装置12は、接続されている各第2装置161,162,163の通信遅延時間から最も通信遅延時間が大きい、例えば第2装置163と同等になるように、各第2装置161,162,163に対応した遅延時間を確定する。この遅延時間は、ホストコンピュータ11の通信遅延時間とし、各第2装置161,162,163からの受信した時刻データをホストコンピュータ11に伝送する際に使用する。
(ト)第1装置12は、ホストコンピュータ11から受信した時刻データで、遅延処理が必要と判断するフレームについて、各第2装置161,162,163が端末151,152,153に送信する時刻データを付加して、各端末151,152,153に向けて送信する。
(チ)各第2装置161,162,163は、第1装置12から送られてきた端末向け時刻データを、第1装置12が付加してきた時刻データで端末151,152,153に送信する。
(リ)第2装置161,162,163は、端末151,152,153から受信した時刻データを第1装置12に送信する。第1装置12は、各第2装置161,162,163から受信した時刻データを、上記(ヘ)で確定したホストコンピュータ11の遅延時間分待って、ホストコンピュータ11に送信する。
Next, in step 2, time data is transmitted and received between the
(F) The
(G) The
(H) Each of the second devices 16 1 , 16 2 , 16 3 uses the time data for the terminal sent from the
(I) The second devices 16 1 , 16 2 , 16 3 transmit the time data received from the terminals 15 1 , 15 2 , 15 3 to the
そして、次のステップ3で、遅延すべき時刻データを選択する。遅延すべき時刻データは、TCP/IPフレームであり、プロトコル上の応答フレームは除外し、以下の条件で選択する。 In the next step 3, time data to be delayed is selected. The time data to be delayed is a TCP / IP frame, which is selected under the following conditions, excluding response frames on the protocol.
1.送信元IPアドレス
2.送信元ポート番号
3.送信先IPアドレス
4.送信先ポート番号
5.プロトコル種別
1. Source IP address 2. Source port number 3. Destination IP address 4. Destination port number Protocol type
11…ホストコンピュータ
12…第1装置
13…LAN回線
14…インターネット網
151,152,153…端末
161,162,163…第2装置
11 ...
Claims (3)
第1装置と第2装置の時刻合わせを行なう第1過程と、
第1装置と第2装置の時刻合わせが終了したなら両装置間のデータ送受信を行う第2過程と、
第1装置と第2装置間でのデータ送受信に際して遅延すべきデータであるフレームを選択する第3過程とからなることを特徴とする時刻同期型情報配信・受信方法。 A first communication device having a first communication delay time means is provided between the host computer and the communication path, and the second communication is different from the first communication delay time between the communication path and the plurality of terminals. An information distribution / reception method in which a second device having a delay time means is provided, information of a host computer is distributed from a first device to a plurality of terminals via a communication path via a second device, and the information is received by the terminals. Because
A first process for setting the time of the first device and the second device;
A second process of transmitting and receiving data between the first device and the second device when the time adjustment of the first device and the second device is completed;
A time-synchronous information distribution / reception method comprising a third step of selecting a frame which is data to be delayed when data is transmitted / received between the first device and the second device.
第1装置が持つ時刻を第2装置に送信し、第2装置は送信されてきた時刻を受信してセットし、第2装置が持っている時刻を第1装置に送信する第1ステップと、
第1装置は第2装置から送信されてきた時刻から現在の第1装置の時刻を演算して第1装置と第2装置間の通信遅延時間と判断する第2ステップと、
第1装置は上記通信遅延時間を各第2装置に送信し、第2装置は第1装置から受信した時刻をセットして第2装置が持つ時刻と第1装置との通信遅延時間を演算して第1装置に送信する第3ステップと、
第3ステップの処理を第1装置が演算する第4ステップとを備え、
第3ステップ及び第4ステップの処理を繰り返し演算し、その値が一定値以下になった時点で処理を終了することを特徴とする請求項1記載の時刻同期型情報配信・受信方法。 The first step of adjusting the time is as follows:
A first step of transmitting the time possessed by the first device to the second device, the second device receiving and setting the transmitted time, and transmitting the time possessed by the second device to the first device;
A second step in which the first device calculates the current time of the first device from the time transmitted from the second device and determines the communication delay time between the first device and the second device;
The first device transmits the communication delay time to each second device, the second device sets the time received from the first device, and calculates the communication delay time between the second device and the first device. A third step of transmitting to the first device,
A fourth step in which the first device calculates the process of the third step,
2. The time-synchronized information delivery / reception method according to claim 1, wherein the processes of the third step and the fourth step are repeatedly calculated, and the process is terminated when the value becomes a predetermined value or less.
第1装置は最も通信遅延時間が大きい第2装置に対応した遅延時間を確定するステップと、
第1装置はホストコンピュータから受信したデータで、遅延処理が必要とするデータについて、第2装置が端末に送信する時刻を付加して、各端末に向けて送信するステップと、
第2装置は第1装置から送られてきた端末向けデータを第1装置が付加してきた時刻で端末に送信するステップと、
第2装置は端末からの受信データを第1装置に送信し、第1装置は第2装置から受信したデータを確定したホストコンピュータ遅延時間分待ってホストコンピュータに送信するステップとを備えたことを特徴とする請求項1記載の時刻同期型情報配信・受信方法。 The second process of transmitting / receiving the data includes:
The first device determines a delay time corresponding to the second device having the longest communication delay time;
The first device is data received from the host computer, and the data required for delay processing is added to the time when the second device transmits to the terminal, and transmitted to each terminal;
The second device transmits the data for the terminal sent from the first device to the terminal at the time when the first device has added,
The second device transmits received data from the terminal to the first device, and the first device waits for the determined host computer delay time for the data received from the second device, and transmits the data to the host computer. The time synchronization type information delivery / reception method according to claim 1, wherein:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008188433A JP2010026854A (en) | 2008-07-22 | 2008-07-22 | Time-synchronized information distribution and reception method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008188433A JP2010026854A (en) | 2008-07-22 | 2008-07-22 | Time-synchronized information distribution and reception method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010026854A true JP2010026854A (en) | 2010-02-04 |
Family
ID=41732618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008188433A Pending JP2010026854A (en) | 2008-07-22 | 2008-07-22 | Time-synchronized information distribution and reception method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010026854A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015170360A (en) * | 2014-03-05 | 2015-09-28 | 株式会社リコー | Method of fairly adding document to collaborative session |
-
2008
- 2008-07-22 JP JP2008188433A patent/JP2010026854A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015170360A (en) * | 2014-03-05 | 2015-09-28 | 株式会社リコー | Method of fairly adding document to collaborative session |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10158444B1 (en) | Event-driven precision time transfer | |
US20210120065A1 (en) | Method for Data Communication in an Industrial Network, Control Method, Device, Computer Program and Computer-Readable Medium | |
CN103312807B (en) | Data transmission method, apparatus and system | |
CN106330742B (en) | Flow control method and network controller | |
WO2019095278A1 (en) | Method and apparatus for synchronization between different data packet streams | |
US20140012984A1 (en) | Method and Apparatus for the Fast Detection of Connectivity Loss Between Devices in a Network | |
US11316654B2 (en) | Communication device and method for operating a communication system for transmitting time critical data | |
US20100262679A1 (en) | Method and system for checking automatically connectivity status of an ip link on ip network | |
US11564241B2 (en) | Method for operating a radio communication system for an industrial automation system, radio communication system, base station and subscriber station | |
CN114338267B (en) | Maintenance method, device, equipment, bus network and medium for multiple management nodes | |
CN109347674B (en) | Data transmission method and device and electronic equipment | |
JP5560235B2 (en) | Arrival packet synchronization method | |
JP6609310B2 (en) | Method and apparatus for providing heterogeneous network-based broadcast service | |
CN102811451B (en) | Method and device for controlling connection of control and provisioning of wireless access points (Capwap) tunnel | |
US20130182723A1 (en) | Communications system and related method for reducing continuity check message (ccm) bursts in connectivity fault management (cfm) maintenance association (ma) | |
JP2010026854A (en) | Time-synchronized information distribution and reception method | |
CN115176427A (en) | Method for synchronizing control applications via a communication network transmitting time-critical data, network infrastructure device and communication terminal | |
US20170187763A1 (en) | Streaming service system, streaming service method and controller thereof | |
US20140211604A1 (en) | Method and Apparatus for the Fast Detection of Connectivity Loss Between Devices in a Network | |
US11442432B2 (en) | Communication device and method for data transmission within an industrial communication network | |
CN109983734B (en) | Subgroup of remote computing devices with relay device | |
JPWO2018025491A1 (en) | Control network system and its node equipment | |
JP2006191283A (en) | Conference server, client terminal device for teleconferencing, speed adjusting method, and program | |
JPH1028119A (en) | Processing system for time setting among a plurality of equipments | |
JP2003333048A (en) | Mounted vehicle communication control system |