CN107104828B - Method for automatically switching working modes of AP (access point) equipment - Google Patents

Method for automatically switching working modes of AP (access point) equipment Download PDF

Info

Publication number
CN107104828B
CN107104828B CN201710241350.0A CN201710241350A CN107104828B CN 107104828 B CN107104828 B CN 107104828B CN 201710241350 A CN201710241350 A CN 201710241350A CN 107104828 B CN107104828 B CN 107104828B
Authority
CN
China
Prior art keywords
configuration
mode
equipment
address information
server
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.)
Active
Application number
CN201710241350.0A
Other languages
Chinese (zh)
Other versions
CN107104828A (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.)
Shanghai Gbcom Communication Technology Co ltd
Original Assignee
Shanghai Gbcom Communication 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 Shanghai Gbcom Communication Technology Co ltd filed Critical Shanghai Gbcom Communication Technology Co ltd
Priority to CN201710241350.0A priority Critical patent/CN107104828B/en
Publication of CN107104828A publication Critical patent/CN107104828A/en
Application granted granted Critical
Publication of CN107104828B publication Critical patent/CN107104828B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Abstract

The invention provides a method for realizing automatic switching of working modes of AP equipment, which is applied to the working mode configuration of the AP equipment, wherein the method comprises the following steps: the method comprises the following steps: the AP equipment starts a detection module to judge whether the AP equipment is in an identification mode, and if not, the AP equipment exits; the AP equipment sends a request for acquiring address information to a server; the server returns configuration information to the AP equipment according to the current networking mode; the AP equipment analyzes the configuration information to obtain a corresponding configuration identifier and address information distributed to the AP equipment; the AP equipment communicates with the server according to the address information; and the AP completes the configuration of the corresponding working mode according to the configuration identifier. The technical scheme has the advantages that the AP equipment automatically realizes the configuration of the corresponding working mode according to the configuration identification in the acquired configuration information, the configuration realizes automatic selection configuration, and the defect that the AP equipment cannot realize automatic configuration according to a networking mode in the prior art is overcome.

Description

