KR101075970B1 - Method for dispersing communication load of karaoke player - Google Patents

Method for dispersing communication load of karaoke player Download PDF

Info

Publication number
KR101075970B1
KR101075970B1 KR1020090085018A KR20090085018A KR101075970B1 KR 101075970 B1 KR101075970 B1 KR 101075970B1 KR 1020090085018 A KR1020090085018 A KR 1020090085018A KR 20090085018 A KR20090085018 A KR 20090085018A KR 101075970 B1 KR101075970 B1 KR 101075970B1
Authority
KR
South Korea
Prior art keywords
file
cycle
karaoke
song
period
Prior art date
Application number
KR1020090085018A
Other languages
Korean (ko)
Other versions
KR20110027086A (en
Inventor
사공철
Original Assignee
주식회사 금영
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 주식회사 금영 filed Critical 주식회사 금영
Priority to KR1020090085018A priority Critical patent/KR101075970B1/en
Publication of KR20110027086A publication Critical patent/KR20110027086A/en
Application granted granted Critical
Publication of KR101075970B1 publication Critical patent/KR101075970B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load

Abstract

노래반주기의 통신부하 분산방법이 개시된다. 개시된 노래반주기의 통신부하 분산방법은, (a) 임의의 노래반주기가 상기 임의의 노래반주기의 일측에 구비된 옆의 노래반주기에 파일 존재 유무를 문의하고, 상기 파일 송신을 요청하는 단계와; (b) 상기 옆의 노래반주기가 상기 임의의 노래반주기로부터의 파일 존재 여부 문의인가를 판단하는 단계와; (c) 상기 단계 (b)에서, 상기 옆의 노래반주기가 상기 임의의 노래반주기로부터의 파일 존재 여부 문의인 경우로 판단하면, 동일 경로의 동일 사이즈의 파일이 존재하는지 확인하는 단계와; (d) 상기 단계 (c)에서, 동일 경로의 동일 사이즈의 파일이 존재하는 경우, 해당 파일에 계산해 놓은 계산값이 존재하는지 판단하는 단계와; (e) 상기 단계 (d)에서, 해당 파일에 계산해 놓은 계산값이 존재하는 경우, 상기 계산값이 동일한지 판단하는 단계와; (f) 상기 단계 (e)에서, 상기 계산값이 동일하다고 판단되면, 상기 임의의 노래반주기가 요청한 파일이 '있다'라고 하는 메시지를 상기 임의의 노래반주기에 전송하는 단계;를 포함하는 것을 그 특징으로 한다.

Figure R1020090085018

노래반주기, 통신부하, 서버

Disclosed is a method for distributing communication load in a music cycle period. Disclosed is a communication load distribution method of a karaoke cycle, the method comprising: (a) inquiring whether a karaoke cycle has a file in a karaoke cycle provided at one side of the karaoke cycle, and requesting the file transmission; (b) determining whether the next song cycle is a file presence query from the random song cycle; (c) in step (b), if it is determined that the next karaoke cycle is a file existence query from the arbitrary karaoke cycle, checking whether a file of the same size in the same path exists; (d) in step (c), if there exists a file of the same size in the same path, determining whether there is a calculated value calculated in the file; (e) in step (d), if there is a calculated value calculated in the file, determining whether the calculated value is the same; (f) in step (e), if it is determined that the calculated value is the same, transmitting a message to the arbitrary song period that the file requested by the any song period is 'present'; It features.

Figure R1020090085018

Karaoke, communication load, server

Description

노래반주기의 통신부하 분산방법{METHOD FOR DISPERSING COMMUNICATION LOAD OF KARAOKE PLAYER}Communication load distribution method of song group cycle {METHOD FOR DISPERSING COMMUNICATION LOAD OF KARAOKE PLAYER}

본 발명은 노래반주기의 통신부하 분산방법에 관한 것으로서, 보다 상세하게는 다운로드(download) 받을 파일이 옆의 노래반주기에 존재하는지의 여부를 판단하고, 대표 노래반주기가 없이도 한 업소에서 하나의 파일에 대하여 한번의 컨텐츠 전달 서버로의 연결을 허용하여, 파일의 최종 전송시간을 줄이고, 노래반주기가 동작 중에 관계없이 동작 가능하게 되도록 개선된 노래반주기의 통신부하 분산방법에 관한 것이다.The present invention relates to a method for distributing a communication load of a karaoke cycle, and more particularly, to determine whether a file to be downloaded exists in a karaoke cycle next to each other, and to a single file in one store without a representative karaoke cycle. The present invention relates to a method for distributing a communication load of a karaoke cycle, which allows a connection to a content delivery server, thereby reducing a final transmission time of a file and enabling the karaoke cycle to be operated regardless of operation.

노래방 환경의 특성상 하나의 업소에 여러 대의 노래반주기가 존재하고, 이 노래반주기들은 컨텐츠 전송 서버로부터 동일한 파일을 받아야 한다.Due to the nature of the karaoke environment, several karaoke cycles exist in a single store, and these karaoke cycles must receive the same file from the content delivery server.

이렇게 파일을 받는 방법을 구체적으로 설명하면, 도 1에 도시된 바와 같이, 모든 노래반주기(1,2,3,..,n)가 컨텐츠 전송 서버(10)로부터 직접 파일을 전송 받는 방식이 있다. 즉, 하나의 컨텐츠 전송 서버(10)로부터 여러 대의 노래반주기(1,2,3,..,n)가 각각 파일을 전송 받는다.Specifically, a method of receiving a file, as illustrated in FIG. 1, has a method in which all of the music cycle periods 1, 2, 3,.., N receive a file directly from the content delivery server 10. . That is, several music recording cycles (1, 2, 3, .., n) receive files from one content delivery server 10, respectively.

그리고 도 2에 도시된 바와 같이, 고정된 한 대의 대표 노래반주기(20)가 컨 텐츠 전송 서버(10)로부터 파일을 전송 받고, 나머지 노래반주기(1,2,3,..,n)에게 파일을 재 전송하는 방식이 있다. 즉, 상기 컨텐츠 전송 서버(10)로부터 대표 노래반주기(20)가 파일을 전송 받는다. 그런 후, 상기 대표 노래반주기(20)로부터 여러 대의 노래반주기(1,2,3,..,n)가 파일을 전송 받게 된다.As shown in FIG. 2, a fixed representative music cycle period 20 receives a file from the content transmission server 10 and transmits the file to the remaining music cycle periods 1, 2, 3, .., n. There is a way to retransmit. That is, the representative song group cycle 20 receives the file from the content delivery server 10. Thereafter, a plurality of song cycles (1, 2, 3, ..., n) are transmitted from the representative song cycle 20.

또한 도면에는 도시하지 않았지만, 유동적으로 선택되어지는(매번 부팅시 등에 정해지는) 대표 노래반주기가 컨텐츠 전송 서버로부터 파일을 전송 받고, 나머지 노래반주기에게 파일을 재 전송하는 방식이 있다.In addition, although not shown in the drawing, there is a method in which a representative karaoke cycle that is fluidly selected (determined at each booting time) receives a file from a content delivery server and retransmits the file to the remaining karaoke cycle.

상기와 같은 종래의 파일을 전송 받는 방식에는 다음과 같은 문제점이 있다.The conventional method of receiving a file as described above has the following problems.

전술한 도 1에 도시된 바와 같이 상기 컨텐츠 전송 서버(10)로부터 데이터(파일)를 받는 경우에는 과부하가 발생하게 된다. 즉, 모든 노래반주기(1,2,3,..,n)(또는 각각의 노래반주기)가 컨텐츠 전송 서버(10)에서 직접 데이터를 받는 경우, 컨텐츠 전송 서버(10)측 트래픽(traffic)이 증가하게 되고, 업소측 ADSL, 케이블 등 인터넷 연결 망의 트래픽이 증가된다.As shown in FIG. 1, when data (file) is received from the content delivery server 10, an overload occurs. That is, when all the song cycles 1, 2, 3, .., n (or each song cycle) receive data directly from the content delivery server 10, the traffic of the content delivery server 10 side is lost. In addition, traffic on the Internet connection network such as business side ADSL and cable will increase.

그리고 도 2에 도시된 바와 같이 고정된 한대의 대표 노래반주기(20)가 컨텐츠 전송 서버(10)로부터 파일을 전송 받는 방식의 경우에는 대표 노래반주기(20)의 설정을 수동으로 해야하는 부담이 있다. As shown in FIG. 2, in the case of a method in which a fixed representative music cycle period 20 receives a file from the content delivery server 10, there is a burden of manually setting the representative music cycle period 20.

그런데, 노래방 특성상 장비를 운영하는 업주는 장비를 직접 설치 및 설정하지 못하는 것이 일반적이다. 따라서 대표 노래반주기(20)의 오동작 발생시 업소 내에서 대응이 어렵다.However, due to the nature of karaoke, the owner of the equipment generally does not directly install and set the equipment. Therefore, when a malfunction occurs in the representative karaoke cycle 20, it is difficult to respond in the shop.

또한 상기 대표 노래반주기(20)가 오프(OFF)되어 있고, 나머지 노래반주 기(1,2,3,..,n)가 작동(ON)되어 있는 경우에는 더 이상 컨텐츠 전송 서버(10)에서 파일을 전송 받지 못한다.In addition, when the representative song group 20 is turned off and the remaining song groups 1, 2, 3, .., n are turned on, the content delivery server 10 is no longer used. File not received

그리고 도면에는 도시하지 않았지만, 마스터(유동) / 슬레이브 모델의 경우에는 대표 노래반주기가 부팅될 때 선정됨으로, 도 2의 경우와 같이 대표 노래반주기(20)가 꺼져있는 문제는 해결되나, 어떤 노래반주기가 대표 노래반주기가 되어야하는지 선정하기 위해서 업소 내의 모든 노래반주기가 동시에 부팅(booting)을 해야함으로 노래반주기 운영에 있어 불리하다.Although not shown in the drawing, in the case of the master (flow) / slave model, since the representative song cycle is selected when booting, the problem in which the representative song cycle 20 is turned off as in the case of FIG. It is disadvantageous to operate the karaoke cycle because all karaoke cycles in the store must boot at the same time in order to select whether it should be the representative karaoke cycle.

본 발명은 상기와 같은 문제점을 해결하기 위하여 창출된 것으로서, 다운로드받을 파일이 옆 노래반주기에 존재하는지의 여부를 판단하고, 대표 노래반주기가 없이도 한 업소에서 하나의 파일에 대하여 한번의 컨텐츠 전달 서버로의 연결을 허용하여 인터넷 구간의 트래픽이 감소되고, 노래반주기의 동작에 상관하지 않고 동작할 수 있으며, 노래반주기의 운영이 원활하게 이루어지도록 한 노래반주기의 통신부하 분산방법을 제공하는데 그 목적이 있다.The present invention has been created to solve the above problems, it is determined whether the file to be downloaded exists in the next karaoke cycle, and without a representative karaoke cycle from one store to one content delivery server for one file Its purpose is to provide a method for distributing the communication load of the song cycle so that the traffic of the Internet section can be reduced and it can operate regardless of the operation of the song cycle, and the operation of the song cycle is smooth. .

상기와 같은 목적을 달성하기 위한 본 발명의 노래반주기의 통신부하 분산방법은, (a) 임의의 노래반주기가 상기 임의의 노래반주기의 일측에 구비된 옆의 노래반주기에 파일 존재 유무를 문의하고, 상기 파일 송신을 요청하는 단계와; (b) 상기 옆의 노래반주기가 상기 임의의 노래반주기로부터의 파일 존재 여부 문의인가를 판단하는 단계와; (c) 상기 단계 (b)에서, 상기 옆의 노래반주기가 상기 임의의 노래반주기로부터의 파일 존재 여부 문의인 경우로 판단하면, 동일 경로의 동일 사이즈의 파일이 존재하는지 확인하는 단계와; (d) 상기 단계 (c)에서, 동일 경로의 동일 사이즈의 파일이 존재하는 경우, 해당 파일에 계산해 놓은 계산값이 존재하는지 판단하는 단계와; (e) 상기 단계 (d)에서, 해당 파일에 계산해 놓은 계산값이 존재하는 경우, 상기 계산값이 동일한지 판단하는 단계와; (f) 상기 단계 (e)에서, 상기 계산값이 동일하다고 판단되면, 상기 임의의 노래반주기가 요청한 파일이 '있다'라고 하는 메시지를 상기 임의의 노래반주기에 전송하는 단계;를 포함하고, 그리고,
(g) 상기 단계 (b)에서, 상기 옆의 노래반주기가 상기 임의의 노래반주기로부터의 파일 존재 여부 문의인 경우로 판단되지 않으면, 상기 임의의 노래반주기로부터의 파일 송신 요청인지 확인하는 단계와; (h) 상기 단계 (g)에서, 상기 옆의 노래반주기가 상기 임의의 노래반주기로부터의 파일 송신 요청인 경우로 판단되면, 송신 중인 연결이 기준 개수 이하인지 판단하는 단계와; (i) 상기 단계 (h)에서, 송신 중인 연결이 기준 개수 또는 기준 개수 이하인 경우, 송신 연결을 생성하는 단계;를 포함하여 된 것을 그 특징으로 한다.
Communication load distribution method of the karaoke cycle of the present invention for achieving the above object, (a) any karaoke cycle inquiries of the existence of the file to the next karaoke cycle provided on one side of the arbitrary karaoke cycle, Requesting the file transmission; (b) determining whether the next song cycle is a file presence query from the random song cycle; (c) in step (b), if it is determined that the next karaoke cycle is a file existence query from the arbitrary karaoke cycle, checking whether a file of the same size in the same path exists; (d) in the step (c), if there exists a file of the same size in the same path, determining whether there is a calculated value calculated in the file; (e) in step (d), if there is a calculated value calculated in the file, determining whether the calculated value is the same; (f) in step (e), if it is determined that the calculation value is the same, transmitting a message to the arbitrary song period that the file requested by the any song period is 'present'; and ,
(g) in step (b), if it is not determined that the next song cycle is a file existence query from the any song cycle, checking whether the file transfer request from the song cycle is requested; (h) in step (g), if it is determined that the next song cycle is a file transmission request from the arbitrary song cycle, determining whether the connection being transmitted is equal to or less than a reference number; (i) in step (h), if the number of connections being transmitted is equal to or less than the reference number, generating a transmission connection.

본 발명의 실시예에 따르면, 다운로드받을 파일이 옆의 노래반주기에 존재하는지의 여부를 판단하고, 대표 노래반주기가 없이도 하나의 파일에 대하여 한번의 컨텐츠 전송 서버로의 연결을 허용함으로써, 모든 노래반주기가 컨텐츠 전송 서버에서 다운로드받은 것에 비해 인터넷 구간의 트래픽 감소로 파일의 최종 전송시간을 줄일 수 있다.According to an embodiment of the present invention, it is determined whether a file to be downloaded exists in the next song period, and by allowing one file to be connected to one content transmission server without a representative song period, all song periods Compared to the download from the content delivery server, it is possible to reduce the final transmission time of the file by reducing the traffic in the Internet section.

그리고 기존과 같이 하나의 대표 노래반주기가 모든 노래반주기에 전송하는 형태가 아니므로, 노래반주기가 동작 중(또는 영업 중)에 상관하지 않고 동작이 가능하다.And since one representative karaoke cycle is not transmitted to all karaoke cycles as before, it is possible to operate regardless of whether the karaoke cycle is in operation (or open).

또한 기존과 같이 대표 노래반주기에 대한 특별한 관리가 필요하지 않아, 관리비용을 줄일 수 있다.In addition, the management cost of the representative song group is not required as in the past, thus reducing the management cost.

그리고 장시간 오프(OFF)시켜 놓아 다운로드받아야 할 컨텐츠가 많은 노래반주기도 온라인에 연결되면 인터넷을 통한 컨텐츠 전송 서버에서 파일을 받지 않고, 가장 가까운 옆의 노래반주기에서 빠른 속도로 파일을 받을 수 있어 노래반주기의 상당한 운영 이익을 발생시킬 수 있다.In addition, when a song group cycle with a lot of content to be downloaded by turning it off for a long time is connected online, it is possible to receive a file at a faster speed from the nearest song group cycle without receiving a file from the content transfer server through the Internet. Can generate significant operational benefits.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 3에는 본 발명에 따른 노래반주기의 통신부하 분산방법을 순차적으로 나타낸 순서도가 도시되어 있고, 도 4에는 본 발명에 따른 노래반주기의 통신부하 분산방법이 적용된 노래반주기의 통신부하 분산 시스템의 구성을 개략적으로 나타낸 구성도가 도시되어 있다.3 is a flow chart sequentially showing a communication load distribution method of the karaoke cycle according to the present invention, Figure 4 is a configuration of the communication load distribution system of the karaoke cycle applied to the communication load distribution method of the karaoke cycle according to the present invention A schematic diagram is shown.

이들 도면을 각각 참조하면, 본 발명에 따른 노래반주기의 통신부하 분산방법은, 우선, 임의의 노래반주기(110)가 임의의 노래반주기(110)의 일측에 구비된 옆의 노래반주기(120-1, 120-2, 120-3, ..., 120-n)에 파일(예컨대, 미디(MIDI) 파일)의 존재 유무를 문의하고, 상기 해당 파일의 송신을 요청한다.(단계 210)Referring to each of these figures, in the method of distributing the communication load of the song cycle according to the present invention, first, the next song cycle 120-1 in which any song cycle 110 is provided on one side of the song cycle period 110 is provided. , 120-2, 120-3, ..., 120-n, inquires whether a file (for example, a MIDI file) exists, and requests the transmission of the file (step 210).

그러면, 상기 파일 존재 유무 및 파일 송신 요청을 받은 옆의 노래반주기(120-1, 120-2, 120-3, ..., 120-n)가 상기 임의의 노래반주기(110)로부터의 파일 존재 여부 문의인가를 판단한다.(단계 220)Then, the presence or absence of the file and the next song periods 120-1, 120-2, 120-3, ..., 120-n having received the file transmission request are present from the arbitrary song periods 110. It is determined whether or not the inquiry (step 220).

여기서, 도 4에 도시된 바와 같이 상기 임의의 노래반주기(110)는 하나일 수도 있고, 여러 개일 수 있다.Here, as shown in FIG. 4, the random music period 110 may be one or several.

상기 단계 220에서, 상기 옆의 노래반주기(120-1, 120-2, 120-3, ..., 120-n)가 임의의 노래반주기(110)로부터의 파일 존재 여부 문의인 경우로 판단하면, 동일 경로의 동일 사이즈(size)의 파일이 존재하는지 확인한다.(단계 230)In step 220, if it is determined that the next music cycle period 120-1, 120-2, 120-3, ..., 120-n is a file existence query from an arbitrary music cycle period 110 Then, it is checked whether a file of the same size of the same path exists (step 230).

그리고 상기 단계 230에서, 동일 경로의 동일 사이즈의 파일이 존재하는 경우, 해당 파일에 계산해 놓은 계산값(MD5SUM)이 존재하는지 판단한다.(단계 240)In step 230, when a file of the same size exists in the same path, it is determined whether a calculated value MD5SUM calculated in the file exists.

상기 단계 240에서, 해당 파일에 계산해 놓은 계산값(MD5SUM)이 존재하는 경우, 상기 계산값(MD5SUM)이 동일한지 판단한다.(단계 250)In step 240, if there is a calculated value MD5SUM calculated in the file, it is determined whether the calculated value MD5SUM is the same (step 250).

상기 단계 250에서, 상기 계산값(MD5SUM)이 동일하다고 판단되면, 임의의 노래반주기(110)가 요청한 파일이 '있다'라고 하는 메시지를 상기 임의의 노래반주기(110)에 전송한다.(단계 260)In step 250, if it is determined that the calculated value MD5SUM is the same, any song group period 110 transmits a message to the any song group period 110 that the requested file is 'present' (step 260). )

또한 상기 단계 220에서, 상기 옆의 노래반주기(120-1, 120-2, 120-3, ..., 120-n)가 임의의 노래반주기(110)로부터의 파일 존재 여부 문의인 경우로 판단되지 않으면, 상기 임의의 노래반주기(110)로부터의 파일 송신 요청인지 확인한다.(단계 270)In addition, in step 220, it is determined that the next karaoke period 120-1, 120-2, 120-3, ..., 120-n is a file existence query from any karaoke period 110 If not, it is checked whether a file transmission request is received from the random song period 110 (step 270).

상기 단계 270에서, 상기 옆의 노래반주기(120-1, 120-2, 120-3, ..., 120-n)가 임의의 노래반주기(110)로부터의 파일 송신 요청인 경우로 판단되면, 송신 중인 연결이 기준 개수(n개) 이하인지 판단한다.(단계 280) 여기서, 상기 기준 개수(n개)는 노래반주기의 성능에 따라 결정되어지는 값으로 특정한 개수로 한정되지 않는다.In step 270, if it is determined that the next music cycle period 120-1, 120-2, 120-3, ..., 120-n is a file transmission request from an arbitrary music cycle period 110, It is determined whether the number of connections being transmitted is equal to or less than the reference number (n). (Step 280) Here, the reference number (n) is a value that is determined according to the performance of the song cycle and is not limited to a specific number.

상기 단계 280에서, 송신 중인 연결이 기준 개수 또는 기준 개수 이하인 경 우, 송신 연결을 생성한다.(단계 290)In step 280, if the connection being transmitted is equal to or less than the reference number, a transmission connection is created (step 290).

그리고 상기 단계 280에서, 송신 중인 연결이 기준 개수 이상인 경우, '응답할 수 없음(BUSY)'이라는 메시지를 상기 임의의 노래반주기(110)에 전송한다.(단계 300)In step 280, if the number of connections being transmitted is greater than or equal to the reference number, a message of 'unanswerable (BUSY)' is transmitted to the random song period 110 (step 300).

또한 상기 단계 230에서, 동일 경로의 동일 사이즈의 파일이 존재하지 않는 경우에는, 동일 경로와 동일 계산값(md5sum)의 파일을 다운로드 중인지 판단한다.(단계 310)In step 230, if a file of the same size in the same path does not exist, it is determined whether a file of the same path and the same calculation value (md5sum) is being downloaded (step 310).

상기 단계 310에서, 동일 경로와 상기 동일 계산값(md5sum)의 파일을 다운로드 중인 경우, '다운로드 중'이라는 메시지를 임의의 노래반주기(110)에 전송한다.(단계 320)In step 310, when downloading the file of the same path and the same calculation value (md5sum), the message 'downloading' is transmitted to an arbitrary song period 110 (step 320).

그리고 상기 단계 310에서, 동일 경로와 상기 동일 계산값(md5sum)의 파일을 다운로드 중이 아닌 경우, 파일이 '없다'라는 메시지를 임의의 노래반주기(110)에 전송한다.(단계 330)In step 310, if the file of the same path and the same calculation value (md5sum) is not being downloaded, the message “No” is transmitted to an arbitrary song cycle period 110 (step 330).

또한 상기 단계 240에서, 해당 파일에 계산해 놓은 계산값(MD5SUM)이 존재하지 않는 경우, 상기 해당 파일에 계산 스레드(thread)가 존재하는지 판단한다.(단계 340)In addition, in step 240, when the calculated value MD5SUM does not exist in the file, it is determined whether a calculation thread exists in the file (step 340).

상기 단계 340에서, 상기 해당 파일에 계산 스레드(thread)가 존재하는 경우, '계산 중'이라는 메시지를 임의의 노래반주기(110)에 전송한다.(단계 350)In step 340, if there is a calculation thread in the corresponding file, the message 'in calculation' is transmitted to a random song cycle 110 (step 350).

그리고 상기 단계 340에서, 상기 해당 파일에 계산 스레드(thread)가 존재하지 않는 경우, 상기 계산 스레드가 임의의 개수(n개) 및 임의의 개수 이하인지 판 단한다.(단계 360)In step 340, if there are no calculation threads in the corresponding file, it is determined whether the number of calculation threads is any number (n) or less than any number (step 360).

상기 단계 360에서, 상기 계산 스레드(thread)가 임의의 개수 및 임의의 개구 이하인 경우, 상기 계산값(md5sum)을 계산하고, 스레드(thread)를 생성한다.(단계 370)In step 360, if the calculation threads are any number and less than any opening, the calculation value md5sum is calculated and a thread is generated (step 370).

이어서, 상기 단계 350을 수행한다. 즉, '계산 중'이라는 메시지를 임의의 노래반주기(110)에 전송한다.Subsequently, step 350 is performed. That is, the message 'calculating' is transmitted to any song cycle period 110.

한편, 상기 단계 250에서, 상기 계산값(MD5SUM)이 동일하다고 판단되지 않으면, 즉 상기 계산값(MD5SUM)이 동일하지 않으면, 상기 단계 330을 수행한다. 즉, 파일이 '없다'라는 메시지를 임의의 노래반주기(110)에 전송한다.Meanwhile, in step 250, if the calculated value MD5SUM is not determined to be the same, that is, the calculated value MD5SUM is not the same, the step 330 is performed. That is, a message of 'no file' is transmitted to any song cycle period 110.

그리고 상기 단계 360에서, 상기 계산 스레드(thread)가 임의의 개수 및 임의의 개수 이상인 경우, 상기 단계 300을 수행한다. 즉, '응답할 수 없음(BUSY)'이라는 메시지를 상기 임의의 노래반주기(110)에 전송한다.In operation 360, when the calculation threads are any number and more than any number, the step 300 is performed. That is, a message of 'unresponsive' (BUSY) is transmitted to the random song period 110.

다른 한편으로, 상기 단계 260, 270, 290, 300, 320, 330, 350의 프로세스를 수행한 후, 임의의 노래반주기(110) 또는 옆의 노래반주기(120-1, 120-2, 120-3, ..., 120-n)의 파일 존재 유무 및/또는 파일 송신 요청을 하기 위해 대기하거나, 수행한다. 즉, 상기 단계 210과 같은 프로세스를 수행하기 위해 대기하거나, 프로세스 수행이 있으면, 상기 단계 210부터 재 수행한다.On the other hand, after performing the process of steps 260, 270, 290, 300, 320, 330, 350, any of the cycle period 110 or the side cycle period 120-1, 120-2, 120-3 , ..., 120-n) to wait for the file existence and / or file transmission request, or to perform. That is, the process waits to perform the same process as in step 210 or, if there is a process, repeats the process from step 210.

상기한 바와 같이, 본 발명에 따른 노래반주기의 통신부하 분산방법은, 도 3 및 도 4에 도시된 바와 같이, 예컨대, 노래방에서 여러 개(대)의 노래반주기 중 임의의 노래반주기(110)가 다운로드받을 파일이 옆의 노래반주기(120-1, 120-2, 120- 3, ..., 120-n)에 존재하는지의 여부를 판단하는 방법으로, 기존과 같이 대표 노래반주기가 없이도, 한 노래방(업소)에서 하나의 파일에 대하여 한번의 컨텐츠 전송 서버(100)로의 연결을 허용하도록 한다.As described above, in the method of distributing the communication load of the karaoke cycle according to the present invention, as shown in FIGS. 3 and 4, for example, any karaoke cycle 110 among a plurality of karaoke cycles in a karaoke is performed. A method of determining whether a file to be downloaded exists in the next song group cycle (120-1, 120-2, 120-3, ..., 120-n). In the karaoke (business) to allow a connection to one content transmission server 100 for one file.

즉, 컨텐츠 전송 서버(100)로부터 파일을 받기 전, 각 노래반주기는 옆 노래반주기에 해당 파일이 존재하는지 확인한 후, 업소 내의 모든 노래반주기에 해당 파일이 없는 것이 확인되면, 컨텐츠 전송 서버(100)로부터 파일을 수신하는 방법이다. That is, before receiving a file from the content delivery server 100, each karaoke cycle checks whether the file exists in the next karaoke cycle, and if it is confirmed that there is no corresponding file in all karaoke cycle in the store, the content delivery server 100 How to receive a file from.

이에 따라 전술한 바 있는 기존의 대표 노래반주기 방식의 운영의 불편함을 없애고, 모든 노래반주기가 컨텐츠 전송 서버(100)에 접속하는 방식의 트래픽 과부하를 없앨 수 있게 된다.Accordingly, it is possible to eliminate the inconvenience of the operation of the conventional representative music cycle cycle method described above, and to eliminate the traffic overload of the manner in which all the music cycle cycles are connected to the content delivery server 100.

이를 구체적으로 설명한다.This will be described in detail.

상술한 바와 같이, 본 발명에 따른 노래반주기의 통신부하 분산방법은, 상기 임의의 노래반주기(110)는 전송 받아야 하는 대상 파일이 생기면, 먼저 옆에 있는 모든 노래반주기에 해당 파일을 전송해 달라고 요청하고, 상기 임의의 노래반주기(110)로부터 요청 받은 옆의 노래반주기(120-1, 120-2, 120-3, ..., 120-n)들은 '다운로드 중', '해당 파일 없음', '해당 파일 존재', '해당 파일 존재 유무 파악 중', '응답할 수 없음(BUSY)', '송신 시작'중 하나의 메시지를 요청한 임의의 노래반주기(110)에게 응답한다.As described above, in the method of distributing the communication load of the karaoke cycle according to the present invention, when the arbitrary karaoke cycle 110 has a target file to be transmitted, it is requested to first transmit the file to all karaoke cycles next to it. Next, the music group cycles 120-1, 120-2, 120-3, ..., 120-n next to the music group cycle 110 requested by the random song group are 'downloading', 'no corresponding file', Responds to any song group cycle 110 that has requested a message of 'the file present', 'finding the existence of the file', 'unresponsive (BUSY)', 'start transmission'.

이어서, 상기 임의의 노래반주기(110)는 상기와 같은 메시지들을 분석해서 해당 파일을 가지고 있는 어떤 노래반주기도 없다고 판단되면, 컨텐츠 전송 서 버(100)로부터 파일을 수신한다.Subsequently, if any song cycle period 110 analyzes the above messages and determines that there are no song cycles having the corresponding file, it receives a file from the content delivery server 100.

반면, 해당 파일을 가지고 있는 옆의 노래반주기(120-1, 120-2, 120-3, ..., 120-n)가 있다면, 해당 옆의 노래반주기(120-1, 120-2, 120-3, ..., 120-n)가 파일을 전송해 줄 수 있는 상태가 될 때까지 대기한다.On the other hand, if there is a side music cycle (120-1, 120-2, 120-3, ..., 120-n) that has the file, the side music cycle (120-1, 120-2, 120) -3, ..., 120-n) waits until the file can be transferred.

그리고 해당 파일(요청한 파일)을 특정의 옆의 노래반주기(120-1, 120-2, 120-3, ..., 120-n)가 전송해 준다면, 임의의 노래반주기(110)는 해당 파일을 수신한다.And if the file (requested file) is transmitted by a specific side music cycle (120-1, 120-2, 120-3, ..., 120-n), the random music cycle 110 is the file Receive

이렇게 수신한 파일을 검증하고, 하나의 파일 전송에 대한 처리를 완료한다. The received file is verified and the processing for one file transfer is completed.

이와 같이 본 발명에 따른 노래반주기의 통신부하 분산방법은, 기존의 모든 노래반주기가 컨텐츠 전송 서버(100)에서 다운로드받은 것에 비해 인터넷 구간의 트래픽이 감소된다.As described above, in the method of distributing the communication load of the karaoke cycle according to the present invention, the traffic of the Internet section is reduced compared to all existing karaoke cycles downloaded from the content delivery server 100.

그리고 본 발명에 따른 노래반주기의 통신부하 분산방법은, 기존과 같이 하나의 대표 노래반주기가 모든 노래반주기에 전송하는 형태가 아니고, 기존과 같이 대표 노래반주기에 대한 특별한 관리가 필요 없다.In addition, the communication load distribution method of the karaoke cycle according to the present invention is not a form in which one representative karaoke cycle is transmitted to all karaoke cycles as before, and there is no need for special management of the representative karaoke cycle as before.

또한 본 발명에 따른 노래반주기의 통신부하 분산방법은, 장시간 오프(OFF) 상태로 두어 다운로드받아야 할 컨텐츠가 많은 노래반주기도 온라인에 연결되면 인터넷을 통한 컨텐츠 전송 서버(100)에서 파일을 받지 않고, 가장 가까운 옆 노래반주기에서 빠른 속도로 파일을 받을 수 있다.In addition, the method for distributing the communication load of the karaoke cycle according to the present invention, if the karaoke cycle with a lot of content to be downloaded by leaving it in the OFF state for a long time is connected to online without receiving a file from the content transmission server 100 through the Internet, You can get a file at a faster speed in the nearest side music cycle.

상술한 바와 같이 본 발명은 도면에 도시된 일 실시예를 참고로 설명되었으나, 이는 예시적인 것에 불과하며, 당해 기술 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 보호 범위는 첨부된 특허청구범위에 의해서만 정해져야 할 것이다.As described above, the present invention has been described with reference to one embodiment shown in the drawings, but this is only an example, and those skilled in the art may make various modifications and equivalent embodiments therefrom. Will understand. Therefore, the true scope of protection of the present invention should be defined only by the appended claims.

도 1 및 도 2는 종래의 노래반주기의 통신 시스템의 구성을 개략적으로 나타내 보인 도면.1 and 2 schematically show the configuration of a communication system of a conventional song cycle.

도 3은 본 발명에 따른 노래반주기의 통신부하 분산방법을 순차적으로 나타낸 순서도.3 is a flow chart sequentially showing a communication load distribution method of a karaoke cycle according to the present invention.

도 4는 본 발명에 따른 노래반주기의 통신부하 분산방법이 적용된 노래반주기의 통신부하 분산 시스템의 구성을 개략적으로 나타낸 구성도.Figure 4 is a block diagram schematically showing the configuration of the communication load distribution system of the song cycle cycle to which the communication load distribution method of the song cycle according to the present invention.

Claims (9)

(a) 임의의 노래반주기가 상기 임의의 노래반주기의 일측에 구비된 옆의 노래반주기에 파일 존재 유무를 문의하고, 상기 파일 송신을 요청하는 단계와;(a) inquiring whether there is a file in the next karaoke period provided by any karaoke cycle on one side of the karaoke cycle, and requesting the file transmission; (b) 상기 옆의 노래반주기가 상기 임의의 노래반주기로부터의 파일 존재 여부 문의인가를 판단하는 단계와;(b) determining whether the next song cycle is a file presence query from the random song cycle; (c) 상기 단계 (b)에서, 상기 옆의 노래반주기가 상기 임의의 노래반주기로부터의 파일 존재 여부 문의인 경우로 판단하면, 동일 경로의 동일 사이즈의 파일이 존재하는지 확인하는 단계와;(c) in step (b), if it is determined that the next karaoke cycle is a file existence query from the arbitrary karaoke cycle, checking whether a file of the same size in the same path exists; (d) 상기 단계 (c)에서, 동일 경로의 동일 사이즈의 파일이 존재하는 경우, 해당 파일에 계산해 놓은 계산값이 존재하는지 판단하는 단계와;(d) in step (c), if there exists a file of the same size in the same path, determining whether there is a calculated value calculated in the file; (e) 상기 단계 (d)에서, 해당 파일에 계산해 놓은 계산값이 존재하는 경우, 상기 계산값이 동일한지 판단하는 단계와;(e) in step (d), if there is a calculated value calculated in the file, determining whether the calculated value is the same; (f) 상기 단계 (e)에서, 상기 계산값이 동일하다고 판단되면, 상기 임의의 노래반주기가 요청한 파일이 '있다'라고 하는 메시지를 상기 임의의 노래반주기에 전송하는 단계;를 포함하고, 그리고, (f) in step (e), if it is determined that the calculated value is the same, transmitting a message to the arbitrary karaoke period that the file requested by the arbitrary karaoke period is 'present'; and , (g) 상기 단계 (b)에서, 상기 옆의 노래반주기가 상기 임의의 노래반주기로부터의 파일 존재 여부 문의인 경우로 판단되지 않으면, 상기 임의의 노래반주기로부터의 파일 송신 요청인지 확인하는 단계와;(g) in step (b), if it is not determined that the next song cycle is a file existence query from the any song cycle, checking whether the file transfer request from the song cycle is requested; (h) 상기 단계 (g)에서, 상기 옆의 노래반주기가 상기 임의의 노래반주기로부터의 파일 송신 요청인 경우로 판단되면, 송신 중인 연결이 기준 개수 이하인지 판단하는 단계와;(h) in step (g), if it is determined that the next song cycle is a file transmission request from the arbitrary song cycle, determining whether the connection being transmitted is equal to or less than a reference number; (i) 상기 단계 (h)에서, 송신 중인 연결이 기준 개수 또는 기준 개수 이하인 경우, 송신 연결을 생성하는 단계;를 포함하여 된 것을 특징으로 하는 노래반주기의 통신부하 분산방법.(i) in step (h), if the number of connections being transmitted is equal to or less than the reference number, generating a transmission connection. 삭제delete 제1항에 있어서,The method of claim 1, 상기 단계 (h)에서, 송신 중인 연결이 기준 개수 이상인 경우, '응답할 수 없음'이라는 메시지를 상기 임의의 노래반주기에 전송하는 단계를 더 포함하여 된 것을 특징으로 하는 노래반주기의 통신부하 분산방법.In the step (h), if the number of connections being transmitted is more than the reference number, the communication load distribution method of the cycle cycle, characterized in that it further comprises the step of transmitting a message "unresponsive" to the arbitrary cycle period . 삭제delete 삭제delete 제1항에 있어서,The method of claim 1, (l) 상기 단계 (d)에서, 해당 파일에 계산해 놓은 계산값이 존재하지 않는 경우, 상기 해당 파일에 계산 스레드(thread)가 존재하는지 판단하는 단계와;(l) in step (d), if there is no calculation value calculated in the file, determining whether a calculation thread exists in the file; (m) 상기 단계 (l)에서, 상기 해당 파일에 계산 스레드(thread)가 존재하는 경우, '계산 중'이라는 메시지를 상기 임의의 노래반주기에 전송하는 단계;를 더 포함하여 된 것을 특징으로 하는 노래반주기의 통신부하 분산방법.(m) in step (l), if there is a calculation thread in the corresponding file, transmitting a message of 'calculating' to the arbitrary song cycle period. Distributing communication load in the song cycle. 제6항에 있어서,The method of claim 6, (n) 상기 단계 (m)에서, 상기 해당 파일에 계산 스레드(thread)가 존재하지 않는 경우, 상기 계산 스레드가 임의의 개수 및 임의의 개구 이하인지 판단하는 단계와;(n) in step (m), if there are no calculation threads in the corresponding file, determining whether the number of calculation threads is any number and less than any opening; (o) 상기 단계 (n)에서, 상기 계산 스레드가 임의의 개수 및 임의의 개구 이하인 경우, 상기 계산값을 계산하고, 스레드를 생성하는 단계와;(o) in step (n), calculating the calculated value and generating a thread if the number of calculation threads is any number and less than any opening; (p) 상기 단계 (m)을 수행하는 단계;를 더 포함하여 된 것을 특징으로 하는 노래반주기의 통신부하 분산방법.(p) performing the step (m); communication load distribution method of the karaoke cycle characterized in that it further comprises. 제7항에 있어서,The method of claim 7, wherein 상기 단계 (n)에서, 상기 계산 스레드(thread)가 임의의 개수 및 임의의 개수 이상인 경우, '응답할 수 없음'이라는 메시지를 상기 임의의 노래반주기에 전송하는 단계를 더 포함하여 된 것을 특징으로 하는 노래반주기의 통신부하 분산방법.In the step (n), if the number of calculation threads (threads) more than any number and a certain number, further comprising the step of transmitting a message "unresponsive" to the song cycle period Method of distributing communication load in the song cycle cycle. 삭제delete
KR1020090085018A 2009-09-09 2009-09-09 Method for dispersing communication load of karaoke player KR101075970B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090085018A KR101075970B1 (en) 2009-09-09 2009-09-09 Method for dispersing communication load of karaoke player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090085018A KR101075970B1 (en) 2009-09-09 2009-09-09 Method for dispersing communication load of karaoke player

Publications (2)

Publication Number Publication Date
KR20110027086A KR20110027086A (en) 2011-03-16
KR101075970B1 true KR101075970B1 (en) 2011-10-21

Family

ID=43933954

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090085018A KR101075970B1 (en) 2009-09-09 2009-09-09 Method for dispersing communication load of karaoke player

Country Status (1)

Country Link
KR (1) KR101075970B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006332794A (en) 2005-05-23 2006-12-07 Yamaha Corp Data distribution method
KR100725066B1 (en) * 2005-08-02 2007-06-08 한미아이티 주식회사 A system server for data communication with multiple clients and a data processing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006332794A (en) 2005-05-23 2006-12-07 Yamaha Corp Data distribution method
KR100725066B1 (en) * 2005-08-02 2007-06-08 한미아이티 주식회사 A system server for data communication with multiple clients and a data processing method

Also Published As

Publication number Publication date
KR20110027086A (en) 2011-03-16

Similar Documents

Publication Publication Date Title
US10491523B2 (en) Load distribution in data networks
US10411956B2 (en) Enabling planned upgrade/downgrade of network devices without impacting network sessions
US10331501B2 (en) USB device redirection for remote systems
US8572158B2 (en) Distributed computing by carrier-hosted agent
US7970856B2 (en) System and method for managing and distributing assets over a network
CN108833251B (en) Method and apparatus for controlling network interconnection
CN102067094A (en) Cache optimzation
JP5724687B2 (en) Information processing apparatus, server selection method, and program
EP3516844B1 (en) Methods and apparatus for computation offloading in networked environments
CN103370917A (en) Message processing method and server
US20200319954A1 (en) Webpage loading method, webpage loading system and server
CN108156257A (en) A kind of information-pushing method and device
WO2012075853A1 (en) Peer-to-peer communication method, apparatus, and system
US7475128B2 (en) Information processing device, information processing method, and computer program
CN113778499B (en) Method, apparatus, device and computer readable medium for publishing services
KR101075970B1 (en) Method for dispersing communication load of karaoke player
KR101027590B1 (en) Download optimization in the presence of multicast data
CN109981778B (en) Method, device, equipment and storage medium for realizing service of content distribution network
KR102394773B1 (en) Method and System for processing Name-based In-network
JP6285579B2 (en) Long polling processing method and system, and recording medium
JP2008065611A (en) Software update method and software update program
KR101145608B1 (en) Method for preventing of torrent traffic in network
US9049180B2 (en) Method for providing a signal output on the basis of a main file and at least one secondary file, and motor vehicle
CN112988126A (en) CDN service customization method and system
US20030236863A1 (en) Just-in-time multicasting

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20140923

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20150922

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20161017

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20171017

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20181008

Year of fee payment: 8