JP4386060B2 - Client / server system - Google Patents

Client / server system Download PDF

Info

Publication number
JP4386060B2
JP4386060B2 JP2006263199A JP2006263199A JP4386060B2 JP 4386060 B2 JP4386060 B2 JP 4386060B2 JP 2006263199 A JP2006263199 A JP 2006263199A JP 2006263199 A JP2006263199 A JP 2006263199A JP 4386060 B2 JP4386060 B2 JP 4386060B2
Authority
JP
Japan
Prior art keywords
count value
beacon signal
transmitted
counted
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006263199A
Other languages
Japanese (ja)
Other versions
JP2008085650A (en
Inventor
武 井上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Funai Electric Co Ltd
Original Assignee
Funai Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Funai Electric Co Ltd filed Critical Funai Electric Co Ltd
Priority to JP2006263199A priority Critical patent/JP4386060B2/en
Publication of JP2008085650A publication Critical patent/JP2008085650A/en
Application granted granted Critical
Publication of JP4386060B2 publication Critical patent/JP4386060B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、クライアント・サーバシステムに関する。   The present invention relates to a client / server system.

従来、無線LANにより接続されたクライアント装置とサーバ装置とを備えるクライアント・サーバシステムが知られている、そして、当該クライアント・サーバシステムにおいて、サーバ装置から映像音声データをクライアント装置に送信するには、無線LANにおいてデータの伝送に遅延が生じるため、当該サーバ装置のタイマ値とクライアント装置のタイマ値との同期を取る必要がある。そこで、クライアント装置と無線LANにより接続されたサーバ装置において、ビーコン信号を間欠的にクライアント装置に送信するとともに、ビーコン用タイマの値に基づいて時間情報を生成し、当該ビーコン信号の送信の合間に、当該時間情報をMPEG2−TS方式の映像音声データの各パケットに付加してクライアント装置に送信し、クライアント装置において、サーバ装置から受信するビーコン信号に含まれるタイマ値に基づいて時間情報を生成し、生成した時間情報と映像音声データの各パケットに含まれる時間情報とが一致した場合にのみ当該映像音声データを出力することによって、サーバ装置とクライアント装置との間の同期を取り、サーバ装置とクライアント装置との間で生じる伝送等の遅延により、当該映像音声データが正常に再生できなくなることを防ぐクライアント・サーバシステムが知られている(例えば、特許文献1,2)。
また、クライアント装置と、当該クライアント装置とインターネットにより接続されたサーバ装置と、を備えるクライアント・サーバシステムにおいて、サーバ装置から、MPEG2−PS方式の映像音声データの先頭部分にシーケンス番号とタイマ値とを付加してクライアント装置に送信し、クライアント装置において、映像音声データを受信した際に当該映像音声データの先頭部分に含まれるシーケンス番号と当該クライアント装置におけるタイマ値とを記憶し、当該タイマ値と同一のシーケンス番号の映像音声データに含まれるタイマ値との差異を計算し、当該差異に基づいて、クライアント装置におけるタイマ値を調整するものも知られている(例えば、特許文献3)。
特開2003−060652号公報 特開2005−039633号公報 特表2003−523130号公報
Conventionally, a client / server system including a client device and a server device connected by a wireless LAN is known. In the client / server system, in order to transmit video / audio data from the server device to the client device, Since data transmission is delayed in the wireless LAN, it is necessary to synchronize the timer value of the server device and the timer value of the client device. Therefore, in the server device connected to the client device by the wireless LAN, the beacon signal is intermittently transmitted to the client device, time information is generated based on the value of the beacon timer, and the beacon signal is transmitted between The time information is added to each packet of MPEG2-TS video / audio data and transmitted to the client device, and the client device generates time information based on the timer value included in the beacon signal received from the server device. The server device and the client device are synchronized by outputting the video / audio data only when the generated time information matches the time information included in each packet of the video / audio data, and the server device The video / audio data is delayed due to transmission delays with the client device. It is known client-server system to prevent not be reproduced normally (e.g., Patent Documents 1 and 2).
Also, in a client / server system comprising a client device and a server device connected to the client device via the Internet, a sequence number and a timer value are sent from the server device to the beginning of MPEG2-PS video / audio data. When the video / audio data is received at the client device, the sequence number included in the head portion of the video / audio data and the timer value at the client device are stored and the same as the timer value. It is also known to calculate a difference from the timer value included in the video / audio data of the sequence number and adjust the timer value in the client device based on the difference (for example, Patent Document 3).
Japanese Patent Laid-Open No. 2003-060652 JP 2005-039633 A Special table 2003-523130 gazette

しかしながら、無線LANにより接続されたクライアント装置とサーバ装置とを備えるクライアント・サーバシステムにおいて、例えば、サーバ装置からMPEG2−PS方式の映像音声データの先頭部分に時間情報を付加してクライアント装置に送信しても、MPEG2−PS方式では各パケットに時間情報を付加することができないため、サーバ装置側のエンコーダの基準クロックとクライアント装置側のデコーダ側の基準クロックとが一致していないとサーバ装置側で映像音声データをエンコードするタイミングとクライアント装置側でエンコードされた映像音声データをデコードするタイミングがずれることにより、無線LANにおいてデータの伝送における遅延の累積、及びバッファの過消費が生じて、映像音声データを正常に再生することができなくなってしまうという問題がある。
特許文献1,2に記載の発明は、MPEG2−TS方式の映像音声データの各パケットに時間情報を付加するものであり、上記問題を解決することができない。
また、特許文献3に記載の発明は、サーバ装置とクライアント装置との間の伝送に遅延が生じないことを前提としており、単に、クライアント装置のタイマ値を調整するものであり、サーバ装置とクライアント装置との間の同期を取ることができないため、上記問題を解決することができない。
However, in a client / server system including a client device and a server device connected via a wireless LAN, for example, time information is added from the server device to the head of MPEG2-PS video / audio data and transmitted to the client device. However, in the MPEG2-PS system, since time information cannot be added to each packet, if the reference clock of the encoder on the server device side does not match the reference clock on the decoder side of the client device, the server device side The timing for encoding the video / audio data and the timing for decoding the video / audio data encoded on the client device side are shifted, resulting in accumulation of delay in data transmission and overconsumption of the buffer in the wireless LAN. Successfully re There is a problem that can no longer be able to.
The inventions described in Patent Documents 1 and 2 add time information to each packet of MPEG2-TS video and audio data, and cannot solve the above problem.
The invention described in Patent Document 3 is based on the assumption that there is no delay in transmission between the server device and the client device, and simply adjusts the timer value of the client device. Since the synchronization with the apparatus cannot be established, the above problem cannot be solved.

本発明の課題は、無線LANにより接続されたサーバ装置とクライアント装置との同期を確実に取ることができるクライアント・サーバシステムを提供することである。   An object of the present invention is to provide a client / server system capable of reliably synchronizing a server device and a client device connected by a wireless LAN.

請求項1に記載の発明は、サーバ装置と、前記サーバ装置と無線回線を介して接続され、前記サーバ装置から映像音声データを受信するクライアント装置と、を備えるクライアント・サーバシステムにおいて、
前記サーバ装置は、
ビーコン信号を生成するビーコン信号生成手段と、
前記クライアント装置に前記ビーコン信号生成手段により生成された第1ビーコン信号と第2ビーコン信号を送信するビーコン信号送信手段と、
映像音声データをMPEG2−PS方式のデータにエンコードするエンコーダと、
前記エンコーダで映像音声データをエンコードするタイミングを取るための基準クロック信号を生成する第1同期回路と、
前記第1同期回路により生成された基準クロック信号を、前記第1ビーコン信号が送信されてから前記第2ビーコン信号が送信されるまでの時間に相当する間カウントし、カウントされた値を第1カウント値として記憶する第1計数手段と、
前記第1計数手段によりカウントされた前記第1カウント値を前記クライアント装置に送信する第1カウント値送信手段と、を備え、
前記クライアント装置は、
前記サーバ装置から送信された前記第1ビーコン信号と前記第2ビーコン信号を受信するビーコン受信手段と、
前記サーバ装置から送信された前記第1カウント値を受信する第1カウント値受信手段と、
映像音声データをデコードするデコーダと、
前記デコーダで映像音声データをデコードするタイミングを取るための基準クロック信号を生成する第2同期回路と、
前記第2同期回路により生成された基準クロック信号を、前記第1ビーコン信号が送信されてから前記第2ビーコン信号が送信されるまでの時間に相当する間カウントし、カウントされた値を第2カウント値として記憶する第2計数手段と、
前記第1カウント値受信手段により受信された前記第1カウント値が前記第2計数手段によりカウントされた前記第2カウント値よりも大きい場合には、前記デコーダによるデコードの速度が前記第1カウント値と前記第2カウント値とのズレ量分だけ速まるように前記第2同期回路を補正し、前記第1カウント値受信手段により受信された前記第1カウント値が前記第2計数手段によりカウントされた前記第2カウント値よりも小さい場合には、前記デコーダによるデコードの速度が前記第1カウント値と前記第2カウント値とのズレ量分だけ遅くなるように前記第2同期回路を補正する補正手段と、
を備えることを特徴としている。
The invention according to claim 1 is a client / server system comprising: a server device; and a client device connected to the server device via a wireless line and receiving video / audio data from the server device.
The server device
Beacon signal generating means for generating a beacon signal;
Beacon signal transmitting means for transmitting the first beacon signal and the second beacon signal generated by the beacon signal generating means to the client device;
An encoder for encoding video / audio data into MPEG2-PS data ;
A first synchronization circuit for generating a reference clock signal for taking a timing for encoding video / audio data by the encoder;
The reference clock signal generated by the first synchronization circuit is counted for a period of time from when the first beacon signal is transmitted until the second beacon signal is transmitted, and the counted value is set to the first value. First counting means for storing as a count value;
First count value transmitting means for transmitting the first count value counted by the first counting means to the client device;
The client device is
Beacon receiving means for receiving the first beacon signal and the second beacon signal transmitted from the server device;
First count value receiving means for receiving the first count value transmitted from the server device;
A decoder for decoding video and audio data;
A second synchronization circuit for generating a reference clock signal for taking a timing for decoding the video / audio data by the decoder;
The reference clock signal generated by the second synchronization circuit is counted for a time corresponding to the time from when the first beacon signal is transmitted until the second beacon signal is transmitted, and the counted value is calculated as a second value. Second counting means for storing as a count value;
When the first count value received by the first count value receiving means is larger than the second count value counted by the second count means, the decoding speed by the decoder is the first count value. The second synchronization circuit is corrected so as to be accelerated by the amount of deviation between the first count value and the second count value, and the first count value received by the first count value receiving means is counted by the second count means. If the second count value is smaller than the second count value, the correction means corrects the second synchronization circuit so that the decoding speed by the decoder is delayed by the amount of deviation between the first count value and the second count value. When,
It is characterized by having.

請求項2に記載の発明は、サーバ装置と、前記サーバ装置と無線回線を介して接続され、前記サーバ装置から映像音声データを受信するクライアント装置と、を備えるクライアント・サーバシステムにおいて、
前記サーバ装置は、
ビーコン信号を生成するビーコン信号生成手段と、
前記クライアント装置に前記ビーコン信号生成手段により生成された第1ビーコン信号と第2ビーコン信号を送信するビーコン信号送信手段と、
映像音声データをMPEG2−PS方式により処理するための基準クロック信号を生成する第1同期回路と、
前記第1同期回路により生成された基準クロック信号を、前記第1ビーコン信号が送信されてから前記第2ビーコン信号が送信されるまでの時間に相当する間カウントし、カウントされた値を第1カウント値として記憶する第1計数手段と、
前記第1計数手段によりカウントされた前記第1カウント値を前記クライアント装置に送信する第1カウント値送信手段と、を備え、
前記クライアント装置は、
前記サーバ装置から送信された前記第1ビーコン信号と前記第2ビーコン信号を受信するビーコン受信手段と、
前記サーバ装置から送信された前記第1カウント値を受信する第1カウント値受信手段と、
映像音声データを処理するための基準クロック信号を生成する第2同期回路と、
前記第2同期回路により生成された基準クロック信号を、前記第1ビーコン信号が送信されてから前記第2ビーコン信号が送信されるまでの時間に相当する間カウントし、カウントされた値を第2カウント値として記憶する第2計数手段と、
前記第1カウント値受信手段により受信された前記第1カウント値が前記第2計数手段によりカウントされた前記第2カウント値よりも大きい場合には、前記クライアント装置における映像音声データの処理の速度が前記第1カウント値と前記第2カウント値とのズレ量分だけ速まるように前記第2同期回路を補正し、前記第1カウント値受信手段により受信された前記第1カウント値が前記第2計数手段によりカウントされた前記第2カウント値よりも小さい場合には、前記クライアント装置における映像音声データの処理の速度が前記第1カウント値と前記第2カウント値とのズレ量分だけ遅くなるように前記第2同期回路を補正する補正手段と、
を備えることを特徴としている。
The invention according to claim 2 is a client / server system comprising: a server device; and a client device connected to the server device via a wireless line and receiving video / audio data from the server device.
The server device
Beacon signal generating means for generating a beacon signal;
Beacon signal transmitting means for transmitting the first beacon signal and the second beacon signal generated by the beacon signal generating means to the client device;
A first synchronization circuit for generating a reference clock signal for processing video and audio data by the MPEG2-PS system ;
The reference clock signal generated by the first synchronization circuit is counted for a period of time from when the first beacon signal is transmitted until the second beacon signal is transmitted, and the counted value is set to the first value. First counting means for storing as a count value;
First count value transmitting means for transmitting the first count value counted by the first counting means to the client device;
The client device is
Beacon receiving means for receiving the first beacon signal and the second beacon signal transmitted from the server device;
First count value receiving means for receiving the first count value transmitted from the server device;
A second synchronization circuit for generating a reference clock signal for processing video and audio data;
The reference clock signal generated by the second synchronization circuit is counted for a time corresponding to the time from when the first beacon signal is transmitted until the second beacon signal is transmitted, and the counted value is calculated as a second value. Second counting means for storing as a count value;
When the first count value received by the first count value receiving means is larger than the second count value counted by the second counting means, the processing speed of the video / audio data in the client device is increased. The second synchronization circuit is corrected so as to be accelerated by a deviation amount between the first count value and the second count value, and the first count value received by the first count value receiving means is the second count value. When it is smaller than the second count value counted by the means, the processing speed of the video / audio data in the client device is slowed by the amount of deviation between the first count value and the second count value. Correction means for correcting the second synchronization circuit;
It is characterized by having.

請求項1に記載の発明によれば、サーバ装置において、ビーコン信号送信手段により、クライアント装置にビーコン信号生成手段により生成された第1ビーコン信号と第2ビーコン信号が送信され、エンコーダにより、映像音声データがエンコードされ、第1同期回路により、エンコーダで映像音声データをエンコードするタイミングを取るための基準クロック信号が生成され、第1計数手段により、第1同期回路によって生成された基準クロック信号が、第1ビーコン信号が送信されてから第2ビーコン信号が送信されるまでの時間に相当する間カウントされ、カウントされた値が第1カウント値として記憶され、第1カウント値送信手段により、第1計数手段によりカウントされた第1カウント値がクライアント装置に送信され、クライアント装置において、ビーコン受信手段により、サーバ装置から送信された第1ビーコン信号と第2ビーコン信号が受信され、第1カウント値受信手段により、サーバ装置から送信された第1カウント値が受信され、デコーダにより、映像音声データがデコードされ、第2同期回路により、デコーダで映像音声データをデコードするタイミングを取るための基準クロック信号が生成され、第2計数手段により、第2同期回路によって生成された基準クロック信号が、第1ビーコン信号が送信されてから第2ビーコン信号が送信されるまでの時間に相当する間カウントされ、カウントされた値が第2カウント値として記憶され、補正手段により、第2計数手段によりカウントされた第2カウント値と、第1カウント値受信手段により受信された第1カウント値とのズレ量から、エンコーダによるエンコードとデコーダによるデコードとが同期するように前記第2同期回路が補正されるので、例えば、MPEG2−PS方式の映像音声データを送信する場合であっても、サーバ装置から、第1カウント値がクライアント装置に送信され、クライアント装置において、当該第1カウント値とクライアント装置においてカウントされた第2カウント値のズレ量に基づいて、デコーダの同期をとる第2同期回路が補正されるので、サーバ装置のエンコーダのエンコードのタイミングと、クライアント装置のデコーダのデコードのタイミングとの同期を確実にとることができる。   According to the first aspect of the present invention, in the server device, the beacon signal transmitting unit transmits the first beacon signal and the second beacon signal generated by the beacon signal generating unit to the client device, and the encoder transmits the video and audio. The data is encoded, the first synchronization circuit generates a reference clock signal for taking the timing for encoding the video / audio data by the encoder, and the first counting means generates the reference clock signal generated by the first synchronization circuit, Counting is performed for a time corresponding to the time from when the first beacon signal is transmitted to when the second beacon signal is transmitted, and the counted value is stored as the first count value. The first count value counted by the counting means is transmitted to the client device, and the client In the remote device, the first beacon signal and the second beacon signal transmitted from the server device are received by the beacon receiving unit, and the first count value transmitted from the server device is received by the first count value receiving unit, The video / audio data is decoded by the decoder, the reference clock signal for taking the timing for decoding the video / audio data by the decoder is generated by the second synchronization circuit, and generated by the second synchronization circuit by the second counting means. The reference clock signal is counted for a time corresponding to the time from when the first beacon signal is transmitted until the second beacon signal is transmitted, and the counted value is stored as the second count value. The second count value counted by the two counting means and the first count value receiving means received Since the second synchronization circuit is corrected so that the encoding by the encoder and the decoding by the decoder are synchronized from the amount of deviation from the one count value, for example, when transmitting MPEG2-PS video / audio data. Also, the first count value is transmitted from the server device to the client device, and the client device synchronizes the decoder based on the amount of deviation between the first count value and the second count value counted by the client device. Since the two-synchronization circuit is corrected, the encoding timing of the encoder of the server device and the decoding timing of the decoder of the client device can be reliably synchronized.

請求項2記載の発明によれば、サーバ装置において、ビーコン信号送信手段により、クライアント装置にビーコン信号生成手段により生成された第1ビーコン信号と第2ビーコン信号が送信され、第1同期回路により、映像音声データを処理するための基準クロック信号が生成され、第1計数手段により、第2同期回路によって生成された基準クロック信号が、第1ビーコン信号が送信されてから第2ビーコン信号が送信されるまでの時間に相当する間カウントされ、カウントされた値が第1カウント値として記憶され、第1カウント値送信手段により、第1計数手段によってカウントされた第1カウント値がクライアント装置に送信され、クライアント装置において、ビーコン受信手段により、サーバ装置から送信された第1ビーコン信号と第2ビーコン信号が受信され、第1カウント値受信手段により、サーバ装置から送信された第1カウント値が受信され、第2同期回路により、映像音声データを処理するための基準クロック信号が生成され、第2計数手段により、第2同期回路によって生成された基準クロック信号が、第1ビーコン信号が送信されてから第2ビーコン信号が送信されるまでの時間に相当する間カウントされ、カウントされた値が第2カウント値として記憶され、補正手段により、第2計数手段によってカウントされた第2カウント値と、第1カウント値受信手段により受信された第1カウント値とのズレ量から、サーバ装置における映像音声データの処理とクライアント装置における映像音声データの処理とが同期するように第2同期回路が補正されるので、サーバ装置における映像音声データの処理のタイミングと、クライアント装置における映像音声データの処理のタイミングとの同期を確実にとることができる。   According to the invention of claim 2, in the server device, the beacon signal transmitting unit transmits the first beacon signal and the second beacon signal generated by the beacon signal generating unit to the client device, and the first synchronization circuit A reference clock signal for processing the video / audio data is generated, and the reference clock signal generated by the second synchronization circuit is transmitted by the first counting means, and the second beacon signal is transmitted after the first beacon signal is transmitted. The counted value is stored as a first count value, and the first count value counted by the first counting means is transmitted to the client device by the first count value transmitting means. In the client device, the first beacon signal transmitted from the server device by the beacon receiving means The second beacon signal is received, the first count value receiving means receives the first count value transmitted from the server device, and the second synchronization circuit generates a reference clock signal for processing the video / audio data. The reference clock signal generated by the second synchronization circuit is counted and counted by the second counting means for a time corresponding to the time from when the first beacon signal is transmitted until the second beacon signal is transmitted. The value is stored as a second count value, and the server device uses the amount of deviation between the second count value counted by the second count means and the first count value received by the first count value receiving means by the correcting means. The second synchronizing circuit is corrected so that the processing of the video / audio data in the client and the processing of the video / audio data in the client device are synchronized. Can take the timing of the processing of the audiovisual data in the server device, the synchronization with the timing of the processing of video and audio data in the client device to ensure.

以下、図を参照して、本発明に係るクライアント・サーバシステムを実施するための最良の形態を詳細に説明する。   Hereinafter, the best mode for carrying out a client / server system according to the present invention will be described in detail with reference to the drawings.

まず、本発明に係るクライアント・サーバシステム100の構成について図1を参照しながら説明する。本実施形態に係るクライアント・サーバシステム100は、例えば、図1に示すように、サーバ装置1と、当該サーバ装置1と無線回線Nを介して接続され、当該サーバ装置1から映像音声データXを受信するクライアント装置2と、を備えて構成されている。
また、サーバ装置1は、例えば、DVD再生装置3と接続されている。そして、サーバ装置1は、DVD再生装置3から映像音声データXが入力されるようになっている。
なお、無線回線Nに接続されるサーバ装置1とクライアント装置2との数は、図示例に限定されるものではなく、任意である。
First, the configuration of a client / server system 100 according to the present invention will be described with reference to FIG. As shown in FIG. 1, for example, the client / server system 100 according to the present embodiment is connected to a server apparatus 1 and the server apparatus 1 via a wireless line N, and receives video / audio data X from the server apparatus 1. And a client device 2 for receiving.
The server device 1 is connected to, for example, a DVD playback device 3. The server apparatus 1 receives the video / audio data X from the DVD playback apparatus 3.
The number of server devices 1 and client devices 2 connected to the wireless line N is not limited to the illustrated example, and is arbitrary.

無線回線Nは、例えば、Bluetooth規格やIEEE(Institute of Electrical and Electronic Engineers)802.11規格等に準じた無線LAN(Local Area Network)等のネットワークである。   The wireless line N is, for example, a network such as a wireless local area network (LAN) conforming to the Bluetooth standard or the IEEE (Institute of Electrical and Electronic Engineers) 802.11 standard.

サーバ装置1は、例えば、図2に示すように、情報入力部4,ビーコン生成部5,通信部6,エンコーダ7,PLL(Phase-Locked Loop)回路8,カウンタ部9,制御部10等を備えて構成されている。   For example, as shown in FIG. 2, the server device 1 includes an information input unit 4, a beacon generation unit 5, a communication unit 6, an encoder 7, a PLL (Phase-Locked Loop) circuit 8, a counter unit 9, a control unit 10, and the like. It is prepared for.

情報入力部4は、例えば、DVD再生装置3の出力端子(図示省略)と接続される入力端子(図示省略)等を備え、当該入力端子を介して当該DVD再生装置3から映像音声データXが入力されるものである。   The information input unit 4 includes, for example, an input terminal (not shown) connected to an output terminal (not shown) of the DVD playback device 3, and the video / audio data X is received from the DVD playback device 3 through the input terminal. It is input.

ビーコン生成部5は、例えば、発振回路(図示省略)等を備えて構成され、所定周期のビーコン信号(電気信号)を生成し、通信部6に出力する。かかるビーコン生成部5は、ビーコン信号生成手段として機能する。   The beacon generation unit 5 includes, for example, an oscillation circuit (not shown) and the like, generates a beacon signal (electric signal) with a predetermined period, and outputs it to the communication unit 6. The beacon generator 5 functions as a beacon signal generator.

通信部6は、例えば、無線回線Nを介して、クライアント装置2との間で所定の通信データの送受信を行う。
具体的には、通信部6は、例えば、無線アンテナ6A,ミキサ(図示省略)等を備え、制御部10からの制御信号に従って、映像音声データXに所定の処理を施して、無線アンテナ6Aによりクライアント装置2に送信させる。
また、通信部6は、制御部10からの制御信号に従って、無線アンテナ6Aを制御して、ビーコン生成部5から出力されたビーコン信号Bをクライアント装置2に送信させる。
The communication unit 6 transmits / receives predetermined communication data to / from the client device 2 via the wireless line N, for example.
Specifically, the communication unit 6 includes, for example, a wireless antenna 6A, a mixer (not shown), and the like, performs predetermined processing on the video / audio data X in accordance with a control signal from the control unit 10, and uses the wireless antenna 6A. The client apparatus 2 is made to transmit.
In addition, the communication unit 6 controls the wireless antenna 6 </ b> A according to the control signal from the control unit 10 to cause the client device 2 to transmit the beacon signal B output from the beacon generation unit 5.

エンコーダ7は、制御部10から入力される制御信号に従って、情報入力部4から入力される映像音声データXを、例えば、MPEG2−PS方式のデータにエンコードする。   The encoder 7 encodes the video / audio data X input from the information input unit 4 into, for example, MPEG2-PS data in accordance with a control signal input from the control unit 10.

PLL回路8は、例えば、発振回路(図示省略)により生成されたクロック信号からエンコーダ7において映像音声データXをエンコードするタイミングを取るための基準クロック信号を生成し、第1同期回路として機能する。PLL回路8は、例えば、基準クロック信号をエンコーダ7に出力することにより、エンコーダ7の同期を取る。   For example, the PLL circuit 8 generates a reference clock signal for taking a timing for encoding the video / audio data X in the encoder 7 from the clock signal generated by an oscillation circuit (not shown), and functions as a first synchronization circuit. For example, the PLL circuit 8 synchronizes the encoder 7 by outputting a reference clock signal to the encoder 7.

カウンタ部9は、例えば、PLL回路8から出力される基準クロック信号をカウントするカウンタ(図示省略)と、カウンタによりカウントされた値を記憶するカウンタレジスタ(図示省略)と、を備えて構成される。   The counter unit 9 includes, for example, a counter (not shown) that counts a reference clock signal output from the PLL circuit 8 and a counter register (not shown) that stores a value counted by the counter. .

制御部10は、例えば、図2に示すように、CPU(Central Processing Unit)11,RAM(Random Access Memory)12,記憶部13等を備えて構成される。   For example, as illustrated in FIG. 2, the control unit 10 includes a CPU (Central Processing Unit) 11, a RAM (Random Access Memory) 12, a storage unit 13, and the like.

CPU11は、例えば、記憶部13に格納された処理プログラム等を読み出して、RAM12に展開して実行することにより、サーバ装置1全体の制御を行う。   For example, the CPU 11 reads the processing program stored in the storage unit 13, develops it in the RAM 12, and executes it to control the entire server device 1.

RAM12は、CPU11により実行された処理プログラム等を、RAM12内のプログラム格納領域に展開するとともに、入力データや上記処理プログラムが実行される際に生じる処理結果等をデータ格納領域に格納する。   The RAM 12 develops a processing program executed by the CPU 11 in a program storage area in the RAM 12 and stores input data and a processing result generated when the processing program is executed in the data storage area.

記憶部13は、例えば、プログラムやデータ等が予め記憶されている記憶媒体(図示せず)を有しており、この記憶媒体は、例えば、半導体メモリ等で構成されている。また、記憶部13は、CPU11がサーバ装置1全体を制御する機能を実現させるための各種データ,各種処理プログラム,これらプログラムの実行により処理されたデータ等を記憶する。より具体的には、記憶部13は、例えば、図2に示すように、ビーコン送信プログラム13A,カウンタ制御プログラム13B,送信制御プログラム13C等を格納している。   The storage unit 13 includes, for example, a storage medium (not shown) in which programs, data, and the like are stored in advance, and this storage medium is configured by, for example, a semiconductor memory. Further, the storage unit 13 stores various data, various processing programs, data processed by executing these programs, and the like for realizing the function of the CPU 11 controlling the entire server device 1. More specifically, the storage unit 13 stores, for example, a beacon transmission program 13A, a counter control program 13B, a transmission control program 13C, and the like, as shown in FIG.

ビーコン送信プログラム13Aは、例えば、CPU11に、通信部6を制御して、クライアント装置2にビーコン信号Bを送信させる。
より具体的には、ビーコン送信プログラム13Aは、例えば、CPU11に、通信部6を制御して、クライアント装置2に、所定のタイミングで、開始情報を付加した第1ビーコン信号Bを送信させるとともに、停止情報を付加した第2ビーコン信号Bを送信させる機能を実現させるプログラムである。
ここで、ビーコン信号Bとは、例えば、図3(a)に示すように、所定の周期で出力される信号である。そして、CPU11は、ビーコン送信プログラム13Aを実行することにより、所定のタイミングで、第1ビーコン信号Bを送信した後、所定数のビーコン信号Bを送信し、さらにその後、第2ビーコン信号Bを送信する。
CPU11は、かかるビーコン送信プログラム13Aを実行することにより、通信部6とともに、ビーコン信号送信手段として機能する。
For example, the beacon transmission program 13A causes the CPU 11 to control the communication unit 6 to cause the client device 2 to transmit the beacon signal B.
More specifically, for example, the beacon transmission program 13A controls the communication unit 6 to cause the CPU 11 to transmit the first beacon signal B to which the start information is added to the client device 2 at a predetermined timing. It is a program for realizing a function of transmitting the second beacon signal B to which stop information is added.
Here, the beacon signal B is a signal output at a predetermined cycle, for example, as shown in FIG. Then, by executing the beacon transmission program 13A, the CPU 11 transmits the first beacon signal B at a predetermined timing, transmits a predetermined number of beacon signals B, and then transmits the second beacon signal B. To do.
The CPU 11 functions as a beacon signal transmission unit together with the communication unit 6 by executing the beacon transmission program 13A.

カウンタ制御プログラム13Bは、例えば、CPU11に、カウンタ部9を制御して、PLL回路8から出力される基準クロック信号を、第1ビーコン信号Bを送信させてから第2ビーコン信号Bを送信させるまでの時間に相当する間カウントさせ、カウントさせた値を第1カウント値として記憶させる機能を実現させるプログラムである。CPU11は、かかるカウンタ制御プログラム13Bを実行することにより、カウンタ部9とともに、第1計数手段として機能する。   For example, the counter control program 13B controls the counter unit 9 to cause the CPU 11 to transmit the first beacon signal B from the reference clock signal output from the PLL circuit 8 until the second beacon signal B is transmitted. This is a program that realizes a function of counting for a time corresponding to the time and storing the counted value as the first count value. The CPU 11 functions as a first counting unit together with the counter unit 9 by executing the counter control program 13B.

送信制御プログラム13Cは、例えば、CPU11に、通信部6を制御して、ビーコン送信プログラム13Aを実行することによるクライアント装置2へのビーコン信号Bの送信の合間に、エンコーダ7によりエンコードされた映像音声データXをクライアント装置2へ送信させる機能を実現させるプログラムである。
より具体的には、送信制御プログラム13Cは、例えば、図3(b)に示すように、CPU11に、通信部6を制御して、クライアント装置2へ送信されるビーコン信号Bとビーコン信号Bとの合間に、エンコーダ7によりエンコードされてパケット化された映像音声データXを、所定パケット数毎、クライアント装置2に送信させる機能を実現させるプログラムである。
また、送信制御プログラム13Cは、例えば、CPU11に、カウンタ制御プログラム13Bを実行することにより、カウンタ部9にカウントさせた第1カウント値を第2ビーコン信号Bが送信された後に送信される映像音声データXのパケットとともにクライアント装置2に送信させる機能を実現させるプログラムである。
CPU11は、かかる送信制御プログラム13Cを実行することにより、通信部6とともに、第1カウント値送信手段として機能する。
The transmission control program 13C controls, for example, the CPU 11 to control the communication unit 6 and execute the beacon transmission program 13A to transmit the beacon signal B to the client apparatus 2 between video and audio encoded by the encoder 7. This is a program for realizing a function of transmitting data X to the client device 2.
More specifically, the transmission control program 13C, for example, as shown in FIG. 3 (b), controls the communication unit 6 to the CPU 11 to transmit the beacon signal B and the beacon signal B transmitted to the client device 2. Is a program that realizes a function of transmitting the audio / video data X encoded and packetized by the encoder 7 to the client device 2 every predetermined number of packets.
Also, the transmission control program 13C, for example, the video and audio transmitted after the second beacon signal B is transmitted to the CPU 11 by executing the counter control program 13B and causing the counter unit 9 to count the first count value. This is a program that realizes a function to be transmitted to the client apparatus 2 together with a packet of data X.
The CPU 11 functions as a first count value transmission unit together with the communication unit 6 by executing the transmission control program 13C.

クライアント装置2は、例えば、図4に示すように、通信部14,バッファ15,デコーダ16,PLL回路17,カウンタ部18,表示部19,音出力部20,制御部21等を備えて構成されている。   For example, as shown in FIG. 4, the client apparatus 2 includes a communication unit 14, a buffer 15, a decoder 16, a PLL circuit 17, a counter unit 18, a display unit 19, a sound output unit 20, a control unit 21, and the like. ing.

通信部14は、例えば、無線回線Nを介して、サーバ装置1との間で所定の通信データの送受信を行う。
具体的には、通信部14は、例えば、無線アンテナ14A,ミキサ(図示省略)等を備え、無線アンテナ14Aによりサーバ装置1から送信されたデータに所定の処理を施して、デコーダ16に出力する。
また、通信部14は、無線アンテナ14Aを制御して、サーバ装置1から送信されるビーコン信号Bを受信させ、ビーコン受信手段として機能する。
また、通信部14は、無線アンテナ14Aを制御して、サーバ装置1から送信される第1カウント値を受信させ、第1カウント値受信手段として機能する。
The communication unit 14 transmits / receives predetermined communication data to / from the server device 1 via the wireless line N, for example.
Specifically, the communication unit 14 includes, for example, a wireless antenna 14A, a mixer (not shown), and the like, performs predetermined processing on data transmitted from the server device 1 by the wireless antenna 14A, and outputs the processed data to the decoder 16. .
Further, the communication unit 14 controls the wireless antenna 14A to receive the beacon signal B transmitted from the server device 1 and functions as a beacon receiving unit.
Further, the communication unit 14 controls the wireless antenna 14A to receive the first count value transmitted from the server device 1, and functions as a first count value receiving unit.

バッファ15は、例えば、サーバ装置1から送信され、通信部14により受信された映像音声データXを一時的に記憶するものである。   For example, the buffer 15 temporarily stores the video / audio data X transmitted from the server device 1 and received by the communication unit 14.

デコーダ16は、例えば、制御部21から入力される制御信号に従って、サーバ装置1から送信された映像音声データXをデコードして、映像データ及び音声データを生成し、表示部19及び音出力部20に出力する。   For example, the decoder 16 decodes the video / audio data X transmitted from the server device 1 according to the control signal input from the control unit 21 to generate video data and audio data, and the display unit 19 and the sound output unit 20. Output to.

PLL回路17は、例えば、発振回路(図示省略)により生成されたクロック信号からデコーダ16において映像音声データXをエンコードするタイミングを取るための基準クロック信号を生成し、第2同期回路として機能する。PLL回路17は、例えば、基準クロック信号をデコーダ16に出力することにより、デコーダ16の同期を取る。   For example, the PLL circuit 17 generates a reference clock signal for taking a timing for encoding the video / audio data X in the decoder 16 from a clock signal generated by an oscillation circuit (not shown), and functions as a second synchronization circuit. For example, the PLL circuit 17 synchronizes the decoder 16 by outputting a reference clock signal to the decoder 16.

カウンタ部18は、例えば、PLL回路17より出力される基準クロック信号をカウントするカウンタ(図示省略)と、カウンタによりカウントされた値を記憶するカウンタレジスタ(図示省略)と、を備えて構成される。   The counter unit 18 includes, for example, a counter (not shown) that counts the reference clock signal output from the PLL circuit 17 and a counter register (not shown) that stores a value counted by the counter. .

表示部19は、例えば、LCD(Liquid Crystal Display)やPDP(Plasma Display Panel)等を備えて構成され、デコーダ16から出力される映像データに基づく映像を表示する。   The display unit 19 includes, for example, an LCD (Liquid Crystal Display), a PDP (Plasma Display Panel), and the like, and displays an image based on the image data output from the decoder 16.

音出力部20は、例えば、スピーカ等を備えて構成され、デコーダ16から出力される音声データに基づく音声を出力する。   The sound output unit 20 includes, for example, a speaker and outputs sound based on the sound data output from the decoder 16.

制御部21は、例えば、図4に示すように、CPU22,RAM23,記憶部24等を備えて構成される。   For example, as shown in FIG. 4, the control unit 21 includes a CPU 22, a RAM 23, a storage unit 24, and the like.

CPU22は、例えば、記憶部24に格納された処理プログラム等を読み出して、RAM23に展開して実行することにより、クライアント装置2全体の制御を行う。   For example, the CPU 22 reads out a processing program or the like stored in the storage unit 24, expands it in the RAM 23, and executes it, thereby controlling the entire client device 2.

RAM23は、CPU22により実行された処理プログラム等を、RAM23内のプログラム格納領域に展開するとともに、入力データや上記処理プログラムが実行される際に生じる処理結果等をデータ格納領域に格納する。   The RAM 23 expands the processing program executed by the CPU 22 in the program storage area in the RAM 23 and stores the input data and the processing result generated when the processing program is executed in the data storage area.

記憶部24は、例えば、プログラムやデータ等が予め記憶されている記憶媒体(図示せず)を有しており、この記憶媒体は、例えば、半導体メモリ等で構成されている。また、記憶部24は、CPU22がクライアント装置2全体を制御する機能を実現させるための各種データ,各種処理プログラム,これらプログラムの実行により処理されたデータ等を記憶する。より具体的には、記憶部24は、例えば、図4に示すように、カウンタ制御プログラム24A,補正プログラム24B等を格納している。   The storage unit 24 includes, for example, a storage medium (not shown) in which programs, data, and the like are stored in advance, and this storage medium is configured by, for example, a semiconductor memory. In addition, the storage unit 24 stores various data, various processing programs, data processed by executing these programs, and the like for realizing the function of the CPU 22 controlling the entire client device 2. More specifically, the storage unit 24 stores, for example, a counter control program 24A and a correction program 24B as shown in FIG.

カウンタ制御プログラム24Aは、例えば、CPU22に、カウンタ部18を制御して、PLL回路17から出力される基準クロック信号を、第1ビーコン信号Bを送信させてから第2ビーコン信号Bを送信させるまでの時間に相当する間カウントさせ、カウントさせた値を第2カウント値としてRAM23に記憶させる機能を実現させるプログラムである。CPU22は、かかるカウンタ制御プログラム24Aを実行することにより、カウンタ部18とともに、第2計数手段として機能する。   For example, the counter control program 24A controls the counter unit 18 to cause the CPU 22 to transmit the reference clock signal output from the PLL circuit 17 until the second beacon signal B is transmitted after the first beacon signal B is transmitted. This is a program that realizes a function of counting for a time corresponding to the time of (2) and storing the counted value in the RAM 23 as the second count value. The CPU 22 functions as a second counting unit together with the counter unit 18 by executing the counter control program 24A.

補正プログラム24Bは、例えば、CPU22に、サーバ装置1から映像音声データXとともに第1カウント値を受信した際に、当該第1カウント値と第2カウント値とを比較し、当該第1カウント値と第2カウント値とのズレ量に基づいて、サーバ装置1のエンコーダ7によるエンコードとクライアント装置2におけるデコーダ16によるデコードとが同期するように、PLL回路17を補正する機能を実現させるプログラムである。
具体的には、例えば、第1カウント値が第2カウント値よりも大きい場合には、CPU22は、補正プログラム24Bを実行することにより、デコーダ16によるデコードの速度が当該ズレ量分だけ速まるようにPLL回路17を補正する。反対に、第1カウント値が第2カウント値よりも小さい場合には、CPU22は、補正プログラム24Bを実行することにより、例えば、デコーダ16によるデコードの速度が当該ズレ量分だけ遅くなるようにPLL回路17を補正する。
CPU22は、かかる補正プログラム24Bを実行することにより、補正手段として機能する。
For example, when the CPU 22 receives the first count value together with the video / audio data X from the server device 1, the correction program 24 </ b> B compares the first count value with the second count value. This program realizes a function of correcting the PLL circuit 17 so that the encoding by the encoder 7 of the server device 1 and the decoding by the decoder 16 of the client device 2 are synchronized based on the amount of deviation from the second count value.
Specifically, for example, when the first count value is larger than the second count value, the CPU 22 executes the correction program 24B so that the decoding speed by the decoder 16 is increased by the amount of the deviation. The PLL circuit 17 is corrected. On the other hand, when the first count value is smaller than the second count value, the CPU 22 executes the correction program 24B, for example, so that the decoding speed by the decoder 16 is reduced by the amount of the deviation. The circuit 17 is corrected.
The CPU 22 functions as a correction unit by executing the correction program 24B.

次に、上述のような構成のクライアント・サーバシステム100の同期動作について図5に示すフローチャートを参照しながら説明する。
まず、サーバ装置1のCPU11は、ビーコン送信プログラム13Aを実行することにより、通信部6を制御して、クライアント装置2に、ビーコン生成部5により生成された第1ビーコン信号Bを送信させる(ステップS1)。
Next, the synchronization operation of the client / server system 100 configured as described above will be described with reference to the flowchart shown in FIG.
First, the CPU 11 of the server device 1 controls the communication unit 6 by executing the beacon transmission program 13A, and causes the client device 2 to transmit the first beacon signal B generated by the beacon generation unit 5 (Step S1). S1).

