WO2006003781A1 - Backup device, and car-mounted device - Google Patents

Backup device, and car-mounted device Download PDF

Info

Publication number
WO2006003781A1
WO2006003781A1 PCT/JP2005/010711 JP2005010711W WO2006003781A1 WO 2006003781 A1 WO2006003781 A1 WO 2006003781A1 JP 2005010711 W JP2005010711 W JP 2005010711W WO 2006003781 A1 WO2006003781 A1 WO 2006003781A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
written
nonvolatile memory
power
needs
Prior art date
Application number
PCT/JP2005/010711
Other languages
French (fr)
Japanese (ja)
Inventor
Kazuo Yabe
Original Assignee
Pioneer Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pioneer Corporation filed Critical Pioneer Corporation
Publication of WO2006003781A1 publication Critical patent/WO2006003781A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents

Definitions

  • the present invention relates to a backup device, an in-vehicle device, a knock-up method, a knock-up program, and a recording medium.
  • NVM non-volatile memory
  • a technique for writing data in a nonvolatile memory is disclosed (for example, see Patent Document 1 below).
  • Patent Document 1 Japanese Patent Application Laid-Open No. 2001-56226
  • the backup device includes a non-volatile memory for storing knock-up data and a power source detection for detecting the state of the power source.
  • the control means writes the data to the non-volatile memory when the detection means detects data that needs to be written to the non-volatile memory when the power is on.
  • the in-vehicle device is a volatile device that stores data used for operation processing of the in-vehicle device in the in-vehicle device that is mounted on the vehicle and operates by receiving power supply from the vehicle.
  • Volatile memory non-volatile memory for storing knock-up data
  • power detection means for detecting the state of the power, and backup target data stored in the volatile memory when the power is on.
  • a detection unit that detects data that needs to be written to the nonvolatile memory; and a control unit that controls storage of data by the nonvolatile memory.
  • the control unit is configured to detect the detection in a power-on state. When data that needs to be written to the nonvolatile memory is detected by the means, the data is written to the nonvolatile memory.
  • the backup method according to the invention of claim 13 is a knock-up method for storing information that needs to be knocked up in a non-volatile memory.
  • the control step is characterized in that, when the data that needs to be written in the nonvolatile memory is detected by the detection step in the power-on state, the data is written in the nonvolatile memory.
  • a backup program according to the invention of claim 14 causes a computer to execute the backup method according to claim 13.
  • a computer-readable recording medium according to the invention of claim 15 records the backup program according to claim 14.
  • FIG. 1 is a block diagram showing a configuration of a backup device according to Embodiment 1.
  • FIG. 2 is a flowchart showing the overall operation of the backup apparatus according to the first embodiment.
  • FIG. 3 is a flowchart showing the processing contents of the initial processing of FIG.
  • FIG. 4 is a flowchart showing the processing contents of the writing process 2 of FIG.
  • FIG. 5 is a chart showing data contents stored in the nonvolatile memory according to the second embodiment. It is.
  • FIG. 6 is a chart showing the contents of identifiers stored in the nonvolatile memory according to the second embodiment.
  • FIG. 7 is a flowchart showing the overall operation of the backup device according to the second embodiment.
  • FIG. 8 is a flowchart showing details of the initial process shown in FIG.
  • FIG. 9 is a flowchart showing details of the writing process 1 shown in FIG.
  • FIG. 10 is a flowchart showing details of the writing process 2 shown in FIG. Explanation of symbols
  • NVM Nonvolatile memory
  • This backup device writes and holds the data indicating the operating state when receiving power supply to the nonvolatile memory when the power is shut off, and reads the data from the nonvolatile memory when the power supply is resumed thereafter. It returns to the operating state immediately before the shut-off.
  • FIG. 1 is a block diagram showing a configuration of a backup device according to the first embodiment.
  • Knock The uploading device 1 includes a control unit (CPU) 2 for writing data, a ROM 3 containing a program for operating the control unit 2 and initial values of data, and a control unit 2 executing control.
  • RAM4 that temporarily holds data, and backup target that is stored in RAM area for NVM among data stored in RAM4 when power supply to the device is cut off (including power off by power switch operation) It consists of a non-volatile memory (NVM) 5 that stores and holds data, and a power detection unit 6 that detects the power supply status (including on / off of the power switch) to the device.
  • NVM non-volatile memory
  • the power supply circuit (not shown) of the backup device supplies power for operation for writing data to the NVM 5 only for a predetermined time after the power supply cutoff (off) to the device is detected. It has a function of auxiliary power to assist.
  • This backup device is applied to various devices that need to store * retain the backup target data stored in the RAM area for NVM among the data stored in RAM4 when the power supply to the device is cut off be able to.
  • FIG. 2 is a flowchart showing the overall operation of the backup device according to the first embodiment.
  • Step Sl determine the force at which the power supply to the device is detected (Step Sl). Here, it waits for power-on detection (step SI: No loop).
  • step SI No loop
  • step S1 Yes
  • step S2 initial processing is executed (step S2).
  • step S3 it is determined whether there is data that needs to be written to the NVM 5 among the backup target data (step S3). If there is no data that needs to be written, wait until there is data that needs to be written (step S3: No loop). If there is write data (step S3: Yes), this data is written to NVM5 (step S4).
  • the writing process in step S4 is executed when the apparatus is turned on (for convenience, the writing process 1 is described in the figure).
  • step S3 The determination of whether or not there is data that needs to be written in step S3 can be determined as data that needs to be written when there is changed data in the backup target data. . Also, when the data to be knocked up is compared with the data stored in NVM5, when there is different data for the data stored in NVM5 among the data to be backed up, it is necessary to write this different data It may be determined as correct data. Also, depending on the situation, one of the above-described method of using the changed data as the data that needs to be written and the above-mentioned method of using the different data as the data that is necessary for the writing may be used. You can also use other methods to determine what data needs to be written.
  • step S5 power-off detection for the apparatus is performed. While power-off is not detected (Step S5: No loop), return to Step S3.
  • step S5: Yes power-off is detected (step S5: Yes)
  • step S6 a predetermined amount of data is written to NVM5 using the auxiliary power supply (step S6), and the processing is terminated.
  • step S6 is executed when the apparatus is turned off (denoted as write process 2 in the figure), and can be written during the power supply for a predetermined time supplied by the auxiliary power supply. Write the amount of data to NVM5.
  • the writable data amount can be set in advance corresponding to a predetermined time supplied by the auxiliary power supply.
  • FIG. 3 is a flowchart showing the contents of the initial process of FIG.
  • FIG. 4 is a flowchart showing the processing contents of the writing process 2 of FIG.
  • step S21 it is determined whether there is data that needs to be written to NVM5 among the backup target data. If there is no data that needs to be written (step S21: No), the process is terminated.
  • step S21: Yes it is determined whether the amount of data to be written is greater than or equal to a predetermined amount (step S22). This predetermined amount refers to the amount of data that can be written in a predetermined time supplied by the auxiliary power supply.
  • step S22 If the amount of data to be written is greater than or equal to the predetermined amount (step S22: Yes), the predetermined amount of data that needs to be written to NVM5 is written (step S23), and the process is terminated. On the other hand, if the amount of data that needs to be written has reached a predetermined amount (step S22: No), all data is written to NVM5 (step S24), and the process is terminated. In addition, In step S23, it may be possible to write only the amount of data that is suitable for writing within a predetermined amount of data that needs to be written.
  • data is written to the NVM when the power supply to the device is turned on and off, respectively.
  • the second embodiment is an example in which the backup device of the present invention is applied to a radio device, a TV device, a car navigation device mounted on a vehicle, or an in-vehicle device having a plurality of these functions.
  • This knock-up device operates when such an on-vehicle device is supplied with power, and writes and holds user data indicating the operating state at the time of power-off in the nonvolatile memory, and then supplies power after that.
  • user data is read from the non-volatile memory, and the in-vehicle device is returned to the operating state immediately before the power is turned off.
  • the overall configuration of the apparatus is the same as that of Fig. 1 described above, and a detailed description thereof is omitted.
  • the power supply to the equipment is also performed by accessory (Acc) power supply and battery (Bup) power supply.
  • Accessory power is supplied when the vehicle accessory (Acc) switch is turned on.
  • the in-vehicle device is activated when the accessory power supply starts, and shifts to a low-consumption mode that waits after the accessory power supply is shut off by turning off the accessory switch. Knotter power is always supplied to the equipment. However, the battery power supply will be interrupted when the battery is replaced.
  • the power supply circuit (not shown) of the knock-up device is the power supply for operation to write data to the NVM5 until the transition to the low power consumption mode is detected after the cutoff of the knotter power supply is detected. Auxiliary power supply function to supply Yes.
  • FIG. 5 is a table showing data contents stored in the nonvolatile memory according to the second embodiment.
  • FIG. 6 is a chart showing the contents of identifiers stored in the nonvolatile memory according to the second embodiment.
  • Device power is supplied!
  • User data when the user operates the on-board device in a state of speaking is written to the RAM area for NVM in RAM4.
  • this user data includes values indicating the frequencies and channels of multiple radio stations selected by the user, values of electronic volume (Vol) during radio playback, and sound. It also includes preset values such as the value of the field setting (for example, low frequency sound, mid frequency sound, high frequency sound) and the setting value for each frequency of the equalizer.
  • this user data is the backup target data.
  • the data content 20 shown in FIG. 5 is written to the RAM area for NVM RAM4 when power is supplied to the device! /, But the data contents written to this RAM area for NVM when the power is turned off. 20 is also transferred to NVM5 for writing.
  • the data content 20 includes a unique code 21, a plurality of user data 22 (22a to 22n), and a calculated value indicating the reliability of the written data content, for example, CS (checksum) 23.
  • the unique code 21 is used to check whether or not the data content 20 is broken in the initial processing described later.
  • Each user data 22 (22a to 22n) stores, for example, preset values of channels and frequencies of a plurality of radio stations selected by the user. Specifically, the user data 1 (22a) is written as chl: 81.3 MHz, the user data 2 (22b) is written as ch2: 82.5 MHz, and so on.
  • chl 81.3 MHz
  • the user data 2 (22b) is written as ch2: 82.5 MHz, and so on.
  • a predetermined calculation for detecting reliability is performed using the data value of the user data 22 (22a to 22n). The checksum result value is written.
  • the identifier content 30 shown in FIG. 6 is written in the NVM RAM area of the RAM 4.
  • the identifier content 30 is a flag that also has bit data power, and a flag 31 for user data 32 corresponding to each of the states of the overall flag 31 and the plurality of user data 22 (22a to 22n) shown in FIG. 32a to 32n) and a CS flag 33.
  • the overall flag 31 is any one of the user data flags 32 (32a to 32n). This flag is used to determine whether the status is “changed” or “writing”. That is, when all the data in the user data flag 32 is in the “no change” state, it indicates the “no change data” state, and any one of the user data flags 32 is “changed” or When it is in the “writing” state, it indicates the state of “with change data”.
  • These flags 31, 32, and 33 all indicate the rewrite status when the user data 21 in the NVM RAM area of the RAM 4 is rewritten based on the preset operation of the device by the user. Is set. Each flag is one of three states: “no change” for the data content 20 shown in FIG.
  • FIG. 7 is a flowchart showing the overall operation of the backup apparatus according to the second embodiment.
  • Fig. 7 shows the processing in a state where an in-vehicle device equipped with a knock-up device is mounted on the vehicle.
  • step S31 it is determined whether the battery (Bup) power supply is detected when the battery (Bup) power supply is connected to the device for the first time after shipment, or when it is determined that a reset start will be performed as described later. S31). While the battery (Bup) power supply is off (step S31: No loop), wait until the battery (Bup) power supply is detected. When it is detected that the battery (Bup) power is turned on (step S31: Yes), an initial process described later is executed (step S32).
  • step S33 the power source detection unit 6 detects the operation of the accessory (Acc) switch by the user (step S33).
  • step S33 standby for accessory power supply by turning on the accessory switch (step S33: No loop) o
  • step S34 writing to NVM5 is performed.
  • step S34 The presence / absence of necessary user data is determined (step S34).
  • the presence / absence of user data that needs to be written is determined by detecting the flag status of identifier content 30 (see Fig. 6). When the overall flag 31 of the identifier content 30 is “no change data”, it is determined that there is no user data that needs to be written (step S34: No loop), and there is user data that needs to be written (occurs). ).
  • step S35 When the overall flag 31 of the identifier content 30 is "change data exists", among the flags of the user data flag 32 (32a to 32n), the data content 20 is "changed” Indicates that there is a flag in the state of “Writing” (step S34: Yes), so NVM5 has “changed” or “write” among the flags of user data flag 32.
  • the user data 22 (22a to 22n) corresponding to the “medium” flag is written (step S35).
  • the writing process in step S35 is executed when the apparatus is turned on (for convenience, the writing process 1 is described in the figure).
  • step S35 the write permission process is executed before the start of the user data write start process. Details of the writing process 1 in step S35 will be described later.
  • the power source detection unit 6 detects the disconnection of the accessory power supply by the operation of the accessory (Acc) switch or the disconnection (off) of the battery (Bup) power supply (step S36).
  • the process returns to step S34 to determine whether there is data that needs to be newly written.
  • step S36 When supply (Acc) power supply or battery (Bup) power supply cut-off (off) is detected (step S36: Yes), a process of writing user data that needs to be written to NVM5 is performed. Execute (Step S37). Details of the writing process in step S37 will be described later.
  • the writing process in step S37 is executed when the apparatus is turned on (for convenience, the writing process 2 is described in the figure).
  • the writing process 2 in step S37 and the writing process 1 in step S35 are the same in that they are writing processes related to user data, but the processing contents are different as described later.
  • step S37 After execution of step S37, the in-vehicle device shifts to a low-consumption mode in which it waits in a state of not receiving power supply, and ends a series of operations.
  • reset It is determined whether or not to start step S38.
  • step S38 After the execution of step S37, if the battery (Bup) power supply is turned off and the power supply voltage of the device falls below the reference voltage, it is determined that a reset start is performed (step S38: Yes). In this case, the process ends.
  • step S38 if the power supply voltage of the device is higher than the reference voltage, it is determined that the reset start is not performed (step S38: No). In this case, return to step S33 to perform power-on detection.
  • the power supply circuit of the knock-up device uses the function of the auxiliary power supply to detect data for NVM5 until the battery (Bup) power supply cutoff is detected and the power is shifted to the low power consumption mode.
  • the power supply for operation for writing is continuously supplied.
  • step S33 onward is executed in the same manner as described above.
  • FIG. 8 is a flowchart showing details of the initial process shown in FIG.
  • the data content 20 of NV M5 is read (step S41). Since it is in the initial state, normally, the unique code 21 is not written in NVM5 shown in FIG. 5, or CS23 does not match (step S42: No). In this case, the initial value of ROM data stored in advance in ROM 3 is expanded in RAM 4 (step S43).
  • the initial value of the ROM data is set as the user data 22 of the data area 20 (see FIG. 5) of the RAM 4 operation area and the NVM RAM area.
  • this initial value is the user data l to n (chl: 81.3 MHz, ch2: 82.5 MHz, etc.) that are set as the initial values. 22a to 22n).
  • the unique code 21 and the value of CS23 calculated using the initial value are also written.
  • each flag of user data flag 32 (32a to 32n) of identifier content 30 is the value of user data 22 (22a to 22n).
  • step S42 if there is a unique code 21 and the CS matches (step S42: Yes), it is determined that the data stored in NVM5 is normal, and NVM5
  • the data read from is expanded to RAM4 (step S44). Specifically, it is set as the data contents 20 (see Figure 5) in the RAM4 operation area and RAM4 NVM RAM area. At this time, the value of CS23 read in step S41 is also written. Then, among the user data flags 32 (32a to 32n) of the identifier content 30, the data content 20 is set to the “no change” state for the flag (see FIG. 6) in which the user data 22 (22a to 22n) is written.
  • FIG. 9 is a flowchart showing details of the writing process 1 shown in FIG. The details of the writing process in the state where the power is supplied to the apparatus are shown. If it is determined in step S34 that there is data that needs to be written, it is executed as a process of writing to NVM5.
  • step S51 The data to be written is written with a fixed data length.
  • step S51: No the data content 20 shown in FIG. 5 is written to NVM5 (step S55).
  • step S51: Yes the user data flag 32 (32a to 32n) of the corresponding data identifier content 30 shown in FIG.
  • step S52 the data is read from NVM5 (step S52), and the read data is compared with the user data 22 in the NVM RAM area of RAM4 to compare ( Step S53).
  • step S53 Yes
  • all user data flags 32 32a to 32 ⁇
  • identifier contents 30 are set.
  • the data content 20 is rewritten to “no change”, the above writing process is terminated (step S54), and the process is terminated.
  • step S53: No only the data in the inconsistent part is set as the write target again (step S56). In this case, the writing process in steps S51 to S55 is executed again.
  • the data content 20 is composed of a plurality of user data 22 (22a-22n). Therefore, in step S53, if any of the plurality of user data 22 does not match, the data is written again. Therefore, the user data 22 in the RAM area for NVM of RAM4 can be written to NVM5 without fail.
  • FIG. 10 is a flowchart showing details of the writing process 2 shown in FIG. Details of the writing process in the state immediately after the supply of power to the device was cut off were shown.
  • the power source detection unit 6 detects whether or not the accessory (Acc) power source is turned off in a state where the knotter (Bup) power source is on (supplied) (step S61).
  • the accessory (Acc) switch is turned off and the accessory power supply is turned off (step S61: Yes)
  • writing to NVM5 is started.
  • the user data set by the user overwrites the NVM RAM area of RAM4 only for data in which the operation area in RAM4 and the contents of the NVM RAM area are different. That is, if user data 22 (22a to 22n) constituting the data content 20 has different user data 22 in the operation area in the RAM 4 and the content of the NVM RAM area, this user data 22 is written in the corresponding area of the RAM area for NVM in RAM4 (step S62). For example, when the user changes the preset value of chl: 81.3 MHz on the radio device, the user data 1 (22a) part shown in Fig. 5 is rewritten.
  • step S63 it is determined whether or not this writing is completed (step S63). If the writing is completed (step S63: Yes), the writing process for NVM5 is terminated.
  • the power supply detection unit 6 continues to detect whether or not the power of the notary (Bup) power supply is on (supplied and supplied). That is, in the judgment of completion of writing of the data content 20 (step S63), if the writing of the data content 20 to the NVM5 is completed! / ⁇ , if it is during the period (step S63: No), return to step S61. To do. After that, the power detection unit 6 detects the state of the battery (Bup) power supply. (Step S61 and Step S64). While the battery (Bup) power is on (supplied and supplied) in this state (Step S64: No), the execution of Step S61 to Step S63 will continue to write the data content 20 to NVM5. It has become.
  • step S64 If the power source detection unit 6 detects that the battery (Bup) power supply is cut off (off) after the start of the writing of the data content 20 in step S62 until the writing in step S63 is completed (step S64: (Yes), after the data content 20 being written is written in units of user data 22 (22a to 22n), the write process is stopped (step S65), the write inhibit setting process is performed (step S66), and the low Transition to consumption mode.
  • the power supply circuit of the knock-up device 1 uses the function of the auxiliary power supply to detect the time when the battery (Bup) off is detected and the time until the power shifts to the low power consumption mode. Supply power for operation for writing and enable processing in step S65.
  • step S61 the accessory (Acc) power supply is turned off, and after the data content 20 starts to be written, the battery (Bup) power supply voltage drops or the knotter is removed. In such a case, the power supply to the knock-up device 1 is completely cut off.
  • step S64 this notch (B up) power supply cut-off is detected.
  • step S65 the writing process is stopped in units of user data 22 (22a to 22n). As a result, even if the supply of battery (Bup) power is cut off during writing of certain user data 22a, writing of the user data 22a being written can be completed.
  • the user data 22 is rewritten based on, for example, the user performing a preset operation on the device when the in-vehicle device including the backup device is mounted on the vehicle.
  • the user data flag 32 is used, only the changed user data 22a to 22n of the changed data content 20 (user data 22) is rewritten to NVM5. As a result, it is not necessary to rewrite the entire data content 20, and the rewriting time can be shortened.
  • the data is written to the NVM 5 as follows: a: Of the changed data content 20 (user data 22) by using the user data flag 32 described above, The process of writing only the changed user data 22a to 22n and b: In step S53, the user data 22 and the data already written in NVM5 are compared! In this configuration, different data is detected for the data written in NVM5, and in step S56 etc., this different data is set as a write target in NVM5 and written. In this process a, the data content is determined only by the flag, so the determination processing time can be shortened. On the other hand, processing b compares the data contents, so that it is possible to reliably detect data that needs to be written. By executing these processes a and b in accordance with usage conditions and settings, a more suitable backup process can be executed.
  • the preset value of the in-vehicle device can be changed to the value just before the power shut-off just by restarting the battery (Bup) power supply without setting the user data again. It will be possible to return to the original state.
  • the data necessary for backup to be written to the nonvolatile memory can be written when the power to the device is shut off.
  • the time can be reduced and the time can be shortened.
  • the data written to the nonvolatile memory (NVM) 5 is the preset value (user data 22) when the user operates the in-vehicle device.
  • the present invention is not limited to this.
  • the present invention can also be applied to a configuration in which data such as a program executed by the control unit 2 is written in a nonvolatile memory as backup target data.
  • the backup method described in the present embodiment can be realized by executing a program prepared in advance on a computer such as a personal computer or a workstation.
  • This program is recorded on a computer-readable recording medium such as a hard disk, a flexible disk, a CD-ROM, an MO, and a DVD, and is executed when the recording medium force is also read by the computer.
  • this program may be a transmission medium that can be distributed via a network such as the Internet.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

A backup device (1) comprises a nonvolatile memory (5) for storing information, a power detection unit (6) for detecting the supply state of a power source, a control unit (2) for controlling the storage of information in the nonvolatile memory (5), a ROM (3) having a program for activating the control unit (2) and the initial value of data, and a RAM (4) for temporarily storing the data being controlled by the control unit (2). The control unit (2) writes the data to be written in the nonvolatile memory (5), when the data is detected in the ON state of the power source, in the nonvolatile memory, and also writes only the data that has changed with respect to the data already written in the nonvolatile memory, in the nonvolatile memory (5) when the interruption of the power supply is detected by the power detection unit (6).

Description

明 細 書  Specification
ノックアップ装置および車載機器  Knock-up device and in-vehicle device
技術分野  Technical field
[0001] この発明は、バックアップ装置、車載機器、ノックアップ方法、ノ ックアッププロダラ ムおよび記録媒体に関する。  [0001] The present invention relates to a backup device, an in-vehicle device, a knock-up method, a knock-up program, and a recording medium.
背景技術  Background art
[0002] 従来、不揮発性メモリ(NVM :Non Volatile Memory)に対してデータを書き込 む技術の一例としては、例えば、装置の電源オフ時にそれまで実行していた処理の ノ ックアップに必要なデータを不揮発性メモリに書き込む技術が開示されて 、る(例 えば、下記特許文献 1参照。 ) o  Conventionally, as an example of a technique for writing data to a non-volatile memory (NVM), for example, data necessary for knocking up a process that has been executed until the apparatus is turned off. A technique for writing data in a nonvolatile memory is disclosed (for example, see Patent Document 1 below).
[0003] 特許文献 1 :特開 2001— 56226号公報  [0003] Patent Document 1: Japanese Patent Application Laid-Open No. 2001-56226
発明の開示  Disclosure of the invention
発明が解決しょうとする課題  Problems to be solved by the invention
[0004] し力しながら、上記従来の技術では、装置の電源オフ時に不揮発性メモリに書き込 むデータ量に対応した書き込みの最大時間の電源供給を保証する必要が生じたり、 書き込むデータ量を制限しなければならないという問題が一例として挙げられる。ま た、不揮発性メモリの代わりに SRAM等の揮発性メモリを用いた場合には、予備の電 池を用いて揮発性メモリに対する電源供給を続けて書き込んだデータを保持し続け なければならな!/ヽと 、う問題が一例として挙げられる。 [0004] However, in the above conventional technology, it is necessary to guarantee the power supply for the maximum time of writing corresponding to the amount of data written to the nonvolatile memory when the apparatus is turned off, or the amount of data to be written is reduced. The problem of having to limit is an example. If volatile memory such as SRAM is used instead of non-volatile memory, power must be continuously supplied to the volatile memory using a spare battery to keep the written data! An example is the problem of / ヽ.
課題を解決するための手段  Means for solving the problem
[0005] 上述した課題を解決し、目的を達成するため、請求項 1の発明に力かるバックアツ プ装置は、ノ ックアップ用のデータを記憶する不揮発性メモリと、電源の状態を検出 する電源検出手段と、電源オン状態の時に、バックアップ対象データのうち前記不揮 発性メモリへの書き込みが必要なデータを検知する検知手段と、前記不揮発性メモリ によるデータの記憶を制御する制御手段とを備え、前記制御手段は、電源オン状態 の時において、前記検知手段によって前記不揮発性メモリに書き込みが必要なデー タが検知された場合に、当該データを前記不揮発性メモリに書き込むことを特徴とす る。 [0005] In order to solve the above-mentioned problems and achieve the object, the backup device according to claim 1 includes a non-volatile memory for storing knock-up data and a power source detection for detecting the state of the power source. Means, detecting means for detecting data that needs to be written to the non-volatile memory among backup target data when the power is on, and control means for controlling storage of data by the nonvolatile memory. The control means writes the data to the non-volatile memory when the detection means detects data that needs to be written to the non-volatile memory when the power is on. The
[0006] また、請求項 7の発明にかかる車載機器は、車両に搭載され、当該車両から電源の 供給を受けて動作する車載機器において、前記車載機器の動作処理に用いるデー タを記憶する揮発性メモリと、ノ ックアップ用のデータを記憶する不揮発性メモリと、 前記電源の状態を検出する電源検出手段と、電源オン状態の時に、前記揮発性メモ リに記憶されているバックアップ対象データのうち前記不揮発性メモリへの書き込み が必要なデータを検知する検知手段と、前記不揮発性メモリによるデータの記憶を 制御する制御手段とを備え、前記制御手段は、電源オン状態の時において、前記検 知手段によって前記不揮発性メモリに書き込みが必要なデータが検知された場合に 、当該データを前記不揮発性メモリに書き込むことを特徴とする。  [0006] In addition, the in-vehicle device according to the invention of claim 7 is a volatile device that stores data used for operation processing of the in-vehicle device in the in-vehicle device that is mounted on the vehicle and operates by receiving power supply from the vehicle. Volatile memory, non-volatile memory for storing knock-up data, power detection means for detecting the state of the power, and backup target data stored in the volatile memory when the power is on. A detection unit that detects data that needs to be written to the nonvolatile memory; and a control unit that controls storage of data by the nonvolatile memory. The control unit is configured to detect the detection in a power-on state. When data that needs to be written to the nonvolatile memory is detected by the means, the data is written to the nonvolatile memory.
[0007] また、請求項 13の発明に力かるバックアップ方法は、ノ ックアップが必要な情報を 不揮発性メモリに記憶させるノックアップ方法にぉ 、て、電源の状態を検出する電源 検出工程と、電源オン状態の時に、ノ ックアップ対象データのうち前記不揮発性メモ リへの書き込みが必要なデータを検知する検知工程と、前記不揮発性メモリによるデ ータの記憶を制御する制御工程とを含み、前記制御工程は、電源オン状態の時にお いて、前記検知工程によって前記不揮発性メモリに書き込みが必要なデータが検知 された場合に、当該データを前記不揮発性メモリに書き込むことを特徴とする。  [0007] In addition, the backup method according to the invention of claim 13 is a knock-up method for storing information that needs to be knocked up in a non-volatile memory. A detection step of detecting data that needs to be written to the nonvolatile memory among data to be knocked up when in the on state, and a control step of controlling storage of data by the nonvolatile memory, The control step is characterized in that, when the data that needs to be written in the nonvolatile memory is detected by the detection step in the power-on state, the data is written in the nonvolatile memory.
[0008] また、請求項 14の発明に力かるバックアッププログラムは、請求項 13に記載のバッ クアップ方法をコンピュータに実行させることを特徴とする。  [0008] A backup program according to the invention of claim 14 causes a computer to execute the backup method according to claim 13.
[0009] また、請求項 15の発明にかかるコンピュータに読み取り可能な記録媒体は、請求 項 14に記載のバックアッププログラムを記録したことを特徴とする。  [0009] Further, a computer-readable recording medium according to the invention of claim 15 records the backup program according to claim 14.
図面の簡単な説明  Brief Description of Drawings
[0010] [図 1]図 1は、実施の形態 1によるバックアップ装置の構成を示すブロック図である。  FIG. 1 is a block diagram showing a configuration of a backup device according to Embodiment 1.
[図 2]図 2は、実施の形態 1によるバックアップ装置の全体動作を示すフローチャート である。  FIG. 2 is a flowchart showing the overall operation of the backup apparatus according to the first embodiment.
[図 3]図 3は、図 2のイニシャル処理の処理内容を示すフローチャートである。  FIG. 3 is a flowchart showing the processing contents of the initial processing of FIG.
[図 4]図 4は、図 2の書き込み処理 2の処理内容を示すフローチャートである。  FIG. 4 is a flowchart showing the processing contents of the writing process 2 of FIG.
[図 5]図 5は、実施の形態 2により不揮発性メモリに格納されるデータ内容を示す図表 である。 FIG. 5 is a chart showing data contents stored in the nonvolatile memory according to the second embodiment. It is.
[図 6]図 6は、実施の形態 2により不揮発性メモリに格納される識別子内容を示す図表 である。  FIG. 6 is a chart showing the contents of identifiers stored in the nonvolatile memory according to the second embodiment.
[図 7]図 7は、実施の形態 2によるバックアップ装置の全体動作を示すフローチャート である。  FIG. 7 is a flowchart showing the overall operation of the backup device according to the second embodiment.
[図 8]図 8は、図 7に示したイニシャル処理の詳細を示すフローチャートである。  FIG. 8 is a flowchart showing details of the initial process shown in FIG.
[図 9]図 9は、図 7に示した書き込み処理 1の詳細を示すフローチャートである。  FIG. 9 is a flowchart showing details of the writing process 1 shown in FIG.
[図 10]図 10は、図 7に示した書き込み処理 2の詳細を示すフローチャートである。 符号の説明  FIG. 10 is a flowchart showing details of the writing process 2 shown in FIG. Explanation of symbols
[0011] 1 バックアップ装置 [0011] 1 Backup device
2 制御部(CPU)  2 Control unit (CPU)
3 ROM  3 ROM
4 RAM  4 RAM
5 不揮発性メモリ(NVM)  5 Nonvolatile memory (NVM)
6 電源検出部  6 Power supply detector
20 データ内容  20 Data contents
22 (22a〜22n) ユーザデータ  22 (22a-22n) User data
30 識別子内容  30 Identifier content
32 (32a〜32n) ユーザデータ用フラグ  32 (32a to 32n) User data flag
発明を実施するための最良の形態  BEST MODE FOR CARRYING OUT THE INVENTION
[0012] 以下に添付図面を参照して、この発明にかかるバックアップ装置、車載機器、ノック アップ方法、ノ ックアッププログラムおよび記録媒体の好適な実施の形態を詳細に説 明する。このバックアップ装置は、電源供給を受けて動作している時の動作状態を示 すデータを電源遮断時に不揮発性メモリに書き込み保持させ、その後の電源供給の 再開時に不揮発性メモリからデータを読み出して電源遮断直前の動作状態に復帰さ ·¾:るものである。  [0012] Exemplary embodiments of a backup device, an in-vehicle device, a knock-up method, a knock-up program, and a recording medium according to the present invention will be described below in detail with reference to the accompanying drawings. This backup device writes and holds the data indicating the operating state when receiving power supply to the nonvolatile memory when the power is shut off, and reads the data from the nonvolatile memory when the power supply is resumed thereafter. It returns to the operating state immediately before the shut-off.
[0013] (実施の形態 1)  [0013] (Embodiment 1)
図 1は、実施の形態 1によるバックアップ装置の構成を示すブロック図である。ノ ック アップ装置 1は、データの書き込みを行うための制御部(CPU) 2と、制御部 2を動か すためのプログラムとデータの初期値が入っている ROM3と、制御部 2による制御実 行中のデータを一時保持する RAM4と、装置に対する電源供給が遮断 (電源スイツ チの操作による電源オフを含む)された時に RAM4に格納されているデータのうち、 NVM用 RAM領域に格納されているバックアップ対象データを格納 ·保持する不揮 発性メモリ (NVM) 5と、装置に対する電源供給状態 (電源スィッチのオン Zオフを含 む)を検出する電源検出部 6と、により構成されている。 FIG. 1 is a block diagram showing a configuration of a backup device according to the first embodiment. Knock The uploading device 1 includes a control unit (CPU) 2 for writing data, a ROM 3 containing a program for operating the control unit 2 and initial values of data, and a control unit 2 executing control. RAM4 that temporarily holds data, and backup target that is stored in RAM area for NVM among data stored in RAM4 when power supply to the device is cut off (including power off by power switch operation) It consists of a non-volatile memory (NVM) 5 that stores and holds data, and a power detection unit 6 that detects the power supply status (including on / off of the power switch) to the device.
[0014] なお、バックアップ装置の電源回路 (不図示)は、装置に対する電源の供給遮断( オフ)が検出された後に所定時間だけ、 NVM5に対するデータの書き込みを行うた めの動作用電源の供給を補助する補助電源の機能を有して ヽる。このバックアップ 装置は、装置に対する電源供給が遮断された時に RAM4に格納されているデータ のうち、 NVM用 RAM領域に格納されているバックアップ対象データを格納 *保持す る必要がある各種装置に適用することができる。  [0014] It should be noted that the power supply circuit (not shown) of the backup device supplies power for operation for writing data to the NVM 5 only for a predetermined time after the power supply cutoff (off) to the device is detected. It has a function of auxiliary power to assist. This backup device is applied to various devices that need to store * retain the backup target data stored in the RAM area for NVM among the data stored in RAM4 when the power supply to the device is cut off be able to.
[0015] 図 2は、実施の形態 1によるバックアップ装置の全体動作を示すフローチャートであ る。はじめに、装置に対する電源が検出された力判断する (ステップ Sl)。ここでは、 電源オンの検出を待機し (ステップ SI :Noのループ)、電源オンが検出されると (ステ ップ S1: Yes)、イニシャル処理を実行する(ステップ S2)。  FIG. 2 is a flowchart showing the overall operation of the backup device according to the first embodiment. First, determine the force at which the power supply to the device is detected (Step Sl). Here, it waits for power-on detection (step SI: No loop). When power-on is detected (step S1: Yes), initial processing is executed (step S2).
[0016] 次に、バックアップ対象データのうち NVM5に対して書き込みが必要なデータが有 るかを判断する (ステップ S3)。書き込みが必要なデータがない場合には、書き込み が必要なデータが有るまで待機する(ステップ S3 : Noのループ)。書き込みデータが 有る場合には (ステップ S3 : Yes)、 NVM5に対してこのデータの書き込み処理を行う (ステップ S4)。ステップ S4における書き込み処理は、装置に対する電源オン時に実 行される(便宜上、図には書き込み処理 1と記載した)。  [0016] Next, it is determined whether there is data that needs to be written to the NVM 5 among the backup target data (step S3). If there is no data that needs to be written, wait until there is data that needs to be written (step S3: No loop). If there is write data (step S3: Yes), this data is written to NVM5 (step S4). The writing process in step S4 is executed when the apparatus is turned on (for convenience, the writing process 1 is described in the figure).
[0017] ステップ S3における書き込みが必要なデータが有る力否かの判断は、バックアップ 対象データのうち変化したデータが有るときに、この変化したデータを書き込みが必 要なデータとして判断することができる。また、ノ ックアップ対象データと NVM5に格 納されているデータとを比較し、バックアップ対象データのうち NVM5に格納されて いるデータに対して異なるデータが有るときに、この異なるデータを書き込みが必要 なデータとして判断するようにしてもよい。また、上述の変化したデータを書き込みが 必要なデータとする方法と上述の異なるデータを書き込みに必要なデータとする方 法を状況に応じていずれか一方を用いるようにしてもよい。また、他の方法で書き込 みが必要なデータを判断してもよ 、。 [0017] The determination of whether or not there is data that needs to be written in step S3 can be determined as data that needs to be written when there is changed data in the backup target data. . Also, when the data to be knocked up is compared with the data stored in NVM5, when there is different data for the data stored in NVM5 among the data to be backed up, it is necessary to write this different data It may be determined as correct data. Also, depending on the situation, one of the above-described method of using the changed data as the data that needs to be written and the above-mentioned method of using the different data as the data that is necessary for the writing may be used. You can also use other methods to determine what data needs to be written.
[0018] この後、装置に対する電源オフ検出を行う(ステップ S5)。電源オフが検出されてい ない期間は(ステップ S5 : Noのループ)、ステップ S3に復帰する。電源オフが検出さ れると (ステップ S5 : Yes)、補助電源を用いて NVM5に対して所定量のデータの書 き込み処理を行!ヽ (ステップ S6)、処理を終了する。  [0018] Thereafter, power-off detection for the apparatus is performed (step S5). While power-off is not detected (Step S5: No loop), return to Step S3. When power-off is detected (step S5: Yes), a predetermined amount of data is written to NVM5 using the auxiliary power supply (step S6), and the processing is terminated.
[0019] ステップ S6における処理は、装置に対する電源オフ時に実行される(図には書き込 み処理 2と記載した)ものであり、補助電源により供給される所定時間の電源供給中 に書き込み可能なデータ量を NVM5に書き込む。この書き込み可能なデータ量は、 補助電源により供給される所定時間に対応して予め設定しておくことができる。  [0019] The process in step S6 is executed when the apparatus is turned off (denoted as write process 2 in the figure), and can be written during the power supply for a predetermined time supplied by the auxiliary power supply. Write the amount of data to NVM5. The writable data amount can be set in advance corresponding to a predetermined time supplied by the auxiliary power supply.
[0020] 図 3は、図 2のイニシャル処理の処理内容を示すフローチャートである。このィニシ ャル処理では、 RAM4に展開するデータが NVM5に記憶されているか判断する(ス テツプ Sl l)。データが NVM5に記憶されている場合には (ステップ SI 1 : Yes)、この NVM5に保存されているデータを RAM4に展開し (ステップ S12)、終了する。一方 、 NVM5にデータがない場合には(ステップ Sl l :No)、 ROM3の初期データを RA M4に展開し (ステップ S13)、終了する。  FIG. 3 is a flowchart showing the contents of the initial process of FIG. In this initial process, it is determined whether the data to be expanded in RAM4 is stored in NVM5 (step Sl l). If the data is stored in NVM5 (step SI 1: Yes), the data stored in NVM5 is expanded in RAM4 (step S12), and the process ends. On the other hand, when there is no data in NVM5 (step Sl: No), the initial data in ROM3 is expanded into RAM4 (step S13), and the process ends.
[0021] 図 4は、図 2の書き込み処理 2の処理内容を示すフローチャートである。はじめに、 バックアップ対象データのうち NVM5に対して書き込みが必要なデータの有無を判 断する(ステップ S21)。書き込みが必要なデータがない時には (ステップ S21 :No)、 処理を終了する。書き込みが必要なデータが有る時には (ステップ S21 : Yes)、書き 込みデータ量が所定量以上であるか判断する (ステップ S22)。この所定量とは、補 助電源により供給される所定時間で書き込み可能なデータ量を指している。書き込 みデータ量が所定量以上の場合には (ステップ S22 : Yes)、NVM5に対して書き込 みが必要なデータのうち所定量だけ書き込み (ステップ S23)、処理を終了する。一 方、書き込みが必要なデータ量が所定量に達して 、な 、場合には (ステップ S22: N o)、 NVM5に対してデータを全て書き込み (ステップ S24)、処理を終了する。なお、 ステップ S23において、書き込みが必要なデータのうち所定量以下で書き込みに適 したデータ量分だけ書き込むようにしてもょ 、。 FIG. 4 is a flowchart showing the processing contents of the writing process 2 of FIG. First, it is determined whether there is data that needs to be written to NVM5 among the backup target data (step S21). If there is no data that needs to be written (step S21: No), the process is terminated. When there is data that needs to be written (step S21: Yes), it is determined whether the amount of data to be written is greater than or equal to a predetermined amount (step S22). This predetermined amount refers to the amount of data that can be written in a predetermined time supplied by the auxiliary power supply. If the amount of data to be written is greater than or equal to the predetermined amount (step S22: Yes), the predetermined amount of data that needs to be written to NVM5 is written (step S23), and the process is terminated. On the other hand, if the amount of data that needs to be written has reached a predetermined amount (step S22: No), all data is written to NVM5 (step S24), and the process is terminated. In addition, In step S23, it may be possible to write only the amount of data that is suitable for writing within a predetermined amount of data that needs to be written.
[0022] 以上説明した実施の形態 1によれば、装置に対する電源のオン、オフ時にそれぞ れ NVMに対するデータの書き込みを実行する。装置の電源オン時に NVMに対し てデータを書き込んでおくことにより、電源がオフされた時に NVMに対するデータの 書き込み処理を不要にしたり、書き込むデータ量を減らすことができるようになる。  [0022] According to the first embodiment described above, data is written to the NVM when the power supply to the device is turned on and off, respectively. By writing data to the NVM when the device is turned on, it becomes unnecessary to write data to the NVM when the power is turned off, and the amount of data to be written can be reduced.
[0023] また、バックアップ対象データのうち変化したデータだけを NVM5に書き込んだり、 ノ ックアップ対象データのうち NVM5に格納されているデータと異なるデータだけを NVM5に書き込んだりすることで、書き込むデータ量を少なくすることができ、データ の書き込み時間を短縮することができる。  [0023] In addition, by writing only the changed data of the backup target data to NVM5, or writing only the data different from the data stored in NVM5 of the backup target data to NVM5, the amount of data to be written can be reduced. The time required for data writing can be shortened.
[0024] (実施の形態 2)  (Embodiment 2)
次に、この発明の実施の形態 2について説明する。実施の形態 2では、この発明の バックアップ装置を、車両に搭載されるラジオ装置、 TV装置、カーナビゲーシヨン装 置、あるいはこれら複数の機能を備えた車載機器に適用した例である。そして、この ノ ックアップ装置は、このような車載機器が電源供給を受けて動作して 、る時の動作 状態を示すユーザデータを電源遮断時に不揮発性メモリに書き込み保持させ、その 後の電源供給の再開時に不揮発性メモリからユーザデータを読み出して車載機器を 電源遮断直前の動作状態に復帰させる。  Next, a second embodiment of the present invention will be described. The second embodiment is an example in which the backup device of the present invention is applied to a radio device, a TV device, a car navigation device mounted on a vehicle, or an in-vehicle device having a plurality of these functions. This knock-up device operates when such an on-vehicle device is supplied with power, and writes and holds user data indicating the operating state at the time of power-off in the nonvolatile memory, and then supplies power after that. When resuming, user data is read from the non-volatile memory, and the in-vehicle device is returned to the operating state immediately before the power is turned off.
[0025] 実施の形態 2の車載機器においても、装置の全体構成は、前述した図 1と同様であ り、詳細な説明は省略する。装置に対する電源供給は、アクセサリー (Acc)電源と、 バッテリー(Bup)電源力も行われる。アクセサリー電源は、車両のアクセサリー(Acc) スィッチをオン操作した時に供給される。車載機器は、このアクセサリー電源の供給 開始時に起動し、アクセサリースィッチのオフ操作によるアクセサリー電源の供給遮 断後に待機する低消費モードに移行するようになっている。ノ ッテリー電源は、常時 装置に供給されている。ただし、バッテリー交換時等にはバッテリー電源の供給が遮 断されることになる。なお、ノックアップ装置の電源回路 (不図示)は、ノ ッテリー電源 の供給遮断が検出されて力 低消費モードに移行するまでの時間は、 NVM5に対 するデータの書き込みを行うための動作用電源を供給する補助電源の機能を有して いる。 [0025] Also in the in-vehicle device of the second embodiment, the overall configuration of the apparatus is the same as that of Fig. 1 described above, and a detailed description thereof is omitted. The power supply to the equipment is also performed by accessory (Acc) power supply and battery (Bup) power supply. Accessory power is supplied when the vehicle accessory (Acc) switch is turned on. The in-vehicle device is activated when the accessory power supply starts, and shifts to a low-consumption mode that waits after the accessory power supply is shut off by turning off the accessory switch. Knotter power is always supplied to the equipment. However, the battery power supply will be interrupted when the battery is replaced. Note that the power supply circuit (not shown) of the knock-up device is the power supply for operation to write data to the NVM5 until the transition to the low power consumption mode is detected after the cutoff of the knotter power supply is detected. Auxiliary power supply function to supply Yes.
[0026] 図 5は、実施の形態 2により不揮発性メモリに格納されるデータ内容を示す図表で ある。また、図 6は、実施の形態 2により不揮発性メモリに格納される識別子内容を示 す図表である。装置電源が供給されて!ヽる状態でユーザが車載機器を操作したユー ザデータは、 RAM4の NVM用 RAM領域に書き込まれる。車載機器力 Sラジオ装置 である時、このユーザデータとしては、ユーザが所望して選局した複数のラジオ局の 周波数やチャンネルを示す値や、ラジオ再生時の電子ボリューム (Vol)の値、音場 設定 (例えば低域音、中域音、高域音)の値、イコライザの各周波数別設定値、等の プリセット値力もなる。なお、実施の形態 2においてはこのユーザデータがバックアツ プ対象データである。  FIG. 5 is a table showing data contents stored in the nonvolatile memory according to the second embodiment. FIG. 6 is a chart showing the contents of identifiers stored in the nonvolatile memory according to the second embodiment. Device power is supplied! User data when the user operates the on-board device in a state of speaking is written to the RAM area for NVM in RAM4. For in-vehicle equipment S radio equipment, this user data includes values indicating the frequencies and channels of multiple radio stations selected by the user, values of electronic volume (Vol) during radio playback, and sound. It also includes preset values such as the value of the field setting (for example, low frequency sound, mid frequency sound, high frequency sound) and the setting value for each frequency of the equalizer. In the second embodiment, this user data is the backup target data.
[0027] 図 5に示すデータ内容 20は、装置に対する電源供給時には、 RAM4の NVM用 R AM領域に書き込まれて!/、るが、電源遮断時にはこの NVM用 RAM領域に書き込ま れているデータ内容 20が NVM5にも転送されて書き込まれる。データ内容 20は、ュ ニークコード 21と、複数のユーザデータ 22 (22a〜22n)と、書き込んだデータ内容 の信頼性を示す計算値、例えば、 CS (チェックサム) 23により構成されている。  [0027] The data content 20 shown in FIG. 5 is written to the RAM area for NVM RAM4 when power is supplied to the device! /, But the data contents written to this RAM area for NVM when the power is turned off. 20 is also transferred to NVM5 for writing. The data content 20 includes a unique code 21, a plurality of user data 22 (22a to 22n), and a calculated value indicating the reliability of the written data content, for example, CS (checksum) 23.
[0028] ユニークコード 21は、後述するイニシャル処理において、データ内容 20が壊れて いないかどうかをチェックするために用いられる。各ユーザデータ 22 (22a〜22n)は 、例えば、ユーザが選局した複数のラジオ局それぞれのチャンネルと周波数がプリセ ットの値を格納する。具体的には、ユーザデータ 1 (22a)には、 chl : 81. 3MHz、ュ 一ザデータ 2 (22b)には、 ch2 : 82. 5MHz、等として書き込まれる。 CS23には、こ れらユーザデータ 22 (22a〜22n)のデータが書き込まれる都度、ユーザデータ 22 ( 22a〜22n)のデータの値を用いて信頼性を検出するための所定の演算を行ったチ エックサム結果の値が書き込まれる。  [0028] The unique code 21 is used to check whether or not the data content 20 is broken in the initial processing described later. Each user data 22 (22a to 22n) stores, for example, preset values of channels and frequencies of a plurality of radio stations selected by the user. Specifically, the user data 1 (22a) is written as chl: 81.3 MHz, the user data 2 (22b) is written as ch2: 82.5 MHz, and so on. Each time the data of the user data 22 (22a to 22n) is written to the CS23, a predetermined calculation for detecting reliability is performed using the data value of the user data 22 (22a to 22n). The checksum result value is written.
[0029] 図 6に示す識別子内容 30は、 RAM4の NVM用 RAM領域に書き込まれている。  The identifier content 30 shown in FIG. 6 is written in the NVM RAM area of the RAM 4.
識別子内容 30は、いずれもビットデータ力もなるフラグが用いられ、全体用フラグ 31 と、図 5に示した複数のユーザデータ 22 (22a〜22n)の状態それぞれに対応するュ 一ザデータ用フラグ 32 (32a〜32n)と、 CS用フラグ 33によって構成されている。  The identifier content 30 is a flag that also has bit data power, and a flag 31 for user data 32 corresponding to each of the states of the overall flag 31 and the plurality of user data 22 (22a to 22n) shown in FIG. 32a to 32n) and a CS flag 33.
[0030] 全体用フラグ 31は、ユーザデータ用フラグ 32 (32a〜32n)のうち、どれか一つでも 「変化あり」若しくは「書き込み中」の状態であるかどうかを判断するためのフラグであ る。つまり、ユーザデータ用フラグ 32の全てのデータが「変化なし」の状態の時は「変 化データなし」の状態を示し、ユーザデータ用フラグ 32のうち、どれか一つでも「変化 あり」若しくは「書き込み中」の状態である時は「変化データあり」の状態を示す。これ らのフラグ 31, 32, 33は、いずれもユーザが装置を上記プリセット操作する等に基づ いて、 RAM4の NVM用 RAM領域におけるユーザデータ 21が書き換えられた時に 、その書き換え状態を示すものとして設定される。各フラグは、図 5に示すデータ内容 20について「変化なし」の状態と、データ内容 20に「変化あり」の状態と、データ内容 20の「書き込み中」の状態、の 3つの状態のうちいずれかを示す。例えば、図 5に示 すユーザデータ 1 (22a)が書き換えられると、図 6に示すユーザデータ 1用フラグ 32a のフラグが「変化あり」の状態となる。 [0030] The overall flag 31 is any one of the user data flags 32 (32a to 32n). This flag is used to determine whether the status is “changed” or “writing”. That is, when all the data in the user data flag 32 is in the “no change” state, it indicates the “no change data” state, and any one of the user data flags 32 is “changed” or When it is in the “writing” state, it indicates the state of “with change data”. These flags 31, 32, and 33 all indicate the rewrite status when the user data 21 in the NVM RAM area of the RAM 4 is rewritten based on the preset operation of the device by the user. Is set. Each flag is one of three states: “no change” for the data content 20 shown in FIG. 5, “change” for the data content 20, and “writing” for the data content 20. Indicate. For example, when the user data 1 (22a) shown in FIG. 5 is rewritten, the flag of the user data 1 flag 32a shown in FIG. 6 becomes “changed”.
[0031] 次に、上記構成により制御部 2が実行する制御動作について説明する。図 7は、実 施の形態 2によるバックアップ装置の全体動作を示すフローチャートである。図 7は、 ノ ックアップ装置を備えた車載機器が車両に搭載された状態における処理を示して いる。 Next, a control operation executed by the control unit 2 with the above configuration will be described. FIG. 7 is a flowchart showing the overall operation of the backup apparatus according to the second embodiment. Fig. 7 shows the processing in a state where an in-vehicle device equipped with a knock-up device is mounted on the vehicle.
[0032] 装置の NVM5には、当初何もデータが格納されていない。まず、出荷後に装置を 最初にバッテリー(Bup)電源をつないだ場合や後述するようにリセットスタートを行う と判断された場合に、バッテリー (Bup)電源のオンを検出したかが判断される (ステツ プ S31)。バッテリー(Bup)電源がオフの期間中は(ステップ S31 :Noのループ)、ノ ッテリー(Bup)電源のオンが検出されるまで待つ。バッテリー (Bup)電源のオンが検 出された場合には (ステップ S31: Yes)、後述するイニシャル処理が実行される (ステ ップ S32)。  [0032] No data is initially stored in the NVM 5 of the apparatus. First, it is determined whether the battery (Bup) power supply is detected when the battery (Bup) power supply is connected to the device for the first time after shipment, or when it is determined that a reset start will be performed as described later. S31). While the battery (Bup) power supply is off (step S31: No loop), wait until the battery (Bup) power supply is detected. When it is detected that the battery (Bup) power is turned on (step S31: Yes), an initial process described later is executed (step S32).
[0033] 次に、ユーザの車両にバックアップ装置を備えた車載機器が搭載された状態で、装 置はバッテリー(Bup)電源の供給を受ける。この状態で、電源検出部 6がユーザによ るアクセサリー (Acc)スィッチの操作を検出する (ステップ S33)。ここで、アクセサリー スィッチのオンによるアクセサリー電源の供給を待機する(ステップ S33 :Noのループ ) oアクセサリー電源の供給 (オン)が検出されると (ステップ S33 :Yes)、 NVM5に対 して書き込みが必要なユーザデータの有無を判断する (ステップ S34)。 [0034] 書き込みが必要なユーザデータの有無の判断は、識別子内容 30 (図 6参照)のフラ グの状態を検出して行う。識別子内容 30の全体用フラグ 31が「変化データなし」の時 には、書き込みが必要なユーザデータがないと判断して(ステップ S34 : Noのループ )、書き込みが必要なユーザデータが有る(生じる)まで待機する。 [0033] Next, in a state where the in-vehicle device including the backup device is mounted on the user's vehicle, the device is supplied with battery (Bup) power. In this state, the power source detection unit 6 detects the operation of the accessory (Acc) switch by the user (step S33). Here, standby for accessory power supply by turning on the accessory switch (step S33: No loop) o When accessory power supply (on) is detected (step S33: Yes), writing to NVM5 is performed. The presence / absence of necessary user data is determined (step S34). [0034] The presence / absence of user data that needs to be written is determined by detecting the flag status of identifier content 30 (see Fig. 6). When the overall flag 31 of the identifier content 30 is “no change data”, it is determined that there is no user data that needs to be written (step S34: No loop), and there is user data that needs to be written (occurs). ).
[0035] そして、識別子内容 30の全体用フラグ 31が「変化データあり」の場合には、ユーザ データ用フラグ 32 (32a〜32n)の各フラグのうち、データ内容 20に「変化あり」、また は、「書き込み中」の状態のフラグが有ることを示して 、るので (ステップ S34: Yes)、 NVM5に対して、ユーザデータ用フラグ 32の各フラグのうち「変化あり」若しくは「書 き込み中」の状態のフラグに対応するユーザデータ 22 (22a〜22n)の書き込み処理 (ステップ S35)を行う。ステップ S35における書き込み処理は、装置に対する電源ォ ン時に実行される(便宜上、図には書き込み処理 1と記載した)。なお、ステップ S35 においてユーザデータの書き込み開始処理の開始前には、書き込み許可の処理を 実行するようになっている。ステップ S35の書き込み処理 1の詳細は後述する。  [0035] When the overall flag 31 of the identifier content 30 is "change data exists", among the flags of the user data flag 32 (32a to 32n), the data content 20 is "changed" Indicates that there is a flag in the state of “Writing” (step S34: Yes), so NVM5 has “changed” or “write” among the flags of user data flag 32. The user data 22 (22a to 22n) corresponding to the “medium” flag is written (step S35). The writing process in step S35 is executed when the apparatus is turned on (for convenience, the writing process 1 is described in the figure). In step S35, the write permission process is executed before the start of the user data write start process. Details of the writing process 1 in step S35 will be described later.
[0036] この後、電源検出部 6によりアクセサリー (Acc)スィッチの操作によるアクセサリー電 源の供給の遮断、あるいはバッテリー(Bup)電源の供給の遮断 (オフ)を検出する (ス テツプ S36)。ここで、アクセサリー電源、あるいはバックアップ電源の供給遮断が検 出されなければ (ステップ S36 : No)、ステップ S34に復帰し、新たな書き込みが必要 なデータの有無を判断する。  [0036] After that, the power source detection unit 6 detects the disconnection of the accessory power supply by the operation of the accessory (Acc) switch or the disconnection (off) of the battery (Bup) power supply (step S36). Here, if the supply power supply of the accessory power supply or backup power supply is not detected (step S36: No), the process returns to step S34 to determine whether there is data that needs to be newly written.
[0037] そして、アクセサリー (Acc)電源、あるいはバッテリー(Bup)電源の供給遮断 (オフ )が検出されると(ステップ S36: Yes)、 NVM5に対して書き込みが必要なユーザデ ータを書き込む処理を実行する (ステップ S37)。ステップ S37の書き込み処理の詳 細は後述する。ステップ S37における書き込み処理は、装置に対する電源オン時に 実行される(便宜上、図には書き込み処理 2と記載した)。このステップ S37における 書き込み処理 2と、ステップ S35における書き込み処理 1は、いずれもユーザデータ に関する書き込み処理である点で一致するがその処理内容は、後述する如く相違し ている。  [0037] When supply (Acc) power supply or battery (Bup) power supply cut-off (off) is detected (step S36: Yes), a process of writing user data that needs to be written to NVM5 is performed. Execute (Step S37). Details of the writing process in step S37 will be described later. The writing process in step S37 is executed when the apparatus is turned on (for convenience, the writing process 2 is described in the figure). The writing process 2 in step S37 and the writing process 1 in step S35 are the same in that they are writing processes related to user data, but the processing contents are different as described later.
[0038] ステップ S37の実行後に、車載機器は、電源供給を受けな ヽ状態で待機する低消 費モードに移行し、一連の動作を終了する。ここで、ステップ S37の実行後、リセット スタートを行うか否かの判断を行う (ステップ S38)。ステップ S37の実行後、バッテリ 一(Bup)電源がオフになって装置の電源電圧が基準電圧より下がった場合には、リ セットスタートを行うと判断する (ステップ S38 : Yes)。この場合、処理を終了する。一 方、ステップ S37の実行後、装置の電源電圧が基準電圧以上である場合にはリセット スタートを行わないと判断する (ステップ S38 : No)。この場合には、ステップ S33に復 帰して電源オン検出を行う。 [0038] After execution of step S37, the in-vehicle device shifts to a low-consumption mode in which it waits in a state of not receiving power supply, and ends a series of operations. Here, after executing step S37, reset It is determined whether or not to start (step S38). After the execution of step S37, if the battery (Bup) power supply is turned off and the power supply voltage of the device falls below the reference voltage, it is determined that a reset start is performed (step S38: Yes). In this case, the process ends. On the other hand, after the execution of step S37, if the power supply voltage of the device is higher than the reference voltage, it is determined that the reset start is not performed (step S38: No). In this case, return to step S33 to perform power-on detection.
[0039] 上述したが、ノ ックアップ装置の電源回路は、補助電源の機能により、バッテリー ( Bup)電源の供給遮断を検出して力も低消費モードに移行するまでの間、 NVM5〖こ 対するデータの書き込みを行うための動作用電源を供給し続けるようになつている。  [0039] As described above, the power supply circuit of the knock-up device uses the function of the auxiliary power supply to detect data for NVM5 until the battery (Bup) power supply cutoff is detected and the power is shifted to the low power consumption mode. The power supply for operation for writing is continuously supplied.
[0040] 以上の処理により、装置に対する電源供給が遮断されても NVM5に対して装置の 動作時のユーザデータを格納保持することができる。この後、装置がリセットスタート を行わないと判断されてアクセサリー(Acc)スィッチのオンによりアクセサリー電源の 供給が再開された時には、ステップ S33以下の処理を上記同様に実行するようにな つている。  [0040] By the above processing, even when the power supply to the apparatus is cut off, user data during operation of the apparatus can be stored and held in NVM5. Thereafter, when it is determined that the device does not start resetting and the accessory power supply is resumed by turning on the accessory (Acc) switch, the processing from step S33 onward is executed in the same manner as described above.
[0041] 図 8は、図 7に示したイニシャル処理の詳細を示すフローチャートである。まず、 NV M5のデータ内容 20を読み込む (ステップ S41)。初期状態であるため、通常は、図 5 に示す NVM5にユニークコード 21が書き込まれていないか、または CS23が不一致 となる(ステップ S42 :No)。この場合、 ROM3に予め格納されている ROMデータの 初期値を RAM4に展開する(ステップ S43)。  FIG. 8 is a flowchart showing details of the initial process shown in FIG. First, the data content 20 of NV M5 is read (step S41). Since it is in the initial state, normally, the unique code 21 is not written in NVM5 shown in FIG. 5, or CS23 does not match (step S42: No). In this case, the initial value of ROM data stored in advance in ROM 3 is expanded in RAM 4 (step S43).
[0042] 具体的には、 ROMデータの初期値を RAM4の動作エリア、および NVM用 RAM 領域のデータ内容 20 (図 5参照)のユーザデータ 22としてセットする。この初期値は、 例えば、車載機器がラジオ装置の場合、初期値として設定されている複数の選局用 受信周波数(chl : 81. 3MHz、 ch2 : 82. 5MHz等)としてユーザデータ l〜n (22a 〜22n)にセットされる。この際、ユニークコード 21と、初期値を用いて演算した CS23 の値も書き込まれる。これらデータの初期値、および CSの書き込みに対応して、識別 子内容 30のユーザデータ用フラグ 32 (32a〜32n)の各フラグ(図 6参照)は、ユーザ データ 22 (22a〜22n)の値の変更により、全てデータ内容 20が「変化あり」状態にす る。 [0043] 一方、ステップ S42の処理において、ユニークコード 21が有り、さらに、 CSがー致 した場合は (ステップ S42 : Yes)、 NVM5に格納されているデータが正常であると判 断し、 NVM5から読み出したデータを RAM4に展開する (ステップ S44)。具体的に は、 RAM4の動作用エリア、および RAM4の NVM用 RAM領域にデータ内容 20 ( 図 5参照)としてセットする。この際、ステップ S41において読み出した CS23の値も書 き込まれる。そして、識別子内容 30のユーザデータ用フラグ 32 (32a〜32n)のうち、 ユーザデータ 22 (22a〜22n)を書き込んだフラグ(図 6参照)について、データ内容 20を「変化なし」状態にする。 Specifically, the initial value of the ROM data is set as the user data 22 of the data area 20 (see FIG. 5) of the RAM 4 operation area and the NVM RAM area. For example, if the in-vehicle device is a radio device, this initial value is the user data l to n (chl: 81.3 MHz, ch2: 82.5 MHz, etc.) that are set as the initial values. 22a to 22n). At this time, the unique code 21 and the value of CS23 calculated using the initial value are also written. Corresponding to the initial value of these data and CS writing, each flag of user data flag 32 (32a to 32n) of identifier content 30 (see Fig. 6) is the value of user data 22 (22a to 22n). As a result of the change, all data contents 20 are changed to the “changed” state. [0043] On the other hand, in the process of step S42, if there is a unique code 21 and the CS matches (step S42: Yes), it is determined that the data stored in NVM5 is normal, and NVM5 The data read from is expanded to RAM4 (step S44). Specifically, it is set as the data contents 20 (see Figure 5) in the RAM4 operation area and RAM4 NVM RAM area. At this time, the value of CS23 read in step S41 is also written. Then, among the user data flags 32 (32a to 32n) of the identifier content 30, the data content 20 is set to the “no change” state for the flag (see FIG. 6) in which the user data 22 (22a to 22n) is written.
[0044] 図 9は、図 7に示した書き込み処理 1の詳細を示すフローチャートである。装置に対 して電源が供給されて 、る状態における書き込み処理の詳細を示した。ステップ S34 において書き込みが必要なデータが有ると判断された場合に NVM5に書き込む処 理として実行される。  FIG. 9 is a flowchart showing details of the writing process 1 shown in FIG. The details of the writing process in the state where the power is supplied to the apparatus are shown. If it is determined in step S34 that there is data that needs to be written, it is executed as a process of writing to NVM5.
[0045] 書き込むデータは、固定のデータ長で書き込む。まず、書き込み状態の判断処理( ステップ S51)では、書き込み中であれば (ステップ S51 :No)、 NVM5に対して図 5 に示したデータ内容 20を書き込む (ステップ S55)。そして、書き込みが終了すると( ステップ S51: Yes)、図 6に示した対応するデータの識別子内容 30のユーザデータ 用フラグ 32 (32a〜32n)をデータ内容 20に「変化あり」状態にする。そして、書き込 むデータの書き込みが全て終了すると、 NVM5からデータを読み出し (ステップ S52 )、この読み出したデータと、 RAM4の NVM用 RAM領域のユーザデータ 22とが一 致して 、るか比較する (ステップ S53)。  [0045] The data to be written is written with a fixed data length. First, in the writing state determination process (step S51), if writing is in progress (step S51: No), the data content 20 shown in FIG. 5 is written to NVM5 (step S55). When the writing is completed (step S51: Yes), the user data flag 32 (32a to 32n) of the corresponding data identifier content 30 shown in FIG. When all the data to be written has been written, the data is read from NVM5 (step S52), and the read data is compared with the user data 22 in the NVM RAM area of RAM4 to compare ( Step S53).
[0046] そして、これら NVM5のデータと、 RAM4の NVM用 RAM領域のデータとがー致 していれば (ステップ S53 : Yes)、識別子内容 30のユーザデータ用フラグ 32 (32a〜 32η)を全てデータ内容 20に「変化なし」に書き換えて、以上の書き込み処理を終了 し (ステップ S54)、処理を終了する。一方、 NVM5のデータと、 RAM4の NVM用 R AM領域のデータとがー致していない場合には (ステップ S53 : No)、不一致部のデ ータのみを再度書き込みの対象に設定し直す (ステップ S56)。この場合には、ステツ プ S51〜ステップ S55による書き込み処理が再度実行されるようになっている。図 5 に示すようにデータ内容 20は、複数のユーザデータ 22 (22a〜22n)によって構成さ れているため、ステップ S53では、これら複数のユーザデータ 22のうち一つでも不一 致が生じれば、そのデータを再度書き込むようになつている。したがって、 RAM4の NVM用 RAM領域のユーザデータ 22を NVM5に確実に書き込むことができる。 [0046] If these NVM5 data and the NVM RAM area data in RAM4 match (step S53: Yes), all user data flags 32 (32a to 32η) with identifier contents 30 are set. The data content 20 is rewritten to “no change”, the above writing process is terminated (step S54), and the process is terminated. On the other hand, if the NVM5 data does not match the RAM4 NVM RAM area data in RAM4 (step S53: No), only the data in the inconsistent part is set as the write target again (step S56). In this case, the writing process in steps S51 to S55 is executed again. As shown in Fig. 5, the data content 20 is composed of a plurality of user data 22 (22a-22n). Therefore, in step S53, if any of the plurality of user data 22 does not match, the data is written again. Therefore, the user data 22 in the RAM area for NVM of RAM4 can be written to NVM5 without fail.
[0047] 図 10は、図 7に示した書き込み処理 2の詳細を示すフローチャートである。装置に 対する電源の供給が遮断された直後の状態における書き込み処理の詳細を示した。 はじめに、電源検出部 6は、ノ ッテリー(Bup)電源がオン (供給されている)状態で、 アクセサリー (Acc)電源がオフになった力否かを検出する(ステップ S61)。ノ ッテリ 一電源が供給されている状態で、アクセサリー (Acc)スィッチがオフ操作されァクセ サリー電源がオフになった時には(ステップ S61: Yes)、 NVM5への書き込みを開始 する。 FIG. 10 is a flowchart showing details of the writing process 2 shown in FIG. Details of the writing process in the state immediately after the supply of power to the device was cut off were shown. First, the power source detection unit 6 detects whether or not the accessory (Acc) power source is turned off in a state where the knotter (Bup) power source is on (supplied) (step S61). When the accessory (Acc) switch is turned off and the accessory power supply is turned off (step S61: Yes), writing to NVM5 is started.
[0048] NVM5に対する書き込みは、ユーザが設定したユーザデータについて、 RAM4内 における動作用エリアと、 NVM用 RAM領域の内容とが異なっているデータについ てのみ RAM4の NVM用 RAM領域に上書きする。すなわち、データ内容 20を構成 するユーザデータ 22 (22a〜22n)のうち、 RAM4内における動作用エリアと、 NVM 用 RAM領域の内容とが異なっているユーザデータ 22が生じれば、このユーザデー タ 22を RAM4の NVM用 RAM領域の該当エリアに書き込む(ステップ S62)。例え ば、ユーザがラジオ装置の chl : 81. 3MHzのプリセット値を変更操作した時には、 図 5に示すユーザデータ 1 (22a)部分の値だけを書き換える処理を行う。  [0048] In writing to NVM5, the user data set by the user overwrites the NVM RAM area of RAM4 only for data in which the operation area in RAM4 and the contents of the NVM RAM area are different. That is, if user data 22 (22a to 22n) constituting the data content 20 has different user data 22 in the operation area in the RAM 4 and the content of the NVM RAM area, this user data 22 is written in the corresponding area of the RAM area for NVM in RAM4 (step S62). For example, when the user changes the preset value of chl: 81.3 MHz on the radio device, the user data 1 (22a) part shown in Fig. 5 is rewritten.
[0049] この際、変化の有ったデータ内容 20 (ユーザデータ 22a)に対応する識別子内容 3 0 (ユーザデータ用フラグ 32a)のフラグを、データ内容 20に「変化あり」状態に変更し て書き込みを開始する。そして、この書き込みが完了したかを判断し (ステップ S63) 、書き込みが完了すれば (ステップ S63 : Yes)、 NVM5に対する書き込み処理を終 了する。  At this time, the identifier content 3 0 (user data flag 32a) corresponding to the changed data content 20 (user data 22a) is changed to the “changed” state in the data content 20. Start writing. Then, it is determined whether or not this writing is completed (step S63). If the writing is completed (step S63: Yes), the writing process for NVM5 is terminated.
[0050] そして、電源検出部 6は、データ内容 20の書き込みが完了するまでの間は、ノッテ リー(Bup)電源がオン (供給されて 、る)状態である力否かを検出し続ける。すなわち 、データ内容 20の書き込み完了の判断 (ステップ S63)では、 NVM5に対するデー タ内容 20の書き込みが完了して!/ヽな 、期間中であれば (ステップ S63: No)、ステツ プ S61に復帰する。この後、電源検出部 6は、バッテリー (Bup)電源の状態を検出す るようになっている(ステップ S61、およびステップ S64)。この状態でバッテリー(Bup )電源がオン (供給されて 、る)状態である間は (ステップ S64 :No)、ステップ S61〜 ステップ S63の実行により、 NVM5に対するデータ内容 20の書き込みが継続される ようになっている。 [0050] Then, until the writing of the data content 20 is completed, the power supply detection unit 6 continues to detect whether or not the power of the notary (Bup) power supply is on (supplied and supplied). That is, in the judgment of completion of writing of the data content 20 (step S63), if the writing of the data content 20 to the NVM5 is completed! / ヽ, if it is during the period (step S63: No), return to step S61. To do. After that, the power detection unit 6 detects the state of the battery (Bup) power supply. (Step S61 and Step S64). While the battery (Bup) power is on (supplied and supplied) in this state (Step S64: No), the execution of Step S61 to Step S63 will continue to write the data content 20 to NVM5. It has become.
[0051] ステップ S62によるデータ内容 20の書き込み開始後、ステップ S63による書き込み が完了するまでの間において、電源検出部 6がバッテリー(Bup)電源の遮断 (オフ) を検出した場合は (ステップ S64 : Yes)、書き込み中のデータ内容 20をユーザデー タ 22 (22a〜22n)単位で書き込み完了させた後、書き込み処理を停止し (ステップ S 65)、書き込み禁止設定処理を行い (ステップ S66)、低消費モードに移行する。なお 、上述したように、ノックアップ装置 1の電源回路は、補助電源の機能により、バッテリ 一(Bup)オフが検出されて力も低消費モードに移行するまでの時間は、 NVM5に対 するデータの書き込みを行うための動作用電源を供給してステップ S65の処理を可 能にする。  [0051] If the power source detection unit 6 detects that the battery (Bup) power supply is cut off (off) after the start of the writing of the data content 20 in step S62 until the writing in step S63 is completed (step S64: (Yes), after the data content 20 being written is written in units of user data 22 (22a to 22n), the write process is stopped (step S65), the write inhibit setting process is performed (step S66), and the low Transition to consumption mode. Note that, as described above, the power supply circuit of the knock-up device 1 uses the function of the auxiliary power supply to detect the time when the battery (Bup) off is detected and the time until the power shifts to the low power consumption mode. Supply power for operation for writing and enable processing in step S65.
[0052] 上記処理を具体的に説明すると、ステップ S61においてアクセサリー (Acc)電源が オフとなり、データ内容 20の書き込みを開始した後に、バッテリー(Bup)電源の電圧 が低下したり、ノ ッテリーが取り外されたりした時には、ノ ックアップ装置 1に対する電 源供給が完全に遮断されることになる。対応してステップ S64では、このノ ッテリー(B up)電源の供給遮断を検出するようになっている。力!]えて、ステップ S65においては、 ユーザデータ 22 (22a〜22n)単位で書き込み処理を停止する。これにより、あるュ 一ザデータ 22aの書き込み中にバッテリー(Bup)電源の供給が遮断されても、書き 込み中のこのユーザデータ 22aを書き込み完了できるようになる。  [0052] The above process will be described in detail. In step S61, the accessory (Acc) power supply is turned off, and after the data content 20 starts to be written, the battery (Bup) power supply voltage drops or the knotter is removed. In such a case, the power supply to the knock-up device 1 is completely cut off. Correspondingly, in step S64, this notch (B up) power supply cut-off is detected. Power! In step S65, the writing process is stopped in units of user data 22 (22a to 22n). As a result, even if the supply of battery (Bup) power is cut off during writing of certain user data 22a, writing of the user data 22a being written can be completed.
[0053] 以上説明した実施の形態 2によれば、バックアップ装置を備えた車載機器が車両に 搭載された状態の時に、ユーザが装置を上記プリセット操作する等に基づいて、ユー ザデータ 22が書き換えられた時、ユーザデータ用フラグ 32を用いることにより、変更 されたデータ内容 20 (ユーザデータ 22)のうち、変更が有ったユーザデータ 22a〜2 2nだけを NVM5に書き換える。これにより、データ内容 20全体の書き換えが不要で あり、書き換え時間の短縮を図ることができるようになる。  [0053] According to the second embodiment described above, the user data 22 is rewritten based on, for example, the user performing a preset operation on the device when the in-vehicle device including the backup device is mounted on the vehicle. When the user data flag 32 is used, only the changed user data 22a to 22n of the changed data content 20 (user data 22) is rewritten to NVM5. As a result, it is not necessary to rewrite the entire data content 20, and the rewriting time can be shortened.
[0054] また、データ内容 20の書き換え中に、アクセサリー電源の供給が遮断された時であ つても、データ内容 20全体を書き換えるのではなぐ変更されたデータ内容 20 (ユー ザデータ 22)のうち、変更が有ったユーザデータ 22a〜22nだけを NVM5に書き換 える構成であるため、データ内容 20全体の書き換えが不要で短時間に書き換えでき るため、書き換え処理に必要な電源供給の期間を短くすることができ、補助電源機能 として必要な電源容量 (コンデンサ容量)を小さくでき、電源回路の小型化を図ること ができる。したがって、ユーザデータ 22の変更がなければ、不揮発性メモリ (NVM) 5 に対する書き込みを行わず、しかも、変更が有ったユーザデータ 22 (22a〜22n)の みを書き込み処理するため、データの書き込み回数を減らすことができ、 NVM5の 寿命を向上できるとともに、ノ ッテリー (Bup)電源が遮断された後の消費電力を低減 でさるよう〖こなる。 [0054] In addition, when the accessory power supply is interrupted while the data content 20 is being rewritten. Therefore, only the user data 22a to 22n that has changed among the changed data contents 20 (user data 22) that does not rewrite the entire data contents 20 is rewritten to NVM5. 20 The entire power supply is not required to be rewritten and can be rewritten in a short time, so the power supply period required for the rewrite process can be shortened, the power supply capacity (capacitor capacity) required for the auxiliary power supply function can be reduced, and Miniaturization can be achieved. Therefore, if the user data 22 is not changed, the non-volatile memory (NVM) 5 is not written, and only the changed user data 22 (22a to 22n) is written. The number of times can be reduced, the life of the NVM5 can be improved, and the power consumption after the notch (Bup) power supply is cut off can be reduced.
[0055] そして、上記実施の形態 2の説明では、 NVM5に対するデータの書き込みは、 a : 上述したユーザデータ用フラグ 32を用いることにより、変更されたデータ内容 20 (ュ 一ザデータ 22)のうち、変更が有ったユーザデータ 22a〜22nだけを書き込む処理と 、 b:ステップ S 53にお!/、てユーザデータ 22と NVM5に既に書き込まれて!/、るデータ とを比較してユーザデータのうち NVM5に書き込まれているデータに対して異なるデ ータを検出し、ステップ S56等においてこの異なるデータを NVM5に書き込み対象 に設定して書き込む処理と、を実行する構成とした。この処理 aはデータ内容をフラグ だけで判断するので判断処理時間を短縮することができる。一方、処理 bはデータ内 容を比較するので、書き込みが必要なデータを確実に検出することができる。これら 処理 a, bを使用状況や設定等に応じて実行することにより、より適したバックアップ処 理を実行することができる。  [0055] In the description of the second embodiment, the data is written to the NVM 5 as follows: a: Of the changed data content 20 (user data 22) by using the user data flag 32 described above, The process of writing only the changed user data 22a to 22n and b: In step S53, the user data 22 and the data already written in NVM5 are compared! In this configuration, different data is detected for the data written in NVM5, and in step S56 etc., this different data is set as a write target in NVM5 and written. In this process a, the data content is determined only by the flag, so the determination processing time can be shortened. On the other hand, processing b compares the data contents, so that it is possible to reliably detect data that needs to be written. By executing these processes a and b in accordance with usage conditions and settings, a more suitable backup process can be executed.
[0056] さらに、アクセサリー電源の供給が遮断された状態で、さらに、ノ ッテリー(Bup)電 源も遮断されて装置に対する電源供給が完全に遮断された時であっても、書き込み 中のデータ内容 20 (書き込み中の一つのユーザデータ 22a〜22n)の書き込みを完 了させることができ、電源遮断直前における装置の動作状態をできるだけ NVM5に 保持しておくことができるようになる。これらにより、ノ ッテリー電源の供給が再開され た時には、 NVM5のデータを RAM4に展開することにより、装置を電源遮断直前の 動作状態に復帰させることができるようになる。特に、ノ ッテリーの取り外し等により、 車載機器に対する電源供給が完全に遮断された後においても、再度ユーザのデー タを設定しなくともバッテリー (Bup)電源の供給が再開されるだけで車載機器のプリ セット値等を電源遮断直前の元の状態に戻すことができるようになる。 [0056] Further, even when the accessory power supply is cut off and the notch (Bup) power supply is also cut off and the power supply to the device is completely cut off, the data contents being written 20 (one user data 22a to 22n being written) can be completely written, and the operating state of the device immediately before the power-off can be held in NVM5 as much as possible. As a result, when the power supply of the knotter is resumed, the data of the NVM5 is expanded in the RAM4, so that the apparatus can be returned to the operation state immediately before the power is shut off. Especially by removing knotteries, etc. Even after the power supply to the in-vehicle device is completely shut down, the preset value of the in-vehicle device can be changed to the value just before the power shut-off just by restarting the battery (Bup) power supply without setting the user data again. It will be possible to return to the original state.
[0057] 以上説明したバックアップ装置、車載機器、ノックアップ方法、ノ ックアッププロダラ ムおよび記録媒体によれば、装置に対する電源遮断時に、不揮発性メモリに書き込 むバックアップに必要なデータの書き込みを少なくし時間短縮を図ることができる。な お、上記実施の形態 2では、不揮発性メモリ(NVM) 5に対して書き込みデータは、 車載機器をユーザが操作した時のプリセット値 (ユーザデータ 22)としたが、これに限 らず、制御部 2が実行するプログラム等のデータをバックアップ対象データとして不揮 発性メモリに書き込む構成にも適用することができる。  [0057] According to the backup device, the in-vehicle device, the knock-up method, the knock-up program, and the recording medium described above, the data necessary for backup to be written to the nonvolatile memory can be written when the power to the device is shut off. The time can be reduced and the time can be shortened. In the second embodiment, the data written to the nonvolatile memory (NVM) 5 is the preset value (user data 22) when the user operates the in-vehicle device. However, the present invention is not limited to this. The present invention can also be applied to a configuration in which data such as a program executed by the control unit 2 is written in a nonvolatile memory as backup target data.
[0058] なお、本実施の形態で説明したバックアップ方法は、予め用意されたプログラムを パーソナル.コンピュータやワークステーション等のコンピュータで実行することにより 実現することができる。このプログラムは、ハードディスク、フレキシブルディスク、 CD -ROM, MO、 DVD等のコンピュータで読み取り可能な記録媒体に記録され、コン ピュータによって記録媒体力も読み出されることによって実行される。またこのプログ ラムは、インターネット等のネットワークを介して配布することが可能な伝送媒体であ つてもよい。  Note that the backup method described in the present embodiment can be realized by executing a program prepared in advance on a computer such as a personal computer or a workstation. This program is recorded on a computer-readable recording medium such as a hard disk, a flexible disk, a CD-ROM, an MO, and a DVD, and is executed when the recording medium force is also read by the computer. In addition, this program may be a transmission medium that can be distributed via a network such as the Internet.

Claims

請求の範囲 The scope of the claims
[1] ノックアップ用のデータを記憶する不揮発性メモリと、  [1] a non-volatile memory for storing knock-up data;
電源の状態を検出する電源検出手段と、  Power detection means for detecting the state of the power;
電源オン状態の時に、バックアップ対象データのうち前記不揮発性メモリへの書き 込みが必要なデータを検知する検知手段と、  Detecting means for detecting data that needs to be written to the non-volatile memory among the backup target data when the power is on;
前記不揮発性メモリによるデータの記憶を制御する制御手段とを備え、 前記制御手段は、電源オン状態の時において、前記検知手段によって前記不揮 発性メモリに書き込みが必要なデータが検知された場合に、当該データを前記不揮 発性メモリに書き込むことを特徴とするバックアップ装置。  Control means for controlling the storage of data in the nonvolatile memory, and the control means is when the detection means detects data that needs to be written to the non-volatile memory when the power is on. And writing the data into the non-volatile memory.
[2] 前記検知手段は、前記バックアップ対象データのうち変化したデータを前記不揮発 性メモリへの書き込みが必要なデータとして検知することを特徴とする請求項 1に記 載のバックアップ装置。  [2] The backup device according to [1], wherein the detection unit detects changed data among the backup target data as data that needs to be written to the nonvolatile memory.
[3] 前記検知手段は、前記バックアップ対象データと前記不揮発性メモリに記憶されて いるデータとを比較し、前記バックアップ対象データのうち前記不揮発性メモリに記 憶されているデータに対して異なるデータを前記不揮発性メモリへの書き込みが必 要なデータとして検知することを特徴とする請求項 1に記載のバックアップ装置。  [3] The detection unit compares the backup target data with data stored in the nonvolatile memory, and the different data from the backup target data stored in the nonvolatile memory. 2. The backup device according to claim 1, wherein the data is detected as data that needs to be written to the nonvolatile memory.
[4] 前記検知手段は、前記バックアップ対象データのうち変化したデータを前記不揮発 性メモリへの書き込みが必要なデータとして検知する第 1の検知処理と、前記バック アップ対象データと前記不揮発性メモリに記憶されて 、るデータとを比較し、前記バ ックアップ対象データのうち前記不揮発性メモリに記憶されているデータに対して異 なるデータを前記不揮発性メモリへの書き込みが必要なデータとして検知する第 2の 検知処理と、を実行可能であり、状況に応じて前記第 1の検知処理または第 2の検知 処理の 、ずれか一方を実行することを特徴とする請求項 1に記載のバックアップ装置  [4] The detection means includes: a first detection process for detecting changed data among the backup target data as data that needs to be written to the nonvolatile memory; and the backup target data and the nonvolatile memory. The data stored in the non-volatile memory is detected as data that is different from the data stored in the non-volatile memory and is detected as data that needs to be written to the non-volatile memory. 2. The backup device according to claim 1, wherein one of the first detection process and the second detection process is executed according to a situation.
[5] 前記制御手段は、前記電源検出手段によって電源オフ状態が検出された時にお いて、当該電源オフ状態検出前に前記検知手段によって前記不揮発性メモリへの書 き込みが必要なデータが検知されており、且つ、当該データが前記不揮発性メモリに 書き込まれて 、な 、場合には、当該データを前記不揮発性メモリに書き込むことを特 徴とする請求項 1乃至 4のいずれ力 1項に記載のバックアップ装置。 [5] The control unit detects data that needs to be written to the nonvolatile memory by the detection unit before the power-off state is detected when the power-off state is detected by the power detection unit. If the data is written in the nonvolatile memory, the data is written in the nonvolatile memory. The backup device according to any one of claims 1 to 4, wherein:
[6] 前記制御手段は、前記不揮発性メモリへの書き込みが必要なデータのデータ量が 所定量より大きい場合には、前記データのうち所定量分のデータだけ前記不揮発性 メモリに記憶させることを特徴とする請求項 5に記載のバックアップ装置。 [6] When the data amount of data that needs to be written to the nonvolatile memory is larger than a predetermined amount, the control means stores only a predetermined amount of the data in the nonvolatile memory. 6. The backup device according to claim 5, wherein
[7] 車両に搭載され、当該車両力 電源の供給を受けて動作する車載機器において、 前記車載機器の動作処理に用いるデータを記憶する揮発性メモリと、 [7] In a vehicle-mounted device that is mounted on a vehicle and operates by receiving the supply of the vehicle power, the volatile memory that stores data used for operation processing of the vehicle-mounted device;
ノックアップ用のデータを記憶する不揮発性メモリと、  A non-volatile memory for storing knock-up data;
前記電源の状態を検出する電源検出手段と、  Power detection means for detecting the state of the power;
電源オン状態の時に、前記揮発性メモリに記憶されて 、るノ ックアップ対象データ のうち前記不揮発性メモリへの書き込みが必要なデータを検知する検知手段と、 前記不揮発性メモリによるデータの記憶を制御する制御手段とを備え、 前記制御手段は、電源オン状態の時において、前記検知手段によって前記不揮 発性メモリに書き込みが必要なデータが検知された場合に、当該データを前記不揮 発性メモリに書き込むことを特徴とする車載機器。  Detection means for detecting data stored in the volatile memory that needs to be written to the nonvolatile memory when the power is turned on, and controls storage of data by the nonvolatile memory And when the data that needs to be written to the non-volatile memory is detected by the detecting unit when the power is on, the control unit stores the non-volatile data. In-vehicle equipment characterized by writing to memory.
[8] 前記検知手段は、前記バックアップ対象データのうち変化したデータを前記不揮発 性メモリへの書き込みが必要なデータとして検知することを特徴とする請求項 7に記 載の車載機器。 8. The in-vehicle device according to claim 7, wherein the detection unit detects changed data among the backup target data as data that needs to be written to the nonvolatile memory.
[9] 前記検知手段は、前記バックアップ対象データと前記不揮発性メモリに記憶されて いるデータとを比較し、前記バックアップ対象データのうち前記不揮発性メモリに記 憶されているデータに対して異なるデータを前記不揮発性メモリへの書き込みが必 要なデータとして検知することを特徴とする請求項 7に記載の車載機器。  [9] The detection unit compares the backup target data with the data stored in the nonvolatile memory, and the data different from the backup target data stored in the nonvolatile memory. 8. The in-vehicle device according to claim 7, wherein the data is detected as data that needs to be written to the nonvolatile memory.
[10] 前記検知手段は、前記バックアップ対象データのうち変化したデータを前記不揮発 性メモリへの書き込みが必要なデータとして検知する第 1の検知処理と、前記バック アップ対象データと前記不揮発性メモリに記憶されて 、るデータとを比較し、前記バ ックアップ対象データのうち前記不揮発性メモリに記憶されているデータに対して異 なるデータを前記不揮発性メモリへの書き込みが必要なデータとして検知する第 2の 検知処理と、を実行可能であり、状況に応じて前記第 1の検知処理または第 2の検知 処理のいずれか一方を実行することを特徴とする請求項 7に記載の車載機器。 [10] The detection means includes: a first detection process for detecting changed data among the backup target data as data that needs to be written to the nonvolatile memory; and the backup target data and the nonvolatile memory. The data stored in the non-volatile memory is detected as data that is different from the data stored in the non-volatile memory and is detected as data that needs to be written to the non-volatile memory. 8. The in-vehicle device according to claim 7, wherein two detection processes can be executed, and either the first detection process or the second detection process is executed according to a situation.
[11] 前記電源検出手段は、前記車両のアクセサリー電源の状態およびバッテリー電源 の状態を検出し、 [11] The power detection means detects the state of accessory power and battery power of the vehicle,
前記制御手段は、前記電源検出手段によって前記アクセサリー電源オフ状態且つ 前記バッテリー電源オン状態が検出された時において、当該電源状態検出前に前 記検知手段によって前記不揮発性メモリへの書き込みが必要なデータが検知されて おり、且つ、当該データが前記不揮発性メモリに書き込まれていない場合には、当該 データを前記不揮発性メモリに書き込むことを特徴とする請求項 7乃至 10の 、ずれ 力 1項に記載の車載機器。  When the accessory power-off state and the battery power-on state are detected by the power detection unit, the control unit is a data that needs to be written to the nonvolatile memory by the detection unit before the power state detection. If the data is detected and the data is not written to the nonvolatile memory, the data is written to the nonvolatile memory. The in-vehicle device described.
[12] 前記制御手段は、前記電源検出手段によって前記バッテリー電源オフ状態が検出 された時において、当該電源状態検出前に前記検知手段によって不揮発性メモリへ の書き込みが必要なデータが検知されており、且つ、当該データが前記不揮発性メ モリに書き込まれて 、な 、場合であって当該データのデータ量が所定量より大き ヽ 場合には、当該データのうち所定量分のデータだけ前記不揮発性メモリに記憶させ ることを特徴とする請求項 11に記載の車載機器。  [12] When the battery power-off state is detected by the power detection unit, the control unit detects data that needs to be written to the nonvolatile memory by the detection unit before detecting the power state. In addition, if the data is not written in the nonvolatile memory, and if the data amount of the data is larger than a predetermined amount, only the predetermined amount of the data is stored in the nonvolatile memory. 12. The in-vehicle device according to claim 11, wherein the in-vehicle device is stored in a memory.
[13] ノックアップが必要な情報を不揮発性メモリに記憶させるバックアップ方法にお!、て 電源の状態を検出する電源検出工程と、  [13] A backup method that stores information that requires knock-up in nonvolatile memory! A power detection process for detecting the state of the power;
電源オン状態の時に、バックアップ対象データのうち前記不揮発性メモリへの書き 込みが必要なデータを検知する検知工程と、  A detection step of detecting data that needs to be written to the nonvolatile memory among the backup target data when the power is on;
前記不揮発性メモリによるデータの記憶を制御する制御工程とを含み、 前記制御工程は、電源オン状態の時において、前記検知工程によって前記不揮 発性メモリに書き込みが必要なデータが検知された場合に、当該データを前記不揮 発性メモリに書き込むことを特徴とするバックアップ方法。  A control step for controlling storage of data by the nonvolatile memory, wherein the control step is when a data that needs to be written to the non-volatile memory is detected by the detection step when the power is on. And writing the data into the non-volatile memory.
[14] 請求項 13に記載のノックアップ方法をコンピュータに実行させることを特徴とする ノックアッププログラム。 [14] A knockup program that causes a computer to execute the knockup method according to claim 13.
[15] 請求項 14に記載のノックアッププログラムを記録したことを特徴とするコンピュータ 読み取り可能な記録媒体。 [15] A computer-readable recording medium on which the knock-up program according to claim 14 is recorded.
PCT/JP2005/010711 2004-06-30 2005-06-10 Backup device, and car-mounted device WO2006003781A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004-194553 2004-06-30
JP2004194553 2004-06-30

Publications (1)

Publication Number Publication Date
WO2006003781A1 true WO2006003781A1 (en) 2006-01-12

Family

ID=35782593

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/010711 WO2006003781A1 (en) 2004-06-30 2005-06-10 Backup device, and car-mounted device

Country Status (1)

Country Link
WO (1) WO2006003781A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014060472A1 (en) 2012-10-17 2014-04-24 Novo Nordisk A/S Fatty acid acylated amino acids for oral peptide delivery

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6151697A (en) * 1984-08-21 1986-03-14 Meidensha Electric Mfg Co Ltd Data storing in nonvolatile memory
JPS62269256A (en) * 1986-05-19 1987-11-21 Fujitsu Ltd Data storage system for semiconductor file
JPH0728572A (en) * 1993-07-14 1995-01-31 Hitachi Ltd Automatic data preserving device at power interruption
JPH1063586A (en) * 1996-08-19 1998-03-06 Fujitsu Ltd Information processor
JPH11110308A (en) * 1997-10-01 1999-04-23 Nec Eng Ltd Data backup system in case of power supply cutoff

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6151697A (en) * 1984-08-21 1986-03-14 Meidensha Electric Mfg Co Ltd Data storing in nonvolatile memory
JPS62269256A (en) * 1986-05-19 1987-11-21 Fujitsu Ltd Data storage system for semiconductor file
JPH0728572A (en) * 1993-07-14 1995-01-31 Hitachi Ltd Automatic data preserving device at power interruption
JPH1063586A (en) * 1996-08-19 1998-03-06 Fujitsu Ltd Information processor
JPH11110308A (en) * 1997-10-01 1999-04-23 Nec Eng Ltd Data backup system in case of power supply cutoff

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014060472A1 (en) 2012-10-17 2014-04-24 Novo Nordisk A/S Fatty acid acylated amino acids for oral peptide delivery

Similar Documents

Publication Publication Date Title
US9274788B2 (en) Information processing apparatus, method for controlling the same, and storage medium
US7516283B2 (en) Memory control device, in-car device, memory control method, and computer product for managing data in response to various power states
WO2014161339A1 (en) Firmware upgrade method and device
JP5581577B2 (en) Data processing device
JP2011128751A (en) Data recording device and method for controlling the same
CN112397128A (en) Control method and device for Flash memory
JP2001322515A (en) Vehicular dark current reducing method and device
WO2006003781A1 (en) Backup device, and car-mounted device
TWI438402B (en) Navigation device for vehicle
JP2005327210A (en) Electronic device
JP2007087118A (en) Controller and portable terminal
US20120079291A1 (en) Data backup system, storage system utilizing the data backup system, data backup method and computer readable medium for performing the data backup method
US20050177768A1 (en) Update detection device and update detection program
JP5260396B2 (en) Electronics
KR100806104B1 (en) Upgrade method for software in digital electric home appliance
KR101076395B1 (en) Method of Controlling Power in an Video Recording Apparatus for Vehicles
JP2005128613A (en) Image forming device
US7237060B2 (en) CPU-containing LSI, and optical disk device and LSI device with the same
JP2000322160A (en) Data processor
JP4645181B2 (en) Computer start control device and computer start control method
WO2020241473A1 (en) Computation processing device, vehicle control device, and update method
JP4655398B2 (en) Vehicle control device with backup function
JP2003288213A (en) Boot program storage device and method of storing boot program of electronic appliance
JPH09305395A (en) Electronic equipment
JPH05265881A (en) Write protecting circuit of and write protecting method for non-volatile memory

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Country of ref document: DE

NENP Non-entry into the national phase

Ref country code: JP

122 Ep: pct application non-entry in european phase