Optical disk and security check method for the same

Abstract: A CD-ROM (10) comprises an identifier region (16a) having a disk identifier recorded therein and a security code region (16b) having a security code recorded therein. The identifier region and the security code region are provided in one sector of a boot sector (16) to be read when actuated. The disk identifier includes a preset identification code, and the security code includes at least a program to be executed after check of the security code, and display data for displaying a licence. A security check method for a CD-ROM comprising the steps of reading data recorded in the boot sector of the CD-ROM when actuated, comparing the disk identifier read from the identifier region of the boot sector with an stored identifier to check whether or not the read disk identifier is correct, comparing the security code read from the security region of the boot sector with a stored security code to check whether or not the read security code is correct, and executing the program contained in the security code when the read disk identifier and the read security code are correct, and displaying a licence based on the display data.

Description: BACKGROUND OF THE INVENTION The invention relates to security check methods for information storage media for storing application software such as game programs. The CD (compact disk) was originally developed as a sound recording medium, but more recently has attracted attention as a large capacity storage medium for information other than sound. Since the information on a CD is digitally recorded, it is suited for computer processing. Many types of information can be stored, including programs, data and images. CDs containing information other than sound recordings or additional to sound recordings are known as CD-ROMs (compact disk read-only memories). Game software for video game machines is now supplied on CD-ROMs as an alternative to conventional cartridges. In addition to the game program, the CD-ROM can contain a large quantity of information readable as video images, sound, etc. This can be decoded in accordance with the progress of the game, enabling the provision of video games which are more illustrative and have better picture and sound quality. It is necessary for any given game machine to be able to recognize cartridges or CD-ROMs storing game software inserted in it as being of an appropriate format and as being produced by the authentic game machine maker or duly licensed and proper for use in that machine. Once so recognized, an indication of the authorized production or the licence may be displayed on the television connected to the game machine as a preliminary to the game. Such licences may be granted by video game machine makers for software producers to make game software exclusively for use on their game machines. In order to reject unlicensed or unauthorized game software there have been proposed various kinds of security systems for such game machines. One of the prior art security systems was proposed in US-A-4462076. This prior art proposes to use the copyright notice and the name of the copyright proprietor as the security message. European patent application EP-A-0080244 discloses a security system for a data processing system such as a game device using game cartridges. A program in the game device reads data from the cartridge and uses the data to display an identifier. The identifier is then compared with a reference identifier and operation of the game is disabled if the identifiers do not match. The present invention proposes a novel and further improved security system which increases the difficulty of breaking the security system. SUMMARY OF THE INVENTION The invention provides an optical disk for use with a game device which stores a reference security code, wherein the optical disk comprises a first region located to be read and first executed by the game device when actuated and a second region storing an application program, said first region comprising a security code to be compared with the reference security code when the optical disk is loaded on the game device; characterized in that said first region comprises an identifier region in which a disk identifier is recorded and a security code region in which said security code is recorded; and the security code comprises a program to be executed by the game device and arranged so that when the program in the security code read from the optical disk agrees with the reference security code, the program in the security code is executed before enabling the application program to indicate a producer and/or a licensor of the application program. The invention also provides a security check method for an optical disk to be mounted on a game device which stores a reference security code, said optical disk comprising a first region containing an identifier region in which a disk identifier is recorded and a security code region in which a security code is recorded, and a second region storing an application program, the method comprising the steps of: reading the disk identifier from said first region of the optical disk when mounted on the game device; comparing the read disk identifier with a stored identifier to check whether or not the read disk identifier is correct; reading the security code from said first region of the optical disk when mounted on said game device; comparing the read security code with the reference security code stored in said game device to check whether or not the read security code agrees with said reference security code; and enabling the said application program when the read security code agrees with the reference security code; characterized in that said security code comprises a program to be executed by the game device before enabling the application program; and said method further comprises the step of, when the program in the security code read from the optical disk agrees with the reference security code, executing the program in the security code to indicate a producer and/or a licensor of the application program before enabling the application program. Furthermore, the invention provides a game device comprising memory means storing a reference security code; mounting means on which an optical disk may be mounted, said optical disk comprising a first region storing a security code and a second region storing an application program; means for comparing the security code read from the first region with the reference security code; and enabling the application program read from the second region when the security code read from the first region agrees with the reference security code; characterized in that said first region contains an identifier region in which a disk identifier is recorded, and a security code region in which said security code is recorded; said security code comprising a program to be executed by the game device before enabling the application program; and means are provided for executing the program in the security code when the program in the security code agrees with the reference security code to indicate a producer and/or a licensor of the application program. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a plan view of a CD-ROM according to the invention, diagrammatically showing part of the information recorded on it; Figure 2 is a first part of a flow chart illustrating a CD-ROM security check method according to the invention; and Figure 3 is a continuation and conclusion of the flow chart of Figure 2. DETAILED DESCRIPTION OF THE INVENTION Referring to Figure 1(a), a CD-ROM 10 according to one embodiment of the invention has a diameter of 120 mm. A 15 mm diameter centre hole 12 is formed in the centre of the CD-ROM 10. A boot sector 16 to be first read when actuated is provided on the innermost track of a recording region 14 in which ROM data and audio data is recorded. As shown in Figure 1 (b), the boot sector has an area from Logic Sector Numbers 0 to 15. A disk identifier and a security code are recorded in the boot sector, i.e., in plural ones of the sectors of the boot sector in view of possible recording or read errors. Usually they are recorded in the first sector of the boot sector having Logic Sector No. 0. The disk identifier indicates a kind of the CD-ROM 10, and as shown in Figure 1(c) is usually recorded in an identifier region 16a at the foremost part of the boot sector 16. In this embodiment, two kinds of identifiers, "SEGADISCSYSTEM□□" and "SEGABOOTDISC□□□□" (□ represents a space), are used. The former identifier "SEGADISCSYSTEME□□" is a disk identifier to be used in a CD-ROM carrying game software which ends on the disk. The latter identifier "SEGABOOTDISC□□□□" is a disk identifier to be used in a CD-ROM carrying game software which is continued on a plurality of CD-ROMs, and is to be recorded in the first of the CD-ROMs carrying the game software. The security code indicates that the CD-ROM 10 is produced by or duly licensed by an authentic game machine maker. As shown in Figure 1(c), the security code is recorded in a security region 16b at a preset address in the boot sector 16. As shown in Figure 1(d), the security code contains a program to be executed after a checking operation of the security code, colour data indicative of colours of LOGOTYPE to be displayed, LOGOTYPE pattern data indicative of patterns of LOGOTYPE to be displayed, message data indicative of a message "PRODUCED BY OR UNDER LICENCE FROM XXXX", and sound data indicative of a licensor television game machine maker. (Note, at the portion "XXXX" the name of the authentic game machine maker is inserted, for example "SEGA ENTERPRISES LTD.") This embodiment is especially characterized in that a program itself to be executed following checking of the security code is contained in the security code. In other words, the program for displaying the LOGOTYPE and message data indicative of a producer and/or a licensor of the game software is used as a security code. The program involved in this embodiment is executed by the main CPU of a television game machine. As shown in Figure 1(d), the program includes seven steps. In the first step, an address to which the main CPU jumps when the television game machine is reset is set. In the second step, a sub-CPU provided in a CD-ROM reader which forms part of the television game machine is temporarily paused. In the third step, the contents of the program memory of the sub-CPU are rewritten from data recorded on the CD-ROM. In the fourth step, the operation of the temporarily paused sub-CPU is resumed. In some television game machines, these second through fourth steps may be omitted. In the fifth step, the head addresses of data recorded on the CD-ROM are set in a register of the main CPU. In the sixth step, a required program routine stored in the CD-ROM device is executed. This program routine performs a resetting operation, such as licence display. The program routine involved in this embodiment performs the following resetting operation. First a vertical interrupt address is set. Next, a sound processor and a video processor are reset, while a video RAM is cleared, and ASCII character graphics are set. Then, based on colour data stored in the security code 16b, display colours are set, and based on LOGOTYPE data in the security code 16b, LOGOTYPE character graphics are set. Subsequently message data (PRODUCED BY OR UNDER LICENCE FROM XXXX) in the security code 16b are displayed on a television screen, and a LOGOTYPE map is set to display LOGOTYPE on the television screen. Then, after one second, based on sound data stored in the security code 16b, sounds indicative of a licensor television game machine maker are outputted, and a LOGOTYPE mark colour is changed, and then the television screen display is cleared. Finally in the seventh step, a jump is performed to an application program, such as a game program. A CD-ROM security check method according to one embodiment of the invention is next described with reference to Figures 2 and 3 of the drawings. In the flow charts of Figures 2 and 3, Steps 101 to 106 are for checking the security code by the sub-CPU of the CD-ROM reader provided in the television game machine. Step 107 and subsequent steps are for operations by the main CPU provided in the television game machine. First it is determined whether or not one piece read from the CD-ROM 10 is a ROM track (Step 101). If it is not a ROM track, the disk is determined to be a conventional music CD. If it is determined to be a ROM track, the first sector of the boot sector 16 is loaded (Step 102). Next, the disk identifier recorded in the identifier region 16a of the boot sector 16 is compared with a disk identifier stored in the memory of the CD-ROM reader (Step 103). If the recorded and stored identifiers do not agree, it is determined whether or not all the sectors of the boot sector 16 have been loaded (Step 104). If all the sectors of the boot sector 16 have not been loaded, a next load sector is set (Step 105), and the processing is returned to Step 102. If all the sectors of the boot sector 16, and there is still no agreement between the recorded identifier and the stored identifier, the disk is determined to be a CD-ROM but not a game disk. When the recorded identifier agrees with the stored identifier in Step 103, then a security code recorded in the security region 16a in the boot sector 16 is compared with the security code stored in the memory of the CD-ROM device (Step 106). If the recorded security code agrees with the stored security code, the CD-ROM is determined a duly authorized or licensed proper game disk. If the recorded security code does not agree with the stored security code, the disk is determined a different disk. The processing heretofore is the operation of the sub-CPU provided in the CD-ROM reader. This processing is followed by the operation by the main CPU provided in the television game machine. First, it is determined whether or not the loaded CD-ROM 10 is a game disk (Step 107). If the disk is not a game disk, the operation for the usual music CD is enabled (Step 108). Incessantly it is determined whether or not the tray of the CD-ROM reader is opened (Step 109). If it is determined that the tray has been opened, there will be a possibility that the loaded CD-ROM 10 has been replaced, and the processing is returned to Step 101. In Step 107, when the loaded CD-ROM 10 is determined to be a game disk, "CD-ROM" is displayed on the television screen (Step 110), and both the operation of the usual musical CD and the game operation are enabled (Step 111). Incessantly it is determined whether or not the tray of the CD-ROM reader is opened (Step 112). If it is determined that the tray has been opened, there will be a possibility that the CD-ROM 10 has been replaced, and the processing is returned to Step 101. Subsequently it is determined which has been selected between the usual musical CD operation and the game operation (Step 113). If the game operation is selected, Step 114, which will be explained below, will follow. First, the security code is loaded from the CD-ROM 10 (Step 114). Then a program contained in the security code starts to be executed (Step 115). The first step of the program is executed, and an address to which the main CPU should jump when the television game machine is reset is set (Step 116). Then, the second step of the program is executed, and the operation of the sub-CPU provided in the CD-ROM reader is temporarily paused (Step 117). Next, the third step of the program is executed, and contents of the program memory of the sub-CPU is rewritten from data recorded on the CD-ROM 10 (Step 118). Then the fourth step of the program is executed, and the operation of the temporarily paused sub-CPU is resumed (Step 119). In some television game machines, these steps 117 to 119 can be skipped. Then the fifth step of the program is executed, and the head addresses of data recorded in the CD-ROM are set in a register provided in the main CPU (Step 120). Next, the sixth step of the program is executed, and a required program routine stored in the CD-ROM device is executed (Step 121). In this program routine, resetting operation including the above-described licence display, etc. is performed. Returning from the program routine stored in the CD-ROM device, the seventh step of the program is executed to jump to an application program (Step 122), and the execution of the application program of a game or others is started, and the security check operation of the CD-ROM is finished. The invention is not limited to the particular embodiment described above. Other embodiments within the scope of the appended claims are included. For example, the program contained in the security code is not limited to the program above described but may be any kind of program.

Claims: An optical disk (10) for use with a game device which stores a reference security code, wherein the optical disk (10) comprises a first region (16) located to be read and first executed by the game device when actuated and a second region (14) storing an application program, said first region (16) comprising a security code to be compared with the reference security code when the optical disk (10) is loaded on the game device; characterized in that said first region (16) comprises an identifier region (16a) in which a disk identifier is recorded and a security code region (16b) in which said security code is recorded; and the security code comprises a program to be executed by the game device and arranged so that when the program in the security code read from the optical disk (10) agrees with the reference security code, the program in the security code is executed before enabling the application program to indicate a producer and/or a licensor of the application program. An optical disk (10) according to claim 1, characterized in that the program in the security code includes a message-displaying program arranged so that the message-displaying program is executed by the game device so as to generate a message display signal when the message-displaying program agrees with the reference security code. An optical disk (10) according to claim 2, wherein said security code includes message data associated with the message-displaying program. An optical disk (10) according to claim 3, wherein said message data is indicative of a LOGOTYPE. An optical disk (10) according to claim 1, characterized in that the program in said security code comprises the steps of: setting addresses of data recorded in the optical disk (10) into a register of the game device; and executing a required program routine stored in the game device. An optical disk (10) according to any one of claims 1 to 5, wherein the optical disk (10) is a CD-ROM, said first region is located at the innermost track (16) on the CD-ROM (10) and said game device includes a CD-ROM reader which first reads the innermost track (16) when the CD-ROM (10) is loaded on the CD-ROM reader. An optical disk (10) according to claim 6, characterized in that the program in said security code comprises the steps of: temporarily pausing a sub-CPU provided in the game device to control the operation of the CD-ROM; rewriting data recorded on the CD-ROM into a memory of the sub-CPU; resuming operation of the temporarily paused sub-CPU; setting addresses of data recorded in the optical disk (10) into a register of a main CPU of the game device; and executing a required program routine stored in the game device. A security check method for an optical disk (10) to be mounted on a game device which stores a reference security code, said optical disk (10) comprising a first region (16) containing an identifier region (16a) in which a disk identifier is recorded and a security code region (16b) in which a security code is recorded, and a second region (14) storing an application program, the method comprising the steps of: reading the disk identifier (16a) from said first region (16) of the optical disk (10) when mounted on the game device; comparing the read disk identifier with a stored identifier to check whether or not the read disk identifier is correct; reading the security code from said first region (16) of the optical disk (10) when mounted on said game device; comparing the read security code with the reference security code stored in said game device to check whether or not the read security code agrees with said reference security code; and enabling the said application program when the read security code agrees with the reference security code; characterized in that said security code comprises a program to be executed by the game device before enabling the application program; and said method further comprises the step of, when the program in the security code read from the optical disk (10) agrees with the reference security code, executing the program in the security code to indicate a producer and/or a licensor of the application program before enabling the application program. A security check method according to claim 8, characterized in that: the program in the security code includes a message-displaying program; and the method further comprises the step of executing the message-displaying program so as to generate a message display signal when the message-displaying program agrees with the reference security code. A security check method according to claim 8 or claim 9, wherein said security code includes message data associated with the message-displaying program. A security check method according to claim 10, wherein said message data is indicative of a LOGOTYPE. A security check method according to claim 8, characterized in that the program in said security code comprises the steps of: setting addresses of data recorded in the optical disk (10) into a register of the game device; and executing a required program routine stored in the game device. A security check method according to any one of claims 8 to 12, wherein said optical disk (10) is a CD-ROM, said first region (16) is located at the innermost track on a CD-ROM (10) and said game device includes a CD-ROM reader which first reads the innermost track (16) when the CD-ROM (10) is loaded on the CD-ROM reader. A security check method according to claim 13, characterized in that the program in said security code comprises the steps of: temporarily pausing a sub-CPU provided in the game device to control the operation of the CD-ROM; rewriting data recorded on the CD-ROM (10) into a memory of the sub-CPU; resuming operation of the temporarily paused sub-CPU; setting addresses of data recorded in the optical disk (10) into a register of a main CPU of the game device; and executing a required program routine stored in the game device. A game device comprising memory means storing a reference security code; mounting means on which an optical disk (10) may be mounted, said optical disk (10) comprising a first region (16) storing a security code and a second region (14) storing an application program; means for comparing the security code read from the first region (16) with the reference security code; and enabling the application program read from the second region (14) when the security code read from the first region (16) agrees with the reference security code; characterized in that said first region (16) contains an identifier region (16a) in which a disk identifier is recorded, and a security code region (16b) in which said security code is recorded; said security code comprising a program to be executed by the game device before enabling the application program; and means are provided for executing the program in the security code when the program in the security code agrees with the reference security code to indicate a producer and/or a licensor of the application program. A game device according to claim 15, characterized in that the program in the security code includes a message-displaying program, the message-displaying program being executed so as to generate a message display signal when the message-displaying program agrees with the reference security code. A game device according to claim 16, wherein said security code includes message data associated with the message-displaying program. A game device according to claim 17, wherein said message data is indicative of a LOGOTYPE. A game device according to any one of claims 15 to 18, wherein the optical disk (10) is a CD-ROM, said first region is located at the innermost track (16) on the CD-ROM (10) and said game device includes a CD-ROM reader which first reads the innermost track (16) when the CD-ROM (10) is loaded on the CD-ROM reader.

Inventors: ASAI TOSHINORI, KAWOHORI MASAKI, ASAI, TOSHINORI, KAWOHORI, MASAKI, Asai, Toshinori, c/o K.K. Sega Enterprises, Kawohori, Masaki, c/o K.K. Sega Enterprises
Applicants: SEGA ENTERPRISES KK, SEGA ENTERPRISES, LTD.
Application year: 1992
Main classification: G06F1
IPC codes: G06F12, G11B7, G11B27, G11B19, G06F9, G06F3, G06F1, G06F21, G11B20, A63F13