Nothing Special   »   [go: up one dir, main page]

CN103260178B - A kind of consumer WAP product detects the method for upgrading automatically - Google Patents

A kind of consumer WAP product detects the method for upgrading automatically Download PDF

Info

Publication number
CN103260178B
CN103260178B CN201310155514.XA CN201310155514A CN103260178B CN 103260178 B CN103260178 B CN 103260178B CN 201310155514 A CN201310155514 A CN 201310155514A CN 103260178 B CN103260178 B CN 103260178B
Authority
CN
China
Prior art keywords
consumer
wap
product
domain name
upgrading
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
CN201310155514.XA
Other languages
Chinese (zh)
Other versions
CN103260178A (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.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin 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 Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201310155514.XA priority Critical patent/CN103260178B/en
Publication of CN103260178A publication Critical patent/CN103260178A/en
Application granted granted Critical
Publication of CN103260178B publication Critical patent/CN103260178B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a kind of consumer WAP product and automatically detect the method for upgrading, in the method, consumer WAP product is after wide area network side is even connected to the Net, support in configuration information given server obtain upgrade information, and from this determine server download upgrading software carry out software upgrading;During the upgrading of consumer WAP product software, no matter user accesses any website, all can be forced to the upgrade tip page.Consumer AP product in the present invention, add software automatically detect upgrade function on the basis of, achieve in the lump in escalation process, user browser have visit outer data when, carry out the function of upgrade tip page push, it is achieved that a kind of more friendly software automatic updating function.

Description

A kind of consumer WAP product detects the method for upgrading automatically
Technical field
The present invention relates to networking products field, automatically detect upgrading particularly to a kind of consumer WAP product Method.
Background technology
WAP i.e. wireless aps (Access Point) it be the wireless exchange board for wireless network, be also wireless Server.Wireless aps is the access point that mobile computer user enters cable network, is mainly used in broadband home, in building Inside portion and garden, typical range covers tens meters of extremely rice up to a hundred, and currently mainly technology is 802.11 series.Most of wireless AP, also with access point client mode (AP client), can carry out wireless connection with other AP, the covering model of extension network Enclose.Wireless aps not only comprises pure WAP (wireless aps), is that wireless router is (containing radio network gateway, wireless too Bridge) etc. the general designation of kind equipment.
With becoming increasingly popular of network technology, wireless aps product has slowly become essential in people's daily life Domestic electronic appliances, and as the human-subject test to computer and network technologies for the people improves day by day, people are to family wireless The degree of concern of some application functions of AP product is also increasingly higher, and also proposes increasing application new demand.
Day by day promoting according to the requirement to aspects such as the performance of product, functions for the user, wireless aps product has to face one The real world applications demand of individual upgrading;If being required for reaching this upgrading by changing hardware at short notice Effect, the huge waste of a kind of beyond doubt resource, but carried out by artificial intervention, realize user a large amount of gateways The upgrading of product, the amount of work is also no small.The AP product that there is network management function can relatively easily be passed through Webmaster instrument realizes the software upgrading of end product, but the use of webmaster instrument is also to have certain technology to require;Moreover, face The consumer AP product not having network management function to some, just seems more unable to do what one wishes.
For example: certain manufacturer user places an order and have subscribed large batch of family wireless AP product, the initial stage of use, this batch products Can meet the basic use demand of user, support Bridge, Static, DHCP and PPPOE tetra-the WAN-side of type access Mode.But owing to the existing network applied environment at user place is upgraded, and provide another WAN-side dialing connect Enter mode (such as L2TP), can reach that networking speed is faster more stable, the higher more reliable effect of security performance;So, more next More users are more likely to the access service newly providing.But, our gateway product does not support the dialing of L2TP, User by changing gateway product or can only return the demand that factory's upgrading reaches to use new service?This obviously can cause one Very big waste, and the main cause clearly throwing into question, be the afunction above software, so having only to by soft The upgrading of part, it is possible to go to reach the use demand required for user with minimum cost.
Consumer AP product has been put into using, and the hand already dispersed in client suffers;But also exist again at present The demand of software upgrading, we should the cost as how minimum go to solve these problems?AP is made to possess at the very start automatically Detection upgrade function a, it is simply that good method put things right once and for all;But, during AP upgrading, owing to AP upgrading occupies non- Often many resources, if client browses the problem that webpage there will be " webpage cannot access ", can mislead user and think that network disconnects ?.
Content of the invention
It is an object of the invention to for the current wireless aps product of solution in escalation process, when terminal use prepares to browse webpage When, the problem that " webpage cannot access " may be pointed out, terminal use can be allowed to be mistakenly considered the deficiency that network is disconnected, one is provided Consumer WAP product detects the method for upgrading automatically, and the method redirects during WAP product up-gradation The upgrade tip page.
The technical scheme is that a kind of consumer WAP product detects the method for upgrading, the method automatically In consumer WAP product after wide area network side is even connected to the Net, support to obtain to given server in configuration information Upgrade information, and from this determine server download upgrading software carry out software upgrading;At consumer WAP product software liter During Ji, no matter any website of user's domain name access, all can be forced to the upgrade tip page.
Further, above-mentioned a kind of consumer WAP product detects the method for upgrading automatically, it is characterised in that:
Step 1, even connect to the Net in wide area network side by consumer WAP product;
Step 2, the configuration information by consumer WAP product obtain upgrade information from given server, if Do not need to upgrade, then terminate automatic escalation process, carry out the work of normal wireless access point;
Step 3, consumer WAP product obtain AKU from given server, carry out existing software more Newly, meanwhile, domain name analysis system deception process will be opened;
Step 4, software upgrading finish, and restart consumer WAP product, terminate domain name analysis system deception process.
Further, above-mentioned a kind of consumer WAP product detects the method for upgrading automatically, it is characterised in that In: described domain name analysis system deception process comprises the following steps:
Step A, the data receiving outside the terminal access LAN of the domain name of local area network side;
Step B, carry out domain name mapping;
Described terminal is given in step C, the domain name mapping IP address of return deception.
Further, above-mentioned a kind of consumer WAP product detects the method for upgrading automatically, it is characterised in that In:
Step D, the terminal of domain name of local area network side, according to the domain name mapping IP address of the deception that domain name analysis system returns Information sends service request again;Accepted by the virtual interface of consumer WAP product and upload consumer wireless connect The protocol stack process of access point product;
Step E, the protocol stack of consumer WAP product add specific hook when processing packet Son is processed, the data to the consumer WAP management network port of non-access of the domain name mapping IP address port from deception Bag, terminates the mutual of this time, and again initiates the upgrade tip page being redirected to WAP management of product address To this local area network side client.
Further, above-mentioned a kind of consumer WAP product detects in the method for upgrading automatically, described choosing Fixed hook processes and comprises the following steps:
Step E1, makes the following judgment to the packet come in;
Firstth, whether to be the service from LAN side 80 port;
Secondth, whether to be the non-packet accessing consumer WAP management of product network interface;
If meeting above-mentioned two condition, it is transmitted RST terminate this time mutual, then again initiate to redirect.
Consumer AP product in the present invention, add software automatically detect upgrade function on the basis of, achieve in the lump In escalation process, when user browser has visit outer data, carry out the function of upgrade tip page push, it is achieved that one is more friendly Good software automatic updating function.
Below in conjunction with specific embodiment, the present invention is described in more detail.
Brief description
Fig. 1 is the present invention 1 flow chart.
Fig. 2 is DNS deception flow chart in the present invention.
Fig. 3 is that the upgrade tip page of the present invention is forced to push process chart.
Detailed description of the invention
Embodiment 1, as shown in Figure 1, 2, 3, the present embodiment is a kind of method that consumer AP product detects upgrading automatically, with Current upgrade method is compared, and the current wireless aps product of technical scheme solution of the present embodiment is in escalation process, when terminal is used Family prepares when browsing webpage, the problem that may point out " webpage cannot access ", can recognize terminal use and be mistakenly considered network and be disconnected Deficiency, directly will be redirected to the upgrade tip page by unified during upgrading.Comprise the following steps:
1st, the WAN-side dialing of AP is normal connects upper Internet, starts detection upgrade function automatically;
2nd, from server, obtain upgrade information, be used for judging that whether the currently used software of AP is latest edition, and then sentence Disconnected the need of carrying out updating operation;
If 3 need to carry out updating operation, then open DNS and cheat and enable upgrade tip enforcement functionalities, then just continue Updating operation;Otherwise, any operation is not done;
4th, in the escalation process of step 3, LAN side client has the domain name of any http:80 port to visit outer data, all can Enter DNS processing module;
5th, whether DNS can open according to DNS deception function, determines to return to the IP address that real parsing address is still cheated (i.e. a virtual interface IP address of the LAN side of AP, such as 192.168.0.222)
5th, LAN side user browser, the IP information that can return according to DNS sends service request again;If DNS returns Be deception IP address, then this service request will be accepted and uploaded by the virtual interface of AP the protocol stack process of AP;
6th, packet is processed by the protocol stack of AP at PREROUTING() place adds special hook process, opening In the case of by upgrade tip mandatory services, can be to the non-access AP from 80 ports (referring to 80 miniport service of LAN side) Management network port IP(such as 192.168.1.1) packet, RST can be sent to terminate the mutual of this time, and again initiate a redirection To AP management address the upgrade tip page give this LAN side client.
In this step:
Special hook processes and comprises the following steps:
The packet come in is made the following judgment;
Firstth, whether to be the service from LAN side 80 port;
Secondth, whether to be the non-packet accessing consumer WAP management of product network interface;
If meeting above-mentioned two condition, it is transmitted RST terminate this time mutual, then again initiate to redirect.
7th, after have passed through step 6, the browser service of client, will be redirected to upgrading by unification during upgrading and carry Show the page.
8th, after software upgrading to be upgraded finishes, AP can restart;Start-up course will be closed DNS deception and upgrade tip Enforcement functionalities, after the online of AP normal dialing, the client of LAN side then can be normally carried out network service.

Claims (1)

1. consumer WAP product detects a method for upgrading automatically, consumer WAP product in the method After wide area network side is even connected to the Net, support that in configuration information, given server obtains upgrade information, and from this appointment clothes Business device is downloaded upgrading software and is carried out software upgrading;It is characterized in that: in the process of consumer WAP product software upgrading In, no matter any website of user's domain name access, all can be forced to the upgrade tip page;Comprise the following steps:
Step 1, even connect to the Net in wide area network side by consumer WAP product;
Step 2, the configuration information by consumer WAP product obtain upgrade information, if being not required to from given server Upgrade, then terminate automatic escalation process, carry out the work of normal wireless access point;
Step 3, consumer WAP product obtain AKU from given server, are updated existing software, with When, domain name analysis system deception process will be opened;
Step 4, software upgrading finish, and restart consumer WAP product, terminate domain name analysis system deception process;
In described step 3, domain name analysis system deception process comprises the following steps:
Step A, the data receiving outside the terminal access LAN of the domain name of local area network side;
Step B, carry out domain name mapping;
Described terminal is given in step C, the domain name mapping IP address of return deception;
Step D, the terminal of domain name of local area network side, according to the domain name mapping IP address information of the deception that domain name analysis system returns Again send service request;Accepted by the virtual interface of consumer WAP product and upload consumer WAP The protocol stack process of product;
Step E, the protocol stack of consumer WAP product add when processing packet at special hook Reason, the packet to the consumer WAP management network port of non-access of the domain name mapping IP address port from deception, eventually Only this time is mutual, and again initiates the upgrade tip page being redirected to WAP management of product address to this office Territory net side client;
Described special hook processes and comprises the following steps:
Step E1, makes the following judgment to the packet come in;
Firstth, whether to be the service from LAN side 80 port;
Secondth, whether to be the non-packet accessing consumer WAP management of product network interface;
If meeting above-mentioned two condition, consumer WAP product is transmitted RST terminate this time mutual, then Again initiate to redirect.
CN201310155514.XA 2013-04-28 2013-04-28 A kind of consumer WAP product detects the method for upgrading automatically Expired - Fee Related CN103260178B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310155514.XA CN103260178B (en) 2013-04-28 2013-04-28 A kind of consumer WAP product detects the method for upgrading automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310155514.XA CN103260178B (en) 2013-04-28 2013-04-28 A kind of consumer WAP product detects the method for upgrading automatically

Publications (2)

Publication Number Publication Date
CN103260178A CN103260178A (en) 2013-08-21
CN103260178B true CN103260178B (en) 2016-11-09

Family

ID=48963818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310155514.XA Expired - Fee Related CN103260178B (en) 2013-04-28 2013-04-28 A kind of consumer WAP product detects the method for upgrading automatically

Country Status (1)

Country Link
CN (1) CN103260178B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532751B (en) * 2013-10-09 2016-10-19 北京奇虎科技有限公司 Network access equipment management method and device
CN110750290B (en) * 2019-10-28 2023-08-15 杭州安恒信息技术股份有限公司 Software version upgrading method and device based on DNS query

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674232A (en) * 2008-09-10 2010-03-17 北京艾科网信科技有限公司 Server, method and system of access control
CN101715199A (en) * 2009-11-16 2010-05-26 中兴通讯股份有限公司 Method and device for upgrading access point
CN101741769A (en) * 2008-11-25 2010-06-16 华为终端有限公司 Redirection method for gateway and webpage
CN101808315A (en) * 2010-04-08 2010-08-18 北京傲天动联技术有限公司 Thin AP upgrade method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752411A (en) * 2012-06-29 2012-10-24 华为终端有限公司 Redirection method and device
CN103024773B (en) * 2012-12-10 2016-03-16 上海斐讯数据通信技术有限公司 Wireless router method for upgrading software, management devices and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674232A (en) * 2008-09-10 2010-03-17 北京艾科网信科技有限公司 Server, method and system of access control
CN101741769A (en) * 2008-11-25 2010-06-16 华为终端有限公司 Redirection method for gateway and webpage
CN101715199A (en) * 2009-11-16 2010-05-26 中兴通讯股份有限公司 Method and device for upgrading access point
CN101808315A (en) * 2010-04-08 2010-08-18 北京傲天动联技术有限公司 Thin AP upgrade method

Also Published As

Publication number Publication date
CN103260178A (en) 2013-08-21

Similar Documents

Publication Publication Date Title
US7376723B2 (en) Apparatus and method for managing and controlling UPnP devices in home network over external internet network
US20030033356A1 (en) Extensible client aware detection in a wireless portal system
US20050169288A1 (en) Secure virtual private network
CN104917838B (en) A kind of realization method and system of redirection of router
EP3231153B1 (en) Distributing a network access policy
US20100103941A1 (en) Data Collection from CPE Devices on a Remote LAN
US20120213094A1 (en) Plug-and-play network filter
CN102571941B (en) Cloud point-to-point data transmission method and system
CN103139305A (en) Device, method and setting thereof by using mobile terminal to control broadband user side apparatus
CN101741902B (en) System and method for Internet terminal to quickly access to Internet server
CN103997521A (en) File operating method and device based on router and router
US20090234934A1 (en) Managing multiple network interfaces by assigning them to individual applications
CN110557320B (en) System and method for realizing VPN plug-in sea panning acceleration function based on home intelligent gateway
CN102664808B (en) Router and Web site system thereof
CN202094935U (en) Dynamic IP network based remote switch signal control system
CN105516744B (en) Smart television access method and smart television access system
CN106973380A (en) A kind of switching APN method and device
CN103260178B (en) A kind of consumer WAP product detects the method for upgrading automatically
WO2009100675A1 (en) Web page pushing method, system and apparatus thereof
EP3000219A1 (en) Access to data source via proxy
JP5336405B2 (en) Internal information browsing server system and control method thereof
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
CN102724233A (en) Method for realizing communication with IPv6 process by IPv4 protocol stack in information appliance system
CN100484066C (en) Telecontrol gateway apparatus formed system and realization method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161109