CN104079477B - Client device recognition methods for residential gateway equipment and system - Google Patents

Client device recognition methods for residential gateway equipment and system Download PDF

Info

Publication number
CN104079477B
CN104079477B CN201410339827.5A CN201410339827A CN104079477B CN 104079477 B CN104079477 B CN 104079477B CN 201410339827 A CN201410339827 A CN 201410339827A CN 104079477 B CN104079477 B CN 104079477B
Authority
CN
China
Prior art keywords
user equipment
relevant information
residential gateway
equipment
time
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
CN201410339827.5A
Other languages
Chinese (zh)
Other versions
CN104079477A (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.)
Special Art China Technology Co ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410339827.5A priority Critical patent/CN104079477B/en
Publication of CN104079477A publication Critical patent/CN104079477A/en
Application granted granted Critical
Publication of CN104079477B publication Critical patent/CN104079477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of client device recognition methods for residential gateway equipment and system.According to the method for the present invention, first judge to access whether the user equipment of residential gateway equipment Web server is to access for the first time, if, it then collects the first relevant information of the user equipment for accessing residential gateway equipment Web server for the first time and is preserved, and first relevant information is sent to the browser of the user equipment;If it is not, response message of the residential gateway equipment Web server to the information from user equipment is then obtained, and by extracting the second relevant information in the response message;User equipment is then identified based on the first relevant information preserved and the second gateway information extracted again, is achieved in the identification to user equipment.

Description

Client device recognition methods for residential gateway equipment and system
Technical field
The present invention relates to residential gateway apparatus fields, more particularly to a kind of client device for residential gateway equipment Recognition methods and system.
Background technology
Home gateway (Home Gateway) is a network equipment being located inside Modern Family, and effect is to make family User equipment is connected to Internet, so that a variety of smart machines in family can obtain the service of Internet, or Person makes these smart machines that can realize communication between each other.Briefly, home gateway is to make a variety of smart machines of household internal Between realize networking and from household internal to external network realize interconnection a bridge block.
For example, in the Chinese patent literature application No. is 200910039983.9, a kind of home gateway is disclosed.The family Front yard gateway includes central processing unit, memory, cable LAN processing circuit, WLAN processing circuit, ATM processing electricity Road, ADSL2+ processing circuits;Wherein, ATM processing circuits analyze the data from copper wire, are torn open by asynchronous transfer mode Solution;After the data modem for the Internet transmitted by copper wire is converted to digital signal by ADSL2+ processing circuits, pass Central processing unit is given, by the unified regulation and control of central processing unit, last WLAN processing circuit is converted to Wi-Fi WiMAXs Signal is broadcasted, or is sent to the terminal device being connected with its port by cable LAN processing of circuit.The home gateway ADSL Asymmetrical Digital Subscriber Lines and Wi-Fi functions are merged.
In another example in the Chinese patent literature application No. is 201010125830.9, a kind of home gateway is disclosed.It should Home gateway is mainly made of micro controller core unit and internal network interface and external network interface;Wherein, internal network Interface is used to connect the commonly used equipment of household internal, including:RS-232 serial line interfaces, RS-485 serial line interfaces, USB serial interfaces Mouth, PS/2 interfaces, Ethernet interface, infrared interface and I/O mouthfuls common;External network interface is used to connect remote control equipment, Including may be coupled to the Ethernet interface of internet and be connected to the wireless interface of GPRS network;Thus, it is possible to as needed Different remote control equipments is selected, for example, mobile phone or computer etc., realize the remote control to arbitrary equipment in family.
Although home gateway brings many facilities to user, however, since home gateway is usually using web-based User interface (Web UI) is matched so that user carries out Operations, Administration and Maintenance by browser to family gateway equipment The Web server set does not have the recognition capability to user's physical equipment, such as:According to user equipment physical address (MAC Location) identification user identity or user device type (mobile phone/PC/PAD) etc.;Therefore, it is necessary to change to existing home gateway Into.
Invention content
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide it is a kind of flexibly, safely, can be used for house With the client device recognition methods of gateway device and system.
In order to achieve the above objects and other related objects, the present invention provides a kind of client for residential gateway equipment and sets Standby recognition methods, includes at least:Judge to access whether the user equipment of residential gateway equipment Web server is to access for the first time, If so, collect the first relevant information of the user equipment for accessing residential gateway equipment Web server for the first time and preserved, and First relevant information is sent to the browser of the user equipment;If it is not, then obtaining residential gateway equipment Web service Device is to the response message of the information from user equipment, and by extracting the second relevant information in the response message;And it is based on The first relevant information preserved and the second gateway information extracted identify user equipment.
The present invention also provides a kind of client device identifying systems for residential gateway equipment, include at least:Judge Module accesses whether the user equipment of residential gateway equipment Web server is to access for the first time for judging;Collection module is used for When judgment module judgement is to access for the first time, the user equipment for accessing residential gateway equipment Web server for the first time is collected First relevant information is simultaneously preserved, and first relevant information is sent to the browser of the user equipment;Extract mould Block, for when judgment module judgement is not to access for the first time, obtaining residential gateway equipment Web server and being set to coming from user The response message of standby information, and by extracting the second relevant information in the response message;And identification module, for being based on institute The first relevant information preserved and the second gateway information for being extracted identify user equipment.
As described above, client device recognition methods for residential gateway equipment and the system of the present invention, with following Advantageous effect:It can realize the identification to user equipment, compared to the identification technology of existing residential gateway equipment, flexibility is big, right Systematic influence is small, efficiency and safe.
Description of the drawings
Fig. 1 is shown as the flow chart of the client device recognition methods for residential gateway equipment of the present invention.
Fig. 2 is shown as the client device identifying system schematic diagram for residential gateway equipment of the present invention.
Component label instructions
1 identifying system
11 judgment modules
12 collection modules
13 extraction modules
14 identification modules
S1~S4 steps
Specific implementation mode
Illustrate that embodiments of the present invention, those skilled in the art can be by this specification below by way of specific specific example Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through in addition different specific realities The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from Various modifications or alterations are carried out under the spirit of the present invention.
It please refers to Fig.1 to Fig. 2.It should be noted that the diagram provided in the present embodiment only illustrates this in a schematic way The basic conception of invention, package count when only display is with related component in the present invention rather than according to actual implementation in schema then Mesh, shape and size are drawn, when actual implementation kenel, quantity and the ratio of each component can be a kind of random change, and its Assembly layout kenel may also be increasingly complex.
As shown in Figure 1, the present invention provides a kind of client device recognition methods for residential gateway equipment, the method Including step S1, S2, S3 and S4.Wherein, according to the method for the present invention mainly by the identifying system in residential gateway equipment come It completes.
In step sl, the identifying system judge access residential gateway equipment Web server user equipment whether be It accesses for the first time, if it is, entering step S2, otherwise enters step S3.
Specifically, the identifying system judges to access residential gateway equipment Web server based on history access record Whether user equipment is to access for the first time.
In step s 2, the identifying system collects the user equipment for accessing residential gateway equipment Web server for the first time First relevant information is simultaneously preserved, and first relevant information is sent to the browser of the user equipment.
Wherein, first relevant information includes any information that can be used to identify user equipment, it is preferable that including but not It is limited to:Physical address (for example, MAC Address) and IP address etc..
Specifically, the identifying system obtains the use for needing to access HTTP server for the first time by Socket connection types The IP address of family equipment;The subsequent identifying system searches address resolution protocol (Address by the IP address again Resolution Protocol, ARP) table, thus to obtain the MAC for the residential gateway equipment for needing to access HTTP server for the first time Address, and the MAC Address and IP address are saved in client device list, while by transmitting the Set- in the packet header HTTP Cookie message modes are sent to the physical address and IP address of user equipment the browser of user equipment.
For example, the IP address that the identifying system obtains the user equipment U1 for needing to access HTTP server for the first time is: 255.192.10.11 MAC Address is:44-55-66-77-88-11, then the identifying system setting are sent to user equipment Set-Cookie in the packet header of HTTP information is:ClientMAC=44-55-66-77-88-11;CkientIp= 255.192.10.11。
In step s3, the identifying system obtains residential gateway equipment Web server to the information from user equipment Response message, and by extracting the second relevant information in the response message.
Wherein, second relevant information includes any information associated with user equipment identity information, it is preferable that packet It includes but is not limited to:Physical address (for example, MAC Address) and IP address etc..
Specifically, described in the non-user equipment access accessed for the first time when family gateway equipment Web server, the identification System extracts all cookie from the response packet header of residential gateway equipment Web server, and parses the group of those cookie At part (for example, title, value, path etc.), the second relevant information of the non-user equipment accessed for the first time, example are extracted Such as, MAC Address, IP address etc..
Then, in step s 4, the identifying system is based on the first relevant information preserved and the second letter extracted Information is closed to identify user equipment.
Specifically, the identifying system compares the second relevant information and client device of the non-user equipment accessed for the first time Thus list entry identifies the non-user equipment accessed for the first time, to provide foundation for subsequent processing.
As shown in Fig. 2, the present invention provides a kind of client device identifying system for residential gateway equipment, the identification System 1 includes:Judgment module 11, collection module 12, extraction module 13 and identification module 14.
The judgment module 11 judges whether the user equipment of access residential gateway equipment Web server is to access for the first time, If it is, the judgment module 11 starts the collection module 12, otherwise start the extraction module 13.
Specifically, the judgment module 11 judges to access residential gateway equipment Web server based on history access record User equipment whether be to access for the first time.
The collection module 12 collects the first related letter of the user equipment for accessing residential gateway equipment Web server for the first time It ceases and is preserved, and first relevant information is sent to the browser of the user equipment.
Wherein, first relevant information includes any information that can be used to identify user equipment, it is preferable that including but not It is limited to:Physical address (for example, MAC Address) and IP address etc..
Specifically, the collection module 12 needs to access HTTP server for the first time by Socket connection types to obtain The IP address of user equipment;The subsequent collection module 12 searches address resolution protocol (Address by the IP address again Resolution Protocol, ARP) table, thus to obtain the MAC for the residential gateway equipment for needing to access HTTP server for the first time Address, and the MAC Address and IP address are saved in client device list, while by transmitting the Set- in the packet header HTTP Cookie message modes are sent to the physical address and IP address of user equipment the browser of user equipment.
For example, the IP address that the collection module 12 obtains the user equipment U1 for needing to access HTTP server for the first time is: 255.192.10.11 MAC Address is:44-55-66-77-88-11, the then setting of the collection module 12 are sent to user equipment HTTP information packet header in Set-Cookie be:ClientMAC=44-55-66-77-88-11;CkientIp= 255.192.10.11。
The extraction module 13, which obtains residential gateway equipment Web server, believes the response of the information from user equipment Breath, and by extracting the second relevant information in the response message.
Wherein, second relevant information includes any information associated with user equipment identity information, it is preferable that packet It includes but is not limited to:Physical address (for example, MAC Address) and IP address etc..
Specifically, described in the non-user equipment access accessed for the first time when family gateway equipment Web server, the extraction Module 13 extracts all cookie from the response packet header of the residential gateway equipment Web server belonging to itself, and parsing should The component part (for example, title, value, path etc.) of a little cookie, extracts the second of the non-user equipment accessed for the first time Relevant information, for example, MAC Address, IP address etc..
For example, when the non-user equipment U2 accessed for the first time accesses the family gateway equipment Web server, the extraction Module 13 extracts all cookie from the response packet header of the residential gateway equipment Web server belonging to itself, and therefrom carries Take Cookie:ClientMAC=12-12-12-13-13-13;CkientIp=255.13.45.6.
Then, the identification module 14 is known based on the first relevant information preserved and the second gateway information extracted Other user equipment.
Specifically, the identification module 14 compares the second relevant information of the non-user equipment accessed for the first time and is set with client Standby list entry, thus identifies the non-user equipment accessed for the first time, to provide foundation for subsequent processing.
In conclusion the client device recognition methods for residential gateway equipment of the present invention and system can realize to The identification of family equipment, so as to be used to be authenticated client's logon rights, be based on device characteristics, for example, computer, PAD, Or mobile phone etc., to load the page etc. of different-style;Due to using by obtaining physical address in Web server, compared to from drive Dynamic or operating system nucleus obtains the mode of mac address information, and flexibility bigger is small to systematic influence;In addition, passing through Cookie Mode on the browser of user equipment, is again returned the information preservations such as user equipment physical address compared to parameter is passed to the page The mode returned, efficiency and safety all improve a lot.So the present invention effectively overcome various shortcoming in the prior art and Has high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe The personage for knowing this technology can all carry out modifications and changes to above-described embodiment without violating the spirit and scope of the present invention.Cause This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as At all equivalent modifications or change, should by the present invention claim be covered.

