# Patent

## Title
Communications method for an intelligent digital audiovisual reproduction system

## Abstract

Method for communication between a central server and a computerized juke-box which operates in a conference mode, including: sending a header before any transaction, which includes the identity of the destination together, the identity of the emitter, and the size of the packets; responding from the server in the form of a data packet, each packet sent by the server being encoded using the identification code of the juke-box software; and receiving a data packet by the juke-box, which decodes the packet, simultaneously performs a check on the data received by the CRC method and sends an acknowledgment of receipt to the server indicating the accuracy of the information received, to allow it to prepare and send another packet to the juke-box.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of U.S. application Ser. No. 08/817,528, filed Aug. 5, 1997 now U.S. Pat. No. 6,308,204, which claims the benefit of PCT/FR95/01334, filed Oct. 12, 1995 and FR 95/08392, filed Jul. 11, 1995, the entire contents of each of which is incorporated herein in its entirety by reference.
This application is related to our copending commonly assigned applications:
















USSN 08/817,690
(Corres. to PCT/FR94/01185




filed Oct. 12, 1994);



USSN 08/817,689
(Corres. to PCT/FR95/01333




filed Oct. 12, 1995);



USSN 08/817,968
(Corres. to PCT/FR95/01335




filed Oct. 12, 1995);



USSN 08/817,437
(Corres. to PCT/FR95/01336




filed Oct. 12, 1995)



USSN 08/817,426
(Corres. to PCT/FR95/01337




filed Oct. 12, 1995); and



USSN 08/817,438
(Corres. to PCT/FR95/01338




filed Oct. 12, 1995).