Method for automatically switching working modes of AP (access point) equipment
Technical Field
The invention relates to the technical field of communication, in particular to a method for automatically switching working modes of AP (access point) equipment.
Background
Before deploying AP (Wireless Access Point) devices in an office, it is required to ensure whether each AP device meets a working mode under a current networking, that is, a requirement of a fat mode or a thin mode, where the fat mode and the thin mode of the AP device specifically refer to:
lean mode: the AP equipment can not be configured, needs a special device (wireless controller) to perform centralized control management configuration and is generally used in places such as tourist attractions, large and medium-sized groups, public places, hospitals, shopping centers, professional markets, hotels, financial securities and the like;
fat mode: the AP equipment can be configured and broadcast signals, but rarely supports an address conversion function, and is generally used in places such as catering, shops along streets, education and training, convenience stores, child amusement areas, leisure and entertainment parking lots, gas stations and the like;
in a normal mode, the AP device is preset to be in the fat mode or the thin mode by factory shipment, but in most cases, when the AP device is accessed, a mode selection error is found, and finally, manual mode configuration is required, and configuration operation is time-consuming and labor-consuming, and after the working mode of the AP device is configured, the AP device needs to be selected and configured again according to the working mode to access the wireless access device, so that an automatic switching method capable of automatically realizing mode selection and completing configuration of the fat mode and the thin mode is urgently needed, and a method for selecting to access the wireless access device according to the working mode of the AP device is needed
Disclosure of Invention
Aiming at the problems of configuring the fat mode and the thin mode of the AP equipment in the prior art, the automatic switching method for realizing the working mode of the AP equipment is provided, which aims to realize the automatic mode selection of the AP equipment, automatically finish the configuration between the working modes of the AP equipment according to networking and select the access corresponding wireless access equipment according to the working mode of the AP equipment.
The automatic switching method of (1).
The specific technical scheme is as follows:
a method for realizing automatic switching of working modes of AP equipment is applied to the working mode configuration of the AP equipment, and is characterized in that:
providing a server for accessing the AP equipment, wherein the server provides a configuration identifier corresponding to a required working mode and address configuration information corresponding to the working mode;
pre-configuring the AP device to form an identification mode;
the method comprises the following steps:
step S1, the AP device starts a detection module to determine whether the AP device is in the identification mode, and if not, exits;
step S2, the AP device sends a request for obtaining address information to the server;
step S3, the server returns configuration information to the AP equipment according to the current networking mode;
step S4, the AP device parses the configuration information to obtain the corresponding configuration identifier and the first address information allocated to the AP device;
step S5, the AP device communicates with the server according to the first address information;
step S6, the AP equipment completes the configuration of the corresponding working mode according to the configuration identification;
step S7, the AP device obtains the corresponding address configuration information from the configuration information according to the working mode;
step S8, the AP device parses the address configuration information to obtain second address information;
and step S9, the AP equipment accesses the wireless control equipment connected with the AP equipment according to the second address information.
Preferably, the server is a DHCP server.
Preferably, the detection module is a scanner of the AP device.
Preferably, the operation modes include:
fat mode of the AP device, and/or
A thin mode of the AP device.
Preferably, in step S9, when the AP device is configured in the thin mode, the method includes the following steps:
step S91, the AP device sends a connection request to the wireless access device according to the second address information;
step S92, the wireless access device determines whether to allow the current AP device to access according to the connection request;
if not, rejecting the current AP equipment to access the wireless access equipment;
step S93, the wireless access device sends a reply message to the current AP device, so that the current AP device accesses the wireless access device.
Preferably, the configuration identifier is an option 43 field, and the configuration identifier includes a configuration field for indicating the operating mode of the AP device
Preferably, in step S4, if the configuration identifier obtained by analyzing the configuration information by the AP device is incorrect;
configuring, by the client, the fat mode or the thin mode for the AP device by providing a connection between the client and the current AP device.
Preferably, the identification mode is a state in which the AP device is not set to the fat mode or the thin mode when factory configuration is performed.
Preferably, in step S6;
the AP device completes the fat mode configuration and is configured to be effective after restarting, and/or
The AP device completes the thin mode configuration and the configuration is valid after restarting. The technical scheme has the following advantages or beneficial effects: the server sends the corresponding configuration identifier to the AP equipment according to the networking mode, the AP equipment automatically realizes the configuration of the corresponding working mode according to the configuration identifier in the acquired configuration information, the configuration realizes automatic selection configuration, and the defect that the configuration of the AP equipment in the prior art cannot realize automatic configuration according to the networking mode is overcome.
Drawings
Embodiments of the present invention will now be described more fully hereinafter with reference to the accompanying drawings. The drawings are, however, to be regarded as illustrative and explanatory only and are not restrictive of the scope of the invention.
Fig. 1 is a flowchart of an embodiment of a method for automatically switching operating modes of an AP device according to the present invention;
fig. 2 is a schematic flowchart of a process in a wireless control device connected to an AP device in an embodiment of a method for automatically switching operating modes of the AP device according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The invention is further described with reference to the following drawings and specific examples, which are not intended to be limiting.
The invention comprises a method for realizing automatic switching of the working mode of AP equipment.
An embodiment of a method for implementing automatic switching of an operating mode of an AP device is applied to the configuration of an operating mode of an AP device, wherein:
providing a server for accessing the AP equipment, wherein the server provides a configuration identifier corresponding to a required working mode and address configuration information corresponding to the working mode;
pre-configuring an AP device to form an identification mode;
as shown in fig. 1, the method comprises the following steps:
step S1, the AP device starts a detection module to determine whether the AP device is in the identification mode, and if not, exits;
step S2, the AP equipment sends a request for obtaining address information to the server;
step S3, the server returns a configuration message to the AP device according to the current networking mode;
step S4, the AP device analyzes the configuration information to obtain a corresponding configuration identifier and first address information allocated to the AP device;
step S5, the AP device communicates with the server according to the first address information;
step S6, the AP completes the configuration of the corresponding working mode according to the configuration identifier;
step S7, the AP equipment acquires corresponding address configuration information from the configuration information according to the working mode;
step S8, the AP device parses the address configuration information to obtain second address information;
step S9, the AP device accesses the wireless control device connected to the AP device according to the second address information.
The working mode, namely a fat mode or a thin mode, of the AP device is usually configured in advance in the factory shipment of the AP device, and the configuration often causes the occurrence of the incorrect mode when the AP device is deployed in an opening, so that the AP device in the factory shipment is configured with an identification state, wherein the identification state represents the state that the AP device is not configured with the fat mode or the thin mode;
in a specific configuration process, the AP device itself starts a detection procedure, where the purpose of the detection table procedure is to detect whether the AP device is in the identification mode at this time, and if not, it indicates that the AP device has been in one of the fat mode and the thin mode through a previous configuration;
when the AP equipment is judged to be in the identification mode, the AP equipment sends a request for acquiring address information to the server, and the server sends a configuration identification containing a thin mode or a configuration identification containing a fat mode to the AP equipment according to the current networking mode;
it should be noted that, the networking modes of the fat mode and the receiving mode are different in scale, the larger scale requires the thin mode, and the smaller scale requires the receiving mode;
after receiving the configuration information sent by the server, the AP device parses the configuration information to obtain a configuration identifier corresponding to the fat mode or the thin mode, and the obtained first address information of the AP device, that is, IP address information of the AP device allocated by the server;
when the configuration identifier is the configuration identifier corresponding to the fat mode, completing the configuration of the fat mode;
when the configuration identifier is the configuration identifier of the corresponding thin mode, completing the configuration of the thin mode;
after the AP equipment completes the configuration of the thin mode, address configuration information is obtained after the configuration information, and the address configuration information is analyzed to obtain second address information, namely IP address information of access wireless access control equipment;
and accessing the AP equipment to the wireless access control equipment according to the second address information so as to facilitate the wireless access equipment to control all the accessed AP equipment.
In a preferred embodiment, the server is a DHCP server.
In a preferred embodiment, the detection module is a scanner of the AP device.
In a preferred embodiment the operating mode comprises a fat mode of the AP device.
In a preferred embodiment the operating mode comprises a thin mode of the AP device.
In a preferred embodiment. The configuration identifier is an option 43 field, and the configuration identifier includes a configuration field for indicating the operating mode of the AP device
In the above technical solution, the configuration identifier corresponding to the fat mode or the thin mode added in the option 43 field is specifically implemented by modifying the attribute in the option 43 field;
the option 43 field also includes the address information, i.e. IP information, assigned to the AP device by the server, and the configuration information returned by the server includes the information in the option 43 field and the option 230 field,
the option 230 field includes an IP address of the wireless access device corresponding to the AP device and a corresponding working mode of the AP device;
the AP equipment analyzes the configuration information according to the acquired configuration information:
if the configuration identifier corresponding to the fat mode is obtained, realizing the configuration of the fat mode;
and if the configuration identification of the corresponding thin mode is obtained, realizing the configuration of the thin mode.
In a preferred embodiment, in step S4, if the configuration identifier obtained by the AP device analyzing the configuration information is wrong;
the AP device is configured in a fat mode or a thin mode by the client by providing a client to connect with the current AP device.
In a preferred embodiment, the identification mode is a state in which the AP device is not set to the fat mode or the thin mode when the AP device is factory configured.
In a preferred embodiment, as shown in fig. 2, in step S9, when the AP device is configured in the thin mode, the method includes the following steps:
step S91, the AP device sends a connection request to the wireless access device according to the second address information;
step S92, the wireless access device judges whether the current AP device is allowed to access according to the connection request;
if not, rejecting the current AP equipment to access the wireless access equipment;
step S93, the wireless access device sends a reply message to the current AP device, so that the current AP device accesses the wireless access device.
In a preferred embodiment, in step S6;
the AP device completes the fat mode configuration and the configuration is valid after the restart.
In a preferred embodiment, in step S6;
the AP device completes the thin mode configuration and the configuration is valid after the reboot.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.

