Recording medium producing method, device, and computer program
The method encrypts and verifies medium identification information on recording media to prevent unauthorized use of map data, addressing vulnerabilities in existing map data update systems by ensuring only authorized devices can access the data.
Patent Information
- Application Number
- JP2021047471
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-03-22
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-03-22
AI Technical Summary
Existing map data update systems are vulnerable to unauthorized use due to the potential illegal copying of navigation device IDs, allowing unauthorized access to map data.
A method for producing a recording medium with unique medium identification information and security information, involving encryption and verification processes to ensure that only authorized devices can access the map data, using a mechanism that encrypts and verifies the medium identification information to prevent unauthorized use.
Ensures proper use of map data by preventing unauthorized access through encryption and verification, ensuring that only legitimate users can utilize the map information recorded on the recording medium.
Smart Images

Figure 0007551547000005 
Figure 0007551547000006 
Figure 0007551547000011
Abstract
Description
[Technical field]
[0001] The present invention relates to a method, an apparatus and a computer program for producing a recording medium. [Background technology]
[0002] Conventionally, security measures have been implemented for map data used in navigation systems.
[0003] For example, Patent Document 1 discloses a map update system capable of prohibiting unauthorized use of map data. In Patent Document 1, a user records map data distributed from a distribution center on a recording medium and updates the map data of the navigation device by connecting the recording medium to a navigation device. A unique individual ID assigned to the navigation device is recorded in advance on the recording medium used to update the map data. When a user sets the recording medium in a personal computer, the personal computer transmits the individual ID stored in the recording medium to the distribution center. The distribution center adds the individual ID to the update map data as attribute data and distributes the update map data. The update map data is written to the recording medium set in the personal computer.
[0004] When the recording medium is removed from the PC and inserted into the navigation device, the device judges whether the individual ID added to the map data on the recording medium matches its own individual ID. If they match, the map data on the recording medium is copied to the hard disk, and if they do not match, copying is prohibited. This makes it possible to effectively prevent unauthorized use of update map data. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2005-331579 A Summary of the Invention [Problem to be solved by the invention]
[0006] In the technology of Patent Document 1, if the individual ID of the navigation device for which the map data is to be updated is read in advance, the map data to be updated may be used fraudulently.
[0007] An object of the present invention is to provide a technique for ensuring proper use of maps and other content copied onto a recording medium. [Means for solving the problem]
[0008] A first disclosed method according to an exemplary embodiment of the present invention is a method for producing a recording medium having a recording area in which content information indicating a content and security information for security of the content information are recorded, and medium identification information for uniquely identifying the recording medium itself is recorded in advance in the recording area. The method comprises: (a) writing temporary security information including given information different from the medium identification information and the content information into the recording area; (b) reading the medium identification information and the temporary security information from the recording area; (c) replacing said given information in said temporary security information with said medium specific information; (d) encrypting the temporary security information in which the given information has been replaced with the medium specific information to generate the security information; (e) recording the security information generated in the step (d) in the recording area; Includes:
[0009] The production method of the second disclosure is the method of the first disclosure, further comprising the step of (f) copying the temporary security information and the content information from a host recording medium on which the originals of the temporary security information and the content information are recorded to a recording medium different from the recording medium, and the method performs the step (a) after the step (f).
[0010] The production method of the third disclosure, in the second disclosure, further includes the step of (g) verifying whether the temporary security information written by step (a) matches the original of the temporary security information, and verifying whether the content information written by step (a) matches the original.
[0011] The production method of the fourth disclosure is the production method of the third disclosure, further comprising notifying an error if at least one of the verification results of the step (g) indicates a mismatch.
[0012] The production method of the fifth disclosure is the production method of the fourth disclosure, in which, if the error is notified, step (g) is retried.
[0013] The production method of the sixth disclosure is the production method of the third disclosure, in which, if both verification results in step (g) show a match, steps (b) to (e) are executed.
[0014] A seventh disclosure relates to a method of production according to any one of the first to sixth disclosures, further comprising the step of (h) reading the security information from the recording area of the recording medium and verifying whether the medium identification information in the read security information matches the medium identification information encrypted in step (d). The method performs step (h) after step (e).
[0015] The production method of the eighth disclosure is the production method according to the seventh disclosure. If the verification result of the above step (h) indicates a mismatch, an error is notified.
[0016] The production method of the 9th disclosure is the production method according to the 8th disclosure. When the error is notified, the step (h) is retried.
[0017] A production method according to a tenth disclosure is the production method according to any one of the first to ninth disclosures. The content information is map information indicating a map as the content.
[0018] The production method of the eleventh disclosure is the production method according to the tenth disclosure. The temporary security information written in the step (a) further includes vehicle identification information for identifying a vehicle in which the map information is used, and version information indicating a version of the map information. The step (d) encrypts the vehicle identification information and the version information.
[0019] A twelfth disclosure relates to a method of production according to the eleventh disclosure. The temporary security information is encrypted in advance. The method further includes a step of (i) decrypting the encrypted temporary security information. The method includes performing the step (i) after the step (b) and performing the step (c) after the step (i).
[0020] A production method disclosed in a thirteenth aspect is a production method according to any one of the first to twelfth aspects disclosed. The recording medium is an SD memory card. The recording area has a user area in which a user can rewrite data, and a non-user area in which the user cannot rewrite data. The medium-specific information is recorded in advance in the non-user area. The step (a) writes the temporary security information and the content information to the user area. The step (b) transmits a read command to the recording medium for reading the medium-specific information from the non-user area, and reads the medium-specific information by acquiring the medium-specific information transmitted from the recording medium in response to the read command, and also reads the temporary security information from the user area.
[0021] A fourteenth disclosure relates to a method of production according to any one of the first to thirteenth disclosures, further comprising the step of (j) receiving a notification indicating that the recording medium to be recorded has been prepared. After receiving the notification, the method executes the step (a).
[0022] A production method according to a fifteenth disclosure is the production method according to the fourteenth disclosure. The notification received in the step (j) is a signal indicating that preparation of the plurality of recording media has been completed.
[0023] A production method disclosed in a sixteenth aspect is the production method according to any one of the fourth, fifth, eighth, and ninth disclosures. There are a plurality of the recording media. The notification of the error includes information for identifying the recording medium among the plurality of recording media for which the verification result shows a mismatch.
[0024] A seventeenth disclosure of an exemplary embodiment of the present invention provides an apparatus that includes a communication interface for communicating with an external device, a storage device, and an arithmetic circuit, and executes any one of the production methods of the first to sixteenth disclosures using the arithmetic circuit. The storage device stores the content information and the temporary security information including the given information. In response to receiving the signal, the operational circuit: reading the content information and the temporary security information from the storage device and transmitting them to the function inspection device via the communication interface; causing the functional inspection device to carry out the steps (a) and (b); receiving the medium identification information and the temporary security information from the function inspection device via the communication interface; Execute step (d) above, transmitting the security information generated by executing step (d) to the function inspection device via the communication interface; The functional inspection device is caused to carry out the step (e).
[0025] A computer program according to an eighteenth disclosure of an exemplary embodiment of the present invention includes the steps of: a process of reading the content information and the temporary security information from the storage device; a process of transmitting the content information and the provisional security information to the function inspection device via the communication interface; a process of transmitting a command to the functional inspection device to execute steps (a) and (b); receiving the medium identification information and the temporary security information from the function inspection device via the communication interface; A process of executing the above step (d); a process of transmitting the security information generated by executing the step (d) to the function inspection device via the communication interface; a process of transmitting a command to the functional inspection device to execute step (e); Execute the command. Effect of the Invention
[0026] According to an exemplary embodiment of the present invention, it is possible to provide a technique for ensuring proper use of maps and other content copied onto a recording medium. [Brief description of the drawings]
[0027] [Figure 1] Diagram showing the structure of an SD memory card [Diagram 2] Diagram showing the recording area of an SD memory card [Diagram 3] FIG. 1 is a diagram showing a configuration of a production system that produces recording media. [Figure 4] PC configuration diagram [Diagram 5] A diagram to explain the process performed by a map vendor who sells and supplies map information. [Figure 6] A diagram to explain the process that a manufacturer performs after receiving a golden sample from a map vendor. [Figure 7] A diagram to explain the process of generating security information for each SD memory card from the golden sample security information. [Figure 8] A diagram showing an example of the arrangement of multiple SD memory cards loaded into an SD tester. [Figure 9] A diagram showing the transition of information recorded on each SD memory card [Figure 10] A flowchart showing the steps of processing performed by a PC. [Figure 11] 11 is a flowchart showing a detailed process of step S12 in FIG. 10. [Figure 12] 11 is a flowchart showing a detailed process of step S16 in FIG. 10. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0028] Hereinafter, the embodiments will be described in detail with reference to the drawings as appropriate. However, more detailed explanation than necessary may be omitted. For example, detailed explanation of already well-known matters or duplicate explanation of substantially the same configuration may be omitted. This is to avoid the following explanation becoming unnecessarily redundant and to facilitate understanding by those skilled in the art.
[0029] The inventors provide the accompanying drawings and the following description so that those skilled in the art can fully understand the present disclosure, and do not intend for them to limit the subject matter described in the claims.
[0030] First, the circumstances under which the inventors have completed the present invention will be described, and then a method and apparatus for producing a recording medium constituting the present invention will be described. The inventors of the present invention have carried out development assuming the use of an SD (Secure Digital) memory card to update existing map information used by a car navigation device. Map information to be updated is pre-stored in the SD memory card, and a user updates the existing map information by inserting the SD memory card into a car navigation device. The inventors of the present invention have considered measures to prevent the use of map information to be updated even if the map information is copied by someone other than the map provider. The measures will be specifically described below.
[0031] Note that map information does not necessarily have to be for updating. Therefore, hereinafter, information indicating a map will be described as "map information" regardless of whether it is for updating or not. The map referred to here may be, for example, a map of any country or region in the world, a map of part of that country or region, or an update map for only regions that have changed since a certain time. Also, although the following description will be given using an SD memory card as an example, it is not essential that it be an SD memory card, and any recording medium may be used.
[0032] [SD memory card configuration] The solution considered by the inventors utilizes information recorded on the SD memory card that is unique to each SD memory card. Therefore, the structure of an SD memory card will be explained first with reference to Figure 1. In the following, the word "interface" will be written as "I / F." The SD memory card 100 includes a pin I / F 101 , an I / F driver 102 , an I / F controller 103 , a power-on detection unit 104 , a register group 105 , a flash memory controller 106 , and a flash memory 107 .
[0033] The pin I / F 101 includes nine pins. The nine pins include, for example, a data input / output pin, a card detection pin, a ground pin, a power supply pin, and a clock signal pin. To prevent the user's fingers from directly touching the pins, each of the nine pins is separated by a guard (not shown).
[0034] The I / F driver 102 receives commands or instructions and data from a host device in which the SD memory card 100 is used, and converts them into an appropriate data format. The host device is a device into which the SD memory card 100 is inserted, such as a car navigation device or a PC. The I / F driver 102 also reads data and register information in the flash memory 107, converts them into an appropriate data format, and transmits them to the host device via the pin group 101. Note that data is exchanged between the SD memory card 100 and the host device in synchronization with a clock signal supplied by the host device.
[0035] The I / F controller 103 is connected to various elements that make up the SD memory card 100. The I / F controller 103 is connected to, for example, the I / F driver 102, and issues commands to the I / F driver 102 so that the I / F driver 102 performs the above-mentioned operations. The I / F controller 103 is also connected to a register group 105, a power-on detection unit 104, and a flash memory controller 106, and is capable of communicating with each of them.
[0036] The power-on detection unit 104 determines whether the SD memory card 100 is connected to the host device by being inserted in the host device and whether the power is ON.
[0037] The register group 105 is composed of a plurality of registers. For example, the register group 105 has a CID (Card IDentification) register 105a. The CID register 105a stores information capable of uniquely identifying any SD memory card in advance. Such information is referred to as "CID" or "medium specific information" in this specification. "In advance" means at the time when the manufacturer of the SD memory card 100 completes the manufacturing. In relation to this embodiment, the CID is already stored in the SD memory card 100 at the time when the map information is recorded in the SD memory card 100 by the map vendor, which is the seller and supplier of the map information. Hereinafter, the manufacturer of the SD memory card 100 will be simply referred to as the "manufacturer".
[0038] The CID is a collection of various information. For example, the CID includes information such as ID (IDentification) that identifies the manufacturer of the SD memory card 100, the product name, revision, serial number, and manufacturing date. After the CID is written to each SD memory card 100 by the manufacturer, it is no longer changed and can only be read. The host device can read the CID by sending a special command to the SD memory card 100.
[0039] The flash memory controller 106 controls writing of data to the flash memory 107 and also controls reading of data from the flash memory 107 .
[0040] The flash memory 107 has a large capacity recording area of, for example, 128 GB (gigabytes) and stores content information. "Content" can be maps, music, or video. When the SD memory card 100 is used in a car navigation device, the content can include the latest installation location data of speed cameras, and update data for the OS (Operation System) that controls the operation of the car navigation device or the system of the car. In this specification, information indicating such content is referred to as "content information." For ease of understanding, this specification will be described using map information as an example.
[0041] 2 shows the recording area 120 of the SD memory card 100. The recording area 120 can be roughly divided into a non-user area 121 and a user area 122. Furthermore, the non-user area 121 includes a firmware area 121a and a management area 121b.
[0042] In the non-user area 121, information that cannot be rewritten by the user is recorded, and in the user area 122, information that can be rewritten by the user is recorded. Unlike the embodiment shown in the figure, in reality, the recording area 120 does not need to be provided as a continuous memory space. The recording area in which non-rewritable information is recorded is merely conceptually called the "non-user area 121," and the recording area in which rewritable information is recorded is merely conceptually called the "user area 122." After it has been confirmed that the SD memory card 100 is operating properly at the manufacturer's factory, the recording area 120 shown in FIG. 2 is formed in the SD memory card 100.
[0043] Firmware is recorded in the firmware area 121a of the non-user area 121. The firmware is a program for operating the flash memory controller 106. Various pieces of management information are recorded in the management area 121b. The management information includes information recorded in various registers constituting the register group 105. In other words, the various registers constitute the management area 121b. The above-mentioned CID is an example of management information.
[0044] The user area 122 is an area secured in the flash memory 107. Map information and the like are recorded in the user area 122 in a readable and writable manner.
[0045] A host device connected to the SD memory card 100 can read data in the user area 122 at any time, but cannot normally access the non-user area 121. Only a host device that has implemented a command to read the management information recorded in the management area 121b of the non-user area 121 can access the non-user area 121. For example, the manufacturer of the SD memory card 100 owns a PC that is a host device that has implemented such a command.
[0046] Now, consider a case where a map vendor sells an SD memory card 100 on which map information is recorded, as a form of distributing map information through a legitimate distribution channel. Since the map information is recorded in the user area 122 of the SD memory card 100, it can technically be easily copied to another SD memory card using a PC or the like. It is necessary to prevent such copied map information from being used illegally. The inventors have considered a method of linking map information with the SD memory card 100 on which the map information is recorded. The use of map information read from SD memory cards 100 that are linked to each other is permitted, and the use of map information that is not linked is restricted. A mechanism for guaranteeing such operations is required.
[0047] Therefore, the inventors of the present invention have decided to introduce a mechanism that generates security information by encrypting the CID, etc., of each SD memory card 100 on which map information is recorded, and uses the security information to determine whether or not the use of the map information is permitted. A command to read the CID of the loaded recording medium is implemented in the car navigation device, and the car navigation device determines whether the CID read using the command matches the CID encrypted in the map information. Only if they match, does the car navigation device permit the use of the map information.
[0048] At first glance, the above measures seem easy to implement, but in reality there is a big problem: map vendors cannot read the CIDs on the many SD memory cards they distribute, and therefore cannot create security information that encrypts the CIDs. In order to avoid the above problems, the present inventors have adopted the following measures.
[0049] (1) The map vendor prepares a specific recording medium whose CID is known in advance. The map vendor generates security information including the CID. The security information includes at least the CID. The map vendor encrypts or does not encrypt such security information and provides it to the manufacturer together with the map information as provisional security information. The reason for using the word "provisional" is that it is assumed that the security information will be rewritten according to the CID, etc. of each individual recording medium, as will be explained below. Hereinafter, the provisional security information will be referred to as "provisional security information."
[0050] (2) The manufacturer reads the temporary security information and, if the temporary security information is encrypted, the manufacturer decrypts it using a pre-prepared procedure or decryption program.
[0051] (3) The manufacturer prepares a large number of blank SD memory cards 100. The manufacturer can read the CID of each SD memory card 100. The manufacturer replaces the CID in the temporary security information provided by the map vendor with the CID of each SD memory card 100 to which map information is to be recorded. The manufacturer then encrypts the temporary security information after replacing the CID with the CID of the specific SD memory card 100. As a result, "security information" including the CID unique to that SD memory card 100 is generated. In other words, at this point, the "temporary security information" is converted into the "security information" that is originally required. The car navigation device is equipped with a command to read the CID of the loaded recording medium, and is made to determine whether the CID read using the command matches the CID in the encrypted security information. Only if they match, the car navigation device permits the use of the map information.
[0052] The above-mentioned temporary security information may further include vehicle identification information for identifying the vehicle in which the map information is used, and version information indicating the version of the map information. In a situation where the SD memory card 100 is not sold, it may be impossible to identify the vehicle in which the map information is actually used, i.e., it may be impossible to determine the vehicle identification information. In such a case, common vehicle identification information may be assigned to all SD memory cards 100. Such common vehicle identification information may be rewritten to vehicle identification information that uniquely identifies each vehicle at a predetermined timing after the SD memory card 100 is used in each user's vehicle after the sale.
[0053] In the above process (3), the manufacturer needs to encrypt the CID of each SD memory card 100. For the map vendor, the encryption method is related to the core of security, so it is desirable to refrain from disclosing the specific encryption method to outsiders as much as possible. In addition, it is desirable to refrain from disclosing the decryption method of the encrypted CID to outsiders as much as possible. Therefore, the map vendor provides the manufacturer with software or a library for performing encryption without disclosing the specific specifications. Since the specific encryption process performed by the library is usually not easily known, the map vendor can avoid disclosing the specific encryption method that it wants to retain. In the above process (2), even if decryption is required, it is sufficient to provide the manufacturer with software or a library for performing decryption.
[0054] On the other hand, the manufacturer can also avoid disclosing to outsiders the CID of each SD memory card 100 or the command to read the CID. This allows the CID of each SD memory card 100 to be encrypted while taking into consideration the business interests of both parties.
[0055] By introducing the above-mentioned mechanism, even if the security information created in the above process (2) is stolen or leaked to the outside, it is possible to prevent the map information recorded in another SD memory card 100 from being used illegally. Even if the leaked security information is used, the CID in the security information does not match the CID of another SD memory card, and the map information cannot be used in any SD memory card 100. Furthermore, commands for reading the CID and encryption methods for creating new security information using the CID are not generally available. Therefore, legitimate security information cannot be written to any SD memory card 100. The above method makes it possible to provide a mechanism for preventing unauthorized use of map information recorded on the SD memory card 100 and distributed.
[0056] Exemplary embodiments of the present invention are described below. 1. [Embodiment] Exemplary embodiments of the present disclosure will now be described with reference to the accompanying drawings. [Production system configuration] First, the configuration of a production system 1 that produces recording media will be described with reference to FIG.
[0057] The production system 1 includes a PC 2 , a display 4 , a function inspection device 6 , and an indicator 8 .
[0058] The PC2 is a computer system that executes the processes described in the flowchart described below. A specific configuration of the PC2 will be described later with reference to FIG. 4. The PC2 may be another type of computer, for example, a workstation or a tablet terminal. A Universal Serial Bus (USB) dongle 24 described later may be connected to the PC2. In this embodiment, an encrypted program executed by the PC2 is recorded in the USB dongle 24. The display 4 is connected to the PC2 and displays video information output from the PC2.
[0059] The function testing device 6 is connected to the PC 2 and is used together with the PC 2 to test the SD memory card 100. The function testing device 6 has a central board 10, a tester stand 12, and an SD tester 14. The central board 10 and the SD tester 14 are disposed on the tester stand 12.
[0060] The central board 10 of the function inspection device 6 is connected to the PC 2 and the indicator 8, and inspects the functions of the SD memory card 100 loaded into the SD tester 14 according to commands from the PC 2. The central board 10 and PC 2 are connected via, for example, a USB cable 18. The central board 10 and indicator 8 are also connected via, for example, an RJ45 cable 20. The indicator 8 and PC 2 are further connected via, for example, a USB cable 22.
[0061] A plurality of terminals are provided on the SD tester 8 of the functional testing device 6. When the SD memory card 100 is loaded into the SD tester 14, each terminal of the SD tester 14 is communicatively connected to each pin of the pin I / F 101 (FIG. 1).
[0062] The outline of the function test of the SD memory card 100 is as follows. First, when the SD memory card 100 is loaded, the central board 10 of the function test device 6 automatically detects the loading, or the user operates the central board 10 to send a notification to the PC2 indicating that the recording medium is ready. The PC2, which receives the notification, sends a write command or a read command to the central board 10. In response to the command, the central board 10 writes information to the SD memory card 100 or reads information written to the SD memory card 100 via each terminal of the SD tester 14 and each pin of the SD memory card 100. The central board 10 sends the read information to the PC2. The PC2 verifies whether the information received from the SD tester 8 matches the information that was instructed to be written. If the verification results match, the recording of information to the SD memory card 100 and the reading of information from the SD memory card 100 have been performed correctly. On the other hand, if the verification results do not match, at least one of the recording and reading of information to and from the SD memory card 100 has not been performed correctly. Such a verification operation is called an operation verification of the SD memory card 100.
[0063] In this embodiment, the SD tester 14 has a frame (not shown) for loading a plurality of SD memory cards 100. For example, a total of 32 SD memory cards 100 in 4 rows and 8 columns can be loaded into the frame of the SD tester 14, and the above-described operational verification can be performed independently for each SD memory card 100. If the operational verification of the individual SD memory cards 100 finds that there is an SD memory card 100 whose verification results do not match, the PC 2 or the function testing device 6 uses the indicator 8 to notify of an error.
[0064] The indicator 8 is a board-like device having a plurality of point light sources 16. Each point light source 16 is, for example, an LED (Light Emitting Diode) or an incandescent light bulb. As shown in FIG. 3, the plurality of point light sources 16 are arranged in the same number of rows and columns as the number of rows and columns of the arrangement frame of the SD tester 14. The indicator 8 notifies the user of the production system 1 of an error by lighting the point light source 16 at a position corresponding to the position of the SD memory card 100 where the above-mentioned verification results do not match. For example, when the verification results of the SD memory card 100 loaded in the second row and third column of the arrangement frame of the SD tester 14 do not match, the indicator 8 lights the point light source 16 at the second row and third column in response to a signal from the PC 2 or the function inspection device 6. The method of lighting the point light source 16 is arbitrary. For example, the point light source 16 may be changed from an off state to an on state, or may be blinked.
[0065] Next, the configuration of the PC 2 will be described with reference to FIG. As shown in FIG. 4, the PC 2 has an arithmetic circuit 202, a storage device 204, and a communication I / F 206. The arithmetic circuit 202 is a computer implemented in the PC 2, and is a semiconductor integrated circuit known as a CPU. Hereinafter, the arithmetic circuit 202 will be referred to as the "CPU 202". The communication I / F 206 is a terminal for performing communication conforming to a communication standard such as USB (registered trademark) and / or Ethernet (registered trademark). FIG. 4 illustrates a USB dongle 24 and USB cables 18 and 22 connected to a USB terminal that is the communication I / F 206. The PC 2 may perform wireless communication conforming to the IEEE 802.11 standard, for example. In that case, the communication I / F 206 may be a wireless communication circuit.
[0066] For ease of description, the following description will be given assuming that the PC 2 or the CPU 202 transmits and receives information to and from external devices such as the function inspection device 6 and the indicator 8. However, in reality, the CPU 202 transmits information to the external devices, instructs the communication I / F 206 to receive information from the external devices, or controls the communication I / F 206.
[0067] The storage device 204 is a secondary storage device such as a RAM (Random Access Memory), a ROM (Read Only Memory), and / or a hard disk drive. The storage device 204 stores a computer program 204a. For example, a ROM, which is the storage device 204, stores the computer program 204a. The computer program 204a is read by the CPU 202 and expanded in a RAM, which is also the storage device 204. This enables the CPU 202 to execute the computer program 204a. The operation of the PC2 described below is realized by the computer program 204a installed and executed in the PC2.
[0068] The storage device 204 also stores map information and security information, which will be described later. The map information is an example of content information, and is stored in the SD memory card 100 and distributed. The security information is information used to determine whether or not use of the map information is permitted, and is generated by encrypting at least the CID of a specific SD memory card 100 using a predetermined encryption method. In this embodiment, the security information contains, in addition to the CID, an initial value of the vehicle identification information, and version information indicating the version of the map information, which are encrypted. A specific description of the encryption process will be given later.
[0069] The "vehicle identification information" is information for identifying a vehicle in which the map information is used, and may be, for example, a chassis number, a VIN (vehicle identification number), or a serial number of a device mounted on the vehicle. However, when the SD memory card 100 is shipped, it is not possible to determine which vehicle each SD memory card 100 will be used in. In other words, the map vendor and the manufacturer cannot determine the vehicle identification information. Therefore, a predetermined initial value of the vehicle identification information is described in the security information. The initial value will be rewritten to the vehicle identification information of a specific vehicle after the use of the card in the future begins. The vehicle identification information, the CID, and the version information are written to the SD memory card 100 as one encrypted file. The file may also be called a "vehicle identification file."
[0070] [Golden sample production process at map vendors] Next, the process performed by a map vendor who sells and supplies map information will be described with reference to FIG. The map vendor sends to the manufacturer map information indicating the map and security information used to determine whether or not the map can be used. The process and procedure performed by the map vendor at this time are shown in Figure 5.
[0071] First, the map vendor prepares a specific SD memory card with a known CID. In Fig. 5, this is shown as an SD memory card 100G with a known CID-G300 recorded on it. Such an SD memory card 100G may be, for example, an SD memory card 100 that has been specially provided by the manufacturer to the map vendor with information indicating the CID 300.
[0072] Process (1) in Fig. 5 shows how CID-G300 is input to the map vendor's PC 200. Process (1) also shows how vehicle identification information 302, map version information 304, and map information 306 are input to the map vendor's PC 200. As described above, the vehicle identification information 302 is a predetermined initial value. Note that the hardware configuration of the map vendor's PC 200 is the same as that in Fig. 4, and is therefore not shown in the figure.
[0073] In process (2) of FIG. 5, the map vendor's PC 200 encrypts the CID-G 300, the vehicle identification information 302, and the map version information 304 using a predetermined encryption method. As the encryption method, for example, a reversible encryption method using a secret key prepared in advance, a reversible encryption method using a public encryption key obtained in advance from the manufacturer, or an irreversible encryption method using a hash function may be adopted. The above-mentioned prepared secret key and hash function are shared in advance between the map vendor and the manufacturer. The secret key may also be called a common key. It is not essential to encrypt the CID-G 300, the vehicle identification information 302, and the map version information 304.
[0074] The encryption process generates provisional security information 308. The provisional security information 308 includes encrypted CID-G 308a, vehicle identification information 308b, and map version information 308c. In Fig. 5 and Fig. 6 and subsequent figures, "*" is added to the name of the information to indicate that it is encrypted.
[0075] Next, the map vendor's PC 200 executes process (3). In process (3), the map vendor's PC 200 copies the map information 306 and the generated temporary security information 308 to the user area 122 (FIG. 2) of the SD memory card 100G. As a result, the SD memory card 100G is recorded with the map information 306, the CID-G 300 that uniquely identifies the card, and the temporary security information 308. At this point, the CID-G 300 matches the CID-G 308a in the temporary security information 308, so the SD memory card 100G can be said to be a legitimate SD memory card. The SD memory card 100G obtained by process (3) is also called a "golden sample." In this specification, the memory card 100G may also be called a "host recording medium."
[0076] The term "golden sample" used in the manufacturing industry refers to a sample of the final product created by the product manufacturer. On the other hand, the "golden sample" used in this specification is not strictly a sample of the final product. This is because, as will be described later, the contents of the SD memory card 100G are not distributed to consumers as is. In each SD memory card 100 sold to each consumer, the encrypted CID-G 308a in the security information 308 is rewritten using each CID and then distributed.
[0077] In view of such circumstances, it is not essential that the provisional security information 308 included in the golden sample contains CID-G 308a, and any dummy data may be used. It is not essential that the data is encrypted either. For example, any data having the same number of bits as the number of bits of CID-G 300 in the SD memory card 100G may be used. Ultimately, it is sufficient that the CID recorded in the non-user area on the SD memory card 100 distributed to consumers corresponds to the encrypted CID in the security information.
[0078] Finally, in process (4), the map vendor sends the resulting SD memory card 100G to the manufacturer.
[0079] [SD memory card production process at the manufacturer] Next, following the process (4) by the map vendor, the processes (5) to (10) by the manufacturer after receiving the golden sample from the map vendor will be described with reference to Fig. 6. The manufacturer uses PC2 shown in Fig. 3 to copy the map information onto an unspecified number of SD memory cards 100, records security information in which the CID of each SD memory card 100 is encrypted, and produces the final product, the SD memory card.
[0080] In process (5), the manufacturer's PC2 reads the map information 306 and the temporary security information 308 from the SD memory card 100G obtained from the map vendor and stores them in the storage device 204. That is, the PC2 copies the map information 306 and the temporary security information 308 from the SD memory card 100G, which is the host recording medium, to the storage device 204, which is a recording medium different from the SD memory card 100A described below.
[0081] In process (6), PC2 copies the map information 306 and temporary security information 308 stored in PC2 to a new SD memory card 100A prepared by the manufacturer. The CID-A 320 of the SD memory card 100A is recorded in the management area 121b of the SD memory card 100A. At this point, the temporary security information 308 contains encrypted CID-G 308a, vehicle identification information 308b, and map version information 308c.
[0082] The SD memory card 100A is loaded into the SD tester 14 of the function testing device 6 (Fig. 3). The operation of writing and / or reading information to and from the SD memory card 100A by PC2 is performed via the central board 10. For the sake of simplicity, in the following, the description that the operation is performed via the central board 10 will be omitted, and it will be described as PC2 reading and writing information.
[0083] In process (7), the PC 2 decrypts the temporary security information 308 stored in the SD memory card 100A, resulting in the decrypted CID-G 308a, vehicle identification information 308b, and map version information 308c.
[0084] Next, in process (8), PC2 reads CID-A320 from the SD memory card 100A. Specifically, PC2 transmits a command to the SD memory card 100A to read a CID known to itself, and obtains CID-A320. Then, PC2 replaces the decrypted CID-G308a obtained in process (7) with the read CID-A320. As a result, security information 322 including CID-A320, vehicle identification information 308b, and map version information 308c is obtained.
[0085] The process of generating the security information 322 from the security information 308 will be described in more detail with reference to FIG.
[0086] If the SD memory card 100G and the SD memory card 100A are manufactured by the same manufacturer, it can be assumed that CID-G300 and CID-A320 are expressed by a numeric string with the same number of bits. Therefore, if the first bit of the read CID-A320 is placed at the first bit position of CID-G308a in the decrypted security information 308, and CID-G308a is subsequently replaced with CID-A320, it can be replaced with CID-A320 without being shifted by even a single bit from the original CID-G308a. When CID-G308a in the temporary security information 308 is rewritten with CID-A320, security information 322 unique to the SD memory card 100A is obtained.
[0087] In the above description, an example in which the security information 308 is decrypted is given, but it can be rewritten even in an encrypted state. For example, in the encrypted temporary security information 308, CID-G300, vehicle identification information 308b, and map version information 308c are each separable, and the first bit position and data length of each are fixed. CID-A320 is read and encrypted in advance. PC2 only needs to write the encrypted CID-A320 from the first bit position of CID-G308a. However, at this time, the data lengths of the encrypted CID-G300 and CID-A320 must also match. Even with this processing, it is possible to rewrite to the encrypted CID-A322a without shifting even one bit from the encrypted CID-G308a. When the encrypted CID-G308a of the security information 308 is rewritten to the encrypted CID-A322a, the security information 322 is obtained.
[0088] Referring again to FIG. In process (9), the PC2 encrypts the security information 322 using an encryption method specified by the map vendor. For example, the map vendor provides the manufacturer with a USB dongle 24 that stores software or a library for performing encryption using a predetermined encryption method. When the PC2 inputs the security information 322 into the software or library, the encrypted security information 322 is output as a result of the process. The PC2 rewrites the temporary security information 308 already present in the SD memory card 100A with the encrypted security information 322. The map information 306 is maintained as it is, and the CID-A 320 recorded in the non-rewritable non-user area 121 is also maintained as it is. The map information 306 is maintained as it is, and the CID-A 320 recorded in the non-rewritable non-user area 121 is also maintained as it is. As a result, the CID-A 320, the map information 306, and the encrypted security information 322 are recorded in the SD memory card 100A. By the above-mentioned operation of PC2, the security information 322 of the SD memory card 100A newly prepared by the manufacturer includes the CID-A320 of that SD memory card 100A. This realizes a mechanism that permits the use of the map information 306 only when the CID of the SD memory card is encrypted and included in the security information. Even if the map information 306 is copied, it is possible to prevent the map information 306 from being used illegally.
[0089] Note that the above-mentioned processes (7) to (9) for creating the security information 322 are merely examples, and various modified examples are possible. For example, the PC2 extracts the vehicle identification information 308b and the map version information 308c from the security information 308 obtained by the process (7). The PC2 creates the security information 322 by arranging the CID-A 320, the vehicle identification information 308b, and the map version information 308c in the memory in the order shown in Fig. 6, for example. The PC2 may then encrypt the security information 322 and rewrite the security information 308 in the SD memory card 100A with the encrypted security information 322.
[0090] The above-mentioned process and its variations can be said to conclude that the encrypted temporary security information 308 in the SD memory card 100A obtained by process (6) is rewritten into encrypted security information 322. Even if a method other than the above-mentioned process is used, the case where the encrypted temporary security information 308 is rewritten into encrypted security information 322 is still within the scope of the present invention.
[0091] For convenience, the above process has been explained using only one SD memory card. Multiple SD memory cards 100 can be loaded into the function testing device 6, and information can be written to and read from each of them independently and in parallel. For example, an example of the arrangement of multiple SD memory cards 100A-100Z loaded into the SD tester 14 is shown in FIG. 8. Also, the transition of information recorded on each of the SD memory cards 100A-100Z is shown in FIG. 9.
[0092] The SD memory cards 100A-100Z are in a state where no information exists in each user area 122, that is, in a blank state 402. Through the above-mentioned processing, common map information 306 and temporary security information 308 are recorded in each user area 122 of the SD memory cards 100A-100Z. As a result, the SD memory cards 100A-100Z transition to a state 404 in which the golden sample is simply copied. Thereafter, the temporary security information 308 of each SD memory card 100A-100Z is rewritten to security information 322, 324, ..., 326 corresponding to the CID of each SD memory card 100A-100Z. As a result, the SD memory cards transition to a state 406 in which the security information 322, 324, ..., 326 of each SD memory card 100A-100Z is recorded.
[0093] In this way, the security information for all SD memory cards loaded into the SD tester 14 can be rewritten to correspond to the individual CID.
[0094] Next, the above-mentioned process of PC2 will be explained with reference to Fig. 10. In the following, the above-mentioned CID will be described as "medium specific information", and the SD memory card will be described simply as "card".
[0095] In step S10, the CPU 202 of the PC 2 receives a signal indicating that preparation of all cards has been completed from the function inspection device 6. In the next step S11, the CPU 202 transmits the content information of the golden sample and the provisional security information to the function inspection device 6.
[0096] In step S12, the CPU 202 sends a command to the function inspection device 6 to write the content information and temporary security information of the golden sample into the user area of each card. The process of this step will be described in more detail later.
[0097] In step S13, the CPU 202 sends a command to the function inspection device 6 requesting it to read out the provisional security information and the medium identification information. This causes the CPU 202 to read out the provisional security information from the user area of each card, read out the medium identification information from the non-user area, and transmit each piece of provisional security information and medium identification information to the PC 2. In step S14, the CPU 202 receives each piece of provisional security information and medium identification information from the function inspection device 6.
[0098] In step S15, the CPU 202 decrypts the received provisional security information, replaces the golden sample medium-specific information in the provisional security information with each piece of medium-specific information to generate security information, and encrypts it. As described above, the encryption is performed using encryption software or a library provided by the map vendor.
[0099] In step S16, the CPU 202 transmits a command and the encrypted security information to the function inspection device 6, and causes the temporary security information recorded on each card to be rewritten with the encrypted security information.
[0100] Through the above processing, the PC 2 can record the map information 306 and the security information 322, 324, 326 rewritten according to the medium specification information of each SD memory card 100, in each SD memory card 100 loaded in the function inspection device 6. Note that while it is preferable to have the above-mentioned step S10 in practice, it is not essential and can be omitted.
[0101] Next, the details of the processes in steps S12 and S16 will be described. Both are processes for verifying that writing to the card has been performed appropriately.
[0102] First, the details of step S12 will be described with reference to FIG. In step S121, the CPU 202 of the PC 2 transmits to the function inspection device 6 a command to write to the user area 122 of each card, the map information 306 to be written, and the security information 308 of the golden sample.
[0103] In step S122, the CPU 202 receives a notification from the function inspection device 6 that writing has been completed.
[0104] The subsequent steps S123 and thereafter are processes for verifying whether the information to be written has been written correctly. In step S123, the CPU 202 transmits a command to read the map information and security information written in the user area 122 of each card to the function inspection device 6. The read command includes a command to transmit the read information to the CPU 202.
[0105] In step S124, the CPU 202 receives from the function inspection device 6 the map information and security information read from the user area 122 of each card. In step S125, the CPU 202 verifies, for all cards, whether the map information 306 transmitted to the function inspection device 6 matches or does not match the map information received from the function inspection device 6. Similarly, the CPU 202 verifies, for all cards, whether the security information 308 transmitted to the function inspection device 6 matches or does not match the security information received from the function inspection device 6.
[0106] In step S126, the CPU 202 determines whether the verification results for all cards match. If they match, the CPU 202 ends the process of step S12 and proceeds to the process of step S13 in Fig. 10. On the other hand, if the verification results show that even one card does not match, the process proceeds to step S127.
[0107] In step S127, the CPU 202 acquires a notification of the position of the card indicating a mismatch from the function testing device 6. The CPU 202 lights up the point light source 16 of the indicator 8 at a position corresponding to the position of the card indicating the mismatch notified, to notify the user of the error.
[0108] In step S128, the CPU 202 judges whether or not the error notification is the first time. If the error notification is the first time, that is, if it is the first time, the process is retried from step S121. At this time, the manufacturer checks, for example, whether there is a poor contact between each terminal of the SD tester 14 and each pin of the card. It has been found from experience that writing errors often occur due to poor contact. Therefore, when the process is started again from step S121 after checking for poor contact, the verification results often match.
[0109] On the other hand, if an error notification has been issued before and this is the second time, the CPU 202 determines that an error exists in the card and stops processing.
[0110] Next, step S16 in FIG. 10 will be described in detail with reference to FIG. In step S161, CPU 202 of PC 2 transmits an information rewrite command and the encrypted security information of each card to be used for the rewrite to function testing device 6. In response to the rewrite command, function testing device 6 rewrites temporary security information 308 for each card to encrypted security information 322. In step S162, CPU 202 receives a notification from function testing device 6 that the rewrite has been completed.
[0111] In step S163, CPU 202 transmits a command to read the security information of each card to function testing device 6. In response to the command, function testing device 6 reads the security information of each card. In step S164, CPU 202 receives the security information read from each card from function testing device 6.
[0112] In step S165, after transmitting the encrypted security information to the function testing device 6, the CPU 202 verifies whether the encrypted security information it has been holding and the security information received from the function testing device 6 match or do not match for all cards.
[0113] The processes in steps S166, S167, and S168 are the same as the processes in steps S126, S127, and S128 in FIG. 11, respectively.
[0114] In step S166, the CPU 202 determines whether the verification results show a match. If a match is found, the CPU 202 ends the process of step S16. That is, the process of Fig. 10 also ends. On the other hand, if the verification results show that even one sheet does not match, the process proceeds to step S167.
[0115] In step S167, the CPU 202 acquires a notification of the position of the card indicating a mismatch from the function testing device 6. The CPU 202 lights up the point light source 16 of the indicator 8 at a position corresponding to the position of the card indicating the notified mismatch, thereby notifying the user of the error.
[0116] In step S168, CPU 202 determines whether the error notification is the first time. If the error notification is the first time, the process is retried from step S161. At this time, the manufacturer checks whether there is a contact failure between each terminal of SD tester 14 and each pin of the card, for example.
[0117] On the other hand, if an error notification has been issued before and this is the second time, the CPU 202 determines that an error exists in the card and stops processing.
[0118] Map information and security information are recorded in the user area 122 of the SD memory card 100 produced by the above process. The security information contains encrypted version information, the CID of each SD memory card 100, and vehicle identification information. If the map information is copied to another SD memory card with or without the security information, the car navigation device will not allow the use of that map information. This is because there is no security information including the CID of the destination SD memory card. As a result, even if map information is distributed using an SD memory card, only users who have legitimately purchased it from the map vendor can use that map information in their car navigation devices.
[0119] In the above example of SD memory card 100, it has been explained that the CID of SD memory card 100 is recorded in management area 121b in non-user area 121. Because the user cannot rewrite the data in non-user area 121, recording the CID in management area 121b can prevent the CID from being tampered with, thereby maintaining higher security. However, such a non-user area 121 may not exist, and the CID may be stored in a memory card provided only with a user area in which the user can rewrite data, and security information may be rewritten based on this CID.
[0120] In the above description, the temporary security information recorded on the SD memory card 100 is rewritten to encrypted security information by overwriting. However, the rewriting process by overwriting is not essential. For example, the temporary security information 308 may be moved from the SD memory card 100A to a memory of PC2 or other recording medium, and the temporary security information 308 may be temporarily erased from the SD memory card 100. After that, the security information 322 generated by PC2 may be written to the recording area of the SD memory card 100A. Alternatively, the temporary security information 308 may be left on the SD memory card 100A, and the security information 322 generated by PC2 may be added. In short, it is sufficient that the security information 322 is finally recorded on the SD memory card 100A.
[0121] The embodiments of the present invention have been described above. The present invention is not limited to the above-described embodiments, and other embodiments in which appropriate changes, substitutions, additions, omissions, etc. are made are also within the scope of the present invention. For example, permission to use map information recorded on an SD memory card is determined using the CID of the SD memory card in the security information. Therefore, it is sufficient for the security information to include at least the CID of the SD memory card, and it is not essential that the security information include map version information and / or vehicle identification information.
[0122] In addition, the accompanying drawings and detailed description are provided to explain the embodiments of the present invention. It should be noted that the accompanying drawings and detailed description include contents that are not essential for solving the problem, and all of them are not essential for solving the problem. [Explanation of symbols]
[0123] 1. Production System 2 PC 4. Display 6. Functional inspection equipment 8. Indicators 10 Central Board 14 SD Tester 16 point light source 24 USB dongle 100 SD memory cards 202 Arithmetic circuit (CPU) 204 Storage device 206 Communication I / F (Interface)
Claims
1. A method for producing a recording medium having a recording area in which content information indicating a content and security information for security of the content information are recorded, comprising the steps of: In the recording area, medium specification information that uniquely identifies the recording medium itself is recorded in advance, (a) writing temporary security information including given information different from the medium identification information and the content information into the recording area; (b) reading the medium identification information and the temporary security information from the recording area; (c) replacing the given information in the temporary security information with the medium specific information; (d) encrypting the temporary security information in which the given information has been replaced with the medium specific information to generate the security information; (e) recording the security information generated in the step (d) in the recording area; A method for producing a recording medium comprising the steps of:
2. (f) copying the temporary security information and the content information from a host recording medium on which originals of the temporary security information and the content information are recorded onto a recording medium different from the host recording medium; The method of claim 1 , wherein step (a) is performed after step (f).
3. 3. The production method of claim 2, further comprising the steps of: (g) verifying whether the temporary security information written in step (a) matches an original of the temporary security information; and verifying whether the content information written in step (a) matches the original.
4. 4. The method of claim 3, further comprising the step of reporting an error if at least one of the verification results in step (g) indicates a mismatch.
5. 5. The method of claim 4, further comprising the step of retrying step (g) if the error is reported.
6. 4. The method of claim 3, further comprising the steps of: executing steps (b) through (e) when both verification results in step (g) indicate a match.
7. (h) reading the security information from the recording area of the recording medium, and verifying whether the medium specification information in the read security information matches the medium specification information encrypted in step (d), The method of claim 1 , wherein step (h) is carried out after step (e).
8. 8. The production method according to claim 7, further comprising the step of reporting an error if the verification result in said step (h) indicates a mismatch.
9. 9. The method of claim 8, further comprising the step of retrying step (h) if the error is reported.
10. The production method according to claim 1 , wherein the content information is map information indicating a map as the content.
11. the temporary security information written in step (a) further includes vehicle identification information for identifying a vehicle in which the map information is used, and version information indicating a version of the map information; The method of claim 10, wherein said step (d) encrypts said vehicle specific information and said version information.
12. The temporary security information is pre-encrypted, (i) decrypting the temporary security information, which is encrypted; 12. The method of claim 11, wherein step (i) is performed after step (b) and step (c) is performed after step (i).
13. the recording medium is an SD memory card, the recording area includes a user area in which a user can rewrite data and a non-user area in which the user cannot rewrite data, The medium-specific information is recorded in advance in the non-user area, The step (a) includes writing the temporary security information and the content information into the user area; The step (b) reading the medium specification information by transmitting a read command to the recording medium for reading the medium specification information from the non-user area, and obtaining the medium specification information transmitted from the recording medium in response to the read command; and reading the temporary security information from the user area; 13. A method according to any one of claims 1 to 12.
14. (j) receiving a notification indicating that the recording medium to be recorded is ready; The method of any one of claims 1 to 13, further comprising performing step (a) after receiving said notification.
15. 15. The method of claim 14, wherein the notification received in step (j) is a signal indicating that the plurality of recording media are ready.
16. There are a plurality of recording media; 10. The production method according to claim 4, wherein the notification of the error includes information for identifying the recording medium for which the verification result indicates a mismatch, among the plurality of recording media.
17. A communication interface for communicating with an external device; A storage device; Arithmetic circuit and 16. An apparatus for executing the production method according to claim 15 using the arithmetic circuit, comprising: the storage device stores the content information and the temporary security information including the given information; The operational circuitry, in response to receiving the signal, reading the content information and the temporary security information from the storage device and transmitting them to a function inspection device via the communication interface; causing the functional inspection device to carry out steps (a) and (b); receiving the medium identification information and the temporary security information from the function inspection device via the communication interface; Carrying out step (d), transmitting the security information generated by executing step (d) to the function inspection device via the communication interface; causing the functional inspection device to execute step (e); Device.
18. The operational circuitry of the apparatus of claim 17 further comprises: a process of reading the content information and the temporary security information from the storage device; a process of transmitting the content information and the provisional security information to the function inspection device via the communication interface; a process of transmitting a command to the functional inspection device to execute steps (a) and (b); receiving the medium identification information and the provisional security information from the function inspection device via the communication interface; A process of executing the step (d); a process of transmitting the security information generated by executing the step (d) to the function inspection device via the communication interface; A process of transmitting a command to the functional inspection device to execute step (e); A computer program that executes the following:
Citation Information
Patent Citations
Reproducing permission method, recording method, and recording medium
JP1998283270A
Recording medium, reproducing device and recording device, reproducing method and recording method, and reproducing processing program and recording processing program
JP2003196922A
Information recording device, information reproduction device and program therefor
JP2004046452A
Software copy processing device and method, and computer-readable record medium with program for copying software recorded
JP2004145905A
JP2005‐331579A
