CN102811187B - A kind of home gateway system and its setting method based on Web site - Google Patents

A kind of home gateway system and its setting method based on Web site Download PDF

Info

Publication number
CN102811187B
CN102811187B CN201210279002.XA CN201210279002A CN102811187B CN 102811187 B CN102811187 B CN 102811187B CN 201210279002 A CN201210279002 A CN 201210279002A CN 102811187 B CN102811187 B CN 102811187B
Authority
CN
China
Prior art keywords
webpage
user
database
control
home
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210279002.XA
Other languages
Chinese (zh)
Other versions
CN102811187A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201210279002.XA priority Critical patent/CN102811187B/en
Publication of CN102811187A publication Critical patent/CN102811187A/en
Application granted granted Critical
Publication of CN102811187B publication Critical patent/CN102811187B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of home gateway system and its setting method based on Web site, belongs to the control technology of the smart home device of technical field of intelligent home control more particularly to access band.The technical problem to be solved by the present invention is in domestic consumer the problem of complicated for operation, problem and consumer wideband IP address dynamic change that control is inconvenient due to caused by more producers, polytypic, multi-functional smart home device.The present invention provides a kind of Web site, and user can control all kinds of smart home devices from the control webpage of the website;By the method to the webpage setting in website, enable users to according to demand be customized control webpage;Using the method for regularly sending IP data packet, the dynamic IP addressing in broadband is obtained.

Description

A kind of home gateway system and its setting method based on Web site
Technical field
The present invention relates to Intelligent housing technology, more particularly to a kind of home gateway system based on Web site and Its setting method.
Background technique
With the continuous development of Internet of Things and related industry, the kind and function of smart home product also become richer It is rich.
But in the one family there are different manufacturers, different model, different function multiple smart home devices, and this It when a little equipment need to be controlled by internet, generally requires to open different programs, different interfaces, different orders, grasp Make very cumbersome and complicated.In addition, being revocable IP address an of dynamic change provided by consumer wideband, it is difficult to by this IP address is used as the control to smart home device.
Summary of the invention
Technical problem to be solved by the invention is to provide a kind of based on the home gateway system of Web site and its setting side Method, to solve the complicated for operation, control due to caused by more producers, polytypic, multi-functional smart home device in domestic consumer The problem of making inconvenient problem and consumer wideband IP address dynamic change.
The present invention provides a kind of home gateway systems based on Web site, comprising: Web server, for generating user Log-on webpage, control webpage, setting webpage;Database, required Various types of data, the storage user for storing generation webpage are wide Band dynamic IP addressing;IP packet transmission unit sends IP data packet to IP packet receiving unit for timing;IP packet receiving unit is used In the IP data packet that reception is sent out from IP packet transmission unit, source IP address (i.e. consumer wideband dynamic IP addressing) is extracted, by this Address is deposited in database.
The present invention provides a kind of setting methods of home gateway based on Web site, the described method comprises the following steps:
A) user enters setting webpage;
B) user selects addition or editor;
C) when user selects to add, new control button editing area is generated;
D) when user selects to edit, can prefix part, port numbers and radio button to control button editing area into Edlin or selection;
E) by editor and selection of the user to editing area, can customize the control object of control button in the control page, Control command and execution method;
F) editor completes to be saved, more new database.
The present invention provides the method controlled smart home devices multiple in family on a webpage, facilitates The operation of user solves in family and carries out central controlled demand and more equipment control hardly possible to different type smart home device The problem of, while also solve the problems, such as broadband dynamic IP addressing is not used as real-time control.By providing self-setting Method allows users to that control webpage is edited and is arranged according to the needs of itself.
Detailed description of the invention
Fig. 1 is system structure diagram provided in an embodiment of the present invention;
Fig. 2 is user's log-on webpage schematic diagram provided in an embodiment of the present invention;
Fig. 3 is user's control webpage schematic diagram provided in an embodiment of the present invention;
Fig. 4 is working-flow figure provided in an embodiment of the present invention;
Fig. 5 is user setting webpage schematic diagram provided in an embodiment of the present invention;
Fig. 6 is user setting method flow diagram provided in an embodiment of the present invention.
Specific embodiment
Technical solution of the present invention is described in further detail in the following with reference to the drawings and specific embodiments, so that this The technical staff in field may be better understood the present invention and can be practiced, but example is not as to limit of the invention It is fixed.
Fig. 1 show the gateway system overall structure diagram of the invention based on Web site.Including database 101, Web server 102, the internet Internet 103, wide-band terminal 104, home router 105, Intelligent housing unit 106, IP packet transmission unit 107, IP packet receiving unit 108.
Fig. 2 show user's log-on webpage 201.
Fig. 3 show the control webpage 301 after user logs in.
Fig. 4 show working-flow figure, now in conjunction with Fig. 1, Fig. 2, Fig. 3, to the home gateway system based on Web site Workflow and principle are explained in detail.In step 401, user passes through the computer of access internet, the browsing of mobile terminal Device accesses Web server, and Web server returns to user's log-on webpage 201, and user inputs correct username and password.In step Rapid 402, after the user that Web server verifying logs in is legal, the number to match with the user account is obtained from database 101 According to this data is mainly made of four parts: 1) prefix part data, for generating the prefix part of control button order (such as Http: //, ftp: //, mms: // etc.);2) IP address data, the address are the broadband dynamic IP addressings of the user obtained in real time, It is obtained by the device that IP transmission unit 107, IP receiving unit 108 etc. form and is deposited in database 101;3) port number According to according to the different controlled Intelligent housing unit 106 of port numbers different instructions, which needs the void of same family router The port numbers setting of quasi- web sites function is corresponding;4) method radio button data, this data determine user press it is a certain control by Command mode transmitted by button 302 (such as list button command method=" post ", method=" get ").In step 403, according to the data that step 402 obtains, Intelligent housing webpage 301 is generated, the webpage is by different 302 groups of control button At wherein each control button 302 is composed of the 4 kinds of data obtained in step 402.In step 404 when user needs When controlling some Intelligent housing unit 106, corresponding control button 302 is clicked.In step 405, user's browsing Device sends corresponding order, opens the homepage of controlled Intelligent housing unit 106, or the specific journey of load in different ways The controlled Intelligent housing unit 106 of ordered pair is directly controlled.
When obtaining the data to match with account in Fig. 4 step 402, second part IP address data therein are referred to It is stored in the real-time dynamic IP addressing of the consumer wideband in database 101, is by including IP packet transmission unit 107, the reception of IP packet What the device of the equipment such as unit 108 composition obtained.Though because of the equipment of broadband user from access carrier IP address obtained It is so public network address, but this is the address of a dynamic change being periodically flushed, i.e., with broadband broken string, Provider Equipment period Property refresh and continually changing, for such address, using constantly extracting newest IP address information, and deposit in database In method solved.IP transmission unit 107 is by the singlechip group with Ethernet interface at the single-chip microcontroller in the present embodiment It is loaded with ICP/IP protocol stack, by programming, periodically sends the IP data that TCP or udp protocol form to IP packet receiving unit 108 Packet extracts source IP address, as consumer wideband dynamic IP addressing, and will after IP packet receiving unit 108 receives the data packet The address is deposited in database 101, since IP packet transmission unit constantly sends IP data packet at a certain time interval, is made Newest IP address information is remained in database 101, to solve the Intelligent housing unit using this address pair 106 purposes controlled.
Fig. 5 show setting webpage 501, which is user after the control webpage 301 of Fig. 3 clicks setting button 305 The webpage jumped.The webpage include control button editing area 504 corresponding with 301 arrangement position of Fig. 3 control button, save by Button 502, addition button 503.505 show the amplified details of control button editing area 504, which includes prefix part 506 editing areas, 508 editing area of port numbers, method radio button area 509 and IP address 507 can not editing areas.
Fig. 6 show the flow chart of setting method of the invention, and the flow chart is described in detail now in conjunction with Fig. 5:
In step 601, user clicks the setting button 303 in Fig. 3 in a browser.In step 602, the browser of user Setting webpage 501 is returned from Web server 102.In step 603, user selects editor or addition control button.When user selects Addition is selected, process goes to 604.In step 604, user clicks addition button 503.In step 605, in setting webpage 501 The lower section of control button editing area 504 generates a new control button editing area.In step 606, user carries out editing area Editor, in the details 505 of control button editing area 504, settable 506 editing area of prefix part of user, according to different Purposes and method editable are provided for opening the http of webpage: //, be used for transmission the ftp of file: //, be used to open video Mms: //, the mstsc/v for being used to open remote desktop etc..IP address 507 part attribute be can not edit field, the IP Location is derived from the broadband dynamic IP addressing for the login user stored in database 101.In 508 editing area of port numbers, user can be with Different port numbers are arranged in editor, to control different Intelligent housing units 106.It is more about port numbers setting Datail description is as follows: user can be configured in forward rule-virtual server in home router 105, make public network The different port of IP address is mapped to port corresponding to IP address different in home router Intranet, to reach a public network Access of the IP address to multiple Intelligent housing units 106.In 509 editing area of method radio button, user can pass through choosing Select different method and determine that user clicks order submission method caused by control button 302, this method can be with list by The mode of button sends http protocol data (such as method=" get ", method=" post " etc.), can also open specific journey The mode of sequence is communicated (such as input type=button onclick=" with controlled Intelligent housing unit 106 Exec (' mstsc/v:60.179.133.236 ') ").In step 607, user clicks to save and press after the completion of addition or editor The information that button 502, all additions or editor complete is sent to database 101 by Web server 102 and is saved.In step 603, when user selects to edit, process skips to step 606, repeats the above description to step 606 and step 607.
Although description through the embodiment of the present invention illustrates the present invention, and although has described in detail Embodiment, but the scope of the claims is not restricted to so in detail by present invention applicant in any way.For ability Field technique personnel are it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to it Middle some technical characteristics are equivalently replaced, and these are modified or replaceed, and it does not separate the essence of the corresponding technical solution originally Invent the range of each embodiment technical solution.

Claims (5)

1. a kind of home gateway system based on Web site characterized by comprising
Web server, database, Intelligent housing unit, in which:
Web server is the server apparatus connecting with internet, which connect with database, for providing user Access;
Database is connect with Web server and IP packet receiving unit respectively, for storing the required all kinds of numbers for generating webpage According to, storage consumer wideband dynamic IP addressing;
Intelligent housing unit, is connected with home router, for receiving the corresponding order of user browser transmission;
The home router is connected with wide-band terminal, and accesses internet by wide-band terminal;
The Web server further comprises the control webpage of control button composition, and wherein user is pressed by clicking the control Button can open the homepage of the Intelligent housing unit or load specific program carries out the Intelligent housing unit It directly controls;
The control button by including that prefix part, IP address part, port numbers part, command mode part are composed, Described in IP address be taken from the broadband dynamic IP addressing for being stored in database;
It is corresponding that the port numbers need the port numbers of the virtual site function of same family router to be arranged, according to port numbers not same district Divide different controlled Intelligent housing units.
2. the home gateway system of website as described in claim 1, which is characterized in that the web site includes:
Log-on webpage obtains the data to match with the user account, according to acquisition after user logins successfully from database Data generate control webpage;
Webpage is set, the button of control webpage is edited and is arranged for providing user.
3. the home gateway system of website as described in claim 1, which is characterized in that the smart home device includes:
A) home control equipment;
B) family data shared device;
C) home computer equipment;
D) the other household equipments shared by internet are needed.
4. the home gateway system of website as described in claim 1, which is characterized in that the home gateway system includes:
IP packet receiving unit, connect with internet and database, the IP data packet sent out for receiving IP packet transmission unit, and mentions Source IP address is taken out to deposit in database as broadband dynamic IP addressing;
IP packet transmission unit, connect with the home router in home network, sends IP number to IP packet receiving unit for timing According to packet.
5. a kind of setting method of the home gateway based on Web site characterized by comprising
User enters setting webpage and control button is edited or added, and makes the control button for controlling webpage according to the need of user It asks and is configured;
It is described carry out editor include:
Prefix part is edited;
Port number is edited, and it is opposite that the port numbers need the port numbers of the virtual site function of same family router to be arranged It answers;
Method radio button is selected;
Broadband dynamic IP addressing is obtained from database;
After the completion of editor, data are stored in database;
The addition includes:
User voluntarily can be added operation to the control button for controlling webpage.
CN201210279002.XA 2012-08-01 2012-08-01 A kind of home gateway system and its setting method based on Web site Active CN102811187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210279002.XA CN102811187B (en) 2012-08-01 2012-08-01 A kind of home gateway system and its setting method based on Web site

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210279002.XA CN102811187B (en) 2012-08-01 2012-08-01 A kind of home gateway system and its setting method based on Web site

Publications (2)

Publication Number Publication Date
CN102811187A CN102811187A (en) 2012-12-05
CN102811187B true CN102811187B (en) 2019-03-08

Family

ID=47234766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210279002.XA Active CN102811187B (en) 2012-08-01 2012-08-01 A kind of home gateway system and its setting method based on Web site

Country Status (1)

Country Link
CN (1) CN102811187B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312800A (en) * 2013-05-25 2013-09-18 陈为人 Method and device for controlling broadband customer premise equipment (CPE) through instant messaging
CN103312573B (en) * 2013-06-14 2016-12-28 西安交通大学 A kind of domestic network system equipment finds and recognition methods
CN104980322B (en) * 2014-10-31 2018-11-23 腾讯科技(上海)有限公司 The method and device to link between network access equipment
CN104580232B (en) * 2015-01-11 2018-12-28 陈为人 Registration and setting method and its device based on family's cloud instant communicating system
CN105588266B (en) * 2015-05-19 2018-09-18 青岛海信日立空调系统有限公司 A kind of tele-control system and its configuration method of central air-conditioning
CN106325846B (en) * 2015-07-01 2021-04-30 北京京东尚科信息技术有限公司 Method and device for adding functional module of application program
CN106559475A (en) * 2016-09-28 2017-04-05 浙江大学宁波理工学院 A kind of Programmable Embedded web server
CN107454195A (en) * 2017-09-14 2017-12-08 王静芳 A kind of Internet of Things high in the clouds intelligent control method for mobile terminal
CN111262890A (en) * 2018-11-30 2020-06-09 云丁网络技术(北京)有限公司 Electronic equipment control method, electronic equipment and webpage server
WO2020007339A1 (en) 2018-07-04 2020-01-09 Yunding Network Technology (Beijing) Co., Ltd. Method and system for operating an electronic device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000513916A (en) * 1997-06-25 2000-10-17 サムソン エレクトロニクス カンパニー リミテッド Method and apparatus for home network automatic tree generator
WO2005122492A1 (en) * 2004-06-07 2005-12-22 Nippon Telegraph And Telephone Corporation Domestic network setting method, home gateway device, home gateway program, and recording medium
US20080313530A1 (en) * 2005-04-19 2008-12-18 Yu Kyoung Song Method and Apparatus for Making Devices on a Local Network Remotely-Accessible
CN1776681A (en) * 2005-12-13 2006-05-24 北京大学 WEB control interface unified generating method and IP home network integrated control method
CN101334932A (en) * 2007-06-25 2008-12-31 株式会社日立制作所 Household appliance proxy equipment
CN101197724A (en) * 2007-12-14 2008-06-11 康佳集团股份有限公司 Long-range control system and method for information household electrical appliance in IGRS household network based on IPv6
CN102014080B (en) * 2010-12-10 2016-05-11 中兴通讯股份有限公司 A kind of method and home gateway that utilizes home gateway to carry out instant messaging

Also Published As

Publication number Publication date
CN102811187A (en) 2012-12-05

Similar Documents

Publication Publication Date Title
CN102811187B (en) A kind of home gateway system and its setting method based on Web site
CN101370024B (en) Distributed information collection method and system
CN102624920B (en) A kind of method of being conducted interviews by proxy server and device
CN103384864B (en) The method and system of rendering content
CN101408877B (en) System and method for loading tree node
CN106897215A (en) A kind of method gathered based on WebView webpages loading performance and user behavior flow data
CN104158836A (en) Method for rendering mobile application interface through data
CN103729446B (en) A kind of processing method, processing unit and the server of user's operation data
CN108153768A (en) Method for page jump, data processing method, device and page jump control system
CN101072122A (en) Method, system and user end device for obtaining access amount statistical data
CN103581161A (en) Zero setting system and method for network device
CN104915398A (en) Method and device for webpage point burying
CN103139305A (en) Device, method and setting thereof by using mobile terminal to control broadband user side apparatus
CN103067448B (en) device control method and mobile communication terminal
CN103051694B (en) The method and mobile communication terminal of mobile communication terminal control device
CN104580293B (en) For the methods, devices and systems of remote control management and control strategy
CN102298617A (en) Method for obtaining target page and equipment
CN103310087A (en) Service data statistic analysis method and device
US10565224B2 (en) Data provision apparatus and data provision method
CN103841110A (en) Website establishment service system and processing method based on mobile terminal
CN103227941B (en) Data delivery system and data push method
CN106202357A (en) A kind of website browsing data analysing method and device
CN105989167B (en) Collecting method and device based on news client
CN104714718A (en) Method and device for marking operable icons in interactive applications
Saha et al. A web-based integrated environment for simulation and analysis with NS-2

Legal Events

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