CN106376057A - Wireless network access method and device - Google Patents
Wireless network access method and device Download PDFInfo
- Publication number
- CN106376057A CN106376057A CN201611066393.1A CN201611066393A CN106376057A CN 106376057 A CN106376057 A CN 106376057A CN 201611066393 A CN201611066393 A CN 201611066393A CN 106376057 A CN106376057 A CN 106376057A
- Authority
- CN
- China
- Prior art keywords
- access point
- router
- access
- ssid
- wireless network
- 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
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/04—Terminal devices adapted for relaying to or from another terminal or user
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a wireless network access method and device. According to the method, access points in the surrounding are scanned to obtain a first scanning result, and the first scanning result comprises first SSIDs of the scanned access points; according to a second SSID of a preset router, the first SSIDs of the scanned access points included in the first scanning result and the mapping relation between the preset router and relay access points, a relay access point set that satisfies the mapping relation is determined in the first scanning result, and each access point in the relay access point set has a relay function; according to signal intensity information of the router, the router or one access point is selected from the router and the relay access point set and serves as a target access point; and the wireless network is accessed via the target access point. Via the method, terminal equipment which is relatively far from the router and prepared to access the wireless network can access the wireless network via terminal equipment which accesses the wireless network already and has the relay function, and the accessing efficiency is improved.
Description
Technical field
It relates to communication technology, more particularly, to a kind of cut-in method of wireless network and device.
Background technology
The function of the intelligent chip adopting with smart machine is stronger and stronger, and smart machine is except possessing the normal of script
Outside function, the website (station) for example as Wireless Fidelity (wireless fidelity, abbreviation wi-fi) is connected to wirelessly
Router, also additional supports relay function so that smart machine (the wireless router ratio in referring to leave home that is placed in family corner
Smart machine farther out) can also be by relay connection to network, without using because signal is weak.
Content of the invention
For overcoming problem present in correlation technique, the disclosure provides a kind of cut-in method of wireless network and device.
According to the embodiment of the present disclosure in a first aspect, provide a kind of cut-in method of wireless network, comprising:
The access point of scanning surrounding simultaneously obtains the first scanning result, and described first scanning result includes the access scanning
First ssid of point;
First ssid of the access point being included according to the 2nd ssid of preset router, described first scanning result and
Preset router and the mapping relations of relay access point, determine from described first scanning result and meet in described mapping relations
Continue access point set, the ssid of each access point in described relay access point set and the 2nd ssid of described router
Meet described mapping relations, and each access point has accessed wireless network, and open relay function;
According to the signal strength information of described router, access from described router and described first and point set, select institute
State router or an access point as target access;
Ssid according to target access and password, access wireless network by target access.
Optionally, the described signal strength information according to described router, from described router and described relay access point
Described router or an access point is selected as target access in set, comprising:
According to the signal strength information of described router, judge whether the signal intensity of described router is more than the first threshold
Value;
When the signal intensity of described router is more than first threshold, using described router as target access;
When the signal intensity of described router is less than or equal to first threshold, select from described relay access point set
Signal intensity access point the strongest is as described target access.
Optionally, after described target access accesses wireless network, also include:
Periodically obtain the strength information of described router;
According to the strength information of described router, judge whether the signal intensity of described router is more than first threshold;
When the signal intensity of described router is more than first threshold and the non-described router in current access point, disconnect and institute
State the connection of current access point, and wireless network is accessed by described router.
Optionally, the signal strength information according to described router, from described router and described relay access point set
The described router of middle selection or an access point are as target access, comprising:
According to the signal strength information of described router, judge whether the signal intensity of described router is more than the first threshold
Value;
When the signal intensity of described router is more than first threshold, using described router as target access;
When the signal intensity of described router is less than or equal to first threshold, obtain every in described relay access point set
The routing information of individual access point, the routing information of each access point includes the access that each access point is passed through to described router
The number of point;
Select the access point of shortest path as target access from described relay access point set.
According to the second aspect of the embodiment of the present disclosure, provide a kind of access device of wireless network, comprising:
Scan module, is configured to the access point around scanning and obtains the first scanning result, described first scanning result
Include the ssid of access point scanning;
Determining module, is configured to the 2nd ssid according to preset router, described first scanning result includes connects
First ssid of access point and preset router and the mapping relations of relay access point, determine full from described first scanning result
Relay access point set, the 2nd ssid of each access point in described relay access point set and the institute of the described mapping relations of foot
The 2nd ssid stating router meets described mapping relations, and each access point has accessed wireless network, and opens relaying
Function;
Selecting module, is configured to the signal strength information according to described router, from described router and described first
Access in point set and select described router or an access point as target access;
First AM access module, is configured to the ssid according to target access and password, is accessed no by target access
Gauze network.
Optionally, described selecting module includes:
First judging submodule, is configured to the signal strength information according to described router, judges described router
Whether signal intensity is more than first threshold;
First choice submodule, when the signal intensity being configured as described router is more than first threshold, by described road
By device as target access;Or,
Second selection submodule, when the signal intensity being configured as described router is less than or equal to first threshold, from
In described relay access point set, selection signal intensity access point the strongest is as described target access.
Optionally, described device also includes:
Acquisition module, is configured to periodically obtain the strength information of described router;
Judge module, is configured to the strength information according to described router, judges that the signal intensity of described router is
No more than first threshold;
Second AM access module, the signal intensity being configured as described router is more than first threshold and current access point is non-
During described router, disconnect the connection with described current access point, and wireless network is accessed by described router.
Optionally, described selecting module includes:
First judging submodule, is configured to the signal strength information according to described router, judges described router
Whether signal intensity is more than first threshold;
First choice submodule, when the signal intensity being configured as described router is more than first threshold, by described road
By device as target access;
Acquisition submodule, when the signal intensity being configured to described router is less than or equal to first threshold, obtains described
The routing information of each access point in relay access point set, the routing information of each access point includes each access point to described
The number of the access point that router is passed through;
3rd selection submodule, is configured to select the access point conduct of shortest path from described relay access point set
Target access.
According to the third aspect of the embodiment of the present disclosure, provide a kind of access device of wireless network, comprising:
Memorizer;
It is configured to store the memorizer of processor executable;
Wherein, described processor is configured to:
The access point of scanning surrounding simultaneously obtains the first scanning result, and described first scanning result includes the access scanning
First ssid of point;
First ssid of the access point being included according to the 2nd ssid of preset router, described first scanning result and
Preset router and the mapping relations of relay access point, determine from described first scanning result and meet in described mapping relations
Continue access point set, the ssid of each access point in described relay access point set and the 2nd ssid of described router
Meet described mapping relations, and each access point has accessed wireless network, and open relay function;
According to the signal strength information of described router, access from described router and described first and point set, select institute
State router or an access point as target access;
Ssid according to described target access and password, access wireless network by target access.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect: by the access point around scanning
And obtaining the first scanning result, the first scanning result includes the ssid of access point scanning, secondly according to preset road
First ssid of the access point being included by the 2nd ssid of device, the first scanning result and preset router and relay access point
Mapping relations, determine from the first scanning result and meet the relay access point set of this mapping relations, this relay access point collection
Each access point in conjunction there is relay function, the then signal strength information according to router, from router and first
Access and select router or an access point in point set as target access, the ssid according to target access and password,
Wireless network is accessed by target access.Methods described allows the terminal unit to be accessed farther out apart from router to lead to
Cross accessed network and there is the terminal unit access wireless network of relay function, improve access efficiency.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the present invention
Example, and be used for explaining the principle of the present invention together with description.
Fig. 1 is a kind of flow chart of the cut-in method of wireless network according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the cut-in method of wireless network according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of the cut-in method of wireless network according to an exemplary embodiment.
Fig. 4 is a kind of flow chart of the cut-in method of wireless network according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of the access device of wireless network according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of the access device of wireless network according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of the access device of wireless network according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of the access device of wireless network according to an exemplary embodiment.
Fig. 9 is a kind of entity block diagram of the access device of wireless network according to an exemplary embodiment.
Figure 10 is a kind of block diagram of the access device 800 of the wireless network according to an exemplary embodiment.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they be only with such as appended
The example of the consistent apparatus and method of some aspects being described in detail in claims, the present invention.
Fig. 1 is a kind of flow chart of the cut-in method of wireless network according to an exemplary embodiment, the present embodiment
Method be applied to the terminal unit of wireless network to be accessed, as shown in figure 1, the cut-in method of this wireless network includes following step
Suddenly.
In step s101, the access point of scanning surrounding simultaneously obtains the first scanning result, and the first scanning result includes sweeping
The first service set identifier (service set identifier, ssid) of the access point retouched.
Ssid can refer to the title that user is arranged for wireless network.After scanning ssid, input the corresponding password of this ssid
Wi-Fi could be accessed.
Access point around terminal device scans, terminal unit can be mobile phone, panel computer, intelligent watch, intelligent handss
The smart machines such as ring, intelligent desk lamp, intelligent keyboard, terminal unit can be by the method scanning week of active scan or drive sweep
The access point enclosing obtains scanning result, and active scan is actively to find wireless network, rather than waits for peacefully wireless network statement itself
Presence.Active scan mode refers to send probe request (probe on each channel as the terminal unit of sta
Request), the wireless network around request is responded.Drive sweep (passive scanning) mode is in scanning process
In do not need to transmit any signal, can be with power saving.In drive sweep, sta can be listed in channel list (channel list)
Each channel between constantly switch, and wait for peacefully the arrival of beacon frame.First scanning result includes the of multiple access points
One ssid, signal intensity, signal quality, encryption and authentication mode etc., the access point in the first scanning result can also for mobile phone,
The smart machines such as panel computer, intelligent desk lamp, intelligent keyboard.
In step s102, included according to the 2nd ssid of preset router, the first scanning result the of access point
One ssid and preset router and the mapping relations of relay access point, determine from the first scanning result and meet this mapping relations
Relay access point set.
Wherein, a ssid of each access point in relay access point set and the 2nd ssid of router meets this and reflects
Penetrate relation, and each access point has accessed wireless network, each access point in relay access point set removes as website sta
Have outside normal function, also there is relay function.The terminal unit of wireless network to be accessed connects not only by router
Enter wireless network, wireless network can also be accessed by having the access point of relay function.Access in relay access point set
Point may be by router access wireless network it is also possible to be accessed wirelessly by the access point that other have relay function
Network.
In the present embodiment, the 2nd ssid of router and password, with a ssid of the access point with relay function and
Password has this mapping relations, and this mapping relations specifically can be stored in a mapping table, deposits in this mapping table
Contain the 2nd ssid and the password of router, and there is a ssid and the password of the access point of relay function.This mapping is closed
System can also be mapping algorithm, the ssid according to access point and this mapping algorithm, can obtain the 2nd ssid of router,
Specifically, terminal unit judges whether a ssid of each access point in scanning result meets this mapping relations, such as successively
Fruit meets this mapping relations, then access point is added in relay access point set, each access in relay access point set
Point all has relay function.
It should be noted that when terminal unit accesses wireless network first, the 2nd ssid of router and password need
User input, terminal unit can preserve the 2nd ssid and password.When terminal unit non-first access wireless network when it is not necessary to
User's the 2nd ssid of input router and password again.
In step s103, according to the signal strength information of router, select from router and relay access point set
Router or an access point are as target access.
Terminal unit can select router as target access it is also possible to from relay access point set selection signal
Intensity access point the strongest as target access, can also from relay access point set chosen distance router shortest path
Access point as target access.
In step s104, the ssid according to target access and password, access wireless network by target access.
When target access is for the relay access point in relay access point set, terminal unit can be by the side tabled look-up
The password that formula gets target access accesses it is also possible to be calculated target according to the ssid of mapping algorithm and target access
The password of point.
In the present embodiment, by scanning the access point of surrounding and obtaining the first scanning result, the first scanning result includes
Secondly first ssid of the access point scanning, according to connecing that the 2nd ssid of preset router, the first scanning result include
First ssid of access point and preset router and the mapping relations of relay access point, determine to meet from the first scanning result and are somebody's turn to do
The relay access point set of mapping relations, each access point in this relay access point set there is relay function, then
According to the signal strength information of router, select router or an access point conduct from router and relay access point set
Target access, the ssid according to target access and password, access wireless network by target access.Methods described makes
By accessed network and can have the terminal unit of relay function and connect apart from router terminal unit to be accessed farther out
Enter wireless network, improve access efficiency.
Fig. 2 is a kind of flow chart of the cut-in method of wireless network according to an exemplary embodiment, the present embodiment
On the basis of embodiment illustrated in fig. 1, in detail step s103 is described, as shown in Fig. 2 the cut-in method of this wireless network
Comprise the following steps.
In step s201, the access point of scanning surrounding simultaneously obtains the first scanning result, and the first scanning result includes sweeping
First ssid of the access point retouched.
In step s202, included according to the 2nd ssid of preset router, the first scanning result the of access point
One ssid and preset router and the mapping relations of relay access point, determine from the first scanning result and meet this mapping relations
Relay access point set.
In step s203, according to the signal strength information of router, judge the signal intensity of router whether more than the
One threshold value.
First threshold is pre-configured by system, or by user setup, this first threshold for example (can be divided for -60db
Shellfish).When the signal intensity of router is more than first threshold, execution step s204, when the signal intensity of router is less than or waits
When first threshold, execution step s205.
In step s204, using router as target access.
In step s205, from relay access point set, selection signal intensity access point the strongest accesses as target
Point.
By comparing the signal intensity of each access point in relay access point set, selection signal intensity access point the strongest is made
For target access.
In step s206, the ssid according to target access and password, access wireless network by target access.
The associated description of the specific implementation reference embodiment one of step s201, s202 and step s206, herein not
Repeat again.
In the present embodiment, by judging whether the signal intensity of router is more than first threshold, when the signal of router is strong
When degree is more than first threshold, using router as target access, when the signal intensity of router is less than or equal to first threshold
When, from relay access point set selection signal intensity access point the strongest as target access, according to target access
Ssid and password access wireless network, and the signal intensity of the target access that methods described determines is the most by force such that it is able to ensure eventually
The quality of the wireless network that end equipment accesses.
Fig. 3 is a kind of flow chart of the cut-in method of wireless network according to an exemplary embodiment, the present embodiment
On the basis of embodiment illustrated in fig. 1, in detail step s103 is described, as shown in figure 3, the cut-in method of this wireless network
Comprise the following steps.
In step s301, the access point of scanning surrounding simultaneously obtains the first scanning result, and the first scanning result includes sweeping
First ssid of the access point retouched.
In step s302, included according to the 2nd ssid of preset router, the first scanning result the of access point
One ssid and preset router and the mapping relations of relay access point, determine from the first scanning result and meet this mapping relations
Relay access point set.
In step s303, according to the signal strength information of router, judge the signal intensity of router whether more than the
One threshold value.
When the signal intensity of router is more than first threshold, execution step s304, when the signal intensity of router is less than
Or when being equal to first threshold, execution step s305.
In step s304, using router as target access.
In step s305, obtain the routing information of each access point in relay access point set.
The routing information of each access point includes the number of the access point that each access point is passed through to router, wherein,
Other access points passing through between certain access point and router are more, then the path of this access point is longer, the access point of process
Fewer, then the path of this access point is shorter.
In step s306, select the access point of shortest path from relay access point set as target access.
Wherein, the path of access point to router is longer, then in data transmission procedure, the jumping figure that data is passed through is more, number
According to delay also bigger, therefore, in the present embodiment, the access point of prioritizing selection shortest path is as target access.
In step s307, the ssid according to target access and password, access wireless network by target access.
Execution step s307 after step s304 and step s306.
In the present embodiment, by judging whether the signal intensity of router is more than first threshold, when the signal of router is strong
When degree is more than first threshold, using router as target access, when the signal intensity of router is less than or equal to first threshold
When, obtain the routing information of each access point in relay access point set.Shortest path is selected from relay access point set
As target access, the ssid according to target access and password access wireless network to access point, the mesh that methods described determines
Tag splice access point to router shortest path such that it is able to reduce terminal unit data transmission delay.
Fig. 4 is a kind of flow chart of the cut-in method of wireless network according to an exemplary embodiment, the present embodiment
On the basis of Fig. 1 to embodiment illustrated in fig. 3, after terminal unit accesses wireless network by target access, wrap further
Include following step, as shown in figure 4, the cut-in method of this wireless network comprises the following steps.
In step s401, periodically obtain the strength information of router.
The premise of the present embodiment is that the terminal unit of wireless network to be accessed have selected the target access with relay function
Point access network, rather than wireless network is accessed by router.
In step s402, according to the strength information of router, judge whether the signal intensity of router is more than the first threshold
Value.
Due to terminal unit be likely to be at mobile in, when terminal unit is mobile, terminal unit apart from router away from
From there occurs change, potential range router is closer to it is also possible to farther apart from router, thus the router detecting
Signal intensity also there occurs change.When the signal intensity of router is more than first threshold, execution step s403, when router
When signal intensity is less than or equal to first threshold, execution step s404.
In step s403, when current access point is for router, disconnect the connection with current access point, and by route
Device accesses wireless network.
I.e. when router signal intensity becomes strong, terminal unit is switched to router from current access point, thus ensureing no
The quality of gauze network.
In step s404, terminate.
In the present embodiment, terminal unit, after accessing wireless network using target access, periodically obtains router
Strength information, according to the strength information of router, judges whether the signal intensity of described router is more than first threshold, works as route
When the signal intensity of device is more than first threshold and current access point non-router, disconnects the connection with current access point, and pass through
Router accesses wireless network.In methods described, according to the situation of change of network, adjust the access point of terminal unit in time, from
And ensure that the quality of wireless network.
Fig. 5 is a kind of block diagram of the access device of wireless network according to an exemplary embodiment, as shown in figure 5,
The device of the present embodiment includes: scan module 11, determining module 12, selecting module 13 and the first AM access module 14.
Wherein, scan module 11, are configured to the access point around scanning and obtain the first scanning result, described first sweeps
Retouch a ssid of the access point that result includes scanning;
Determining module 12, is configured to the 2nd ssid according to preset router, described first scanning result includes
First ssid of access point and preset router and the mapping relations of relay access point, determine from described first scanning result
Meet the relay access point set of described mapping relations, a ssid of each access point in described relay access point set and
2nd ssid of described router meets described mapping relations, and each access point has accessed wireless network, and opens
Continue function;
Selecting module 13, is configured to the signal strength information according to described router, from described router and described
Described router or an access point is selected as target access in the access point set that continues;
First AM access module 14, is configured to the ssid according to described target access and password, is connect by described target
Access point accesses wireless network.
Fig. 6 is a kind of block diagram of the access device of wireless network according to an exemplary embodiment, as shown in fig. 6,
On the basis of Fig. 5 shown device, described selecting module 13 includes:
First judging submodule 131, is configured to the signal strength information according to described router, judges described router
Signal intensity whether be more than first threshold;
First choice submodule 132, when the signal intensity being configured as described router is more than first threshold, will be described
Router is as target access;
Second selection submodule 133, when the signal intensity being configured as described router is less than or equal to first threshold,
From described relay access point set, selection signal intensity access point the strongest is as described target access.
Fig. 7 is a kind of block diagram of the access device of wireless network according to an exemplary embodiment, as shown in fig. 7,
On the basis of Fig. 5 shown device, described device also includes:
Acquisition module 15, is configured to periodically obtain the strength information of described router;
Judge module 16, is configured to the strength information according to described router, judges the signal intensity of described router
Whether it is more than first threshold;
Second AM access module 17, the signal intensity being configured as described router is more than first threshold and current access point
During non-described router, disconnect the connection with described current access point, and and wireless network is accessed by described router.
Fig. 8 is a kind of block diagram of the access device of wireless network according to an exemplary embodiment, as shown in figure 8,
On the basis of Fig. 5 shown device, described selecting module 13 includes:
First judging submodule 131, is configured to the signal strength information according to described router, judges described router
Signal intensity whether be more than first threshold;
First choice submodule 132, when the signal intensity being configured as described router is more than first threshold, will be described
Router is as target access;
Acquisition submodule 134, when the signal intensity being configured to described router is less than or equal to first threshold, obtains institute
State the routing information of each access point in relay access point set, the routing information of each access point includes each access point to institute
State the number of the access point that router is passed through;
3rd selection submodule 135, is configured to select the access point of shortest path from described relay access point set
As target access.
With regard to the access device of the wireless network in above-described embodiment, the wherein concrete mode of modules execution operation
It has been described in detail through the method in Fig. 1 to embodiment illustrated in fig. 4, explanation will be not set forth in detail herein.
Fig. 9 is a kind of entity block diagram of the access device of wireless network according to an exemplary embodiment, as Fig. 9 institute
Show, the access device 200 of wireless network includes: processor 21 and the memorizer 22 for storing processor 21 executable instruction,
Memorizer 22 is connected with processor 21 and is communicated by system bus.
Wherein, processor 21 is configured to:
The access point of scanning surrounding simultaneously obtains the first scanning result, and described first scanning result includes the access scanning
First ssid of point;
First ssid of the access point being included according to the 2nd ssid of preset router, described first scanning result and
Preset router and the mapping relations of relay access point, determine from described first scanning result and meet in described mapping relations
Continue access point set, the ssid of each access point in described relay access point set and the 2nd ssid of described router
Meet described mapping relations, and each access point has accessed wireless network, and open relay function;
According to the signal strength information of described router, access from described router and described first and point set, select institute
State router or an access point as target access;
Ssid according to described target access and password, access wireless network by target access.
It should be appreciated that processor can be central authorities processes list in the physical embodiment of the access device of above-mentioned wireless network
Unit (English: central processing unit, referred to as: cpu), can also be other general processors, Digital Signal Processing
Device (English: digital signal processor, referred to as: dsp), special IC (English: application
Specific integrated circuit, referred to as: asic) etc..General processor can be microprocessor or this processor
Can also be any conventional processor etc., and aforesaid memorizer can be read only memory (English: read-only
Memory, abbreviation: rom), random access memory (English: random access memory, referred to as: ram), flash
Device, hard disk or solid state hard disc.Step in conjunction with the method disclosed in the embodiment of the present invention can be embodied directly in hardware handles
Device execution completes, or is completed with the hardware in processor and software module combination execution.
Figure 10 is a kind of block diagram of the access device 800 of the wireless network according to an exemplary embodiment.For example, fill
Putting 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment
Equipment, body-building equipment, personal digital assistant etc..
With reference to Figure 10, device 800 can include following one or more assemblies: process assembly 802, memorizer 804, power supply
Assembly 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (i/o), sensor cluster 814, and
Communication component 816.
The integrated operation of the usual control device 800 of process assembly 802, such as with display, call, data communication, phase
Machine operation and record operate associated operation.Process assembly 802 can include one or more processors 820 and refer to execute
Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 802 can include one or more modules, just
Interaction between process assembly 802 and other assemblies.For example, process assembly 802 can include multi-media module, many to facilitate
Interaction between media component 808 and process assembly 802.
Memorizer 804 is configured to store various types of data to support the operation in equipment 800.The showing of these data
Example includes the instruction for any application program of operation or method on device 800, contact data, telephone book data, disappears
Breath, picture, video etc..Memorizer 804 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, such as static RAM (sram), Electrically Erasable Read Only Memory (eeprom), erasable compile
Journey read only memory (eprom), programmable read only memory (prom), read only memory (rom), magnetic memory, flash
Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system
System, one or more power supplys, and other generate, manage and distribute, with for device 800, the assembly that electric power is associated.
Multimedia groupware 808 includes the screen of one output interface of offer between described device 800 and user.One
In a little embodiments, screen can include liquid crystal display (lcd) and touch panel (tp).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensings
Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sensing touch or sliding action
Border, but also detection and described touch or slide related persistent period and pressure.In certain embodiments, many matchmakers
Body assembly 808 includes a front-facing camera and/or post-positioned pick-up head.When equipment 800 is in operator scheme, such as screening-mode or
During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and
Post-positioned pick-up head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike
Wind (mic), when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, mike is joined
It is set to reception external audio signal.The audio signal being received can be further stored in memorizer 804 or via communication set
Part 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a speaker, for exports audio signal.
, for providing interface between process assembly 802 and peripheral interface module, above-mentioned peripheral interface module can for i/o interface 812
To be keyboard, click wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock
Determine button.
Sensor cluster 814 includes one or more sensors, for providing the state of various aspects to comment for device 800
Estimate.For example, sensor cluster 814 can detect/the closed mode of opening of equipment 800, and the relative localization of assembly is for example described
Assembly is display and the keypad of device 800, and sensor cluster 814 can be with detection means 800 or 800 1 assemblies of device
Position change, user is presence or absence of with what device 800 contacted, device 800 orientation or acceleration/deceleration and device 800
Temperature change.Sensor cluster 814 can include proximity transducer, is configured to the detection when not having any physical contact
The presence of object nearby.Sensor cluster 814 can also include optical sensor, such as cmos or ccd imageing sensor, for becoming
Use as in application.In certain embodiments, this sensor cluster 814 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device
800 can access the wireless network based on communication standard, such as wifi, 2g or 3g, or combinations thereof.In an exemplary enforcement
In example, communication component 816 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, described communication component 816 also includes near-field communication (nfc) module, to promote junction service.Example
As, RF identification (rfid) technology can be based in nfc module, Infrared Data Association (irda) technology, ultra broadband (uwb) technology,
Bluetooth (bt) technology and other technologies are realizing.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits (asic), numeral letter
Number processor (dsp), digital signal processing appts (dspd), PLD (pld), field programmable gate array
(fpga), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned Fig. 1 to Fig. 4 embodiment
The cut-in method of shown wireless network.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
As included the memorizer 804 instructing, above-mentioned instruction can be executed by the processor 820 of device 800 to complete said method.For example,
Described non-transitorycomputer readable storage medium can be rom, random access memory (ram), cd-rom, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in described storage medium is by the access of wireless network
During the computing device of device so that the access device of wireless network be able to carry out wireless shown in above-mentioned Fig. 1 to Fig. 4 embodiment
The cut-in method of network.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the present invention
Its embodiment.The application is intended to any modification, purposes or the adaptations of the present invention, these modifications, purposes or
Person's adaptations are followed the general principle of the present invention and are included the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following
Claims are pointed out.
It is described above and precision architecture illustrated in the accompanying drawings it should be appreciated that the invention is not limited in, and
And various modifications and changes can carried out without departing from the scope.The scope of the present invention only to be limited by appending claims
System.
Claims (9)
1. a kind of cut-in method of wireless network is it is characterised in that include:
Access point around scanning simultaneously obtains the first scanning result, the access point that described first scanning result includes scanning
First service set identifier ssid;
First ssid of the access point being included according to the 2nd ssid of preset router, described first scanning result and preset
Router and the mapping relations of relay access point, determine that from described first scanning result the relaying meeting described mapping relations connects
Enter point set, the 2nd ssid of a ssid of each access point in described relay access point set and described router meets
Described mapping relations, and each access point has accessed wireless network, and open relay function;
According to the signal strength information of described router, from described router and described relay access point set, select described road
By device or an access point as target access;
Ssid according to target access and password, access wireless network by target access.
2. method according to claim 1 is it is characterised in that the described signal strength information according to described router, from
Select described router or an access point as target access in described router and described relay access point set, wrap
Include:
According to the signal strength information of described router, judge whether the signal intensity of described router is more than first threshold;
When the signal intensity of described router is more than first threshold, using described router as target access;
When the signal intensity of described router is less than or equal to first threshold, selection signal from described relay access point set
Intensity access point the strongest is as target access.
3. method according to claim 1 and 2 it is characterised in that by described target access access wireless network after,
Also include:
Periodically obtain the strength information of described router;
According to the strength information of described router, judge whether the signal intensity of described router is more than first threshold;
When the signal intensity of described router is more than first threshold and the non-described router in current access point, disconnects and working as with described
The connection of front access point, and wireless network is accessed by described router.
4. method according to claim 1 is it is characterised in that according to the signal strength information of described router, from described
Described router or an access point is selected as target access in router and described relay access point set, comprising:
According to the signal strength information of described router, judge whether the signal intensity of described router is more than first threshold;
When the signal intensity of described router is more than first threshold, using described router as target access;
When the signal intensity of described router is less than or equal to first threshold, in the described relay access point set of acquisition, each connects
The routing information of access point, the routing information of each access point includes the access point that each access point is passed through to described router
Number;
Select the access point of shortest path as target access from described relay access point set.
5. a kind of access device of wireless network is it is characterised in that include:
Scan module, is configured to the access point around scanning and obtains the first scanning result, wrap in described first scanning result
Include a ssid of the access point scanning;
Determining module, is configured to the 2nd ssid according to preset router, access point that described first scanning result includes
A ssid and preset router and relay access point mapping relations, determine from described first scanning result and meet institute
State the relay access point set of mapping relations, a ssid of each access point in described relay access point set and described road
Described mapping relations are met by the 2nd ssid of device, and each access point has accessed wireless network, and open relay function;
Selecting module, is configured to the signal strength information according to described router, accesses from described router and described relaying
Described router or an access point is selected as target access in point set;
First AM access module, is configured to the ssid according to target access and password, accesses wireless network by target access
Network.
6. device according to claim 5 is it is characterised in that described selecting module includes:
First judging submodule, is configured to the signal strength information according to described router, judges the signal of described router
Whether intensity is more than first threshold;
First choice submodule, when the signal intensity being configured as described router is more than first threshold, by described router
As target access;
Second selection submodule, when the signal intensity being configured as described router is less than or equal to first threshold, from described
In relay access point set, selection signal intensity access point the strongest is as target access.
7. the device according to claim 5 or 6 is it is characterised in that also include:
Acquisition module, is configured to periodically obtain the strength information of described router;
Judge module, is configured to the strength information according to described router, judges whether the signal intensity of described router is big
In first threshold;
Second AM access module, the signal intensity being configured as described router is more than first threshold and current access point is non-described
During router, disconnect the connection with described current access point, and wireless network is accessed by described router.
8. device according to claim 5 is it is characterised in that described selecting module includes:
First judging submodule, is configured to the signal strength information according to described router, judges the signal of described router
Whether intensity is more than first threshold;
First choice submodule, when the signal intensity being configured as described router is more than first threshold, by described router
As target access;
Acquisition submodule, when the signal intensity being configured to described router is less than or equal to first threshold, obtains described relaying
Access the routing information of each access point in point set, the routing information of each access point includes each access point to described route
The number of the access point that device is passed through;
3rd selection submodule, is configured to select the access point of shortest path from described relay access point set as target
Access point.
9. a kind of access device of wireless network is it is characterised in that include:
Memorizer;
It is configured to store the memorizer of processor executable;
Wherein, described processor is configured to:
Access point around scanning simultaneously obtains the first scanning result, the access point that described first scanning result includes scanning
First ssid;
First ssid of the access point being included according to the 2nd ssid of preset router, described first scanning result and preset
Router and the mapping relations of relay access point, determine that from described first scanning result the relaying meeting described mapping relations connects
Enter point set, the 2nd ssid of a ssid of each access point in described relay access point set and described router meets
Described mapping relations, and each access point has accessed wireless network, and open relay function;
According to the signal strength information of described router, from described router and described relay access point set, select described road
By device or an access point as target access;
Ssid according to described target access and password, access wireless network by target access.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611066393.1A CN106376057A (en) | 2016-11-28 | 2016-11-28 | Wireless network access method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611066393.1A CN106376057A (en) | 2016-11-28 | 2016-11-28 | Wireless network access method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106376057A true CN106376057A (en) | 2017-02-01 |
Family
ID=57891482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611066393.1A Pending CN106376057A (en) | 2016-11-28 | 2016-11-28 | Wireless network access method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106376057A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107205258A (en) * | 2017-05-11 | 2017-09-26 | 广东美的制冷设备有限公司 | Wireless network configuration method, device and system |
CN107919927A (en) * | 2017-11-21 | 2018-04-17 | 桂林爱家购股份有限公司 | A kind of communicator and method |
CN109391529A (en) * | 2018-11-30 | 2019-02-26 | 广东美的制冷设备有限公司 | Household electrical appliance and its distribution method and apparatus |
CN109743277A (en) * | 2018-11-28 | 2019-05-10 | 西安宇飞电子技术有限公司 | A kind of ofdm system quickly accesses searching method and quickly accesses searcher |
CN110719572A (en) * | 2019-09-25 | 2020-01-21 | 恒大智慧科技有限公司 | WiFi signal relay method, device, amplifier and storage medium |
CN110769442A (en) * | 2019-10-16 | 2020-02-07 | 海尔优家智能科技(北京)有限公司 | Method and device for accessing router and Internet of things equipment |
CN111263379A (en) * | 2020-02-19 | 2020-06-09 | 深圳市共进电子股份有限公司 | Method for establishing backhaul station connection, network device and storage medium |
US11129022B2 (en) | 2018-11-19 | 2021-09-21 | Cisco Technology, Inc. | Wireless LAN deployment based on mapped password SAE authentication |
WO2022089515A1 (en) * | 2020-10-30 | 2022-05-05 | 荣耀终端有限公司 | Dual wifi connection method and electronic device |
WO2024002300A1 (en) * | 2022-06-30 | 2024-01-04 | 先临三维科技股份有限公司 | Method and apparatus for device to access wireless network, and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102342153A (en) * | 2009-03-06 | 2012-02-01 | 高通股份有限公司 | Methods and apparatus for automated local network formation using alternate connected interfaces |
US20140071850A1 (en) * | 2012-09-07 | 2014-03-13 | Qualcomm Incorporated | Systems, apparatus, and methods for association in multi-hop networks |
US20140254577A1 (en) * | 2013-03-08 | 2014-09-11 | Microchip Technology Incorporated | Method for Wireless Easy Connect |
CN104735813A (en) * | 2015-03-10 | 2015-06-24 | 小米科技有限责任公司 | Network connection establishment method and device |
CN105307226A (en) * | 2015-11-25 | 2016-02-03 | 小米科技有限责任公司 | Method, device and system for selecting signal source |
CN106060878A (en) * | 2016-05-17 | 2016-10-26 | 杭州华三通信技术有限公司 | Relay method of device and repeater |
-
2016
- 2016-11-28 CN CN201611066393.1A patent/CN106376057A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102342153A (en) * | 2009-03-06 | 2012-02-01 | 高通股份有限公司 | Methods and apparatus for automated local network formation using alternate connected interfaces |
US20140071850A1 (en) * | 2012-09-07 | 2014-03-13 | Qualcomm Incorporated | Systems, apparatus, and methods for association in multi-hop networks |
US20140254577A1 (en) * | 2013-03-08 | 2014-09-11 | Microchip Technology Incorporated | Method for Wireless Easy Connect |
CN104735813A (en) * | 2015-03-10 | 2015-06-24 | 小米科技有限责任公司 | Network connection establishment method and device |
CN105307226A (en) * | 2015-11-25 | 2016-02-03 | 小米科技有限责任公司 | Method, device and system for selecting signal source |
CN106060878A (en) * | 2016-05-17 | 2016-10-26 | 杭州华三通信技术有限公司 | Relay method of device and repeater |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107205258A (en) * | 2017-05-11 | 2017-09-26 | 广东美的制冷设备有限公司 | Wireless network configuration method, device and system |
CN107919927A (en) * | 2017-11-21 | 2018-04-17 | 桂林爱家购股份有限公司 | A kind of communicator and method |
US11129022B2 (en) | 2018-11-19 | 2021-09-21 | Cisco Technology, Inc. | Wireless LAN deployment based on mapped password SAE authentication |
CN109743277A (en) * | 2018-11-28 | 2019-05-10 | 西安宇飞电子技术有限公司 | A kind of ofdm system quickly accesses searching method and quickly accesses searcher |
CN109391529A (en) * | 2018-11-30 | 2019-02-26 | 广东美的制冷设备有限公司 | Household electrical appliance and its distribution method and apparatus |
CN110719572A (en) * | 2019-09-25 | 2020-01-21 | 恒大智慧科技有限公司 | WiFi signal relay method, device, amplifier and storage medium |
CN110769442A (en) * | 2019-10-16 | 2020-02-07 | 海尔优家智能科技(北京)有限公司 | Method and device for accessing router and Internet of things equipment |
CN110769442B (en) * | 2019-10-16 | 2023-07-21 | 海尔优家智能科技(北京)有限公司 | Method and device for accessing router and Internet of things equipment |
CN111263379A (en) * | 2020-02-19 | 2020-06-09 | 深圳市共进电子股份有限公司 | Method for establishing backhaul station connection, network device and storage medium |
CN111263379B (en) * | 2020-02-19 | 2023-08-04 | 深圳市共进电子股份有限公司 | Method for establishing backhaul station connection, network equipment and storage medium |
WO2022089515A1 (en) * | 2020-10-30 | 2022-05-05 | 荣耀终端有限公司 | Dual wifi connection method and electronic device |
WO2024002300A1 (en) * | 2022-06-30 | 2024-01-04 | 先临三维科技股份有限公司 | Method and apparatus for device to access wireless network, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106376057A (en) | Wireless network access method and device | |
US20160295625A1 (en) | Method and apparatus for network access | |
CN105517103A (en) | Network access method and device based on intelligent terminal device | |
CN104640166B (en) | Communication means and device | |
CN104159218B (en) | Internetwork connection establishing method and device | |
CN104936304A (en) | Intelligent equipment binding method, intelligent equipment, and server | |
CN104853336A (en) | Method for discovering intelligent equipment, method for accessing to internet and devices thereof | |
CN105282158A (en) | Intelligent equipment networking method, routing equipment, intelligent equipment and system | |
CN104780155A (en) | Method and device for binding equipment | |
CN105163366A (en) | Wireless network connection method and device | |
CN104540184A (en) | Equipment networking method and device | |
CN104640234A (en) | Method and device for accessing to wireless network | |
CN105049416A (en) | Method and apparatus for accessing to wifi network | |
CN104302014A (en) | Method and device for connecting terminal with Wi-Fi hotspot | |
CN105407473A (en) | Wireless local area network discovery method and apparatus | |
CN104506443A (en) | Router setting interface display method and device | |
CN105120505A (en) | Method, apparatus and system for making intelligent equipment accessed to router | |
CN106454998A (en) | Wireless local area network access method and apparatus, and terminal | |
CN105472698A (en) | Wireless network access method and device | |
CN105744595A (en) | Method, device and system for accessing wireless local area network | |
CN104684106A (en) | Network connection method and device | |
CN104320830A (en) | Wireless device list display method and apparatus, wireless device and broadcasting method thereof | |
CN105281994A (en) | Working mode switching method and device | |
CN106454801A (en) | Network switching method and terminal | |
US11864255B2 (en) | Method and apparatus for accessing base station |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170201 |