次に、CPU11は、カウンタ制御プログラム13Bを実行することにより、ステップS1において、第1ビーコン信号Bをクライアント装置2に送信した際に、カウンタ部9を制御してカウンタ(図示省略)をリセットし(ステップS2)、基準クロック信号のカウントをスタートさせる(ステップS3)。   Next, the CPU 11 executes the counter control program 13B to reset the counter (not shown) by controlling the counter unit 9 when the first beacon signal B is transmitted to the client device 2 in step S1. (Step S2), the reference clock signal count is started (Step S3).

また、クライアント装置2がサーバ装置1から第1ビーコン信号Bを受信すると(ステップS4)、クライアント装置2のCPU22は、カウンタ制御プログラム24Aを実行することにより、当該クライアント装置2のカウンタ部18を制御してカウンタ(図示省略)をリセットし(ステップS5)、基準クロック信号のカウントをスタートさせる(ステップS6)。   When the client device 2 receives the first beacon signal B from the server device 1 (step S4), the CPU 22 of the client device 2 controls the counter unit 18 of the client device 2 by executing the counter control program 24A. Then, a counter (not shown) is reset (step S5), and counting of the reference clock signal is started (step S6).

次に、サーバ装置1のCPU11は、ビーコン送信プログラム13Aの実行に基づいて、通信部6を制御して、クライアント装置2に、第2ビーコン信号Bを送信させる(ステップS7)。   Next, CPU11 of the server apparatus 1 controls the communication part 6 based on execution of the beacon transmission program 13A, and makes the client apparatus 2 transmit the 2nd beacon signal B (step S7).