BACKGROUND OF THE INVENTION
Field of the Invention
The invention relates to a communications process for a payment—triggered audiovisual reproduction system.
These audiovisual reproduction systems are generally found in cafes or pubs. This type of system is composed of a sound reproduction machine usually called a jukebox linked to a monitor which displays video images or video clips. To do this the jukebox is equipped with a compact video disk player and a compact video disk library and includes selection buttons which locate the titles of pieces of music which are available. Payment of a proper fee followed by one or more selections authorizes activation of the system with automatic loading in the player of the disk on which the selected piece is found, the desired audiovisual reproduction then being able to start.
These systems, although allowing faithful and good quality reproduction, nevertheless have major defects. Thus, a first defect relates to the space necessary for storing the library; this consequently entails that the system will have large dimensions and will be bulky. Likewise these systems which call on mostly mechanical hardware using sophisticated techniques have high fault rates; this is another defect. Finally, it is very unusual for all the pieces on a disk to be regularly heard; some are almost never played, but still cannot be eliminated. Besides this defect, the additional problems are caused by the companies which manage and distribute these systems. More particularly, placing in the circuit a limited number of identical disks and imposing a certain rotation on their customers sometimes results in an unpleasant wait for the customers when a disk is not available.
In addition, patent application PCT/WO 93 18465 discloses computerized jukeboxes which allow reception via a telecommunications network and a modem connecting the jukeboxes to the network, digital data comprising remotely loaded songs or musical pieces in a mass storage of the jukeboxes. The communications systems is likewise used for remote loading of representative files of digitized graphics information, the songs and graphics files being compressed before they are sent over the network. The jukebox processor then uses these files by decompressing them and sending the graphics data to the video circuit and the song data to the audio circuit.
However, the processor also manages the man/machine interface, and management of these different elements is done by sequentially displaying the graphics images representative of the song, then by responding to the touch action of the user, then checking that the user has paid the prescribed amounts, and finally when the required amount has been accounted, placing the selection in a queue for its subsequent performance. This system can only operate by first displaying the graphics images and then starting performance of the song because the processor cannot, according to the flowcharts, execute two tasks at one time. Finally, the graphics representations are uniquely data digitized by a scanner table of the album cover of the song. In no case does this jukebox allow display of moving images during the broadcast of the song or music. Likewise, since the processor is used for digital data decompression and processing for conversion into audio signals, it cannot consider the new actions of a user making a new selection. This is apparent, notably on page 12 of the PCT application, lines 25 to 27. Selection of new songs can only be done when the jukebox is in the attraction mode, i.e., the mode in which it displays graphics representations of different songs stored in the jukebox in succession.
U.S. Pat. No. 4,956,768 discloses a broadband server for transmitting music or images formed by a main processor communicating by a DMA channel with a hard disk and output cards, each controlled by a supplementary local processor which manages an alternative mode of access to two buffer memories A and B. Memory A is used to deliver, for example, musical data to a user, while the other is filled. Each of the output cards is connected to a consultation station, which can be local and situated in the same vicinity as the server or, alternatively, at a distance and connected by an audio or video communications network. The server receives data block-by-block and ensures that the sample parities are correct and rejects a block including more than two successive wrong samples. Each of these blocks is of course designated by a number. Once a block has been accepted, it can be stored on the local hard disk by recording its ordinal number which has no relation to its physical address on the hard disk. The consultation stations have audio and video outputs such as loudspeakers or headphones and a television monitor which makes it possible to listen to music or display images in response to requests received from terminals included in the consultation stations. In this system, the consultation stations where the first communications processor exists must have specific software for management of selection requests for musical pieces or video. It is only when the request has been made and addressed to the broadband server processor that it can transfer, under the authority of the local processor, the data in the buffer memories, such that this local processor ensures that the data are sent to the consultation stations. Moreover, it is specified that the output cards and buffer memories are filled only after having received the authorization of the local processor of the card.
Consequently, this system can only function within the framework of a multiprocessor device and does not in any way suggest use of this server for a jukebox controlled by a single processor operating in an multitask environment. This system proposed by this U.S. patent thus implements a complex process which allows delivery of a service to several consultation stations; this complex process is thus costly and incompatible with a system of jukeboxes, of which the cost and price should be as low as possible.
Moreover the process of downloading by a central site of digitized audio and video files to the local servers is accomplished via a specialized line communicating unidirectionally with the V35 interfaces of the local server, and allowing passage of 64 kilobit frames. Thus a second parallel communication must be established via the switched telephone network by a serial interface to allow exchange of service data. It is specified that it is preferable to transmit new musical pieces to the broadband server at night to leave the system free for users during the day, and that transmission can be done continuously and simultaneously for all local servers, provided that they can register continuously, i.e., at night.
This device can only work to the extent that the central server is the master and the local servers are slaved. This thus entails availability of local servers at the instant of establishing communications; this is enabled by the local servers having a double processor which relieves the communication processor for a sufficient interval. In a single—processor architecture it is thus difficult to establish communications according to this protocol determined with a variable number of jukebox stations to allow remote operations such as downloading of music or video following a selection by the jukebox manager or sending statistics to the center, or recovering data concerning billing or security management of the units, or recovery for analysis and survey distribution.
The object of the invention is to eliminate the various aforementioned defects of the systems of the prior art, and to provide a system of communications between jukebox units allowing reproduction and display of audiovisual digital information and a central server which supports, among various functions, downloading of data.
This object is achieved by the communications process operating in a conference mode and it includes the following stages:

    
    
        sending a heading before any transaction which includes the identity of the destination, identity of the sender, and the size of the packets;
        sending a server response in the form of a packet of data, each packet sent by the server being encoded using the identification code of the jukebox software;
        receiving a data packet by the decoding jukebox, wherein the packet at the same time checks the data received using the CRC method and sending a reception acknowledgment to the server indicating the accuracy of the received data to allow it to prepare and send a new packet to the unit destination.
    
    


