CN106604307A - Wireless device configuration method and wireless device - Google Patents
Wireless device configuration method and wireless device Download PDFInfo
- Publication number
- CN106604307A CN106604307A CN201611197158.8A CN201611197158A CN106604307A CN 106604307 A CN106604307 A CN 106604307A CN 201611197158 A CN201611197158 A CN 201611197158A CN 106604307 A CN106604307 A CN 106604307A
- Authority
- CN
- China
- Prior art keywords
- wireless device
- sta
- channels
- electronic equipment
- protocol stack
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
Abstract
The application discloses a wireless device configuration method and a wireless device configuration system. The method comprises the following steps: carrying out switching from an AP channel to an STA channel; using the AP channel and a protocol stack in the kernel to provide a hotspot in an STA mode; receiving configuration information from an electronic device, wherein the electronic device accesses a wireless device via the hotspot; and configuring the wireless device based on the configuration information. According to the technical scheme in the embodiment, a wireless device can be managed and configured continuously without the need to interrupt the working state of the wireless device, and thus, the efficiency of wireless device configuration is improved.
Description
Technical field
The disclosure relates generally to networking technology area, and in particular to a kind of wireless device configuration method and wireless device.
Background technology
The various computing devices for supporting radio function are there is currently, the portable mobile wireless except being easy to user's carrying
Phone, personal digital assistant (" PDA "), and tablet device outside, also including various sensors, data acquisition equipment, sniff
Equipment etc..
Wireless network comprising these equipment is widely deployed to provide various services.As an example, such as sensor,
The wireless device of sniff equipment etc. can be disposed on a large scale for the data in collection, monitoring network.
Expect to configure these wireless devices disposed.Exemplary configuration can include the network to wireless device
The adjustment of parameter.Generally, configuration is realized by being linked into the electronic equipment of wireless device.However, when wireless device is in work
When under state, which may be operated under STA mode (AP (access point) that outside for example, is linked into as STA (website)), and not
Can be accessed by electronic equipment.In such cases it need interrupting the working condition of wireless device so as to be switched to ap mode
Complete configuration.After configuration is complete, switch back into STA mode.Switching between this pattern causes low allocative efficiency.
The content of the invention
In view of drawbacks described above of the prior art or deficiency, expect that providing one kind persistently can configure to wireless device
Scheme without interrupting the working condition of equipment.
In a first aspect, embodiment of the disclosure provides a kind of method configured to wireless device, including:AP is believed
Road is switched to STA channels;Focus is provided using the protocol stack in AP channels and kernel after switching under STA mode;From electricity
Sub- equipment receives configuration information, and electronic equipment is linked into the wireless device via focus;And, based on configuration information come to wireless
Equipment is configured.
Second aspect, embodiment of the disclosure additionally provide a kind of wireless device, including AP modules, are configured to believe AP
Road is switched to STA channels;Focus is provided using the protocol stack in AP channels and kernel after switching under STA mode;And
Configuration information is received from electronic equipment, the electronic equipment is linked into wireless device via focus;STA modules, are configured to be based on
Configuration information is configuring to wireless device.
The third aspect, embodiment of the disclosure additionally provide a kind of wireless device, including:Wireless transceiver;Processor;With
And memorizer, with the executable instruction being stored thereon, when executed by the processor so that described wireless
Equipment:AP channels are switched to into STA channels;Carried under STA mode using the protocol stack in AP channels and kernel after switching
Heat supply point;Configuration information is received from the electronic equipment that wireless device is linked into via the focus, and based on configuration information come right
Wireless device is configured.
The scheme configured by wireless device that embodiment of the disclosure is provided, by switching channel and using kernel
In protocol stack making wireless device provide focus to outside electronic equipment while operating as STA, for outside
Electronic equipment is linked into wireless device via the focus, sends the configuration information relevant with STA to wireless device.According to the enforcement
The technical scheme of example, constantly can be managed and configure to wireless device, the work shape without interrupting wireless device
State, which thereby enhances the efficiency configured to wireless device.
Description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is shown in which the example system of the one or more aspects that can adopt the disclosure;
Fig. 2 shows the exemplary flow of the method configured to wireless device of the one embodiment according to the disclosure
Figure;
Fig. 3 shows that STA accesses the example process of AP;
Fig. 4 shows the exemplary stream of the method configured to wireless device according to another embodiment of the disclosure
Cheng Tu;
Fig. 5 shows the structured flowchart of the wireless device of the one embodiment according to the disclosure;
Fig. 6 shows the structural representation for being suitable to the wireless device for realizing embodiment of the disclosure.
Specific embodiment
With reference to the accompanying drawings and examples the application is described in further detail.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that, in order to
It is easy to description, in accompanying drawing, illustrate only the part related to invention.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase
Mutually combine.Below with reference to the accompanying drawings and in conjunction with the embodiments describing the application in detail.
Description the disclosure various embodiments before, to the disclosure can wherein using scene be briefly situated between
Continue, in order to provide fully understanding for various aspects of this disclosure.
As described in the background, wireless network is widely deployed for providing various services to STA.These
Wireless network is commonly known as WLAN (" WLAN ").WLAN is deployed the area with coverage from tens of rice to hundreds of meters
Domain.As an example, the facility such as many families, office building, campus, hotel, airport, railway station includes to STA providing to the Internet
Access AP.
The various aspects of disclosed method and device will be provided in the context of WLAN.WLAN can be used for adopting
Widely used procotol wirelessly connects to provide.Aspects described herein goes for Wi-Fi, or more typically
Ground, it is adaptable to any member in 802.11 wireless protocol families of IEEE.As an example, various aspects described herein can be by
For supporting IEEE 802.11n agreements.However, as those skilled in the art will be recognized that, such aspect can be extended to other
Wireless network, such as wireless wide area network (" WWAN "), Wireless Personal Network (" WPAN "), or any other suitable wireless network.
Therefore, any application of 802.11 networks of IEEE is only used for illustrating rather than each of disclosed method and device is limited
In terms of kind.
WLAN generally comprises multiple radio nodes.As an example, WLAN can be multiple in geographic area including being distributed in
AP.AP can be used for the multiple STA for supporting to exist in corresponding overlay area.The example of AP can include wireless router,
The network access equipments such as switch.The example of STA can include that smart phone, tablet device, notebook, PDA are (personal
Digital assistants), and the handheld device with wireless connection capability.It should be noted that depending on wireless receiving and dispatching part (example
Such as, Wi-Fi chips) support, the equipment such as smart phone, tablet device typically can be used as AP to operate, can be by other
Electronic equipment access.
In some cases, the example of STA can also include multiple sensors, the intelligence man being deployed in certain region
Residence, data acquisition equipment, and/or sniff equipment etc..These equipment can be linked into such as the Internet, office via the AP in region
Various types of networks such as domain net.In one example, above-mentioned sensor can be the sensor being deployed in Internet of Things, when
When which is operated as STA, the sensing data of the pressure for detecting, temperature etc. can be sent on network by which via AP
Other equipment, to realize monitoring or control etc. purpose.In another example, above-mentioned smart home can include intelligence electricity
Depending on when which is operated as STA, AP (for example, wireless router) being linked into access network, to receive such as network video
The data of frequency etc..In another example, data acquisition equipment can gather wireless network data, with sensor similarly, when
When which is operated as STA, the other equipment data of collection being sent to via AP on network.Herein, work as wireless device
When operating as STA, the wireless device can be claimed to be under " STA mode ".
In practice, need to configure such wireless device.As an example, configuration can include wireless to these
The network parameter or working condition of equipment is modified.
Referring now to Fig. 1, Fig. 1 is shown in which the example system of the one or more aspects that can adopt the disclosure.
It is as shown in Figure 1, system 100 include electronic equipment 101 and 102, wireless device 103 and 104, network 106, and
The access point 105 of network 106.
As described above, wireless device 103,104 can include sensor, smart home, data acquisition equipment and
One or more in sniff equipment.Under in working order, wireless device 103,104 can be operated as STA, via access point
105 are linked into network 106, the data of sensing data, gathered data etc. are sent with by network 106 or from net
Network 106 obtains various contents.Access point 105 is, for example, Wi-Fi Hotspot.
Additionally, the wireless receiving and dispatching part (for example, Wi-Fi chips) of wireless device 103,104 is also possible to support wireless device
Operate as AP, to electronic equipment (for example, electronic equipment 101,102) offer wireless access (for example, Wi- in respective regions
Fi focuses).Herein, when wireless device 103,104 is operated as AP, wireless device 103,104 can be referred to as being in
Under " ap mode ".
Although in the system 100 shown in Fig. 1, electronic equipment 101,102 is shown respectively smart phone and flat board sets
It is standby.It is to be understood that in other examples, electronic equipment 101,102 can also be such as laptop computer, individual digital
Any other equipment such as assistant, notebook, game console.
Additionally, in the system 100 shown in Fig. 1, electronic equipment 101 and 102, wireless device 103 and 104 are only provided work
For example.System 100 can have more or less of electronic equipment and wireless device, or with different configurations.
User 110 may expect by electronic equipment 101 or 102 to configure wireless device 103,104.At some
In example, with the instrument for being configured to wireless device 103,104 on electronic equipment 101, the instrument is, for example, in electricity
The application program performed on sub- equipment 101.User 110 via such application program, by configuration information, (for example, join by wireless network
Number) pass to wireless device 103.
When user 110 by electronic equipment 101 to configure to wireless device 103 when, need via wireless device 103
The AP services of offer come make electronic equipment 101 access wireless device 103, to be sent to configuration information.That is, when execution
During configuration, wireless device 103 is required to operate under ap mode.
However, when wireless device is descended in working order, which may be operated under STA mode, for example, access as STA
To outside AP, (for example, access point is 105) sending or receive content.At this moment, wireless device can not be accessed by electronic equipment.
In prior art, when configuring such equipment, need for wireless device to be switched to AP from STA mode
Pattern, to provide the access of focus electronic device.Subsequently connect from the electronic equipment for being connected to wireless device via focus access
Receive the configuration information relevant with STA mode.In response to receiving configuration information, equipment completes to configure and switch back into from ap mode
STA mode is working on.
Such scheme result in low allocative efficiency, and the switching between STA mode and ap mode also have impact on
The normal work of wireless device.
Embodiment of the disclosure aims to provide a kind of allocation plan for such wireless device, enabling to so
These wireless devices carry out lasting, continual configuration.
Referring to Fig. 2, Fig. 2 shows the method configured to wireless device of the one embodiment according to the disclosure
Exemplary process diagram.Method 200 shown in Fig. 2 can be performed by the wireless device 103 or 104 in Fig. 1.Will be with reference to Fig. 1
Described in various equipment method 200 is described.
In frame 201, AP channels are switched to into STA channels.
For convenience, herein, wireless device STA mode using channel be referred to as " STA channels ", in AP moulds
The channel used under formula is referred to as " AP channels ".
To be more fully understood by various aspects of the disclosure, the example that STA accesses AP is briefly described referring below to Fig. 3
Property process.
In figure 3, AP 301 can correspond to the access point 105 in Fig. 1, and the access point 105 is, for example, wireless router;
STA 302 can correspond to the wireless device 103 in figure, and the wireless device 103 is, for example, sensor.
AP 301 can periodically broadcast beacon signal to state which is present and to the STA in 301 overlay areas of AP
302 send information, such as beacon interval, timestamp, service level identification symbol (SSID), and other AP parameters.Each STA 302 holds
Row drive sweep or active scan.In the situation of drive sweep, STA 302 scans all wireless channels to seek from AP
301 beacon.Once detecting beacon, STA 302 then determines whether AP to be connected to 301.In the situation of active scan
In, STA 302 attempts by broadcast probe request positioning AP 301.AP 301 sends can probe response.The probe response class
It is similar to beacon.Based on the probe response, STA 302 may determine whether AP to be connected to 301.
Once STA 302 determines to be connected to AP 301, then the particular type regardless of the scanning for being used, STA 302
Certification and association request are sent, it is 302 Resources allocation of STA that the association request enables AP 301.Association request can include with regard to
Data transfer rate and SSID that the various information of STA 302, such as STA 302 are supported.In response to association request, AP 301 determines
The request whether to be granted, and if granted, then sent then to STA 302 and indicated whether to have permitted the response of the request
Frame.
Referring back to Fig. 1, from the description above with reference to Fig. 3, when the wireless device 103 in Fig. 1 is grasped under STA mode
When making, need to scan each channel, thus, its STA channel may change.However, when wireless device 103 will as AP operate with
When access is provided, need to keep a fixed AP channel.
For some wireless devices, exist between ap mode and the STA mode under working condition and conflict.This is due to equipment
Wireless receiving and dispatching part (for example, Wi-Fi chips) physical hardware in terms of restriction such that it does not respectively STA mode and AP
Pattern distributes different channels.In other words, on such wireless device, it is impossible to realize STA mode and AP on a different channel
Pattern coexists.
In embodiment of the disclosure, accessing with offer AP on STA channel identical AP channels, this includes following STA
Channel is switching AP channels.
In a further embodiment, wireless device 103 detects the change of STA channels under STA mode, and in response to
AP channels are switched to the STA channels after change by the change of the STA channels for detecting.Afterwards, for example create relative with ap mode
The interface answered, provides access to electronic equipment 101 by the interface.
In frame 202, AP is provided using the protocol stack in AP channels and kernel after switching under STA mode.
When wireless device 103 is operated as AP, which is with the answering between electronic equipment 101 and above with reference to Fig. 3
The process of description is similar to.When the AP channels of the scanning of electronic equipment 101 to wireless device 103, send to wireless device 103 and associate
Request;In response to the association request, wireless device 103 sends response frame to electronic equipment 101.
The operation for sending response frame is typically performed in the user space.However, due to the restriction of 802.11 driving structures, when
When wireless device 103 is operated under STA mode, directly cannot be sent to electronics by corresponding interface in the user space and be responded
Frame, this is because the link data request of required transmission will be rejected.
In some embodiments of the present disclosure, performed by the protocol stack in kernel spacing and above-mentioned response frame is sent out
Send.
In some realizations of the embodiment, response frame is sent by the protocol stack in kernel spacing can be included:Wound
The data channel of the protocol stack being built in kernel spacing;Response frame to electronic equipment is sent to into kernel via data channel empty
Between in protocol stack;And to send response frame to electronic equipment via protocol stack.
In certain embodiments, above-mentioned data channel is the monitor passages for raw socket.It is logical via this
Road, response frame are sent to the protocol stack in kernel spacing.
In frame 203, configuration information is received from the electronic equipment that wireless device is connected to via AP.
In certain embodiments, configuration information can be the configuration information relevant with the working condition of wireless device.One
In individual specific example, wireless device is sensor, and configuration information can be the various running parameters of sensor.
Additionally or alternatively, configuration information can also be the parameter relevant with the STA mode of wireless device, such as network
Parameter.
In frame 204, wireless device is configured based on configuration information.
In certain embodiments, the step can include adjusting working condition according to running parameter, and be joined according to network
Number access network.
From the description above as can be seen that in some embodiments of the present disclosure, making wireless device by switching channel
AP is provided to outside electronic equipment while operation for STA, is wirelessly set so that outside electronic equipment accesses this via the AP
It is standby, the configuration information relevant with STA is sent to wireless device.According to the technical scheme of the embodiment, can constantly to wireless
Equipment is managed and configures, the working condition without interrupting wireless device, which thereby enhances and wireless device is matched somebody with somebody
The efficiency put.
Referring to Fig. 4, Fig. 4 shows the side configured to wireless device according to another embodiment of the disclosure
The exemplary process diagram of method.
As shown in figure 4, method 400 is related to wireless device 410, access point 420, and electronic equipment 430, wherein, wirelessly
Equipment 410 can correspond to the wireless device 103 in Fig. 1, and as will be described hereinafter, in the present embodiment, which can be
Data acquisition equipment or sniff equipment;Electronic equipment 430 can correspond to the electronic equipment 101 in Fig. 1, and which is, for example, intelligence electricity
Words;Access point 420 can correspond to the access point 105 in Fig. 1, and which is, for example, router.Access point 420 can cover model to which
Various equipment in enclosing provide the access of network.
Although it should be understood that method described below 400 includes the multiple operations occurred with particular order, side
Method can also include more or less of operation, and these operations sequentially can be performed or executed in parallel.Additionally, for brevity,
Step that some eliminated in method 400 repeat or known.
In frame 401, the scanning channel of wireless device 410.
Embodiment of the disclosure goes for such scene, wherein, access point 420 be by businessman (for example, market,
Dining room etc.) network access equipment that provides, such as wireless router.Wireless device 410 is for gathering the network number in environment
According to data acquisition equipment or sniff equipment.As an example, wireless device 410 can be used to detect electronic equipment 430 (for example,
Smart phone) presence in the environment, with the change of the volume of the flow of passengers in monitoring of environmental.Wireless device 410 is attempted by scanning letter
Road being connected to access point 420, so that the data of collection are sent via network.Now, it is assumed that wireless device 410 is not yet through matching somebody with somebody
Put, be not linked in access point 420.
In frame 402, AP channels are switched to STA channels by wireless device 410.
It is desirable that, while wireless device 410 is connected to access point 420 as STA, additionally it is possible to as AP to environment
(for example, 430) electronic equipment provides access to one or more interior electronic equipment, so that can be by electronic equipment come to nothing
Line equipment is configured.
As described in upper one embodiment, for wireless transceiver (for example, the Wi-Fi that there is physics hardware limitation
Chip), need for AP channels to be switched to STA channels.
In frame 403, the scanning wireless channel of electronic equipment 430.
Electronic equipment 430 scans wireless channel to access wireless device 410, and wireless device 410 is configured.
For brevity, the process such as certification between electronic equipment 430 and wireless device 410 is not shown in Fig. 4, is associated,
The details of these processes is referred to Fig. 3 and obtains.
In frame 404, wireless device 410 is created to the data channel of the protocol stack in kernel.
Due to the restriction of 802.11 driving structures, when wireless device is operated under STA mode, cannot be straight in user's space
Connect corresponding interface and be sent out response frame.In embodiment of the disclosure, sent by the protocol stack in kernel
Response frame.Data channel to protocol stack is e.g. directed to the monitor passages of raw socket.
In block 405, wireless device 410 sends response frame to electronic equipment 430 by protocol stack.
In block 406, wireless device 410 receives the configuration information that electronic equipment 430 sends.
In the present embodiment, the configuration information that electronic equipment 430 sends is relevant with the STA mode of wireless device 410
Network parameter.In a further embodiment, the network parameter includes wireless device 410 as access point STA to be accessed
The SSID and/or password of (for example, router).
In frame 407, wireless device 410 is associated with access point 420 using configuration information.
As an example, wireless device 410 utilizes above-mentioned SSID and/or cryptographic association to access point 420.Wireless device
410 data that collection subsequently can be uploaded via access point 420.The data of collection can be relevant with electronic equipment 430
Data, such as position of electronic equipment 430, model etc..
Referring to Fig. 5, Fig. 5 shows the block diagram of the wireless device of the one embodiment according to the disclosure.
As shown in figure 5, wireless device 500 includes:As the STA modules 501 of STA operations, and for providing AP services
AP modules 502.Wireless device 500 can be sensor, data acquisition equipment, one in sniff equipment.
As illustrated in FIG. 5, STA modules 501 and AP modules 502 are operated in the user space.
AP modules 502 are for being switched to STA channels by AP channels;By using in the AP channels and kernel after switching
Protocol stack is providing access under STA mode;And configuration is received from the electronic equipment that wireless device is connected to via the access
Information.
In certain embodiments, AP modules 502 are further used for the change for detecting STA channels, and in response to detecting
STA channels change, by AP channels be switched to change after STA channels.
In certain embodiments, AP modules 502 are further used for the data channel of the protocol stack being created in kernel;Will be right
The response frame of electronic equipment is sent to protocol stack via data channel;And come to electronic equipment to send to respond via protocol stack
Frame.
STA modules 501 are configured to wireless device for the configuration information that receives from electronic equipment.
In certain embodiments, configuration information includes the network parameter relevant with the STA modules 501 of wireless device.
In certain embodiments, the network parameter relevant with STA modules 501 includes that wireless device is to be accessed as STA
The SSID and/or password of network.STA modules 501 are further used for carrying out access network using SSID and/or password.
Below with reference to Fig. 6, the structural representation for being suitable to the wireless device 600 for realizing embodiment of the disclosure is it illustrates
Figure.
As shown in fig. 6, computer system 600 includes CPU (CPU) 601, which can be read-only according to being stored in
Program in memorizer (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage part 608 and
Perform various appropriate actions and process.In RAM 603, the system that is also stored with 600 operates required various programs and data.
CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always
Line 604.
I/O interfaces 605 are connected to lower component:Including the importation 606 of keyboard, mouse etc.;Penetrate including such as negative electrode
Spool (CRT), liquid crystal display (LCD), and speaker etc. output par, c 607;Storage part 608 including hard disk etc.;
And the communications portion 609 of the NIC including LAN card, modem etc..Communications portion 609 via such as because
The network of special net performs communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc., as needed in driver 610, in order to read from it
Computer program be mounted into as needed storage part 608.
Especially, in accordance with an embodiment of the present disclosure, computer is may be implemented as above with reference to the process of Fig. 2-Fig. 4 descriptions
Software program.For example, embodiment of the disclosure includes a kind of computer program, and which includes being tangibly embodied in machine readable
Computer program on medium, program code of the computer program comprising the method for being used to perform Fig. 2-Fig. 4.Such
In embodiment, the computer program can be downloaded and installed from network by communications portion 609, and/or from detachable Jie
Matter 611 is mounted.Communications portion 609 for example includes the wireless receiving and dispatching part of Wi-Fi chips etc..
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the disclosure, method and computer journey
The architectural framework in the cards of sequence product, function and operation.At this point, each square frame in flow chart or block diagram can generation
A part for table one module, program segment or code, a part for the module, program segment or code include one or more
For realizing the executable instruction of the logic function of regulation.It should also be noted that in some realizations as replacement, institute in square frame
The function of mark can also occur with the order different from being marked in accompanying drawing.For example, the two square frame reality for succeedingly representing
On can perform substantially in parallel, they can also be performed sometimes in the opposite order, and this is depending on involved function.Also to
It is noted that the combination of block diagram and/or each square frame and block diagram and/or the square frame in flow chart in flow chart, Ke Yiyong
Perform the function of regulation or the special hardware based system of operation to realize, or can be referred to computer with specialized hardware
The combination of order is realizing.
It is described in involved unit in the embodiment of the present application or module can be realized by way of software, it is also possible to
Realized by way of hardware.Described unit or module can also be arranged within a processor, for example, can be described as:
A kind of processor includes reptile unit and detector unit.Wherein, the title of these units or module not structure under certain conditions
The restriction of the unit or module itself in pairs.
As on the other hand, present invention also provides a kind of computer-readable recording medium, the computer-readable storage medium
Matter can be the computer-readable recording medium described in above-described embodiment included in device;Can also be individualism, not
The computer-readable recording medium being fitted in equipment.Computer-readable recording medium storage has one or more than one journey
Sequence, described program are used for performing the formula input method for being described in the application by one or more than one processor.
Above description is only the preferred embodiment and the explanation to institute's application technology principle of the application.People in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to the technology of the particular combination of above-mentioned technical characteristic
Scheme, while should also cover in the case of without departing from the inventive concept, is carried out by above-mentioned technical characteristic or its equivalent feature
Combination in any and other technical schemes for being formed.Such as features described above has similar work(with (but not limited to) disclosed herein
The technical scheme that the technical characteristic of energy is replaced mutually and formed.
Claims (15)
1. a kind of method configured by wireless device, including:
AP channels are switched to into STA channels;
Focus is provided by using the protocol stack of AP channels and kernel spacing after switching under STA mode;
Configuration information is received from the electronic equipment that the wireless device is linked into via the focus;And based on described with confidence
Cease to configure the wireless device.
2. method according to claim 1, wherein, AP channels are switched to STA channels includes:
Detect the change of the STA channels;And
The AP channels are switched to the STA channels after change by the change of the STA channels in response to detecting.
3. method according to claim 1 and 2, wherein, using the protocol stack in AP channels and kernel after switching come
Focus is provided under STA mode to be included:
The data channel of the protocol stack being created in kernel spacing;
Response frame to the electronic equipment is sent to into the protocol stack via the data channel;And
To send the response frame to the electronic equipment via the protocol stack.
4. method according to claim 1, wherein, the configuration information includes the network ginseng relevant with the STA mode
Number.
5. method according to claim 4, wherein, the network parameter relevant with STA includes that the wireless device is made
For the SSID and/or password of network STA to be accessed;
Configuration is carried out to the wireless device includes:The network is accessed using the SSID and password.
6. method according to claim 5, wherein, the wireless device is that the data acquisition for gathering wireless network data sets
It is standby.
7. method according to claim 6, wherein, the wireless device gathers the data relevant with the electronic equipment.
8. a kind of wireless device, including:
AP modules, are configured to:
AP channels are switched to into STA channels;
Focus is provided by using the protocol stack in the AP channels and kernel spacing after switching under STA mode;And
Configuration information is received from the electronic equipment that the wireless device is linked into via the focus;
And
STA modules, are configured to:The wireless device is configured based on the configuration information.
9. wireless device according to claim 8, wherein, the AP modules are configured to:
Detect the change of the STA channels;And
The AP channels are switched to the STA channels after change by the change of the STA channels in response to detecting.
10. wireless device according to claim 8 or claim 9, wherein, the AP modules are configured to:
The data channel of the protocol stack being created in kernel spacing;
Response frame to the electronic equipment is sent to into the protocol stack via the data channel;And
To send the response frame to the electronic equipment via the protocol stack.
11. wireless devices according to claim 8, wherein, the configuration information includes the net relevant with the STA mode
Network parameter.
12. wireless devices according to claim 11, wherein, the network parameter relevant with STA modules includes described
SSID and/or password of the wireless device as network STA to be accessed;
The STA modules are further used for:The network is accessed using the SSID and/or password.
13. wireless devices according to claim 8, wherein, the wireless device is data acquisition equipment.
14. wireless devices according to claim 13, wherein, the wireless device collection is relevant with the electronic equipment
Data.
A kind of 15. wireless devices, including:
Wireless transceiver;
Processor;And
Memorizer, with the instruction being stored thereon, when executed by the processor so that described wirelessly to set
It is standby:
AP channels are switched to into STA channels;
Focus is provided using the protocol stack in AP channels and kernel after switching under STA mode;
Configuration information is received from the electronic equipment that the wireless device is linked into via the focus;
And
The wireless device is configured based on the configuration information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611197158.8A CN106604307A (en) | 2016-12-22 | 2016-12-22 | Wireless device configuration method and wireless device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611197158.8A CN106604307A (en) | 2016-12-22 | 2016-12-22 | Wireless device configuration method and wireless device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106604307A true CN106604307A (en) | 2017-04-26 |
Family
ID=58602292
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611197158.8A Pending CN106604307A (en) | 2016-12-22 | 2016-12-22 | Wireless device configuration method and wireless device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106604307A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112237031A (en) * | 2018-12-29 | 2021-01-15 | 华为技术有限公司 | Method for accessing intelligent household equipment to network and related equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009113556A1 (en) * | 2008-03-14 | 2009-09-17 | Canon Kabushiki Kaisha | Communication apparatus and method of constructing network thereby |
CN104185224A (en) * | 2014-08-15 | 2014-12-03 | 深圳市同洲电子股份有限公司 | Wifi chip and control method during coexistence of station (STA) mode and access point (AP) mode |
CN104717672A (en) * | 2013-12-17 | 2015-06-17 | 施耐德电器工业公司 | WiFi configuration method, WiFi configuration device and WiFi devices |
CN105703985A (en) * | 2016-02-03 | 2016-06-22 | 四川长虹电器股份有限公司 | Method for realizing quick network access of intelligent device and device interconnection |
-
2016
- 2016-12-22 CN CN201611197158.8A patent/CN106604307A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009113556A1 (en) * | 2008-03-14 | 2009-09-17 | Canon Kabushiki Kaisha | Communication apparatus and method of constructing network thereby |
CN104717672A (en) * | 2013-12-17 | 2015-06-17 | 施耐德电器工业公司 | WiFi configuration method, WiFi configuration device and WiFi devices |
CN104185224A (en) * | 2014-08-15 | 2014-12-03 | 深圳市同洲电子股份有限公司 | Wifi chip and control method during coexistence of station (STA) mode and access point (AP) mode |
CN105703985A (en) * | 2016-02-03 | 2016-06-22 | 四川长虹电器股份有限公司 | Method for realizing quick network access of intelligent device and device interconnection |
Non-Patent Citations (1)
Title |
---|
温静: "《计算机操作系统原理》", 31 July 2014 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112237031A (en) * | 2018-12-29 | 2021-01-15 | 华为技术有限公司 | Method for accessing intelligent household equipment to network and related equipment |
CN112237031B (en) * | 2018-12-29 | 2022-01-11 | 华为技术有限公司 | Method for accessing intelligent household equipment to network and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11582592B2 (en) | Communication device | |
US7733833B2 (en) | Self-configuring, self-optimizing wireless local area network system | |
CN105530709B (en) | Equipment in wlan system | |
US9042940B2 (en) | Technique for executing communication of object data with mobile device | |
US7433309B2 (en) | Apparatus for controlling load balance of multi-access points in wireless LAN system and method thereof | |
CN100461729C (en) | System and method for informing describer in wireless lan service or not | |
CN102137395B (en) | Method, device and system for configuring access device | |
CN104641705B (en) | Method and apparatus for frequency selectivity transmission | |
CN104221438B (en) | Method and apparatus for the scanning based on filtering in wlan system | |
US20080136621A1 (en) | Methods and apparatus for wlan management using rf tags | |
EP3461225A1 (en) | Communication device | |
CN103828412A (en) | Methods of and systems for remotely configuring a wireless device | |
CN105340328A (en) | Method and apparatus for performing wireless docking service | |
CN102457849A (en) | Wireless docking with out-of-band initiation | |
CN104012139A (en) | Method, apparatus, and computer program product for filtering list in wireless request | |
CN103428808A (en) | Method and apparatus for controlling network access to guest apparatus based on presence of hosting apparatus | |
KR100653368B1 (en) | Apparatus and method of avoiding mutual interaction between wireless lan and zigbee | |
JP2004228926A (en) | Radio communication system, radio communication apparatus, radio communication method and computer program | |
JP2011193274A (en) | Information processor, connection establishment method therefor, and radio communication equipment | |
CN106576292A (en) | Method and apparatus for scanning access point in wireless lan system | |
KR101606811B1 (en) | Method for setting up high-speed link in wlan system and device for same | |
CN109104754A (en) | A kind of searching method, relevant device and the system of SS block | |
CN103906226A (en) | Adjacent terminal discovery method and device, terminal and server | |
CN103916323A (en) | Mobile router capable of automatically detecting connection mode and executing connection setting and method thereof | |
US9706477B2 (en) | Method and device for configuring multi-band based link in wireless LAN system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170426 |
|
RJ01 | Rejection of invention patent application after publication |