Summary of the invention
A kind of method that the object of the present invention is to provide router of automatic unlatching navigation page and automatically open navigation page, MAC Address in the http bag that can send according to terminal judges whether this terminal is first passage router access network, when being judged as first, can directly proceed to navigation page, and point out user installation service software, thereby effectively improve user's experience.
For addressing the above problem, the invention provides a kind of router of automatic unlatching navigation page, comprising:
LAN mouth, the http sending for monitoring terminal bag;
Extraction module, while passing through for monitor the http bag of terminal transmission when LAN mouth, extracts the MAC Address in described http bag;
Mac address table, for storing local MAC Address of having accessed;
Consult module, for whether having the MAC Address in described http bag in described mac address table inquiry, if exist, allow described http bag to pass through, if do not exist, return to preset navigation page;
Memory module, for depositing the MAC Address of described http bag in described mac address table in.
Further, in said system, described in consult module and return to corresponding navigation page according to different terminal types.
Further, in said system, described in consult module according to HELPER APPLICATION corresponding to different terminal type prompting user installation.
Further, in said system, when terminal type is Windows PC operating system, IE plug-in unit is installed in prompting.
Further, in said system, when terminal type is Android operating system, Android application is installed in prompting.
Further, in said system, when terminal type is iOS operating system, iOS application is installed in prompting.
The invention provides also a kind of system of automatic unlatching navigation page, comprising:
Monitoring modular, the http sending for monitoring terminal bag;
Extraction module, for when monitor http bag that terminal sends by time, extract the MAC Address in described http bag;
Mac address table, for storing local MAC Address of having accessed;
Consult module, for whether having the MAC Address in described http bag in described mac address table inquiry, if exist, allow described http bag to pass through, if do not exist, return to preset navigation page;
Memory module, for depositing the MAC Address of described http bag in described mac address table in.
According to another side of the present invention, a kind of method of automatic unlatching navigation page of the router that adopts above-mentioned automatic unlatching navigation page is provided, comprising:
The http bag that LAN mouth monitoring terminal sends, when monitor http bag that terminal sends by time, extract the MAC Address in http bag;
Consult in local mac address table of having accessed, whether there is the MAC Address in described http bag,
If exist, allow described http bag to pass through;
If do not exist, to terminal, return to preset navigation page;
MAC Address in described http bag is deposited in the mac address table of having accessed described this locality.
Further, in said method, return in the step of preset navigation page, according to different terminal types, return to corresponding navigation page.
Further, in said method, return in the step of preset navigation page, according to different HELPER APPLICATION corresponding to terminal type prompting user installation.
Further, in said method, according in the step of HELPER APPLICATION corresponding to different terminal type prompting user installation, when terminal type is Windows PC operating system, IE plug-in unit is installed in prompting.
Further, in said method, according in the step of HELPER APPLICATION corresponding to different terminal type prompting user installation, when terminal type is Android operating system, Android application is installed in prompting.
Further, in said method, according in the step of HELPER APPLICATION corresponding to different terminal type prompting user installation, when terminal type is iOS operating system, iOS application is installed in prompting.
The present invention also provides a kind of method of automatic unlatching navigation page, comprising:
The http bag that monitoring terminal sends, when monitoring the http bag of terminal transmission, extracts the MAC Address in http bag;
Consult the MAC Address whether existing in the mac address table of having accessed a this locality in described http bag,
If exist, allow described http bag to pass through;
If do not exist, to terminal, return to preset navigation page;
MAC Address in described http bag is deposited in the mac address table of having accessed described this locality.
Compared with prior art, the http that the present invention sends by monitoring terminal wraps, when monitoring http bag that terminal sends and pass through, the local MAC Address of having accessed of mac address table storage, extract the MAC Address in described http bag, in the mac address table that described this locality had been accessed, whether there is the MAC Address in described http bag, if exist, allow described http bag to pass through, if do not exist, return to preset navigation page, MAC Address in described http bag is deposited in the mac address table of having accessed described this locality, MAC Address in the http bag that can send according to terminal judges whether this terminal is first passage router access network, when being judged as first, can directly proceed to navigation page, and point out user installation service software, thereby effectively improve user's experience.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Embodiment mono-
As shown in Figure 1, the present invention also provides a kind of router of automatic unlatching navigation page, comprises LAN mouth 11, extraction module 12, mac address table 13, consults module 14 and memory module 15.
The http bag that LAN mouth 11 sends for monitoring terminal.
When extraction module 12 passes through for monitor the http bag of terminal transmission when LAN mouth, extract the MAC Address in described http bag.
Mac address table 13 is for storing local MAC Address of having accessed.
Consult module 14 for whether there is the MAC Address in described http bag at described mac address table, if exist, allow described http bag to pass through, if do not exist, return to preset navigation page.
Preferably, described in, consult module 14 and return to corresponding navigation page according to different terminal types.
Preferably, described in consult module 14 according to HELPER APPLICATION corresponding to different terminal type prompting user installation, for example, when terminal type is Windows PC operating system, IE plug-in unit is installed in prompting; When terminal type is Android operating system, Android application is installed in prompting; When terminal type is iOS operating system, iOS application is installed in prompting.
Memory module 15 is for depositing the MAC Address of described http bag in described mac address table in.
In the present embodiment, the http sending by LAN mouth monitoring terminal wraps, when LAN mouth monitors http bag that terminal sends and passes through, the local MAC Address of having accessed of mac address table storage, extraction module extracts the MAC Address in described http bag, consult and in the mac address table that module accessed in described this locality, whether have the MAC Address in described http bag, if exist, allow described http bag to pass through, if do not exist, return to preset navigation page, memory module deposits the MAC Address in described http bag in the mac address table of having accessed described this locality in, MAC Address in the http bag that can send according to terminal judges whether this terminal is first passage router access network, when being judged as first, can directly proceed to navigation page, and point out user installation service software, thereby effectively improve user's experience.
Embodiment bis-
As shown in Figure 2, the present invention also provides a kind of system of automatic unlatching navigation page, comprises monitoring modular 21, extraction module 22, mac address table 23, consults module 24 and memory module 25.
The http bag that monitoring modular 21 sends for monitoring terminal.
Extraction module 22 for when monitor http bag that terminal sends by time, extract the MAC Address in described http bag.
Mac address table 23 is for storing local MAC Address of having accessed.
Consult module 24 for whether having the MAC Address in described http bag in described mac address table inquiry, if exist, allow described http bag to pass through, if do not exist, return to preset navigation page.
Preferably, described in, consult module 24 and return to corresponding navigation page according to different terminal types.
Preferably, described in consult module 24 according to HELPER APPLICATION corresponding to different terminal type prompting user installation, for example, when terminal type is Windows PC operating system, IE plug-in unit is installed in prompting; When terminal type is Android operating system, Android application is installed in prompting; When terminal type is iOS operating system, iOS application is installed in prompting.
Memory module 25 is for depositing the MAC Address of described http bag in described mac address table in.
In the present embodiment, the http sending by monitoring module monitors terminal wraps, when monitoring http bag that terminal sends and pass through, the local MAC Address of having accessed of mac address table storage, extraction module extracts the MAC Address in described http bag, consult and in the mac address table that module accessed in described this locality, whether have the MAC Address in described http bag, if exist, allow described http bag to pass through, if do not exist, return to preset navigation page, memory module deposits the MAC Address in described http bag in described mac address table in, MAC Address in the http bag that can send according to terminal judges whether this terminal is first passage router access network, when being judged as first, can directly proceed to navigation page, and point out user installation service software, thereby effectively improve user's experience.
Embodiment tri-
As shown in Figure 3, the present invention also provides a kind of method of automatic unlatching navigation page of router of the automatic unlatching navigation page that adopts above-described embodiment one, comprising:
Step S11, the http bag that LAN mouth monitoring terminal sends, when monitoring http bag that terminal sends by LAN mouth, extracts the MAC Address in http bag;
Step S12, consults in local mac address table of having accessed whether have the MAC Address in described http bag, if exist, performs step S23, if do not exist, and step S24;
Step S13, allows described http bag to pass through;
Step S14, returns to preset navigation page to terminal;
Preferably, in step S14, according to different terminal types, return to corresponding navigation page;
Preferably, in step S14, according to different HELPER APPLICATION corresponding to terminal type prompting user installation, for example, when terminal type is Windows PC operating system, IE plug-in unit is installed in prompting; When terminal type is Android operating system, Android application is installed in prompting; When terminal type is iOS operating system, iOS application is installed in prompting;
Step S15, deposits the MAC Address in described http bag in the mac address table of having accessed described this locality in.
In the present embodiment, when monitoring http bag that terminal sends by LAN mouth, extract the MAC Address in http bag, consult and in local mac address table of having accessed, whether have the MAC Address in described http bag, if exist, allow described http bag to pass through, if do not exist, to terminal, return to preset navigation page, MAC Address in described http bag is deposited in the mac address table of having accessed described this locality, MAC Address in the http bag that can send according to terminal judges whether this terminal is first passage router access network, when being judged as first, can directly proceed to navigation page, and point out user installation service software, thereby effectively improve user's experience.
Embodiment tetra-
As shown in Figure 4, the invention provides a kind of method of automatic unlatching navigation page, comprising:
Step S21, the http bag that monitoring terminal sends, when monitoring the http bag of terminal transmission, extracts the MAC Address in http bag;
Step S22, consults in the mac address table of having accessed a this locality whether have the MAC Address in described http bag, if exist, performs step S23, if do not exist, and execution step S24;
Step S23, allows described http bag to pass through;
Step S24, returns to preset navigation page to terminal;
Preferably, in step S24, according to different terminal types, return to corresponding navigation page;
Preferably, in step S24, according to different HELPER APPLICATION corresponding to terminal type prompting user installation, for example, when terminal type is Windows PC operating system, IE plug-in unit is installed in prompting; When terminal type is Android operating system, Android application is installed in prompting; When terminal type is iOS operating system, iOS application is installed in prompting;
Step S25, deposits the MAC Address in described http bag in the mac address table of having accessed described this locality in.
In the present embodiment, the http bag that monitoring terminal sends, when monitoring the http bag of terminal transmission, extract the MAC Address in http bag, consult the MAC Address whether existing in the mac address table of having accessed a this locality in described http bag, if exist, allow described http bag to pass through, if do not exist, to terminal, return to preset navigation page, MAC Address in described http bag is deposited in the mac address table of having accessed described this locality, MAC Address in the http bag that can send according to terminal judges whether this terminal is first passage router access network, when being judged as first, can directly proceed to navigation page, and point out user installation service software, thereby effectively improve user's experience.
In sum, the http that the present invention sends by monitoring terminal wraps, when monitoring http bag that terminal sends and pass through, the local MAC Address of having accessed of mac address table storage, extract the MAC Address in described http bag, in the mac address table that described this locality had been accessed, whether there is the MAC Address in described http bag, if exist, allow described http bag to pass through, if do not exist, return to preset navigation page, MAC Address in described http bag is deposited in the mac address table of having accessed described this locality, MAC Address in the http bag that can send according to terminal judges whether this terminal is first passage router access network, when being judged as first, can directly proceed to navigation page, and point out user installation service software, thereby effectively improve user's experience.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed system of embodiment, owing to corresponding to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
Professional can also further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these change and modification.