JP2975854B2 - Music data communication method in karaoke system - Google Patents

Music data communication method in karaoke system

Info

Publication number
JP2975854B2
JP2975854B2 JP6244366A JP24436694A JP2975854B2 JP 2975854 B2 JP2975854 B2 JP 2975854B2 JP 6244366 A JP6244366 A JP 6244366A JP 24436694 A JP24436694 A JP 24436694A JP 2975854 B2 JP2975854 B2 JP 2975854B2
Authority
JP
Japan
Prior art keywords
data
music data
code
music
karaoke
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
JP6244366A
Other languages
Japanese (ja)
Other versions
JPH08110785A (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.)
Sanyo Denki Co Ltd
Original Assignee
Sanyo Denki 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 Sanyo Denki Co Ltd filed Critical Sanyo Denki Co Ltd
Priority to JP6244366A priority Critical patent/JP2975854B2/en
Publication of JPH08110785A publication Critical patent/JPH08110785A/en
Application granted granted Critical
Publication of JP2975854B2 publication Critical patent/JP2975854B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)
  • Communication Control (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、歌詞データ、文字画像
データ、カラオケ楽曲データ(MIDI)等の音楽デー
タを受信し、それをカラオケ端末装置に格納する音楽デ
ータの通信方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of receiving music data such as lyrics data, character image data, and karaoke music data (MIDI) and storing the same in a karaoke terminal device.

【0002】[0002]

【従来の技術】従来のカラオケシステムにおける音楽デ
ータ通信方法には、特開平4−67381号公報に掲載
の技術がある。
2. Description of the Related Art As a music data communication method in a conventional karaoke system, there is a technique described in Japanese Patent Laid-Open No. 4-67381.

【0003】この公報に掲載の技術は、ディジタル信号
で構成されたカラオケ音楽の1曲単位毎に曲番号ヘッダ
を付加し、複数のカラオケ音楽をデータ列としてサイク
リックに公衆回線を介して送出するホストコンピュータ
と、前記公衆回線の端末装置に接続され、前記ディジタ
ル信号によって駆動されるディジタル音源を備えたカラ
オケ端末装置とを有し、このカラオケ端末装置には多数
のカラオケ音楽を蓄積する主記憶装置を具備すると共
に、カラオケ音楽の単位データ毎にバッファとして記憶
する並列の受信メモリを設け、単位データを択一的に前
記受信メモリに記憶させ、主記憶装置の蓄積曲番号と前
記受信メモリに記憶された曲の番号とを照合し、該当し
ないときのみ前記主記憶装置にセーブするものである。
According to the technique disclosed in this publication, a song number header is added to each karaoke music unit composed of digital signals, and a plurality of karaoke music are transmitted cyclically via a public line as data strings. A host computer connected to the public line terminal device and having a karaoke terminal device provided with a digital sound source driven by the digital signal, the karaoke terminal device having a main storage device for storing a large number of karaoke music And a parallel receiving memory for storing as a buffer for each unit data of karaoke music is provided, and the unit data is alternatively stored in the receiving memory, and the stored music number of the main storage device and the received memory are stored in the receiving memory. The stored music numbers are collated with each other, and are saved in the main storage device only when the numbers do not match.

【0004】これによって、カラオケ端末装置の利用率
が少ない昼間に新曲を受信し、それをカラオケ端末装置
のメインメモリに格納している。
Thus, a new song is received in the daytime when the utilization rate of the karaoke terminal device is low, and the new song is stored in the main memory of the karaoke terminal device.

【0005】このとき、センター側からは1曲の情報が
40KB、次の曲までが200msの休止期間を置き、
次の1曲の情報が40KB、そして、200msの休止
期間を置き、ニュースの情報を500B、更に、次の1
曲の情報が40KB、そして、200msの休止期間を
サイクリックに送信している。即ち、図14(a)の従
来例のカラオケシステムにおける音楽データ通信方法で
使用するデータのフォーマットの説明図のように、20
0msの休止期間によって曲と曲との切替えのタイミン
グとしている。
[0005] At this time, a pause period of 40 KB for information of one song from the center and 200 ms for the next song is provided.
The information of the next song is 40 KB, a pause of 200 ms is set, the news information is 500 B, and the next 1
The song information is cyclically transmitted during a pause period of 40 KB and 200 ms. That is, as shown in FIG. 14A, the format of the data used in the music data communication method in the karaoke system of the conventional example is shown in FIG.
The timing of switching between songs is determined by a pause period of 0 ms.

【0006】[0006]

【発明が解決しようとする課題】しかし、現今のよう
に、カラオケ端末装置の使用がスナック等の夜間の営業
店と喫茶店等の昼間の営業店が存在し、結果的に、セン
ターからみれば24時間の営業になっている。したがっ
て、カラオケ端末装置の利用率が少ない昼間を選んで新
曲のデータを送信しても、必ずしも、カラオケ端末装置
のメインメモリに書込むタイミングが容易に得られない
可能性が高い。即ち、何れかのカラオケ端末装置が稼働
していると想定される。
However, as of now, karaoke terminals are used in nighttime shops such as snacks and in daytime shops such as coffee shops. Opening hours. Therefore, even if data of a new song is transmitted during the daytime when the utilization rate of the karaoke terminal device is low, there is a high possibility that the timing for writing to the main memory of the karaoke terminal device cannot always be easily obtained. That is, it is assumed that any one of the karaoke terminal devices is operating.

【0007】また、全国にある多くのカラオケ端末装置
に対してセンターから同報通信を行うと、通信コストが
高価になる。そこで、中継機を地方に設置し、そこから
各カラオケ端末装置に送信すると、通信コストが廉価に
なる。特に、音楽データの送受信にメールボックス機能
を使用すると、1中継局側で256ケ所の転送が可能と
なる。
[0007] Further, if broadcasting is performed from the center to many karaoke terminals nationwide, the communication cost becomes high. Therefore, if a repeater is installed in a local area and transmitted to each karaoke terminal device from there, the communication cost is reduced. In particular, if the mailbox function is used for transmission and reception of music data, transfer at 256 locations can be performed on one relay station side.

【0008】一方、電話回線を介してそれらの音楽デー
タを出力する場合には、電話回線の回線使用料金が廉価
であるときの使用が望ましい。また、人工衛生を利用し
て無線でデータを送信するには、夜間のように電離層の
安定した時間帯が望ましい。
On the other hand, when outputting the music data via a telephone line, it is desirable to use the music data when the line usage fee of the telephone line is low. Further, in order to transmit data wirelessly using artificial hygiene, it is desirable that the ionosphere be stable during a time period such as at night.

【0009】ところが、従来のカラオケシステムにおけ
る音楽データ通信方法では、終了コードとヘディングの
開始との間違いを避けるため、200msの休止期間に
よって曲と曲との切替えのタイミングとしており、その
サイクリックにデータを送信している伝送に時間的な無
駄があった。特に、通信コストを低減させるには、20
0msの休止期間は無視できないものであった。
However, in the music data communication method in the conventional karaoke system, in order to avoid a mistake between the end code and the start of the heading, the timing of switching between songs is set by a 200 ms pause period. There was a waste of time in the transmission of the transmission. In particular, to reduce communication costs, 20
The 0 ms pause was not negligible.

【0010】そこで、本発明はカラオケ端末装置に対す
る音楽データを効率良く通信できるカラオケシステムに
おける音楽データ通信方法の提供を課題とするものであ
る。
Accordingly, an object of the present invention is to provide a music data communication method in a karaoke system capable of efficiently communicating music data to a karaoke terminal device.

【0011】[0011]

【課題を解決するための手段】請求項1にかかるカラオ
ケシステムにおける音楽データ通信方法は、センターか
ら音楽データを各カラオケ端末装置に通信により配信
し、その配信された音楽データを各カラオケ端末装置に
格納するカラオケシステムにおける音楽データ通信方法
において、配信される音楽データと音楽データ間のコー
ドをn(nは1以上の整数)バイトのダミーコードを介
在させてなるものである。
A music data communication method in a karaoke system according to claim 1 distributes music data from a center to each karaoke terminal device by communication, and distributes the distributed music data to each karaoke terminal device. In a music data communication method in a karaoke system for storing music data, a code between music data to be distributed is interposed with a dummy code of n (n is an integer of 1 or more) bytes.

【0012】請求項2にかかるカラオケシステムにおけ
る音楽データ通信方法は、センターから音楽データを各
カラオケ端末装置に通信により配信し、その配信された
音楽データを各カラオケ端末装置に格納するカラオケシ
ステムにおける音楽データ通信方法において、配信され
る音楽データと音楽データ間のコードは、n(nは1以
上の整数)バイトのヘディングのデータに関係のないダ
ミーコードを介在させてなるものである。
According to a second aspect of the present invention, there is provided a music data communication method in a karaoke system in which music data is distributed from a center to each karaoke terminal device by communication, and the distributed music data is stored in each karaoke terminal device. In the data communication method, a code between distributed music data and music data is formed by interposing a dummy code irrelevant to n (n is an integer of 1 or more) byte heading data.

【0013】請求項3にかかるカラオケシステムにおけ
る音楽データ通信方法は、センターから音楽データを各
カラオケ端末装置に通信により配信し、その配信された
音楽データを各カラオケ端末装置に格納するカラオケシ
ステムにおける音楽データ通信方法において、配信され
る音楽データと音楽データ間のコードのバイト数を配信
される音楽データの先頭を識別するためのヘディングの
データのバイト数以上にしたものである。
According to a third aspect of the present invention, there is provided a music data communication method in a karaoke system, wherein music data is distributed from a center to each karaoke terminal device by communication, and the distributed music data is stored in each karaoke terminal device. In the data communication method, the number of bytes of a code between music data to be distributed is set to be equal to or larger than the number of bytes of heading data for identifying the head of the distributed music data.

【0014】[0014]

【作用】請求項1においては、センターから音楽データ
を各カラオケ端末装置に通信により配信される音楽デー
タと音楽データ間のコードをn(nは1以上の整数)バ
イトのダミーコードとし、全曲の最終コードがヘディン
グの開始のコードと一致していても、最終コードとヘッ
ドのコードとの区別が可能なダミーコードによってデー
タ間の区別を行うものである。
According to the first aspect, the music data distributed from the center to the respective karaoke terminals by communication is set as a dummy code of n (n is an integer of 1 or more) bytes between the music data. Even if the final code matches the head start code, the data is distinguished by a dummy code that can distinguish the final code from the head code.

【0015】請求項2においては、センターから音楽デ
ータを各カラオケ端末装置に通信により配信される音楽
データと音楽データ間のコードをn(nは1以上の整
数)バイトのヘディングのデータに関係のないダミーコ
ードとし、全曲の最終コードがヘディングの開始のコー
ドと一致していても、最終コードとヘッドのコードとの
区別が可能なダミーコードによってデータ間の区別を行
うものである。
According to the second aspect, the music data distributed from the center to the respective karaoke terminals by communication is converted into a code between the music data and n (n is an integer of 1 or more) heading data. There is no dummy code, and even if the final code of all songs matches the heading start code, the data is distinguished by a dummy code that can distinguish the final code from the head code.

【0016】請求項3においては、センターから音楽デ
ータを各カラオケ端末装置に通信により配信される音楽
データと音楽データ間のコードのバイト数を、配信され
る音楽データの先頭を識別するためのヘディングのデー
タのバイト数以上にし、ヘディングのデータとの識別に
使用するものである。
In the third aspect, music data is transmitted from the center to each karaoke terminal device by communication, and the number of bytes of a code between the music data is determined by a heading for identifying the head of the distributed music data. The number of data bytes is equal to or more than the number of bytes, and is used for discrimination from heading data.

【0017】[0017]

【実施例】以下、本発明のカラオケシステムにおける音
楽データ通信方法の実施例について説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a music data communication method in a karaoke system according to the present invention will be described below.

【0018】図1は本発明の一実施例の音楽データ通信
方法を用いたカラオケシステムにおける私設回線ネット
ワークの全体構成図である。
FIG. 1 is an overall configuration diagram of a private line network in a karaoke system using a music data communication method according to one embodiment of the present invention.

【0019】図1において、センターCENは、歌詞デ
ータ、文字画像データ、カラオケ楽曲データ(MID
I)等の音楽データを中継同報局TRを介して、各カラ
オケ端末装置KTRに送信する。このとき、中継同報局
TRは、所定の地域のカラオケ端末装置KTRを使用す
ることができ、そこから順次指定された各カラオケ端末
装置KTRに送信する。同時にカラオケ端末装置KTR
はモデムMO及びコマンダCO等からなり、コマンダC
Oは、歌詞データ、文字画像データ、カラオケ楽曲デー
タ(MIDI)等の音楽データをカラオケとして使用で
きるように処理する。
In FIG. 1, a center CEN includes lyrics data, character image data, karaoke music data (MID).
The music data such as I) is transmitted to each karaoke terminal device KTR via the relay broadcasting station TR. At this time, the relay broadcasting station TR can use the karaoke terminal devices KTR in a predetermined area, and transmits the karaoke terminal devices KTR sequentially designated from there. At the same time karaoke terminal equipment KTR
Consists of a modem MO and a commander CO, etc.
O processes so that music data such as lyrics data, character image data, and karaoke music data (MIDI) can be used as karaoke.

【0020】なお、本発明を実施する場合のシステムに
おいては、センターCENから中継同報局TRを介すこ
となく各カラオケ端末装置KTRに送信する構成であっ
てもよい。
In the system for implementing the present invention, a configuration may be adopted in which the transmission is performed from the center CEN to each karaoke terminal device KTR without passing through the relay broadcasting station TR.

【0021】図2は本発明の一実施例のカラオケシステ
ムにおける音楽データ通信方法を使用したカラオケ端末
装置KTRの全体構成図である。
FIG. 2 is an overall configuration diagram of a karaoke terminal device KTR using a music data communication method in a karaoke system according to one embodiment of the present invention.

【0022】図2において、演算処理手段1は、演算及
び処理及びカラオケ端末装置KTRとしての制御を行う
ものでマイクロコンピュータ等からなる。主記憶手段2
は、ハードディスク、光磁気ディスク等の比較的容量の
大きいメモリからなり、ここでは、複数の音楽データを
曲ごとに蓄積するハードディスク及び光磁気ディスクを
有するものである。通信制御手段3は、主に、通信プロ
グラムの実行によってセンターから送信されてきた歌詞
データ、文字画像データ、伴奏、新曲、曲名等の音楽に
関するデータ、即ち、音楽データを通信インターフェー
ス4を介して、カラオケ端末装置KTRに取り込む制御
を行うものである。送受信バッファ5は、通信インター
フェース4を介して、配信されてきた音楽データを一時
的に格納するメモリである。再生手段7は主記憶手段2
から音楽データを読み出して再生するものである。表示
手段8は音楽データに関するデータを画像表示するもの
である。
In FIG. 2, the arithmetic processing means 1 performs arithmetic and processing, and controls the karaoke terminal device KTR, and comprises a microcomputer or the like. Main storage means 2
Comprises a relatively large-capacity memory such as a hard disk or a magneto-optical disk. In this example, the hard disk has a hard disk and a magneto-optical disk for storing a plurality of music data for each music piece. The communication control means 3 mainly transmits the lyrics data, character image data, music-related data such as accompaniments, new songs, and song titles transmitted from the center by executing the communication program, that is, music data via the communication interface 4. This is for performing control for taking in the karaoke terminal device KTR. The transmission / reception buffer 5 is a memory for temporarily storing music data distributed via the communication interface 4. The reproduction means 7 is the main storage means 2
The music data is read from and reproduced. The display means 8 displays data relating to music data in an image.

【0023】通信媒体別モデム10は、電波、光等の媒
体を使用する送受信機等の私設回線(有線等)に継れた
モデム等であり、また、電話モデム9は、公衆回線とし
て使用される電話回線のモデムである。モデムバッファ
9aは電話回線を介して受信した音楽データを1曲また
はそれ以上の曲を一時的に格納するメモリである。各種
キー6は操作に関するテンキー及び機能キーを有するも
のであり、無線で制御するリモコンも含まれる。
The modem 10 for each communication medium is a modem connected to a private line (wired or the like) such as a transceiver using a medium such as an electric wave or light, and the telephone modem 9 is used as a public line. Telephone line modem. The modem buffer 9a is a memory for temporarily storing one or more songs of music data received via a telephone line. The various keys 6 have numeric keys and function keys related to the operation, and include a remote controller that controls wirelessly.

【0024】次に、センターCENまたは中継同報局T
Rから各カラオケ端末装置KTRに送信するデータにつ
いて説明する。
Next, the center CEN or the relay broadcasting station T
Data transmitted from R to each karaoke terminal device KTR will be described.

【0025】図13は本発明の一実施例のカラオケシス
テムにおける音楽データ通信方法で使用する説明図で、
(a)が送信データの模式図、(b)が基本フォーマッ
トの模式図、(c)が基本フォーマット(b)のヘディ
ングの模式図である。また、図14は従来例(a)及び
本発明の一実施例(b)のカラオケシステムにおける音
楽データ通信方法で使用するデータのフォーマットの説
明図である。
FIG. 13 is an explanatory diagram used in the music data communication method in the karaoke system according to one embodiment of the present invention.
(A) is a schematic diagram of transmission data, (b) is a schematic diagram of a basic format, and (c) is a schematic diagram of a heading of a basic format (b). FIG. 14 is an explanatory diagram of a data format used in the music data communication method in the karaoke system according to the conventional example (a) and the embodiment (b) of the present invention.

【0026】センターCENからのデータは、図13
(a)に示すように、1曲の情報が40KB、次の曲ま
でが4B(バイト)の休止期間を置き、次の1曲の情報
が40KB、そして、4Bの休止期間を置き、ニュース
等の情報を500B、更に、次の1曲の情報が40K
B、そして、4Bの休止期間をサイクリックに送信して
いる。
The data from the center CEN is shown in FIG.
As shown in (a), the information of one song has a pause period of 40 KB, the next song has a pause period of 4 B (bytes), the information of the next song has a pause period of 40 KB, and a pause period of 4 B has been placed. Information is 500B, and the information of the next song is 40K
B, and the pause period of 4B is cyclically transmitted.

【0027】1曲をデータ伝送する基本フォーマット
[20]は、全長が1KB(1024B)となってお
り、図13(b)に示すように、ヘディングの開始とな
るSOH[21]の1B、ヘディング[22]は2B,
2B及び4Bの計8Bからなる。また、データブロック
の開始としてのSTX[23]は1B、ブロックNo
[24]はブロック番号として00H〜FFHを使用、
データ部[25]はデータ本体、ETB[26]はデー
タブロックの終了を示し、また、続いて継続のないデー
タブロックの終了の場合にはETXを使用する。即ち、
曲等の音楽データがこの基本フォーマットを超える場合
には、途中で切断されて伝送され、このとき終了ブロッ
クとしてETBが使用される。BCS1[27]及びB
CS2[28]は、CRCに従って処理される。この基
本フォーマット[20]のBCSの計算は、SOH[2
1]またはSTX[23]の次のバイトからETB(ま
たはETX)[26]までとする。
The basic format [20] for data transmission of one piece of music has a total length of 1 KB (1024 B). As shown in FIG. [22] is 2B,
It consists of a total of 8B, 2B and 4B. STX [23] as the start of the data block is 1B, and the block No.
[24] uses 00H to FFH as block numbers,
The data part [25] indicates the data body, and the ETB [26] indicates the end of the data block. In the case of the end of the data block that does not continue, ETX is used. That is,
If music data such as a song exceeds the basic format, the data is cut off and transmitted halfway, and at this time, the ETB is used as an end block. BCS1 [27] and B
CS2 [28] is processed according to the CRC. The calculation of the BCS of this basic format [20] is based on SOH [2
1] or the next byte of STX [23] to ETB (or ETX) [26].

【0028】更に、ヘディングの詳細について説明す
る。
Further, details of the heading will be described.

【0029】図13(c)に示すように、ヘディングの
開始となるSOH[21]を1B、データ種別及びデー
タ種別の補数が2B及び2Bの計4B、そして、データ
サイズ4バイトからなる。
As shown in FIG. 13C, the SOH [21] at which the heading starts is 1B, the data type and the complement of the data type are 2B and 2B, and the total is 4B, and the data size is 4 bytes.

【0030】なお、本実施例において、データ種別2B
及びその補数2Bからなる4Bを配信される音楽データ
の先頭を識別するためのヘディング識別コードとしてい
る。そして、SOH[21]に続けて2Bのデータ種別
とその補数データが2B受信された時、音楽データの先
頭と識別している。
In this embodiment, the data type 2B
And 4B comprising its complement 2B are used as a heading identification code for identifying the head of the distributed music data. Then, when 2B data type and its complement data are received 2B following SOH [21], it is identified as the head of music data.

【0031】データ種別は本実施例の場合には、例え
ば、次の内容としている。
In the case of this embodiment, the data type has, for example, the following contents.

【0032】[0032]

【表1】 [Table 1]

【0033】ここで、図14(b)に示すように、1曲
の情報が40KB、次の曲までが4Bの休止期間を置
き、次の1曲の情報に入るとすると、先の曲のフォーマ
ットの末尾でヘディングの開始のSOHと同一の信号で
BCS2が終了したとしても、続くヘディングのデータ
種別の2B及びそのデータ種別の補数の2Bが固定長で
あるから、ヘディング識別コードであるデータ種別の2
B及びその補数の2Bに関係のない4Bのダミーを挿入
することにより、ヘディングの開始のSOHと同一の信
号が発生しても、続くダミーコードの到来で、ヘディン
グの開始のSOHの信号の到来ではなく、BCS2の終
了がヘディングの開始のSOHと同一の信号で終了した
ことがわかる。
Here, as shown in FIG. 14 (b), if one piece of information has a pause period of 40 KB and the next piece of music has a 4B pause period, and enters the information of the next piece of music, Even if the BCS2 ends at the end of the format with the same signal as the SOH at the start of the heading, the data type of the heading identification code is 2B since the data type of the subsequent heading and the complement 2B of the data type are fixed length. 2
Even if the same signal as the SOH at the start of heading is generated by inserting a 4B dummy irrelevant to B and its complement 2B, the arrival of the signal of the SOH at the start of heading follows by the arrival of the dummy code. Instead, it can be seen that the end of BCS2 is ended by the same signal as the SOH at the start of heading.

【0034】図3は本発明の一実施例のカラオケシステ
ムにおける音楽データ通信方法のメインプログラムのフ
ローチャートである。図4は本発明の一実施例のカラオ
ケシステムにおける音楽データ通信方法のメインプログ
ラムでコールされた通信処理のフローチャートである。
同じく、図5は図4のプログラムでコールされた曲間情
報表示処理のフローチャート、図6は図4のプログラム
でコールされた送受信処理のフローチャート、図7は図
4のプログラムでコールされたアップロード処理のフロ
ーチャート、図8は図4のプログラムでコールされたシ
ステム終了処理のフローチャート、図9は図6のプログ
ラムでコールされた登録処理のフローチャート、図10
は図9のプログラムでコールされた受信ファイルの分解
処理のフローチャート、そして、図11は本発明の一実
施例のカラオケシステムにおける音楽データ通信方法で
割込処理される送受信割込処理のフローチャートであ
る。 〈メインプログラム〉図3において、このメインプログ
ラムは、カラオケ端末装置KTRが持つもので、ステッ
プS1で予約曲の無いこと、またはシステムの終了を判
定し、現在、各種キー6によって予約曲が設定されてい
ないとき、またはシステムが終了となっているとき、ス
テップS2で通信処理のルーチンをコールし、また、予
約曲が設定されているとき、システムが終了となってい
ないとき、ステップS3で音楽データに基き演奏出力及
び文字出力を行う演奏処理のルーチンをコールする。な
お、演奏処理は本発明の要旨に直接関与しないものであ
るから、ここでは、その説明を省略する。
FIG. 3 is a flowchart of a main program of a music data communication method in the karaoke system according to one embodiment of the present invention. FIG. 4 is a flowchart of a communication process called by the main program of the music data communication method in the karaoke system according to one embodiment of the present invention.
Similarly, FIG. 5 is a flowchart of the inter-song information display processing called by the program of FIG. 4, FIG. 6 is a flowchart of transmission / reception processing called by the program of FIG. 4, and FIG. 7 is an upload processing called by the program of FIG. 8, FIG. 8 is a flowchart of a system termination process called by the program of FIG. 4, FIG. 9 is a flowchart of a registration process called by the program of FIG. 6, and FIG.
FIG. 11 is a flowchart of a disassembly process of a received file called by the program of FIG. 9, and FIG. 11 is a flowchart of a transmission / reception interruption process interrupted by the music data communication method in the karaoke system according to one embodiment of the present invention. . <Main Program> In FIG. 3, this main program is included in the karaoke terminal apparatus KTR. In step S1, it is determined that there is no reserved music or the system is terminated. If not, or if the system has been terminated, the communication processing routine is called in step S2. If a reserved song has been set, if the system has not been terminated, and if the music data A performance processing routine for performing performance output and character output is called based on this. Since the performance process does not directly relate to the gist of the present invention, the description thereof is omitted here.

【0035】〈通信処理〉通信処理ルーチンがコールさ
れると、図4のステップS11で通信処理のための初期
化を行う。この初期化では、端末アドレス、各種フラ
グ、送受信バッファ5の確保、その他の変数の初期化等
の処理を行う。ステップS12で曲間情報表示処理のル
ーチンをコールし、また、ステップS13で送受信処理
のルーチンをコールし、ステップS14でアップロード
処理のルーチンをコールし、更に、ステップS15でシ
ステム終了処理のルーチンをコールし、ステップS16
で各種キー6により所定の選曲等がなされると、それを
もってプログラム終了の要求と判定し、ステップS17
で通信処理のルーチンを脱するための後処理を行い、こ
のルーチンを脱する。
<Communication Processing> When the communication processing routine is called, initialization for communication processing is performed in step S11 of FIG. In this initialization, processes such as securing the terminal address, various flags, the transmission / reception buffer 5, and initialization of other variables are performed. In step S12, a routine for displaying information between songs is called, in step S13, a routine for transmitting / receiving processing is called, in step S14, a routine for uploading is called, and in step S15, a routine for system termination processing is called. And step S16
When a predetermined music selection or the like is performed by the various keys 6 in step S17, it is determined that the request for terminating the program is made.
Performs post-processing for exiting the communication processing routine, and exits this routine.

【0036】〈曲間情報表示処理〉本実施例の曲間情報
表示処理では、プログラム起動時に情報表示が指定され
ているとき、約8秒間隔で実行される。情報表示は最高
で5行表示することができる。
<Inter-song information display processing> In the inter-song information display processing of this embodiment, when the information display is designated at the time of starting the program, it is executed at intervals of about 8 seconds. The information display can display up to 5 lines.

【0037】ステップS12で曲間情報表示処理ルーチ
ンがコールされると、図5に示すステップS21で最大
で5行程度の表示データの準備に入る。この表示データ
とは、各種キー6によって予め選択された「天気予
報」、「ニュース」、「イベント」、「1ケ月内の新
譜」等の情報を表示するための準備を行う。ステップS
22でそれらの選択された情報が格納されている送受信
バッファ5の内容をみて、選択された情報が格納されて
いて、表示する行があるか否かを判定し、表示する行が
ないとき、このルーチンを脱する。表示する行があると
き、ステップS23で1行の表示処理を行う。この表示
の間に、1秒程度の時間経過が伴なうことから、6KB
リングバッファからなる送受信バッファ5がオーバーフ
ローしないように、ステップS24で6KBリングバッ
ファからなる送受信バッファ5のHeadとTailと
が一致していないとき、送受信バッファ5にデータの蓄
積があることを意味することから、ステップS25でT
ailに格納されているデータを主記憶手段2に書込
み、ステップS26で書込みを行ったTailをインク
リメントし、ステップS22に戻る。これにより、表示
処理に手間がかかっても、そのために送受信バッファ5
がオーバーフローしないようにしている。
When the inter-tune information display processing routine is called in step S12, preparation for display data of up to about five lines is started in step S21 shown in FIG. With this display data, preparations are made for displaying information such as “weather forecast”, “news”, “event”, and “new song within one month” which are selected in advance by the various keys 6. Step S
At 22, the contents of the transmission / reception buffer 5 storing the selected information are checked to determine whether or not the selected information is stored and there is a line to be displayed. Exit this routine. If there is a line to be displayed, one line is displayed in step S23. Since about 1 second elapses during this display, 6 KB
To prevent the transmission / reception buffer 5 composed of a ring buffer from overflowing, when Head and Tail of the transmission / reception buffer 5 composed of a 6 KB ring buffer do not match in step S24, it means that data is stored in the transmission / reception buffer 5. From T in step S25.
The data stored in the aile is written into the main storage means 2, the tail written in the step S26 is incremented, and the process returns to the step S22. Thus, even if the display processing takes time, the transmission / reception buffer 5
To prevent overflow.

【0038】また、ステップS24で6KBリングバッ
ファからなる送受信バッファ5のHeadとTailと
が一致しているとき、送受信バッファ5にデータの蓄積
がないことを意味することから、ステップS22に戻
る。そして、ステップS22に戻ったら、表示行がなく
なるまで繰返し、ステップS22からステップS24ま
たはステップS22からステップS26のルーチンを実
行する。
When the head and the tail of the transmission / reception buffer 5 composed of a 6 KB ring buffer match in step S24, it means that no data is stored in the transmission / reception buffer 5, and the process returns to step S22. When the process returns to step S22, the process is repeated until there are no more display lines, and the routine from step S22 to step S24 or from step S22 to step S26 is executed.

【0039】〈送受信処理〉本実施例の送受信処理で
は、通信が電話回線による通信の場合、モデムに受信デ
ータがあればそのデータの受信を開始する。
<Transmission / Reception Processing> In the transmission / reception processing of this embodiment, if the communication is a telephone line communication, the reception of the data is started if the modem has received data.

【0040】ステップS13で送受信処理ルーチンがコ
ールされると、図6に示すステップS31で本実施例の
カラオケ端末装置KTRに音楽データが有線回線(私設
回線)または公衆回線(電話回線)で到来しているか
を、使用モデムの選択スイッチSWの切替えによって判
定し、公衆回線のときにはステップS32で音楽データ
の受信中であるか否かを判定し、かつ、ステップS33
で電話モデム9のモデムバッファ9aに受信データがあ
る否かを判定し、受信データがあるときのみステップS
34でデータ受信開始し、ステップS35の処理に入
る。また、ステップS31で有線通信と判定されたと
き、ステップS32で音楽データの受信中と判定したと
き、及びステップS33で電話モデム9のモデムバッフ
ァ9aに受信データがないと判定したとき、ステップS
35の処理に入る。
When the transmission / reception processing routine is called in step S13, music data arrives at the karaoke terminal device KTR of this embodiment via a wired line (private line) or a public line (telephone line) in step S31 shown in FIG. Is determined by switching the selection switch SW of the modem to be used. In the case of a public line, it is determined in step S32 whether or not music data is being received.
To determine whether there is received data in the modem buffer 9a of the telephone modem 9, and only when there is received data, step S
At 34, data reception starts, and the process proceeds to step S35. When it is determined in step S31 that the communication is wired communication, when it is determined in step S32 that music data is being received, and when it is determined in step S33 that there is no received data in the modem buffer 9a of the telephone modem 9, the process proceeds to step S32.
The process starts at step 35.

【0041】ステップS35で6KBリングバッファか
らなる送受信バッファ5のHeadとTailとの一致
を判断し、両者が一致しているとき、6KBリングバッ
ファからなる送受信バッファ5にデータの蓄積がないこ
とを意味することから、このルーチンを脱する。
In step S35, it is determined whether Head and Tail of the transmission / reception buffer 5 composed of the 6KB ring buffer match, and when they match, it means that no data is stored in the transmission / reception buffer 5 composed of the 6KB ring buffer. From this routine.

【0042】また、ステップS35で6KBリングバッ
ファからなる送受信バッファ5のHeadとTailと
が一致していないとき、送受信バッファ5にデータの蓄
積があることを意味することから、ステップS36でT
ailに格納されているデータを主記憶手段2に書込
み、ステップS37で書込みを行ったTailをインク
リメントし、ステップS38で1ファイルの受信を終了
したか判定し、1ファイルの受信を終了する又はHea
dとTailが等しくなるまで、ステップS35からス
テップS38のルーチンを繰返し実行する。ステップS
38で1ファイルの受信を終了したと判定されると、ス
テップS39で登録処理のルーチンをコールする。
If the Head and the Tail of the transmission / reception buffer 5 composed of a 6 KB ring buffer do not coincide with each other in step S35, it means that data is accumulated in the transmission / reception buffer 5.
The data stored in the aile is written into the main storage means 2, the tail that has been written is incremented in step S37, it is determined in step S38 whether the reception of one file has been completed, and the reception of one file has been completed or the Hea.
Until d and Tail become equal, the routine from step S35 to step S38 is repeatedly executed. Step S
If it is determined at 38 that the reception of one file has been completed, a registration processing routine is called at step S39.

【0043】〈アップロード処理〉本実施例のアップロ
ード処理では、曲目毎の使用頻度、時間帯の選曲状況等
の演奏履歴をモデムバッファ9aに書込む。
<Upload Processing> In the upload processing of this embodiment, the performance history such as the frequency of use for each music piece and the music piece selection status in the time zone is written into the modem buffer 9a.

【0044】図4に示すステップS14でアップロード
処理ルーチンをコールし、図7に示すステップS41で
前回のアップロード処理ルーチンをコールしてから3時
間経過しているか判定し、3時間経過したとき、主記憶
手段2に保存されていた曲目毎の使用頻度、時間帯の選
曲状況等の演奏履歴情報をアップロードするため、即
ち、センターのホストコンピュータ側に送るため、ステ
ップS42でモデムバッファ9aに書込み、その管理に
使用する。
In step S14 shown in FIG. 4, the upload processing routine is called. In step S41 shown in FIG. 7, it is determined whether three hours have passed since the last upload processing routine was called. In order to upload the performance history information such as the frequency of use for each music and the music selection status in the time zone stored in the storage means 2, that is, to send the performance history information to the host computer of the center, the data is written into the modem buffer 9a in step S42. Used for management.

【0045】〈システム終了処理〉本実施例のシステム
終了処理では、キー6で副電源が切断されるとシステム
終了要求が発生し、そのシステム終了要求から2時間経
過したとき、ステップS52で主電源を切り停止する。
<System Termination Processing> In the system termination processing of the present embodiment, a system termination request is generated when the sub power supply is turned off by the key 6, and when two hours have passed from the system termination request, the main power supply is determined in step S52. And stop.

【0046】ステップS15でシステム終了処理ルーチ
ンがコールされると、図8に示すステップS51でシス
テム終了要求から2時間経過しているか判定し、2時間
経過したとき、ステップS52で主電源を切り停止す
る。
When the system termination processing routine is called in step S15, it is determined in step S51 shown in FIG. 8 whether two hours have passed since the system termination request, and when two hours have passed, the main power is turned off and stopped in step S52. I do.

【0047】〈登録処理〉本実施例の登録処理では、電
話等の通信以外では、1ファイル毎に送信されてくるの
で、そのまま登録処理を行い、電話等の通信では、数個
のファイルが1つにまとめて送信されてくるので、分解
処理を行い、正常にファイル毎に分解できたときに限
り、登録処理を行う。
<Registration Processing> In the registration processing of this embodiment, since the file is transmitted for each file except for communication such as telephone communication, the registration processing is performed as it is. Since the files are sent together, the disassembly process is performed, and the registration process is performed only when the file can be normally disassembled for each file.

【0048】送受信処理ルーチンのステップS39で登
録処理ルーチンがコールされると、図9に示すステップ
S61で有線通信であるか否かを判定し、有線通信でな
いとき、ステップS62で受信ファイルの分解を行い、
ステップS63で分解できたファイルが存在するか否か
を判定し、分解できたファイルが存在するとき、また
は、有線通信のとき、ステップS64でファイルの登録
を行う。分解できたファイルが存在しないとき、このル
ーチンを脱する。
When the registration processing routine is called in step S39 of the transmission / reception processing routine, it is determined in step S61 shown in FIG. 9 whether or not the communication is wired communication. If not, the received file is decomposed in step S62. Do
In step S63, it is determined whether or not there is a file that can be decomposed. When there is a file that can be decomposed, or when wired communication is performed, the file is registered in step S64. If there is no file that can be disassembled, exit this routine.

【0049】〈受信ファイルの分解処理〉本実施例の受
信ファイルの分解処理では、図12の受信ファイルと登
録テーブルを使用する。
<Receiving File Decomposition Processing> In the receiving file decomposition processing of this embodiment, the received file and the registration table shown in FIG. 12 are used.

【0050】図12は本発明の一実施例のカラオケシス
テムにおける音楽データ通信方法で使用する受信ファイ
ルと登録テーブルの事例の説明図である。
FIG. 12 is an explanatory diagram of an example of a reception file and a registration table used in the music data communication method in the karaoke system according to one embodiment of the present invention.

【0051】本実施例の受信ファイルは電話回線を使用
した場合のファイル構造、登録テーブルは受信ファイル
の何番目までを登録したかを管理するテーブルである。
例えば、登録テーブルはファイル1を登録した場合、登
録フラグを1にする。全て登録できた場合は、モデムバ
ッファ9aに格納されている受信データを削除する、主
記憶手段2に格納した受信データがモデムバッファ9a
に格納されているサイズに満たない場合は、受信データ
を受信している途中にユーザ割込み(例えば、キー6に
よる選曲)があったと判断し、再度、モデムバッファ9
aから受信データの受信を行う。
The received file of this embodiment has a file structure when a telephone line is used, and the registration table is a table for managing the number of the received file registered.
For example, when the file 1 is registered in the registration table, the registration flag is set to 1. If all the entries have been registered, the received data stored in the modem buffer 9a is deleted.
If the size is smaller than the size stored in the modem buffer 9, it is determined that a user interrupt (for example, music selection by the key 6) has occurred during the reception of the received data, and
The received data is received from a.

【0052】登録処理ルーチンのステップS62で受信
ファイルの分解ルーチンがコールされると、図10のス
テップS71で受信ファイルの作成日時が登録テーブル
の作成日時と一致するか否かを判定し、受信ファイルの
作成日時が登録テーブルの作成日時と一致しないとき、
ステップS72で登録テーブルのクリアを行い、ステッ
プS73で受信テーブルの作成日時に受信データの作成
日時の書込みを行い、ステップS74の処理に進む。
When the received file disassembly routine is called in step S62 of the registration processing routine, it is determined in step S71 in FIG. 10 whether or not the creation date and time of the received file matches the creation date and time of the registration table. When the date and time of creation does not match the date and time of creation in the registration table,
In step S72, the registration table is cleared. In step S73, the reception data creation date and time are written in the reception table creation date and time, and the process proceeds to step S74.

【0053】ステップS71で受信ファイルの作成日時
が登録テーブルの作成日時と一致すると判定したとき、
ステップS74の処理に入り、ここで、登録テーブルに
まだ受信していないデータが存在するか否かを判定し、
登録テーブルにまだ受信していないデータが存在しない
ことが判定されたとき、ステップS75でモデムバッフ
ァ9aの受信データを削除する。
If it is determined in step S71 that the creation date and time of the received file matches the creation date and time of the registration table,
The process proceeds to step S74, where it is determined whether or not there is any data not yet received in the registration table.
When it is determined that there is no unreceived data in the registration table, the received data in the modem buffer 9a is deleted in step S75.

【0054】登録テーブルにまだ受信していないデータ
が存在していることが判定されたとき、ステップS76
で登録されていないデータのオフセットまで読み飛ば
し、受信ファイルに格納されているサイズ分のデータを
読み込み主記憶手段2に書き込む。ステップS77で実
際に読み込んだデータバイト数が受信ファイルに格納さ
れているサイズに一致するかを判定し、一致するとき、
ステップS78で登録テーブルの対応する登録フラグを
1にする。一致しないとき、ステップS79で主記憶手
段2に書き込んだデータを削除する。
When it is determined that data not yet received exists in the registration table, step S76 is performed.
Then, the data of the size stored in the received file is read and written to the main storage means 2 by skipping to the offset of the data which is not registered in the step (1). In step S77, it is determined whether or not the number of data bytes actually read matches the size stored in the received file.
In step S78, the corresponding registration flag in the registration table is set to 1. If they do not match, the data written in the main storage means 2 in step S79 is deleted.

【0055】〈送受信割込処理〉この送受信割込みは、
1文字送信したとき、または1文字受信した場合に発注
するもので、まず、ステップS81で受信割込みである
か、送信割込みであるかを判定し、受信割込みでないと
き、送信割込みを意図するものであるから、ステップS
82で送信するデータがあるとき、ステップS83で1
文字送信を行う。受信割込みのとき、ステップS84で
Headが指す受信バッファが1024バイト以下であ
るか判定し、ステップS84で1024バイト以下でな
いと判定したとき、ステップS85でHeadをインク
リメントする。ステップS85でHeadをインクリメ
ントした後、または、スッテプS84でHeadの受信
バッファが1024バイト以下であるとき、ステップS
86で1文字の格納を行う。
<Transmission / reception interrupt processing>
When one character is transmitted or one character is received, an order is placed. First, in step S81, it is determined whether the interrupt is a reception interrupt or a transmission interrupt. If not, the transmission interrupt is intended. Because there is, step S
When there is data to be transmitted at 82, 1 is set at step S83.
Perform character transmission. At the time of a reception interrupt, it is determined in step S84 whether the reception buffer pointed to by Head is 1024 bytes or less, and if it is determined in step S84 that it is not 1024 bytes or less, Head is incremented in step S85. After incrementing the Head in step S85, or when the receiving buffer of the Head is 1024 bytes or less in step S84, the process proceeds to step S85.
At 86, one character is stored.

【0056】このように、本実施例のカラオケシステム
における音楽データ通信方法は、センターCENから音
楽データを各カラオケ端末装置KTRに通信により配信
し、その配信された音楽データを各カラオケ端末装置K
TRに格納するカラオケシステムにおける音楽データ通
信方法において、配信される歌詞データ、文字画像デー
タ、カラオケ楽曲データ(MIDI)等の音楽データと
音楽データ間のコードは、4Bのヘディング識別コード
に関係のないダミーコードを介在させてなるものであ
り、これを請求項1の実施例とすることができる。
As described above, the music data communication method in the karaoke system of the present embodiment distributes music data from the center CEN to each karaoke terminal device KTR by communication, and distributes the distributed music data to each karaoke terminal device KTR.
In the music data communication method in the karaoke system stored in the TR, a code between music data such as lyrics data, character image data, and karaoke music data (MIDI) to be distributed is not related to the 4B heading identification code. This is achieved by interposing a dummy code, which can be regarded as the first embodiment of the present invention.

【0057】したがって、従来のように、曲と曲との間
のような音楽データと音楽データ間に200msの時間
を置くことなく、4Bをヘディング識別コードに関係の
ないダミーコードを介在させたものであるから、先の音
楽データのフォーマットの末尾がヘディングの開始のS
OHと同一の信号でBCS2が終了したとしても、続く
ヘディングのデータ種別の2B及びそのデータ種別の補
数の2Bが固定長であり、コードも明確であるから、ヘ
ディング識別コードであるデータ種別の2B及びそのデ
ータ種別の補数の2Bに関係のない4Bのダミーを挿入
することにより、ヘディングの開始のSOHと同一の信
号が発生しても、続くダミーコードの到来を確認したと
き、ヘディングの開始のSOHの信号の到来ではなく、
BCS2の終了コードが、偶然にヘディングの開始のS
OHと同一の信号で終了したことがわかり、このとき、
BCS2の終了コードをヘディングの開始のSOHと間
違うことがない。
Therefore, 4B has a dummy code irrelevant to the heading identification code interposed between the music data, such as between songs, without placing 200 ms of time between music data. Therefore, the end of the format of the music data is S at the start of the heading.
Even if BCS2 ends with the same signal as OH, the following heading data type 2B and the complement of that data type 2B have a fixed length and the code is clear, so the data type 2B of the heading identification code is used. By inserting a 4B dummy not related to the complement 2B of the data type, even if the same signal as the SOH at the start of the heading is generated, when the arrival of the subsequent dummy code is confirmed, Not the arrival of the SOH signal,
The end code of BCS2 happens to be
It turns out that it ended with the same signal as OH,
The BCS2 end code is not mistaken for the heading start SOH.

【0058】よって、歌詞データ、文字画像データ、カ
ラオケ楽曲データ(MIDI)等の複数の音楽データを
サイクリックに送信する場合、同一時間でその循環回数
を多くすることができ、また、一巡する時間を短くする
ことができるから、同一回数循環させる場合には、通信
コストを低減でき、効率の良い通信手段の占有を行なう
ことができる。
Therefore, when a plurality of music data such as lyrics data, character image data, and karaoke music data (MIDI) are transmitted cyclically, the number of circulations can be increased in the same time, and the time required for one cycle Can be shortened, so that when circulating the same number of times, the communication cost can be reduced and efficient communication means can be occupied.

【0059】ところで、上記実施例では、ヘディング識
別コードをヘディングのデータ種別の2B及びそのデー
タ種別の補数の2Bに関係のない4Bのダミーを挿入す
る事例で説明したが、本発明を実施する場合には、他の
データであっても、そのデータに関係のない内容のデー
タをダミーとして使用できれば、上記実施例と同様の効
果が得られ、これを請求項1の実施例とすることができ
る。
In the above-described embodiment, the head identification code is described as an example in which a head data type 2B and a 4B dummy not related to the complement 2B of the data type are inserted. In this case, even if other data is used, as long as data having a content irrelevant to the data can be used as a dummy, the same effect as in the above embodiment can be obtained, and this can be regarded as the embodiment of claim 1. .

【0060】また、上記実施例では、音楽データと音楽
データ間に介在させるダミーコードのバイト数(n)を
ヘディング識別コードと同じバイト数にしたが、これに
限られず、ダミーコードのバイト数(n)をヘディング
識別コードのバイト数より小さくしても、或いは大きく
しても、上記実施例と同様の効果が得られる。
In the above embodiment, the number of bytes (n) of the dummy code interposed between the music data is the same as the number of bytes of the heading identification code. However, the present invention is not limited to this. Even if n) is smaller or larger than the number of bytes of the heading identification code, the same effect as in the above embodiment can be obtained.

【0061】音楽データと音楽データ間に介在させるダ
ミーコードが、音楽データに使用されないコードであれ
ば、1バイトであってもその識別が可能である。ダミー
コードのバイト数n=1とすることができる。勿論、こ
のとき、バイト数n=2以上とすることも可能であり、
時間的ロスは200msに比較すれば数十バイトであれ
ば、十分にその効果がある。
If the dummy code interposed between the music data is a code that is not used for the music data, it can be identified even if it is 1 byte. The number of bytes n of the dummy code can be set to n = 1. Of course, at this time, it is also possible to set the number of bytes n = 2 or more.
If the time loss is several tens of bytes compared to 200 ms, the effect is sufficient.

【0062】特に、機器組み込み等に利用されている市
販のPC−AT互換機ボードでは、一般に55ms以下
のタイマ監視を行うのは困難である。これらのボードは
システムタイマの割り込みが標準で55ms毎に設定さ
れており、確実にタイマ監視を行うためには55ms以
上の間隔が必要となる。
In particular, it is generally difficult for a commercially available PC-AT compatible board used for assembling devices to monitor a timer for 55 ms or less. In these boards, the interrupt of the system timer is set at intervals of 55 ms as a standard, and an interval of 55 ms or more is required to surely monitor the timer.

【0063】したがって、これらのボードを使用し、通
信におけるデータ間隔を55ms以下に設定する場合に
は、本発明の実施例は特に有効である。また、タイマ割
り込みでタイムアウトを監視する必要がないので処理が
簡略化できる。例えば、9600bpsで通信している
場合、約1msで1バイト受信できる。ダミーコードを
4バイトに設定すれば、データ間隔を4msにすること
ができる。したがって、9600bpsで通信している
場合は、ダミーコードのバイト数(n)が55以下であ
れば特に有効である。
Therefore, when these boards are used and the data interval in communication is set to 55 ms or less, the embodiment of the present invention is particularly effective. Further, since it is not necessary to monitor the timeout by the timer interrupt, the processing can be simplified. For example, when communicating at 9600 bps, one byte can be received in about 1 ms. If the dummy code is set to 4 bytes, the data interval can be set to 4 ms. Therefore, when communicating at 9600 bps, it is particularly effective if the number of bytes (n) of the dummy code is 55 or less.

【0064】また、ダミーコードのバイト数(n)の最
小値は、ヘディング識別コードのバイト数(1乃至数バ
イト)と同じバイト数のときであるが、通信回線の種類
によりデータの間の時間を調節したい場合には、ダミー
コードのバイト数をヘディング識別コードと同じバイト
数より多くすればよい。この場合も、上記実施例と同じ
効果が得られる。例えば、有線回線などで同報通信を行
う場合、データ間隔をできるだけ詰めることが望まれ
る。なぜなら、喩えある端末が連続でくるデータを取り
こぼしたとしても、他のいずれかの端末がそのデータを
取り込むであろうから効率はよくなる。また、電話回線
などで個別通信を行う場合、データ毎に処理する時間も
あるので、ダミーコードをヘディング識別コードのバイ
ト数以上に設定し、データ間隔をある程度あける必要が
生じる可能性もある。
The minimum value of the number of bytes (n) of the dummy code is the same as the number of bytes (1 to several bytes) of the heading identification code, but the time between data depends on the type of communication line. Is adjusted, the number of bytes of the dummy code may be made larger than the same number of bytes as the heading identification code. In this case, the same effect as in the above embodiment can be obtained. For example, when performing broadcast communication over a wired line or the like, it is desirable to reduce the data interval as much as possible. The reason is that even if one terminal misses continuous data, efficiency will be improved because any other terminal will capture the data. Further, when performing individual communication via a telephone line or the like, there is a time for processing for each data, so that it may be necessary to set the dummy code to be equal to or more than the number of bytes of the heading identification code and provide a certain data interval.

【0065】したがって、発明者等の実験によれば、ダ
ミーコードのバイト数(n)は、n=1以上の整数であ
り、55以下の整数であれば、有線を介して伝送する音
楽データと音楽データ間の区切りを明確に確認すること
ができる。更に、好ましくは、ダミーコードのバイト数
(n)をヘディング識別コードと同じバイト数、即ち、
4バイト以上とすることが望ましい。
Therefore, according to the experiments performed by the inventors, the number of bytes (n) of the dummy code is an integer of n = 1 or more, and if it is an integer of 55 or less, the number of bytes is equal to the music data transmitted via the wire. The break between music data can be clearly confirmed. Further, preferably, the number of bytes (n) of the dummy code is the same as the number of bytes of the heading identification code, that is,
It is desirable to use 4 bytes or more.

【0066】なお、上記実施例においては、センターC
ENから中継同報局TRを介して各カラオケ端末装置K
TRに音楽データを配信する実施例で説明したが、本発
明を実施する場合には、これに限定されるものではな
く、センターCENから中継同報局TRを介すことなく
各カラオケ端末装置KTRに送信する場合であってもよ
い。
In the above embodiment, the center C
Each karaoke terminal device K from the EN via the relay broadcasting station TR
Although the embodiment in which music data is distributed to the TR has been described, the present invention is not limited to this, and each karaoke terminal device KTR may be transmitted from the center CEN without passing through the relay broadcasting station TR. May be transmitted.

【0067】[0067]

【発明の効果】以上のように、請求項1のカラオケシス
テムにおける音楽データ通信方法においては、センター
から音楽データを各カラオケ端末装置に通信により配信
される音楽データと音楽データ間のコードをnバイトの
ダミーコードとし、全曲の最終コードがヘディングの開
始のコードと一致していても、最終コードとヘッドのコ
ードとの区別が可能なダミーコードによってデータ間の
区別を行うものである。
As described above, in the music data communication method in the karaoke system according to the first aspect, the music data transmitted from the center to each karaoke terminal device by communication is composed of n bytes of code between the music data. Even if the final code of all songs matches the heading start code, the data is distinguished by a dummy code capable of distinguishing the final code from the head code.

【0068】したがって、従来のように、曲と曲との間
のような音楽データと音楽データ間に200msの時間
を置くことなく、nバイトをヘディングのデータに関係
のないダミーコードを介在させたものであるから、先の
音楽データのフォーマットの末尾がヘディングの開始の
SOHと同一の信号で終了したとしても、続くヘディン
グのデータが明確であるから、ヘディングのコードに関
係のない4バイトのダミーを挿入することにより、ヘデ
ィングの開始のSOHと同一の信号が発生しても、続く
ダミーコードの到来を確認したとき、ヘディングの開始
のSOHの信号の到来ではなく、終了コードが偶然にヘ
ディングの開始のSOHと同一の信号で終了したことが
わかり、BCS2の終了コードをヘディングの開始のS
OHと間違うことがない。
Therefore, unlike the related art, a dummy code irrelevant to the heading data is provided for n bytes without placing a 200 ms time between music data such as between music pieces. Therefore, even if the end of the format of the music data ends with the same signal as the SOH at the beginning of the heading, the data of the following heading is clear, so a 4-byte dummy irrelevant to the heading code is used. Is inserted, even if the same signal as the heading start SOH is generated, when the arrival of the following dummy code is confirmed, the heading start SOH signal is not arrived but the end code is accidentally set. It can be seen that the processing has been completed by the same signal as the start SOH, and the end code of BCS2 is changed to the start SOH.
There is no mistake for OH.

【0069】故に、歌詞データ、文字画像データ、カラ
オケ楽曲データ(MIDI)等の複数の音楽データをサ
イクリックに送信する場合、同一時間でその循環回数を
多くすることができ、また、一巡する時間を短くするこ
とができるから、同一回数循環させる場合には、通信コ
ストを低減でき、効率の良い通信手段の占有を行なうこ
とができる。
Therefore, when a plurality of music data such as lyrics data, character image data, and karaoke music data (MIDI) are transmitted cyclically, the number of circulations can be increased in the same time, Can be shortened, so that when circulating the same number of times, the communication cost can be reduced and efficient communication means can be occupied.

【0070】請求項2のカラオケシステムにおける音楽
データ通信方法においては、センターから音楽データを
各カラオケ端末装置に通信により配信される音楽データ
と音楽データ間のコードをnバイトのヘディングのデー
タに関係のないダミーコードとし、全曲の最終コードが
ヘディングの開始のコードと一致していても、最終コー
ドとヘッドのコードとの区別が可能なダミーコードによ
ってデータ間の区別を行うものである。
In the music data communication method in the karaoke system according to the second aspect, the music data transmitted from the center to each karaoke terminal device by communication is converted into a code between the music data and the n-byte heading data. There is no dummy code, and even if the final code of all songs matches the heading start code, the data is distinguished by a dummy code that can distinguish the final code from the head code.

【0071】したがって、従来のように、曲と曲との間
のような音楽データと音楽データ間に200msの時間
を置くことなく、4バイトをヘディングのデータに関係
のないダミーコードを介在させたものであるから、先の
音楽データのフォーマットの末尾がヘディングの開始の
SOHと同一の信号で終了したとしても、続くヘディン
グのデータ種別の2バイト及びそのデータ種別の補数の
2バイトが固定長であり、そのコードも明確であるか
ら、ヘディングのデータ種別の2バイト及びそのデータ
種別の補数の2バイトに関係のない4バイトのダミーを
挿入することにより、ヘディングの開始のSOHと同一
の信号が発生しても、続くダミーコードの到来を確認し
たとき、ヘディングの開始のSOHの信号の到来ではな
く、終了コードが、偶然にヘディングの開始のSOHと
同一の信号で終了したことがわかり、このとき、BCS
2の終了コードをヘディングの開始のSOHと間違うこ
とがない。故に、請求項1と同様の効果を奏する。
Therefore, a 4-byte dummy code irrelevant to heading data is interposed without placing 200 ms between music data, such as between music pieces, as in the prior art. Therefore, even if the end of the format of the previous music data ends with the same signal as the SOH at the start of the heading, two bytes of the following heading data type and two bytes of the complement of the data type are fixed length. Since the code is also clear, by inserting a 4-byte dummy irrelevant to the 2-byte heading data type and the 2-byte complement of the data type, the same signal as the SOH at the start of the heading is generated. Even if it occurs, when the arrival of the following dummy code is confirmed, the end code is not the arrival of the heading start SOH signal, but the end code. To see that ended with the same signal and the SOH of the start of the heading deer, this time, BCS
The end code of 2 is not mistaken for the SOH at the start of heading. Therefore, the same effect as the first aspect is obtained.

【0072】請求項3のカラオケシステムにおける音楽
データ通信方法において、配信される音楽データと音楽
データ間のコードは、そのバイト数を配信される音楽デ
ータの先頭を識別するためのヘディングのデータのバイ
ト数以上にし、全曲の最終コードがヘディングの開始の
コードと一致していても、最終コードとヘッドのコード
との区別が可能なダミーコードによってデータ間の区別
を行うことができる。
In the music data communication method for a karaoke system according to the third aspect, the code between the distributed music data and the music data is the number of bytes of the heading data for identifying the head of the distributed music data. Even if the number is more than the number, even if the final code of all songs matches the heading start code, data can be distinguished by a dummy code that can distinguish the final code from the head code.

【0073】したがって、従来のように、曲と曲との間
のような音楽データと音楽データ間に200msの時間
を置くことなく、ヘディングのデータに関係のないヘデ
ィングのデータのバイト数以上のダミーコードを介在さ
せたものであるから、ヘディングのデータのバイト数以
上のダミーコードの確認により、全曲の最終コード等の
最終コードとヘディングコードと間違うことがない。故
に、請求項1と同様の効果を奏する。
Therefore, unlike the related art, the dummy data having the number of bytes equal to or larger than the number of bytes of the heading data irrespective of the heading data is provided without leaving 200 ms between music data such as between music pieces. Since the code is interposed, the final code such as the final code of all songs and the heading code are not confused by checking the dummy code of the number of bytes of the heading data or more. Therefore, the same effect as the first aspect is obtained.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 図1は本発明の一実施例の音楽データ通信方
法を用いたカラオケシステムにおける私設回線ネットワ
ークの全体構成図である。
FIG. 1 is an overall configuration diagram of a private line network in a karaoke system using a music data communication method according to one embodiment of the present invention.

【図2】 図2は本発明の一実施例のカラオケシステム
における音楽データ通信方法を使用したカラオケ端末装
置の全体構成図である。
FIG. 2 is an overall configuration diagram of a karaoke terminal device using a music data communication method in a karaoke system according to one embodiment of the present invention.

【図3】 図3は本発明の一実施例のカラオケシステム
における音楽データ通信方法のメインプログラムのフロ
ーチャートである。
FIG. 3 is a flowchart of a main program of a music data communication method in the karaoke system according to one embodiment of the present invention.

【図4】 図4は本発明の一実施例のカラオケシステム
における音楽データ通信方法のメインプログラムでコー
ルされた通信処理のフローチャートである。
FIG. 4 is a flowchart of a communication process called by a main program of a music data communication method in a karaoke system according to an embodiment of the present invention.

【図5】 図5は図4のプログラムでコールされた曲間
情報表示処理のフローチャートである。
FIG. 5 is a flowchart of a music-to-song information display process called by the program of FIG. 4;

【図6】 図6は図4のプログラムでコールされた送受
信処理のフローチャートである。
FIG. 6 is a flowchart of a transmission / reception process called by the program of FIG. 4;

【図7】 図7は図4のプログラムでコールされたアッ
プロード処理のフローチャートである。
FIG. 7 is a flowchart of an upload process called by the program of FIG. 4;

【図8】 図8は図4のプログラムでコールされたシス
テム終了処理のフローチャートである。
FIG. 8 is a flowchart of a system termination process called by the program of FIG. 4;

【図9】 図9は図6のプログラムでコールされた登録
処理のフローチャートである。
FIG. 9 is a flowchart of a registration process called by the program of FIG. 6;

【図10】 図10は図9のプログラムでコールされた
受信ファイルの分解処理のフローチャートである。
FIG. 10 is a flowchart of a disassembly process of a received file called by the program of FIG. 9;

【図11】 図11は本発明の一実施例のカラオケシス
テムにおける音楽データ通信方法で割込処理される送受
信割込処理のフローチャートである。
FIG. 11 is a flowchart of a transmission / reception interrupt process performed by the music data communication method in the karaoke system according to one embodiment of the present invention.

【図12】 図12は本発明の一実施例のカラオケシス
テムにおける音楽データ通信方法で使用する受信ファイ
ルと登録テーブルの事例の説明図である。
FIG. 12 is an explanatory diagram of an example of a reception file and a registration table used in the music data communication method in the karaoke system according to one embodiment of the present invention.

【図13】 図13は本発明の一実施例のカラオケシス
テムにおける音楽データ通信方法で使用する説明図で、
(a)が送信データの模式図、(b)が基本フォーマッ
トの模式図、(c)が基本フォーマット(b)のヘディ
ングの模式図である。
FIG. 13 is an explanatory diagram used in a music data communication method in the karaoke system according to one embodiment of the present invention;
(A) is a schematic diagram of transmission data, (b) is a schematic diagram of a basic format, and (c) is a schematic diagram of a heading of a basic format (b).

【図14】 図14は従来例(a)及び本発明の一実施
例(b)のカラオケシステムにおける音楽データ通信方
法で使用するデータのフォーマットの説明図である。
FIG. 14 is an explanatory diagram of a data format used in a music data communication method in a karaoke system according to a conventional example (a) and an embodiment (b) of the present invention.

【符号の説明】[Explanation of symbols]

20 基本フォーマット 21 SOH 22 ヘディング 23 STX 24 ブロックNo 25 データ部 26 ETB 27 BCS1 28 BCS2 Reference Signs List 20 basic format 21 SOH 22 heading 23 STX 24 block No. 25 data part 26 ETB 27 BCS1 28 BCS2

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 センターから音楽データを各カラオケ端
末装置に通信により配信し、その配信された音楽データ
を各カラオケ端末装置に格納するカラオケシステムにお
ける音楽データ通信方法において、 前記配信される音楽データと音楽データ間のコードは、
n(nは1以上の整数)バイトのダミーコードを介在さ
せてなることを特徴とするカラオケシステムにおける音
楽データ通信方法。
1. A music data communication method in a karaoke system for distributing music data from a center to each karaoke terminal device by communication and storing the distributed music data in each karaoke terminal device, comprising: The code between the music data is
A music data communication method in a karaoke system, wherein a dummy code of n (n is an integer of 1 or more) bytes is interposed.
【請求項2】 前記配信される音楽データと音楽データ
間のコードは、n(nは1以上の整数)バイトのヘディ
ングのデータに関係のないダミーコードを介在させてな
ることを特徴とする請求項1に記載のカラオケシステム
における音楽データ通信方法。
2. The code between the distributed music data and the music data is formed by interposing a dummy code irrelevant to n (n is an integer of 1 or more) byte heading data. Item 2. A music data communication method in the karaoke system according to Item 1.
【請求項3】 前記配信される音楽データと音楽データ
間のコードは、そのバイト数を前記配信される音楽デー
タの先頭を識別するためのヘディングのデータのバイト
数以上にしたことを特徴とする請求項1または請求項2
に記載のカラオケシステムにおける音楽データ通信方
法。
3. The code between the distributed music data and the music data, wherein the number of bytes is equal to or greater than the number of bytes of the heading data for identifying the head of the distributed music data. Claim 1 or Claim 2
3. A music data communication method in the karaoke system according to 1.
JP6244366A 1994-10-07 1994-10-07 Music data communication method in karaoke system Expired - Fee Related JP2975854B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6244366A JP2975854B2 (en) 1994-10-07 1994-10-07 Music data communication method in karaoke system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6244366A JP2975854B2 (en) 1994-10-07 1994-10-07 Music data communication method in karaoke system

Publications (2)

Publication Number Publication Date
JPH08110785A JPH08110785A (en) 1996-04-30
JP2975854B2 true JP2975854B2 (en) 1999-11-10

Family

ID=17117631

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6244366A Expired - Fee Related JP2975854B2 (en) 1994-10-07 1994-10-07 Music data communication method in karaoke system

Country Status (1)

Country Link
JP (1) JP2975854B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6510438B2 (en) 1997-10-31 2003-01-21 Yamaha Corporation Electronic mail system, method of sending and receiving electronic mail, and storage medium

Also Published As

Publication number Publication date
JPH08110785A (en) 1996-04-30

Similar Documents

Publication Publication Date Title
KR100454543B1 (en) Multi-media receiver and system therefor
JP3250336B2 (en) Karaoke system and karaoke terminal device
US5808224A (en) Portable downloader connectable to karaoke player through wireless communication channel
JPH08117445A (en) Video game system
DK1838074T3 (en) Method of sending symbols and / or information from a transmitter to at least one receiver
JP2917855B2 (en) Karaoke equipment and karaoke system
EP1042929B1 (en) Information transmission method
JP2975854B2 (en) Music data communication method in karaoke system
US5684843A (en) Data transmission system for transmitting information from a central control unit to a plurality of terminals
JPH0837506A (en) Information providing system
EP0931302A1 (en) Caption type language learning system using caption type learning terminal and communication network
KR0147394B1 (en) Download device
JP3847372B2 (en) Data distribution system and broadcast receiving apparatus
JP2844533B2 (en) Music broadcasting system
KR100292042B1 (en) Broadcasting system and method
JP3496765B2 (en) Karaoke data distribution system using CATV network
JPH0895584A (en) Method and device for housing musical data in karaoke system
JP3332287B2 (en) Communication karaoke system and karaoke terminal
CN1275035A (en) Rardio broadcast display system and method
JPH0836537A (en) Transmission system for screen information
KR200208202Y1 (en) Video Half Cycle
WO1996008299A1 (en) Electronic game monitor
JP3805471B2 (en) Data communication method and data communication system
JPH06152550A (en) Charging device for radio communication
JPH1093946A (en) Reception terminal equipment and central transmitter for multiple address service providing system

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees