CN112564973A - Electric energy meter WIFI connection method with self-updated parameters - Google Patents

Electric energy meter WIFI connection method with self-updated parameters Download PDF

Info

Publication number
CN112564973A
CN112564973A CN202011434018.4A CN202011434018A CN112564973A CN 112564973 A CN112564973 A CN 112564973A CN 202011434018 A CN202011434018 A CN 202011434018A CN 112564973 A CN112564973 A CN 112564973A
Authority
CN
China
Prior art keywords
account
wifi
electric energy
energy meter
mobile phone
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.)
Granted
Application number
CN202011434018.4A
Other languages
Chinese (zh)
Other versions
CN112564973B (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.)
Ningbo Jianan Electronics Co ltd
Original Assignee
Ningbo Jianan Electronics Co ltd
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 Ningbo Jianan Electronics Co ltd filed Critical Ningbo Jianan Electronics Co ltd
Priority to CN202011434018.4A priority Critical patent/CN112564973B/en
Publication of CN112564973A publication Critical patent/CN112564973A/en
Application granted granted Critical
Publication of CN112564973B publication Critical patent/CN112564973B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The invention relates to a WIFI connection method for an electric energy meter with self-updated parameters, wherein two WIFI accounts are set in the electric energy meter, one is a WIFI account C0 for self-updating parameters and the other is a WIFI account C1 for work, the account C0 is used for establishing connection with a mobile phone hotspot and setting the parameters, and the account C1 is used for work. Because the electric energy meter does not have a keyboard, the WIFI account and the password cannot be freely set, and the working connection with the master station system is troublesome, the account C0 is used for establishing connection with a mobile phone hotspot, and the account C1 is set conveniently. According to the invention, the WIFI account number is set by the mobile phone through the two WIFI account numbers, so that the method is very convenient and the cost is not increased.

Description

Electric energy meter WIFI connection method with self-updated parameters
Technical Field
The invention relates to a WIFI connection method of a WIFI electric energy meter.
Background
With the application of communication technology becoming more and more extensive, electronic products with communication functions become more and more, wherein WIFI is a communication technology widely used, but WIFI is a local area network, and a WIFI account and a password must be set for using WIFI communication. When a product has a keyboard and a display, the operation is simple, the product has other communication technologies such as Bluetooth and infrared, and the like, and is easy to realize, and under the condition that only 1 WIFI channel exists, the account and the password can be set by using the nearby WIFI of the product. For example, when a manufacturer provides the user electric meter, if the manufacturer does not set the WIFI parameter by using a keyboard or other communication modes, the manufacturer generally requires to configure the WIFI parameter when leaving the factory, and the user sets the WIFI account password of the wireless router to the default value of leaving the factory, or the user provides the WIFI account password, and the manufacturer configures the WIFI account password in the production process, which is inconvenient, and increases the product cost and the design complexity by using the keyboard or other channels, and the cost is high.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides the electric energy meter WIFI connection method for realizing the self-updating of the parameters of the electric energy meter WIFI communication by setting the account number and the password without a keyboard.
The invention is realized by the following technical scheme:
a WIFI connection method for an electric energy meter with self-updated parameters is characterized by comprising the following steps: comprises the following steps of (a) carrying out,
(1) setting 2 WIFI accounts for the WIFI electric energy meter, wherein one WIFI account is a WIFI account C0 for self-updating of parameters and one WIFI account is a WIFI account C1 for working, and when the WIFI electric energy meter leaves a factory, an account C0 and an initial password P00 are generated, the account C0 is unchangeable, and the account C1 and the password P1 are set to be null values;
(2) after the WIFI electric energy meter is started, there are 3 situations:
a. if the account C1 is empty, the WIFI electric energy meter connects with nearby WIFI through the account C0 and the initial password P00, the user opens the mobile phone hotspot, the account and the password of the mobile phone hotspot are set to be C0 and P00, the WIFI electric energy meter is connected with the mobile phone hotspot and enters a parameter self-updating setting process W, and the parameter self-updating setting process W comprises the following steps:
1) after the WIFI electric energy meter is connected with the mobile phone hotspot, an application connection request is continuously sent;
2) a user opens a mobile phone APP or a WeChat applet for self-updating setting of WIFI account parameters;
3) the mobile phone APP or the WeChat applet receives the application connection request of the electric energy meter and returns a response, the mobile phone APP or the WeChat applet establishes application connection with the electric energy meter, and the electric energy meter stops sending the application connection request;
4) the method comprises the steps that a mobile phone APP or a WeChat applet enters a parameter self-updating setting interface to set parameters, wherein the parameter setting comprises changing a connection password of an account C0 to a new password P01, setting an account C1 and a password P1, and setting connection timeout thresholds T0 and T1 of the account C1;
5) after the setting is finished, disconnecting the application connection of the mobile phone APP or the WeChat applet, automatically disconnecting the electric energy meter from the account C0, connecting the account C1 with the WIFI nearby by using newly set parameters, after the account C1 is connected, executing daily communication work with a master station system by the WIFI electric energy meter, if the account C1 is empty, reconnecting the account C0, connecting the WIFI electric energy meter with a mobile phone hotspot, and reentering a parameter self-updating setting process W to set parameters;
b. if the account C1 is set, and the time interval T from the last time of connection and disconnection of the account C1 to the present is less than T0, the WIFI electric energy meter continuously connects nearby WIFI through the account C1 and the password P1, and after the account C1 is connected, the WIFI electric energy meter executes daily communication work with the master station system;
c. if the account C1 is set, but the time interval T from the last connection and disconnection of the account C1 to the present is not less than T0, the WIFI electric energy meter is connected with the account C1 and the account C0 alternately, if the connection of the account C1 is successful, the WIFI electric energy meter executes daily communication work with the master station system, and if the account C0 is successfully connected with the mobile phone hotspot, the parameter self-updating setting process W is entered.
Preferably, T1 is far greater than T0, and when the time interval T from the last disconnection of the account C1 is not less than T1, the WIFI electric energy meter automatically restores the password of the account C0 to the initial password P00.
Preferably, in the parameter self-updating setting process W, the new password P01 changed by the account C0 is valid in the next connection, and the network is disconnected and reconnected in the current connection.
According to the invention, two WIFI accounts are set in the electric energy meter, wherein one WIFI account is a WIFI account C0 for self-updating of parameters, the other WIFI account is a WIFI account C1 for working, the account C0 is used for establishing connection with a mobile phone hotspot and carrying out parameter setting, and the account C1 is used for working. Because the electric energy meter does not have a keyboard, the WIFI account and the password cannot be freely set, and the working connection with the master station system is troublesome to establish, the account C0 is used for establishing the connection with a mobile phone hotspot, and the account C1 is set conveniently.
The invention has the beneficial effects that: according to the invention, the WIFI account number is set by the mobile phone through the two WIFI account numbers, so that the method is very convenient and the cost is not increased.
Detailed Description
The present invention will be described in further detail with reference to specific embodiments.
A WIFI connection method for an electric energy meter with self-updated parameters comprises the following steps,
(1) setting 2 WIFI accounts for the WIFI electric energy meter, wherein one WIFI account is a WIFI account C0 for self-updating of parameters and one WIFI account is a WIFI account C1 for working, and when the WIFI electric energy meter leaves a factory, an account C0 and an initial password P00 are generated, the account C0 is unchangeable, and the account C1 and the password P1 are set to be null values;
(2) after the WIFI electric energy meter is started, there are 3 situations:
a. if the account C1 is empty, the WIFI electric energy meter connects with nearby WIFI through the account C0 and the initial password P00, the user opens the mobile phone hotspot, the account and the password of the mobile phone hotspot are set to be C0 and P00, the WIFI electric energy meter is connected with the mobile phone hotspot and enters a parameter self-updating setting process W, and the parameter self-updating setting process W comprises the following steps:
1) after the WIFI electric energy meter is connected with the mobile phone hotspot, an application connection request is continuously sent;
2) a user opens a mobile phone APP or a WeChat applet for self-updating setting of WIFI account parameters;
3) the mobile phone APP or the WeChat applet receives the application connection request of the electric energy meter and returns a response, the mobile phone APP or the WeChat applet establishes application connection with the electric energy meter, and the electric energy meter stops sending the application connection request;
4) the method comprises the steps that a mobile phone APP or a WeChat applet enters a parameter self-updating setting interface to set parameters, wherein the parameter setting comprises changing a connection password of an account C0 to be a new password P01, setting an account C1 and a password P1, and setting account C1 connection timeout thresholds T0 and T1, T0 is interval time for judging whether to enable parameter self-updating connection C0 after WIFI network disconnection, T1 is time for recovering a default password of the account C0 under special conditions, and T1 is far larger than T0;
5) after the setting is finished, disconnecting the application connection of the mobile phone APP or the WeChat applet, automatically disconnecting the electric energy meter from the account C0, connecting the account C1 with the WIFI nearby by using newly set parameters, after the account C1 is connected, executing daily communication work with a master station system by the WIFI electric energy meter, if the account C1 is empty, reconnecting the account C0, connecting the WIFI electric energy meter with a mobile phone hotspot, and reentering a parameter self-updating setting process W to set parameters;
b. if the account C1 is set, and the time interval T from the last time of connection and disconnection of the account C1 to the present is less than T0, the WIFI electric energy meter continuously connects nearby WIFI through the account C1 and the password P1, and after the account C1 is connected, the WIFI electric energy meter executes daily communication work with the master station system;
c. if the account C1 is set, but the time interval T from the last time of connection and disconnection of the account C1 is greater than or equal to T0, the WIFI electric energy meter alternately connects with the account C1 and the account C0, if the connection of the account C1 is successful, the WIFI electric energy meter performs daily communication work with the master station system, and if the connection of the account C0 with the mobile phone hotspot is successful, a parameter self-updating setting flow W is entered, wherein when the account C0 is connected, if T is less than T1, the account C0 uses a new password P01, and if T is greater than T1, an initial password P00 is used.
When the time interval T > T1 from the last time when the account C1 is disconnected, the WIFI electric energy meter automatically restores the account C0 to be the initial password P00.
In the parameter self-updating setting process W, the new password P01 changed by the account C0 is valid in the next connection, and the network is not disconnected in the current connection.
In the parameter self-updating setting flow W, the application connection request and response may be directly implemented between the electric energy meter and the APP, or may be implemented using a server and software of a fixed IP or website as an intermediary.
According to the invention, two WIFI accounts are set in the electric energy meter, wherein one WIFI account is a WIFI account C0C 0 for self-updating of parameters and the other WIFI account is a WIFI account C1 for work. Because the electric energy meter is not provided with a keyboard, if the function WIFI account C1 is set, the function WIFI account C1 is set through a mobile phone. The mobile phone is provided with a mobile phone APP or a WeChat applet which can interact with the electric energy meter and is used for self-updating and setting parameters in advance.
The account C0 is used for establishing connection with the mobile phone hotspot, parameter setting is carried out, and the connection between the mobile phone hotspot and the account C0 of the electric energy meter can be realized only by setting the account and the password of the mobile phone hotspot as the account C0 and the corresponding password which are the same as those of the electric energy meter. After the connection is established, corresponding parameters are set through a parameter self-updating setting process W. The parameters include the connection password of account C0, account C1 and password P1, account C1 connection timeout thresholds T0 and T1. The parameter is kept unchanged from updating WIFI account number C0, avoids the user to forget, and the password of parameter self-updating WIFI account number C0 can be set, can prevent to utilize the default password to destroy, has guaranteed the security, and can resume again with default password after the overlength time does not connect, makes the user still have the chance to resume normal use after forgetting the password.
After the account C1 and the password P1 of the electric energy meter are set through the mobile phone, the WIFI electric energy meter is continuously connected with nearby WIFI through the account C1 and the password P1, and after the account C1 is connected, the WIFI electric energy meter executes daily communication work with a master station system, namely normal work.
If the electric energy meter is disconnected from the account C1 for a short time, for example, it can be assumed that T0 is set to 1 day, T1 is 15 days, and the C0 cannot be used for connection within 1 day, so that short-time network disconnection is prevented, the mobile phone is connected for setting, and the mobile phone is used by people, and the safety is improved. If the disconnection time is less than T0, the WIFI electric energy meter continuously connects with nearby WIFI through the account C1 and the password P1, and after the account C1 is connected, the WIFI electric energy meter executes daily communication work with the master station system. If the electric energy meter is disconnected from the account C1 for a long time, T is larger than or equal to T0, the password of a nearby WIFI account may be changed, and the waiting time is not too long, so that the WIFI electric energy meter is alternately connected with the account C1 and the account C0, if the account C1 is successfully connected, the WIFI electric energy meter executes daily communication work with the master station system, and if the account C0 is successfully connected with the mobile phone hotspot, the parameter self-updating setting process W is entered, the parameters are reset, and then the account C1 is used for reconnection. If the electric energy meter is not connected with WIFI for a long time, the electric energy meter restores the parameter from the password of the updated WIFI account C0 to the initial password, so that the user forgets that the password P01 of the C0 set by the user can be restored at an opportunity, namely when the account C0 is connected, if the network disconnection time T is less than T1, the account C0 uses the new password P01, and if the network disconnection time T is greater than T1, the initial password P00 is used.
Because the electric energy meter is not provided with a keyboard, WIFI account numbers and passwords cannot be freely set, and the working connection with the master station system is troublesome to establish, the electric energy meter is used for establishing connection with a mobile phone hotspot through the account number C0 through the two WIFI account numbers, and the account number C1 is set through the mobile phone, so that the setting of the account number and the password is very convenient, and the cost is not increased.

Claims (3)

1. A WIFI connection method for an electric energy meter with self-updated parameters is characterized by comprising the following steps: comprises the following steps of (a) carrying out,
(1) setting 2 WIFI accounts for the WIFI electric energy meter, wherein one WIFI account is a WIFI account C0 for self-updating of parameters and one WIFI account is a WIFI account C1 for working, and when the WIFI electric energy meter leaves a factory, an account C0 and an initial password P00 are generated, the account C0 is unchangeable, and the account C1 and the password P1 are set to be null values;
(2) after the WIFI electric energy meter is started, there are 3 situations:
a. if the account C1 is empty, the WIFI electric energy meter connects with nearby WIFI through the account C0 and the initial password P00, the user opens the mobile phone hotspot, the account and the password of the mobile phone hotspot are set to be C0 and P00, the WIFI electric energy meter is connected with the mobile phone hotspot and enters a parameter self-updating setting process W, and the parameter self-updating setting process W comprises the following steps:
1) after the WIFI electric energy meter is connected with the mobile phone hotspot, an application connection request is continuously sent;
2) a user opens a mobile phone APP or a WeChat applet for self-updating setting of WIFI account parameters;
3) the mobile phone APP or the WeChat applet receives the application connection request of the electric energy meter and returns a response, the mobile phone APP or the WeChat applet establishes application connection with the electric energy meter, and the electric energy meter stops sending the application connection request;
4) the method comprises the steps that a mobile phone APP or a WeChat applet enters a parameter self-updating setting interface to set parameters, wherein the parameter setting comprises changing a connection password of an account C0 to a new password P01, setting an account C1 and a password P1, and setting connection timeout thresholds T0 and T1 of the account C1;
5) after the setting is finished, disconnecting the application connection of the mobile phone APP or the WeChat applet, automatically disconnecting the electric energy meter from the account C0, connecting the account C1 with the WIFI nearby by using newly set parameters, after the account C1 is connected, executing daily communication work with a master station system by the WIFI electric energy meter, if the account C1 is empty, reconnecting the account C0, connecting the WIFI electric energy meter with a mobile phone hotspot, and reentering a parameter self-updating setting process W to set parameters;
b. if the account C1 is set, and the time interval T from the last time of connection and disconnection of the account C1 to the present is less than T0, the WIFI electric energy meter continuously connects nearby WIFI through the account C1 and the password P1, and after the account C1 is connected, the WIFI electric energy meter executes daily communication work with the master station system;
c. if the account C1 is set, but the time interval T from the last connection and disconnection of the account C1 to the present is not less than T0, the WIFI electric energy meter is connected with the account C1 and the account C0 alternately, if the connection of the account C1 is successful, the WIFI electric energy meter executes daily communication work with the master station system, and if the account C0 is successfully connected with the mobile phone hotspot, the parameter self-updating setting process W is entered.
2. The electric energy meter WIFI connection method with the self-updated parameters according to claim 1, characterized in that: the T1 is far larger than the T0, and when the time interval T from the last connection and disconnection of the account C1 is not less than T1, the account C0 is automatically restored to the initial password P00 by the WIFI electric energy meter.
3. The electric energy meter WIFI connection method with the self-updated parameters according to claim 1, characterized in that: in the parameter self-updating setting process W, the new password P01 changed by the account C0 is valid in the next connection, and the network is not disconnected in the current connection.
CN202011434018.4A 2020-12-10 2020-12-10 Electric energy meter WIFI connection method with self-updated parameters Active CN112564973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011434018.4A CN112564973B (en) 2020-12-10 2020-12-10 Electric energy meter WIFI connection method with self-updated parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011434018.4A CN112564973B (en) 2020-12-10 2020-12-10 Electric energy meter WIFI connection method with self-updated parameters

