CN104768238A - Method and system for achieving multi-mode work of wireless router - Google Patents
Method and system for achieving multi-mode work of wireless router Download PDFInfo
- Publication number
- CN104768238A CN104768238A CN201510129039.8A CN201510129039A CN104768238A CN 104768238 A CN104768238 A CN 104768238A CN 201510129039 A CN201510129039 A CN 201510129039A CN 104768238 A CN104768238 A CN 104768238A
- Authority
- CN
- China
- Prior art keywords
- mode
- pattern
- wireless
- wireless router
- setting unit
- 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
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/08—Access point devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/58—Association of routers
- H04L45/586—Association of routers of virtual routers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a method and system for achieving multi-mode work of a wireless router. At least two work modes can be achieved at the same time by only using the single wireless router. For example, the function of wireless hot spot access and the function of collecting the mac address of a mobile terminal can be achieved at the same time. Moreover, for the reason that the two work modes cannot affect each other, the process can be executed continuously, continuous wireless access service is achieved, and meanwhile the MAC address of the wireless terminal can be collected continuously. Due to the fact that the wireless router achieves at least two work modes, the equipment cost can be effectively lowered.
Description
Technical field
The present invention relates to a kind of method and system realizing wireless router multi-mode working, specifically a kind of mode of operation that wireless router can be made under the state of continuous operation simultaneously to realize two or more.
Background technology
Wireless router is the router with wireless coverage function, and it is mainly used in user's online and wireless coverage.Wireless router can regard a transponder as, and broadband network signal is transmitted to neighbouring Wireless Communication Equipment by antenna, such as the mobile phone etc. of notebook computer, panel computer, support Wifi.Main function components in wireless router is wireless network card, and for general wireless network card, common mode of operation has Managed, Ad-Hoc and Monitor Three models.
Managed pattern, be connected for carrying out access with wireless device, under this pattern, wireless router is as the focus of common wireless device, for user provides online wireless access service function.This is that wireless router applies one of maximum mode of operation.
Under Monitor pattern, wireless router, by scanning wireless terminal, gathers the mac address information of wireless terminal around.
Ad-Hoc pattern, can use when carrying out direct-connected for needs two main frames, is to adopt the mode of peer-to-peer network to connect between such main frame.
But both needed to provide wireless access function in some occasion, and needed again the MAC Address gathering wireless terminal around, the following two kinds mode now can be adopted to realize:
(1) take the mode of rotation work pattern, under namely allowing wireless router work in Managed pattern within a period of time, under working in Monitor pattern more after a period of time, go round and begin again;
(2) two wireless routers are used, under one of them wireless router is operated in Managed pattern, under another wireless router is operated in Monitor pattern.
The wherein rotation of first method owing to being two kinds of modes, cannot provide continuous print wireless access function, and there will be the phenomenon that online is interrupted when user's online, online is experienced bad; Be intermittent when scanning wireless terminal simultaneously, part wireless terminal can be caused to be missed, do not collect their MAC Address.And second method, due to needs two wireless routers, add cost and drop into.
Summary of the invention
For this reason, technical problem to be solved by this invention is to provide a kind of method and system realizing wireless router multi-mode working.
For solving the problems of the technologies described above, the invention provides following technical scheme:
The invention provides a kind of method realizing wireless router multi-mode working, comprise the steps:
The mode of operation arranging wireless network card is first mode;
Generate the second wireless dummy network interface card;
The mode of operation arranging the second wireless dummy network interface card is the second pattern.
The above-mentioned method realizing wireless router multi-mode working, described first mode is Managed pattern, and described second pattern is Monitor pattern; Or described first mode is Monitor pattern, described second pattern is Managed pattern.
The above-mentioned method realizing wireless router multi-mode working, described first mode is Managed pattern, and described second pattern is Ad-Hoc pattern; Or described first mode is Ad-Hoc pattern, described second pattern is Managed pattern.
The above-mentioned method realizing wireless router multi-mode working, described first mode is Monitor pattern, and described second pattern is Ad-Hoc pattern; Or described first mode is Ad-Hoc pattern, described second pattern is Monitor pattern.
The above-mentioned method realizing wireless router multi-mode working, also comprises the steps:
Generate the 3rd wireless dummy network interface card;
The mode of operation arranging the 3rd wireless dummy network interface card is the three-mode being different from first mode and the second pattern.
The present invention also provides a kind of system realizing wireless router multi-mode working, comprising:
First setting unit is first mode for arranging the mode of operation of wireless network card;
Second Microsoft Loopback Adapter generation unit, for generating the second wireless dummy network interface card;
Second setting unit is the second pattern for arranging the mode of operation of the second wireless dummy network interface card.
The above-mentioned system realizing wireless router multi-mode working, the first mode that described first setting unit is arranged is Managed pattern, and the second pattern that described second setting unit is arranged is Monitor pattern; Or the first mode that the first setting unit is arranged is Monitor pattern, the second pattern that described second setting unit is arranged is Managed pattern.
The above-mentioned system realizing wireless router multi-mode working, the first mode that described first setting unit is arranged is Managed pattern, and the second pattern that described second setting unit is arranged is Ad-Hoc pattern; Or the first mode that described first setting unit is arranged is Ad-Hoc pattern, the second pattern that described second setting unit is arranged is Managed pattern.
The above-mentioned system realizing wireless router multi-mode working, the first mode that described first setting unit is arranged is Monitor pattern, and the second pattern that described second setting unit is arranged is Ad-Hoc pattern; Or the first mode that described first setting unit is arranged is Ad-Hoc pattern, the second pattern that described second setting unit is arranged is Monitor pattern.
The above-mentioned system realizing wireless router multi-mode working, also comprises:
3rd Microsoft Loopback Adapter generation unit, for generating the 3rd wireless dummy network interface card;
3rd setting unit is the three-mode being different from first mode and the second pattern for arranging the mode of operation of the 3rd wireless dummy network interface card.
Technique scheme of the present invention has the following advantages compared to existing technology:
(1) method and system realizing wireless router multi-mode working of the present invention, can use a wireless router, just can realize at least two kinds of mode of operations simultaneously.Such as can realize the function of the mac address of hotspot access and collection mobile terminal simultaneously.Further, due to two kinds of mode of operations mutually between not impact, so can carry out continuously, both can realize successional wireless access service, realize successional Wireless terminal-MAC address collection simultaneously.Owing to adopting a wireless router to achieve at least two kinds of mode of operations, effectively equipment cost can be reduced.
(2) method and system realizing wireless router multi-mode working of the present invention, the actual mode of operation of wireless network card and the mode of operation of Microsoft Loopback Adapter can be selected arbitrarily, flexible working mode.
(3) method and system realizing wireless router multi-mode working of the present invention, two Microsoft Loopback Adapters can also be set, use wireless router can be realized, realize three kinds of mode of operations simultaneously, and three kinds of mode of operations can provide service continuously, without the need to being interrupted, reduce costs further.
Accompanying drawing explanation
In order to make content of the present invention be more likely to be clearly understood, below according to a particular embodiment of the invention and by reference to the accompanying drawings, the present invention is further detailed explanation, wherein
Fig. 1 is the flow chart figure that one embodiment of the invention realizes the method for wireless router multi-mode working;
Fig. 2 is the flow chart figure that one embodiment of the invention realizes the method for wireless router multi-mode working;
Fig. 3 is the theory diagram that one embodiment of the invention realizes the system of wireless router multi-mode working;
Fig. 4 is the theory diagram that one embodiment of the invention realizes the system of wireless router multi-mode working.
Embodiment
embodiment 1
The present embodiment provides a kind of method realizing wireless router multi-mode working, as shown in Figure 1, comprises the steps:
S1: the mode of operation arranging wireless network card is first mode.
S2: generate the second wireless dummy network interface card.
S3: the mode of operation arranging the second wireless dummy network interface card is the second pattern.
In practical operation, can implement according to following operating procedure:
(1) in wireless router, the line activating wireless network card Wlan0 that goes forward side by side is loaded into.
(2) arranging described operating mode of wireless network card is Managed, and arrange the described password of wireless network card WEP and the title of SSID, now wireless router can provide wireless Internet access access service.
(3) a wireless dummy network interface card mon0 is generated by software programming technique.
(4) arranging mon0 Microsoft Loopback Adapter is Monitor pattern.By Microsoft Loopback Adapter, WIFI wireless communication data bag can be captured in real time on each channel of wireless router.
(5) resolve 802.11 agreement frame heads of each packet, from the BSSID field of frame head, Source address field, Destination address field, extract the MAC Address of wireless terminal.
The above-mentioned method realizing wireless router multi-mode working, can use a wireless router, just can realize at least two kinds of mode of operations simultaneously.Such as can realize the function of the mac address of hotspot access and collection mobile terminal simultaneously.Further, due to two kinds of mode of operations mutually between not impact, so can carry out continuously, both can realize successional wireless access service, realize successional Wireless terminal-MAC address collection simultaneously.Owing to adopting a wireless router to achieve at least two kinds of mode of operations, effectively equipment cost can be reduced.
According to the demand of wireless router mode of operation, it specifically comprises following several mode: described first mode is Managed pattern, and described second pattern is Monitor pattern; Or described first mode is Monitor pattern, described second pattern is Managed pattern.Or described first mode is Managed pattern, described second pattern is Ad-Hoc pattern; Or described first mode is Ad-Hoc pattern, described second pattern is Managed pattern.Or described first mode is Monitor pattern, described second pattern is Ad-Hoc pattern; Or described first mode is Ad-Hoc pattern, described second pattern is Monitor pattern.Namely the actual mode of operation of wireless network card and the mode of operation of Microsoft Loopback Adapter can be selected arbitrarily, flexible working mode.
As preferred scheme, as shown in Figure 2, the described method realizing wireless router multi-mode working, also comprises the steps:
S4: generate the 3rd wireless dummy network interface card.
S5: the mode of operation arranging the 3rd wireless dummy network interface card is the three-mode being different from first mode and the second pattern.
Namely two Microsoft Loopback Adapters being set, use wireless router can be realized, realize three kinds of mode of operations simultaneously, and three kinds of mode of operations can providing service continuously, without the need to being interrupted, reducing costs further.
embodiment 2
The present embodiment provides a kind of system realizing wireless router multi-mode working, as shown in Figure 3, comprising:
First setting unit is first mode for arranging the mode of operation of wireless network card.
Second Microsoft Loopback Adapter generation unit, for generating the second wireless dummy network interface card.
Second setting unit is the second pattern for arranging the mode of operation of the second wireless dummy network interface card.
In practical operation, can implement according to following operating procedure:
(1) in wireless router, the line activating wireless network card Wlan0 that goes forward side by side is loaded into.
(2) arranging described operating mode of wireless network card is Managed, and arrange the described password of wireless network card WEP and the title of SSID, now wireless router can provide wireless Internet access access service.
(3) a wireless dummy network interface card mon0 is generated by software programming technique.
(4) arranging mon0 Microsoft Loopback Adapter is Monitor pattern.By Microsoft Loopback Adapter, WIFI wireless communication data bag can be captured in real time on each channel of wireless router.
(5) resolve 802.11 agreement frame heads of each packet, from the BSSID field of frame head, Source address field, Destination address field, extract the MAC Address of wireless terminal.
The above-mentioned system realizing wireless router multi-mode working, can use a wireless router, just can realize at least two kinds of mode of operations simultaneously.Such as can realize the function of the mac address of hotspot access and collection mobile terminal simultaneously.Further, due to two kinds of mode of operations mutually between not impact, so can carry out continuously, both can realize successional wireless access service, realize successional Wireless terminal-MAC address collection simultaneously.Owing to adopting a wireless router to achieve at least two kinds of mode of operations, effectively equipment cost can be reduced.In the put into pratise of reality, the airmon-ng instrument of increasing income in Aircrack-ng suit can be used to realize generating virtual network interface card.
According to the demand of wireless router mode of operation, it specifically comprises following several mode: the first mode that described first setting unit is arranged is Managed pattern, and the second pattern that described second setting unit is arranged is Monitor pattern; Or the first mode that the first setting unit is arranged is Monitor pattern, the second pattern that described second setting unit is arranged is Managed pattern.Or the first mode that described first setting unit is arranged is Managed pattern, the second pattern that described second setting unit is arranged is Ad-Hoc pattern; Or the first mode that described first setting unit is arranged is Ad-Hoc pattern, the second pattern that described second setting unit is arranged is Managed pattern.Or the first mode that described first setting unit is arranged is Monitor pattern, the second pattern that described second setting unit is arranged is Ad-Hoc pattern; Or the first mode that described first setting unit is arranged is Ad-Hoc pattern, the second pattern that described second setting unit is arranged is Monitor pattern.Namely the actual mode of operation of wireless network card and the mode of operation of Microsoft Loopback Adapter can be selected arbitrarily, flexible working mode.
As preferred scheme, as shown in Figure 4, the described system realizing wireless router multi-mode working, also comprises:
3rd Microsoft Loopback Adapter generation unit, for generating the 3rd wireless dummy network interface card.
3rd setting unit is the three-mode being different from first mode and the second pattern for arranging the mode of operation of the 3rd wireless dummy network interface card.
Namely two Microsoft Loopback Adapters being set, use wireless router can be realized, realize three kinds of mode of operations simultaneously, and three kinds of mode of operations can providing service continuously, without the need to being interrupted, reducing costs further.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Claims (10)
1. realize a method for wireless router multi-mode working, it is characterized in that, comprise the steps:
The mode of operation arranging wireless network card is first mode;
Generate the second wireless dummy network interface card;
The mode of operation arranging the second wireless dummy network interface card is the second pattern.
2. the method realizing wireless router multi-mode working according to claim 1, is characterized in that:
Described first mode is Managed pattern, and described second pattern is Monitor pattern; Or described first mode is Monitor pattern, described second pattern is Managed pattern.
3. the method realizing wireless router multi-mode working according to claim 1, is characterized in that:
Described first mode is Managed pattern, and described second pattern is Ad-Hoc pattern; Or described first mode is Ad-Hoc pattern, described second pattern is Managed pattern.
4. the method realizing wireless router multi-mode working according to claim 1, is characterized in that, described first mode is Monitor pattern, and described second pattern is Ad-Hoc pattern; Or described first mode is Ad-Hoc pattern, described second pattern is Monitor pattern.
5., according to the arbitrary described method realizing wireless router multi-mode working of claim 1-4, it is characterized in that, also comprise the steps:
Generate the 3rd wireless dummy network interface card;
The mode of operation arranging the 3rd wireless dummy network interface card is the three-mode being different from first mode and the second pattern.
6. realize a system for wireless router multi-mode working, it is characterized in that, comprising:
First setting unit is first mode for arranging the mode of operation of wireless network card;
Second Microsoft Loopback Adapter generation unit, for generating the second wireless dummy network interface card;
Second setting unit is the second pattern for arranging the mode of operation of the second wireless dummy network interface card.
7. the system realizing wireless router multi-mode working according to claim 6, is characterized in that:
The first mode that described first setting unit is arranged is Managed pattern, and the second pattern that described second setting unit is arranged is Monitor pattern; Or the first mode that the first setting unit is arranged is Monitor pattern, the second pattern that described second setting unit is arranged is Managed pattern.
8. the system realizing wireless router multi-mode working according to claim 6, is characterized in that:
The first mode that described first setting unit is arranged is Managed pattern, and the second pattern that described second setting unit is arranged is Ad-Hoc pattern; Or the first mode that described first setting unit is arranged is Ad-Hoc pattern, the second pattern that described second setting unit is arranged is Managed pattern.
9. the system realizing wireless router multi-mode working according to claim 6, is characterized in that, the first mode that described first setting unit is arranged is Monitor pattern, and the second pattern that described second setting unit is arranged is Ad-Hoc pattern; Or the first mode that described first setting unit is arranged is Ad-Hoc pattern, the second pattern that described second setting unit is arranged is Monitor pattern.
10., according to the arbitrary described system realizing wireless router multi-mode working of claim 6-9, it is characterized in that, also comprise:
3rd Microsoft Loopback Adapter generation unit, for generating the 3rd wireless dummy network interface card;
3rd setting unit is the three-mode being different from first mode and the second pattern for arranging the mode of operation of the 3rd wireless dummy network interface card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510129039.8A CN104768238A (en) | 2015-03-24 | 2015-03-24 | Method and system for achieving multi-mode work of wireless router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510129039.8A CN104768238A (en) | 2015-03-24 | 2015-03-24 | Method and system for achieving multi-mode work of wireless router |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104768238A true CN104768238A (en) | 2015-07-08 |
Family
ID=53649753
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510129039.8A Pending CN104768238A (en) | 2015-03-24 | 2015-03-24 | Method and system for achieving multi-mode work of wireless router |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104768238A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107592663A (en) * | 2017-09-21 | 2018-01-16 | 杭州全维技术股份有限公司 | A kind of method that AP provides focus and frequency sweep simultaneously |
CN110808870A (en) * | 2019-09-30 | 2020-02-18 | 深圳市九洲电器有限公司 | Router testing method and related product |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101828156A (en) * | 2007-10-19 | 2010-09-08 | 微软公司 | Maintaining multiple, simultaneous wireless network connections using a single radio |
CN102325074A (en) * | 2011-07-08 | 2012-01-18 | 清华大学 | Three-network convergence system |
CN103781188A (en) * | 2012-10-22 | 2014-05-07 | 联想(北京)有限公司 | Virtual network card constructing method and electronic equipment |
US20140301363A1 (en) * | 2013-04-06 | 2014-10-09 | Meru Networks | Access point for surveillance of anomalous devices |
-
2015
- 2015-03-24 CN CN201510129039.8A patent/CN104768238A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101828156A (en) * | 2007-10-19 | 2010-09-08 | 微软公司 | Maintaining multiple, simultaneous wireless network connections using a single radio |
CN102325074A (en) * | 2011-07-08 | 2012-01-18 | 清华大学 | Three-network convergence system |
CN103781188A (en) * | 2012-10-22 | 2014-05-07 | 联想(北京)有限公司 | Virtual network card constructing method and electronic equipment |
US20140301363A1 (en) * | 2013-04-06 | 2014-10-09 | Meru Networks | Access point for surveillance of anomalous devices |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107592663A (en) * | 2017-09-21 | 2018-01-16 | 杭州全维技术股份有限公司 | A kind of method that AP provides focus and frequency sweep simultaneously |
CN110808870A (en) * | 2019-09-30 | 2020-02-18 | 深圳市九洲电器有限公司 | Router testing method and related product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109743783B (en) | Data transmission control method and related product | |
CN106793090B (en) | The selection method and system of D2D direct communication resources | |
CN103402232B (en) | Return the method and apparatus of home network | |
CN103209416B (en) | The method of cell networking and device | |
CN109548175A (en) | A kind of conversation processing method and device | |
CN102378175A (en) | Wireless local area network (WLAN) authentication method and mobile terminal | |
CN103458404B (en) | Wi-Fi hotspot connection method and system | |
CN103338483A (en) | Data distribution method, data distribution device and heterogeneous network | |
US12016064B2 (en) | Method for establishing hotspot connection and terminal device | |
CN104469735B (en) | A kind of SIM card application method, SIM card distribution method and device | |
US20150098430A1 (en) | Channel switching method, apparatus, and device | |
CN109462880A (en) | WiFi network connection method and device | |
CN101951665A (en) | Routing method of double-card mobile terminal and double-card mobile terminal | |
CN104717709A (en) | Network switching method and device | |
CN105101271A (en) | Access device information display method and apparatus | |
CN104519482B (en) | A kind of device parameter configuration method and device | |
CN104066083A (en) | Method and device used for accessing wireless local area network | |
CN103052094B (en) | Method for acquiring service set identifier of wireless mobile terminal | |
CN105187452A (en) | Wireless network authentication method and system based on APP control | |
CN107484210A (en) | A kind of data transmission method and device | |
CN104768238A (en) | Method and system for achieving multi-mode work of wireless router | |
CN103024570B (en) | A kind of TV program search method, Set Top Box and shared server | |
CN103686945A (en) | Method and device for automatically selecting wireless local area networks | |
CN107708142B (en) | Grouping method, device and system for access device AP | |
CN109639715A (en) | Method, apparatus, equipment and the computer readable storage medium for avoiding honeysuckle from attacking |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150708 |