次に、CPU11は、カウンタ制御プログラム13Bの実行に基づいて、カウンタ部9を制御して、基準クロック信号のカウントをストップさせ(ステップS8)、カウントした値を第1カウント値としてカウンタレジスタ(図示省略)に記憶させる(ステップS9)。   Next, the CPU 11 controls the counter unit 9 based on the execution of the counter control program 13B to stop the counting of the reference clock signal (step S8), and sets the counted value as the first count value to the counter register (illustrated). (Omitted) (step S9).

また、クライアント装置2がサーバ装置1から第2ビーコン信号Bを受信すると(ステップS10)、CPU22は、カウンタ制御プログラム24Aの実行に基づいて、カウンタ部18を制御して、基準クロック信号のカウントをストップさせ(ステップS11)、カウントした値を第2カウント値としてカウンタレジスタ(図示省略)に記憶させる(ステップS12)。   When the client device 2 receives the second beacon signal B from the server device 1 (step S10), the CPU 22 controls the counter unit 18 based on the execution of the counter control program 24A to count the reference clock signal. Stop (step S11), and the counted value is stored as a second count value in a counter register (not shown) (step S12).

次に、サーバ装置1のCPU11は、送信制御プログラム13Cを実行することにより、通信部6を制御して、第1カウント値を第2ビーコン信号Bが送信された後に送信される映像音声データXのパケットとともにクライアント装置2に送信させる(ステップS13)。   Next, the CPU 11 of the server device 1 controls the communication unit 6 by executing the transmission control program 13C, and the video / audio data X transmitted after the second beacon signal B is transmitted as the first count value. Is sent to the client apparatus 2 together with the packet (step S13).

次に、クライアント装置2が、サーバ装置1から送信された映像音声データXとともに第1カウント値を受信すると(ステップS14)、CPU22は、補正プログラム24Bを実行することにより、第1カウント値と第2カウント値とのズレ量を算出し(ステップS15)、当該ズレ量に基づいてPLL回路17を補正する(ステップS16)。   Next, when the client device 2 receives the first count value together with the video / audio data X transmitted from the server device 1 (step S14), the CPU 22 executes the correction program 24B, thereby executing the first count value and the first count value. The amount of deviation from the 2 count value is calculated (step S15), and the PLL circuit 17 is corrected based on the amount of deviation (step S16).

以上に説明したクライアント・サーバシステム100によれば、サーバ装置1において、CPU11がビーコン送信プログラム13Aを実行することにより、クライアント装置2に第1ビーコン信号Bと第2ビーコン信号Bが送信され、エンコーダ7により、映像音声データXがエンコードされ、PLL回路8により、エンコーダ7で映像音声データXをエンコードするタイミングを取るための基準クロック信号が生成され、CPU11がカウンタ制御プログラム13Bを実行することにより、カウンタ部9が制御されて、PLL回路8により生成された基準クロック信号が、第1ビーコン信号Bが送信されてから第2ビーコン信号Bが送信されるまでの時間に相当する間カウントされ、カウントされた値が第1カウント値として記憶され、CPU11が送信制御プログラム13Cを実行することにより、カウンタ制御プログラム13Bを実行することによりカウンタ部9によってカウントされた第1カウント値がクライアント装置2に送信され、クライアント装置2において、通信部14により、サーバ装置1から送信された第1ビーコン信号Bと第2ビーコン信号Bが受信され、通信部14により、サーバ装置1から送信された第1カウント値が受信され、デコーダ16により、映像音声データXがデコードされ、PLL回路17により、デコーダ16で映像音声データXをデコードするタイミングを取るための基準クロック信号が生成され、CPU22がカウンタ制御プログラム24Aを実行することにより、カウンタ部18が制御されて、PLL回路17により生成された基準クロック信号が、第1ビーコン信号Bが送信されてから第2ビーコン信号Bが送信されるまでの時間に相当する間カウントされ、カウントされた値が第2カウント値として記憶され、CPU22が補正プログラム24Bを実行することにより、カウンタ制御プログラム24Aを実行することによりカウンタ部18によってカウントされた第2カウント値と、通信部14により受信された第1カウント値とのズレ量から、エンコーダ7によるエンコードとデコーダ16によるデコードとが同期するようにPLL回路17が補正されるので、MPEG2−PS方式の映像音声データXを送信する場合であっても、サーバ装置1から、第1カウント値がクライアント装置2に送信され、クライアント装置2において、当該第1カウント値とクライアント装置2においてカウントされた第2カウント値のズレ量に基づいて、デコーダ16の同期をとるPLL回路17が補正されるので、サーバ装置1のエンコーダ7のエンコードのタイミングと、クライアント装置2のデコーダ16のデコードのタイミングとの同期を確実にとることができる。   According to the client / server system 100 described above, in the server device 1, when the CPU 11 executes the beacon transmission program 13A, the first beacon signal B and the second beacon signal B are transmitted to the client device 2, and the encoder 7, the audio / video data X is encoded, and the PLL circuit 8 generates a reference clock signal for taking the timing for encoding the audio / video data X by the encoder 7, and the CPU 11 executes the counter control program 13B. The counter unit 9 is controlled, and the reference clock signal generated by the PLL circuit 8 is counted for the time from when the first beacon signal B is transmitted to when the second beacon signal B is transmitted. Is stored as the first count value, When the PU 11 executes the transmission control program 13C, the first count value counted by the counter unit 9 is transmitted to the client device 2 by executing the counter control program 13B. In the client device 2, the communication unit 14 The first beacon signal B and the second beacon signal B transmitted from the server apparatus 1 are received, the first count value transmitted from the server apparatus 1 is received by the communication unit 14, and the video / audio data X is received by the decoder 16. Is decoded, and the PLL circuit 17 generates a reference clock signal for taking the timing for decoding the video / audio data X by the decoder 16, and the CPU 22 executes the counter control program 24A, whereby the counter unit 18 is controlled. , Generated by the PLL circuit 17 The quasi-clock signal is counted for a time corresponding to the time from when the first beacon signal B is transmitted until the second beacon signal B is transmitted, and the counted value is stored as the second count value, and the CPU 22 corrects it. By executing the program 24B, the encoder 7 calculates the amount of deviation between the second count value counted by the counter unit 18 by executing the counter control program 24A and the first count value received by the communication unit 14. Since the PLL circuit 17 is corrected so that the encoding and the decoding by the decoder 16 are synchronized, even if the MPEG2-PS video / audio data X is transmitted, the server device 1 receives the first count value from the client. Sent to the device 2, and the client device 2 receives the first count value and the client Since the PLL circuit 17 that synchronizes the decoder 16 is corrected based on the shift amount of the second count value counted in the ant device 2, the encoding timing of the encoder 7 of the server device 1 and the decoder of the client device 2 are corrected. The synchronization with the 16 decoding timings can be ensured.

なお、本実施形態では、第1ビーコン信号Bを開始情報が付加されたビーコン信号Bとし、第2ビーコン信号Bを停止情報が付加されたビーコン信号Bとしたが、予め、第1ビーコン信号Bを第2ビーコン信号Bが送信されてから所定数個目のビーコン信号Bとし、第2ビーコン信号Bを第1ビーコン信号Bが送信されてから所定数個目のビーコン信号Bとする設定をサーバ装置1及びクライアント装置2に記憶させておいてもよい。
また、第1ビーコン信号Bを開始情報が付加されたビーコン信号Bとし、第2ビーコン信号Bを停止情報が付加されたビーコン信号Bとするとともに、第1ビーコン信号Bが送信されてから第2ビーコン信号Bが送信されるまでに送信されるビーコン信号Bの数と、第2ビーコン信号Bが送信されてから第1ビーコン信号Bが送信されるまでに送信されるビーコン信号Bの数とをクライアント装置2に記憶させておき、第1ビーコン信号B又は第2ビーコン信号Bを受信した際に、第2ビーコン信号B又は第1ビーコン信号Bを受信してから当該第1ビーコン信号B又は第2ビーコン信号Bを受信するまでに受信したビーコン信号Bの数が所定数に満たない場合に、受信できていない映像音声データXがあることを検出するように構成してもよい。
サーバ装置1のエンコーダ7のエンコードのタイミングと、クライアント装置2のデコーダ16のデコードのタイミングとの同期に限らず、サーバ装置1における映像音声データXの処理のタイミングとクライアント装置2における映像音声データXの処理のタイミングであれば、どのようなタイミングであってもよい。
また、サーバ装置1の情報入力部4に接続される機器は、DVD再生装置3に限られず、情報入力部4に映像音声データXを出力するものであればなんであってもよく、例えば、デジタルテレビやセットトップボックス等であってもよい。
In the present embodiment, the first beacon signal B is a beacon signal B to which start information is added and the second beacon signal B is a beacon signal B to which stop information is added. Is set to be a predetermined number of beacon signals B after the second beacon signal B is transmitted, and the second beacon signal B is set to be a predetermined number of beacon signals B after the first beacon signal B is transmitted. You may memorize | store in the apparatus 1 and the client apparatus 2. FIG.
The first beacon signal B is a beacon signal B to which start information is added, the second beacon signal B is a beacon signal B to which stop information is added, and the first beacon signal B is transmitted after the first beacon signal B is transmitted. The number of beacon signals B transmitted until the beacon signal B is transmitted and the number of beacon signals B transmitted after the second beacon signal B is transmitted until the first beacon signal B is transmitted. When the first beacon signal B or the second beacon signal B is received and stored in the client device 2, the first beacon signal B or the first beacon signal B is received after the second beacon signal B or the first beacon signal B is received. Even when the number of the beacon signals B received before the reception of the two beacon signals B is less than the predetermined number, it may be configured to detect that there is video / audio data X that cannot be received. There.
Not only is the synchronization of the encoding timing of the encoder 7 of the server device 1 and the decoding timing of the decoder 16 of the client device 2, but the processing timing of the video / audio data X in the server device 1 and the video / audio data X in the client device 2. Any timing may be used as long as it is the timing of the process.
Further, the device connected to the information input unit 4 of the server device 1 is not limited to the DVD playback device 3, and any device that outputs video / audio data X to the information input unit 4 may be used. It may be a television or a set top box.

本発明に係るクライアント・サーバシステムの概略構成を示す図である。It is a figure which shows schematic structure of the client server system which concerns on this invention. 本発明に係るサーバ装置の構成を示すブロック図である。It is a block diagram which shows the structure of the server apparatus which concerns on this invention. 本発明に係るビーコン信号を説明する図(図3(a))、及び、ビーコン信号と映像音声データを説明する図(図3(b))である。It is a figure (FIG.3 (a)) explaining the beacon signal which concerns on this invention, and a figure (FIG.3 (b)) explaining a beacon signal and video / audio data. 本発明に係るクライアント装置の構成を示すブロック図である。It is a block diagram which shows the structure of the client apparatus which concerns on this invention. 本発明に係るクライアント・サーバシステムにおける同期動作の一例を説明するフローチャートである。It is a flowchart explaining an example of the synchronous operation | movement in the client server system concerning this invention.

符号の説明Explanation of symbols

1 サーバ装置
2 クライアント装置
5 ビーコン生成部(ビーコン信号生成手段)
6 通信部(ビーコン信号送信手段,第1カウント値送信手段)
7 エンコーダ
8 PLL回路(第1同期回路)
9 カウンタ部(第1計数手段)
11 CPU(ビーコン信号送信手段,第1計数手段)
13A ビーコン送信プログラム(ビーコン信号送信手段)
13B カウンタ制御プログラム(第1計数手段)
13C 送信制御プログラム(第1カウント値送信手段)
14 通信部(ビーコン受信手段,第1カウント値受信手段)
16 デコーダ
17 PLL回路(第2同期回路)
18 カウンタ部(第2計数手段)
22 CPU(第2計数手段,補正手段)
24A カウンタ制御プログラム(第2計数手段)
24B 補正プログラム(補正手段)
100 クライアント・サーバシステム
B ビーコン信号
N 無線回線
X 映像音声データ
1 server device 2 client device 5 beacon generator (beacon signal generator)
6 Communication unit (beacon signal transmission means, first count value transmission means)
7 Encoder 8 PLL circuit (first synchronization circuit)
9 Counter part (first counting means)
11 CPU (beacon signal transmitting means, first counting means)
13A Beacon transmission program (beacon signal transmission means)
13B Counter control program (first counting means)
13C transmission control program (first count value transmission means)
14 Communication unit (beacon receiving means, first count value receiving means)
16 Decoder 17 PLL circuit (second synchronization circuit)
18 Counter unit (second counting means)
22 CPU (second counting means, correcting means)
24A Counter control program (second counting means)
24B correction program (correction means)
100 Client / server system B Beacon signal N Wireless link X Video / audio data

Claims (2)

サーバ装置と、前記サーバ装置と無線回線を介して接続され、前記サーバ装置から映像音声データを受信するクライアント装置と、を備えるクライアント・サーバシステムにおいて、
前記サーバ装置は、
ビーコン信号を生成するビーコン信号生成手段と、
前記クライアント装置に前記ビーコン信号生成手段により生成された第1ビーコン信号と第2ビーコン信号を送信するビーコン信号送信手段と、
映像音声データをMPEG2−PS方式のデータにエンコードするエンコーダと、
前記エンコーダで映像音声データをエンコードするタイミングを取るための基準クロック信号を生成する第1同期回路と、
前記第1同期回路により生成された基準クロック信号を、前記第1ビーコン信号が送信されてから前記第2ビーコン信号が送信されるまでの時間に相当する間カウントし、カウントされた値を第1カウント値として記憶する第1計数手段と、
前記第1計数手段によりカウントされた前記第1カウント値を前記クライアント装置に送信する第1カウント値送信手段と、を備え、
前記クライアント装置は、
前記サーバ装置から送信された前記第1ビーコン信号と前記第2ビーコン信号を受信するビーコン受信手段と、
前記サーバ装置から送信された前記第1カウント値を受信する第1カウント値受信手段と、
映像音声データをデコードするデコーダと、
前記デコーダで映像音声データをデコードするタイミングを取るための基準クロック信号を生成する第2同期回路と、
前記第2同期回路により生成された基準クロック信号を、前記第1ビーコン信号が送信されてから前記第2ビーコン信号が送信されるまでの時間に相当する間カウントし、カウントされた値を第2カウント値として記憶する第2計数手段と、
前記第1カウント値受信手段により受信された前記第1カウント値が前記第2計数手段によりカウントされた前記第2カウント値よりも大きい場合には、前記デコーダによるデコードの速度が前記第1カウント値と前記第2カウント値とのズレ量分だけ速まるように前記第2同期回路を補正し、前記第1カウント値受信手段により受信された前記第1カウント値が前記第2計数手段によりカウントされた前記第2カウント値よりも小さい場合には、前記デコーダによるデコードの速度が前記第1カウント値と前記第2カウント値とのズレ量分だけ遅くなるように前記第2同期回路を補正する補正手段と、
を備えることを特徴とするクライアント・サーバシステム。
In a client / server system comprising: a server device; and a client device connected to the server device via a wireless line and receiving video / audio data from the server device,
The server device
Beacon signal generating means for generating a beacon signal;
Beacon signal transmitting means for transmitting the first beacon signal and the second beacon signal generated by the beacon signal generating means to the client device;
An encoder for encoding video / audio data into MPEG2-PS data ;
A first synchronization circuit for generating a reference clock signal for taking a timing for encoding video / audio data by the encoder;
The reference clock signal generated by the first synchronization circuit is counted for a period of time from when the first beacon signal is transmitted until the second beacon signal is transmitted, and the counted value is set to the first value. First counting means for storing as a count value;
First count value transmitting means for transmitting the first count value counted by the first counting means to the client device;
The client device is
Beacon receiving means for receiving the first beacon signal and the second beacon signal transmitted from the server device;
First count value receiving means for receiving the first count value transmitted from the server device;
A decoder for decoding video and audio data;
A second synchronization circuit for generating a reference clock signal for taking a timing for decoding the video / audio data by the decoder;
The reference clock signal generated by the second synchronization circuit is counted for a time corresponding to the time from when the first beacon signal is transmitted until the second beacon signal is transmitted, and the counted value is calculated as a second value. Second counting means for storing as a count value;
When the first count value received by the first count value receiving means is larger than the second count value counted by the second count means, the decoding speed by the decoder is the first count value. The second synchronization circuit is corrected so as to be accelerated by the amount of deviation between the first count value and the second count value, and the first count value received by the first count value receiving means is counted by the second count means. If the second count value is smaller than the second count value, the correction means corrects the second synchronization circuit so that the decoding speed by the decoder is delayed by the amount of deviation between the first count value and the second count value. When,
A client-server system comprising:
サーバ装置と、前記サーバ装置と無線回線を介して接続され、前記サーバ装置から映像音声データを受信するクライアント装置と、を備えるクライアント・サーバシステムにおいて、
前記サーバ装置は、
ビーコン信号を生成するビーコン信号生成手段と、
前記クライアント装置に前記ビーコン信号生成手段により生成された第1ビーコン信号と第2ビーコン信号を送信するビーコン信号送信手段と、
映像音声データをMPEG2−PS方式により処理するための基準クロック信号を生成する第1同期回路と、
前記第1同期回路により生成された基準クロック信号を、前記第1ビーコン信号が送信されてから前記第2ビーコン信号が送信されるまでの時間に相当する間カウントし、カウントされた値を第1カウント値として記憶する第1計数手段と、
前記第1計数手段によりカウントされた前記第1カウント値を前記クライアント装置に送信する第1カウント値送信手段と、を備え、
前記クライアント装置は、
前記サーバ装置から送信された前記第1ビーコン信号と前記第2ビーコン信号を受信するビーコン受信手段と、
前記サーバ装置から送信された前記第1カウント値を受信する第1カウント値受信手段と、
映像音声データを処理するための基準クロック信号を生成する第2同期回路と、
前記第2同期回路により生成された基準クロック信号を、前記第1ビーコン信号が送信されてから前記第2ビーコン信号が送信されるまでの時間に相当する間カウントし、カウントされた値を第2カウント値として記憶する第2計数手段と、
前記第1カウント値受信手段により受信された前記第1カウント値が前記第2計数手段によりカウントされた前記第2カウント値よりも大きい場合には、前記クライアント装置における映像音声データの処理の速度が前記第1カウント値と前記第2カウント値とのズレ量分だけ速まるように前記第2同期回路を補正し、前記第1カウント値受信手段により受信された前記第1カウント値が前記第2計数手段によりカウントされた前記第2カウント値よりも小さい場合には、前記クライアント装置における映像音声データの処理の速度が前記第1カウント値と前記第2カウント値とのズレ量分だけ遅くなるように前記第2同期回路を補正する補正手段と、
を備えることを特徴とするクライアント・サーバシステム。
In a client / server system comprising: a server device; and a client device connected to the server device via a wireless line and receiving video / audio data from the server device,
The server device
Beacon signal generating means for generating a beacon signal;
Beacon signal transmitting means for transmitting the first beacon signal and the second beacon signal generated by the beacon signal generating means to the client device;
A first synchronization circuit for generating a reference clock signal for processing video and audio data by the MPEG2-PS system ;
The reference clock signal generated by the first synchronization circuit is counted for a period of time from when the first beacon signal is transmitted until the second beacon signal is transmitted, and the counted value is set to the first value. First counting means for storing as a count value;
First count value transmitting means for transmitting the first count value counted by the first counting means to the client device;
The client device is
Beacon receiving means for receiving the first beacon signal and the second beacon signal transmitted from the server device;
First count value receiving means for receiving the first count value transmitted from the server device;
A second synchronization circuit for generating a reference clock signal for processing video and audio data;
The reference clock signal generated by the second synchronization circuit is counted for a time corresponding to the time from when the first beacon signal is transmitted until the second beacon signal is transmitted, and the counted value is calculated as a second value. Second counting means for storing as a count value;
When the first count value received by the first count value receiving means is larger than the second count value counted by the second counting means, the processing speed of the video / audio data in the client device is increased. The second synchronization circuit is corrected so as to be accelerated by a deviation amount between the first count value and the second count value, and the first count value received by the first count value receiving means is the second count value. When it is smaller than the second count value counted by the means, the processing speed of the video / audio data in the client device is slowed by the amount of deviation between the first count value and the second count value. Correction means for correcting the second synchronization circuit;
A client-server system comprising:
JP2006263199A 2006-09-27 2006-09-27 Client / server system Expired - Fee Related JP4386060B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006263199A JP4386060B2 (en) 2006-09-27 2006-09-27 Client / server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006263199A JP4386060B2 (en) 2006-09-27 2006-09-27 Client / server system

Publications (2)

Publication Number Publication Date
JP2008085650A JP2008085650A (en) 2008-04-10
JP4386060B2 true JP4386060B2 (en) 2009-12-16

Family

ID=39356049

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006263199A Expired - Fee Related JP4386060B2 (en) 2006-09-27 2006-09-27 Client / server system

Country Status (1)

Country Link
JP (1) JP4386060B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011007567A1 (en) * 2009-07-15 2011-01-20 パナソニック株式会社 Radio communication device, radio communication system, radio communication method, and program for executing the radio communication method

Also Published As

Publication number Publication date
JP2008085650A (en) 2008-04-10

Similar Documents

Publication Publication Date Title
JP5525032B2 (en) Synchronization control system including main device and slave device and synchronization control method thereof
EP1643775B1 (en) Audio/video synchronizing system and monitor apparatus
US8626966B2 (en) Embedded clock recovery
US20160366431A1 (en) Video decoding device and video decoding method
CN108366283B (en) Media synchronous playing method among multiple devices
EP1715612B1 (en) Transmitting apparatus, relaying apparatus, receiving apparatus and network system including these apparatus
TW201720171A (en) Method for fast channel change and corresponding device
JP6232870B2 (en) Wireless communication system, wireless communication method, program, and recording medium
JP2007096971A (en) Wireless transmitter and wireless receiver
JP5465106B2 (en) Display device and display system
JP4386060B2 (en) Client / server system
JP2008118345A (en) Control method of information processor
JP2004096491A (en) Coding/decoding device
JP3858002B2 (en) Wireless transmission system
WO2011155173A1 (en) Video display device
JP2007274536A (en) Receiver and transmission/reception method
JP4026556B2 (en) Data transmission device
JP3801043B2 (en) Data receiving apparatus and method
JP6484403B2 (en) Communication device, communication program, and communication method
JP3744514B2 (en) Data transmission equipment
JP4193856B2 (en) Data transmission apparatus and method
JP2007201797A (en) Transmission system and video output method
JP2009171513A (en) Phase control apparatus, phase control method, and phase control program
JP2012016066A (en) Video signal processor, and video signal processing method
JP2008118291A (en) Information processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090526

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090714

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121009

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131009

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees