CN100414880C - Method for realizing universal configuration of wireless network card based on 802.11 standard - Google Patents
Method for realizing universal configuration of wireless network card based on 802.11 standard Download PDFInfo
- Publication number
- CN100414880C CN100414880C CNB200510044207XA CN200510044207A CN100414880C CN 100414880 C CN100414880 C CN 100414880C CN B200510044207X A CNB200510044207X A CN B200510044207XA CN 200510044207 A CN200510044207 A CN 200510044207A CN 100414880 C CN100414880 C CN 100414880C
- Authority
- CN
- China
- Prior art keywords
- wireless network
- network card
- ndis
- handle
- equipment
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000007726 management method Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 8
- 238000013461 design Methods 0.000 description 5
- 238000011161 development Methods 0.000 description 5
- 230000008901 benefit Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000008676 import Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 2
- 239000000969 carrier Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 239000003205 fragrance Substances 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a method for realizing general setting of wireless network interface card, based on the 802.11 standard, wherein said invention can easily set wireless network interface card on manager on the windows operation system, with high efficiency and simple operation; said method uses the character that most 802.11 wireless network interface cards follow the NDIS (network driver interface specification), uses NDIS small driving port to complete the read and set on the parameter of 802.11 wireless network interface card.
Description
Technical field
Collocation method of the present invention relates on Windows operating system and realizes the generic configuration of wireless network card based on 802.11 standards.
Background technology
The Internet and development of computer and application popularization have brought far-reaching influence for people's work and life.The cable network connecting mode can not satisfy people's requirement far away at present, complicated line has limited the convenient of equipment and has used, when cable is fixed on information equipment somewhere, mobile hand-held device is difficult to bring into play conveniently moving advantage efficiently, also the user who uses these networking gears is strapped in fixed-site, living to people, this has come many inconvenience.
Existing internet technique has been broken through the constraint of cable, and wireless lan (wlan) arises at the historic moment.WLAN transmits and receive data in air by electromagnetic wave, compare with cable network, WLAN have install convenient, use flexibly, be easy to advantages such as expansion and economy.Simultaneously along with development of science and technology wireless transmission speed also in gradually raising, wireless mobile Internet access " then become the new trend of present network insertion development.
Wireless mobile Internet access be unable to do without wireless network card, and the client wireless access device major part of usefulness is the wireless network card that meets 802.11 standards now.802.11 wireless network card is from hardware, at present main chip manufacturer be a few producer, and just the product according to self producer provides software interface, can't accomplish the product of other chip producers of compatibility.Because the problem of technical licensing and permission agreement, domestic manufacturers are difficult to obtain core technology, and the wireless network card major part is used on the MicrosoftWindows operating system, the user uses the supporting software of these network interface cards to need some professional knowledge, and at this moment seeking a kind of general easy-to-use configuration control and management method of 802.11 wireless network cards that realizes becomes active demand.
Summary of the invention
Of the present inventionly realize that the method for wireless network card generic configuration, its purpose are to address the above problem and not enough and provide a kind of method that on Windows operating system, realizes the generic configuration instrument for 802.11 wireless network card software developers based on 802.11 standards.By the method can be comparatively simply configuration wireless network card management tool on Windows operating system, service efficiency is higher and the development platform of easy operating is provided.
The described method that realizes the wireless network card generic configuration based on 802.11 standards, utilize current most 802.11 wireless network cards all to follow the characteristic of NDIS (Network Driver InterfaceSpecification) interface, finish parameter to these 802.11 wireless network cards by the little driving port of NDIS and read and be provided with and realize.
NDIS (NDIS) is that Microsoft is a kind of standard application program interface (API) that the local area network (LAN) driver of network interface unit (NIC) provides.NDIS (NetworkDriver Interface Specification) carries out its function in the media control layer (MAC) of data link layer (second layer).NIC hardware implementation procedure and media interviews control (MAC) device driver are closely related, and utilize the universal programming interface like this, can visit the all-network interface card of same medium (as Ethernet).
Secondly NDIS also has the function storehouse about network driver hardware, is mainly used in MAC and drives and more senior protocol-driven (as TCP/IP).Utilize the various function supports in function storehouse, make the development process of MAC and protocol-driven become relative simple, simultaneously to a certain extent, covered the dependency characteristic of platform.By NDIS, also network driver maintenance of state information and parameter be can help in addition, pointer functionality, handle and the parameter block etc. that relate in connection or other system value comprised.
The network-driven that the NDIS standard is supported is divided three classes: portlet drives, the middle driving and protocol-driven.
The driver of existing common network interface card all is a miniport driver, and it has two kinds of basic functions: manage a network interface unit (NIC), comprise by NIC sending and receiving data; With senior UDI (as interim driver and transport protocol driver).
A portlet NIC driver is by NDIS storehouse and its NIC and the mutual communication of high-rise driver, so just for realizing that the generic configuration management tool provides technical support.
Use the wireless network card configuration management tool of collocation method of the present invention, mainly contain following components and form:
NDIS user interface service module.NDIS is followed in this module strictness, realizes and 802.11 wireless network card bottom layer driving interactive information, according to 802.11 wireless network card miniport drivers definition NDIS parameter, function, handle.
802.11 wireless network card general operation module (middleware).Utilize NDIS user's service module, come 802.11 wireless network card parameters are read and are provided with, what realization was all in this module carries out the application program operating interface to 802.11 wireless network cards.
The host process module.Be responsible for the startup work of whole whole software instrument.
The main window module.User's main operation interface is the carrier of other operational modules, realizes mutual with the user by this module, and this module is responsible for the scheduling of whole software instrument.
The scene management module.Add scene, set up a scene information and store into then in the data file, in tabulation, show this scene information; The deletion scene, at first this contextual data of inquiry is deleted in the scene data list, deletes in the time tabulation formerly then, if using this scene, then current network interface card will be enabled interim scene automatically; The configuration scene is configured existing scene information; Start scene, wireless network card is provided with according to middleware wireless network card control interface that provides and the scene parameter of choosing; Importing scene tabulation imports to scene table data file among the current application; Derivation scene tabulation, be with scene table data information copy in the middle of specified data file.
The wireless network search module.The interface of the acquisition current wireless network environment tabulation that is provided according to 802.11 wireless network card middlewares, obtaining parameter list resolves then, be shown on the original list, and has regularly query function, can make the user know current wireless network environment situation constantly, wireless network parameter comprises: the MAC Address of wireless aps, network identity (SSID), signal strength signal intensity, whether encrypt (cipher mode), the frequency of supporting, signal strength signal intensity etc.
The network card status display module.The parameters that the wireless network card parameter query interface that is provided according to 802.11 wireless network card middlewares can obtain wireless network card comprises: MAC Address, connection status, SSID, connection type, transmission channel, cipher mode, signal strength signal intensity, the bandwidth of being supported, connection speed etc., and display radio network interface card tcp/ip message comprises: DHCP mode, IP address, subnet mask, gateway address, DNS1, DNS2, WINS etc.; If the state refresh frequency at the state display page is 1 per second.
Pallet shortcut menu module.In order fully to improve the ease for use of this configuration tool, this module realizes tray icon, makes things convenient for user's handoff scenario, checks the information of current operated network interface card, formulates multiple shortcut, realizes a keyswitch function.
XML file operation module.The function that this module realizes mainly is that the XML data file is carried out reading and writing, parsing, be used for realizing scene information storage, read change or the like.
Method based on 802.11 standards realization wireless network card generic configuration of the present invention, its control flow is:
Start NDISUIO (NDIS User I/O) service routine on the Window (generally in the later version of Winsdows 2000, this service routine being arranged all).
If NDI SIO service routine does not exist in the system, then develop needed NDISUIO driver according to the NDISUIO routine that is provided among the Win DDK.
Utilize CreateFile to obtain NDIS equipment handle, handle is tied to all network equipments so that there is facility information to conduct interviews by handle timely and to control then.
Inquiring about all network equipments by handle, is 802.11 wireless network card equipment by checking that device attribute judges whether then.
Certain 802.11 wireless network card is configured and manages, at first open this wireless network card according to NDIS equipment handle and device name, and the access port of this equipment is tied on the original NDIS equipment handle, and the all-access to wireless network card is all undertaken by this equipment handle and OID (Object ID) later on.
As the described collocation method of above-mentioned method flow, have the following advantages:
1,802.11 wireless network cards on the current operation system be can inquire about, and the operation-interface of these wireless network cards, the parameters that can be provided with and inquire about 802.11 wireless network cards obtained.
2, search 802.11 wireless network environments in the residing environment of network interface card, and carry out scene management function (foundation of scene, delete, enable, revise, import, derive).
3, can make things convenient for the user to realize that the convenient of 802.11 wireless network card configuration informations switches.
Description of drawings
Fig. 1 is the structured flowchart of configured in one piece instrument;
Fig. 2 is bottom NDIS user service and 802.11 wireless network card bottom layer driving graphs of a relation;
Fig. 3 is the host process flow chart of described collocation method;
Fig. 4 is that main window starts flow chart;
The wireless network card operation control module that Fig. 5 is based on 802.11 standards starts the flow chart that NDISUIO serves;
Fig. 6 is a flow chart of opening 802.11 wireless network card control ports;
Fig. 7 is the flow chart that reads the parameter of 802.11 wireless network cards;
Fig. 8 is the flow chart that the parameter of 802.11 wireless network cards is set.
Embodiment
Embodiment 1, the method based on 802.11 standards realization wireless network card generic configuration of the present invention, and configuration tool as shown in Figure 1 mainly includes,
01: host process starts entire tool; 02: radio operation module (802.11 wireless network cards operation middleware); The 03:NDISUIO service module; 04: the main window of configuration tool; 05: the pallet shortcut menu is realized the module of shortcut; 06:802.11 wireless network card state display module; 07: the wireless environment scan module; 08: the scene management module; 09: Software tool relevant information display module; 10: the scene information input module; 11: scene essential information input module; 12: the enciphered message input module; 13: scene tcp/ip message input module.
As shown in Figure 2, in bottom NDIS user service and 802.11 wireless network card bottom layer driving graphs of a relation, 01:NDIS top service program; 02:NDIS Miniport Driver; 03:802.11 NIC.
Can call mutually between the above-mentioned module.
In the host process flow chart of collocation method as shown in Figure 3,
01: obtain operating system version, how decision starts 802.11 wireless network cards operation middleware; 02: the decision operation system version, see whether be the operating system of supporting; 03: start and welcome or the luxuriant and rich with fragrance screen of information; 04: start 802.11 wireless network card middlewares; 05: judge whether to start successfully; 06: start main window; 07: handle error message and withdraw from whole procedure.
Main window as shown in Figure 4 starts in the flow chart,
01: initializing variable comprises: window system menu, the menu that displayed scene is set, list of labels.Each each parameter of module display window is set; 02: starting state inquiry timer; 03: handle various message; 04: judge whether message is to withdraw from message; 05: withdraw from main window.
802.11 wireless network cards operation control module as shown in Figure 5 starts among the NDISUIO service procedure figure,
01: open the service control manager; 02: judge whether to open success; 03: open NDISUIO (NDIS USER I/O) service; 04: judge whether to open success; 06: start the NDISUIO service; 07: withdrawing from return value is TRUE; 08: stop the NIDISUIO service; 09: judge whether NDISUIO brings into operation; 10: withdrawing from return value is FALSE.
In the flow chart of opening 802.11 wireless network card control ports as shown in Figure 6,
01: judged whether that wireless network card opens; 02: do not judge whether the NDISUIO driving opens if open; 03: close the wireless network card control port and the handle symbol is the down state value; 04: obtain handle from newly calling the creatFile system function; 05: judge whether to obtain the handle success; 06: handle is tied on the all-network equipment; 07: judge whether to bind successfully; 08: indicate to drive and open success; 09: the control port of opening the wireless network card that to control; 10: open and whether successfully judge.11: open success, and return the S_OK value; 12: procedure failure, return the numerical value of the failure cause that is caused.
In the flow chart of the parameter that reads 802.11 wireless network cards as shown in Figure 7,
01: judge whether wireless network card is opened; 02: carry out the operation of opening equipment; 03: whether judgment device is opened successful; 04: send the order of query argument to the NDISUIO driving arrangement by DeviceIoControl; 05: judge whether successful inquiring; 06: the inquiry return data that receives is resolved; 07: successful inquiring is returned the S_OK value; 08: fail and return the E_FAIL value.
In the flow chart of the parameter that 802.11 wireless network cards are set as shown in Figure 8,
01: judge whether wireless network card is opened; 02: carry out the operation of opening equipment; 03: whether judgment device is opened successful; 04: to the transmission of NDISUIO driving arrangement the order of parameter and set parameter value are set by DeviceIoControl; 05: judge whether to be provided with success; 06: successful inquiring is returned the S_OK value; 07: fail and return the E_FAIL value.
As Fig. 1-shown in Figure 8, use collocation method of the present invention, can finish:
1, definition bottom NDIS user interface, support the bottom layer driving service routine of 802.11 wireless network card network interfaces according to the interface editor, select different driving developing instruments at different Windows operating system, finish the compiling of upper layer drivers according to Fig. 2 graph of a relation, finish the program of opening of 802.11 wireless network card NDIS user control ports according to Fig. 6, finish the parameter query of 802.11 wireless network cards according to Fig. 7 and operate, finish the parameter setting operation of 802.11 wireless network cards according to Fig. 8.
2, finish 802.11 wireless network cards according to 802.11 wireless network card configuration feature defined function interfaces and carry out the application program operating interface function, these handling functions comprise:
3, design host process module, the flow process of host process module as shown in Figure 3.
4, main window modular design, main window are the carriers of other windows such as scene management window, wireless environment scanning window, wireless network card state display window to change mouth.
5, the involved various windows of design scenario management window and scene management as: scene information input window, scene information are revised window, scene information imports and exports dialog box etc.
6, the design shortcut menu is realized a keyswitch function.
7, design scenario data storage method, the XML implementing reading and writing.
8, finish the whole software design according to Fig. 1.
Claims (1)
1. method that realizes the wireless network card generic configuration based on 802.11 standards, it utilizes current most 802.11 wireless network cards all to follow the characteristic of NDIS interface, finishes parameter to described 802.11 wireless network cards by the little driving port of NDIS and reads and be provided with and realize; It is characterized in that: its control flow is to start the NDISUIO service routine on the Window;
If the NDISIO service routine does not exist in the system, then develop needed NDISUIO driver according to the NDISUIO routine that is provided among the Win DDK;
Utilize CreateFile to obtain NDIS equipment handle, then described handle is tied to all network equipments so that facility information can conduct interviews by described handle and control timely;
Inquiring about all network equipments by described handle, is 802.11 wireless network card equipment by checking that device attribute judges whether then;
Certain 802.11 wireless network card is configured and manages, at first open this wireless network card according to described NDIS equipment handle and device name, and the access port of this equipment is tied on the original NDIS equipment handle, and the all-access to wireless network card is all undertaken by this equipment handle and OID later on.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB200510044207XA CN100414880C (en) | 2005-08-04 | 2005-08-04 | Method for realizing universal configuration of wireless network card based on 802.11 standard |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB200510044207XA CN100414880C (en) | 2005-08-04 | 2005-08-04 | Method for realizing universal configuration of wireless network card based on 802.11 standard |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1909469A CN1909469A (en) | 2007-02-07 |
| CN100414880C true CN100414880C (en) | 2008-08-27 |
Family
ID=37700464
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB200510044207XA Expired - Fee Related CN100414880C (en) | 2005-08-04 | 2005-08-04 | Method for realizing universal configuration of wireless network card based on 802.11 standard |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100414880C (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101640923A (en) | 2009-08-20 | 2010-02-03 | 深圳华为通信技术有限公司 | Method and device for acquiring network configuration information |
| CN103368879B (en) * | 2013-07-25 | 2016-08-17 | 西安星河亮点信息技术有限公司 | A kind of wlan system automatic signal detection method |
| CN104853368A (en) * | 2015-05-27 | 2015-08-19 | 北京汉柏科技有限公司 | Method and management system for configuring WIFI access point based on user mode |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030045316A1 (en) * | 2001-08-31 | 2003-03-06 | Soemin Tjong | Point-to-point data communication implemented with multipoint network data communication components |
| CN1406046A (en) * | 2001-09-15 | 2003-03-26 | 三星电子株式会社 | Method of automatically accessing Internet using digit user's line |
| US20050183134A1 (en) * | 1999-03-18 | 2005-08-18 | Microsoft Corporation | Methods and systems for broadcast data services |
-
2005
- 2005-08-04 CN CNB200510044207XA patent/CN100414880C/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050183134A1 (en) * | 1999-03-18 | 2005-08-18 | Microsoft Corporation | Methods and systems for broadcast data services |
| US20030045316A1 (en) * | 2001-08-31 | 2003-03-06 | Soemin Tjong | Point-to-point data communication implemented with multipoint network data communication components |
| CN1406046A (en) * | 2001-09-15 | 2003-03-26 | 三星电子株式会社 | Method of automatically accessing Internet using digit user's line |
Non-Patent Citations (4)
| Title |
|---|
| 基于NDIS规范的WLAN无线网卡驱动程序的设计与实现. 孙翔,刘乃安.无线电工程,第34卷第6期. 2004 |
| 基于NDIS规范的WLAN无线网卡驱动程序的设计与实现. 孙翔,刘乃安.无线电工程,第34卷第6期. 2004 * |
| 无线局域网NDIS小端口驱动实现. 鲁京,陈曦,周祖成.半导体技术,第29卷第9期. 2004 |
| 无线局域网NDIS小端口驱动实现. 鲁京,陈曦,周祖成.半导体技术,第29卷第9期. 2004 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1909469A (en) | 2007-02-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3886934B2 (en) | Wireless communication apparatus, communication control program, and communication control method | |
| KR100400090B1 (en) | Computer device control system, method and program product thereof | |
| US7523224B2 (en) | Information processing apparatus control method for device having both first and second interface settings enabling the information processing apparatus to communicate with the device via both first and second interface | |
| CN100586075C (en) | A control method and equipment management device for home network equipment | |
| US7225260B2 (en) | Software method for maintaining connectivity between applications during communications by mobile computer terminals operable in wireless networks | |
| KR101025177B1 (en) | Device device, electronically movable device, input unit and device operation method | |
| US20120218918A1 (en) | Wireless communication apparatus, wireless communication method, program, and wireless communication system | |
| JPH10149270A (en) | Web access mechanism | |
| JP2013143616A (en) | Radio communication terminal, information provision medium, access point, radio communication method, and program | |
| CN101901111A (en) | A method and device for realizing automatic operation on a mobile terminal | |
| CN101253732A (en) | Adaptation to different network locations | |
| US20010029532A1 (en) | Gateway apparatus | |
| CN101212428A (en) | A Home Gateway Applied to Digital Home System | |
| CN100414880C (en) | Method for realizing universal configuration of wireless network card based on 802.11 standard | |
| KR20110018694A (en) | How to control host device and slave device | |
| Nakamura et al. | Adapting legacy home appliances to home network systems usingweb services | |
| JP2002027570A (en) | Remote operation system, control equipment, controlled equipment, centralized management device, management server, media and information aggregate | |
| KR101203717B1 (en) | Apparatus and method for device inquiry for high speed based bluetooth applications | |
| JP2002157371A (en) | Exhibition guidance system in exhibition facilities | |
| Feldbusch et al. | The BTRC Bluetooth remote control system | |
| KR20110048255A (en) | Method and apparatus for controlling controlled device by SMS message | |
| JP2024523633A (en) | Communication method, device, electronic device, and storage medium for externally connected devices | |
| US20030163556A1 (en) | Management apparatus, interconnecting device, communication system, program and management method | |
| JP2001268646A (en) | Portable radio communication device, tool server, voice authentication server, and radio communication system | |
| US8601026B2 (en) | Data management device, data management system and data management method |
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 |
Granted publication date: 20080827 Termination date: 20190804 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |