CN104853368A - Method and management system for configuring WIFI access point based on user mode - Google Patents

Method and management system for configuring WIFI access point based on user mode Download PDF

Info

Publication number
CN104853368A
CN104853368A CN201510275892.0A CN201510275892A CN104853368A CN 104853368 A CN104853368 A CN 104853368A CN 201510275892 A CN201510275892 A CN 201510275892A CN 104853368 A CN104853368 A CN 104853368A
Authority
CN
China
Prior art keywords
wifi
configuration
user space
configuration file
access point
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
Application number
CN201510275892.0A
Other languages
Chinese (zh)
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.)
BEIJING OPZOON TECHNOLOGY Co Ltd
Opzoon Technology Co Ltd
Original Assignee
BEIJING OPZOON TECHNOLOGY 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 BEIJING OPZOON TECHNOLOGY Co Ltd filed Critical BEIJING OPZOON TECHNOLOGY Co Ltd
Priority to CN201510275892.0A priority Critical patent/CN104853368A/en
Publication of CN104853368A publication Critical patent/CN104853368A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a method and a management system for configuring a WIFI access point based on a user mode. The abovementioned method includes: configuring a Linux core; generating a corresponding WIFI configuration file according to a current hardware architecture; and constructing an operational interface for modifying the WIFI configuration file in the user mode. According to the present method and management system, command keywords can be defined by users, executable commands are encapsulated, and processing functions for commands are added,so that users are provided with a simple and convenient operation interface through which operations, such as start and stop of WIFI, configuration of WIFI names, WIFI passwords and encryption schemes, configuration of channels and configuration of network segments, can be controlled by inputting commands. In this way, the operation of WiFi is more user-friendly, the user experience is improved, and the configuration of WIFI is more operable for non-professional users.

Description

A kind of method administrating system of the configuration WIFI access point based on User space
Technical field
The present invention relates to field of wireless, particularly relate to a kind of method administrating system of the configuration WIFI access point based on User space.
Background technology
Current linux kernel-driven wireless network card equipment, manually revise WIFI configuration file, perform the order of linux kernel to load amended WIFI configuration file and can carry out unlatching, closedown, WIFI title, WIFI password, the cipher mode of wireless network card, the operation such as channel is arranged, the network segment is arranged, but some some User space based on linux kernel (such as software firewall, switch) user oriented is used, the operational order of some complexity of linux kernel can not be provided to user.
Therefore, if user thinks that change WIFI relevant configuration needs the configuration file of manual modification WIFI, then load amended WIFI configuration file can carry out unlatching, closedown, WIFI title, WIFI password, the cipher mode of wireless network card, the operation such as channel is arranged, the network segment is arranged by performing the order of linux kernel, but some are not understood to the user group of linux kernel, linux command operation is unfamiliar with, cannot configuration operation be realized.
Therefore, be necessary the method and system that a kind of configuration WIFI access point based on User space is provided, to meet domestic consumer by the complex configurations of linux kernel realization to WIFI.
Summary of the invention
The object of this invention is to provide a kind of method of the configuration WIFI access point based on User space, the method make user pass through to input order simply and easily can the unlatching of control WIFI, closedown, WIFI title, WIFI password, cipher mode, the operation such as channel is arranged, the network segment is arranged, improve the operability that unprofessional user configures WIFI.
In order to solve the problems of the technologies described above, the invention provides a kind of method of the configuration WIFI access point based on User space, comprising the steps:
Step S1, configuration linux kernel; Step S2, generates corresponding WIFI configuration file according to current hardware structure; And step S3, the operation-interface being used for modifying to WIFI configuration file is built by User space.
Wherein, the method configuring linux kernel in described step S1 comprises: the wireless network card that configuration linux kernel is supported drives and wireless network protocol type.
Wherein, the method generating corresponding WIFI configuration file according to current hardware structure in described step S2 comprises: increase income program to generate the executable file configured needed for WIFI according to the compiling of current hardware structure, and obtain corresponding WIFI configuration file.
Further, the construction step of the operation-interface in described step S3 comprises:
Step S310, revises described WIFI configuration file; Step S320, is loaded by linux kernel, to build operation-interface.
Further, the step revising described WIFI configuration file in described step S310 comprises:
Step S311, is encapsulated self-defining WIFI configuration order by User space; Step S312, increases process function, for revising configuration file.
Wherein, the step that self-defining WIFI configuration order carries out encapsulating is comprised by User space in described step S311: by the keyword of User space definition configuration order, and as the order being supplied to user operation after being encapsulated.
Wherein, process function in described step S312 and comprise the analytical function corresponding with described configuration order and bottom layer treatment function.
Preferential, User space is also provided for the user operation instruction revising WIFI configuration order;
Described user operation instruction comprises: input question mark calls help function, the automatic polishing function of instruction.
On the other hand, present invention also offers the management system of the configuration WIFI access point based on User space, to solve the technical problem be configured WIFI access point, this management system is conducive to the operability that raising unprofessional user configures WIFI.
In order to solve the problems of the technologies described above, present invention also offers a kind of management system of the configuration WIFI access point based on User space, comprise: linux kernel setup unit, WIFI configuration file extraction unit and operation-interface unit, wherein, linux kernel setup unit, the wireless network card supported for configuring linux kernel drives and wireless network protocol type; WIFI configuration file extraction unit, generates corresponding WIFI configuration file according to current hardware structure; Operation-interface unit, builds the operation-interface being used for modifying to WIFI configuration file by User space.
Further, described linux configuration file extraction unit is suitable for increasing income program according to the compiling of current hardware structure, obtains corresponding WIFI configuration file by the executable file needed for the configuration WIFI that generates; Described operation-interface unit is suitable for the keyword by User space definition configuration order, and as the order being supplied to user operation after being encapsulated, and increase the process function for revising configuration file.
According to method and the management system of of the present invention provided a kind of configuration WIFI access point based on User space, the operation-interface being used for modifying to WIFI configuration file is built by User space, realize custom command keyword, the process function of encapsulation executable command and increase order, be supplied to user's operation-interface simply and easily, can the unlatching of control WIFI by input command, close, WIFI title, WIFI password, cipher mode, channel is arranged, the operations such as the network segment is arranged, Consumer's Experience to the more humane mode of operation of WIFI and close friend is provided, improve the operability that unprofessional user configures WIFI.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of the method for configuration WIFI access point;
Fig. 2 is the construction step flow chart about operation-interface;
Fig. 3 is the flow chart of steps being revised described WIFI configuration file by User space;
Fig. 4 is the theory diagram of the management system of configuration WIFI access point based on User space.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with embodiment also with reference to accompanying drawing, the present invention is described in more detail.Should be appreciated that, these describe just exemplary, and do not really want to limit the scope of the invention.In addition, in the following description, the description to known features and technology is eliminated, to avoid unnecessarily obscuring concept of the present invention.
Embodiment 1
Fig. 1 shows the flow chart of steps of the method for configuration WIFI access point.
As shown in Figure 1, a kind of method of the configuration WIFI access point based on User space, comprises the steps:
Step S1, configuration linux kernel.
The wireless network card that configuration linux kernel is supported drives and wireless network protocol type.Concrete, configuration linux kernel supports that wireless network card drives and 802.11 protocol types.
Realize the method for configuration linux kernel, namely, by make menuconfig command configuration kernel setup option, choose the particular options under Networking support and Device Drivers: mainly contain the cfg80211-wireless configurationAPI in Networking support under wireless, nl80211testmod command and mac80211, to determine wireless network protocol type, and under Device Drivers, select the network interface card type of oneself.
Step S2, generates corresponding WIFI configuration file according to current hardware structure.
Increase income program to generate the executable file needed for configuration WIFI according to the compiling of current hardware structure, and obtains corresponding WIFI configuration file.
Concrete, compile hostapd according to the hardware structure (x86, mips, arm) of oneself current use and to increase income the executable file hostapd that Program Generating configuration WIFI needs to use and the configuration file hostapd.conf that this execute file is corresponding.
Step S3, realizes the operation-interface being used for modifying to WIFI configuration file by User space.
Concrete, by custom command keyword, encapsulation executable command and the process function increasing order, to be supplied to user's operation-interface simply and easily, corresponding control can be realized by control WIFI by inputting corresponding order; Concrete control includes but not limited to the operation such as unlatching, closedown, WIFI title, WIFI password, cipher mode, channel is arranged, the network segment is arranged, recovery default configuration of WIFI, provides the better mode of operation of WIFI and more friendly Consumer's Experience.
Fig. 2 shows the construction step flow chart about operation-interface.
The construction step of the operation-interface in described step S3 comprises:
Step S310, revises described WIFI configuration file.
This step comprises: self-defining WIFI configuration order encapsulated by User space; Increase process function, for revising configuration file.Concrete steps will be introduced by further part in an embodiment in detail.
Step S320, is loaded by linux kernel, to build operation-interface.
Detailed process comprises: reload amended WIFI configuration file by issuing system order to kernel.As need default configuration be recovered, then load default configuration file hostapd_default.conf.
Fig. 3 shows the flow chart of steps being revised described WIFI configuration file by User space.
As shown in Figure 3, the step revising described WIFI configuration file by User space in described step S310 comprises:
Step S311, is encapsulated self-defining WIFI configuration order by User space.
By the keyword of User space definition configuration order, and as the order being supplied to user operation after being encapsulated.Concrete, User space definition command keyword, and the encapsulation order that is supplied to user operation is as wifi enable (opening wifi), undo wifi enable (closing wifi), wifi ssid name wifi-test (setting wifi name is called wifi-test), wifi encrypt none (not encrypting setting), wifi encryptwpa2 password XXXXXXXX (it is XXXXXXXX that wpa2 encryption arranges Crypted password), wifi channel X (setting of wifi channel), wifi network range left-ip right-ip (dhcp scope is set by left-ip to right-ip).
All can need to realize encapsulation according to self for other wifi correlation functions, such as: ssid: the title of our this WAP (wireless access point) that others sees; Hw_mode: specify 802.11 agreements, comprises a=IEEE 802.11a, b=IEEE 802.11b, g=IEEE 802.11g; Interface: access point apparatus title; Bridge: specify residing bridge, one is accessed to public network simultaneously, provides the router of in-house network and wireless access, and setting bridge is necessary; Macaddr_acl: optional, specifies mac address filter regular, unless 0 represents in banned list otherwise allows, unless 1 represents in permission list otherwise forbids, 2 expressions use external radius server; Accept_mac_file: specify and allow MAC listing file place; Deny_mac_file: specify and forbid MAC listing file place.
Step S312, increases process function, for revising configuration file.
Shown process function comprises the analytical function corresponding with described configuration order and bottom layer treatment function.That is, such as, in process function, issue according to order whether to have undo character to judge be the cancellation setting operation performing WIFI correlation function, or carry out different process according to different keywords, the respective items of amendment WIFI configuration file hostapd.conf.After the step execution of this WIFI configuration file, the step S320 performed above can be continued, namely loaded by linux kernel, to build operation-interface.
Optionally, the step that self-defining WIFI configuration order carries out encapsulating is comprised by User space in described step S311: User space is also provided for the user operation instruction revising WIFI configuration order.Described user operation instruction comprises: input question mark calls help function, the automatic polishing function of instruction.Wherein, the automatic polishing function of instruction realizes polishing function by the order of TAB key.
Embodiment 2
The management system of a kind of configuration WIFI access point based on User space on embodiment 1 basis,
Fig. 4 shows the theory diagram of the management system of the configuration WIFI access point based on User space.
As shown in Figure 4, the management system of the shown configuration WIFI access point based on User space, comprising: linux kernel setup unit, WIFI configuration file extraction unit and operation-interface unit, wherein,
Linux kernel setup unit, the wireless network card supported for configuring linux kernel drives and wireless network protocol type.Concrete, configuration linux kernel supports that wireless network card drives and 802.11 protocol types.
WIFI configuration file extraction unit, generates corresponding WIFI configuration file according to current hardware structure.Further, described WIFI configuration file extraction unit is suitable for increasing income program according to the compiling of current hardware structure, obtains corresponding WIFI configuration file by the executable file needed for the configuration WIFI that generates.Concrete, compile hostapd according to the hardware structure (x86, mips, arm) of oneself current use and to increase income the executable file hostapd that Program Generating configuration WIFI needs to use and the configuration file hostapd.conf that this execute file is corresponding.
Operation-interface unit, builds the operation-interface being used for modifying to WIFI configuration file by User space.Concrete, revise described WIFI configuration file by User space, and loaded by linux kernel.Further, described operation-interface unit is suitable for the keyword by User space definition configuration order, and as the order being supplied to user operation after being encapsulated, and increase the process function for revising configuration file.
The specific implementation process of described operation-interface unit comprises: by custom command keyword, encapsulation executable command and the process function increasing order, to be supplied to user's operation-interface simply and easily, corresponding control can be realized by control WIFI by inputting corresponding order; Concrete control includes but not limited to the operation such as unlatching, closedown, WIFI title, WIFI password, cipher mode, channel is arranged, the network segment is arranged, recovery default configuration of WIFI, provides the better mode of operation of WIFI and more friendly Consumer's Experience.
In the present embodiment, in linux kernel setup unit, WIFI configuration file extraction unit and the operation performed by operation-interface unit and embodiment 1, each step is similar, specifically see the embodiment of corresponding steps and its sub-step comprised in step S1, step S2, step S3.
This based on the configuration WIFI access point of User space management system by input order simply and easily can the unlatching of control WIFI, closedown, WIFI title, WIFI password, cipher mode, the operation such as channel is arranged, the network segment is arranged, provide the better mode of operation of WIFI function and perfect Consumer's Experience.
Should be understood that, above-mentioned embodiment of the present invention only for exemplary illustration or explain principle of the present invention, and is not construed as limiting the invention.Therefore, any amendment made when without departing from the spirit and scope of the present invention, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.In addition, claims of the present invention be intended to contain fall into claims scope and border or this scope and border equivalents in whole change and modification.

