CN105246133A - Guest network control method, guest network control device and router - Google Patents
Guest network control method, guest network control device and router Download PDFInfo
- Publication number
- CN105246133A CN105246133A CN201510780259.7A CN201510780259A CN105246133A CN 105246133 A CN105246133 A CN 105246133A CN 201510780259 A CN201510780259 A CN 201510780259A CN 105246133 A CN105246133 A CN 105246133A
- Authority
- CN
- China
- Prior art keywords
- guest network
- network interface
- guest
- router
- control method
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a guest network control method, a guest network control device and a router. The guest network control method comprises the following steps: opening a guest network interface on the router, and starting timing; sending service set identifiers through the guest network interface, and establishing the connection between a guest terminal and a network terminal; determining whether a timekeeping time reaches a preset time or not; and controlling the guest network interface to stop the sending of the service set identifiers if the timekeeping time reaches the preset time. According to the guest network control method provided by the invention, the efficiency of the guest network access may be greatly increased, and the safety of the network may be further improved.
Description
Technical field
The present invention relates to a kind of wireless communication technology field, particularly relate to a kind of control method of guest network, control device and router.
Background technology
Popularizing of mobile Internet, makes the use of wireless router also more and more extensive, while facilitating everybody to surf the Net, also brings certain risk.Wireless network does not arrange password or password is too simple, make to be easy to be cracked, cause potential safety hazard, so the security protection consciousness of people also strengthens gradually, generally being rubbed net to prevent, all password can be set for router, this password generally do not wish beyond by family other people know, too complicated when but if password is set, often there is again the phenomenon oneself all do not remembered.
At this moment, if when having guest to visit, one be password too complexity do not remember; Two is do not wish that guest knows oneself password, but meets the online demand of guest again simultaneously, how quick again easily for guest provides special guest network just to become one of those skilled in the art's problem demanding prompt solution.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of control method of guest network, control device and router, for solving the problem to visitor's open network inconvenience in prior art.
For achieving the above object and other relevant objects, the invention provides a kind of control method of guest network, the control method of described guest network comprises the following steps: the guest network interface opened on router also starts timing; Described guest network interface sends service set to set up the connection of visitor's terminal and network terminal; Judge whether timing time reaches Preset Time; If timing time reaches Preset Time, control described guest network interface and stop sending service set.
In one embodiment of the invention, by guest network interface described in the visitor's switch open on router.
In one embodiment of the invention, open described guest network interface by the software switch on router.
In one embodiment of the invention, the control method of described guest network also comprises: after unlatching guest network interface, send the notice of guest network interface unlatching to kernel; The flow of network inner protocol stack to guest network interface is monitored, and abandons described guest network interface to the data traffic between primary wireless network interface and Ethernet interface.
In one embodiment of the invention, sent the notice of guest network interface unlatching to kernel by NETLINK; Described network inner protocol stack is monitored at the flow of data link layer to guest network interface.
The invention provides a kind of control device of guest network, the control device of described guest network comprises: opening module, for opening the guest network interface on router; Time block, for carrying out timing after opening the guest network interface on router; Guest network interface module, for sending service set to set up the connection of visitor's terminal and network terminal; Judge module, for judging whether timing time reaches Preset Time; Control module, for when timing time reaches Preset Time, controls described guest network interface and stops sending service set.
In one embodiment of the invention, described opening module comprises visitor's switch, by guest network interface described in described visitor's switch open.
In one embodiment of the invention, described opening module is realized by software switch, opens described guest network interface by described software switch.
In one embodiment of the invention, the control device of described guest network also comprises: notification module, for after unlatching guest network interface, sends the notice of guest network interface unlatching to kernel; Network inner protocol stack module, for monitoring the flow of guest network interface, and abandons described guest network interface to the data traffic between primary wireless network interface and Ethernet interface.
The present invention also provides a kind of router, and described router comprises: the control device of the guest network as described in aforementioned any one.
As mentioned above, the control method of guest network of the present invention, control device and router, have following beneficial effect:
Control method timing simultaneously when opening the guest network interface on router of guest network of the present invention, when arriving Preset Time, namely control guest network interface to stop sending service set, thus make the only opening at short notice of guest network interface, so both meet the online demand of visitor, effectively prevent again that other users' rub net behavior.By such mode, substantially increase the unlatching efficiency of guest network, be very easy to the networking requirements of visitor, thus improve the experience of user.
Accompanying drawing explanation
Fig. 1 is shown as the schematic flow sheet of control method in an embodiment of guest network of the present invention.
Fig. 2 is shown as the structural representation of control method in another embodiment of guest network of the present invention.
Fig. 3 is shown as the structural representation of control device in an embodiment of guest network of the present invention.
Fig. 4 is shown as the structural representation of control device in another embodiment of guest network of the present invention.
Element numbers explanation
The control device of 2 guest network
21 opening module
22 time blocks
23 judge modules
24 guest network interface modules
25 control modules
26 notification modules
27 network inner protocol stack modules
S11 ~ S16 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
As described in the background art, in prior art, when there being visitor to come to visit, how for visitor provides network service to be easily a difficult problem of the prior art.And the present invention is head it off just, and propose a kind of guest network control method based on timer, by the method, guest network interface is carried out to the opening of short time, thus make visitor can be connected to network easily, and arrive after Preset Time in the time and automatically close network, thus effectively avoid other users rub net.
Refer to Fig. 1, the invention provides a kind of control method of guest network, the control method of described guest network comprises the following steps:
S11, opens the guest network interface on router and starts timing;
In the present embodiment, by guest network interface described in the visitor's switch open on router.That is, in the present embodiment, a physical button is set on the router, guest network interface can be opened fast by this physical button.Meanwhile, the clocking capability in the present embodiment is realized by software timer.
Certainly, those skilled in the art are just when understanding, and in other embodiments, can also open described guest network interface by software switch, this should not limit the scope of the invention.
S12, described guest network interface sends service set to set up the connection of visitor's terminal and network terminal;
After unlatching guest network interface, send service set (ServiceSetIdentifier, SSID) with interconnection network by guest network interface.
S13, judges whether timing time reaches Preset Time;
S14, if timing time reaches Preset Time, controls described guest network interface and stops sending service set.
In actual applications, during router startup, guest network is closed condition, when clicking the physical button (i.e. visitor's switch) be arranged on router, guest network is opened, start to send broadcast packet, start a software timer, such as simultaneously, by set timer at 1-2 minute, in interval during this period of time, guest can search wireless network and connects online, and after this time interval terminates, guest network starts to stop outside Broadcast SSIDs title.Because guest connects to network, even if so cannot be searched out the SSID of this guest network by other network terminals, guest remains and can surf the Net; And this guest network is not just present in for other strangers beyond guest.
By the method for the present embodiment, the function of surfing the Net of visitor can be realized fast, thus substantially increase the efficiency of visitor's interconnection network.
In actual applications, usual guest network interface, primary network interface and the Ethernet interface of Intranet are all connected together by the mode of bridge joint, regardless of the IP that the IP address got by which kind of interface is all the same network segment that same DHCPSERVER distributes, and each equipment room all can be accessed mutually.
If owner has set up a station server in Intranet, risky so beyond doubt.So in order to avoid other Network Interface Units of client-access of guest network, the control method of described guest network can also comprise the following steps (with reference to figure 2):
After unlatching guest network interface, perform step S15, send the notice of guest network interface unlatching to kernel; In the present embodiment, sent the notice of guest network interface unlatching to kernel by NETLINK.
Then perform step S16, the flow of network inner protocol stack to guest network interface is monitored, and abandons described guest network interface to the data traffic between primary wireless network interface and Ethernet interface.Described network inner protocol stack is monitored at the flow of data link layer to guest network interface.
In the present embodiment, after guest network interface is opened, application layer sends message by NETLINK to kernel, inform that kernel guest network is opened, network inner protocol stack is monitored at the flow of data link layer to guest network interface, the data traffic that guest network interface leads between primary wireless network interface and Ethernet interface is abandoned, thus the potential safety hazard of equipment under avoiding primary wireless network interface and Ethernet interface, substantially increase the fail safe of network.
With reference to figure 3, the invention provides a kind of control device of guest network, the control device of described guest network comprises: opening module 21, time block 22, judge module 23, guest network interface module 24, and control module 25.
Described opening module 21 is for opening the guest network interface on router;
Those skilled in the art should be understood that: described opening module comprises visitor's switch, by guest network interface described in described visitor's switch open.Or described opening module is realized by software switch, open described guest network interface by described software switch.
Described time block 22 for carrying out timing after opening the guest network interface on router;
Described judge module 23 is for judging whether timing time reaches Preset Time;
Described guest network interface module 24 is for sending service set to set up the connection of visitor's terminal and network terminal;
Described control module 25, for when timing time reaches Preset Time, controls described guest network interface and stops sending service set.
The control device of the guest network of the present embodiment can realize the function of surfing the Net of visitor efficiently, thus improves the efficiency of visitor's online.
With reference to figure 4, the control device of described guest network also comprises: notification module 26 and network inner protocol stack module 27.
Described module 26, for after unlatching guest network interface, sends the notice of guest network interface unlatching to kernel;
Described network inner protocol stack module 27 for monitoring the flow of guest network interface, and abandons described guest network interface to the data traffic between primary wireless network interface and Ethernet interface.
The control device of the guest network of the present embodiment cuts off the access between Guest Interface and primary wireless network interface, Ethernet interface, thus substantially increases the fail safe of network.
Correspondingly, the present invention also provides a kind of router, and described router comprises the control device of the guest network as described in aforementioned any one.The specific implementation of router of the present invention and workflow with reference to aforementioned about the control device of guest network and the detailed description of control method, can not repeat them here.
In sum, the control method of guest network of the present invention, control device and router, not only increase the online efficiency of visitor, but also improve the fail safe of network.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.
Claims (10)
1. a control method for guest network, is characterized in that, the control method of described guest network comprises the following steps:
Open the guest network interface on router and start timing;
Described guest network interface sends service set to set up the connection of visitor's terminal and network terminal;
Judge whether timing time reaches Preset Time;
If timing time reaches Preset Time, control described guest network interface and stop sending service set.
2. the control method of guest network according to claim 1, is characterized in that: by guest network interface described in the visitor's switch open on router.
3. the control method of guest network according to claim 1, is characterized in that: open described guest network interface by the software switch on router.
4. the control method of guest network according to claim 1, is characterized in that, the control method of described guest network also comprises:
After unlatching guest network interface, send the notice of guest network interface unlatching to kernel;
The flow of network inner protocol stack to guest network interface is monitored, and abandons described guest network interface to the data traffic between primary wireless network interface and Ethernet interface.
5. the control method of guest network according to claim 4, is characterized in that: the notice being sent the unlatching of guest network interface by NETLINK to kernel; Described network inner protocol stack is monitored at the flow of data link layer to guest network interface.
6. a control device for guest network, is characterized in that, the control device of described guest network comprises:
Opening module, for opening the guest network interface on router;
Time block, for carrying out timing after opening the guest network interface on router;
Guest network interface module, for sending service set to set up the connection of visitor's terminal and network terminal;
Judge module, for judging whether timing time reaches Preset Time;
Control module, for when timing time reaches Preset Time, controls described guest network interface and stops sending service set.
7. the control device of guest network according to claim 6, is characterized in that: described opening module comprises visitor's switch, by guest network interface described in described visitor's switch open.
8. the control device of guest network according to claim 6, is characterized in that: described opening module is realized by software switch, opens described guest network interface by described software switch.
9. the control device of guest network according to claim 6, is characterized in that, the control device of described guest network also comprises:
Notification module, for after unlatching guest network interface, sends the notice of guest network interface unlatching to kernel;
Network inner protocol stack module, for monitoring the flow of guest network interface, and abandons described guest network interface to the data traffic between primary wireless network interface and Ethernet interface.
10. a router, is characterized in that, described router comprises: the control device of the guest network as described in any one of claim 6-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510780259.7A CN105246133A (en) | 2015-11-13 | 2015-11-13 | Guest network control method, guest network control device and router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510780259.7A CN105246133A (en) | 2015-11-13 | 2015-11-13 | Guest network control method, guest network control device and router |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105246133A true CN105246133A (en) | 2016-01-13 |
Family
ID=55043551
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510780259.7A Pending CN105246133A (en) | 2015-11-13 | 2015-11-13 | Guest network control method, guest network control device and router |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105246133A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107359991A (en) * | 2017-08-22 | 2017-11-17 | 上海斐讯数据通信技术有限公司 | A kind of router, the method for generating cipher code of router guest network and system |
CN108574693A (en) * | 2018-04-17 | 2018-09-25 | 四川斐讯信息技术有限公司 | A kind of access management method and wireless router of wireless router |
CN110461024A (en) * | 2019-07-23 | 2019-11-15 | 深圳合强电子有限公司 | Method, router and the smart machine that smart machine is connect automatically with router |
CN114285819A (en) * | 2021-12-29 | 2022-04-05 | 深圳市共进电子股份有限公司 | Method and device for visiting intranet by visitor network, computer equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103369557A (en) * | 2012-03-29 | 2013-10-23 | 通用电气公司 | System and method for automated provisioning of a wireless device |
CN103563454A (en) * | 2011-05-27 | 2014-02-05 | 高通股份有限公司 | Allocating access to multiple radio access technologies via a multi-mode access point |
CN104038402A (en) * | 2014-06-11 | 2014-09-10 | 普联技术有限公司 | Method for realizing visitor network, and wireless router |
CN104053147A (en) * | 2014-06-19 | 2014-09-17 | 普联技术有限公司 | Method for starting and closing guest network and wireless router |
-
2015
- 2015-11-13 CN CN201510780259.7A patent/CN105246133A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103563454A (en) * | 2011-05-27 | 2014-02-05 | 高通股份有限公司 | Allocating access to multiple radio access technologies via a multi-mode access point |
CN103369557A (en) * | 2012-03-29 | 2013-10-23 | 通用电气公司 | System and method for automated provisioning of a wireless device |
CN104038402A (en) * | 2014-06-11 | 2014-09-10 | 普联技术有限公司 | Method for realizing visitor network, and wireless router |
CN104053147A (en) * | 2014-06-19 | 2014-09-17 | 普联技术有限公司 | Method for starting and closing guest network and wireless router |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107359991A (en) * | 2017-08-22 | 2017-11-17 | 上海斐讯数据通信技术有限公司 | A kind of router, the method for generating cipher code of router guest network and system |
CN108574693A (en) * | 2018-04-17 | 2018-09-25 | 四川斐讯信息技术有限公司 | A kind of access management method and wireless router of wireless router |
CN110461024A (en) * | 2019-07-23 | 2019-11-15 | 深圳合强电子有限公司 | Method, router and the smart machine that smart machine is connect automatically with router |
CN110461024B (en) * | 2019-07-23 | 2021-01-29 | 深圳合强电子有限公司 | Method for automatically connecting intelligent equipment and router, router and intelligent equipment |
CN114285819A (en) * | 2021-12-29 | 2022-04-05 | 深圳市共进电子股份有限公司 | Method and device for visiting intranet by visitor network, computer equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103117906B (en) | A kind of mobile terminal shares flux monitoring method during Wi-Fi hotspot | |
CN104185305B (en) | It is a kind of to apply networking methods and mobile terminal with priority | |
CN102377814B (en) | Remote assistance service method aiming at embedded operation system | |
TWI569618B (en) | Communication method of hiding privacy and system thereof | |
CN105246133A (en) | Guest network control method, guest network control device and router | |
CN104469660B (en) | Network-building method based on bluetooth | |
CN102710659B (en) | Wireless access equipment and automatic authentication method | |
CN107105458B (en) | A kind of information processing method and device | |
Liang et al. | A software defined security architecture for SDN-based 5G network | |
JP2013009254A (en) | Testing device and testing method for mobile communication terminal | |
CN105516961A (en) | Perception-free authentication method and system, control method and system based on same | |
CN105635084A (en) | Apparatus and method for authenticating terminal | |
CN105245539A (en) | Router visitor verification method and system and router | |
CN106330951A (en) | Network protection method, network protection device and network protection system | |
CN105897475B (en) | A kind of remote configuring method and router of router | |
CN105515937B (en) | Instant messaging method, terminal, server and system | |
CN105392182B (en) | The setting method and system of the network configuration information of WIFI equipment | |
CN105282735A (en) | Privacy protection method and protection system used based on mobile terminal networking | |
CN107528712A (en) | The determination of access rights, the access method of the page and device | |
CN104683092A (en) | Address list safe sharing method and system based on authorization | |
US20180034693A1 (en) | Router authority management method and system and router | |
CN105404800B (en) | Account information authorization method, terminal and server | |
CN105245695B (en) | A kind of method and system improving wechat AirKiss compatibility | |
EP3096492B1 (en) | Page push method and system | |
CN107566325A (en) | Access the method and device of network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160113 |