Claims (8)

1. A method for realizing automatic switching of working modes of AP equipment is applied to the working mode configuration of the AP equipment, and is characterized in that:
providing a server for accessing the AP equipment, wherein the server provides a configuration identifier corresponding to a required working mode and address configuration information corresponding to the working mode; the operating mode comprises a fat mode of the AP device and a thin mode of the AP device; the configuration identifier comprises a configuration identifier corresponding to a fat mode and a configuration identifier corresponding to a thin mode;
pre-configuring the AP device to form an identification mode; the identified mode represents a state in which the AP device is not configured with a fat mode or a thin mode;
the method comprises the following steps:
step S1, the AP device starts a detection module to determine whether the AP device is in the identification mode, and if not, exits;
step S2, the AP device sends a request for obtaining address information to the server;
step S3, the server returns the configuration information to the AP equipment according to the current networking mode;
step S4, the AP device parses the configuration information to obtain the corresponding configuration identifier and the first address information allocated to the AP device; the first address information refers to IP address information which is allocated to the AP equipment by the server;
step S5, the AP device communicates with the server according to the first address information;
step S6, the AP equipment completes the configuration of the corresponding working mode according to the configuration identification;
step S7, obtaining the corresponding address configuration information from the configuration information after the AP device completes the configuration of the thin mode;
step S8, the AP device parses the address configuration information to obtain second address information; the second address information refers to IP address information of the access wireless access control equipment;
and step S9, the AP device accesses a wireless access control device connected to the AP device according to the second address information.
2. The method of claim 1, wherein the server is a DHCP server.
3. The method of claim 1, wherein the detecting module is a scanner of the AP device.
4. The method according to claim 3, wherein the step S9, when the AP device is configured in the thin mode, comprises the following steps:
step S91, the AP device sends a connection request to the radio access control device according to the second address information;
step S92, the wireless access control device determines whether to allow the current AP device to access according to the connection request;
if not, rejecting the current AP equipment to access the wireless access control equipment, and exiting;
step S93, the wireless access control device sends a reply message to the current AP device, so that the current AP device accesses the wireless access control device.
5. The method of claim 1, wherein the configuration identifier is an option 43 field, and the configuration identifier includes a configuration field for indicating the operating mode of the AP device.
6. The method according to claim 1, wherein in step S4, if the configuration identifier obtained by the AP device analyzing the configuration information is incorrect;
configuring, by the client, the fat mode or the thin mode for the AP device by providing a connection between the client and the current AP device.
7. The method according to claim 1, wherein the identification mode is a state in which the AP device is not set to the fat mode or the thin mode in factory configuration.
8. The method according to claim 4, wherein in step S6;
the AP device completes the fat mode configuration and configuration is valid after reboot, and/or the AP device completes the thin mode configuration and configuration is valid after reboot.
CN201710241350.0A 2017-04-13 2017-04-13 Method for automatically switching working modes of AP (access point) equipment Active CN107104828B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710241350.0A CN107104828B (en) 2017-04-13 2017-04-13 Method for automatically switching working modes of AP (access point) equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710241350.0A CN107104828B (en) 2017-04-13 2017-04-13 Method for automatically switching working modes of AP (access point) equipment

Publications (2)

Publication Number Publication Date
CN107104828A CN107104828A (en) 2017-08-29
CN107104828B true CN107104828B (en) 2020-09-08

Family

ID=59675016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710241350.0A Active CN107104828B (en) 2017-04-13 2017-04-13 Method for automatically switching working modes of AP (access point) equipment

Country Status (1)

Country Link
CN (1) CN107104828B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107949005A (en) * 2017-12-12 2018-04-20 深圳市菲菱科思通信技术股份有限公司 A kind of fat or thin ap mode method and apparatus of radio reception device one key switching

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791029A (en) * 2005-12-23 2006-06-21 杭州华为三康技术有限公司 Method and system for automatically gaining configuration management server initial allocation
CN102523110A (en) * 2011-12-09 2012-06-27 杭州华三通信技术有限公司 Method and device for realizing automatic configuration of equipment with zero configuration
CN104639348A (en) * 2013-11-07 2015-05-20 华为技术有限公司 Network device and configuration method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090225682A1 (en) * 2006-04-04 2009-09-10 Alex Peter Grote-Lopez Optimization Procedure for Wireless Networks Operating in Infrastructure Mode with Standard Protocol IEEE 802.11

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791029A (en) * 2005-12-23 2006-06-21 杭州华为三康技术有限公司 Method and system for automatically gaining configuration management server initial allocation
CN102523110A (en) * 2011-12-09 2012-06-27 杭州华三通信技术有限公司 Method and device for realizing automatic configuration of equipment with zero configuration
CN104639348A (en) * 2013-11-07 2015-05-20 华为技术有限公司 Network device and configuration method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WLAN的设计研究;刘浪;《计算技术与信息发展》;20110419;第1页 *

Also Published As

Publication number Publication date
CN107104828A (en) 2017-08-29

Similar Documents

Publication Publication Date Title
WO2021135299A1 (en) Binding method and system for device network configuration, and mobile terminal and storage medium
CN111586590A (en) Method, device and system for distributing network to equipment
KR101589413B1 (en) Dns naming method for iot device
US20160255081A1 (en) System, Device And Method For Network Authorization Based On No Password Or Random Password
US20130059530A1 (en) Message forwarding method, access point, and system
CN102781019A (en) System and method for automatically testing wireless fidelity (WIFI) module
WO2016145801A1 (en) Base station activation method and device, system and computer storage medium
CN107580040B (en) Method and device for upgrading communication module in intelligent household terminal
CN103997771A (en) System and method for achieving application and message triggering based on wireless access recognition technology
WO2016169311A1 (en) Card selection method and device
EP3364690A1 (en) Electronic device, communication method of electronic device, and communication method of mobile terminal
CN107426064B (en) Configuration method and device for control scene of Internet of things
CN106303942B (en) Wireless network fingerprint signal processing method and device
CN105208030A (en) Wireless network roaming method
CN112929224A (en) Network distribution method and device of equipment, server and computer readable storage medium
CN107104828B (en) Method for automatically switching working modes of AP (access point) equipment
US20170026899A1 (en) Determination method and corresponding terminal, computer program product and storage medium
US20150030012A1 (en) Communication device
CN112230554A (en) Linkage control method and system, terminal, computer device and storage medium
CN106357435A (en) Matching method and device for same computer room
CN107104942B (en) Internet of things user management method and device
US11259168B2 (en) Method and device for controlling target device of host and client
US20140059220A1 (en) Method for recognizing the locations of electric appliances
CN107222910A (en) A kind of automatic switching method for the mode of operation for realizing AP equipment
CN109525417A (en) Household appliance cut-in method, domestic electric appliances controller and storage medium based on network interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant