CN102821152B - A kind of home intelligent interactive terminal information interacting method - Google Patents

A kind of home intelligent interactive terminal information interacting method Download PDF

Info

Publication number
CN102821152B
CN102821152B CN201210280293.4A CN201210280293A CN102821152B CN 102821152 B CN102821152 B CN 102821152B CN 201210280293 A CN201210280293 A CN 201210280293A CN 102821152 B CN102821152 B CN 102821152B
Authority
CN
China
Prior art keywords
interactive terminal
home intelligent
intelligent interactive
electric power
portal website
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.)
Expired - Fee Related
Application number
CN201210280293.4A
Other languages
Chinese (zh)
Other versions
CN102821152A (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.)
State Grid Corp of China SGCC
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Original Assignee
State Grid Corp of China SGCC
XJ Electric Co Ltd
Xuchang XJ Software Technology 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 State Grid Corp of China SGCC, XJ Electric Co Ltd, Xuchang XJ Software Technology Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201210280293.4A priority Critical patent/CN102821152B/en
Publication of CN102821152A publication Critical patent/CN102821152A/en
Application granted granted Critical
Publication of CN102821152B publication Critical patent/CN102821152B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention relates to a kind of home intelligent interactive terminal information interacting method, after home intelligent interactive terminal starts, the electric power interactive that is certainly dynamically connected portal website, concurrent carry information message identifying request registration; Electric power interactive portal website carries out packet parsing, after the verification succeeds that legalizes, then preserved by interface channel or be updated in system; To obtain the data on home intelligent interactive terminal, then first retrieve interface channel, then send request of data message, dissection process is carried out to message in home intelligent interactive terminal, returns electric power interactive portal website and wants data message, complete information interaction.The access way of this method does not limit by the IP address size of IPV4; Home intelligent interactive terminal safeguards that connection status significantly reduces the pressure of electric power interactive portal website; All connections are all long connection, and eliminate the system resource overhead frequently connected, the method really achieves the internetwork operation of Smart Home, for power consumer and Utilities Electric Co. bring great convenience.

Description