Claims (4)

1. a kind of client device recognition methods for residential gateway equipment, which is characterized in that described to be set for residential gateway Standby client device recognition methods includes at least:
Judge to access whether the user equipment of residential gateway equipment Web server is to access for the first time;
If accessing for the first time, then the first relevant information of the user equipment for accessing residential gateway equipment Web server for the first time is collected And preserved, and first relevant information is sent to the browser of the user equipment;
If not accessing for the first time, then response message of the residential gateway equipment Web server to the information from user equipment is obtained, And by extracting the second relevant information in the response message;
User equipment is identified based on the first relevant information preserved and the second relevant information extracted;
The collection accesses the first relevant information of the user equipment of residential gateway equipment Web server and is preserved for the first time, And it is specially by the browser that first relevant information is sent to the user equipment:
The IP address for the user equipment for needing to access Web servers for the first time is obtained by Socket connection types;
The object that ARP table obtains the user equipment for needing access Web servers for the first time is searched by the IP address of the user equipment Manage address;
By transmitting the Set-Cookie message modes in the packet header HTTP come the physical address of user equipment and IP address transmission To the browser of user equipment.
2. the client device recognition methods according to claim 1 for residential gateway equipment, it is characterised in that:
It is described to be specially by extracting the second relevant information in the response message:
The second relevant information is extracted in cookie by the response message.
3. a kind of client device identifying system for residential gateway equipment, which is characterized in that described to be set for residential gateway Standby client device identifying system includes at least:
Judgment module accesses whether the user equipment of residential gateway equipment Web server is to access for the first time for judging;
Collection module, for when judgment module judgement is to access for the first time, collecting and accessing residential gateway equipment Web clothes for the first time First relevant information of the user equipment of business device is simultaneously preserved, and first relevant information is sent to the user equipment Browser;
Extraction module, for when judgment module judgement is not to access for the first time, obtaining residential gateway equipment Web server pair The response message of information from user equipment, and by extracting the second relevant information in the response message;
Identification module, for identifying that user sets based on the first relevant information preserved and the second relevant information extracted It is standby;
The collection module obtains the IP for the user equipment for needing to access Web servers for the first time by Socket connection types Address, then search ARP table by the IP address of the user equipment and obtain and need to access the user equipmenies of Web servers for the first time Physical address;
The collection module is by transmitting the Set-Cookie message modes in the packet header HTTP come the physical address of user equipment And IP address is sent to the browser of user equipment.
4. the client device identifying system according to claim 3 for residential gateway equipment, it is characterised in that:It is described Extraction module extracts the second relevant information in the cookie by the response message.
CN201410339827.5A 2014-07-17 2014-07-17 Client device recognition methods for residential gateway equipment and system Active CN104079477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410339827.5A CN104079477B (en) 2014-07-17 2014-07-17 Client device recognition methods for residential gateway equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410339827.5A CN104079477B (en) 2014-07-17 2014-07-17 Client device recognition methods for residential gateway equipment and system