Claims (10)

1., based on a method for the configuration WIFI access point of User space, it is characterized in that, comprise the steps:
Step S1, configuration linux kernel;
Step S2, generates corresponding WIFI configuration file according to current hardware structure; And
Step S3, builds the operation-interface being used for modifying to WIFI configuration file by User space.
2. the method for the configuration WIFI access point based on User space according to claim 1, it is characterized in that, the method configuring linux kernel in described step S1 comprises: the wireless network card that configuration linux kernel is supported drives and wireless network protocol type.
3. the method for the configuration WIFI access point based on User space according to claim 2, it is characterized in that, the method generating corresponding WIFI configuration file according to current hardware structure in described step S2 comprises: increase income program to generate the executable file configured needed for WIFI according to the compiling of current hardware structure, and obtain corresponding WIFI configuration file.
4., according to the method for the arbitrary described configuration WIFI access point based on User space of claim 1-3, it is characterized in that, the construction step of the operation-interface in described step S3 comprises:
Step S310, revises described WIFI configuration file;
Step S320, is loaded by linux kernel, to build operation-interface.
5. the method for the configuration WIFI access point based on User space according to claim 4, it is characterized in that, the step revising described WIFI configuration file in described step S310 comprises:
Step S311, is encapsulated self-defining WIFI configuration order by User space;
Step S312, increases process function, for revising configuration file.
6. the method for the configuration WIFI access point based on User space according to claim 5, it is characterized in that, the step that self-defining WIFI configuration order carries out encapsulating is comprised by User space in described step S311: by the keyword of User space definition configuration order, and as the order being supplied to user operation after being encapsulated.
7. the method for the configuration WIFI access point based on User space according to claim 5, is characterized in that, processes function and comprise the analytical function corresponding with described configuration order and bottom layer treatment function in described step S312.
8. the method for the configuration WIFI access point based on User space according to claim 5, is characterized in that, User space is also provided for the user operation instruction revising WIFI configuration order;
Described user operation instruction comprises: input question mark calls help function, the automatic polishing function of instruction.
9. based on a management system for the configuration WIFI access point of User space, it is characterized in that, comprising: linux kernel setup unit, WIFI configuration file extraction unit and operation-interface unit, wherein,
Linux kernel setup unit, the wireless network card supported for configuring linux kernel drives and wireless network protocol type;
WIFI configuration file extraction unit, generates corresponding WIFI configuration file according to current hardware structure;
Operation-interface unit, builds the operation-interface being used for modifying to WIFI configuration file by User space.
10. the management system of configuration WIFI access point according to claim 9, is characterized in that,
Described linux configuration file extraction unit is suitable for increasing income program according to the compiling of current hardware structure, obtains corresponding WIFI configuration file by the executable file needed for the configuration WIFI that generates;
Described operation-interface unit is suitable for the keyword by User space definition configuration order, and as the order being supplied to user operation after being encapsulated, and increase the process function for revising configuration file.
CN201510275892.0A 2015-05-27 2015-05-27 Method and management system for configuring WIFI access point based on user mode Pending CN104853368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510275892.0A CN104853368A (en) 2015-05-27 2015-05-27 Method and management system for configuring WIFI access point based on user mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510275892.0A CN104853368A (en) 2015-05-27 2015-05-27 Method and management system for configuring WIFI access point based on user mode

