WO2018100726A1 - 電力量計およびパスキー変更方法 - Google Patents

電力量計およびパスキー変更方法 Download PDF

Info

Publication number
WO2018100726A1
WO2018100726A1 PCT/JP2016/085860 JP2016085860W WO2018100726A1 WO 2018100726 A1 WO2018100726 A1 WO 2018100726A1 JP 2016085860 W JP2016085860 W JP 2016085860W WO 2018100726 A1 WO2018100726 A1 WO 2018100726A1
Authority
WO
WIPO (PCT)
Prior art keywords
passkey
wireless communication
communication device
change
control unit
Prior art date
Application number
PCT/JP2016/085860
Other languages
English (en)
French (fr)
Inventor
雄輝 前田
健大郎 犬飼
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2016/085860 priority Critical patent/WO2018100726A1/ja
Priority to PCT/JP2017/043104 priority patent/WO2018101419A1/ja
Priority to JP2018554251A priority patent/JP6555432B2/ja
Publication of WO2018100726A1 publication Critical patent/WO2018100726A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • G01R22/06Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/14Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using a plurality of keys or algorithms
    • H04L9/16Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using a plurality of keys or algorithms the keys or algorithms being changed during operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials

Definitions

  • the present invention relates to a watt-hour meter capable of outputting a measured value by wireless communication and a passkey changing method in the wireless communication.
  • the meter reader In meter reading of the watt-hour meter, the meter reader reads the meter display and inputs the data, but there is a possibility that the meter reading value may be wrong due to misreading or input mistakes. Therefore, it is conceivable to provide the watt-hour meter with a wireless communication function with the outside. Wireless communication for meter reading is required to be within a distance of about 10 m and to ensure security. Therefore, a wireless system called Bluetooth (registered trademark) (specified by IEEE802.15.1) that communicates between devices having a radius of about 10 m by a frequency hopping spread spectrum system (FHSS) in the frequency band of 2.8 GHz. : Hereinafter referred to as the FHSS wireless system) is considered suitable.
  • Bluetooth registered trademark
  • FHSS wireless system frequency hopping spread spectrum system
  • a device using a general FHSS wireless system includes a wireless communication device, a host MCU (Memory Control Unit) that controls the wireless communication device, and some input operation means.
  • HCI Host Controller Interface
  • an instruction to change the passkey is output from the host MCU to the wireless communication device using an HCI (Host Controller Interface) command based on the operation of the input device.
  • HCI Host Controller Interface
  • UART Universal Asynchronous Receiver
  • JP 2002-366439 A (paragraph 0027, FIGS. 1 and 3)
  • the wireless communication device needs to be housed inside the business meter seal of the watt-hour meter in order to ensure security. is there. For this reason, after the power meter is installed, the wireless communication device cannot be directly mechanically operated, and the watt hour meter itself is not equipped with an input device. In addition, the communication line for inputting / outputting a command for changing the pass key of the wireless communication apparatus cannot be drawn out of the operator seal.
  • the present invention has been made in order to solve the above-described problems, and is a change in passkey for a watt-hour meter having a wireless communication function that achieves both security and communication reliability, or a wireless communication device that cannot be mechanically operated.
  • the purpose is to obtain a method.
  • the watt-hour meter of the present invention includes a measuring instrument for measuring the power flowing through the wiring, a control unit for calculating a measured value from the output of the measuring instrument, and an external digital device by means of frequency hopping spread spectrum wireless communication.
  • a wireless communication device for transmitting and receiving, and a wired communication line for connecting the control unit and the wireless communication device, and for transmitting and receiving a command necessary for changing the measurement value calculated by the control unit and the pass key of the wireless communication device
  • a housing that houses the control unit, the wired communication line, and the wireless communication device in a sealed area, wherein the wireless communication device transmits / receives data to / from the external digital device, and the passkey. If you switch to one mode, the wireless communication device will not function in the other mode.
  • the mode switching unit for controlling the operation of the device and the instruction for changing the passkey are received via the wired communication line, the setting change to the received new passkey and the received new passkey information are returned to the control unit.
  • a passkey control unit, and the control unit instructs the wireless communication device to change the passkey when the message received via the wireless communication device is a message instructing to change to a new passkey.
  • a passkey changing operation control unit a passkey verification unit for verifying whether or not the new passkey transmitted to the wireless communication device and the new passkey information returned from the wireless communication device match, and the result of the verification is In the case of a match, the wireless communication device is reset to validate the new passkey, and in the case of a mismatch, the change instruction to the new passkey is retried, and the If the attempt is continuously a predetermined number of times or more, without going through a new verification, characterized by having a a retry control unit for changing the instruction of the reset to a predetermined pass key to the wireless communication device.
  • the passkey changing method of the present invention has a radio communication mode for transmitting / receiving to / from an external digital device by frequency hopping spread spectrum wireless communication, a radio communication mode for transmitting / receiving to / from the external digital device, and a specification change mode for changing the passkey.
  • a wireless communication device that is set so that the function in the other mode does not work, a control unit that manages the operation of the device, and transmission / reception of commands necessary for changing the passkey
  • a wired communication line for performing communication between the control unit and the wireless communication device is stored in a sealed area, and the pass key of the wireless communication device is changed.
  • the watt-hour meter or the passkey changing method of the present invention even if a communication failure occurs during the change of the passkey and the change to the intended passkey cannot be made, the predetermined passkey is restored, so that the communication cannot be performed. Absent. Thereby, the watt-hour meter which has the radio
  • FIG. 1 to 6 are diagrams for explaining a configuration of a watt-hour meter having a wireless communication function according to the first embodiment of the present invention or a method for changing a passkey.
  • FIG. 1 shows a wireless communication function in the watt-hour meter.
  • FIG. 2 is a functional block diagram showing the configuration of a watt-hour meter and a meter-reading wireless meter-reading terminal for realizing a meter reading method using a key and a passkey changing method for improving security.
  • FIG. FIG. 3 is a partially cut-away perspective view of a state in which the state before and after the operator seal for showing a typical arrangement is schematically shown, and a plurality of watt-hour meters are installed in one place. It is the schematic diagram which showed the state which performs a meter-reading operation
  • FIG. 4 to 6 show the operation of each part of the entire process in the pass key changing method.
  • FIG. 4 shows the normal meter reading operation after the new pass key is input to the wireless meter reading terminal.
  • FIG. 5 is a flowchart showing a mode switching process, which is the first half of the passkey change operation
  • FIG. 6 is an actual passkey after switching to the passkey change mode is completed. It is a flowchart which shows the process until it changes.
  • the watt-hour meter 1000 includes a host MCU 1100 that controls the operation of the watt-hour meter 1000, a wireless communication apparatus 1200 of the FHSS wireless system, and wireless communication with the host MCU 1100.
  • a UART communication type wired communication line 1300 that connects the apparatus 1200 and transmits a communication signal including an HCI command, an input terminal 1400 that connects a power supply side circuit and a load side circuit measured by the watt-hour meter 1000, And a rewritable storage device 1500 that stores the passkey.
  • the watt-hour meter 1000 is equipped with an FHSS wireless communication device 1200 connected to the host MCU 1100 via a wired communication line 1300, so that the wireless meter reading terminal 2000 can be operated to measure the amount of power used and change the passkey. It becomes possible.
  • the wired communication line 1300 In the case of the UART communication method, a total of three signal lines including a transmission line, a reception line, and a ground line are required as the wired communication line 1300.
  • the communication line for transmitting the HCI command is a wired communication line, it is not necessarily required to be defined in the UART communication system, and a signal line defined by the communication system may be provided.
  • the watt-hour meter 1000 is a meter that can be used for power rate transactions. In order to ensure the soundness of the measured value, the watt-hour meter 1000 prevents a third party from entering the watt-hour meter 1000 as shown in FIG. A functional seal is applied. Specifically, the inside of the main body unit 1010 housing the storage unit 1500 and the host MCU 1100 that controls the operation of the metering unit, the watt-hour meter 1000, and the sensor (not shown) is sealed.
  • a terminal cover 1030 that covers the terminal portion and seals the attachment portion is attached to the terminal block block 1020 located at the lower portion of the main body portion 1010 so that the terminal block block 1020 located at the lower portion of the main body portion 1010 cannot be stolen after the installation work.
  • This seal is referred to as a business operator seal
  • the wireless communication device 1200 is installed outside the verification seal, but in a space within the terminal cover 1030, that is, inside the business operator seal.
  • the wired communication line 1300 is arranged across the inside and outside of the certification seal, but is arranged inside the business operator seal.
  • the host MCU 1100 is positioned as a main control unit (control unit) of the watt-hour meter 1000 that performs control related to wireless communication unique to the present invention, in particular, a passkey change, in addition to the metering operation that is a basic function as a watt-hour meter.
  • a wired signal transmission / reception unit 1110 that transmits / receives a communication message to / from the wireless communication device 1200 via the wired communication line 1300, a message type determination unit 1120 that determines the type of the received communication message, and an input from the input terminal 1400
  • a metering operation control unit 1130 that measures the amount of power used
  • a passkey change operation control unit 1140 that controls the operation when the passkey is changed
  • a transmission message generation unit 1150 that generates a communication message from the host MCU 1100 to the wireless communication device 1200.
  • a passkey collating unit 1170 for confirming whether or not the passkey written after the passkey change is correctly written.
  • the passkey change operation control unit 1140 also has a function of storing the passkey before change (the old passkey) read from the wireless communication device 1200 in a rewritable storage device 1500.
  • the wireless communication device 1200 is a wireless device that divides the 2.8 GHz frequency band defined by IEEE 802.15.1 into a plurality of channels and communicates between digital devices having a radius of about 10 m by the FHSS method.
  • a wireless signal transmission / reception unit 1210 that transmits / receives a communication message to / from the wireless meter reading terminal 2000 via a wireless communication path, and a data format in which a message received by the wireless signal transmission / reception unit 1210 can be transmitted to the host MCU 1100.
  • a received message conversion unit 1220 for converting the received message to the host MCU 1100 and a message transmitted from the host MCU 1100 and a message received by the wired signal transmission / reception unit 1230.
  • a message content decrypting unit 1240 that decrypts the content of the message, a mode switching unit 1250 that executes switching to a setting change mode to be described later, and a result decrypted by the message content decrypting unit 1240 based on the result decrypted by the message content decrypting unit 1240
  • a passkey control unit 1260 for controlling a passkey setting change based on the
  • a reset control unit 1270 that resets the wireless communication device 1200 by H / W based on a result determined by the content decoding unit 1240
  • a transmission message generation unit 1280 that generates a message to be transmitted to the host MCU 1100 based on the result decoded by the message content decoding unit 1240. And having.
  • the wireless meter reading terminal 2000 is a portable wireless terminal such as a tablet terminal or a smartphone, for example, and has at least a function capable of transmitting and receiving with the wireless communication apparatus 1200 by the FHSS method. Then, an input device 2100 for performing a user's input operation to move to the operation of metering the power consumption and changing the passkey, a display device 2200 for displaying the input contents and the metered power consumption, and an input A transmission message generation unit 2300 that generates a transmission message to be transmitted to the wireless communication device 1200 according to contents input to the device 2100, transmission of a transmission message generated by the transmission message generation unit 2300 to the wireless communication device 1200, and wireless communication device 1200 A wireless signal transmission / reception unit 2400 for receiving a telegram from.
  • an input device 2100 for performing a user's input operation to move to the operation of metering the power consumption and changing the passkey
  • a display device 2200 for displaying the input contents and the metered power consumption
  • a plurality of watt-hour meters 1000 are installed within a range where connection from one wireless meter reading terminal 2000 is possible.
  • a plurality of watt-hour meters are collectively installed in one place as shown in FIG. 3 such as in an apartment house or a commercial building, a plurality of watt-hour meters 1000 -1 from one wireless meter reading terminal 2000 is used. It will communicate with ⁇ 1000- m at the same time.
  • the wireless meter reading terminal 2000 connects simultaneously with the wireless communication devices 1200 -i of the plurality of watt-hour meters 1000 -i , and reads the used power amount by communication.
  • the wireless meter reading terminal 2000 communicates with a plurality of wireless communication devices 1200- i simultaneously, the number of simultaneous connections is limited by the capability of the wireless meter reading terminal 2000, and the greater the number of connections, the greater the risk that communication will be interrupted. . For this reason, if the passkey change is executed in a state in which the specification change is enabled during normal wireless communication, communication between the host MCU 1100 and the wireless meter reading terminal 2000 becomes impossible due to unexpected communication interruption, which may cause confusion.
  • the watt-hour meter 1000 in a state where communication is possible (communication mode), a command for changing the specification cannot be transmitted / received, and a state where the specification is changed (setting change mode) ) To prevent wireless communication.
  • the changed setting is not applied until an H / W reset is performed.
  • the wireless communication device 1200 has two modes: a communication mode in which data can be transmitted and received by wireless communication, and a setting change mode in which settings such as a passkey of the wireless communication device 1200 are changed. While operating in each mode, only operations that can be performed in that mode can be performed, and operations in other modes cannot be performed. For example, when switching to the communication mode, it is not possible to receive commands related to all specification settings including passkey changes other than switching commands to other modes, and when switching to the setting change mode, wireless communication is not possible. Can not.
  • the wireless communication apparatus 1200 sets the communication mode as a basic state, and switches to the setting change mode only by a communication message from the host MCU 1100 via the wired communication line 1300. Switching from the setting change mode to the communication mode is performed by an H / W reset command by an HCI command from the host MCU 1100. Switching to the communication mode and updating the setting changed in the setting change mode are realized by starting up in the communication mode which is the basic state by returning from the H / W reset.
  • FIG. 1 In the wireless communication system including the watt-hour meter 1000 having the wireless communication device 1200 having such specifications and the wireless meter reading terminal 2000, a procedure for changing the passkey will be described with reference to FIGS. 1 and 4 to 6.
  • FIG. 1 In the flowcharts of FIGS. 4 to 6, the alphabetical character at the end of the step number has the following meaning. “T” is an operation by the wireless meter reading terminal 2000, “c” is an operation by the wireless communication device 1200, and “m” is an operation by the host MCU 1100.
  • a notation such as “tc” in which English letters are connected indicates transmission / reception between two devices, such as transmission / reception from the wireless meter reading terminal 2000 to the wireless communication device 1200.
  • the wireless meter reading terminal 2000 and the wireless communication device 1200 have established a communication path so that they can communicate in advance. Further, communication between the host MCU 1100 and the wireless communication device 1200 is performed using the wired communication line 1300, and communication between the wireless meter reading terminal 2000 and the wireless communication device 1200 is performed using a wireless communication path. Shall.
  • the user operates the input device 2100 of the wireless meter reading terminal 2000, and inputs a new pass key (new pass key) to be changed (step S010t).
  • the transmission message generation unit 2300 generates a pass key change request message for the input new pass key (step S020t).
  • the wireless signal transmission / reception unit 2400 transmits the generated passkey change request message to the wireless communication device 1200, and the wireless communication device 1200 receives the passkey change request message at the wireless signal transmission / reception unit 1210 (step S030tc).
  • the received message conversion unit 1220 converts the data format of the received passkey change request message (step S040c).
  • the wired signal transmission / reception unit 1230 transmits the converted passkey change request message to the host MUC 1100 via the wired communication line 1300, and the host MCU 1100 receives the passkey change request message at the wired signal transmission / reception unit 1110 (step S050 cm).
  • the message type determination unit 1120 determines the type of whether the received message is a passkey change request message or a weighing request message (step S060m). For example, if a measurement value request message at the time of meter reading work has been received (No), the measurement operation is executed.
  • the weighing operation control unit 1130 calculates a measurement value such as an electric energy based on the input from the input terminal 1400, and the transmission message generation unit 1150 creates a measurement value answer message using the measurement value.
  • This measurement value reply message is transmitted from the host MCU 1100 to the wireless communication apparatus 1200 via the wired communication line 1300.
  • the transmitted measurement value reply message is transmitted / received to / from the wireless meter reading terminal 2000 via the wireless communication path after the received message conversion unit 1220 converts the data format.
  • the wireless meter reading terminal displays on the display device 2200 or transmits it to a host computer or the like (not shown), thereby realizing a power meter reading operation.
  • a host computer or the like not shown
  • the passkey change operation control unit 1140 functions as the main control unit. First, a mode process (FIG. 5) from the communication mode to the setting change mode is executed. The passkey change operation control unit 1140 requests the transmission message generation unit 1150 to generate a setting change mode request message, and the transmission message generation unit 1150 receives the request from the passkey change operation control unit 1140 and receives the setting change mode request message. A request message is generated (step S100m).
  • the wired signal transmission / reception unit 1110 transmits the setting change mode request message generated by the transmission message generation unit 1150 to the wireless communication device 1200, and the wireless communication device 1200 receives the setting change mode request message by the wired signal transmission / reception unit 1230 ( Step S1110mc).
  • the received setting change mode request message is decrypted by the message content decrypting unit 1240, and the mode switching unit 1250 switches the wireless communication device 1200 from the communication mode to the setting change mode based on the decrypted content (step S120c). Since wireless communication cannot be performed while the setting change mode is being switched, communication between the wireless communication device 1200 and the wireless meter reading terminal 2000 becomes impossible thereafter. As a result, the connection between the wireless communication device 1200 and the wireless meter reading terminal 2000 is disconnected, and the number of connectable wireless metering terminals 2000 is made free. For example, another wireless wattmeter 1000 -j that has not been connected so far Connection with the communication device 1200 -j is possible.
  • the transmission message generation unit 1280 After the mode switching unit 1250 switches to the setting change mode, the transmission message generation unit 1280 generates a mode completion message.
  • the wired signal transmission / reception unit 1230 transmits the mode completion message generated by the transmission message generation unit 1280 to the host MCU 1100, and the wired signal transmission / reception unit 1110 of the host MCU 1100 receives the mode completion message (step S130cm). Thereby, the mode switching to the setting change mode of the watt-hour meter 1000 including the host MCU 1100 is completed.
  • the passkey changing operation control unit 1140 controls an operation for confirming the passkey before change (old passkey).
  • the transmission message generation unit 1150 In response to the request from the passkey change operation control unit 1140, the transmission message generation unit 1150 generates an old passkey confirmation request message (step S200m).
  • the wired signal transmission / reception unit 1110 transmits the old passkey confirmation request message generated by the transmission message generation unit 1150 to the wireless communication device 1200, and the wired signal transmission / reception unit 1230 of the wireless communication device 1200 receives the old passkey confirmation request message (step). S210mc).
  • the received old passkey confirmation request message is decoded by the message content decrypting unit 1240 with the content requesting the old passkey. For example, based on the old passkey held (or used) by the passkey setting control unit 1260, the transmitted message generating unit 1280 Generates an old passkey reply message.
  • the wired signal transmission / reception unit 1230 transmits the old passkey response message generated by the transmission message generation unit 1280 to the host MCU 1100, and the wired signal transmission / reception unit 1110 of the host MCU 1100 receives the old passkey response message (step S220cm).
  • the passkey change operation control unit 1140 stores the old passkey information extracted from the old passkey answer message in the rewritable storage device 1500 (step S230m).
  • the passkey change operation control unit 1140 adds (counts up) the passkey change trial count value N (initial value is 0) (step S240m), and sends the passkey to the transmitted message generation unit 1150.
  • Request generation of change request message The transmission message generation unit 1150 receives a request from the passkey change operation control unit 1140 and generates a passkey change request message.
  • the wired signal transmission / reception unit 1110 transmits the passkey change request message generated by the transmission message generation unit 1150 to the wireless communication device 1200, and the wired signal transmission / reception unit 1230 of the wireless communication device 1200 receives the passkey change request message (step S250mc). .
  • the received passkey change request message is decoded by the message content decrypting unit 1240 to be a command for changing the passkey and the content including the passkey to be changed (new passkey). Based on the decrypted content, the passkey control unit 1260 is decrypted. Changes the setting to the new passkey (step S260c).
  • the transmission message generation unit 1280 When the passkey setting change is completed, the transmission message generation unit 1280 generates a passkey setting change completion message.
  • the wired signal transmission / reception unit 1230 transmits the passkey setting change completion message generated by the transmission message generation unit 1280 to the host MCU 1100, and the wired signal transmission / reception unit 1110 of the host MCU 1100 receives the passkey setting change completion message (step S270cm).
  • the passkey change operation control unit 1140 requests the passkey verification unit 1170 to verify the passkey.
  • the passkey collation unit 1170 receives the information on the new passkey requested for the change transmitted in step S250mc and the information on the new passkey with the setting change received in the passkey setting change completion message. It is checked whether or not they match (step S280m).
  • the passkey change operation control unit 1140 If the information on the new passkey requested to be changed matches the information on the new passkey whose setting has been changed (returned) (Yes), the passkey change operation control unit 1140 resets the trial count value N to 0 (step S400m). After resetting the trial count value N, the passkey change operation control unit 1140 requests the transmission message generation unit 1150 to generate an H / W reset request message. In response to the request from the passkey change operation control unit 1140, the transmission message generation unit 1150 generates an H / W reset request message to the wireless communication apparatus 1200.
  • the wired signal transmission / reception unit 1110 transmits the H / W reset request message generated by the transmission message generation unit 1150 to the wireless communication device 1200, and the wired signal transmission / reception unit 1230 of the wireless communication device 1200 receives the H / W reset request message. (Step S410mc).
  • the wireless communication device 1200 Based on the received H / W reset request message, the wireless communication device 1200 operates the reset control unit 1270 to perform an H / W reset, and restarts itself (step 420c). Since the wireless communication device 1200 is started in the communication mode which is the basic state by restarting by H / W reset, the wireless communication device 1200 is started in a state where the setting change mode is switched to the communication mode, and the changed setting content (new passkey) is displayed. Apply and end the passkey change process.
  • step S280m determines whether the information on the new passkey requested to be changed does not match the information on the returned new passkey (No). If it is determined in step S280m that the information on the new passkey requested to be changed does not match the information on the returned new passkey (No), the retry control unit 1160 determines the passkey change trial count value N as a predetermined value. Is determined (step S300m).
  • the passkey change operation control unit 1140 returns to the process of step S240m, increments the trial count value N by one, and continues the subsequent processes. To control.
  • the passkey changing operation control unit 1140 reads the passkey (old passkey) stored in the storage device 1500 in step S230m (step S310m). Then, the transmission message generation unit 1150 is requested to generate a passkey change request message for changing the passkey to the old passkey. In response to the request from the passkey change operation control unit 1140, the transmission message generator 1150 generates a passkey change request message for changing the setting to the old passkey (step S320m).
  • the wired signal transmission / reception unit 1110 transmits a passkey change request message including the old passkey information generated by the transmission message generation unit 1150 to the wireless communication device 1200, and the wired signal transmission / reception unit 1230 of the wireless communication device 1200 passes the passkey to the old passkey.
  • a change request message is received (step S330mc).
  • the message content decrypting unit 1240 interprets that the received passkey change request message is a command to change the passkey and includes the information of the old passkey. Based on the decrypted content, the passkey control unit 1260 Is changed to the old passkey (step S340c). After changing the setting of the passkey to the old passkey, the passkey change operation control unit 1140 causes the transmission message generation unit 1280 to generate a passkey setting change completion message.
  • the wired signal transmission / reception unit 1230 transmits the passkey setting change completion message generated by the transmission message generation unit 1280 to the host MCU 1100, and the wired signal transmission / reception unit 1110 of the host MCU 1100 receives the passkey setting change completion message (step S350cm).
  • the processing is continued in the same flow as when the information on the new passkey requested to be changed in step S280m described above matches the information on the new passkey whose setting has been changed. That is, the verification process of whether or not the information matches is skipped, and the old passkey validation operation is forcibly performed by changing to the old passkey and resetting.
  • the wireless communication apparatus 1200 is started in the communication mode which is the basic state by restarting by the H / W reset, and thus the wireless communication apparatus 1200 is started in a state where the setting change mode is switched to the communication mode. Apply the old passkey) and finish the passkey change operation. In this case, the process for confirming the completion of the change as in step S350cm may be omitted, and the transmitted old passkey may be forcibly validated.
  • FIG. 7 shows the wireless communication function in the watt-hour meter.
  • FIG. 8 is a flowchart showing all steps of the passkey changing operation after it is determined that the passkey changing operation is out of all the steps in the passkey changing method.
  • FIGS. 2 to 4 described in the first embodiment are used.
  • the watt-hour meter 1000 has a configuration in which the storage device 1500 is excluded from the watt-hour meter 1000 described in the first embodiment. It has become.
  • the wireless metering terminal 2000 and the wireless communication device 1200 have established a communication path so that they can communicate in advance. Further, communication between the host MCU 1100 and the wireless communication device 1200 is performed using the wired communication line 1300, and communication between the wireless meter reading terminal 2000 and the wireless communication device 1200 is performed using a wireless communication path. Shall.
  • step S130 cm In the process of the passkey changing method according to the second embodiment, the process up to step S130 cm is the same as the process described in the first embodiment, and a detailed description thereof will be omitted.
  • a series of processes for calling and storing the old passkey from step S200m to step S230m after receiving the mode switching completion message in step S130cm is omitted.
  • the processes other than steps S310m to S340c are the same as those in the first embodiment, and thus the description thereof is omitted as in the case of step S130c. .
  • step S300m when the number-of-trials value N exceeds a predetermined value (Yes), the retry control unit 1160 stops trying to change the setting to the new passkey. Then, the passkey changing operation control unit 1140 performs an operation for changing and setting to a factory default passkey (an “initial passkey” which is a kind of old passkey).
  • the factory default passkey is determined in the process programmed in the wireless communication apparatus 1200 in advance.
  • the transmission message generation unit 1150 In response to the request from the passkey change operation control unit 1140, the transmission message generation unit 1150 generates a passkey change request message for changing the setting of the passkey to the initial passkey embedded in the program (step S325m).
  • the wired signal transmission / reception unit 1110 transmits a pass key change request message to the initial pass key generated by the transmission message generation unit 1150 to the wireless communication device 1200, and the wired signal transmission / reception unit 1230 of the wireless communication device 1200 requests a pass key change to the initial pass key.
  • a message is received (step S335mc).
  • the message content decrypting unit 1240 interprets that the received passkey change request message is a command to change the passkey to the initial passkey embedded in the program, and the passkey control unit 1260 determines the initial passkey in the program based on the decrypted content.
  • the setting is changed to (Step S345c).
  • the transmission message generation unit 1280 When the setting change is completed, the transmission message generation unit 1280 generates a passkey setting change completion message.
  • the wired signal transmission / reception unit 1230 transmits the passkey setting change completion message generated by the transmission message generation unit 1280 to the host MCU 1100, and the wired signal transmission / reception unit 1110 of the host MCU 1100 receives the passkey setting change completion message (step S350cm).
  • step S400 the passkey change operation control unit 1140 proceeds to step S400. That is, the processing is continued in the same flow as when the passkey information requested to be changed in step S280m described in the first embodiment and the passkey information whose setting has been changed are the same.
  • the wireless communication apparatus 1200 is started in the communication mode which is the basic state by restarting by H / W reset, the wireless communication apparatus 1200 is started in a state where the setting change mode is switched to the communication mode, and the initial passkey at the time of shipment from the factory is set. Is applied to end the passkey change operation process.
  • the step for confirming the completion of the change as in step S350 cm may be omitted, and the initial passkey may be forcibly changed.
  • the initial pass key is embedded in the program of the wireless communication apparatus 1200
  • the present invention is not limited to this.
  • it may be embedded in the program of the host MCU 1100.
  • the operation from reading the initial passkey to changing the setting is different from that of the present embodiment, and the same as steps S310m to S340c described in the first embodiment, except that the read target of the passkey is different from the storage device 1500. become.
  • the present invention is not limited to this.
  • the business operator seal and the certification seal may be in independent areas. Even in this case, the host MCU 1100 and the wireless communication apparatus 1200 and the wired communication line 1300 connecting the two may be stored in a sealed area where physical access to the outside is not possible.
  • the watt-hour meter which has a seal was described as object, it is not restricted to it.
  • a control unit that manages the operation of a certain device is usually placed in a space where it cannot be disassembled, and the control unit, the wireless communication device, and the wired communication line are in a state where mechanical operations cannot be performed. Applicable to any device.
  • the meter for measuring the power flowing through the wiring, and the control unit for calculating the measured value from the output of the meter ( The host MCU 1100), the wireless communication device 1200 that transmits and receives to / from an external digital device (wireless meter reading terminal 2000) by frequency hopping spread spectrum wireless communication, the control unit and the wireless communication device 1200 are connected, and the measurement calculated by the control unit
  • the wireless communication device 1200 transmits and receives with an external digital device (wireless meter reading terminal 2000).
  • a mode switching unit 1250 that controls the operation of the wireless communication device 1200 so that the function in the other mode is not activated when the mode is switched to one mode.
  • the control unit has a pass key control unit 1260 that changes the setting to the received new pass key and returns the received new pass key information to the control unit.
  • the unit (host MCU 1100), when the message received via the wireless communication device 1200 is a message for instructing the change to the new passkey, the passkey change operation control unit for instructing the wireless communication device 1200 to change the passkey 1140, a new pass key transmitted to the wireless communication apparatus 1200, and a new pass key returned from the wireless communication apparatus 1200
  • the passkey collation unit 1170 that collates whether or not the information matches, and if the collation result is coincident, the wireless communication device 1200 is reset and the new passkey is validated.
  • the control unit 1160 is configured to have the pass key change mode, so that the pass key can be surely set to the new pass key or the predetermined pass key even when the access to the outside is not possible after switching to the pass key change mode. Therefore, it is possible to obtain a watt-hour meter 1000 having a wireless communication function that achieves both security and communication reliability.
  • transmission / reception with an external digital device is performed by frequency hopping spread spectrum wireless communication, It has a wireless communication mode for transmitting and receiving with an external digital device (wireless meter reading terminal 2000) and a specification change mode for changing a passkey.
  • the function in the other mode does not work.
  • Wired communication line for performing transmission / reception of commands necessary for changing the passkey between the control unit and the wireless communication device 1200, the set wireless communication device 1200, the control unit (host MCU 1100) for managing the operation of the device 1300 is a method for changing the passkey of the wireless communication apparatus 1200 in a state in which mechanical operation cannot be performed. Then, a step (steps S010t to S030tc) of transmitting an instruction to change to a new passkey to the wireless communication device 1200 by wireless communication from the digital device (wireless meter reading terminal 2000), and the wireless communication device 1200 by the wired communication line 1300.
  • a step of transmitting an instruction received from the digital device to the control unit steps S040c to S050cm
  • a step of transmitting a setting change command to the new passkey to the wireless communication apparatus 1200 by the control unit via the wired communication line 1300 steps S100m to S050m.
  • S110mc the wireless communication device 1200 switching from the wireless communication mode to the specification change mode (S120c to S130cm), the wireless communication device 1200 changing the setting to the new passkey and the new passkey extracted from the setting change command
  • Returns information to the control unit Steps S260c to S270cm
  • the control unit checks whether or not the new passkey transmitted to the wireless communication apparatus 1200 and the new passkey information returned from the wireless communication apparatus 1200 match.
  • step S280m the control unit resets the wireless communication apparatus 1200 to validate the new passkey if the collation result is coincident, and if it does not coincide, the control unit reattempts to change the new passkey, If the retries continue for a predetermined number of times (the number of times of trial N), a retry control step (steps S300m to S420c) for instructing the wireless communication apparatus 1200 to change to a predetermined passkey and the reset without any new verification. ), And when switching to the passkey change mode, external access is possible. Even in such a situation that the user cannot stop, the new passkey or the predetermined passkey can be surely set. Therefore, it becomes possible to change the passkey that achieves both security and communication reliability.
  • the predetermined passkey is the passkey used immediately before receiving the change instruction to the new passkey, a trouble occurs during the change to the new passkey.
  • the passkey is changed to the passkey used immediately before, the user can reliably ensure communication.
  • step S230m the passkey can be surely returned to the previous passkey.
  • a predetermined passkey is embedded in the control unit or wireless communication device 1200 (for example, in a program)
  • the user can be sure of the initial passkey by notifying the data at the time of factory shipment. Communication can be ensured.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Selective Calling Equipment (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

制御ユニットは、無線通信装置(1200)に送信した新パスキーと無線通信装置(1200)から返信された新パスキーの情報が一致するか否かの照合を行うパスキー照合部(1170)と、照合の結果が一致の場合は、無線通信装置(1200)をリセットして新パスキーを有効化し、不一致の場合には、新パスキーへの変更指示を再試行させるとともに、再試行が所定回数以上連続すると、新たな照合を経ずに、無線通信装置(1200)に所定のパスキーへの変更とリセットの指示を行う再試行制御部(1160)と、を有するように構成した。

Description

電力量計およびパスキー変更方法
 本発明は、計量値を無線通信で出力可能な電力量計および当該無線通信におけるパスキー変更方法に関する。
 電力量計の検針においては、検針員がメータの表示を読み取ってデータを入力していたが、読み間違いあるいは入力ミス等により検針値を誤る可能性がある。そこで、電力量計に外部との無線通信機能をもたせることが考えられる。検針用の無線通信としては、使用距離が10m程度以内であること、セキュリティ性が確保できること等が求められる。そこで、2.8GHzの周波数帯で周波数ホッピングスペクトラム拡散方式(FHSS:Frequency Hopping Spread Spectrum)により、半径10m程度の機器間を通信するBlueTooth(登録商標)と呼ばれる無線方式(IEEE802.15.1で規定:以降、FHSS無線方式と称する。)が適していると考えられる。
 FHSS無線方式では、通信で送受信されるデータに秘匿性を持たせる必要がある場合、パスキー(認証パスキー、あるいはセキュリティコードとも称される)を設定することにより、無線通信どうしの接続に制限を掛けることが可能である(例えば、特許文献1参照。)。一般的なFHSS無線方式を用いる機器においては、無線通信装置と、無線通信装置を制御するホストMCU(Memory Control Unit)と、何らかの入力操作手段とを備えている。そして、パスキーを変更する際には、入力装置の操作に基づいてホストMCUから無線通信装置にHCI(Host Controller Interface)コマンドによってパスキーを変更する命令が出力される。しかし、パスキー変更のようなシステム設定に関わる命令は、UART(Universal Asynchronous Receiver Transmitter)等による有線通信を介して入出力する必要がある(例えば非特許文献1参照。)。
 一方、FHSS無線方式による無線通信では、通信経路を確立する際にパスキーによる認証を行うため、一度確立された通信経路は、その経路が切断されない限り、通信途中にパスキーが変更されても継続して通信が可能である。よって、通信中であっても無線通信装置のパスキーを変更することが可能であり、この有線通信を介して、パスキー設定以外の設定変更やハードウェアリセット(H/Wリセット)も行うことができる。
特開2002-366439号公報(段落0027、図1、図3)
Adopted Bluetooth コア仕様 コアバージョン4.2 Specification of the Bluetooth System Specification Volume 1 Architecture & Terminology Overview 5.4.2 Key Generation p94(採択日:2014/12/02) https://www.bluetooth.org/ja-jp/specification/adopted-specifications/
 ここで、検針用として電力量計にFHSS無線方式による無線通信機能を持たせようとすると、セキュリティを確保するためには、無線通信装置は電力量計の事業者封印の内側に収納する必要がある。そのため、電力計を設置した後は、無線通信装置を直接機械的に操作することはできず、電力量計自体にも入力装置は備わっていない。しかも無線通信装置のパスキー変更の命令を入出力するための通信線を事業者封印の外に引き出すことはできない。
 したがって、電力量計内の無線通信装置に対しては、無線通信を介してパスキーの設定変更を行う必要がある。しかし、パスキーの変更途中でトラブルがあったとしても、無線通信装置等にアクセスすることができないので、外部から状況を把握して適切な処理を行うことができず、場合によっては以降の通信が不可能となってしまうことが考えられる。そのため、これまでは、セキュリティと通信信頼性を両立した無線通信機能を有する電力量計を得ることができなかった。
 本発明は、上記のような課題を解決するためになされたもので、セキュリティと通信信頼性を両立した無線通信機能を有する電力量計、あるいは機械的な操作ができない無線通信機器に対するパスキーの変更方法を得ることを目的とする。
 本発明の電力量計は、配線に流れる電力を計量するための計量器と、前記計量器の出力から計量値を算出する制御ユニットと、周波数ホッピングスペクトラム拡散方式の無線通信により、外部のデジタル機器と送受信する無線通信装置と、前記制御ユニットと前記無線通信装置をつなぎ、前記制御ユニットが算出した計量値および前記無線通信装置のパスキーの変更に必要な命令の送受信を行うための有線通信線と、前記制御ユニットと前記有線通信線と前記無線通信装置とを封印領域内に収納する筐体と、を備え、前記無線通信装置は、前記外部のデジタル機器と送受信する無線通信モードと、前記パスキーの変更を行う仕様変更モードに分け、一方のモードに切り替えたときは、他方のモードでの機能を働かせないよう当該無線通信装置の動作を制御するモード切替部と、前記有線通信線を介してパスキー変更の指示を受信すると、受信した新パスキーへの設定変更と、受信した新パスキーの情報の前記制御ユニットへの返信を行うパスキー制御部とを有し、前記制御ユニットは、前記無線通信装置を介して受信した電文が、新パスキーへの変更を指示する電文であった場合に、前記無線通信装置にパスキー変更の指示をするパスキー変更動作制御部と、前記無線通信装置に送信した新パスキーと前記無線通信装置から返信された新パスキーの情報が一致するか否かの照合を行うパスキー照合部と、前記照合の結果が一致の場合は、前記無線通信装置をリセットして前記新パスキーを有効化し、不一致の場合には、前記新パスキーへの変更指示を再試行させるとともに、前記再試行が所定回数以上連続すると、新たな照合を経ずに、前記無線通信装置に所定のパスキーへの変更と前記リセットの指示を行う再試行制御部と、を有することを特徴とする。
 本発明のパスキー変更方法は、周波数ホッピングスペクトラム拡散方式の無線通信により、外部のデジタル機器と送受信するとともに、前記外部のデジタル機器と送受信する無線通信モードと、パスキーの変更を行う仕様変更モードを有し、一方のモードに切り替えたときは、他方のモードでの機能が働かないように設定された無線通信装置と、機器の動作を管理する制御ユニットと、前記パスキーの変更に必要な命令の送受信を前記制御ユニットと前記無線通信装置との間で行うための有線通信線とが、封印領域内に収納された状態で、前記無線通信装置のパスキーを変更する方法であって、前記デジタル機器から前記無線通信により、新パスキーへ変更する指示を前記無線通信装置に送信する工程と、前記無線通信装置が前記有線通信線により、前記デジタル機器から受信した指示を前記制御ユニットに送信する工程と、前記制御ユニットが前記有線通信線により、前記無線通信装置に前記新パスキーへの設定変更命令を送信する工程と、前記無線通信装置が、前記無線通信モードから前記仕様変更モードへ切り替える工程と、前記無線通信装置が、新パスキーへの設定変更と、前記設定変更命令から抽出した新パスキーの情報を前記制御ユニットに返信する工程と、前記制御ユニットが、前記無線通信装置に送信した新パスキーと前記無線通信装置から返信された新パスキーの情報が一致するか否かの照合を行うパスキー照合工程と、前記制御ユニットが、前記照合の結果が一致の場合は、前記無線通信装置をリセットして前記新パスキーを有効化し、不一致の場合には、前記新パスキーへの変更指示を再試行させるとともに、前記再試行が所定回数以上連続すると、新たな照合を経ずに、前記無線通信装置に所定のパスキーへの変更と前記リセットの指示を行う再試行制御工程と、を有することを特徴とする。
 本発明の電力量計あるいはパスキー変更方法によれば、パスキー変更中に通信不良が発生し、意図したパスキーに変更ができなくても、所定のパスキーに復旧するため、通信不能状態に陥ることがない。これによりセキュリティと通信信頼性を両立した無線通信機能を有する電力量計を得ることができる。
本発明の実施の形態1にかかる電力量計における無線通信機能を用いた検針を実現するための構成を示す機能ブロック図である。 本発明の実施の形態1にかかる電力量計における無線通信装置の配置を示すための事業者封印前後それぞれの状態を示す一部切欠き斜視図である。 本発明の実施の形態1にかかる電力量計が複数設置された場合に検針作業を行う状態を示した模式図である。 本発明の実施の形態1にかかる無線通信装置を搭載した電力量計でのパスキー変更方法のうち、通常の検針動作かパスキー変更動作かを判別するまでの工程を示すフローチャートである。 本発明の実施の形態1にかかる無線通信装置を搭載した電力量計でのパスキー変更方法のうち、パスキー変更動作の前半の工程であるモード切替工程を示すフローチャートである。 本発明の実施の形態1にかかる無線通信装置を搭載した電力量計でのパスキー変更方法のうち、パスキー変更動作の後半の工程を示すフローチャートである。 本発明の実施の形態2にかかる電力量計における無線通信機能を用いた検針を実現するための構成を示す機能ブロック図である。 本発明の実施の形態2にかかる無線通信装置を搭載した電力量計でのパスキー変更方法のうち、パスキー変更動作の工程を示すフローチャートである。
実施の形態1.
 図1~図6は、本発明の実施の形態1にかかる無線通信機能を有する電力量計の構成、あるいはパスキーの変更方法を説明するためのもので、図1は電力量計における無線通信機能を用いた検針、およびセキュリティ向上のためのパスキーの変更方法を実現するための電力量計と検針用の無線検針端末の構成を示す機能ブロック図、図2は電力量計における無線通信装置の物理的な配置を示すための事業者封印前後それぞれの状態を模式的に示す一点鎖線内を切り欠いた一部切欠き斜視図、図3は電力量計が1か所に複数設置された場合に一台の無線検針端末を用いて検針作業を行う状態を示した模式図である。
 そして、図4~図6はパスキーの変更方法における全行程を区切った部分ごとの動作を表現したものであって、図4は無線検針端末に新しいパスキーを入力してから通常の検針動作かパスキー変更動作かを判別するまでの工程を示すフローチャート、図5はパスキー変更動作の前半の工程であるモード切替工程を示すフローチャート、図6はパスキー変更モードへの切り替えが完了してから、実際にパスキーを変更するまでの工程を示すフローチャートである。
 本発明の実施の形態1にかかる電力量計1000は、図1に示すように、電力量計1000の動作を制御するホストMCU1100と、FHSS無線方式の無線通信装置1200と、ホストMCU1100と無線通信装置1200とを接続しHCIコマンドを含む通信信号を伝送するUART通信方式の有線通信線1300と、電力量計1000で測定する電源側回路及び負荷側回路を接続する入力端子1400と、変更前のパスキーを記憶する書き換え可能な記憶装置1500とを有する。
 電力量計1000は、ホストMCU1100と有線通信線1300で接続したFHSS方式の無線通信装置1200を搭載することにより、無線検針端末2000を操作することで、使用電力量の検針、およびパスキーの変更が可能となる。
 なお、UART通信方式の場合、有線通信線1300としては、送信線、受信線、グランド線の計3本の信号線が必要となる。しかし、HCIコマンドを伝送する通信線は、有線の通信線であれば、必ずしもUART通信方式に規定される必要はなく、またその通信方式によって規定される信号線を備えるようにすればよい。
 電力量計1000は、電力料金取引に使用可能な計器であり、その計量値の健全性を担保するために、図2に示すように第三者による電力量計1000内部への侵入を阻止する機能を持った検定封印を施す。具体的には、図示しないセンサーや計量器を有する計量部、電力量計1000の動作を制御するホストMCU1100と記憶装置1500を収納する本体部1010の内部が検定封印により封印される。
 また、設置工事後に、端子接続の改変等による盗電ができないよう、本体部1010の下部に位置する端子台ブロック1020には、端子部分を覆うとともに取り付け部分を封印可能な端子カバー1030が取り付けられる。この封印を事業者封印と称し、無線通信装置1200は、検定封印の外ではあるが、端子カバー1030内の空間、つまり事業者封印の内部に設置されることになる。一方、有線通信線1300は、検定封印の内と外にまたがって配置されるが、事業者封印の内部に配置されている。つぎに、各部の詳細について説明する。
 ホストMCU1100は、電力量計としての基本機能である計量動作に加え、本発明に特有な無線通信、とくに、パスキー変更に関する制御を行う電力量計1000の主制御部(制御ユニット)に位置づけられる。そして、有線通信線1300を介して無線通信装置1200と通信電文を送受信する有線信号送受信部1110と、受信した通信電文の種別を判別する電文種別判別部1120と、入力端子1400からの入力を元に使用電力量を計量する計量動作制御部1130と、パスキー変更時の動作を制御するパスキー変更動作制御部1140と、ホストMCU1100から無線通信装置1200への通信電文を生成する送信電文生成部1150と、パスキー変更後に書き込んだパスキーが正しく書きこめているかを確認するパスキー照合部1170を有する。また、パスキー変更動作制御部1140は、無線通信装置1200から読み出した変更前のパスキー(旧パスキー)を記憶するための書き換え可能な記憶装置1500に記憶する機能も有している。
 無線通信装置1200は、IEEE802.15.1で規定された、2.8GHzの周波数帯を複数のチャネルに分割し、FHSS方式により、半径10m程度のデジタル機器間を通信する無線装置である。そして、図1に示すように、無線通信経路を介して無線検針端末2000と通信電文を送受信する無線信号送受信部1210と、無線信号送受信部1210で受信した電文をホストMCU1100へ送信可能なデータ形式に変換する受信電文変換部1220と、受信電文変換部1220で変換した電文のホストMCU1100への送信とホストMCU1100からの電文を受信する有線信号送受信部1230と、有線信号送受信部1230で受信した電文の内容を解読する電文内容解読部1240と、電文内容解読部1240で解読した結果に基づき、後述する設定変更モードへの切り替えを実行するモード切替部1250と、電文内容解読部1240で解読した結果に基づきパスキーの設定変更を制御するパスキー制御部1260と、電文内容解読部1240で判定した結果によって無線通信装置1200をH/Wリセットさせるリセット制御部1270と、電文内容解読部1240で解読した結果に基づきホストMCU1100へ送信する電文を生成する送信電文生成部1280と、を有する。
 無線検針端末2000は、例えば、タブレット端末やスマホのような携帯可能な無線端末であり、少なくともFHSS方式によって無線通信装置1200と送受信できる機能を有している。そして、使用電力量の検針及びパスキー変更の動作に移るための使用者の入力操作を行うための入力装置2100と、入力された内容、および検針した使用電力量を表示する表示装置2200と、入力装置2100に入力した内容によって無線通信装置1200へ送信する送信電文を生成する送信電文生成部2300と、送信電文生成部2300で生成された送信電文の無線通信装置1200へ送信と、無線通信装置1200から電文の受信を行う無線信号送受信部2400と、を有する。
 ところで、FHSS方式通信の規格上、通常の無線通信中にHCIコマンドによるパスキーを変更させることは可能ではある。しかし、パスキー変更のような通信の仕様に関する設定を無線通信中に変更できるようにすると、その通信が継続している間は変更前の仕様で通信できるが、一度でも途切れると、以降は変更後の仕様でしか通信できなくなる。
 一方、使用電力量の検針作業では、ひとつの無線検針端末2000からの接続が可能な範囲内に複数の電力量計1000が設置されている場合がある。例えば、集合住宅や商業ビルなど、図3に示すように複数の電力量計が一か所に集合設置されるような場合には、ひとつの無線検針端末2000から複数の電力量計1000-1~1000-mと同時に通信することになる。
 この場合、無線検針端末2000は複数の電力量計1000-iのそれぞれの無線通信装置1200-iと同時に接続を行い、通信によって使用電力量を読み出していく。無線検針端末2000が複数の無線通信装置1200-iと同時に通信する場合、無線検針端末2000の能力によって同時接続の台数は有限であり、接続数が多くなるほど、通信が途中で途絶えるリスクが大きくなる。そのため、通常の無線通信中に仕様変更を可能にした状態でパスキー変更を実行すると、不意の通信途絶により、ホストMCU1100と無線検針端末2000間の通信が不能になり、混乱を招く恐れがある。一方、通信仕様を変更する状態では、通常の無線通信は不可(非接続)となるような仕様にすれば、接続可能台数に空きを作り、空き領域を有効活用して検針作業をスムーズに行うことが可能になる。
 そこで、本発明の各実施の形態にかかる電力量計1000においては、無線通信が可能な状態(通信モード)では、仕様を変更するコマンドの送受信は行えず、仕様を変更する状態(設定変更モード)では、無線通信を行えないようにする。そして、変更された設定は、H/Wリセットを行うまで適用されないこととする。
 つまり、無線通信装置1200は無線通信によるデータの送受信が可能な通信モードと無線通信装置1200のパスキー等の設定を変更する設定変更モードの二つのモードを有する。それぞれのモードで動作している間、そのモードで実行可能な動作しか行えず、他のモードでの動作は行えない。例えば、通信モードに切り替えた場合は、他のモードへの切替命令以外のパスキー変更を含む全ての仕様設定に関するコマンドの受信は行えず、設定変更モードに切り替えた場合は、無線通信を行うことはできない。
 なお、単にセキュリティを確保するだけであれば、必ずしもパスキーを変更可能にする必要はなく、例えば固定しておくことも考えられる。しかし、ユーザの利便性や前述のように複数の電力量計をまとめて管理する場合には、共通する新たなパスキーに変更する方が楽に管理できる。あるいは、周辺の別の電力量計群と区別するために別のパスキーに変更したい場合がある。つまり、電力の検針業務といった、ある特定の管理者が複数の機器を対象に管理する場合には、パスキーを変更できるようにすることでユーザ(管理者)の利便性が向上すると考えられる。そこで、以下のような仕様でパスキーを変更できる構成を構築することとした。
 無線通信装置1200は通信モードを基本の状態とし、ホストMCU1100からの有線通信線1300を介した通信電文によってのみ設定変更モードへの切り替えを行う。また設定変更モードから通信モードへの切り替えには、ホストMCU1100からのHCIコマンドによるH/Wリセット命令によって切り替える。上記H/Wリセットからの復帰によって基本状態である通信モードでの起動をすることで通信モードへの切り替え、および設定変更モードで変更した設定の更新を実現する。
 このような仕様の無線通信装置1200を有する電力量計1000と無線検針端末2000とで構成される無線通信システムにおいて、図1および図4~図6を参照してパスキー変更の手順を説明する。図4~図6のフローチャートにおいて、ステップ番号の末尾の英文字は以下の意味を有するものとする。「t」は無線検針端末2000による動作、「c」は無線通信装置1200による動作、「m」はホストMCU1100による動作。また、英文字を連ねた「tc」のような表記は、無線検針端末2000から無線通信装置1200への送受信というように、2つの機器間での送受信を示す。
 なお、以下の説明では無線検針端末2000と無線通信装置1200とは、予め通信可能に通信経路を確立しているものとする。また、ホストMCU1100と無線通信装置1200との間での通信については、有線通信線1300を、無線検針端末2000と無線通信装置1200との間での通信には、無線通信経路を用いて行われるものとする。
 はじめに、無線検針端末2000の入力装置2100を使用者が操作し、変更したい新しいパスキー(新パスキー)を入力する(ステップS010t)。入力装置2100が新パスキーの入力を受け付けると送信電文生成部2300は入力された新パスキーへのパスキー変更要求電文を生成する(ステップS020t)。無線信号送受信部2400は生成されたパスキー変更要求電文を無線通信装置1200へ送信し、無線通信装置1200は無線信号送受信部1210でパスキー変更要求電文を受信する(ステップS030tc)。無線信号送受信部1210で受信したパスキー変更要求電文は、FHSS無線通信経路での通信方式用のデータであるため、ホストMCU1100への有線通信での通信に適した通信方式のデータへ変換する必要がある。このため受信電文変換部1220で、受け取ったパスキー変更要求電文のデータ形式を変換する(ステップS040c)。
 有線信号送受信部1230は、有線通信線1300を介して、変換されたパスキー変更要求電文をホストMUC1100へ送信し、ホストMCU1100は有線信号送受信部1110でパスキー変更要求電文を受信する(ステップS050cm)。受信した電文がパスキー変更要求電文であるか計量要求電文であるかの種別を電文種別判別部1120で判別する(ステップS060m)。例えば、検針作業時の計量値要求電文を受信していた場合(No)、計量動作を実行する。
 計量動作では、入力端子1400からの入力を元に、計量動作制御部1130が電力量等の計量値を算出し、この計量値を用いて送信電文生成部1150が計量値回答電文を作成する。この計量値回答電文は有線通信線1300を介してホストMCU1100から無線通信装置1200へ送信される。送信された計量値回答電文は、受信電文変換部1220でデータ形式を変換した後、無線通信経路を介して無線検針端末2000へ送受信される。無線検針端末は、受信したデータに基づいて、表示装置2200に表示、あるいは図示しないホストコンピュータ等に送信することで、電力量の検針作業を実現する。これにより、読み取り、書込み、転記等でのミスによる誤検針を防止し、容易に正確な検針を実現することができる。
 一方、今回のようにパスキー変更要求電文を受信した場合(Yes)、ホストMCU1100ではパスキー変更動作制御部1140が主制御部として機能する。はじめに、通信モードから設定変更モードへのモード工程(図5)を実行する。パスキー変更動作制御部1140は、送信電文生成部1150に対して、設定変更モード要求電文の生成を要求し、送信電文生成部1150はパスキー変更動作制御部1140からの要求を受けて、設定変更モード要求電文を生成する(ステップS100m)。有線信号送受信部1110は、送信電文生成部1150で生成された設定変更モード要求電文を無線通信装置1200へ送信し、無線通信装置1200は有線信号送受信部1230で設定変更モード要求電文を受信する(ステップS1110mc)。
 受信した設定変更モード要求電文は電文内容解読部1240で内容を解読され、解読内容に基づき、モード切替部1250が無線通信装置1200を通信モードから設定変更モードへ切り替えさせる(ステップS120c)。設定変更モードに切り替わっている間は無線通信を行うことはできないため、これ以降、無線通信装置1200と無線検針端末2000間の通信は不可能となる。これにより、無線通信装置1200と無線検針端末2000の接続は切断され、無線検針端末2000の接続可能台数に空きを作り、例えば、それまで接続していなかった別の電力量計1000―jの無線通信装置1200―jとの接続が可能となる。
 モード切替部1250で設定変更モードへ切り替えた後、送信電文生成部1280でモード完了電文を生成する。そして、有線信号送受信部1230は送信電文生成部1280で生成されたモード完了電文をホストMCU1100へ送信し、ホストMCU1100の有線信号送受信部1110はモード完了電文を受信する(ステップS130cm)。これにより、ホストMCU1100を含めた電力量計1000の設定変更モードへのモード切り替えが完了する。
 つぎに、図6に示すように、パスキー変更動作制御部1140は、変更前のパスキー(旧パスキー)を確認するための動作を制御する。送信電文生成部1150はパスキー変更動作制御部1140からの要求を受けて、旧パスキー確認要求電文を生成する(ステップS200m)。有線信号送受信部1110は送信電文生成部1150で生成された旧パスキー確認要求電文を無線通信装置1200へ送信し、無線通信装置1200の有線信号送受信部1230は旧パスキー確認要求電文を受信する(ステップS210mc)。
 受信した旧パスキー確認要求電文は電文内容解読部1240で旧パスキーを要求する内容と解読され、例えば、パスキー設定制御部1260で保持(または使用)されている旧パスキーに基づき、送信電文生成部1280が旧パスキー回答電文を生成する。有線信号送受信部1230は送信電文生成部1280で生成された旧パスキー回答電文をホストMCU1100へ送信し、ホストMCU1100の有線信号送受信部1110は旧パスキー回答電文を受信する(ステップS220cm)。パスキー変更動作制御部1140は旧パスキー回答電文を受信すると、旧パスキー回答電文から抽出した旧パスキーの情報を書き換え可能な記憶装置1500へ記憶する(ステップS230m)。
 旧パスキーの記憶が完了すると、パスキー変更動作制御部1140は、パスキー変更の試行回数値N(初期値は0)を1つ加算(カウントアップ)し(ステップS240m)、送信電文生成部1150へパスキー変更要求電文の生成を要求する。送信電文生成部1150はパスキー変更動作制御部1140からの要求を受けて、パスキー変更要求電文を生成する。有線信号送受信部1110は送信電文生成部1150で生成されたパスキー変更要求電文を無線通信装置1200へ送信し、無線通信装置1200の有線信号送受信部1230はパスキー変更要求電文を受信する(ステップS250mc)。
 受信したパスキー変更要求電文は電文内容解読部1240でパスキーを変更する指令であることと、変更すべきパスキー(新パスキー)を含む内容であると解読され、解読内容に基づいて、パスキー制御部1260は新パスキーに設定変更する(ステップS260c)。パスキーの設定変更が完了すると、送信電文生成部1280がパスキー設定変更完了電文を生成する。有線信号送受信部1230は送信電文生成部1280で生成されたパスキー設定変更完了電文をホストMCU1100へ送信し、ホストMCU1100の有線信号送受信部1110はパスキー設定変更完了電文を受信する(ステップS270cm)。
 パスキー設定変更完了電文を受信すると、パスキー変更動作制御部1140はパスキー照合部1170へパスキーの照合を要求する。パスキー照合部1170はパスキー変更動作制御部1140からの要求を受けて、ステップS250mcで送信した変更を要求した新パスキーの情報と、パスキー設定変更完了電文で受け取った設定変更完了した新パスキーの情報が合致するか否かを照合する(ステップS280m)。
 変更要求した新パスキーの情報と設定変更完了した(返信された)新パスキーの情報が一致する場合(Yes)、パスキー変更動作制御部1140は試行回数値Nを0にリセットする(ステップS400m)。試行回数値Nをリセットした後、パスキー変更動作制御部1140は送信電文生成部1150にH/Wリセット要求電文の生成を要求する。送信電文生成部1150はパスキー変更動作制御部1140からの要求を受けて、無線通信装置1200へH/Wリセット要求電文を生成する。有線信号送受信部1110は送信電文生成部1150で生成されたH/Wリセット要求電文を無線通信装置1200へ送信し、無線通信装置1200の有線信号送受信部1230は、H/Wリセット要求電文を受信する(ステップS410mc)。
 無線通信装置1200は、受信したH/Wリセット要求電文に基づき、リセット制御部1270を動作させてH/Wリセットを行い、自機を再起動させる(ステップ420c)。無線通信装置1200はH/Wリセットによる再起動によって基本状態である通信モードで起動するため、設定変更モードから通信モードへの切り替えをした状態で起動し、また変更した設定内容(新パスキー)を適用し、パスキー変更動作の処理を終了する。
 一方、ステップS280mで、変更要求した新パスキーの情報と返信された新パスキーの情報が不一致の場合(No)、再試行制御部1160は、パスキー変更の試行回数値Nが予め定められた所定値を超えているか否かを判定する(ステップS300m)。
 試行回数値Nが予め定められた所定値以下の場合(No)、パスキー変更動作制御部1140はステップS240mの工程に戻り、試行回数値Nを一つカウントアップして、以降の工程を続けるように制御する。
 一方、試行回数値Nが予め定められた所定値を超えた場合(Yes)、再試行が試行回数値N分連続したことになる。そこで、パスキー変更動作制御部1140は、ステップS230mで記憶装置1500に記憶されているパスキー(旧パスキー)を読み出す(ステップS310m)。そして、旧パスキーへパスキーを変更するためのパスキー変更要求電文の生成を送信電文生成部1150へ要求する。送信電文生成部1150はパスキー変更動作制御部1140からの要求を受けて、旧パスキーへ設定変更するためのパスキー変更要求電文を生成する(ステップS320m)。有線信号送受信部1110は送信電文生成部1150で生成された旧パスキーの情報を含むパスキー変更要求電文を無線通信装置1200へ送信し、無線通信装置1200の有線信号送受信部1230は旧パスキーへのパスキー変更要求電文を受信する(ステップS330mc)。
 電文内容解読部1240は、受信したパスキー変更要求電文が、パスキーを変更する指令であることと、旧パスキーの情報を含む内容であると解読し、解読内容に基づいて、パスキー制御部1260がパスキーを旧パスキーに設定変更する(ステップS340c)。パスキーを旧パスキーに設定変更したあと、パスキー変更動作制御部1140は、送信電文生成部1280にパスキー設定変更完了電文を生成させる。有線信号送受信部1230は送信電文生成部1280で生成されたパスキー設定変更完了電文をホストMCU1100へ送信し、ホストMCU1100の有線信号送受信部1110はパスキー設定変更完了電文を受信する(ステップS350cm)。
 以降は、前述のステップS280mにおける変更要求した新パスキーの情報と設定変更完了した新パスキーの情報が一致した場合と同様の流れで処理を継続する。つまり、情報が一致しているか否かの照合工程を飛ばして、強制的に旧パスキーへの変更とリセット動作による旧パスキーの有効化動作を実施する。これにより、無線通信装置1200はH/Wリセットによる再起動によって基本状態である通信モードで起動するため、設定変更モードから通信モードへの切り替えをした状態で起動し、また変更前の設定内容(旧パスキー)を適用し、パスキー変更動作の処理を終了する。なお、この場合、ステップS350cmのような変更完了を確認するための工程は省略し、送信した旧パスキーを強制的に有効化するようにしてもよい。
 実施の形態2.
 本発明の実施の形態2にかかる電力量計、およびパスキーの変更方法では、新パスキーへの設定変更が不調で、旧パスキーに再設定する際の旧パスキーの情報を無線通信装置のプログラムに埋め込むようにしたものである。図7と図8は本発明の実施の形態2にかかる無線通信機能を有する電力量計の構成、あるいはパスキーの変更方法を説明するためのもので、図7は電力量計における無線通信機能を用いた検針、およびセキュリティ向上のためのパスキーの変更方法を実現するための電力量計と検針用の無線検針端末の構成を示す機能ブロック図である。そして、図8は、パスキーの変更方法における全行程のうち、パスキー変更動作であると判別してからのパスキー変更動作の全工程を示すフローチャートである。
 図中、実施の形態1で説明した部分と同様の部分については同じ符号を付し、詳細な説明は省略する。なお、本実施の形態2においては、実施の形態1で説明した図2~図4を援用する。
 図7に示すように、本実施の形態2にかかる電力量計1000においては、電力量計1000は、実施の形態1で説明した電力量計1000に対して、記憶装置1500を除外した構成となっている。
 このような仕様の無線通信装置1200を有する電力量計1000と無線検針端末2000とで構成される無線通信システムにおいて、図7および図4、図8を参照してパスキー変更の手順を説明する。この場合も、無線検針端末2000と無線通信装置1200とは、予め通信可能に通信経路を確立しているものとする。また、ホストMCU1100と無線通信装置1200との間での通信については、有線通信線1300を、無線検針端末2000と無線通信装置1200との間での通信には、無線通信経路を用いて行われるものとする。
 本実施の形態2にかかるパスキー変更方法の工程では、ステップS130cmまでは、実施の形態1で説明した工程と共通であって、その詳細については説明を省略する。実施の形態1の図6との違いで説明すると、ステップS130cmでモード切替完了電文を受信した後の、ステップS200mからステップS230mまでの旧パスキーを呼び出して記憶する一連の処理を省略した形となっている。そして、試行回数値Nをカウントアップ(ステップS240m)した後の工程においても、ステップS310m~ステップS340c以外の工程においては実施の形態1と共通であるため、ステップS130cまでと同様に説明を省略する。
 ステップS300mにおいて、試行回数値Nが予め定められた所定値を超えた場合(Yes)、再試行制御部1160は、新パスキーへの設定変更の試行を中止する。そして、パスキー変更動作制御部1140は、工場出荷時のパスキー(旧パスキーの1種である「初期パスキー」)へ変更設定するための動作を行う。工場出荷時のパスキーは、あらかじめ無線通信装置1200にプログラムされた処理の中で定めているものである。送信電文生成部1150はパスキー変更動作制御部1140からの要求を受けて、パスキーをプログラム中に埋め込まれた初期パスキーへ設定変更するためのパスキー変更要求電文を生成する(ステップS325m)。有線信号送受信部1110は送信電文生成部1150で生成された初期パスキーへのパスキー変更要求電文を無線通信装置1200へ送信し、無線通信装置1200の有線信号送受信部1230は初期パスキーへのパスキー変更要求電文を受信する(ステップS335mc)。
 電文内容解読部1240は、受信したパスキー変更要求電文はプログラム中に埋め込まれた初期パスキーにパスキーを変更する指令であることと解読し、パスキー制御部1260は解読内容に基づいてプログラム中の初期パスキーに設定変更する(ステップS345c)。設定変更が完了すると、送信電文生成部1280にパスキー設定変更完了電文を生成させる。有線信号送受信部1230は送信電文生成部1280で生成されたパスキー設定変更完了電文をホストMCU1100へ送信し、ホストMCU1100の有線信号送受信部1110はパスキー設定変更完了電文を受信する(ステップS350cm)。
 パスキーを初期パスキーに設定変更したあとは、パスキー変更動作制御部1140は、ステップS400に移行する。つまり、実施の形態1で説明したステップS280mにおける変更要求したパスキーの情報と設定変更完了したパスキーの情報が一致する場合と同様の流れで処理を継続する。これにより、無線通信装置1200はH/Wリセットによる再起動によって基本状態である通信モードで起動するため、設定変更モードから通信モードへの切り替えをした状態で起動し、また工場出荷時の初期パスキーを適用し、パスキー変更動作の処理を終了する。なお、この場合も、実施の形態1と同様、ステップS350cmのような変更完了を確認するための工程は省略し、初期パスキーに強制的に変更するようにしてもよい。
 このような構成あるいは工程でパスキーの変更を行うことにより、変更前のパスキーを記憶する書き換え可能な記憶装置を有さない電力量計においても、事前に工場出荷時のパスキーを使用者に伝えておくことで実施の形態1と同様の効果を得ることができる。
 なお、本実施の形態2にかかる電力量計1000では、初期パスキーを無線通信装置1200のプログラム中に埋め込んだ例を示したが、これに限ることはない。例えば、ホストMCU1100のプログラム中に埋め込むようにしてもよい。ただし、この場合は、初期パスキーの読み出しから設定変更までの動作が本実施形態と異なり、パスキーの読出し対象が記憶装置1500と異なる点以外は、実施の形態1で説明したステップS310m~S340cと同様になる。
 なお、上記各実施の形態においては、事業者封印の領域内に検定封印の領域を設けた例を示したがこれに限ることはない。事業者封印と検定封印が独立した領域にあってもよい。その場合においても、ホストMCU1100と無線通信装置1200および両者を結ぶ有線通信線1300が、外部との物理的なアクセスができない封印領域内に収納されていればよい。また、各実施の形態においては、封印を有する電力量計を対象として記載したが、それに限ることはない。例えば、ある機器の動作を管理する制御部等が通常分解できないような空間内に配置され、当該制御部と無線通信装置と、有線通信線とが、機械的な操作ができない状態であるような機器に対してであれば適用可能である。
 以上のように、本発明の実施の形態1あるいは2にかかる電力量計1000によれば、配線に流れる電力を計量するための計量器と、計量器の出力から計量値を算出する制御ユニット(ホストMCU1100)と、周波数ホッピングスペクトラム拡散方式の無線通信により、外部のデジタル機器(無線検針端末2000)と送受信する無線通信装置1200と、制御ユニットと無線通信装置1200をつなぎ、制御ユニットが算出した計量値および無線通信装置1200のパスキーの変更に必要な命令の送受信を行うための有線通信線1300と、制御ユニットと有線通信線1300と無線通信装置1200とを封印領域内に収納する筐体と、を備え、無線通信装置1200は、外部のデジタル機器(無線検針端末2000)と送受信する無線通信モードと、パスキーの変更を行う仕様変更モードに分け、一方のモードに切り替えたときは、他方のモードでの機能を働かせないよう当該無線通信装置1200の動作を制御するモード切替部1250と、有線通信線1300を介してパスキー変更の指示を受信すると、受信した新パスキーへの設定変更と、受信した新パスキーの情報の制御ユニットへの返信を行うパスキー制御部1260とを有し、制御ユニット(ホストMCU1100)は、無線通信装置1200を介して受信した電文が、新パスキーへの変更を指示する電文であった場合に、無線通信装置1200にパスキー変更の指示をするパスキー変更動作制御部1140と、無線通信装置1200に送信した新パスキーと無線通信装置1200から返信された新パスキーの情報が一致するか否かの照合を行うパスキー照合部1170と、照合の結果が一致の場合は、無線通信装置1200をリセットして新パスキーを有効化し、不一致の場合には、新パスキーへの変更指示を再試行させるとともに、再試行が所定回数(試行回数値N)以上連続すると、新たな照合を経ずに、無線通信装置1200に所定のパスキーへの変更とリセットの指示を行う再試行制御部1160と、を有するように構成したので、パスキー変更モードに切り替えて外部からのアクセスができなくなった状態でも、新パスキー、あるいは所定のパスキーに確実にパスキーを設定することができる。そのため、セキュリティと通信信頼性を両立した無線通信機能を有する電力量計1000を得ることができる。
 また、以上のように、本発明の実施の形態1あるいは2にかかるパスキー変更方法によれば、周波数ホッピングスペクトラム拡散方式の無線通信により、外部のデジタル機器(無線検針端末2000)と送受信するとともに、外部のデジタル機器(無線検針端末2000)と送受信する無線通信モードと、パスキーの変更を行う仕様変更モードを有し、一方のモードに切り替えたときは、他方のモードでの機能が働かないように設定された無線通信装置1200と、機器の動作を管理する制御ユニット(ホストMCU1100)と、パスキーの変更に必要な命令の送受信を制御ユニットと無線通信装置1200との間で行うための有線通信線1300とが、機械的な操作ができない状態で、無線通信装置1200のパスキーを変更する方法であって、デジタル機器(無線検針端末2000)から無線通信により、新パスキーへ変更する指示を無線通信装置1200に送信する工程(ステップS010t~S030tc)と、無線通信装置1200が有線通信線1300により、デジタル機器から受信した指示を制御ユニットに送信する工程(ステップS040c~S050cm)と、制御ユニットが有線通信線1300により、無線通信装置1200に新パスキーへの設定変更命令を送信する工程(ステップS100m~S110mc)と、無線通信装置1200が、無線通信モードから仕様変更モードへ切り替える工程(S120c~S130cm)と、無線通信装置1200が、新パスキーへの設定変更と、設定変更命令から抽出した新パスキーの情報を制御ユニットに返信する工程(ステップS260c~S270cm)と、制御ユニットが、無線通信装置1200に送信した新パスキーと無線通信装置1200から返信された新パスキーの情報が一致するか否かの照合を行うパスキー照合工程(ステップS280m)と、制御ユニットが、照合の結果が一致の場合は、無線通信装置1200をリセットして新パスキーを有効化し、不一致の場合には、新パスキーへの変更指示を再試行させるとともに、再試行が所定回数(試行回数値N)以上連続すると、新たな照合を伴わずに、無線通信装置1200に所定のパスキーへの変更と前記リセットの指示を行う再試行制御工程(ステップS300m~S420c)と、を有するように構成したので、パスキー変更モードに切り替えた場合に、外部からのアクセスができなくなるような状態でも、新パスキー、あるいは所定のパスキーに確実にパスキーを設定することができる。そのため、セキュリティと通信信頼性を両立したパスキー変更が可能になる。
 上記、電力量計1000あるいはパスキー変更方法において、所定のパスキーは、新パスキーへの変更指示を受ける直前に使用されていたパスキーであるようにすれば、新パスキーへの変更中にトラブルが生じても、直前に用いたパスキーに変更されるので、ユーザは確実に通信を確保することができる。
 その際、直前に使用されていたパスキーを記憶する記憶装置1500を有するか、記憶する工程(ステップS230m)を有するようにすれば、確実に直前のパスキーに戻すことができる。
 あるいは所定のパスキーが、制御ユニットまたは無線通信装置1200に(例えば、プログラム中)埋め込まれているようにすれば、工場出荷時にそのデータを通知しておくことで、ユーザが確実に初期パスキーを認知し、通信を確保することができる。
 1000:電力量計、 1010:本体部、 1020:端子ブロック、 1030:端子カバー、 1040:封印具、
 1100:ホストMCU、 1110:有線信号送受信部、 1120:電文種別判別部、 1130:計量動作制御部、 1140:パスキー変更動作制御部、 1150:送信電文生成部、 1160:再試行制御部、 1170:パスキー照合部、
 1200:無線通信装置、 1210:無線信号送受信部、 1220:受信電文変換部、 1230:有線信号送受信部、 1240:電文内容解読部、 1250:モード切替部、 1260:パスキー制御部、 1270:リセット制御部、 1280:送信電文生成部、
 1400:入力端子、
 2000:無線検針端末、 2100:入力装置、 2200:表示装置、 2300:送信電文生成部、 2400:無線信号送受信部。

Claims (8)

  1.  配線に流れる電力を計量するための計量器と、
     前記計量器の出力から計量値を算出する制御ユニットと、
     周波数ホッピングスペクトラム拡散方式の無線通信により、外部のデジタル機器と送受信する無線通信装置と、
     前記制御ユニットと前記無線通信装置をつなぎ、前記制御ユニットが算出した計量値および前記無線通信装置のパスキーの変更に必要な命令の送受信を行うための有線通信線と、
     前記制御ユニットと前記有線通信線と前記無線通信装置とを封印領域内に収納する筐体と、を備え、
     前記無線通信装置は、
     前記外部のデジタル機器と送受信する無線通信モードと、前記パスキーの変更を行う仕様変更モードに分け、一方のモードに切り替えたときは、他方のモードでの機能を働かせないよう当該無線通信装置の動作を制御するモード切替部と、
     前記有線通信線を介してパスキー変更の指示を受信すると、受信した新パスキーへの設定変更と、受信した新パスキーの情報の前記制御ユニットへの返信を行うパスキー制御部とを有し、
     前記制御ユニットは、
     前記無線通信装置を介して受信した電文が、新パスキーへの変更を指示する電文であった場合に、前記無線通信装置にパスキー変更の指示をするパスキー変更動作制御部と、
     前記無線通信装置に送信した新パスキーと前記無線通信装置から返信された新パスキーの情報が一致するか否かの照合を行うパスキー照合部と、
     前記照合の結果が一致の場合は、前記無線通信装置をリセットして前記新パスキーを有効化し、不一致の場合には、前記新パスキーへの変更指示を再試行させるとともに、
     前記再試行が所定回数以上連続すると、新たな照合を経ずに、前記無線通信装置に所定のパスキーへの変更と前記リセットの指示を行う再試行制御部と、を有することを特徴とする電力量計。
  2.  前記所定のパスキーは、前記新パスキーへの変更指示を受ける直前に使用されていたパスキーであることを特徴とする請求項1に記載の電力量計。
  3.  前記直前に使用されていたパスキーを記憶する記憶装置を有することを特徴とする請求項2に記載の電力量計。
  4.  前記所定のパスキーが、前記制御ユニットまたは前記無線通信装置に埋め込まれていることを特徴とする請求項1に記載の電力量計。
  5.  周波数ホッピングスペクトラム拡散方式の無線通信により、外部のデジタル機器と送受信するとともに、前記外部のデジタル機器と送受信する無線通信モードと、パスキーの変更を行う仕様変更モードを有し、一方のモードに切り替えたときは、他方のモードでの機能が働かないように設定された無線通信装置と、機器の動作を管理する制御ユニットと、前記パスキーの変更に必要な命令の送受信を前記制御ユニットと前記無線通信装置との間で行うための有線通信線とが、機械的な操作ができない状態で、前記無線通信装置のパスキーを変更する方法であって、
     前記デジタル機器から前記無線通信により、新パスキーへ変更する指示を前記無線通信装置に送信する工程と、
     前記無線通信装置が前記有線通信線により、前記デジタル機器から受信した指示を前記制御ユニットに送信する工程と、
     前記制御ユニットが前記有線通信線により、前記無線通信装置に前記新パスキーへの設定変更命令を送信する工程と、
     前記無線通信装置が、前記無線通信モードから前記仕様変更モードへ切り替える工程と、
     前記無線通信装置が、新パスキーへの設定変更と、前記設定変更命令から抽出した新パスキーの情報を前記制御ユニットに返信する工程と、
     前記制御ユニットが、前記無線通信装置に送信した新パスキーと前記無線通信装置から返信された新パスキーの情報が一致するか否かの照合を行うパスキー照合工程と、
     前記制御ユニットが、
     前記照合の結果が一致の場合は、前記無線通信装置をリセットして前記新パスキーを有効化し、不一致の場合には、前記新パスキーへの変更指示を再試行させるとともに、
     前記再試行が所定回数以上連続すると、新たな照合を伴わずに、前記無線通信装置に所定のパスキーへの変更と前記リセットの指示を行う再試行制御工程と、
     を有することを特徴とするパスキー変更方法。
  6.  前記所定のパスキーは、前記新パスキーへの変更指示を受ける直前に使用されていたパスキーであることを特徴とする請求項5に記載のパスキー変更方法。
  7.  前記直前に使用されていたパスキーを記憶する記憶工程を有することを特徴とする請求項6に記載のパスキー変更方法。
  8.  前記所定のパスキーを、前記制御ユニットまたは前記無線通信装置に予め埋め込む工程を有することを特徴とする請求項5に記載のパスキー変更方法。
PCT/JP2016/085860 2016-12-02 2016-12-02 電力量計およびパスキー変更方法 WO2018100726A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/JP2016/085860 WO2018100726A1 (ja) 2016-12-02 2016-12-02 電力量計およびパスキー変更方法
PCT/JP2017/043104 WO2018101419A1 (ja) 2016-12-02 2017-11-30 電力量計と検針方法、およびパスキー変更方法
JP2018554251A JP6555432B2 (ja) 2016-12-02 2017-11-30 電力量計と検針方法、およびパスキー変更方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/085860 WO2018100726A1 (ja) 2016-12-02 2016-12-02 電力量計およびパスキー変更方法

Publications (1)

Publication Number Publication Date
WO2018100726A1 true WO2018100726A1 (ja) 2018-06-07

Family

ID=62242149

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/085860 WO2018100726A1 (ja) 2016-12-02 2016-12-02 電力量計およびパスキー変更方法

Country Status (1)

Country Link
WO (1) WO2018100726A1 (ja)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003070062A (ja) * 2001-08-24 2003-03-07 Tdk Corp 無線通信機器及びその認証情報の変更方法
JP2005282346A (ja) * 2004-03-02 2005-10-13 Tsuyusaki Norihei ランダムパルス発生器を使用した認証装置及び認証方法
US20080195562A1 (en) * 2007-02-09 2008-08-14 Poweronedata Corporation Automated meter reading system
JP2009212850A (ja) * 2008-03-04 2009-09-17 Panasonic Electric Works Co Ltd 暗号通信システム
JP2015004545A (ja) * 2013-06-19 2015-01-08 中国電力株式会社 電子式電力量計

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003070062A (ja) * 2001-08-24 2003-03-07 Tdk Corp 無線通信機器及びその認証情報の変更方法
JP2005282346A (ja) * 2004-03-02 2005-10-13 Tsuyusaki Norihei ランダムパルス発生器を使用した認証装置及び認証方法
US20080195562A1 (en) * 2007-02-09 2008-08-14 Poweronedata Corporation Automated meter reading system
JP2009212850A (ja) * 2008-03-04 2009-09-17 Panasonic Electric Works Co Ltd 暗号通信システム
JP2015004545A (ja) * 2013-06-19 2015-01-08 中国電力株式会社 電子式電力量計

Similar Documents

Publication Publication Date Title
JP6555432B2 (ja) 電力量計と検針方法、およびパスキー変更方法
US20110273305A1 (en) Secure collector diagnostic portal activation
CN105516889A (zh) 一种蓝牙连接方法及终端
KR101211900B1 (ko) 무선단말 기반 전자서명 처리 시스템
JP2014011659A (ja) メータ、メータシステム、移動体端末、移動体端末用プログラム、およびサーバ
WO2018100726A1 (ja) 電力量計およびパスキー変更方法
JP2008051648A (ja) ガスメータ
CN103631216A (zh) 用于为现场装置给定参数的方法以及用于给定参数的系统
JP2006048459A (ja) 無線データ通信システム
JP4648205B2 (ja) 無線テレメータシステム
JP2018120459A (ja) 通信システム、通信装置及びサーバ
WO2014199617A1 (ja) 通信システムおよび通信機器
JP2001258079A (ja) 可搬型無線端末およびプログラム記録媒体
WO2010035137A2 (en) Secure managed data collection and transmission
JP3941462B2 (ja) ブリッジメディアを用いた電子機器および通信方法
EP2523417A1 (en) Paring of devices using an encryption key
CN108545558B (zh) 电梯控制板及电梯控制系统
CN103384997B (zh) 可编程无线电
JP5378836B2 (ja) 通信システム、プログラムおよび通信方法
JP2017054428A (ja) 通信アダプタ、通信方法およびプログラム
JP2006229696A (ja) テレメータ用通信機
JP4315862B2 (ja) 統合型自動管理システムおよびその端末装置
JP2016092677A (ja) 通信システム及び通信装置
KR101534409B1 (ko) 무선리모컨을 포함하는 연료전지 시스템 및 그 제어방법
KR101762618B1 (ko) 스마트 미터의 설치관리 자동화 방법 및 시스템

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16922987

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16922987

Country of ref document: EP

Kind code of ref document: A1