CN1909469A - 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 PDF

Info

Publication number
CN1909469A
CN1909469A CN 200510044207 CN200510044207A CN1909469A CN 1909469 A CN1909469 A CN 1909469A CN 200510044207 CN200510044207 CN 200510044207 CN 200510044207 A CN200510044207 A CN 200510044207A CN 1909469 A CN1909469 A CN 1909469A
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.)
Granted
Application number
CN 200510044207
Other languages
Chinese (zh)
Other versions
CN100414880C (en
Inventor
林清武
袁斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Group Co Ltd
Original Assignee
Hisense Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Group Co Ltd filed Critical Hisense Group Co Ltd
Priority to CNB200510044207XA priority Critical patent/CN100414880C/en
Publication of CN1909469A publication Critical patent/CN1909469A/en
Application granted granted Critical
Publication of CN100414880C publication Critical patent/CN100414880C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Realize the method for wireless network card generic configuration based on 802.11 standards
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 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, 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 (2)

1, a kind of method that realizes the wireless network card generic configuration based on 802.11 standards, it is characterized in that: utilize current most 802.11 wireless network cards all to follow the characteristic of NDIS 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.
2, the method based on 802.11 standards realization wireless network card generic configuration according to claim 1, it is characterized in that: its control flow is to start NDISUIO (NDISUser I/O) 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, 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.
CNB200510044207XA 2005-08-04 2005-08-04 Method for realizing universal configuration of wireless network card based on 802.11 standard Expired - Fee Related CN100414880C (en)

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 true CN1909469A (en) 2007-02-07
CN100414880C 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011020400A1 (en) * 2009-08-20 2011-02-24 华为终端有限公司 Method and device for acquiring network configuration information
CN103368879A (en) * 2013-07-25 2013-10-23 西安星河亮点信息技术有限公司 Automatic signal detection method of WLAN (Wireless Local Area Network) system
CN104853368A (en) * 2015-05-27 2015-08-19 北京汉柏科技有限公司 Method and management system for configuring WIFI access point based on user mode

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6892390B1 (en) * 1999-03-18 2005-05-10 Microsoft Corporation Methods and systems for broadcast data services
US7213044B2 (en) * 2001-08-31 2007-05-01 Microsoft Corporation Point-to-point data communication implemented with multipoint network data communication components
KR20030024071A (en) * 2001-09-15 2003-03-26 삼성전자주식회사 Ineternet automatic connection method using digital subscriber line

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011020400A1 (en) * 2009-08-20 2011-02-24 华为终端有限公司 Method and device for acquiring network configuration information
US8717937B2 (en) 2009-08-20 2014-05-06 Huawei Device Co., Ltd. Method and apparatus for acquiring network configuration information
CN103368879A (en) * 2013-07-25 2013-10-23 西安星河亮点信息技术有限公司 Automatic signal detection method of WLAN (Wireless Local Area Network) system
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

Also Published As

Publication number Publication date
CN100414880C (en) 2008-08-27

Similar Documents

Publication Publication Date Title
TWI495315B (en) Methods, apparatuses, and computer program products for determining a network interface to access a network resource
CN1156778C (en) Equipment searching device
CN1303788C (en) Home network system for driving long distance user interface and method thereof
CN1825823B (en) Service framework for home network
CN1633641A (en) Middleware services layer for platform system for mobile terminals
JP2005005790A (en) Radio communication apparatus, communication control program, and communication control method
CN1409236A (en) Method for keeping software connection between applied program during working of mobile computer terminal communication in radio network
CN1653445A (en) Method and electronic device for establishing an interface to control an accessory device
CN1404288A (en) Cellphone number and instant communication number bundling and cellphone state display method
CN1881977A (en) Communication device and command transmission method
WO2009082901A1 (en) Information control method and equipment in bluetooth device and bluetooth system
CN1719786A (en) Automatic testing system and method for command of command line interface of data communication apparatus
CN1852160A (en) Method for realizing data slow synchronization and system thereof
US20070203968A1 (en) Portable device and method for entertainment interaction data
CN1925439A (en) Method for controlling UPnP equipment through internet
CN100338912C (en) Management method for obtaining equipment MIB support capability
CN1909469A (en) Method for realizing universal configuration of wireless network card based on 802.11 standard
CN1825825A (en) Service framework for home network
CN101076155A (en) Method for connecting cell phone with wire network
KR101563195B1 (en) Host device and slave device controlling method
CN107357853B (en) Method and device for operating REDIS console and computer system
KR101864593B1 (en) User terminal device and server device for performing scan job, scan system comprising them, and methods thereof
CN1741462A (en) Method for controlling and managing telecommunication equipment in network management system
US8601026B2 (en) Data management device, data management system and data management method
US7933973B2 (en) Obje network device service apparatus and method in UPnP network system

Legal Events

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

Granted publication date: 20080827

Termination date: 20190804