Publications (2)

Publication Number Publication Date
CN112564973A true CN112564973A (en) 2021-03-26
CN112564973B CN112564973B (en) 2022-06-14

Family

ID=75060220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011434018.4A Active CN112564973B (en) 2020-12-10 2020-12-10 Electric energy meter WIFI connection method with self-updated parameters

Country Status (1)

Country Link
CN (1) CN112564973B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202832A (en) * 2014-08-31 2014-12-10 深圳市智凌无线科技有限公司 Wireless accessing method and device of WIFI terminal
CN105897475A (en) * 2016-04-08 2016-08-24 深圳市延翼通电子有限公司 Remote configuration method of router and router
CN106028423A (en) * 2016-05-06 2016-10-12 武汉诚迈科技有限公司 Wireless network distribution method applicable to smart furniture device
US20170164418A1 (en) * 2015-12-07 2017-06-08 Acer Incorporated Method and system for network setting of connected device
CN107592629A (en) * 2017-08-17 2018-01-16 北京小米移动软件有限公司 Apparatus control method and device
CN108200039A (en) * 2017-12-28 2018-06-22 北京网瑞达科技有限公司 Unaware authentication and authorization system and method based on dynamic creation temporary account password
CN108449800A (en) * 2018-03-29 2018-08-24 四川斐讯信息技术有限公司 A kind of auxiliary device and method of remote control router
CN108541077A (en) * 2018-06-07 2018-09-14 四川斐讯信息技术有限公司 A kind of quick distribution method and system of intelligent hardware devices based on WPS
CN111182546A (en) * 2019-12-31 2020-05-19 华为技术有限公司 Method, equipment and system for accessing wireless network

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202832A (en) * 2014-08-31 2014-12-10 深圳市智凌无线科技有限公司 Wireless accessing method and device of WIFI terminal
US20170164418A1 (en) * 2015-12-07 2017-06-08 Acer Incorporated Method and system for network setting of connected device
CN105897475A (en) * 2016-04-08 2016-08-24 深圳市延翼通电子有限公司 Remote configuration method of router and router
CN106028423A (en) * 2016-05-06 2016-10-12 武汉诚迈科技有限公司 Wireless network distribution method applicable to smart furniture device
CN107592629A (en) * 2017-08-17 2018-01-16 北京小米移动软件有限公司 Apparatus control method and device
CN108200039A (en) * 2017-12-28 2018-06-22 北京网瑞达科技有限公司 Unaware authentication and authorization system and method based on dynamic creation temporary account password
CN108449800A (en) * 2018-03-29 2018-08-24 四川斐讯信息技术有限公司 A kind of auxiliary device and method of remote control router
CN108541077A (en) * 2018-06-07 2018-09-14 四川斐讯信息技术有限公司 A kind of quick distribution method and system of intelligent hardware devices based on WPS
CN111182546A (en) * 2019-12-31 2020-05-19 华为技术有限公司 Method, equipment and system for accessing wireless network