A kind of home intelligent interactive terminal information interacting method
Technical field
The present invention relates to a kind of home intelligent interactive terminal information interacting method.
Background technology
In today that scientific and technological develop rapidly and people's living standard improve gradually, Smart Home has progressively entered into Modern Family.It is comfortable and convenient that it brings to the life of people, but current Smart Home is unit mainly with single household, network configuration mostly also is local area network (LAN), this means to only have the facility just can experienced Smart Home at home and bring, and just loses and the contacting of Smart Home after leaving home.On the other hand, intelligent grid construction is carried out energetically by country, one of vital task of intelligent grid is adjustment and the management that excitation user participates in electrical network, and taking which type of technological means to allow user's wide participation to intelligent grid, is the key realizing user and electrical network two-way interaction.Current internet is fast development just with surprising rapidity, and especially based on the various application of Internet technology, deep effect has arrived daily behavior and the custom of people, and it is unprecedented convenient and efficient that the Internet allows people enjoy to the full.Therefore the electric power interactive door based on Internet becomes the important entrance of one and the inevitable choice that user participates in intelligent grid.
Above-mentioned two situations fully indicate the importance that Smart Home is linked into electric power interactive portal website.For power consumer, electric power interactive portal website can be logged on whenever and wherever possible, long-range check electrical appliance in family energy consumption condition or long-range setting is carried out to the cut-offfing of power consumption equipment, parameter etc.; According to the Spot Price information that electrical network is issued, electricity consumption strategy is adjusted, reach belt-tightening object.For Utilities Electric Co., for a long time user power utilization situation is gathered, analyzed, grasp the information such as the electricity consumption situation of overall user and peak of power consumption period of right time, for adjustment power load, there is important and far reaching significance.
Summary of the invention
The object of this invention is to provide a kind of home intelligent interactive terminal information interacting method, to realize the information interaction of a large amount of home intelligent interactive terminal and electric power interactive portal website.
For achieving the above object, the step of home intelligent interactive terminal of the present invention information interacting method is as follows:
(1) after home intelligent interactive terminal starts, the electric power interactive that is certainly dynamically connected portal website, if connection failure, Auto-reconnect after setting-up time, until successful connection;
(2) home intelligent interactive terminal sends the registration of authentification of message message request to electric power interactive portal website;
(3) after electric power interactive portal website receives authentification of message message, first carry out packet parsing, then carry out the verification that legalizes, if verify unsuccessfully, disconnect; If verification succeeds, then can retrieve the record mated with current home smart-interactive terminal in system cache; If retrieve, then this record is upgraded; If do not retrieve, then increase a new record, finally return the infomational message that succeeds in registration, then the interface channel with current home smart-interactive terminal is preserved or is updated in system, realize the access of home intelligent interactive terminal;
(4) if electric power interactive portal website will obtain the data on home intelligent interactive terminal, then first from system cache, retrieve the interface channel with the home intelligent interactive terminal information matches that will be connected, if do not retrieve, then connect the failure of home intelligent interactive terminal; If retrieve, then carry out channel status inspection, if interface channel state is normal, send request of data message to this home intelligent interactive terminal, after home intelligent interactive terminal receives request of data message, carry out dissection process, finally return electric power interactive portal website and want data message, complete the information interaction of home intelligent interactive terminal.
Further, the home intelligent interactive terminal electric power interactive portal website that can certainly be dynamically connected after starting is first good in family's smart-interactive terminal internal configurations in described step (1).
Further, after completing the access of home intelligent interactive terminal in described step (3), home intelligent interactive terminal periodically sends to electric power interactive portal website the state that heartbeat message monitors interface channel, if find, interface channel disconnects, then Auto-reconnect.
Home intelligent interactive terminal of the present invention information interacting method, each home intelligent interactive terminal initiatively can be accessed the electric power interactive portal website of setting, realize the online mutual of home intelligent interactive terminal information, and without the need to being distribution static network IP address, each home intelligent interactive terminal, the IP address size not by IPV4 limits.Connection status is given home intelligent interactive terminal and is carried out the pressure that responsible maintenance alleviates electric power interactive portal website greatly.All connections are all long connection, eliminate the system resource overhead frequently connected, also contribute to other-end and carry out request for data by described electric power interactive portal website, home intelligent interactive terminal and electric power interactive portal website interconnected, really achieve the internetwork operation of Smart Home, for power consumer and Utilities Electric Co. all bring great convenience.For power consumer, electric power interactive portal website can be logged on whenever and wherever possible, long-range check electrical appliance in family energy consumption condition or long-range setting is carried out to the cut-offfing of power consumption equipment, parameter etc.; According to the Spot Price information that electrical network is issued, electricity consumption strategy is adjusted, reach belt-tightening object.For Utilities Electric Co., for a long time user power utilization situation is gathered, analyzed, grasp the information such as the electricity consumption situation of overall user and peak of power consumption period of right time, for adjustment power load, there is important and far reaching significance.
Accompanying drawing explanation
Fig. 1 is the system construction drawing of embodiment;
Fig. 2 is the automatic access process figure in home intelligent interactive terminal of embodiment;
Fig. 3 is that the electric power interactive portal website of embodiment is to home intelligent interactive terminal request msg flow process figure.
Embodiment
The interactive system that home intelligent interactive terminal information interacting method is implemented comprises an electric power interactive portal website and multiple home intelligent interactive terminal, and system configuration as shown in Figure 1.Electric power interactive portal website and home intelligent interactive terminal adopt Internet Ethernet mode ICP/IP protocol to be connected, realization is interconnected, initiatively be connected to electric power interactive portal website by home intelligent interactive terminal to register, electric power interactive portal website unifies dynamic management in the home intelligent interactive terminal to all registrations.
Home intelligent interactive terminal is initiatively connected in electric power interactive portal website and registers, once connect and after succeeding in registration, the state of this interface channel is safeguarded by home intelligent interactive terminal, the interface channel state with described electric power interactive portal website is constantly monitored in the mode sending heartbeat message in home intelligent interactive terminal, once find that connection is in off-state and just re-starts connection, when electric power interactive portal website needs to described home intelligent interactive terminal request msg, interface channel corresponding with it can be retrieved in the system cache according to terminal iidentification, required data are asked by sending message.
Be described in detail below:
(1) home intelligent interactive terminal is initiatively connected to electric power interactive portal website and registers
As shown in Figure 2, for home intelligent interactive terminal is initiatively connected to flow chart electric power interactive portal website carrying out register, after home intelligent interactive terminal starts completely, will automatically go to connect the electric power interactive portal website configured, if connection failure is Auto-reconnect after 10 seconds then, until successful connection; (electric power interactive that is certainly dynamically connected portal website is configurable, and acquiescence is from being dynamically connected; Auto-reconnect, reconnect interval and reconnect number of times configurable, acquiescence Auto-reconnect, namely reconnect time numerical value for-1 infinitely reconnects, reconnect and be spaced apart 10 seconds) if successful connection, home intelligent interactive terminal sends the registration of authentification of message message request to described electric power interactive portal website, after electric power interactive portal website receives authentification of message message, first carry out packet parsing, carry out the verification that legalizes again, if verification succeeds, then can retrieve the record mated with current home smart-interactive terminal in system cache, if retrieve, then this record be upgraded; If do not retrieve, then increase a new record, finally return the infomational message that succeeds in registration, then the interface channel with current described home intelligent interactive terminal is preserved or is updated in system, for future use.
After home intelligent interactive terminal is successfully registered to electric power interactive portal website, home intelligent interactive terminal is by the responsible task of safeguarding this interface channel state, home intelligent interactive terminal periodically sends to electric power interactive portal website the state that heartbeat message monitors interface channel, if find that interface channel disconnects, home intelligent interactive terminal will reconnect electric power interactive portal website automatically, and its step is identical with registration.
(2) electric power interactive portal website is to home intelligent interactive terminal request msg
As shown in Figure 3, for electric power interactive portal website is to the flow chart of home intelligent interactive terminal request msg.This flow chart only simulates a data interaction flow process, may carry out repeatedly mutual, as household electrical appliances Real-Time Monitoring in practical application.
If electric power interactive portal website wants to obtain the data on certain home intelligent interactive terminal, routine processes flow process should be as follows: first from system cache, retrieve the interface channel with the home intelligent interactive terminal information matches that will be connected, if do not retrieve, then program directly returns and connects remote terminal failure; If retrieve, then carry out channel status inspection, only have interface channel state normal just to this home intelligent interactive terminal transmission request of data message, after home intelligent interactive terminal receives request of data message, carry out dissection process, finally return electric power interactive portal website and want data message, a data interaction process completes.

Claims (3)

1. a home intelligent interactive terminal information interacting method, is characterized in that, the step of the method is as follows:
(1) after home intelligent interactive terminal starts, the electric power interactive that is certainly dynamically connected portal website, if connection failure, Auto-reconnect after setting-up time, until successful connection;
(2) home intelligent interactive terminal sends the registration of authentification of message message request to electric power interactive portal website;
(3) after electric power interactive portal website receives authentification of message message, first carry out packet parsing, then carry out the verification that legalizes, if verify unsuccessfully, disconnect; If verification succeeds, then can retrieve the record mated with current home smart-interactive terminal in system cache; If retrieve, then this record is upgraded; If do not retrieve, then increase a new record, finally return the infomational message that succeeds in registration, then the interface channel with current home smart-interactive terminal is preserved or is updated in system, realize the access of home intelligent interactive terminal;
(4) if electric power interactive portal website will obtain the user power utilization data on home intelligent interactive terminal, then first from system cache, retrieve the interface channel with the home intelligent interactive terminal information matches that will be connected, if do not retrieve, then connect the failure of home intelligent interactive terminal; If retrieve, then carry out channel status inspection, if interface channel state is normal, send request of data message to this home intelligent interactive terminal, after home intelligent interactive terminal receives request of data message, carry out dissection process, finally return electric power interactive portal website and want data message, complete the information interaction of home intelligent interactive terminal.
2. method according to claim 1, is characterized in that: the electric power interactive portal website that can certainly be dynamically connected after the startup of home intelligent interactive terminal in described step (1) is first good in family's smart-interactive terminal internal configurations.
3. method according to claim 1 and 2, it is characterized in that: after completing the access of home intelligent interactive terminal in described step (3), home intelligent interactive terminal periodically sends to electric power interactive portal website the state that heartbeat message monitors interface channel, if find, interface channel disconnects, then Auto-reconnect.
CN201210280293.4A 2012-08-08 2012-08-08 A kind of home intelligent interactive terminal information interacting method Expired - Fee Related CN102821152B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210280293.4A CN102821152B (en) 2012-08-08 2012-08-08 A kind of home intelligent interactive terminal information interacting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210280293.4A CN102821152B (en) 2012-08-08 2012-08-08 A kind of home intelligent interactive terminal information interacting method

Publications (2)

Publication Number Publication Date
CN102821152A CN102821152A (en) 2012-12-12
CN102821152B true CN102821152B (en) 2016-03-02

Family

ID=47305005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210280293.4A Expired - Fee Related CN102821152B (en) 2012-08-08 2012-08-08 A kind of home intelligent interactive terminal information interacting method

Country Status (1)

Country Link
CN (1) CN102821152B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105703986A (en) * 2016-03-22 2016-06-22 重庆邮电大学 Middleware-technology-based intelligent household equipment interconnection and intercommunication method
CN106453119A (en) * 2016-11-18 2017-02-22 杭州华三通信技术有限公司 Authentication control method and device
CN110881224B (en) * 2018-09-06 2021-11-09 广州虎牙信息科技有限公司 Network long connection method, device, equipment and storage medium
CN109347966B (en) * 2018-10-31 2021-08-03 许继集团有限公司 Server cluster communication method, terminal equipment and communication server

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413182A (en) * 2011-11-17 2012-04-11 南京天溯自动化控制系统有限公司 Intelligent home device remote monitoring device and method
CN202261351U (en) * 2011-09-28 2012-05-30 海尔集团公司 Device used for monitoring electricity consumption information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100620622B1 (en) * 2005-02-04 2006-09-13 (주)엔알시스템스 System and method for interpersonal intermediating electronic commerce using the personal wed site

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202261351U (en) * 2011-09-28 2012-05-30 海尔集团公司 Device used for monitoring electricity consumption information
CN102413182A (en) * 2011-11-17 2012-04-11 南京天溯自动化控制系统有限公司 Intelligent home device remote monitoring device and method

Also Published As

Publication number Publication date
CN102821152A (en) 2012-12-12

Similar Documents

Publication Publication Date Title
CN102621949B (en) Remote monitoring device and method
CN103078904B (en) Household electric appliance control method and household electrical appliances thereof and server
CN102821152B (en) A kind of home intelligent interactive terminal information interacting method
US8332055B2 (en) Energy use control system and method
CN104580424B (en) The data reporting method and device of smart home system
CN104698309B (en) The method and system that a kind of power information obtains
Sleman et al. SOA distributed operating system for managing embedded devices in home and building automation
CN103166814A (en) Smart home remote control system based on Internet of things
CN104079543A (en) Method, device and system for obtaining intelligent home system monitoring permissions
WO2013058312A1 (en) Household appliance information accumulation server
US20120096120A1 (en) Internet home automation system
CN105491568A (en) Automatic router accessing method, device and intelligent terminal
CN105050202A (en) Method of establishing communication session using active connection of mobile terminal to relay server
WO2013113138A1 (en) Cloud air-conditioning system based on internet of things and cloud computing, and application method thereof
CN104426725A (en) Intelligent home furnishing system based on remote control mode
CN103326908A (en) Intelligent home control method and device based on XMPP server
CN107104950B (en) Data acquisition, analysis encryption method and system in a kind of smart home
CN105159256A (en) Web service-based intelligent household control system
Khan et al. Secure communication architecture for dynamic energy management in smart grid
CN109547524A (en) User behavior storage method, device, equipment and storage medium based on Physical Network
Kamilaris et al. Building energy-aware smart homes using web technologies
CN104991454A (en) Internet of Things safety remote control system based on WeChat
CN109561329A (en) Control method, mobile terminal and the computer readable storage medium of smart television
CN103581107B (en) Server and working mode setting method thereof
CN104283968A (en) Intelligent household electrical appliance backstage management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: XUJI ELECTRIC CO., LTD.

Free format text: FORMER OWNER: XUJI GROUP CO., LTD.

Effective date: 20131202

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20131202

Address after: No. 1298 Xuchang City, Henan province 461000 XJ Avenue

Applicant after: Xuji Electric Co., Ltd.

Applicant after: Xuchang Xuji Software Technology Co., Ltd.

Applicant after: State Grid Corporation of China

Address before: No. 1298 Xuchang City, Henan province 461000 XJ Avenue

Applicant before: Xuji Group Co., Ltd.

Applicant before: Xuji Electric Co., Ltd.

Applicant before: Xuchang Xuji Software Technology Co., Ltd.

Applicant before: State Grid Corporation of China

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160302

Termination date: 20190808

CF01 Termination of patent right due to non-payment of annual fee