According to another operating mode the server can send the data by stream, the stream including several packets, and the receiver unit will then perform decoding and storage, and after receiving the indicator of the last packet, will signal the defective packets received at the server.
According to another feature, each packet contains a first field allowing identification of the seller, a second field allowing indication of the identification of an application, this 32 bit field making it possible to specify whether it is a digital song, digital video, stationary image, software update, statistics, billing, or update of the unit database, a third field indicating the identification of a single type of application such as the identification number of the product, the type of billing, the difference between a midi song and a digital song, last block indication, finally a fourth field indicating the sequence number of the block in the transmission, a fifth block indicating the length of this block in octets, a sixth field composed of variable length data, a seventh field composed of cyclic redundancy verification data.
An object of the invention is to eliminate the various defects of the systems of the prior art by providing an intelligent digital audiovisual reproduction system which is practical to implement, compact, reliable, authorizes storage at the title level as well as easy deletion or insertion of titles not listened to or wanted, all this while maintaining performance and a high level of reproduction quality.
Another object of the invention is to provide a standard protocol which moreover allows the features mentioned above for remote updating of software.
The objects are achieved by the fact that the jukebox units contain software for interpretation of the second field of the communications packets which detect the code corresponding to remote updating of the software and after having verified that the software version number is greater than the version installed on the unit, initiates a system status verification procedure to ensure than there is no activity underway on the jukebox. If yes, the unit displays a wait message, during reception of the new software version on the screen, copies the back—up of the software version installed on the unit, modifies the system startup file for startup with the backup version, then begins execution of the new version of the software, verifies the state of system status after execution of this new version, reinitializes the system startup files for startup with the new version. In the case in which the status is not OK, the software reinitializes the system with the old version and signals a reception error to the central server.
According to another feature, each audiovisual reproduction system contains a multitask operating system which manages, using a primary microprocessor, the video task, the audio task, the telecommunications task, the input task (keyboard, screen, touch) and a status buffer is linked to each of the tasks to represent the activity or inactivity of this task.



BRIEF DESCRIPTION OF THE DRAWINGS
Other advantages and features of the invention follow from the following description, with reference to the attached drawings, given by way of a non-limiting example only, in which:
FIG. 1 shows a circuit diagram of the hardware comprising the invention;
FIG. 2 shows an organizational chart of the service modules specific to a task and managed via a multitask operating system, the set of modules being included in a library stored in the storage means;
FIG. 3 shows the organization of the multitask system which manages the set of hardware and software;
FIG. 4 shows a flowchart describing the operation of the multitask management system;
FIG. 5 shows a flowchart for verifying task activity;
FIG. 6 schematically shows the database structure;
FIG. 7 shows the structure of the packets used in the communications protocol;
FIG. 8 shows a method of updating the software which can be done using the invention protocol.



DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
Preferably, but in a nonrestrictive manner, the audiovisual reproduction system uses the aforementioned listed components.
Microprocessor central unit 1 is a high performance PC-compatible system, the choice for the exemplary embodiment being an Intel 80486 DX/2 system which has storage means and the following characteristics:

    
    
        compatibility with the local Vesa bus,
        processor cache memory: 256 kO,
        RAM of 32 MO
        high performance parallel and serial ports,
        SVGA microprocessor graphics adapter,
        type SCSI/2 bus type controller,
        battery backed-up static RAM
    
    


Any other central unit with similar, equivalent or superior performance can be used in accordance with the invention.
This central unit controls and manages audio control circuit (5), telecommunications control circuit (4), input control circuit (3), mass storage control circuit (2), and display means control circuit (6). The display means consist essentially of a 14 inch (35.56 cm) flat screen video monitor (62) without interleaving of the SVGA type, with high resolution and low radiation, which is used for video reproduction (for example, the covers of the albums of the musical selections), graphics or video clips.
Likewise comprising part of the storage means, storage modules (21) using hard disks of the high speed and high capacity SCSI type are connected to the storage means already present in the microprocessor device. These modules allow storage of audiovisual data.
High speed 28.8 k/bps telecommunications modem adapter (41) is integrated to authorize the connection to the audiovisual data distribution network controlled by a central server.
To reproduce the audio data of the musical selections, the system includes loudspeakers (54) which receive the signal from tuner amplifier (53) connected to electronic circuit (5) of the music synthesizer type provided to support a large number of input sources, while providing an output with CD (compact disk) type quality, such as for example a microprocessor multimedia audio adapter of the “Sound Blaster” card type SBP32AWE from Creative Labs Inc. on which two buffer memories (56, 57) are added for a purpose to be explained below.
Likewise the control circuit of the display means includes two buffer memories (66, 67) for a purpose to be explained below.
A thermally controlled 240 watt ventilated power supply provides power to the system. This power supply is protected against surges and harmonics.
The audiovisual reproduction system manages via its input controller circuit (3) a 14 inch (35.56 cm) touch screen “Intelli Touch” (33) from Elo Touch Systems Inc. which includes a glass coated board using “advanced surface wave technology” and an AT type bus controller. This touch screen allows, after having displayed on video monitor (62) or television screen (61) various selection data used by the customers, management command and control information used by the system manager or owner. It is likewise used for maintenance purposes in combination with external keyboard (34) which can be connected to the system which has a keyboard connector for this purpose, controlled by a key lock (32) via interface circuit (3).
Input circuit (3) likewise interfaces with the system a remote control set (31) composed for example of:

    
    
        an infrared remote control from Mind Path Technologies Inc., an emitter which has 15 control keys for the microprocessor system and 8 control keys for the projection device.
        an infrared receiver with serial adapter from Mind Path Technologies Inc.
    
    


