JPH08110785A - Musical data communication method for karaoke system - Google Patents

Musical data communication method for karaoke system

Info

Publication number
JPH08110785A
JPH08110785A JP6244366A JP24436694A JPH08110785A JP H08110785 A JPH08110785 A JP H08110785A JP 6244366 A JP6244366 A JP 6244366A JP 24436694 A JP24436694 A JP 24436694A JP H08110785 A JPH08110785 A JP H08110785A
Authority
JP
Japan
Prior art keywords
data
music data
heading
code
bytes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP6244366A
Other languages
Japanese (ja)
Other versions
JP2975854B2 (en
Inventor
Tatsuki Washimi
竜樹 鷲見
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 Electric Co Ltd
Original Assignee
Sanyo 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric 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

Abstract

PURPOSE: To efficiently communicate the musical data to karaoke accompaniment for singing terminal devices by inserting a dummy code of (n) bytes between the musical data transmitted from a center to the karaoke terminal devices by communications. CONSTITUTION: A dummy code of (n) bytes (e.g. four bytes) is inserted between the musical data transmitted from a center CEN to karaoke terminal devices KTR by communications. Even when the final code of the preceding musical piece coincides with the heading start code, these data are distinguished by the dummy code capable of distinguishing the final code and the heading code. The dummy code containing four bytes not related with two bytes of the data size of the heading and two bytes of the complement of the data size is inserted. Even when the same signal as the heading start SOH is generated, it is found by the arrival of the succeeding dummy code that BCS 2 is completed with the same signal as the heading start SOH, not the arrival of the heading start SOH signal.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

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

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

【0004】これによって、カラオケ端末装置の利用率
が少ない昼間に新曲を受信し、それをカラオケ端末装置
のメインメモリに格納している。
As a result, a new song is received during the daytime when the usage rate of the karaoke terminal device is low and 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の休止期間によって曲と曲との切替えのタイミン
グとしている。
At this time, there is a rest period of 40 KB for one song from the center side and 200 ms until the next song,
The information of the next song is 40 KB, and the rest period of 200 ms is set, the information of the news is 500 B, and the next 1
The song information is 40 KB, and a 200 ms pause period is cyclically transmitted. That is, as shown in FIG. 14A, which illustrates the format of data used in the music data communication method in the conventional karaoke system, 20
The pause period of 0 ms is used as the timing for switching between songs.

【0006】[0006]

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

【0007】また、全国にある多くのカラオケ端末装置
に対してセンターから同報通信を行うと、通信コストが
高価になる。そこで、中継機を地方に設置し、そこから
各カラオケ端末装置に送信すると、通信コストが廉価に
なる。特に、音楽データの送受信にメールボックス機能
を使用すると、1中継局側で256ケ所の転送が可能と
なる。
Further, if the center carries out the broadcast communication to many karaoke terminal devices all over the country, the communication cost becomes high. Therefore, if a repeater is installed in a rural area and then transmitted to each karaoke terminal device, the communication cost becomes low. In particular, if the mail box function is used for transmitting and receiving music data, one relay station side can transfer 256 locations.

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

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

【0010】そこで、本発明はカラオケ端末装置に対す
る音楽データを効率良く通信できるカラオケシステムに
おける音楽データ通信方法の提供を課題とするものであ
る。
Therefore, 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, wherein music data is distributed from a center to each karaoke terminal device by communication, and the distributed music data is distributed to each karaoke terminal device. In a music data communication method in a karaoke system for storing, a code between distributed music data and music data is formed by interposing a dummy code of n (n is an integer of 1 or more) bytes.

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

【0013】請求項3にかかるカラオケシステムにおけ
る音楽データ通信方法は、センターから音楽データを各
カラオケ端末装置に通信により配信し、その配信された
音楽データを各カラオケ端末装置に格納するカラオケシ
ステムにおける音楽データ通信方法において、配信され
る音楽データと音楽データ間のコードのバイト数を配信
される音楽データの先頭を識別するためのヘディングの
データのバイト数以上にしたものである。
According to a third 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, the number of bytes of the code between the distributed music data and the music data is made equal to or larger than the number of bytes of the heading data for identifying the beginning of the distributed music data.

【0014】[0014]

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

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

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

【0017】[0017]

【実施例】以下、本発明のカラオケシステムにおける音
楽データ通信方法の実施例について説明する。
Embodiments of the music data communication method in the karaoke system of 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 an embodiment of the present invention.

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

【0020】なお、本発明を実施する場合のシステムに
おいては、センターCENから中継同報局TRを介すこ
となく各カラオケ端末装置KTRに送信する構成であっ
てもよい。
In the system for carrying out the present invention, the center CEN may be configured to transmit 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 the music data communication method in the karaoke system of 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 operations and processing and controls the karaoke terminal device KTR, and is composed of a microcomputer or the like. Main memory 2
Is a memory having a relatively large capacity such as a hard disk and a magneto-optical disk. Here, it has a hard disk and a magneto-optical disk that store a plurality of music data for each song. The communication control means 3 mainly receives data regarding music such as lyrics data, character image data, accompaniment, new song, and song name, that is, music data transmitted from the center by executing the communication program, that is, music data via the communication interface 4. The karaoke terminal device KTR is controlled to be taken in. The transmission / reception buffer 5 is a memory for temporarily storing the 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 as an image.

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

【0024】次に、センターCENまたは中継同報局T
Rから各カラオケ端末装置KTRに送信するデータにつ
いて説明する。
Next, the center CEN or the relay broadcasting station T
The 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 of one embodiment of the present invention.
(A) is a schematic diagram of transmission data, (b) is a schematic diagram of a basic format, (c) is a schematic diagram of the heading of the basic format (b). FIG. 14 is an explanatory diagram of a data format used in the music data communication method in the karaoke system of 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 is 40 KB, the rest of the next song is 4 B (byte), the information of the next one is 40 KB, and the rest of 4 B is placed. Information of 500B, and the information of the next song is 40K.
B and 4B rest periods are 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 song has a total length of 1 KB (1024B), and as shown in FIG. 13B, 1H of SOH [21], which is the start of heading, and heading. [22] is 2B,
It consists of 8B of 2B and 4B. In addition, STX [23] as the start of the data block is 1B, block No.
[24] uses 00H to FFH as block numbers,
The data portion [25] indicates the data body, the ETB [26] indicates the end of the data block, and ETX is used for the end of the data block that does not continue. That is,
When music data such as a song exceeds this basic format, it is cut off midway and transmitted, and at this time, ETB is used as the end block. BCS1 [27] and B
CS2 [28] is processed according to the CRC. The BCS of this basic format [20] is calculated by SOH [2
1] or the byte next to 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. 13 (c), SOH [21] that starts the heading is 1B, the data type and the complement of the data type are 2B and 2B, that is, 4B in total, and the data size is 4 bytes.

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

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

【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. 14B, when a rest period of 40 KB for one piece of music and 4 B for the next piece of music is set and the information of the next piece of music is entered, the previous piece of music is Even if BCS2 ends with the same signal as the SOH that starts the heading at the end of the format, since the data type 2B of the following heading and the complement 2B of that data type have a fixed length, the data type that is the heading identification code Of 2
Even if the same signal as the SOH at the start of heading is generated by inserting a dummy of 4B that is not related to B and its complement 2B, the signal of the SOH at the start of heading comes at the arrival of the following dummy code. Instead, it can be seen that the end of BCS2 ends with the same signal as 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 flow chart of the main program of the music data communication method in the karaoke system of one embodiment of the present invention. FIG. 4 is a flow chart of communication processing called by the main program of the music data communication method in the karaoke system of one embodiment of the present invention.
Similarly, FIG. 5 is a flowchart of the inter-track 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 upload processing called by the program of FIG. 8 is a flowchart of the system termination process called by the program of FIG. 4, FIG. 9 is a flowchart of the registration process called by the program of FIG. 6, and FIG.
9 is a flow chart of a process of disassembling the received file called by the program of FIG. 9, and FIG. 11 is a flow chart of a transmission / reception interrupt process which is interrupted by the music data communication method in the karaoke system of one embodiment of the present invention. . <Main Program> In FIG. 3, this main program is possessed by the karaoke terminal device KTR, and it is determined in step S1 that there is no reserved song or the system is terminated, and the reserved song is currently set by the various keys 6. If not, or if the system is terminated, a communication processing routine is called in step S2. If a reserved song is set, if the system is not terminated, the music data is processed in step S3. A performance processing routine for performing performance output and character output is called. Since the performance process does not directly relate to the gist of the present invention, its description 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, processing such as terminal address, various flags, transmission / reception buffer 5 reservation, and initialization of other variables is performed. In step S12, a routine for displaying information between pieces of music is called, in step S13, a routine for transmission / reception processing is called, in step S14, a routine for upload processing is called, and further, 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 program is requested to end, and step S17 is performed.
The post-processing for exiting the communication processing routine is performed in step 1, and this routine is exited.

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

【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-track information display processing routine is called in step S12, preparation of display data of about 5 lines at maximum is started in step S21 shown in FIG. This display data is prepared for displaying information such as "weather forecast", "news", "event", and "new music within one month" which are preselected 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 the selected information is stored and there is a line to be displayed. When there is no line to be displayed, Exit this routine. If there is a line to be displayed, the display process for one line is performed in step S23. Since about 1 second has elapsed during this display, 6 KB
If the 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 the transmission / reception buffer 5 composed of a ring buffer has data accumulated therein so that the transmission / reception buffer 5 composed of a ring buffer does not overflow. From step S25 to T
The data stored in ail is written in the main memory 2, the Tail written in step S26 is incremented, and the process returns to step S22. As a result, even if the display process takes time, the transmission / reception buffer 5
Does not overflow.

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

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

【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 through a wired line (private line) or public line (telephone line) in step S31 shown in FIG. It is determined by switching the selection switch SW of the modem to be used. If it is a public line, it is determined in step S32 whether or not music data is being received, and step S33.
It is determined whether or not there is received data in the modem buffer 9a of the telephone modem 9, and only when there is received data, step S
The data reception is started at 34, and the process of step S35 is started. Further, when it is determined in step S31 that the communication is wired, 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,
Step 35 is entered.

【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 6 KB ring buffer are coincident with each other. When they are coincident with each other, it means that the transmission / reception buffer 5 composed of the 6 KB ring buffer has no data accumulated therein. To get out of 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 Tail of the transmission / reception buffer 5 consisting of a 6 KB ring buffer do not match at step S35, it means that the transmission / reception buffer 5 has data stored therein.
The data stored in "ail" is written in the main storage means 2, the written Tail is incremented in step S37, and it is determined in step S38 whether the reception of one file is completed or the reception of one file is completed or Hea.
The routine from step S35 to step S38 is repeatedly executed until d becomes equal to Tail. Step S
If it is determined in 38 that reception of one file has been completed, a registration processing routine is called in step S39.

【0043】〈アップロード処理〉本実施例のアップロ
ード処理では、曲目毎の使用頻度、時間帯の選曲状況等
の演奏履歴をモデムバッファ9aに書込む。
<Uploading Process> In the uploading process of the present embodiment, the performance history such as the frequency of use of each song and the selection status of time zones is written in 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, and in step S41 shown in FIG. 7, it is determined whether 3 hours have passed since the last upload processing routine was called. In order to upload performance history information such as the frequency of use for each song stored in the storage means 2 and the selection status of the time zone, that is, to send to the host computer side of the center, write it in the modem buffer 9a in step S42, and Used for management.

【0045】〈システム終了処理〉本実施例のシステム
終了処理では、キー6で副電源が切断されるとシステム
終了要求が発生し、そのシステム終了要求から2時間経
過したとき、ステップS52で主電源を切り停止する。
<System Termination Process> In the system termination process of this embodiment, when the sub power source is turned off with the key 6, a system termination request is generated, and when two hours have elapsed from the system termination request, the main power source is determined in step S52. Turn off 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 elapsed from the system termination request, and when two hours have elapsed, the main power supply is turned off and stopped in step S52. To do.

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

【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 disassembled in step S62. Done,
In step S63, it is determined whether or not the disassembled file exists, and when the disassembled file exists or in the case of wired communication, the file is registered in step S64. This routine is exited when there is no file that can be disassembled.

【0049】〈受信ファイルの分解処理〉本実施例の受
信ファイルの分解処理では、図12の受信ファイルと登
録テーブルを使用する。
<Decomposition Processing of Received File> In the decomposition processing of the received file of this embodiment, the received file and the registration table of 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 of one embodiment of the present invention.

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

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

【0053】ステップS71で受信ファイルの作成日時
が登録テーブルの作成日時と一致すると判定したとき、
ステップS74の処理に入り、ここで、登録テーブルに
まだ受信していないデータが存在するか否かを判定し、
登録テーブルにまだ受信していないデータが存在しない
ことが判定されたとき、ステップS75でモデムバッフ
ァ9aの受信データを削除する。
When 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,
In the processing of step S74, it is determined whether or not there is data that has not yet been 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に書き込んだデータを削除する。
If it is determined that there is data that has not been received in the registration table, step S76.
Then, the offset of the data not registered is skipped, and the data of the size stored in the received file is read and written in the main storage means 2. In step S77, it is determined whether the number of data bytes actually read matches the size stored in the reception 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 memory 2 is deleted in step S79.

【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> This transmission / reception interrupt
When one character is transmitted or when one character is received, the order is placed. First, in step S81, it is determined whether it is a reception interrupt or a transmission interrupt. If it is not a reception interrupt, a transmission interrupt is intended. Because there is, step S
If there is data to be transmitted in 82, 1 in step S83
Send characters. In the case of a reception interrupt, it is determined in step S84 whether or not the reception buffer pointed to by Head is 1024 bytes or less, and when it is determined in step S84 that it is not 1024 bytes or less, Head is incremented in step S85. After the Head is incremented in step S85, or when the head reception buffer is 1024 bytes or less in step S84, step S85
At 86, one character is stored.

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

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

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

【0059】ところで、上記実施例では、ヘディング識
別コードをヘディングのデータ種別の2B及びそのデー
タ種別の補数の2Bに関係のない4Bのダミーを挿入す
る事例で説明したが、本発明を実施する場合には、他の
データであっても、そのデータに関係のない内容のデー
タをダミーとして使用できれば、上記実施例と同様の効
果が得られ、これを請求項1の実施例とすることができ
る。
By the way, in the above embodiment, the heading identification code is described as an example of inserting a dummy of 4B which is not related to the heading data type 2B and the complement 2B of the data type. For other data, if data having a content unrelated to the data can be used as a dummy, the same effect as that of the above embodiment can be obtained, and this can be 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 and the music data is the same as the number of bytes of the heading identification code. However, the number of bytes of the dummy code is not limited to this. Even if n) is made 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 and the music data is a code not used for the music data, it can be identified even if it is 1 byte. The number of bytes of the dummy code may be n = 1. Of course, at this time, it is possible to set the number of bytes n = 2 or more,
If the time loss is several tens of bytes as compared with 200 ms, the effect is sufficiently obtained.

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

【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 time-out with the timer interrupt, the processing can be simplified. For example, when communicating at 9600 bps, 1 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 of the heading identification code (1 to several bytes), but the time between data depends on the type of communication line. If it is desired to adjust, the number of bytes of the dummy code may be made larger than the same number of bytes as the heading identification code. Also in this case, the same effect as that of 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. This is because even if a metaphorical terminal misses data that comes in succession, any other terminal will take in the data, so that the efficiency is improved. Further, when individual communication is performed through a telephone line or the like, there is a time to process each data, so that it may be necessary to set the dummy code to the number of bytes of the heading identification code or more and to leave a data interval to some extent.

【0065】したがって、発明者等の実験によれば、ダ
ミーコードのバイト数(n)は、n=1以上の整数であ
り、55以下の整数であれば、有線を介して伝送する音
楽データと音楽データ間の区切りを明確に確認すること
ができる。更に、好ましくは、ダミーコードのバイト数
(n)をヘディング識別コードと同じバイト数、即ち、
4バイト以上とすることが望ましい。
Therefore, according to the experiments 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, it means that the music data to be transmitted via a cable is used. It is possible to clearly confirm the boundaries between music data. Furthermore, 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 have 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 EN via relay broadcasting station TR
Although the embodiment in which the music data is distributed to the TR has been described, the present invention is not limited to this, and each karaoke terminal device KTR from the center CEN does not go through the relay broadcasting station TR. May be sent to.

【0067】[0067]

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

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

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

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

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

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

【0073】したがって、従来のように、曲と曲との間
のような音楽データと音楽データ間に200msの時間
を置くことなく、ヘディングのデータに関係のないヘデ
ィングのデータのバイト数以上のダミーコードを介在さ
せたものであるから、ヘディングのデータのバイト数以
上のダミーコードの確認により、全曲の最終コード等の
最終コードとヘディングコードと間違うことがない。故
に、請求項1と同様の効果を奏する。
Therefore, unlike the conventional case, a dummy of more than the number of bytes of the heading data irrelevant to the heading data is set without placing a time of 200 ms between the music data such as between the music and the music data. Since the chords are inserted, it is possible to make sure that the final chords such as the final chords of all songs are not mistaken for the heading chords by checking the dummy chords whose number is more than the number of bytes of the heading data. Therefore, the same effect as that of claim 1 is achieved.

【図面の簡単な説明】[Brief description of 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 an 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 an embodiment of the present invention.

【図3】 図3は本発明の一実施例のカラオケシステム
における音楽データ通信方法のメインプログラムのフロ
ーチャートである。
FIG. 3 is a flowchart of a main program of a music data communication method in a karaoke system according to an 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 inter-track information display processing called by the program of FIG.

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

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

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

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

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

【図11】 図11は本発明の一実施例のカラオケシス
テムにおける音楽データ通信方法で割込処理される送受
信割込処理のフローチャートである。
FIG. 11 is a flowchart of a transmission / reception interrupt process that is interrupted by the music data communication method in the karaoke system of the 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 of 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 a karaoke system according to an embodiment of the present invention.
(A) is a schematic diagram of transmission data, (b) is a schematic diagram of a basic format, (c) is a schematic diagram of the heading of the 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 of 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 20 Basic Format 21 SOH 22 Heading 23 STX 24 Block No 25 Data Part 26 ETB 27 BCS1 28 BCS2

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 センターから音楽データを各カラオケ端
末装置に通信により配信し、その配信された音楽データ
を各カラオケ端末装置に格納するカラオケシステムにお
ける音楽データ通信方法において、 前記配信される音楽データと音楽データ間のコードは、
n(nは1以上の整数)バイトのダミーコードを介在さ
せてなることを特徴とするカラオケシステムにおける音
楽データ通信方法。
1. 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. The code between music data is
A music data communication method in a karaoke system, characterized by interposing a dummy code of n (n is an integer of 1 or more) bytes.
【請求項2】 前記配信される音楽データと音楽データ
間のコードは、n(nは1以上の整数)バイトのヘディ
ングのデータに関係のないダミーコードを介在させてな
ることを特徴とする請求項1に記載のカラオケシステム
における音楽データ通信方法。
2. A code between the distributed music data and the music data is formed by interposing a dummy code which is not related to heading data of n (n is an integer of 1 or more) bytes. Item 1. 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 has a number of bytes which is equal to or larger than the number of bytes of heading data for identifying the beginning of the distributed music data. Claim 1 or Claim 2
A music data communication method in the karaoke system described in 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 true JPH08110785A (en) 1996-04-30
JP2975854B2 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)

Cited By (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

Cited By (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
JP2975854B2 (en) 1999-11-10

Similar Documents

Publication Publication Date Title
KR100424231B1 (en) Data reproducing device, data reproducing method, and information terminal
US5696500A (en) Multi-media receiver and system therefor
JP3250336B2 (en) Karaoke system and karaoke terminal device
US7328272B2 (en) Apparatus and method for adding music content to visual content delivered via communication network
US6949704B2 (en) Apparatus for delivering music performance information via communication network and apparatus for receiving and reproducing delivered music performance information
JP2917855B2 (en) Karaoke equipment and karaoke system
JPH09114470A (en) Information file managing method for communication karaoke machine and communication karaoke machine
JPH09127964A (en) Download management method for communication karaoke device, and communication karaoke system
KR20020084248A (en) Music player applicable to portable telephone terminal
DK1838074T3 (en) Method of sending symbols and / or information from a transmitter to at least one receiver
WO2000054462A1 (en) Method and apparatus for transferring audio files
JPH08110785A (en) Musical data communication method for karaoke system
KR0147394B1 (en) Download device
JPH10105184A (en) Remote controller for karaoke (sing along machine) having new music contents function
JP2003044477A (en) Contents receivable portable communication terminal, contents distribution server device and program to be used for these
JPH0895584A (en) Method and device for housing musical data in karaoke system
EP0931302A1 (en) Caption type language learning system using caption type learning terminal and communication network
JP2844533B2 (en) Music broadcasting system
KR20000002079A (en) Method for acquiring accompaniment data and song accompaniment machine
CN1275035A (en) Rardio broadcast display system and method
KR20000012676A (en) The method of adding new songs to the list of singing machines equipped in a sining box by using internet
JP2003066973A (en) Performance information reproducing apparatus, and method and program therefor
JP4506063B2 (en) Music information distribution apparatus and program for distributing music information
JP3953148B2 (en) Online karaoke system
JPH0836537A (en) Transmission system for screen information

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