Publications (2)

Publication Number Publication Date
CN104079477A CN104079477A (en) 2014-10-01
CN104079477B true CN104079477B (en) 2018-09-28

Family

ID=51600530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410339827.5A Active CN104079477B (en) 2014-07-17 2014-07-17 Client device recognition methods for residential gateway equipment and system

Country Status (1)

Country Link
CN (1) CN104079477B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410724A (en) * 2014-12-23 2015-03-11 上海市共进通信技术有限公司 Method for realizing device type recognition in intelligent gateway based on HTTP protocol

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152391A (en) * 2013-01-31 2013-06-12 杭州华三通信技术有限公司 Journal output method and device
CN103179188A (en) * 2013-01-17 2013-06-26 北京亿赞普网络技术有限公司 Method and device for user identification
CN103401957A (en) * 2013-08-07 2013-11-20 五八同城信息技术有限公司 Method for identifying client machine uniquely in web environment
CN103888490A (en) * 2012-12-20 2014-06-25 上海天泰网络技术有限公司 Automatic WEB client man-machine identification method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100600734B1 (en) * 2004-02-25 2006-07-14 엘지전자 주식회사 Home network server device and the control method of the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888490A (en) * 2012-12-20 2014-06-25 上海天泰网络技术有限公司 Automatic WEB client man-machine identification method
CN103179188A (en) * 2013-01-17 2013-06-26 北京亿赞普网络技术有限公司 Method and device for user identification
CN103152391A (en) * 2013-01-31 2013-06-12 杭州华三通信技术有限公司 Journal output method and device
CN103401957A (en) * 2013-08-07 2013-11-20 五八同城信息技术有限公司 Method for identifying client machine uniquely in web environment

Also Published As

Publication number Publication date
CN104079477A (en) 2014-10-01

Similar Documents

Publication Publication Date Title
CN103048965B (en) A kind of visual centralized monitoring system of dynamic machine room carrying video
CN103067529B (en) A kind of long distance control system
CN109104461A (en) A kind of data processing system and its method based on Internet of things middleware
CN103763125A (en) Statistical method and device for number of actual users in operator network
CN103347084A (en) Multi-account unifying interacted system and interacted method
CN103997533B (en) A kind of dynamic terminal long-distance maintenance method based on wireless network
CN108901035B (en) Identification method and device for terminal of Internet of things
CN202094935U (en) Dynamic IP network based remote switch signal control system
CN107070893A (en) A kind of power distribution network terminal IEC101 protocol massages certification method of discrimination
CN106685773B (en) A kind of intelligent network type PPPoE and DHCP cut-in method and system
CN104079477B (en) Client device recognition methods for residential gateway equipment and system
CN103001966B (en) The process of a kind of private network IP, recognition methods and device
CN102833137A (en) Digital home system based on intelligent gateway
CN102136966A (en) ADSL (Asymmetrical Digital Subscriber Line) dialing process monitoring and intelligent analyzing method
CN109803030A (en) A kind of anonymity intermediate proxy server and its communication means
CN104503324A (en) Control method of intelligent switch cabinet based on IOT (Internet Of Things)
CN103997428A (en) Fast intelligent network interface type detection, configuration and guide system
CN207037902U (en) Wireless remote centralized automatic meter-reading monitoring system
CN101155177B (en) Data channel sharing system and method based on shared protocol
JP6243906B2 (en) Method and device for providing communication connections for multiple candidate applications within a mobile device
CN202679536U (en) High-definition digital set top box
CN104954440B (en) A kind of operational system and method for Android set-top box
CN105099820B (en) A kind of LAN switch monitoring device and method
JP2015528260A5 (en)
CN208890823U (en) It supports to realize the device for carrying out Network Isolation properties of product testing and control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201202

Address after: 313021 industrial function area of Donglin Town, Huzhou City, Zhejiang Province

Patentee after: ZHEJIANG YUANTE NEW MATERIAL Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211129

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: 313021 industrial functional zone, Donglin Town, Huzhou City, Zhejiang Province

Patentee before: ZHEJIANG YUANTE NEW MATERIAL CO.,LTD.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220727

Address after: 100000 No. a2181, second floor, College Park, Dongsheng Science Park, Zhongguancun, No. 18, Xueqing Road, Haidian District, Beijing

Patentee after: Special art (China) Technology Co.,Ltd.

Address before: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee before: Huzhou YingLie Intellectual Property Operation Co.,Ltd.