A fee payment device (35) from National Rejectors Inc. is likewise connected to input interface circuit (3). It is also possible to use any other device which allows receipt of any type of payment by coins, bills, tokens, magnetic chip cards or a combination of means of payment.
To house the system a chassis or frame of steel with external customizable fittings is also provided.
Besides these components, wireless microphone (55) is connected to audio controller (5); this allows transformation of the latter into a powerful public address system or possibly a karaoke machine. Likewise a wireless loudspeaker system can be used by the system.
Remote control set (31) allows the manager, for example from behind the bar, access to and control of various commands such as:

    
    
        microphone start/stop command,
        loudspeaker muting command,
        audio volume control command;
        command to cancel the musical selection being played.
    
    


The system operating software has been developed around a library of tools and services largely oriented to the audiovisual domain in a multimedia environment. This library advantageously includes an efficient multitask operating system which efficiently authorizes simultaneous execution of multiple fragments of code. This operating software thus allows concurrent execution, in an orderly manner and avoiding any conflict, of operations performed on the display means, audio reproduction means as well as management of the telecommunications lines via the distribution network. In addition, the software has high flexibility.
The digitized and compressed audiovisual data are stored in storage means (21).
Each selection is available according to two digitized formats: hi-fi and CD quality.
Prior to describing and reading this organization chart in FIG. 2, it must be noted that while all these modules described separately seem to be used sequentially, in reality the specific tasks of these modules are executed simultaneously in an environment using the multitask operating system. Consequently the organizational chart indicates the specific operations which the module must perform and not a branch toward this module which would invalidate all the operations performed by the other modules.
The first module, labeled SSM, is the system startup module. This module does only one thing, consequently it is loaded automatically when the system is powered up. If the system is started with a correct registration number it then directly enters the “in service” mode of the module labeled RRM.
The REG module is the registration mode module which, when it is activated for the first time or when approval for a new registration is necessary, indicates its software serial number and requests that the user enter his coordinates, such as the name of the establishment, address and telephone number.
The RMM module is the module of the “in service” mode which is the mode of operation which the system enters when its registration number has been validated. In this mode the system is ready to handle any request which can be triggered by various predefined events such as:

    
    
        customers touching the screen: when a customer or user touches the screen, the system transfers control of the foreground session to the customer browsing and selection mode CBSM module,
        telecommunications network server call requests: when the system detects a loop on the phone line, it emits an asynchronous background procedure: the telecommunications services mode TSM module,
        requests concerning key switch (32): when the manager turns the key switch the system hands over control of its foreground session to the management mode SMM module,
        reception of a remote control signal: when a command is received, it is processed in a background session by the system command 5 MM module while the foreground session remains available for other interventions,
        appearance of end of timing, showing inactivity of the system: when one of the various timers is activated, control is temporarily handed over to the inactivity routines IPM module for processing.
    
    


The system remains in the “in service” mode until one of the above described events takes place.
The IRM module is the inactivity routines module. It contains the routines which perform predetermined functions such as album cover display, broadcast of parts of musical pieces present in the system, reproduction of complete selections for internal promotional proposes, audio reproductions for external promotional purposes, spoken promotional announcements of new musical selections, withdrawal to an auxiliary source which can be called when the system is inactive and when a predefined but adjustable time interval corresponding to a timer has expired.
The SMM module is the system commands module. This module allows execution of functions which command the system to accept a required input by an infrared remote control device, these functions being handled instantaneously without the process underway being stopped. A very large number of these functions are possible, only some are listed below, in a nonrestrictive manner:

    
    
        audio volume control of the played selections,
        audio volume control of the auxiliary played source,
        microphone start/stop command,
        microphone audio volume control,
        balance control, left channel, right channel,
        control of base frequency level,
        control of treble frequency level,
        command to cancel or skip a musical selection,
        panoramic effects command, zoom forward, zoom back,
        triggering of reset of the software program.
    
    


The MMM module is the management mode module. This module is triggered when the key switch is turned by the manager. The display of an ordinary screen is replaced by a display specific to system management. With this new display the manager can control all the settings which are possible with remote control. He can likewise take control of additional low level commands allowing for example definition of commands to be validated or invalidated on the remote control. He is also able to define a maximum of high and low levels for each system output source, these limits defining the range available on the remote control. Using this screen the manager can access the mode of new selection acquisitions by touching a button located on the touch screen. When the manager has succeeded in defining these commands as well as the system configuration, it is then enough to remove the key and the system returns automatically to the “in service” mode.
The NSAM module is the new selections acquisition mode module.
The CBSM module is the customer browsing and selection mode module. Access to this module is triggered from the “in service” when the customer touches the screen. The display allows the user to view a menu provided for powerful browsing assisted by digitized voice messages to guide the user in his choice of musical selections.
The TSM module is the telecommunications services mode module between the central server and the audiovisual reproduction system. This module allows management of all management services available on the distribution network. All the tasks specific to telecommunications are managed like the background tasks of the system. These tasks always use only the processing time remaining once the system has completed all its foreground tasks. Thus, when the system is busy with one of its higher priority tasks, the telecommunications tasks automatically will try to reduce the limitations on system resources and recover all the microprocessor processing time left available.
The SSC module is the system security control module. This module manages security, each system is linked to a local controller system according to a preestablished time pattern for acquisition of the approval signal in the form of the registration number authorizing it to operate. In addition, if cheating has been detected or the system cannot communicate via the network, said system automatically stops working.
The SPMM module allows management of musical selections, songs or video queued by the system for execution in the order of selection.
Finally, the SMM module allows remote management of system settings by the manager by remote control.
The multitask operating system comprises the essential component for allowing simultaneous execution of multiple code fragments and for managing priorities between the various tasks which arise.
This multitask operating system is organized as shown in FIG. 3 around a kernel comprising module (11) for resolving priorities between tasks, task supervisory module (12), module (13) for serialization of the hardware used, and process communications module (14). Each of the modules communicates with application programming interfaces (15) and database (16). There are as many programming interfaces as there are applications. Thus, module (15) includes first programming interface (151) for key switch (32), second programming interface (152) for remote control (31), third programming interface (153) for touch screen (33), fourth programming interface (154) for keyboard (34), fifth programming interface (155) for payment device (35), sixth programming interface (156) for audio control circuit (5), seventh programming interface (157) for video control circuit (6), and last interface (158) for telecommunications control circuit (4).
Five tasks with a decreasing order of priority are managed by the kernel of the operating system, the first (76) for the video inputs/outputs has the highest priority, the second (75) of level two relates to audio, the third (74) of level three to telecommunications, the fourth (73) of level four to interfaces and the fifth (70) of level five to management. These orders of priority will be considered by priority resolution module (11) as and when a task appears and disappears. Thus, as soon as a video task appears, the other tasks underway are suspended, priority is given to this task and all the system resources are assigned to the video task. At the output, video task (76) is designed to unload the video files of the mass memory (21) alternately to one of two buffers (66, 67), while other buffer (67 or 66) is used by video controller circuit (6) to produce the display after data decompression. At the input, video task (76) is designed to transfer data received in telecommunications buffer (46) to mass storage (21). It is the same for audio task (75) on the one hand at the input between telecommunications buffer (46), and buffer (26) of mass memory (21), and on the other hand at the output between buffer (26) of mass memory (21) and one of two buffers (56, 57) of audio controller circuit (5).
The task scheduler module will now be described in conjunction with FIG. 4. In the order of priority this module performs first test (761) to determine if the video task is active. In the case of a negative response it passes to the following test which is second test (751) to determine if the audio task is still active. In the case of a negative response third test (741) determines if the communications task is active. After a positive response to one of the tests, at stage (131) it fills memory access request queue (13) and at stage (132) executes this storage request by reading or writing in the mass storage, then loops back to the first test. When the test on communications activity is affirmative, scheduler (12) performs a test to determine if it is a matter of reading or writing data in the memory. If yes, the read or write request is placed in a queue at stage (131). In the opposite case, the scheduler determines at stage (743) if it is transmission or reception and in the case of transmission sends by stage (744) a block of data to the central server. In the case of reception the scheduler verifies that the kernel buffers are free for access and in the affirmative sends a message to the central server to accept reception of a data block at stage (747). After receiving a block, error control (748) of the cyclic redundancy check type (CRC) is executed and the block is rejected at stage (740) in case of error, or accepted in the opposite case at stage (749) by sending a corresponding message to the central server indicating that the block bearing a specific number is rejected or accepted, then loops back to the start tests. When there is no higher level task active, at stage (731 or 701) the scheduler processes interface or management tasks.
Detection of an active task or ready task is done as shown in FIG. 5 by a test 721 to 761 respectively on each of the respective hardware or software buffers (26) of the hard disk, (36) of the interface, (46) of telecommunications, (56 and 57) of audio, (66 and 67) of video which are linked to each of respective controller circuits (2, 3, 4, 5, 6) of each of the hardware devices linked to central unit (1). Test (721) makes it possible to check if the data are present in the buffer of the disk input and output memory, test (731) makes it possible to check if the data are present in the buffers of the hardware or software memory buffers of the customer interface device, test (741) makes it possible to check if the data are present in the buffers of the hardware or software memory of the telecommunications device, test (751) makes it possible to check if the data are present in the buffer of the hardware or software memory for the direction, test (761) makes it possible to check if the data are present in the hardware or software memory buffers of the video device. If one or more of these buffers are filled with data, scheduler (12) positions the respective status buffer or buffers (821) for the hard disk, (831) for the interface, (841) for telecommunications, (851) for audio, (861) for video corresponding to the hardware at a logic state illustrative of the activity. In the opposite case the scheduler status buffers are returned at stage (800) to a value illustrative of inactivity.
Due, on the one hand, to the task management mode assigning highest priority to the video task, on the other hand, the presence of hardware or software buffers assigned to each of the tasks for temporary storage of data and the presence of status buffers relative to each task, it has been possible to have all these tasks managed by a single central unit with a multitask operating system which allows video display, i.e., moving images compared to a graphic representation in which the data to be processed are less complex. This use of video display can likewise be done without adversely affecting audio processing by the fact that audio controller circuit (5) includes buffers large enough to store a quantity of compressed data sufficient to allow transfer of video data to one of video buffers (66, 67) during audio processing while waiting for the following transfer of audio data.
Moreover, the multitask operating system which includes a library containing a set of tools and services greatly facilitates operation by virtue of its integration in the storage means and the resulting high flexibility. In particular, for this reason it is possible to create a multimedia environment by simply and efficiently managing audio reproduction, video or graphics display and video animation. In addition, since the audiovisual data are digitized and stored in the storage means, much less space is used than for a traditional audiovisual reproduction system and consequently the congestion of the system according to the invention is clearly less.
Database (16) is composed, as shown in FIG. 6, of several bases: first (161) with the titles of the audiovisual pieces, second (162) with the artists, third (163) with the labels, fourth (164) with albums, fifth (165) with royalties. First base (161) contains first item (1611) giving the title of the piece, second item (1612) giving the identification of the product, this identification being unique. Third item (1613) makes it possible to recognize the category, i.e., jazz, classical, popular, etc. Fourth item (1614) indicates the date of updating. Fifth item (1615) indicates the length in seconds for playing the piece.
Sixth item (1616) is a link to the royalties base. Seventh item (1617) is a link to the album. Eighth item (1618) is a link to the labels. Ninth item (1619) gives the purchase price for the jukebox manager;
Tenth item (1620) gives the cost of royalties for each performance of the piece;
Eleventh item (1610) is a link to the artist database, This link is composed of the identity of the artist. The artist database includes, besides the identity of the artist composed of item (1621), second item (1622) composed of the name of the artist or name of the group. The label database includes first item (1631) composed of the identity of the label, establishing the link to eighth item (1618) of the title database and second item (1632) composed of the name of the label. The album database contains first item which is the identity of the album (1641) which constitutes the link to seventh item (1617) of the title base. Second item (1642) comprises the title, third item (1643) is composed of the date of updating of the album, and fourth item (1644) composed of the label identity. The royalty base is composed of first item (1651) giving the identity of the royalty and corresponds to sixth item (1616) of the title base. Second item (1652) comprises the name of the individual receiving the royalties. Third item (1653) is composed of the destination address of the royalties. Fourth item (1654) is composed of the telephone and fifth item (1655) is composed of the number of a possible fax.
It is apparent that this database (16) thus makes it possible for the manager to keep up to date on costs, purchases of songs and royalties to be paid to each of the artists or groups of artists performing the songs or videos, this provided that a communications protocol allows loading of the songs and modification of the content of the database depending on the songs loaded and allows communications with the central server by uploading or downloading the corresponding information. This communication protocol is composed of a first stage during which the center requests communication with the unit to which the communication is addressed. The unit decodes the heading sent by the center and if it recognizes it, indicates to the center if it is available or not depending on the state of its system status determined as explained above. If it is not available the center will then send a new request. If it is available, the center begins to send a first data block and the following blocks in succession. Each of the blocks is composed of a plurality of fields as shown in FIG. 7. First field (810) indicates the identification number of the seller; this allows multiple sellers to share a single communications link with the central site. Second field (811) indicates the application identity and makes it possible to distinguish between a digital song, a digital motion video, a stationary video or an stationary digital graphical image, allows updating of software, transmission of statistics, billing, updating of the database, transmission of surveys. Third field (812) makes it possible to identify a subtype of application such as the identity number of the product, type of billing, indication of a song in the MIDI standard or a digital song, or finally indication of whether it is the last block of a transmission. The following field (813) makes it possible to recognize the number of the block assigned sequentially to the block in this transmission. Fourth field (814) makes it possible to recognize the octet length of each transmission block. Fifth field (815) makes it possible to recognize variable length data of the transmission and sixth field (816) contains cyclic redundancy verification information which allows the jukebox to verify that there has not been any error in transmission by recomputing the values of this information from the received data. The data are coded with the identification number of the receiving station, i.e., the number of the jukebox; this prevents another station from receiving this information without having to pay royalties. This is another advantage of the invention because in the processes of the prior art it is not exactly known which stations have received messages and at the outside a cheat could indicate that the information has not been correctly received to avoid having to pay the royalties. Here this operation is impossible since the cheat does not have access to his identification number known solely by the computer and encoding done using this secret identification number makes it possible to prevent cheating and reception by other units not authorized to receive the information. Finally it can be understood that this protocol, by the information which the blocks contain, allows high flexibility of use, especially for transmitting video images or digitized songs, or again to allow updating of software as explained below according to the process in FIG. 8. In the case of software updating, the central system sends at stage (821) a first start signal allowing the jukebox for which it is intended to be recognized by its identification number and to indicate to this jukebox the number of the software version. At this stage (821) the jukebox then performs an initial verification to ensure that the version number is higher than the number of the versions installed and then initiates the process of verification of the system status indicated by stage (801). This verification process has already been described with reference to FIG. 7. In the case in which at stage (822) there is no system activity, at stage (823) the jukebox initiates display of a waiting message on the display device to prevent a user from interrupting the communication, and during this time receives the data composed of the new software to be installed. At stage (824) the unit backs up the current version and at stage (825) the unit modifies the startup file for startup with the backup version. After having completed this modification the unit at stage (826) applies the software received to the system software and restarts the system software at stage (827). After having restarted the system, the unit reverifies status (801) and at stage (828) determines if the system statuses are valid or not. In the case in which no errors are detected, at stage (829) the unit updates the startup files with the newly received version and returns to a waiting state. If an error is detected, the unit reinitializes the system at stage (830). Once installation is completed, the unit awaits occurrence of an event representative of a task in order to handle its tasks as illustrated above.
Due to the flexibility of the multitask system and its communications protocol, each unit of the jukebox can thus be selected independently of the units connected to the network and can update the databases or the version of the desired song or again the software version without disrupting the operation of the other units of the network and without having to wait specifically for all the units of a network to be available. This is independent of the modems used which can be of the high speed type for a standard telephone line or a specialized modem on a dedicated data link or a SDN modem for fiber optic transmission or again an IRD modem for satellite connection.
If one or more packets are not received correctly by the jukebox during transmission, it does not interrupt transmission since other jukeboxes can also be in communication. However when communication is stopped by the central server, each jukebox which has had a incident takes a line and signals the numbers of the packets not received to the center. This allows the center to resend them. If registration of one or more songs or videos or part of a song or video has not be done due to lack of enough space on the disk or storage means, the system of each jukebox signals to the manager by a display or audio message the packet number if it is part of a song or a video, or the numbers of the song or video which have not be registered for lack of space. This allows the manager, after having decided to erase certain songs or videos from the hard disk, to again request that the center send these songs or videos or the part not received.
Any modification by one skilled in the art is likewise part of the invention. Thus, regarding buffers, it should be remembered that they can be present either physically in the circuit to which they are assigned or implemented by software by reserving storage space in the system memory.

## Claims

1. A method of operating a jukebox system for use in a public establishment, including:
providing a jukebox device including a microprocessor, a memory that stores songs that may be played on the jukebox device in response to requests by a user, a touchscreen display for displaying images, an audio arrangement providing audio, a communication system for enabling the jukebox device to communicate with a song distribution network, and a multitasking operating system that enables simultaneous operation of the microprocessor, the display, the audio arrangement and the communication system, and further wherein said jukebox device includes security operating software that controls operation of said jukebox;
providing a server system remote from said jukebox device and a controller system that can be accessed by said jukebox device through said distribution network;
providing a system management function that enables an authorized manager of the jukebox device to locally access and selectively adjust adjustable operation settings for the jukebox device through use of the touchscreen display, a plurality of the adjustable settings being adjustable over a range predetermined by the authorized manager through the definition of a maximum of high and low levels for each system output source;
registering said jukebox device for operation through communication between the security operating software of the jukebox device and the controller system, the security operating software (1) authorizing the jukebox device to operate when the authorized manager has processed a correct registration, or (2) causing the jukebox device to at least temporarily stop working if cheating has been detected by the security operating software or if the network cannot be accessed;
downloading songs from the server system to the jukebox device and storing the downloaded songs on the jukebox device;
displaying on the display images of album covers that correspond to songs that are stored on the jukebox device;
collecting money through the jukebox device from patrons in the public establishment in exchange for playing selected songs on the jukebox device, wherein the patrons select desired songs by interacting with the jukebox device through the touchscreen display;
uploading royalty information from the jukebox device to the server system for use in accounting for music rights associated with the selected songs;
sending update data from said server system to said jukebox device which is used by said jukebox device to remotely update said operating software on said jukebox device;
modifying said jukebox device, upon receipt by said jukebox device of said update data, such that said jukebox device will operate in accordance with new operating software updated by use of said update data received from said server system over said distribution network.

2. The method of claim 1, further including, upon receipt of said update data, verifying by said jukebox device if a version number of current software is outdated, and, if said version number is outdated, performing a back-up of the current operating software, modifying a system startup file for startup with the back-up of the current software, beginning execution of a new version of said software received from said server system, verifying proper operation of said new version of said software, and, if said new version properly operates, reinitializing the system startup file for startup with the new version.

3. The method of claim 2, further including, if said verification of said new version indicates an error, reinitializing said current version of said software, and sending an error message to said server system.

4. The method of claim 1, further including encoding songs with a code number resident in said jukebox device before downloading song from the server system to the jukebox device, the songs being encoded by the server system.

5. The method of claim 1, wherein the registering of said jukebox device with the controller system comprises acquiring an approval signal in the form of a registration number that the jukebox device checks upon each startup, wherein if a correct registration number is found, the jukebox device is then rendered operational.

6. The method of claim 1, further comprising specifying royalty base and song cost information in a centrally located database.