Publications (1)

Publication Number Publication Date
CN104853368A true CN104853368A (en) 2015-08-19

Family

ID=53852641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510275892.0A Pending CN104853368A (en) 2015-05-27 2015-05-27 Method and management system for configuring WIFI access point based on user mode

Country Status (1)

Country Link
CN (1) CN104853368A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105916167A (en) * 2015-11-25 2016-08-31 北京邮电大学 Communication method using SWAN development protocol on hostapd platform
CN106027542A (en) * 2016-06-21 2016-10-12 杭州古北电子科技有限公司 Method for enabling WiFi module to adapt to communication protocols of different manufacturer apparatuses
CN108062192A (en) * 2016-11-09 2018-05-22 北京君正集成电路股份有限公司 WIFI control methods and device in a kind of linux system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909469A (en) * 2005-08-04 2007-02-07 海信集团有限公司 Method for realizing universal configuration of wireless network card based on 802.11 standard
CN101572618A (en) * 2008-04-30 2009-11-04 英业达股份有限公司 System and method for configuration of combined network interface
CN101650670A (en) * 2008-08-14 2010-02-17 鸿富锦精密工业(深圳)有限公司 Electronic system capable of sharing application program configuration parameters and method thereof
CN104156221A (en) * 2014-08-29 2014-11-19 上海艾为电子技术有限公司 Chip and method and device for modifying chip configuration
CN104199698A (en) * 2014-08-29 2014-12-10 山东超越数控电子有限公司 Wireless local area network communication implementation method based on Loongson computer platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909469A (en) * 2005-08-04 2007-02-07 海信集团有限公司 Method for realizing universal configuration of wireless network card based on 802.11 standard
CN101572618A (en) * 2008-04-30 2009-11-04 英业达股份有限公司 System and method for configuration of combined network interface
CN101650670A (en) * 2008-08-14 2010-02-17 鸿富锦精密工业(深圳)有限公司 Electronic system capable of sharing application program configuration parameters and method thereof
CN104156221A (en) * 2014-08-29 2014-11-19 上海艾为电子技术有限公司 Chip and method and device for modifying chip configuration
CN104199698A (en) * 2014-08-29 2014-12-10 山东超越数控电子有限公司 Wireless local area network communication implementation method based on Loongson computer platform

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105916167A (en) * 2015-11-25 2016-08-31 北京邮电大学 Communication method using SWAN development protocol on hostapd platform
CN106027542A (en) * 2016-06-21 2016-10-12 杭州古北电子科技有限公司 Method for enabling WiFi module to adapt to communication protocols of different manufacturer apparatuses
CN108062192A (en) * 2016-11-09 2018-05-22 北京君正集成电路股份有限公司 WIFI control methods and device in a kind of linux system

Similar Documents

Publication Publication Date Title
US20210022002A1 (en) Method and system for controlling network access
CN105282731B (en) Processing configures the method for profile and the electronic device for supporting this method
CN105916134B (en) Method and apparatus for selecting guidance eSIM
US9226133B1 (en) Dynamic remotely managed SIM profile
TWI587674B (en) Methods and apparatus to support globalplatform usage on an embedded uicc
US9161325B1 (en) Subscriber identity module virtualization
US8898732B2 (en) Providing a managed browser
EP3311526B1 (en) Electronic subscriber identity module management under multiple certificate authorities
JP2018510517A (en) Dynamic subscriber identification module
JP2016212889A (en) TAMPER PREVENTION FOR ELECTRONIC SUBSCRIBER IDENTITY MODULE (eSIM) TYPE PARAMETERS
JP2015204104A (en) Method and apparatus for account intercommunication among applications
WO2019119267A1 (en) Profile management method, embedded universal integrated circuit card and terminal
WO2014179577A1 (en) Mobile device locking with context
CN105101349A (en) Access control method, device and terminal for wireless local area network
US9361432B2 (en) Configuring a security setting for a set of devices using a security policy
CN104853368A (en) Method and management system for configuring WIFI access point based on user mode
CN105812370B (en) Intelligent card in processing method, apparatus and system
US11516642B2 (en) Different profiles for selecting different network interfaces for communications of an electronic device
JP2021002793A (en) Communication system and communication method
WO2015105499A1 (en) Providing mobile application management functionalities
JP6774834B2 (en) Management system and management method
US20150201003A1 (en) System and method for utilizing script logic in connection with an installed enterprise service application
CN104350705A (en) Wireless router and communication mode switching method thereof
WO2011121143A1 (en) System and method for dynamic and remote configuration of mobile devices

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150819