Also Published As

Publication number Publication date
CN112564973B (en) 2022-06-14

Similar Documents

Publication Publication Date Title
US9451067B2 (en) Portable terminal auxiliary device having satellite communication function
EP1295435A1 (en) Controlling wireless, low-power radio frequency network
EP3288296B1 (en) Method and system for building steady piconet based on bluetooth
JP6663110B2 (en) Wireless communication device, wireless communication system, connection processing method, and connection processing program
CN105592409A (en) Bluetooth-based WI-FI connection and communication method and system
US20100299435A1 (en) Communication device, control method for communication device, and storage medium
CN104243684B (en) The method of wireless telecommunications and electronic installation
CN107613544A (en) A kind of method for connecting network of internet of things equipment and a kind of wireless router
CN104219734A (en) Internet access method and device for internet device
US9692890B2 (en) Call transfer setting method and system
US9451074B2 (en) Method of installing a home-automation system, and an associated home-automation system
CN101699915B (en) Mainboard, method for realizing network locking/ card locking function and mobile terminal
CN112564973B (en) Electric energy meter WIFI connection method with self-updated parameters
CN104936248A (en) Establishment method of wireless network, system and wireless routing device
CN102710873A (en) Video monitoring system and method based on CDMA2000 (Code Division Multiple Access 2000) network VPDN (Virtual Private Dial Network)
WO2016155303A1 (en) Mobile terminal and method for carrying out end-to-end communication under off-network condition
CA2555901C (en) System and method of automatically turning wireless radio on/off
CN101345971A (en) Self-cure monitoring method and device of digital remote radio system
CN107770849B (en) Communication equipment and power saving control method and system thereof in Bluetooth communication
CN106658579B (en) TAC control method, device, base station and controller
CN101668321A (en) Control method, device and system for connecting network by multimode mobile terminal
CN111083224A (en) Control method of distributed user equipment
CN101577880A (en) Method, system and device for searching fixed telephone by mobile terminal
CN104506409A (en) Router and method for controlling voice communication in instant messaging tool of router
CN104640244A (en) Wireless communication device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant