Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6966385B2 - Data transfer system and data transfer method - Google Patents
[go: Go Back, main page]

JP6966385B2 - Data transfer system and data transfer method - Google Patents

Data transfer system and data transfer method Download PDF

Info

Publication number
JP6966385B2
JP6966385B2 JP2018111975A JP2018111975A JP6966385B2 JP 6966385 B2 JP6966385 B2 JP 6966385B2 JP 2018111975 A JP2018111975 A JP 2018111975A JP 2018111975 A JP2018111975 A JP 2018111975A JP 6966385 B2 JP6966385 B2 JP 6966385B2
Authority
JP
Japan
Prior art keywords
data
state
board
volatile memory
main body
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2018111975A
Other languages
Japanese (ja)
Other versions
JP2019216334A (en
Inventor
直彦 伊藤
剛史 佐藤
健司 神田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Corona Corp
Original Assignee
Corona Corp
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 Corona Corp filed Critical Corona Corp
Priority to JP2018111975A priority Critical patent/JP6966385B2/en
Publication of JP2019216334A publication Critical patent/JP2019216334A/en
Application granted granted Critical
Publication of JP6966385B2 publication Critical patent/JP6966385B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)
  • Heat-Pump Type And Storage Water Heaters (AREA)

Description

本発明は、データ転送システム及びデータ転送方法に関する。 The present invention relates to a data transfer system and a data transfer method.

従来のデータ転送システムとして、例えば特許文献1には、給湯機とリモートコントローラ(リモコン)との間でデータ転送を行うものが開示されている。このデータ転送システムでは、リモコン側の記憶手段に給湯機の制御基板(以下、本体基板と言う。)が保有するデータを記憶させ、本体基板が交換された際に、リモコン側の記憶手段に記憶されたデータを交換後の新たな本体基板に転送する。 As a conventional data transfer system, for example, Patent Document 1 discloses a system that transfers data between a water heater and a remote controller (remote controller). In this data transfer system, the data held by the control board of the water heater (hereinafter referred to as the main body board) is stored in the storage means on the remote control side, and when the main body board is replaced, the data is stored in the storage means on the remote control side. Transfer the exchanged data to a new main board after exchange.

特開2001−33091号公報Japanese Unexamined Patent Publication No. 2001-33091

特許文献1に開示されたデータ転送システムでは以下のような問題が生じ得る。
図10(a)に示すように、本体基板の故障が疑われ、家庭Aにてサービスパーツとしての新たな本体基板9nを給湯機に接続すると、家庭Aの使用状況に係るデータDaがリモコンから新たな本体基板9nに転送される。この際、実は本体基板が故障しておらず、本体基板の交換が不要となった場合、サービスパーツとしての新たな本体基板9nはサービスマンに回収される。
The following problems may occur in the data transfer system disclosed in Patent Document 1.
As shown in FIG. 10A, when a failure of the main body board is suspected and a new main body board 9n as a service part is connected to the water heater in the home A, the data Da related to the usage status of the home A is transmitted from the remote controller. It is transferred to a new main body board 9n. At this time, if the main body board is not actually out of order and it is no longer necessary to replace the main body board, the new main body board 9n as a service part is collected by the serviceman.

続いて、図10(b)に示すように、家庭Aから回収された新たな本体基板9nを誤って家庭Bの給湯機に接続した場合を考える。このときの本体基板9nにはデータDaが入力済みであるため、家庭Aでの場合とは異なり、家庭Bの使用状況に係るデータDbがリモコンから本体基板9nに転送されない。その後、本体基板9nからリモコン側の基板への定期的なデータ更新が行われると、家庭Bの使用状況に係るデータDbがデータDaで上書きされてしまう。このように、基板を何らかの原因で再利用すると、必要なデータが確保することができない虞がある。 Next, consider a case where a new main body substrate 9n recovered from the home A is mistakenly connected to the water heater of the home B as shown in FIG. 10 (b). Since the data Da has already been input to the main body board 9n at this time, the data Db relating to the usage status of the home B is not transferred from the remote controller to the main body board 9n, unlike the case of the home A. After that, when the data is periodically updated from the main body board 9n to the board on the remote control side, the data Db related to the usage status of the home B is overwritten by the data Da. As described above, if the substrate is reused for some reason, there is a possibility that necessary data cannot be secured.

本発明は、上記実状を鑑みてなされたものであり、基板を何らかの原因で再利用しても、必要なデータを確保することができるデータ転送システム及びデータ転送方法を提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a data transfer system and a data transfer method capable of securing necessary data even if the substrate is reused for some reason. ..

(1)上記目的を達成するため、本発明の第1の観点に係るデータ転送システムは、
互いに通信が可能な第1基板及び第2基板を備え、前記第1基板と前記第2基板との間でデータ転送を行うデータ転送システムであって、
前記第1基板と前記第2基板の一方は家電機器に設けられ、他方は前記家電機器の遠隔操作を可能とするリモートコントローラに設けられ、
前記第1基板は、第1制御部と、前記第1制御部の制御によりデータを記憶する第1不揮発性メモリとを有し、
前記第2基板は、第2制御部と、前記第2制御部の制御によりデータを記憶する第2不揮発性メモリとを有し、
前記第1制御部は、前記第1不揮発性メモリ及び前記第2不揮発性メモリの各々のデータ状態を特定可能であり、
前記データ状態は、互いに異なる優先度の複数の状態を有し、
前記複数の状態は、記憶されているデータがある未確定状態と、記憶されているデータがあるとともに前記未確定状態よりも優先度が高い確定状態とを含み、
前記第1基板が交換されたことに応じて、当該交換後の前記第1基板の前記第1制御部は、前記第1不揮発性メモリと前記第2不揮発性メモリとの前記データ状態の優先度を比較し、
前記第2不揮発性メモリの前記データ状態が前記第1不揮発性メモリの前記データ状態よりも優先度が高い場合には、前記第2不揮発性メモリに記憶されているデータを取り込んで前記第1不揮発性メモリに記憶させる取込処理を行う一方で、
前記第1不揮発性メモリの前記データ状態が前記第2不揮発性メモリの前記データ状態よりも優先度が高い場合には、前記取込処理を行わない。
(1) In order to achieve the above object, the data transfer system according to the first aspect of the present invention is
A data transfer system comprising a first board and a second board capable of communicating with each other and transferring data between the first board and the second board.
One of the first board and the second board is provided in the home electric appliance, and the other is provided in the remote controller capable of remote control of the home electric appliance.
The first board has a first control unit and a first non-volatile memory for storing data under the control of the first control unit.
The second substrate has a second control unit and a second non-volatile memory for storing data under the control of the second control unit.
The first control unit can specify the data state of each of the first non-volatile memory and the second non-volatile memory.
The data states have multiple states with different priorities from each other.
The plurality of states include an undetermined state having stored data and a confirmed state having stored data and having a higher priority than the undetermined state.
In response to the replacement of the first board, the first control unit of the first board after the replacement has priority of the data state between the first non-volatile memory and the second non-volatile memory. Compare and
When the data state of the second non-volatile memory has a higher priority than the data state of the first non-volatile memory, the data stored in the second non-volatile memory is taken in and the first non-volatile memory is taken in. While performing the import process to store in the non-volatile memory
When the data state of the first non-volatile memory has a higher priority than the data state of the second non-volatile memory, the acquisition process is not performed.

(2)上記(1)に記載のデータ転送システムにおいて、
前記第1不揮発性メモリ及び前記第2不揮発性メモリの各々にデータが記憶されており、且つ、前記第1不揮発性メモリと前記第2不揮発性メモリとの前記データ状態の優先度が同じ場合、前記第1制御部は、前記第1基板の通電積算時間と前記第2基板の通電積算時間とを比較し、
前記第2基板の通電積算時間が前記第1基板の通電積算時間よりも長い場合に、前記取込処理を行う一方で、前記第1基板の通電積算時間が前記第2基板の通電積算時間以下の場合には、前記取込処理を行わない、ようにしてもよい。
(2) In the data transfer system described in (1) above,
When data is stored in each of the first non-volatile memory and the second non-volatile memory, and the priority of the data state of the first non-volatile memory and the second non-volatile memory is the same. The first control unit compares the energization integration time of the first substrate with the energization integration time of the second substrate.
When the energization integration time of the second substrate is longer than the energization integration time of the first substrate, the acquisition process is performed, while the energization integration time of the first substrate is equal to or less than the energization integration time of the second substrate. In the case of, the import process may not be performed.

(3)上記(2)に記載のデータ転送システムにおいて、
前記第1不揮発性メモリと前記第2不揮発性メモリとの前記データ状態がともに前記未確定状態である場合、前記第1制御部は、前記第1基板の通電積算時間として前記第1不揮発性メモリが前記未確定状態となってからの通電積算時間と、前記第2基板の通電積算時間として前記第2不揮発性メモリが前記未確定状態となってからの通電積算時間とを比較する、ようにしてもよい。
(3) In the data transfer system described in (2) above,
When the data states of the first non-volatile memory and the second non-volatile memory are both in the undetermined state, the first control unit uses the first non-volatile memory as the energization integration time of the first substrate. Compares the energization integration time after the undetermined state is reached with the energization integration time after the second non-volatile memory is in the undetermined state as the energization integration time of the second substrate. You may.

(4)上記(2)又は(3)に記載のデータ転送システムにおいて、
前記第1不揮発性メモリと前記第2不揮発性メモリとの前記データ状態がともに前記確定状態である場合、前記第1制御部は、前記第1基板の初回通電時からの通電積算時間と、前記第2基板の初回通電時からの通電積算時間とを比較する、ようにしてもよい。
(4) In the data transfer system according to (2) or (3) above.
When the data states of the first non-volatile memory and the second non-volatile memory are both in the definite state, the first control unit determines the energization integration time from the first energization of the first substrate and the energization integration time. It may be possible to compare the energization integrated time from the first energization of the second substrate.

(5)上記(1)乃至(4)のいずれかに記載のデータ転送システムにおいて、
前記複数の状態は、前記未確定状態よりも優先度が低く、記憶されているデータが無いデータ無の状態を含み、
前記第1制御部は、前記第1不揮発性メモリの前記データ状態が前記データ無の状態である場合に前記取込処理を行うと、前記第1不揮発性メモリの前記データ状態を前記データ無の状態から前記未確定状態とする、ようにしてもよい。
(5) In the data transfer system according to any one of (1) to (4) above.
The plurality of states have a lower priority than the undetermined state, and include a state of no data with no stored data.
When the acquisition process is performed when the data state of the first non-volatile memory is the state of no data, the first control unit changes the data state of the first non-volatile memory to the state of no data. The state may be changed from the undetermined state to the undetermined state.

(6)上記(1)乃至(5)のいずれかに記載のデータ転送システムにおいて、
前記第1制御部は、前記第1不揮発性メモリの前記データ状態が前記未確定状態となってから予め定めた所定期間が経過した際に、前記第1不揮発性メモリの前記データ状態を前記未確定状態から前記確定状態とする、ようにしてもよい。
(6) In the data transfer system according to any one of (1) to (5) above.
The first control unit changes the data state of the first non-volatile memory to the undetermined state when a predetermined period has elapsed after the data state of the first non-volatile memory becomes the undetermined state. The fixed state may be changed to the confirmed state.

(7)上記(1)乃至(6)のいずれかに記載のデータ転送システムにおいて、
前記家電機器は、給湯機である、ようにしてもよい。
(7) In the data transfer system according to any one of (1) to (6) above.
The home electric appliance may be a water heater.

(8)上記目的を達成するため、本発明の第2の観点に係るデータ転送方法は、
互いに通信が可能であるとともに記憶領域を有する第1基板と第2基板との間でデータ転送を行うデータ転送方法であって、
前記第1基板と前記第2基板の一方は家電機器に設けられ、他方は前記家電機器の遠隔操作を可能とするリモートコントローラに設けられ、
前記第1基板及び前記第2基板の各々の記憶領域のデータ状態として、互いに異なる優先度の複数の状態を用意し、
前記複数の状態は、記憶されているデータがある未確定状態と、記憶されているデータがあるとともに前記未確定状態よりも優先度が高い確定状態とを含み、
前記第1基板が交換されたことに応じて、当該交換後の前記第1基板と、前記第2基板との前記データ状態の優先度を比較し、
前記第2基板の前記データ状態が前記第1基板の前記データ状態よりも優先度が高い場合には、前記第2基板に記憶されているデータを前記第1基板に取り込んで記憶させる一方で、
前記第1基板の前記データ状態が前記第2基板の前記データ状態よりも優先度が高い場合には、前記第2基板に記憶されているデータを前記第1基板に取り込まない。
(8) In order to achieve the above object, the data transfer method according to the second aspect of the present invention is
It is a data transfer method that transfers data between a first board and a second board that can communicate with each other and have a storage area.
One of the first board and the second board is provided in the home electric appliance, and the other is provided in the remote controller capable of remote control of the home electric appliance.
As the data states of the storage areas of the first substrate and the second substrate, a plurality of states having different priorities are prepared.
The plurality of states include an undetermined state having stored data and a confirmed state having stored data and having a higher priority than the undetermined state.
In response to the replacement of the first substrate, the priority of the data state between the first substrate after the replacement and the second substrate is compared.
When the data state of the second board has a higher priority than the data state of the first board, the data stored in the second board is taken into the first board and stored.
When the data state of the first board has a higher priority than the data state of the second board, the data stored in the second board is not taken into the first board.

本発明によれば、基板を何らかの原因で再利用しても、必要なデータを確保することができる。 According to the present invention, even if the substrate is reused for some reason, necessary data can be secured.

本発明の一実施形態に係るデータ転送システムの構成を示すブロック図である。It is a block diagram which shows the structure of the data transfer system which concerns on one Embodiment of this invention. 本体データ及びリモコンデータの各々の状態の優先度と、転送元との関係を示す図である。It is a figure which shows the relationship between the priority of each state of the main body data and remote control data, and a transfer source. 出荷時における給湯機及びリモコンのデータ状態を示す図である。It is a figure which shows the data state of a water heater and a remote controller at the time of shipment. (a)〜(c)は、主に出荷後のデータ遷移を説明するための図である。(A) to (c) are diagrams mainly for explaining the data transition after shipment. 給湯機の制御部が実行するデータ取込処理の一例を示すフローチャートである。It is a flowchart which shows an example of the data acquisition process which a control part of a water heater executes. リモコンの制御部が実行するデータ取込処理の一例を示すフローチャートである。It is a flowchart which shows an example of the data acquisition process executed by the control part of a remote controller. 給湯機及びリモコンの各制御部が実行するデータ確定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the data confirmation process executed by each control part of a water heater and a remote controller. (a)〜(c)は、データ遷移の一例を説明するための図である。(A) to (c) are diagrams for explaining an example of data transition. (a)及び(b)は、データ遷移の一例を説明するための図である。(A) and (b) are diagrams for explaining an example of data transition. (a)及び(b)は、従来技術で生じる虞のある問題を説明するための図である。(A) and (b) are diagrams for explaining problems that may occur in the prior art.

本発明の一実施形態に係るデータ転送システム及びデータ転送方法について図面を参照して説明する。 A data transfer system and a data transfer method according to an embodiment of the present invention will be described with reference to the drawings.

データ転送システムSは、図1に示すように、給湯機100と、リモートコントローラ(リモコン)200と、両者を接続するケーブルCとを備え、給湯機100とリモコン200との間でケーブルCを介してデータの転送が可能に構成されている。 As shown in FIG. 1, the data transfer system S includes a water heater 100, a remote controller (remote controller) 200, and a cable C for connecting the two, and the water heater 100 and the remote controller 200 are connected via the cable C. It is configured to enable data transfer.

(給湯機100)
給湯機100は、例えば家庭用の石油給湯機であり、本体基板10と、電源基板14とを備える。なお、図1において、燃焼部や熱交換器などデータ転送と直接関係のない構成は省略している。また以下では、給湯機100をリモコン200との対比において「本体100」と呼ぶこともある。
(Water heater 100)
The water heater 100 is, for example, an oil water heater for home use, and includes a main body substrate 10 and a power supply substrate 14. Note that in FIG. 1, configurations that are not directly related to data transfer, such as a combustion unit and a heat exchanger, are omitted. Further, in the following, the water heater 100 may be referred to as a "main body 100" in comparison with the remote controller 200.

電源基板14は、商用電源から給湯機100の各部へ駆動電力を供給する。本体基板10の駆動電力も電源基板14から供給される。 The power supply board 14 supplies drive power from a commercial power source to each part of the water heater 100. The drive power of the main body board 10 is also supplied from the power supply board 14.

本体基板10は、給湯機100の各部の動作を制御する基板であり、制御部11と、通信部13とを備える。本体基板10は、給湯機100に対して着脱可能に構成されている。 The main body board 10 is a board that controls the operation of each part of the water heater 100, and includes a control unit 11 and a communication unit 13. The main body substrate 10 is configured to be removable from the water heater 100.

制御部11は、給湯機100の各部の動作を制御するマイクロコンピュータ(マイコン)からなり、CPU(Central Processing Unit)と、ROM(Read Only Memory)と、RAM(Random Access Memory)とを備える。ROMは、動作プログラムや各種の固定データを予め記憶する。RAMは、各種の演算結果などを一時的に記憶する。CPUは、ROMに記憶された動作プログラムを実行する。特に、ROMには、後述するデータ取込処理を実行するための動作プログラムが格納されている。また、本体基板10は、「年/月/日/曜日」や「時/分/秒」の情報を含む時刻情報を出力するリアルタイムクロックや、適宜計時を行うタイマを図示しない構成として備えている。当該構成からの情報に基づいて、制御部11は、後述のタイムスタンプデータの生成や、通電積算時間のカウントが可能となっている。 The control unit 11 includes a microcomputer (microcomputer) that controls the operation of each part of the water supply machine 100, and includes a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). The ROM stores an operation program and various fixed data in advance. The RAM temporarily stores various calculation results and the like. The CPU executes the operation program stored in the ROM. In particular, the ROM stores an operation program for executing the data acquisition process described later. Further, the main body board 10 is provided with a configuration (not shown) such as a real-time clock that outputs time information including information of "year / month / day / day of the week" and "hour / minute / second" and a timer that appropriately clocks. .. Based on the information from the configuration, the control unit 11 can generate time stamp data, which will be described later, and count the energization integration time.

また、制御部11は、CPUの制御によってデータの再書き込みや消去が可能な不揮発性メモリ12を備える。不揮発性メモリ12は、例えば、フラッシュメモリやEEPROM(Electrically Erasable Programmable Read Only Memory)から構成される。なお、不揮発性メモリ12は、制御部11に内蔵されたものに限られず、本体基板10に実装されていれば、制御部11の外部メモリであってもよい。 Further, the control unit 11 includes a non-volatile memory 12 capable of rewriting or erasing data under the control of the CPU. The non-volatile memory 12 is composed of, for example, a flash memory or an EEPROM (Electrically Erasable Programmable Read Only Memory). The non-volatile memory 12 is not limited to the one built in the control unit 11, and may be an external memory of the control unit 11 as long as it is mounted on the main body board 10.

CPUの制御によって不揮発性メモリ12に記憶されるデータである本体データD1は、主データと、状態判別用データとを有する。
主データは、タイムスタンプデータと、調整データとを含む。タイムスタンプデータは、通電日数や累積燃焼時間を示すものであり、点検時期(例えば、使用から10年経過後)を告知するために用いられる。調整データは、給湯機100の機器毎に調整が必要なデータであり、例えば、油量を調整するためのデータ(Lo/Hiを示すデータ)などである。当該主データは、後述のデータ取込処理における所定条件下で、リモコンデータD2の主データと同じものに更新される。
状態判別用データは、本体データD1のデータ状態や、データ転送からの通電積算時間を示すデータである。
The main body data D1, which is data stored in the non-volatile memory 12 under the control of the CPU, has a main data and a state determination data.
The main data includes time stamp data and adjustment data. The time stamp data indicates the number of days of energization and the cumulative burning time, and is used to notify the inspection time (for example, 10 years after use). The adjustment data is data that needs to be adjusted for each device of the water heater 100, and is, for example, data for adjusting the amount of oil (data indicating Lo / Hi). The main data is updated to the same as the main data of the remote control data D2 under predetermined conditions in the data acquisition process described later.
The state determination data is data indicating the data state of the main body data D1 and the energization integration time from the data transfer.

通信部13は、リモコン200とデータ通信を行うための通信回路であり、例えば、電源に信号を重畳して伝送する重畳伝送回路からなる。通信部13は、二芯の通信ケーブルからなるケーブルCでリモコン200の通信部23と接続される。これにより、リモコン200は、データの転送に加え、給湯機100から電源供給を受けることができる。 The communication unit 13 is a communication circuit for performing data communication with the remote controller 200, and includes, for example, a superposition transmission circuit that superimposes and transmits a signal on a power source. The communication unit 13 is connected to the communication unit 23 of the remote controller 200 by a cable C composed of a two-core communication cable. As a result, the remote controller 200 can receive power from the water heater 100 in addition to transferring data.

(リモコン200)
リモコン200は、給湯機100を遠隔操作するためのものであり、リモコン基板20を備える。なお、図1において、操作部や表示部などデータ転送と直接関係のない構成は省略している。
(Remote control 200)
The remote controller 200 is for remotely controlling the water heater 100, and includes a remote controller board 20. Note that in FIG. 1, configurations that are not directly related to data transfer, such as an operation unit and a display unit, are omitted.

リモコン基板20は、リモコン200の各部の動作を制御する基板であり、制御部21と、通信部23とを備える。リモコン基板20は、リモコン200に対して着脱可能に構成されている。 The remote control board 20 is a board that controls the operation of each part of the remote control 200, and includes a control unit 21 and a communication unit 23. The remote control board 20 is configured to be removable from the remote control 200.

制御部21は、リモコン200の各部の動作を制御するマイコンからなり、CPUと、ROMと、RAMとを備える。特に、ROMには、後述するデータ取込処理を実行するための動作プログラムが格納されている。また、リモコン基板20は、本体基板10と同様にリアルタイムクロックやタイマを備えている。当該構成からの情報に基づいて、制御部21は、後述のタイムスタンプデータの生成や、通電積算時間のカウントが可能となっている。 The control unit 21 includes a microcomputer that controls the operation of each unit of the remote controller 200, and includes a CPU, a ROM, and a RAM. In particular, the ROM stores an operation program for executing the data acquisition process described later. Further, the remote control board 20 includes a real-time clock and a timer like the main body board 10. Based on the information from the configuration, the control unit 21 can generate the time stamp data described later and count the energization integration time.

また、制御部21は、CPUの制御によりデータの再書き込みや消去が可能な不揮発性メモリ22を備える。不揮発性メモリ22は、例えば、フラッシュメモリやEEPROMから構成される。なお、不揮発性メモリ22は、制御部21に内蔵されたものに限られず、リモコン基板20に実装されていれば、制御部21の外部メモリであってもよい。 Further, the control unit 21 includes a non-volatile memory 22 capable of rewriting or erasing data under the control of the CPU. The non-volatile memory 22 is composed of, for example, a flash memory or an EEPROM. The non-volatile memory 22 is not limited to the one built in the control unit 21, and may be an external memory of the control unit 21 as long as it is mounted on the remote control board 20.

不揮発性メモリ22に記憶されるデータであるリモコンデータD2は、本体データD1と同様に、主データと、状態判別用データとを有する。
リモコンデータD2の主データは、後述するデータ取込処理に従って、所定の契機で取り込んだ本体データD1の主データと同じ構成のものである。当該主データは、定期的に本体データD1の主データと同じものに更新されるとともに、後述のデータ取込処理における所定条件下で、本体データD1の主データと同じものに更新される。
状態判別用データは、リモコンデータD2のデータ状態や、データ転送からの通電積算時間を示すデータである。
The remote control data D2, which is the data stored in the non-volatile memory 22, has the main data and the state determination data, similarly to the main body data D1.
The main data of the remote control data D2 has the same configuration as the main data of the main body data D1 acquired at a predetermined opportunity according to the data acquisition process described later. The main data is periodically updated to the same as the main data of the main body data D1, and is also updated to the same as the main data of the main body data D1 under predetermined conditions in the data acquisition process described later.
The state determination data is data indicating the data state of the remote controller data D2 and the energization integration time from the data transfer.

通信部23は、給湯機100とデータ通信を行うための通信回路であり、例えば前記同様に、電源に信号を重畳して伝送する重畳伝送回路からなる。データ転送システムSの構成は以上である。 The communication unit 23 is a communication circuit for performing data communication with the water heater 100, and is composed of, for example, a superimposition transmission circuit that superimposes and transmits a signal on a power source as described above. The configuration of the data transfer system S is as described above.

続いて、図2を参照して、本体データD1及びリモコンデータD2の各々に用意されたデータ状態について説明する。
本体データD1とリモコンデータD2の各々には、優先度が低い方から順に、「データ無」、「未確定状態」、「確定状態」の3種類のデータ状態が用意されている。本実施形態では、本体基板10又はリモコン基板20の交換時(以下、省略して「基板交換時」とも言う。)に当該優先度に応じてデータの転送元と転送先とを決定することで、従来技術で生じる虞があった必要なデータが上書きされてしまうことを防止する。本体データD1のデータ状態は、本体基板10の不揮発性メモリ12に状態判別用データとして記憶される。リモコンデータD2のデータ状態は、リモコン基板20の不揮発性メモリ22に状態判別用データとして記憶される。なお、「データ無」の状態については、状態判別用データとして記憶されなくともよく、制御部11又は制御部21が判別対象のデータ(本体データD1又はリモコンデータD2)の主データが単に存在しない場合に「データ無」と判別するようにしてもよい。
Subsequently, with reference to FIG. 2, the data states prepared for each of the main body data D1 and the remote control data D2 will be described.
Each of the main body data D1 and the remote control data D2 is prepared with three types of data states, "no data", "unconfirmed state", and "confirmed state", in order from the lowest priority. In the present embodiment, when the main board 10 or the remote control board 20 is replaced (hereinafter, also referred to as “board replacement” for short), the data transfer source and transfer destination are determined according to the priority. , Prevents necessary data that may occur in the prior art from being overwritten. The data state of the main body data D1 is stored in the non-volatile memory 12 of the main body board 10 as state determination data. The data state of the remote control data D2 is stored in the non-volatile memory 22 of the remote control board 20 as state determination data. It should be noted that the "no data" state does not have to be stored as the state determination data, and the main data of the data (main unit data D1 or remote control data D2) to be determined by the control unit 11 or the control unit 21 simply does not exist. In some cases, it may be determined that there is no data.

例えば、図2に示すように、基板交換時に、本体データD1が「確定状態」であり、リモコンデータD2が「未確定状態」である場合は、「本体データD1」(具体的には、本体データD1の主データ)がリモコン200側に取り込まれる(制御部21の制御で取り込まれ、不揮発性メモリ22に記憶される)。なお、本体データD1のデータ状態がリモコンデータD2のデータ状態よりも優先度が高いその他の場合も、「本体データD1」がリモコン200側に取り込まれる。 For example, as shown in FIG. 2, when the main body data D1 is in the “confirmed state” and the remote control data D2 is in the “undetermined state” at the time of board replacement, the “main body data D1” (specifically, the main body). The main data of the data D1) is taken into the remote control 200 side (taken under the control of the control unit 21 and stored in the non-volatile memory 22). In other cases where the data state of the main body data D1 has a higher priority than the data state of the remote control data D2, the "main body data D1" is taken into the remote control 200 side.

また、図2に示すように、基板交換時に、リモコンデータD2が「確定状態」であり、本体データD1が「未確定状態」である場合は、「リモコンデータD2」(具体的には、リモコンデータD2の主データ)が本体100側に取り込まれる(制御部11の制御で取り込まれ、不揮発性メモリ12に記憶される)。なお、リモコンデータD2のデータ状態が本体データD1のデータ状態よりも優先度が高いその他の場合も、「リモコンデータD2」が本体100側に取り込まれる。 Further, as shown in FIG. 2, when the remote control data D2 is in the "confirmed state" and the main body data D1 is in the "undetermined state" at the time of board replacement, the "remote data D2" (specifically, the remote control). The main data of the data D2) is taken into the main body 100 side (taken under the control of the control unit 11 and stored in the non-volatile memory 12). In other cases where the data state of the remote control data D2 has a higher priority than the data state of the main body data D1, the "remote control data D2" is taken into the main body 100 side.

本体データD1とリモコンデータD2のデータ状態の優先度が同じであった場合には、下記(ア)〜(ウ)のようになる。
(ア)本体データD1とリモコンデータD2とがともに「データ無」の場合は、転送対象の主データが存在しないため、当然に転送は行われない。
(イ)本体データD1とリモコンデータD2とがともに「未確定状態」の場合は、データ転送からの通電積算時間が長い方のデータが転送元となる。なお、本体データD1におけるデータ転送からの通電積算時間とは、後述のように、本体データD1がデータ無から未確定状態になってからの通電積算時間である。また、リモコンデータD2におけるデータ転送からの通電積算時間とは、後述のように、リモコンデータD2がデータ無から未確定状態になってからの通電積算時間である。
(ウ)本体データD1とリモコンデータD2とがともに「確定状態」の場合は、タイムスタンプの通電積算時間(つまり、初回通電時からの通電積算時間)が長い方のデータが転送元となる。
なお、以下では、上記(イ)のデータ転送からの通電積算時間を単に「通電積算時間」と呼ぶとともに、これとの区別において、上記(ウ)のタイムスタンプの通電積算時間を「TS通電積算時間」と呼ぶ。
When the priority of the data state of the main body data D1 and the remote control data D2 is the same, the following (a) to (c) are obtained.
(A) When both the main body data D1 and the remote control data D2 are "no data", the transfer is not performed as a matter of course because the main data to be transferred does not exist.
(B) When both the main body data D1 and the remote control data D2 are in the "undetermined state", the data having the longer energization integration time from the data transfer becomes the transfer source. As will be described later, the energization integration time from the data transfer in the main body data D1 is the energization integration time after the main body data D1 has changed from no data to an undetermined state. Further, the energization integration time from the data transfer in the remote control data D2 is the energization integration time after the remote control data D2 has changed from no data to an undetermined state, as will be described later.
(C) When both the main body data D1 and the remote control data D2 are in the "confirmed state", the data having the longer energization integration time of the time stamp (that is, the energization integration time from the first energization) becomes the transfer source.
In the following, the energization integration time from the data transfer in (a) above is simply referred to as "energization integration time", and in distinction from this, the energization integration time of the time stamp in (c) above is "TS energization integration time". Call it "time".

続いて、製品出荷時からのデータ状態の遷移例を図3、図4を参照して説明する。 Subsequently, an example of the transition of the data state from the time of product shipment will be described with reference to FIGS. 3 and 4.

図3は出荷時における本体100及びリモコン200のデータ状態を示す図である。出荷時は、本体基板10の本体データD1は「確定状態」、リモコン基板20のリモコンデータD2は「データ無」とされる。
なお、図3、図4、及び図8の各図において、本体基板10内の本体データD1は、実際は不揮発性メモリ12に記憶されているものを模式的に示したものである。同様に、リモコン基板20内のリモコンデータD2は、実際は不揮発性メモリ22に記憶されているものを模式的に示したものである。
FIG. 3 is a diagram showing the data states of the main body 100 and the remote controller 200 at the time of shipment. At the time of shipment, the main body data D1 of the main body board 10 is "confirmed state", and the remote control data D2 of the remote control board 20 is "no data".
In each of FIGS. 3, 4, and 8, the main body data D1 in the main body substrate 10 schematically shows what is actually stored in the non-volatile memory 12. Similarly, the remote control data D2 in the remote control board 20 schematically shows what is actually stored in the non-volatile memory 22.

図4(a)〜(c)は、主に出荷後のデータ遷移を説明するための図である。なお、図4(a)〜(c)は、サービスパーツとしての新基板(新たな本体基板10n又はリモコン基板20n)が交換されない場合のデータ遷移を示している。 4 (a) to 4 (c) are diagrams mainly for explaining the data transition after shipment. 4 (a) to 4 (c) show the data transition when the new board (new main body board 10n or remote control board 20n) as a service part is not replaced.

図4(a)に示すように、出荷後に、本体100とリモコン200とがケーブルCで接続されて家庭に設置されると、データ状態の優先度は、(本体データD1:確定状態)>(リモコンデータD2:データ無)であるため、本体データD1の主データがリモコン基板20へ転送される。具体的には、リモコン基板20の制御部21が本体データD1の主データを取り込む。 As shown in FIG. 4A, when the main body 100 and the remote controller 200 are connected by a cable C and installed at home after shipment, the priority of the data state is (main body data D1: confirmed state)> (. Since the remote control data D2: no data), the main data of the main body data D1 is transferred to the remote control board 20. Specifically, the control unit 21 of the remote control board 20 captures the main data of the main body data D1.

転送された本体データD1の主データは、図4(b)に示すように、リモコン基板20に記憶されて、リモコンデータD2になるとともに、当該リモコンデータD2のデータ状態は、「未確定状態」に設定される。このように、リモコンデータD2のデータ状態は、「データ無」の状態から、本体データD1の主データを受け取った際に「未確定状態」に設定される。この際、具体的には、リモコン基板20の制御部21は、不揮発性メモリ22の状態判別用データが示すデータ状態を「未確定状態」に設定するとともに、通電積算時間の計時を開始する。
なお、後述するように、本体データD1のデータ状態も、「データ無」の状態から、リモコンデータD2の主データを受け取った際に「未確定状態」に設定される。この際、具体的には、本体基板10の制御部11は、不揮発性メモリ12の状態判別用データが示すデータ状態を「未確定状態」に設定するとともに、通電積算時間の計時を開始する。
As shown in FIG. 4B, the transferred main data of the main body data D1 is stored in the remote control board 20 and becomes the remote control data D2, and the data state of the remote control data D2 is "undetermined state". Is set to. As described above, the data state of the remote control data D2 is set to the "undetermined state" when the main data of the main body data D1 is received from the state of "no data". At this time, specifically, the control unit 21 of the remote control board 20 sets the data state indicated by the state determination data of the non-volatile memory 22 to the “undetermined state” and starts counting the energization integration time.
As will be described later, the data state of the main body data D1 is also set to the "undetermined state" when the main data of the remote control data D2 is received from the "no data" state. At this time, specifically, the control unit 11 of the main body board 10 sets the data state indicated by the state determination data of the non-volatile memory 12 to the “undetermined state” and starts counting the energization integration time.

図4(b)に示すように、リモコンデータD2のデータ状態が「未確定状態」となってから1年経過後に、リモコンデータD2のデータ状態が「確定状態」に設定される。この際、具体的には、リモコン基板20の制御部21は、不揮発性メモリ22の状態判別用データが示すデータ状態を「確定状態」に設定する。
なお、後述するように、本体データD1のデータ状態が「未確定状態」となってから1年経過後も、本体データD1のデータ状態が「確定状態」に設定される。この際、具体的には、本体基板10の制御部11は、不揮発性メモリ12の状態判別用データが示すデータ状態を「確定状態」に設定する。
As shown in FIG. 4B, one year after the data state of the remote control data D2 becomes the "undetermined state", the data state of the remote control data D2 is set to the "fixed state". At this time, specifically, the control unit 21 of the remote control board 20 sets the data state indicated by the state determination data of the non-volatile memory 22 to the “determined state”.
As will be described later, the data state of the main body data D1 is set to the "fixed state" even one year after the data state of the main body data D1 becomes the "undetermined state". At this time, specifically, the control unit 11 of the main body board 10 sets the data state indicated by the state determination data of the non-volatile memory 12 to the “determined state”.

なお、サービスパーツとしての新基板(新たな本体基板10n及びリモコン基板20n)は、データ転送を1度も行っていない場合は、「データ無」の状態である。また、当然に、新たな本体基板10nは本体基板10と同じ構成であり、新たなリモコン基板20nはリモコン基板20と同じ構成である。したがって、以下では新たな基板であっても符号10や20を用いることもある。 The new board (new main body board 10n and remote control board 20n) as service parts is in a state of "no data" when no data transfer has been performed. Further, as a matter of course, the new main body board 10n has the same configuration as the main body board 10, and the new remote control board 20n has the same configuration as the remote control board 20. Therefore, in the following, reference numerals 10 and 20 may be used even for a new substrate.

続いて、基板(新たな本体基板10又はリモコン基板20)の交換に応じて実行されるデータ取込処理について説明する。 Subsequently, the data acquisition process executed in response to the replacement of the board (new main body board 10 or remote control board 20) will be described.

[本体100側のデータ取込処理]
まず、本体基板10の交換に応じて実行されるデータ取込処理について図5を参照して説明する。本体基板10が交換され、電源が投入されると、本体基板10の制御部11(CPU)は、通信部13及びケーブルCを介して、リモコン基板20の制御部21にデータ取得要求を送信すると、データ取込処理を開始する。なお、データ取得要求に応じた制御部21は、不揮発性メモリ22に記憶されたリモコンデータD2がある場合は、通信部23及びケーブルCを介して、リモコンデータD2を制御部11に送信する。
[Data import processing on the main unit 100 side]
First, the data acquisition process executed in response to the replacement of the main body board 10 will be described with reference to FIG. When the main body board 10 is replaced and the power is turned on, the control unit 11 (CPU) of the main body board 10 transmits a data acquisition request to the control unit 21 of the remote control board 20 via the communication unit 13 and the cable C. , Start the data acquisition process. When the remote control data D2 stored in the non-volatile memory 22 exists, the control unit 21 in response to the data acquisition request transmits the remote control data D2 to the control unit 11 via the communication unit 23 and the cable C.

データ取込処理を開始すると、制御部11は、本体データD1が確定状態であるか否かを判別する(ステップS101)。 When the data acquisition process is started, the control unit 11 determines whether or not the main body data D1 is in the confirmed state (step S101).

(本体データD1が確定状態の場合)
本体データD1が確定状態である場合(ステップS101;Yes)、制御部11は、リモコン基板20から受信したリモコンデータD2が確定状態であるか否かを判別する(ステップS102)。リモコンデータD2が確定状態でない場合(ステップS102;No)、制御部11は、リモコン基板20からのリモコンデータD2を取り込んで記憶することなく、処理を終了する。
一方、リモコンデータD2が確定状態である場合(ステップS102;Yes)、制御部11は、リモコンデータD2のTS通電積算時間が本体データD1のTS通電積算時間よりも長いか否かを判別する(ステップS103)。
(When the main unit data D1 is confirmed)
When the main body data D1 is in the confirmed state (step S101; Yes), the control unit 11 determines whether or not the remote control data D2 received from the remote control board 20 is in the confirmed state (step S102). When the remote control data D2 is not in the confirmed state (step S102; No), the control unit 11 ends the process without taking in and storing the remote control data D2 from the remote control board 20.
On the other hand, when the remote control data D2 is in the confirmed state (step S102; Yes), the control unit 11 determines whether or not the TS energization integration time of the remote control data D2 is longer than the TS energization integration time of the main body data D1 (step S102; Yes). Step S103).

リモコンデータD2のTS通電積算時間が本体データD1のTS通電積算時間以下の場合(ステップS103;No)、制御部11は、リモコン基板20からのリモコンデータD2を取り込んで記憶することなく、処理を終了する。
一方、リモコンデータD2のTS通電積算時間が本体データD1のTS通電積算時間よりも長い場合(ステップS103;Yes)、制御部11は、リモコン基板20からリモコンデータD2の主データを取り込んで、不揮発性メモリ12に記憶させる(ステップS104)。ここで取り込んだリモコンデータD2の主データは、本体データD1の主データとして不揮発性メモリ12に記憶されるが、このように、本体データD1が確定状態であった場合(ステップS101でYes)、本体データD1の状態判別用データが示すデータ状態は、確定状態のまま維持される。
When the TS energization integration time of the remote control data D2 is equal to or less than the TS energization integration time of the main body data D1 (step S103; No), the control unit 11 performs processing without fetching and storing the remote control data D2 from the remote control board 20. finish.
On the other hand, when the TS energization integration time of the remote control data D2 is longer than the TS energization integration time of the main body data D1 (step S103; Yes), the control unit 11 takes in the main data of the remote control data D2 from the remote control board 20 and is non-volatile. It is stored in the sex memory 12 (step S104). The main data of the remote control data D2 taken in here is stored in the non-volatile memory 12 as the main data of the main body data D1. In this way, when the main body data D1 is in the definite state (Yes in step S101). The data state indicated by the state determination data of the main body data D1 is maintained as a fixed state.

(本体データD1が未確定状態の場合)
本体データD1が確定状態でない場合(ステップS101;No)、制御部11は、本体データD1が未確定状態であるか否かを判別し(ステップS105)、未確定状態である場合(ステップS105;Yes)、ステップS106の判別処理を実行する。
(When the main unit data D1 is in an undetermined state)
When the main body data D1 is not in the confirmed state (step S101; No), the control unit 11 determines whether or not the main body data D1 is in the undetermined state (step S105), and when the main body data D1 is in the undetermined state (step S105; Yes), the determination process of step S106 is executed.

ステップS106の判別処理では、制御部11は、リモコン基板20から受信したリモコンデータD2が確定状態である場合(ステップS106;Yes)、又は、リモコンデータD2が未確定状態であって、リモコンデータD2の通電積算時間が本体データD1の通電積算時間よりも長い場合(ステップS106;Yes)に、制御部11は、リモコン基板20からリモコンデータD2の主データを取り込んで、不揮発性メモリ12に記憶させる(ステップS104)。ここで取り込んだリモコンデータD2の主データは、本体データD1の主データとして不揮発性メモリ12に記憶されるが、このように、本体データD1が未確定状態であった場合(ステップS105;Yes)、本体データD1の状態判別用データが示すデータ状態は、未確定状態のまま維持される。
一方、リモコンデータD2が未確定状態であって、リモコンデータD2の通電積算時間が本体データD1の通電積算時間以下の場合(ステップS106;No)、制御部11は、リモコン基板20からのリモコンデータD2を取り込んで記憶することなく、処理を終了する。
In the determination process of step S106, the control unit 11 determines that the remote control data D2 received from the remote control board 20 is in the confirmed state (step S106; Yes), or the remote control data D2 is in the undetermined state and the remote control data D2. When the energization integration time of the main body data D1 is longer than the energization integration time of the main body data D1 (step S106; Yes), the control unit 11 takes in the main data of the remote control data D2 from the remote control board 20 and stores it in the non-volatile memory 12. (Step S104). The main data of the remote control data D2 taken in here is stored in the non-volatile memory 12 as the main data of the main body data D1. In this way, when the main body data D1 is in an undetermined state (step S105; Yes). , The data state indicated by the state determination data of the main body data D1 is maintained in an undetermined state.
On the other hand, when the remote control data D2 is in an undetermined state and the energization integration time of the remote control data D2 is equal to or less than the energization integration time of the main body data D1 (step S106; No), the control unit 11 controls the remote control data from the remote control board 20. The process ends without capturing and storing D2.

(本体データD1が無い場合)
本体データD1が確定状態でなく(ステップS101;No)、未確定状態でもない場合(ステップS105;No)、つまり、本体データD1が無い場合、制御部11は、ステップS107の判別処理を実行する。
(When there is no main unit data D1)
When the main body data D1 is not in the confirmed state (step S101; No) and is not in the undetermined state (step S105; No), that is, when there is no main body data D1, the control unit 11 executes the determination process in step S107. ..

ステップS107で制御部11は、リモコン基板20の不揮発性メモリ22内にリモコンデータD2があるか否かを判別し、リモコンデータD2が無い場合(ステップS107;No)、制御部11は、取り込む対象が無いので、処理を終了する。
一方、リモコンデータD2がある場合(ステップS107;Yes)、制御部11は、リモコン基板20からリモコンデータD2の主データを取り込んで、不揮発性メモリ12に記憶させる(ステップS108)、ここで取り込んだリモコンデータD2の主データは、本体データD1の主データとして不揮発性メモリ12に記憶される。続いて、制御部11は、本体データD1の状態判別用データが示すデータ状態を、未確定状態とし(ステップS109)、処理を終了する。本体100側のデータ取込処理は以上である。
In step S107, the control unit 11 determines whether or not the remote control data D2 is present in the non-volatile memory 22 of the remote control board 20, and if there is no remote control data D2 (step S107; No), the control unit 11 is the target to be captured. Since there is no, the process ends.
On the other hand, when there is remote control data D2 (step S107; Yes), the control unit 11 fetches the main data of the remote control data D2 from the remote control board 20 and stores it in the non-volatile memory 12 (step S108), which is fetched here. The main data of the remote control data D2 is stored in the non-volatile memory 12 as the main data of the main body data D1. Subsequently, the control unit 11 sets the data state indicated by the state determination data of the main body data D1 to an undetermined state (step S109), and ends the process. The data acquisition process on the main body 100 side is completed.

[リモコン200側のデータ取込処理]
次に、リモコン基板20の交換に応じて実行されるデータ取込処理について図6を参照して説明する。リモコン基板20が交換され、電源が投入されると、リモコン基板20の制御部21(CPU)は、通信部23及びケーブルCを介して、本体基板10の制御部11にデータ取得要求を送信すると、データ取込処理を開始する。なお、データ取得要求に応じた制御部11は、不揮発性メモリ12に記憶された本体データD1がある場合は、通信部13及びケーブルCを介して、本体データD1を制御部21に送信する。
[Data import processing on the remote control 200 side]
Next, the data acquisition process executed in response to the replacement of the remote control board 20 will be described with reference to FIG. When the remote control board 20 is replaced and the power is turned on, the control unit 21 (CPU) of the remote control board 20 transmits a data acquisition request to the control unit 11 of the main body board 10 via the communication unit 23 and the cable C. , Start the data acquisition process. When the main body data D1 stored in the non-volatile memory 12 exists, the control unit 11 in response to the data acquisition request transmits the main body data D1 to the control unit 21 via the communication unit 13 and the cable C.

データ取込処理を開始すると、制御部21は、リモコンデータD2が確定状態であるか否かを判別する(ステップS201)。 When the data acquisition process is started, the control unit 21 determines whether or not the remote control data D2 is in the confirmed state (step S201).

(リモコンデータD2が確定状態の場合)
リモコンデータD2が確定状態である場合(ステップS201;Yes)、制御部21は、本体基板10から受信した本体データD1が確定状態であるか否かを判別する(ステップS202)。本体データD1が確定状態でない場合(ステップS202;No)、制御部21は、本体基板10からの本体データD1を取り込んで記憶することなく、処理を終了する。
一方、本体データD1が確定状態である場合(ステップS202;Yes)、制御部21は、本体データD1のTS通電積算時間がリモコンデータD2のTS通電積算時間よりも長いか否かを判別する(ステップS203)。
(When remote control data D2 is confirmed)
When the remote control data D2 is in the confirmed state (step S201; Yes), the control unit 21 determines whether or not the main body data D1 received from the main body board 10 is in the confirmed state (step S202). When the main body data D1 is not in the fixed state (step S202; No), the control unit 21 ends the process without taking in and storing the main body data D1 from the main body board 10.
On the other hand, when the main body data D1 is in the confirmed state (step S202; Yes), the control unit 21 determines whether or not the TS energization integration time of the main body data D1 is longer than the TS energization integration time of the remote control data D2 (step S202; Yes). Step S203).

本体データD1のTS通電積算時間がリモコンデータD2のTS通電積算時間以下の場合(ステップS203;No)、制御部21は、本体基板10からの本体データD1を取り込んで記憶することなく、処理を終了する。
一方、本体データD1のTS通電積算時間がリモコンデータD2のTS通電積算時間よりも長い場合(ステップS203;Yes)、制御部21は、本体基板10から本体データD1の主データを取り込んで、不揮発性メモリ22に記憶させる(ステップS204)。ここで取り込んだ本体データD1の主データは、リモコンデータD2の主データとして不揮発性メモリ22に記憶されるが、このように、リモコンデータD2が確定状態であった場合(ステップS201でYes)、リモコンデータD2の状態判別用データが示すデータ状態は、確定状態のまま維持される。
When the TS energization integration time of the main body data D1 is equal to or less than the TS energization integration time of the remote control data D2 (step S203; No), the control unit 21 performs processing without taking in and storing the main body data D1 from the main body board 10. finish.
On the other hand, when the TS energization integration time of the main body data D1 is longer than the TS energization integration time of the remote control data D2 (step S203; Yes), the control unit 21 takes in the main data of the main body data D1 from the main body board 10 and is non-volatile. It is stored in the sex memory 22 (step S204). The main data of the main body data D1 taken in here is stored in the non-volatile memory 22 as the main data of the remote control data D2. In this way, when the remote control data D2 is in the definite state (Yes in step S201). The data state indicated by the state determination data of the remote control data D2 is maintained as a fixed state.

(リモコンデータD2が未確定状態の場合)
リモコンデータD2が確定状態でない場合(ステップS201;No)、制御部21は、リモコンデータD2が未確定状態であるか否かを判別し(ステップS205)、未確定状態である場合(ステップS205;Yes)、ステップS206の判別処理を実行する。
(When remote control data D2 is unconfirmed)
When the remote control data D2 is not in the confirmed state (step S201; No), the control unit 21 determines whether or not the remote control data D2 is in the undetermined state (step S205), and when the remote control data D2 is in the undetermined state (step S205; Yes), the determination process of step S206 is executed.

ステップS206の判別処理では、制御部21は、本体基板10から受信した本体データD1が確定状態である場合(ステップS206;Yes)、又は、本体データD1が未確定状態であって、本体データD1の通電積算時間がリモコンデータD2の通電積算時間よりも長い場合(ステップS206;Yes)に、制御部21は、本体基板10から本体データD1の主データを取り込んで、不揮発性メモリ22に記憶させる(ステップS204)。ここで取り込んだ本体データD1の主データは、リモコンデータD2の主データとして不揮発性メモリ22に記憶されるが、このように、リモコンデータD2が未確定状態であった場合(ステップS205;Yes)、リモコンデータD2の状態判別用データが示すデータ状態は、未確定状態のまま維持される。
一方、本体データD1が未確定状態であって、本体データD1の通電積算時間がリモコンデータD2の通電積算時間以下の場合(ステップS206;No)、制御部21は、本体基板10からの本体データD1を取り込んで記憶することなく、処理を終了する。
In the determination process of step S206, the control unit 21 determines when the main body data D1 received from the main body board 10 is in the confirmed state (step S206; Yes), or when the main body data D1 is in the undetermined state and the main body data D1. When the energization integration time of the remote controller data D2 is longer than the energization integration time of the remote controller data D2 (step S206; Yes), the control unit 21 takes in the main data of the main body data D1 from the main body board 10 and stores it in the non-volatile memory 22. (Step S204). The main data of the main body data D1 taken in here is stored in the non-volatile memory 22 as the main data of the remote control data D2, but in this way, when the remote control data D2 is in an undetermined state (step S205; Yes). The data state indicated by the state determination data of the remote control data D2 is maintained in an undetermined state.
On the other hand, when the main body data D1 is in an undetermined state and the energization integration time of the main body data D1 is equal to or less than the energization integration time of the remote controller data D2 (step S206; No), the control unit 21 is the main body data from the main body board 10. The process ends without capturing and storing D1.

(リモコンデータD2が無い場合)
リモコンデータD2が確定状態でなく(ステップS201;No)、未確定状態でもない場合(ステップS205;No)、つまり、リモコンデータD2が無い場合、制御部21は、ステップS207の判別処理を実行する。
(When there is no remote control data D2)
When the remote control data D2 is not in the confirmed state (step S201; No) and is not in the undetermined state (step S205; No), that is, when there is no remote control data D2, the control unit 21 executes the determination process in step S207. ..

ステップS207で制御部21は、本体基板10の不揮発性メモリ12内に本体データD1があるか否かを判別し、本体データD1が無い場合(ステップS207;No)、制御部21は、取り込む対象が無いので、処理を終了する。
一方、本体データD1がある場合(ステップS207;Yes)、制御部21は、本体基板10から本体データD1の主データを取り込んで、不揮発性メモリ22に記憶させる(ステップS208)、ここで取り込んだ本体データD1の主データは、リモコンデータD2の主データとして不揮発性メモリ22に記憶される。続いて、制御部21は、リモコンデータD2の状態判別用データが示すデータ状態を、未確定状態とし(ステップS209)、処理を終了する。リモコン200側のデータ取込処理は以上である。
In step S207, the control unit 21 determines whether or not the main body data D1 is present in the non-volatile memory 12 of the main body board 10, and if there is no main body data D1 (step S207; No), the control unit 21 is the target to be captured. Since there is no, the process ends.
On the other hand, when there is main body data D1 (step S207; Yes), the control unit 21 takes in the main data of the main body data D1 from the main body board 10 and stores it in the non-volatile memory 22 (step S208), and is taken in here. The main data of the main body data D1 is stored in the non-volatile memory 22 as the main data of the remote control data D2. Subsequently, the control unit 21 sets the data state indicated by the state determination data of the remote controller data D2 to an undetermined state (step S209), and ends the process. This completes the data acquisition process on the remote controller 200 side.

[データ確定処理]
続いて、本体100の制御部11(CPU)によって実行され、所定条件の下で本体データD1を確定状態とするデータ確定処理と、リモコン200の制御部21(CPU)によって実行され、所定条件の下でリモコンデータD2を確定状態とするデータ確定処理とを説明する。双方のデータ確定処理は同様であるため、図7を参照してまとめて説明する。
[Data confirmation process]
Subsequently, the data confirmation process executed by the control unit 11 (CPU) of the main body 100 to set the main body data D1 in the confirmed state under the predetermined conditions and executed by the control unit 21 (CPU) of the remote controller 200 are executed under the predetermined conditions. The data confirmation process for setting the remote control data D2 in the confirmed state will be described below. Since both data determination processes are the same, they will be described together with reference to FIG. 7.

例えば、制御部11によるデータ確定処理は、本体100が起動している際に所定の周期毎に実行される。また、制御部21によるデータ確定処理も、リモコン200が起動している際に所定の周期毎に実行される。なお、双方のデータ確定処理は、前述のデータ取込処理の実行前に実行されてもよい。 For example, the data determination process by the control unit 11 is executed at predetermined intervals when the main body 100 is activated. Further, the data confirmation process by the control unit 21 is also executed at predetermined intervals when the remote controller 200 is activated. In addition, both data confirmation processes may be executed before the execution of the above-mentioned data acquisition process.

データ確定処理を開始すると、データが未確定か否かを判別する(ステップS301)。具体的に、制御部11は、本体データD1が未確定状態でない場合(ステップS301;No)、処理を終了する。同様に、制御部21は、リモコンデータD2が未確定状態でない場合(ステップS301;No)、処理を終了する。 When the data confirmation process is started, it is determined whether or not the data is unconfirmed (step S301). Specifically, the control unit 11 ends the process when the main body data D1 is not in the undetermined state (step S301; No). Similarly, when the remote control data D2 is not in the undetermined state (step S301; No), the control unit 21 ends the process.

制御部11は、本体データD1が未確定状態である場合(ステップS301;Yes)、本体データD1の通算積算時間をカウントする(ステップS302)。同様に、制御部21は、リモコンデータD2が未確定状態である場合(ステップS301;Yes)、リモコンデータD2の通算積算時間をカウントする(ステップS302)。 When the main body data D1 is in an undetermined state (step S301; Yes), the control unit 11 counts the total integration time of the main body data D1 (step S302). Similarly, when the remote control data D2 is in an undetermined state (step S301; Yes), the control unit 21 counts the total integrated time of the remote control data D2 (step S302).

続いて、ステップS302でカウントした通算積算時間が1年経過したか否か判別する(ステップS303)。通算積算時間が1年未満である場合(ステップS303;No)、処理を終了する。これは、制御部11と制御部21とで同様である。 Subsequently, it is determined whether or not the total accumulated time counted in step S302 has elapsed for one year (step S303). When the total accumulated time is less than one year (step S303; No), the process is terminated. This is the same for the control unit 11 and the control unit 21.

一方、通算積算時間が1年経過している場合(ステップS303;Yes)、制御部11は、本体データD1の状態判別用データが示すデータ状態を、未確定状態から確定状態に更新し(ステップS304)、処理を終了する。同様に、通算積算時間が1年経過している場合(ステップS303;Yes)、制御部21は、リモコンデータD2の状態判別用データが示すデータ状態を、未確定状態から確定状態に更新し(ステップS304)、処理を終了する。データ確定処理は以上である。 On the other hand, when the total integration time has elapsed for one year (step S303; Yes), the control unit 11 updates the data state indicated by the state determination data of the main body data D1 from the undetermined state to the confirmed state (step). S304), the process is terminated. Similarly, when the total integration time has elapsed for one year (step S303; Yes), the control unit 21 updates the data state indicated by the state determination data of the remote control data D2 from the undetermined state to the confirmed state (step S303; Yes). Step S304), the process is terminated. This is the end of the data confirmation process.

続いて、データ遷移の一例を以上に説明した処理と対応させて説明する。 Subsequently, an example of the data transition will be described in correspondence with the processing described above.

図4(a)に示す状態において、本体基板10が新たな本体基板10nに交換されると、データ状態の優先度は、(本体データD1:データ無)=(リモコンデータD2:データ無)となるため、データの取り込みは行われない(ステップS107;Noに相当)。
一方、図4(b)、(c)に示す状態において、本体基板10が新たな本体基板10nに交換されると、データ状態の優先度は、(本体データD1:データ無)<(リモコンデータD2:未確定状態又は確定状態)となるため、データ転送の関係は「リモコン基板20(転送元)→本体基板10(転送先)」となる。つまり、リモコンデータD2の主データが本体基板10に取り込まれ、本体データD1の主データとして記憶され(ステップS108に相当)、本体データD1のデータ状態は、未確定状態となる(ステップS109に相当)。
In the state shown in FIG. 4A, when the main body board 10 is replaced with a new main body board 10n, the priority of the data state is (main body data D1: no data) = (remote control data D2: no data). Therefore, data is not fetched (corresponding to step S107; No).
On the other hand, in the state shown in FIGS. 4 (b) and 4 (c), when the main body board 10 is replaced with a new main body board 10n, the priority of the data state is (main body data D1: no data) <(remote control data). D2: Unconfirmed state or confirmed state), so the data transfer relationship is "remote control board 20 (transfer source) → main body board 10 (transfer destination)". That is, the main data of the remote control data D2 is taken into the main body board 10 and stored as the main data of the main body data D1 (corresponding to step S108), and the data state of the main body data D1 becomes an undetermined state (corresponding to step S109). ).

図4(a)〜(c)に示す状態において、リモコン基板20が新たなリモコン基板20nに交換されると、データ状態の優先度は、(本体データD1:確定状態)>(リモコンデータD2:データ無)となるため、データ転送の関係は「本体基板10(転送元)→リモコン基板20(転送先)」となる。つまり、本体データD1の主データがリモコン基板20に取り込まれ、リモコンデータD2の主データとして記憶され(ステップS208に相当)、リモコンデータD2のデータ状態は、未確定状態となる(ステップS209に相当)。 In the states shown in FIGS. 4A to 4C, when the remote control board 20 is replaced with a new remote control board 20n, the priority of the data state is (main unit data D1: confirmed state)> (remote control data D2 :). Since there is no data), the relationship of data transfer is "main body board 10 (transfer source) → remote control board 20 (transfer destination)". That is, the main data of the main body data D1 is taken into the remote control board 20 and stored as the main data of the remote control data D2 (corresponding to step S208), and the data state of the remote control data D2 becomes an undetermined state (corresponding to step S209). ).

また、リモコンデータD2が確定状態であった際に、本体基板10を新たな本体基板10nに交換した場合のデータ遷移例を図8(a)〜(c)を参照して説明する。 Further, an example of data transition when the main body board 10 is replaced with a new main body board 10n when the remote control data D2 is in the confirmed state will be described with reference to FIGS. 8 (a) to 8 (c).

図8(a)に示すように、本体基板10が新たな本体基板10nに交換されると、データ状態の優先度は、(本体データD1:データ無)<(リモコンデータD2:確定状態)となるため、データ転送の関係は「リモコン基板20(転送元)→本体基板10(転送先)」となる。つまり、リモコンデータD2の主データが本体基板10に取り込まれ、本体データD1の主データとして記憶され(ステップS108に相当)、本体データD1のデータ状態は、図8(b)に示すように、未確定状態となる(ステップS109に相当)。
図8(b)のように、本体データD1が未確定状態となってから1年経過すると(ステップS303;Yesに相当)、図8(c)に示すように、本体データD1のデータ状態は確定状態となる(ステップS304に相当)。
As shown in FIG. 8A, when the main body board 10 is replaced with a new main body board 10n, the priority of the data state is (main body data D1: no data) <(remote control data D2: confirmed state). Therefore, the relationship of data transfer is "remote control board 20 (transfer source) → main body board 10 (transfer destination)". That is, the main data of the remote control data D2 is taken into the main body board 10 and stored as the main data of the main body data D1 (corresponding to step S108), and the data state of the main body data D1 is as shown in FIG. 8 (b). It becomes an undetermined state (corresponding to step S109).
As shown in FIG. 8 (b), one year has passed since the main body data D1 was in an undetermined state (step S303; corresponding to Yes), and as shown in FIG. 8 (c), the data state of the main body data D1 is changed. It becomes a confirmed state (corresponding to step S304).

続いて、課題で触れたのと同様の事態が生じた場合のデータ遷移について、図9(a)、(b)を参照して説明する。
図9(a)に示すように、家庭Aにてサービスパーツとしての新たな本体基板10nに交換されると、データ状態の優先度は、(本体データD1:データ無)<(リモコンデータD2:未確定状態又は確定状態)となるため、データ転送の関係は「リモコン基板20(転送元)→本体基板10(転送先)」となる。つまり、家庭Aの使用状況に係るリモコンデータD2の主データが本体基板10に取り込まれ、本体データD1の主データとして記憶され(ステップS108に相当)、本体データD1のデータ状態は、未確定状態となる(ステップS109に相当)。この際、実は本体基板が故障しておらず、本体基板の交換が不要となった場合、サービスパーツとしての新たな本体基板10nはサービスマンに回収される。
Next, the data transition when the same situation as mentioned in the problem occurs will be described with reference to FIGS. 9 (a) and 9 (b).
As shown in FIG. 9A, when the home A is replaced with a new main body board 10n as a service part, the priority of the data state is (main body data D1: no data) <(remote control data D2 :). Since it is in an undetermined state or a confirmed state), the relationship of data transfer is "remote control board 20 (transfer source) → main body board 10 (transfer destination)". That is, the main data of the remote control data D2 related to the usage status of the home A is taken into the main body board 10 and stored as the main data of the main body data D1 (corresponding to step S108), and the data state of the main body data D1 is an undetermined state. (Corresponding to step S109). At this time, if the main body board is not actually out of order and it is no longer necessary to replace the main body board, the new main body board 10n as a service part is collected by the serviceman.

続いて、図9(b)に示すように、家庭Aから回収された新たな本体基板10nを誤って家庭Bの給湯機100に接続した場合を考える。この場合、データ状態の優先度は、(本体データD1:未確定状態)<(リモコンデータD2:未確定状態又は確定状態)となる。リモコンデータD2が確定状態であった場合(ステップS106;Yesに相当)、家庭Bの使用状況に係るリモコンデータD2の主データが本体基板10に取り込まれ、本体データD1の主データとして記憶される(ステップS104に相当)。
リモコンデータD2が未確定状態であった場合も、家庭Aでのサービスマンによる基板交換前から家庭Bの給湯機100やリモコン200は動作しているため、家庭Aにおいて未確定状態となってからの本体データD1の通算積算時間よりも、家庭BのリモコンデータD2の通電積算時間は長くなるはずである(ステップS106;Yes)。したがって、この場合も、家庭Bの使用状況に係るリモコンデータD2の主データが本体基板10に取り込まれ、本体データD1の主データとして記憶される(ステップS104に相当)。
このように、本実施形態に係るデータ転送システムSによれば、家庭Bの使用状況に係る主データが、誤って家庭Aの使用状況に係る主データで上書きされてしまうことを防止することができる。したがって、基板を何らかの原因で再利用しても、必要なデータを確保することができる。なお、図5と図6のフローチャートが同様に構成されていることから分かるように、リモコン基板20を交換した際も同様に、必要なデータを確保することができる。
Next, consider a case where a new main body substrate 10n recovered from the home A is mistakenly connected to the water heater 100 of the home B as shown in FIG. 9B. In this case, the priority of the data state is (main unit data D1: undetermined state) <(remote control data D2: undetermined state or confirmed state). When the remote control data D2 is in the confirmed state (step S106; corresponds to Yes), the main data of the remote control data D2 related to the usage status of the home B is taken into the main body board 10 and stored as the main data of the main body data D1. (Corresponding to step S104).
Even if the remote control data D2 is in an undetermined state, since the water heater 100 and the remote controller 200 in the home B have been operating before the board is replaced by the serviceman in the home A, the remote control data D2 has been in the unconfirmed state in the home A. The energization integration time of the remote control data D2 of the home B should be longer than the total integration time of the main body data D1 (step S106; Yes). Therefore, also in this case, the main data of the remote control data D2 relating to the usage status of the home B is taken into the main body board 10 and stored as the main data of the main body data D1 (corresponding to step S104).
As described above, according to the data transfer system S according to the present embodiment, it is possible to prevent the main data related to the usage status of the home B from being accidentally overwritten by the main data related to the usage status of the home A. can. Therefore, even if the board is reused for some reason, the necessary data can be secured. As can be seen from the fact that the flowcharts of FIGS. 5 and 6 are configured in the same manner, necessary data can be similarly secured even when the remote control board 20 is replaced.

なお、本発明は以上の実施形態及び図面によって限定されるものではない。本発明の要旨を変更しない範囲で、適宜、変更(構成要素の削除も含む)を加えることが可能である。 The present invention is not limited to the above embodiments and drawings. Changes (including deletion of components) can be made as appropriate without changing the gist of the present invention.

以上の説明では、給湯機100とリモコン200間のデータ転送をケーブルCを介して有線で行う例を示したが、無線通信を利用してもよい。 In the above description, an example in which data transfer between the water heater 100 and the remote controller 200 is performed by wire via the cable C has been shown, but wireless communication may also be used.

また、データ転送システムSを構成する家電機器は、石油給湯機に限られず、大気熱を利用したヒートポンプ式の給湯機であってもよい。ヒートポンプ式の給湯機の場合、本体データD1及びリモコンデータD2の主データは、例えば、機器毎に設定される湯量を調整するためのデータ等であればよい。また、当該家電機器は、給湯機に限られず、温水ボイラー(温水暖房のための熱源機)や、石油バーナーなどであってもよい。これらの場合であっても、本体データD1及びリモコンデータD2の主データは、機器毎に設定される調整データ等であればよい。 Further, the home electric appliance constituting the data transfer system S is not limited to the oil water heater, and may be a heat pump type water heater using atmospheric heat. In the case of a heat pump type water heater, the main data of the main body data D1 and the remote control data D2 may be, for example, data for adjusting the amount of hot water set for each device. Further, the home electric appliance is not limited to a water heater, but may be a hot water boiler (heat source machine for hot water heating), an oil burner, or the like. Even in these cases, the main data of the main body data D1 and the remote control data D2 may be adjustment data or the like set for each device.

以上に説明したデータ転送システムSは、互いに通信が可能な第1基板及び第2基板を備え、第1基板と第2基板との間でデータ転送を行う。第1基板と第2基板の一方は家電機器(給湯機100)に設けられ、他方は家電機器の遠隔操作を可能とするリモートコントローラ(リモコン200)に設けられている。
なお、第1基板を本体基板10とした場合、下記の第1制御部は制御部11のCPUに、第1不揮発性メモリは不揮発性メモリ12に、第2基板はリモコン基板20に、第2制御部は制御部21のCPUに、第2不揮発性メモリは不揮発性メモリ22に相当する。一方、第1基板をリモコン基板20とした場合、下記の第1制御部は制御部21のCPUに、第1不揮発性メモリは不揮発性メモリ22に、第2基板は本体基板10に、第2制御部は制御部11のCPUに、第2不揮発性メモリは不揮発性メモリ12に相当する。
The data transfer system S described above includes a first substrate and a second substrate capable of communicating with each other, and transfers data between the first substrate and the second substrate. One of the first board and the second board is provided in the home electric appliance (water heater 100), and the other is provided in the remote controller (remote control 200) capable of remote control of the home electric appliance.
When the first board is the main body board 10, the following first control unit is used for the CPU of the control unit 11, the first non-volatile memory is used for the non-volatile memory 12, the second board is used for the remote control board 20, and the second board is used. The control unit corresponds to the CPU of the control unit 21, and the second non-volatile memory corresponds to the non-volatile memory 22. On the other hand, when the first board is the remote control board 20, the following first control unit is used for the CPU of the control unit 21, the first non-volatile memory is used for the non-volatile memory 22, and the second board is used for the main body board 10. The control unit corresponds to the CPU of the control unit 11, and the second non-volatile memory corresponds to the non-volatile memory 12.

データ転送システムSにおいて、第1基板は、第1制御部と、第1制御部の制御によりデータを記憶する第1不揮発性メモリとを有し、第2基板は、第2制御部と、第2制御部の制御によりデータを記憶する第2不揮発性メモリとを有する。また、第1制御部は、第1不揮発性メモリ及び第2不揮発性メモリの各々のデータ状態を特定可能であり、データ状態は、互いに異なる優先度の複数の状態を有し、複数の状態は、記憶されているデータがある未確定状態と、記憶されているデータがあるとともに未確定状態よりも優先度が高い確定状態とを含む。
第1基板が交換されたことに応じて、当該交換後の第1基板の第1制御部は、第1不揮発性メモリと第2不揮発性メモリとのデータ状態の優先度を比較し、第2不揮発性メモリのデータ状態が第1不揮発性メモリのデータ状態よりも優先度が高い場合には、第2不揮発性メモリに記憶されているデータを取り込んで第1不揮発性メモリに記憶させる取込処理を行う一方で、第1不揮発性メモリのデータ状態が第2不揮発性メモリのデータ状態よりも優先度が高い場合には、取込処理を行わない。
In the data transfer system S, the first board has a first control unit and a first non-volatile memory for storing data under the control of the first control unit, and the second board has a second control unit and a second. It has a second non-volatile memory that stores data under the control of two control units. Further, the first control unit can specify the data states of the first non-volatile memory and the second non-volatile memory, and the data states have a plurality of states having different priorities from each other, and the plurality of states have different priorities. , Includes an undetermined state with stored data and a confirmed state with stored data and a higher priority than the undetermined state.
In response to the replacement of the first board, the first control unit of the first board after the replacement compares the priority of the data states of the first non-volatile memory and the second non-volatile memory, and the second When the data state of the non-volatile memory has a higher priority than the data state of the first non-volatile memory, the data stored in the second non-volatile memory is fetched and stored in the first non-volatile memory. On the other hand, if the data state of the first non-volatile memory has a higher priority than the data state of the second non-volatile memory, the acquisition process is not performed.

また、以上に説明したデータ転送システムSを利用したデータ転送方法は、互いに通信が可能であるとともに記憶領域を有する第1基板と第2基板との間でデータ転送を行う。第1基板と第2基板の一方は家電機器(給湯機100)に設けられ、他方は家電機器の遠隔操作を可能とするリモートコントローラ(リモコン200)に設けられている。
なお、第1基板を本体基板10とした場合、第1基板の記憶領域は不揮発性メモリ12に、第2基板はリモコン基板20に、第2基板の記憶領域は不揮発性メモリ22に相当する。一方、第1基板をリモコン基板20とした場合、第1基板の記憶領域は不揮発性メモリ22に、第2基板は本体基板10に、第2基板の記憶領域は不揮発性メモリ12に相当する。
Further, in the data transfer method using the data transfer system S described above, data transfer is performed between the first substrate and the second substrate, which can communicate with each other and have a storage area. One of the first board and the second board is provided in the home electric appliance (water heater 100), and the other is provided in the remote controller (remote control 200) capable of remote control of the home electric appliance.
When the first board is the main board 10, the storage area of the first board corresponds to the non-volatile memory 12, the second board corresponds to the remote control board 20, and the storage area of the second board corresponds to the non-volatile memory 22. On the other hand, when the first board is the remote control board 20, the storage area of the first board corresponds to the non-volatile memory 22, the second board corresponds to the main body board 10, and the storage area of the second board corresponds to the non-volatile memory 12.

当該データ転送方法では、第1基板及び第2基板の各々の記憶領域のデータ状態として、互いに異なる優先度の複数の状態を用意し、複数の状態は、記憶されているデータがある未確定状態と、記憶されているデータがあるとともに未確定状態よりも優先度が高い確定状態とを含む。
そして、第1基板が交換されたことに応じて、当該交換後の第1基板と、第2基板とのデータ状態の優先度を比較し、第2基板のデータ状態が第1基板のデータ状態よりも優先度が高い場合には、第2基板に記憶されているデータを第1基板に取り込んで記憶させる一方で、第1基板のデータ状態が第2基板のデータ状態よりも優先度が高い場合には、第2基板に記憶されているデータを第1基板に取り込まない。
In the data transfer method, a plurality of states having different priorities are prepared as the data states of the storage areas of the first board and the second board, and the plurality of states are undetermined states in which the stored data is present. And the confirmed state where there is stored data and the priority is higher than the undetermined state.
Then, according to the replacement of the first board, the priority of the data state between the first board after the replacement and the second board is compared, and the data state of the second board is the data state of the first board. When the priority is higher than, the data stored in the second board is taken in and stored in the first board, while the data state of the first board has a higher priority than the data state of the second board. In this case, the data stored in the second board is not taken into the first board.

以上のデータ転送システムS及びデータ転送方法によれば、前述の通り、第1基板(本体基板10又はリモコン基板20)を何らかの原因で再利用しても、必要なデータを確保することができる。 According to the above data transfer system S and data transfer method, as described above, even if the first board (main body board 10 or remote control board 20) is reused for some reason, necessary data can be secured.

以上の説明では、本発明の理解を容易にするために、公知の技術的事項の説明を適宜省略した。 In the above description, in order to facilitate the understanding of the present invention, the description of known technical matters has been omitted as appropriate.

S…データ転送システム
100…給湯機(本体)
10…本体基板
11…制御部
12…不揮発性メモリ、D1…本体データ
13…通信部
14…電源基板
200…リモートコントローラ(リモコン)
20…リモコン基板
21…制御部
22…不揮発性メモリ、D2…リモコンデータ
23…通信部
C…ケーブル
S ... Data transfer system 100 ... Water heater (main body)
10 ... Main body board 11 ... Control unit 12 ... Non-volatile memory, D1 ... Main unit data 13 ... Communication unit 14 ... Power supply board 200 ... Remote controller (remote control)
20 ... Remote control board 21 ... Control unit 22 ... Non-volatile memory, D2 ... Remote control data 23 ... Communication unit C ... Cable

Claims (8)

互いに通信が可能な第1基板及び第2基板を備え、前記第1基板と前記第2基板との間でデータ転送を行うデータ転送システムであって、
前記第1基板と前記第2基板の一方は家電機器に設けられ、他方は前記家電機器の遠隔操作を可能とするリモートコントローラに設けられ、
前記第1基板は、第1制御部と、前記第1制御部の制御によりデータを記憶する第1不揮発性メモリとを有し、
前記第2基板は、第2制御部と、前記第2制御部の制御によりデータを記憶する第2不揮発性メモリとを有し、
前記第1制御部は、前記第1不揮発性メモリ及び前記第2不揮発性メモリの各々のデータ状態を特定可能であり、
前記データ状態は、互いに異なる優先度の複数の状態を有し、
前記複数の状態は、記憶されているデータがある未確定状態と、記憶されているデータがあるとともに前記未確定状態よりも優先度が高い確定状態とを含み、
前記第1基板が交換されたことに応じて、当該交換後の前記第1基板の前記第1制御部は、前記第1不揮発性メモリと前記第2不揮発性メモリとの前記データ状態の優先度を比較し、
前記第2不揮発性メモリの前記データ状態が前記第1不揮発性メモリの前記データ状態よりも優先度が高い場合には、前記第2不揮発性メモリに記憶されているデータを取り込んで前記第1不揮発性メモリに記憶させる取込処理を行う一方で、
前記第1不揮発性メモリの前記データ状態が前記第2不揮発性メモリの前記データ状態よりも優先度が高い場合には、前記取込処理を行わない、
データ転送システム。
A data transfer system comprising a first board and a second board capable of communicating with each other and transferring data between the first board and the second board.
One of the first board and the second board is provided in the home electric appliance, and the other is provided in the remote controller capable of remote control of the home electric appliance.
The first board has a first control unit and a first non-volatile memory for storing data under the control of the first control unit.
The second substrate has a second control unit and a second non-volatile memory for storing data under the control of the second control unit.
The first control unit can specify the data state of each of the first non-volatile memory and the second non-volatile memory.
The data states have multiple states with different priorities from each other.
The plurality of states include an undetermined state having stored data and a confirmed state having stored data and having a higher priority than the undetermined state.
In response to the replacement of the first board, the first control unit of the first board after the replacement has priority of the data state between the first non-volatile memory and the second non-volatile memory. Compare and
When the data state of the second non-volatile memory has a higher priority than the data state of the first non-volatile memory, the data stored in the second non-volatile memory is taken in and the first non-volatile memory is taken in. While performing the import process to store in the non-volatile memory
When the data state of the first non-volatile memory has a higher priority than the data state of the second non-volatile memory, the acquisition process is not performed.
Data transfer system.
前記第1不揮発性メモリ及び前記第2不揮発性メモリの各々にデータが記憶されており、且つ、前記第1不揮発性メモリと前記第2不揮発性メモリとの前記データ状態の優先度が同じ場合、前記第1制御部は、前記第1基板の通電積算時間と前記第2基板の通電積算時間とを比較し、
前記第2基板の通電積算時間が前記第1基板の通電積算時間よりも長い場合に、前記取込処理を行う一方で、前記第1基板の通電積算時間が前記第2基板の通電積算時間以下の場合には、前記取込処理を行わない、
請求項1に記載のデータ転送システム。
When data is stored in each of the first non-volatile memory and the second non-volatile memory, and the priority of the data state of the first non-volatile memory and the second non-volatile memory is the same. The first control unit compares the energization integration time of the first substrate with the energization integration time of the second substrate.
When the energization integration time of the second substrate is longer than the energization integration time of the first substrate, the acquisition process is performed, while the energization integration time of the first substrate is equal to or less than the energization integration time of the second substrate. In the case of, the above-mentioned import processing is not performed.
The data transfer system according to claim 1.
前記第1不揮発性メモリと前記第2不揮発性メモリとの前記データ状態がともに前記未確定状態である場合、前記第1制御部は、前記第1基板の通電積算時間として前記第1不揮発性メモリが前記未確定状態となってからの通電積算時間と、前記第2基板の通電積算時間として前記第2不揮発性メモリが前記未確定状態となってからの通電積算時間とを比較する、
請求項2に記載のデータ転送システム。
When the data states of the first non-volatile memory and the second non-volatile memory are both in the undetermined state, the first control unit uses the first non-volatile memory as the energization integration time of the first substrate. Compares the energization integration time after the undetermined state is reached with the energization integration time after the second non-volatile memory is in the undetermined state as the energization integration time of the second substrate.
The data transfer system according to claim 2.
前記第1不揮発性メモリと前記第2不揮発性メモリとの前記データ状態がともに前記確定状態である場合、前記第1制御部は、前記第1基板の初回通電時からの通電積算時間と、前記第2基板の初回通電時からの通電積算時間とを比較する、
請求項2又は3に記載のデータ転送システム。
When the data states of the first non-volatile memory and the second non-volatile memory are both in the definite state, the first control unit determines the energization integration time from the first energization of the first substrate and the energization integration time. Compare with the energization integrated time from the first energization of the second substrate,
The data transfer system according to claim 2 or 3.
前記複数の状態は、前記未確定状態よりも優先度が低く、記憶されているデータが無いデータ無の状態を含み、
前記第1制御部は、前記第1不揮発性メモリの前記データ状態が前記データ無の状態である場合に前記取込処理を行うと、前記第1不揮発性メモリの前記データ状態を前記データ無の状態から前記未確定状態とする、
請求項1乃至4のいずれか1項に記載のデータ転送システム。
The plurality of states have a lower priority than the undetermined state, and include a state of no data with no stored data.
When the acquisition process is performed when the data state of the first non-volatile memory is the state of no data, the first control unit changes the data state of the first non-volatile memory to the state of no data. From the state to the undetermined state,
The data transfer system according to any one of claims 1 to 4.
前記第1制御部は、前記第1不揮発性メモリの前記データ状態が前記未確定状態となってから予め定めた所定期間が経過した際に、前記第1不揮発性メモリの前記データ状態を前記未確定状態から前記確定状態とする、
請求項1乃至5のいずれか1項に記載のデータ転送システム。
The first control unit changes the data state of the first non-volatile memory to the undetermined state when a predetermined period has elapsed after the data state of the first non-volatile memory becomes the undetermined state. From the confirmed state to the confirmed state,
The data transfer system according to any one of claims 1 to 5.
前記家電機器は、給湯機である、
請求項1乃至6のいずれか1項に記載のデータ転送システム。
The home appliance is a water heater.
The data transfer system according to any one of claims 1 to 6.
互いに通信が可能であるとともに記憶領域を有する第1基板と第2基板との間でデータ転送を行うデータ転送方法であって、
前記第1基板と前記第2基板の一方は家電機器に設けられ、他方は前記家電機器の遠隔操作を可能とするリモートコントローラに設けられ、
前記第1基板及び前記第2基板の各々の記憶領域のデータ状態として、互いに異なる優先度の複数の状態を用意し、
前記複数の状態は、記憶されているデータがある未確定状態と、記憶されているデータがあるとともに前記未確定状態よりも優先度が高い確定状態とを含み、
前記第1基板が交換されたことに応じて、当該交換後の前記第1基板と、前記第2基板との前記データ状態の優先度を比較し、
前記第2基板の前記データ状態が前記第1基板の前記データ状態よりも優先度が高い場合には、前記第2基板に記憶されているデータを前記第1基板に取り込んで記憶させる一方で、
前記第1基板の前記データ状態が前記第2基板の前記データ状態よりも優先度が高い場合には、前記第2基板に記憶されているデータを前記第1基板に取り込まない、
データ転送方法。
It is a data transfer method that transfers data between a first board and a second board that can communicate with each other and have a storage area.
One of the first board and the second board is provided in the home electric appliance, and the other is provided in the remote controller capable of remote control of the home electric appliance.
As the data states of the storage areas of the first substrate and the second substrate, a plurality of states having different priorities are prepared.
The plurality of states include an undetermined state having stored data and a confirmed state having stored data and having a higher priority than the undetermined state.
In response to the replacement of the first substrate, the priority of the data state between the first substrate after the replacement and the second substrate is compared.
When the data state of the second board has a higher priority than the data state of the first board, the data stored in the second board is taken into the first board and stored.
When the data state of the first board has a higher priority than the data state of the second board, the data stored in the second board is not taken into the first board.
Data transfer method.
JP2018111975A 2018-06-12 2018-06-12 Data transfer system and data transfer method Active JP6966385B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018111975A JP6966385B2 (en) 2018-06-12 2018-06-12 Data transfer system and data transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018111975A JP6966385B2 (en) 2018-06-12 2018-06-12 Data transfer system and data transfer method

Publications (2)

Publication Number Publication Date
JP2019216334A JP2019216334A (en) 2019-12-19
JP6966385B2 true JP6966385B2 (en) 2021-11-17

Family

ID=68918072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018111975A Active JP6966385B2 (en) 2018-06-12 2018-06-12 Data transfer system and data transfer method

Country Status (1)

Country Link
JP (1) JP6966385B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001033091A (en) * 1999-07-23 2001-02-09 Noritz Corp Data transfer method of water heater control board and control board of water heater
JP4061782B2 (en) * 1999-07-27 2008-03-19 株式会社ノーリツ Data transfer method for water heater control board
JP2005326085A (en) * 2004-05-14 2005-11-24 Noritz Corp Method for transferring data between remote control units, and remote control unit for heat source machine
JP2012105127A (en) * 2010-11-11 2012-05-31 Sharp Corp Electrical equipment
JP5767557B2 (en) * 2011-10-18 2015-08-19 日立アプライアンス株式会社 Liquid heating device
US10443894B2 (en) * 2016-09-16 2019-10-15 A. O. Smith Corporation System and method for control of electric water heater

Also Published As

Publication number Publication date
JP2019216334A (en) 2019-12-19

Similar Documents

Publication Publication Date Title
DE602004009320T2 (en) HEAT AND CURRENT GENERATION SYSTEM FOR THE HOUSEHOLD
CN106462477B (en) Device management apparatus and management program update method
JP6195628B2 (en) Terminal apparatus, control apparatus, installation position confirmation support system, installation position setting support system, installation position confirmation support method, installation position setting support method, and program
WO2016021208A1 (en) Management device, control method for management device, and control method for management system
JP5913844B2 (en) Endoscope device
WO2024228353A1 (en) Communication device and air conditioning system
JP6966385B2 (en) Data transfer system and data transfer method
EP2584277B1 (en) Network system equipped with air conditioner and control method thereof
JP7225936B2 (en) Multi hot water system
CN111033137B (en) air conditioner
JP6918676B2 (en) Residential equipment control system
ITPD20130186A1 (en) METHOD OF MONITORING THE OPERATION OF A BURNER
JP2001033091A (en) Data transfer method of water heater control board and control board of water heater
JP2009019780A (en) Electrical equipment, service method of electrical equipment
JP6072474B2 (en) Power management apparatus, power control system, and power management method
JP5927982B2 (en) Heat pump water heater
JP5774178B2 (en) Communication adapter, communication method, and program
JP2004183938A (en) Hot-water supply system
JP2016154408A (en) Battery life determination device, battery life determination method, and program
JP7197317B2 (en) Building equipment control system
JP3964603B2 (en) Data complementing method for hot water supply apparatus and hot water supply apparatus
JP7576685B2 (en) Information processing method, air conditioner, program, and information processing system
JPWO2023148866A5 (en)
JP4554414B2 (en) Cogeneration system
JP7425182B2 (en) Central control device and time correction method for air conditioning systems

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201116

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210818

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211019

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211021

R150 Certificate of patent or registration of utility model

Ref document number: 6966385

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250