CN105578569B - Network adjusting method and device - Google Patents

Network adjusting method and device Download PDF

Info

Publication number
CN105578569B
CN105578569B CN201510998542.7A CN201510998542A CN105578569B CN 105578569 B CN105578569 B CN 105578569B CN 201510998542 A CN201510998542 A CN 201510998542A CN 105578569 B CN105578569 B CN 105578569B
Authority
CN
China
Prior art keywords
access point
wireless access
network
determining
local area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510998542.7A
Other languages
Chinese (zh)
Other versions
CN105578569A (en
Inventor
樊家麟
刘新宇
屈恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510998542.7A priority Critical patent/CN105578569B/en
Publication of CN105578569A publication Critical patent/CN105578569A/en
Application granted granted Critical
Publication of CN105578569B publication Critical patent/CN105578569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Abstract

The disclosure relates to a network adjusting method and device, and belongs to the technical field of local area network communication. The method comprises the following steps: after receiving a network adjustment instruction, scanning each wireless access point around the terminal, determining a target access point meeting preset conditions from the scanned wireless access points, and accessing the target access point after disconnecting the wireless access point from the connected wireless access points, wherein the terminal can automatically switch the accessed wireless access points according to the actual network environment so as to achieve the effect of optimizing the network structure of the home local area network.

Description

Network adjusting method and device
Technical Field
The present disclosure relates to the field of local area network communication technologies, and in particular, to a network adjustment method and apparatus.
Background
With the continuous popularization of smart home devices, more and more smart home devices are provided in a home local area network, and a single wireless access point can not meet the requirements of the smart home network gradually.
In the related art, a user may set a plurality of wireless access points in a home, where one wireless access point is used as a master access point for accessing the internet, and the other wireless access points are used as relay nodes between the master access point and each smart home device. After an intelligent home device is connected to a main access point or a relay node, the intelligent home device is always connected to the main access point or the relay node.
Disclosure of Invention
The embodiment of the disclosure provides a network adjusting method and a device, and the technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a network adjusting method, where the method is used in a terminal, and includes:
receiving a network adjusting instruction, wherein the network adjusting instruction is used for indicating that an accessed wireless access point is reselected;
scanning each wireless access point around the terminal;
determining a target access point meeting preset conditions from the scanned wireless access points;
and after disconnecting the connection with the connected wireless access point, accessing the target access point.
Optionally, the determining, from the scanned wireless access points, a target access point meeting a preset condition includes:
and determining the wireless access point with the strongest signal strength as the target access point.
Optionally, the determining, from the scanned wireless access points, a target access point meeting a preset condition includes:
and determining the wireless access point with the signal strength exceeding a preset strength threshold value and the minimum number of accessed terminals in each wireless access point as the target access point.
Optionally, the determining, from the scanned wireless access points, a target access point meeting a preset condition includes:
and determining the wireless access point with the signal strength exceeding a preset strength threshold value and the minimum flow generated in the latest preset time period as the target access point.
Optionally, the scanning for each wireless access point around the terminal includes:
scanning each wireless access point with a designated name around the terminal;
alternatively, the first and second electrodes may be,
and scanning wireless access points which are around the terminal and bound with the specified user account.
Optionally, the method further comprises:
before scanning each wireless access point around the terminal, detecting whether the connected wireless access point is a designated wireless access point;
if the connected wireless access point is not the designated wireless access point, a step of scanning each wireless access point around the terminal is executed.
Optionally, the receiving the network adjustment instruction includes:
receiving the network adjusting instruction sent by the control device when detecting that a triggering condition is met, wherein the triggering condition comprises: and when the preset time point is reached, the appointed operation is received or the number of the terminals newly added in the local area network exceeds a preset threshold value.
According to a second aspect of the embodiments of the present disclosure, there is provided a network adjusting apparatus, configured in a terminal, including:
a receiving module configured to receive a network adjustment instruction, wherein the network adjustment instruction is used for indicating that an accessed wireless access point is reselected;
a scanning module configured to scan wireless access points around the terminal;
the determining module is configured to determine a target access point meeting a preset condition from the scanned wireless access points;
and the access module is configured to access the target access point after disconnecting the connection with the connected wireless access point.
Optionally, the determining module includes:
and the first determining submodule is configured to determine the wireless access point with the strongest signal strength as the target access point.
Optionally, the determining module includes:
and the second determining submodule is configured to determine the wireless access point with the signal strength exceeding a preset strength threshold value and the minimum number of accessed terminals in the wireless access points as the target access point.
Optionally, the determining module includes:
and the third determining submodule is configured to determine, as the target access point, the wireless access point of which the signal strength exceeds a preset strength threshold and the traffic generated in a latest preset time period is the least, among the wireless access points.
Optionally, the scanning module includes:
a first scanning submodule configured to scan each wireless access point of a specified name around the terminal;
and the second scanning submodule is configured to scan wireless access points around the terminal, which are bound with the specified user account.
Optionally, the apparatus further comprises:
a detection module, configured to detect whether the connected wireless access point is a designated wireless access point before the scanning module scans each wireless access point around the terminal;
the scanning module is configured to perform the step of scanning each wireless access point around the terminal when the detection result of the detecting module indicates that the connected wireless access point is not the designated wireless access point.
Optionally, the apparatus includes:
the receiving module is further configured to receive the network adjustment instruction sent by the control device when detecting that a trigger condition is met, where the trigger condition includes: and when the preset time point is reached, the appointed operation is received or the number of the terminals newly added in the local area network exceeds a preset threshold value.
According to a third aspect of the embodiments of the present disclosure, there is provided a network adjusting apparatus, which is used in a terminal, and includes:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
receiving a network adjusting instruction, wherein the network adjusting instruction is used for indicating that an accessed wireless access point is reselected;
scanning each wireless access point around the terminal;
determining a target access point meeting preset conditions from the scanned wireless access points;
and after disconnecting the connection with the connected wireless access point, accessing the target access point.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
after receiving a network adjustment instruction, the terminal is controlled to disconnect the wireless access points connected with the terminal, the wireless access points around the terminal are scanned, a target access point meeting preset conditions is determined from the scanned wireless access points, the terminal is controlled to access the target access point, and the terminal can automatically switch the accessed wireless access points according to the actual network environment so as to achieve the effect of optimizing the network structure of the home local area network.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram of an implementation environment in which a network tuning method shown in the present disclosure is involved;
FIG. 2 is a flow chart illustrating a method of network tuning according to an example embodiment;
FIG. 3 is a flow chart illustrating a method of network tuning according to another exemplary embodiment;
FIG. 4 is a block diagram illustrating a network adjustment apparatus in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating a network adjustment apparatus according to another exemplary embodiment;
FIG. 6 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic diagram of an implementation environment related to a network adjustment method shown in the present disclosure. The implementation environment may include: a control device 101, at least one wireless access point 102 and a terminal 103.
The control device 101 may be a master access point in a home local area network, such as a wireless router accessing the internet, or the control device 110 may be other devices in the home local area network, such as a home gateway or a home management center.
The wireless access point 102 may be a wireless router connected to a master access point or the control device 101 in a home lan, and serving as a wireless relay, and the wireless access point 102 accesses the internet through the master access point.
The wireless access point 102 may be a repeater, wireless signal booster, or Wi-Fi signal amplifier, among other devices. The wireless access point 102 and the terminal 103 are connected through a wireless network.
The terminal 103 may be various smart home devices in a home lan, such as a PC (personal computer), a laptop, a tablet computer, a mobile phone, a wearable device, a smart television, a smart water purifier, a smart air conditioner, a smart camera, a smart water heater, or a wireless multimedia player device.
In the following, the technical solutions provided by the various embodiments of the present disclosure are described and explained by taking the implementation environment shown in fig. 1 as an example.
Fig. 2 is a flowchart illustrating a network adjusting method according to an exemplary embodiment, which is illustrated by applying the network adjusting method to the terminal 103 in the implementation environment shown in fig. 1. The network adjusting method can comprise the following steps:
in step 201, a network adjustment instruction is received, wherein the network adjustment instruction is used for instructing to reselect an accessed wireless access point.
In step 202, various wireless access points around the terminal are scanned.
In step 203, a target access point meeting a preset condition is determined from the scanned wireless access points.
In step 204, the target access point is accessed after the connection with the connected wireless access point is disconnected.
Optionally, determining a target access point meeting a preset condition from the scanned wireless access points includes:
and determining the wireless access point with the strongest signal strength as the target access point.
Optionally, determining a target access point meeting a preset condition from the scanned wireless access points includes:
and determining the wireless access point with the signal strength exceeding a preset strength threshold value and the minimum number of accessed terminals in each wireless access point as the target access point.
Optionally, determining a target access point meeting a preset condition from the scanned wireless access points includes:
and determining the wireless access point with the signal strength exceeding a preset strength threshold value and the minimum flow generated in the latest preset time period as the target access point.
Optionally, scanning for each wireless access point around the terminal includes:
scanning each wireless access point with a designated name around the terminal;
alternatively, the first and second electrodes may be,
and scanning wireless access points which are around the terminal and bound with the specified user account.
Optionally, the network adjusting method further includes:
before scanning each wireless access point around the terminal, detecting whether the connected wireless access point is a designated wireless access point;
if the connected wireless access point is not the designated wireless access point, a step of scanning each wireless access point around the terminal is executed.
Optionally, the receiving the network adjustment instruction includes:
receiving the network adjusting instruction sent by the control device when detecting that a triggering condition is met, wherein the triggering condition comprises: and when the preset time point is reached, the appointed operation is received or the number of the terminals newly added in the local area network exceeds a preset threshold value.
To sum up, according to the network adjusting method provided by the embodiment of the present disclosure, after receiving a network adjusting instruction, scanning each wireless access point around the terminal, determining a target access point meeting a preset condition from the scanned wireless access points, and after disconnecting the wireless access point from the connected wireless access point, accessing the target access point, where the terminal may automatically switch the accessed wireless access point according to an actual network environment, so as to achieve an effect of optimizing a network structure of a home lan.
Fig. 3 is a flowchart illustrating a network adjusting method according to another exemplary embodiment, which is illustrated by applying the network adjusting method to the terminal 103 in the implementation environment shown in fig. 1. The network adjusting method can comprise the following steps:
in step 301, a network adjustment instruction is received, where the network adjustment instruction is used to instruct the terminal to reselect an access wireless access point.
The terminal may receive the network adjustment instruction sent by the control device when detecting that a trigger condition is met, where the trigger condition includes: and when the preset time point is reached, the appointed operation is received or the number of the terminals newly added in the local area network exceeds a preset threshold value.
For example, the control device may start a timer after the last transmission of the network adjustment instruction, and transmit the network adjustment instruction to each terminal in the local area network again when the timer reaches a predetermined time; or, the control device may also send the network adjustment instruction to each terminal in the local area network when receiving a specific operation of the user, such as pressing a "network adjustment" key; or, the control device may also be configured to send the network adjustment instruction when there is a new terminal added in the local area network, or when the number of the new terminals added after the network adjustment instruction is sent last time exceeds a preset threshold, for example, if the preset threshold is 3, the control device sends the network adjustment instruction to each terminal in the local area network when the number of the new terminals added in the local area network exceeds 3.
In step 302, it is detected whether the connected wireless access point is a designated wireless access point.
In the embodiment of the present disclosure, when automatically adjusting the network structure, if a user wants to allow a certain terminal to access only one fixed wireless access point, a setting operation may be performed in the terminal to designate the wireless access point to which the terminal accesses. When the terminal receives the network adjustment instruction, it may first detect whether the currently connected wireless access point is the designated wireless access point, if not, enter the step of subsequent network adjustment, otherwise, do not perform the subsequent processing.
Alternatively, if the connected wireless access point is the designated wireless access point, the terminal may return a prompt message to the control device, where the prompt message is used to indicate that the terminal is connected to the designated wireless access point and cannot perform network adjustment.
In step 303, if the detection result is that the connected wireless access point is the designated wireless access point, each wireless access point around the terminal is scanned.
In the embodiment of the present disclosure, when scanning the wireless access points, the terminal may determine the access point belonging to the wireless local area network in which the terminal is located from the surrounding wireless access points. The terminal determines access points belonging to a wireless local area network in which the terminal is located among surrounding wireless access points as scanned access points.
In one possible implementation, the terminal may scan for various wireless access points around the terminal that are named. For example, when the terminal scans surrounding wireless access points, the terminal receives broadcast signals periodically transmitted by each wireless access point, analyzes name information of the access points included in the broadcast signals, and determines that one wireless access point is a wireless access point of the wireless local area network where the terminal is located when the terminal successfully analyzes the name of the access point from the broadcast signal of the one wireless access point and the name is "Lee".
Alternatively, in another possible implementation, the terminal scans for wireless access points around the terminal that are bound to a specified user account. Taking an example that a specified user account is "123456", a user binds each wireless access point in a wireless local area network with the user account in advance, and then each wireless access point in the wireless local area network periodically transmits a broadcast signal containing the user account, when a terminal scans surrounding wireless access points, the terminal receives the broadcast signal periodically transmitted by each wireless access point, analyzes the user account contained in the broadcast signal, and when the terminal successfully analyzes the user account from the broadcast signal of one wireless access point and the user account is "123456", it is determined that the wireless access point is the wireless access point of the wireless local area network where the terminal is located.
In step 304, the wireless access point with the strongest signal strength is determined as the target access point.
In this step, the terminal determines, as the target access point, the wireless access point with the strongest signal strength among the scanned wireless access points. The signal strength may be a signal strength of a broadcast signal of each wireless access point received when the terminal scans for the wireless access points.
In step 305, the wireless access point with the signal strength exceeding the preset strength threshold and the minimum number of accessed terminals in the wireless access points is determined as the target access point.
In this step, in order to further optimize the network structure, when the terminal determines the target access point, the number of terminals accessed by each access point may be automatically balanced under the condition that the signal strength requirement is met, that is, one wireless access point with the minimum number of accessed terminals is selected for access, where the signal strength meets the requirement.
The preset intensity threshold may be a value set by the terminal when the terminal leaves a factory, or may be a value input by the terminal when the terminal receives a user setting when the terminal is used. The setting mode of the preset threshold is not limited in the embodiment of the present disclosure.
In step 306, the wireless access point with the signal strength exceeding the preset strength threshold and the minimum traffic generated in the latest preset time period is determined as the target access point.
In addition to the above steps, selecting a wireless access point with a signal strength meeting the requirement and the minimum number of accessed terminals to perform access, in order to optimize the network structure, the embodiments of the present disclosure may also automatically equalize the traffic of each access point, that is, when the terminal determines the target access point, the terminal may select the wireless access point with a signal strength meeting the requirement and the minimum traffic generated in a past period (for example, 24 hours before the current time) to perform access. The generated traffic refers to the sum of data traffic uploaded and downloaded by each terminal under one wireless access point. When the wireless access point periodically transmits the broadcast signal, the traffic generated by the wireless access point in the latest preset time period can be carried in the broadcast signal, so that the terminal can select the target access point.
Optionally, the preset time period may be preset when the terminal leaves a factory, or may be manually set by a user, or may be automatically set by collecting parameters of a wireless local area network in which the terminal is located by related components of the terminal.
In practical applications, the terminal only needs to execute any one of the three steps, namely, the steps 305 to 307 are parallel steps.
In step 307, the target access point is accessed after the connection with the connected wireless access point is disconnected.
The terminal may disconnect the connection with the connected wireless access point after receiving the network adjustment instruction, or after receiving the network adjustment instruction, the terminal may not disconnect the connection with the connected wireless access point temporarily, but determine the target access point first, detect whether the target access point is the currently connected wireless access point after determining the target access point, and if not, switch to connect to the target access point, otherwise, do not need to switch.
In summary, in the method for network adjustment provided by the present disclosure, after receiving a network adjustment instruction, a terminal disconnects a connection with a connected wireless access point, scans each wireless access point around the terminal, determines a target access point meeting a preset condition from the scanned wireless access points, and accesses the target access point, and the terminal may automatically switch the accessed wireless access point according to an actual network environment, so as to achieve an effect of optimizing a network structure of a home lan.
Fig. 4 is a block diagram illustrating a network adjustment apparatus according to an example embodiment. The network adjusting apparatus may be implemented as a terminal in the implementation environment shown in fig. 1, and perform all or part of the steps performed by the terminal in the embodiments shown in fig. 2 or fig. 3. Referring to fig. 4, the apparatus may include: a receiving module 401, a scanning module 402, a determining module 403 and an accessing module 404.
A receiving module 401 configured to receive a network adjustment instruction, where the network adjustment instruction is used to instruct to reselect an accessed wireless access point;
a scanning module 402 configured to scan various wireless access points around the terminal;
a determining module 403, configured to determine, from the scanned wireless access points, a target access point meeting a preset condition;
an access module 404 configured to access the target access point after disconnecting the connection with the connected wireless access point.
To sum up, according to the network adjusting apparatus provided in the embodiment of the present disclosure, after receiving a network adjusting instruction, scanning each wireless access point around the terminal, determining a target access point meeting a preset condition from the scanned wireless access points, and after disconnecting the wireless access point from the wireless access point, accessing the target access point, where the terminal may automatically switch the wireless access point according to an actual network environment, so as to achieve an effect of optimizing a network structure of a home lan.
Fig. 5 is a block diagram illustrating a network adjustment apparatus according to another example embodiment. The network adjusting apparatus may be implemented as a terminal in the implementation environment shown in fig. 1, and perform all or part of the steps performed by the terminal in the embodiments shown in fig. 2 or fig. 3. Referring to fig. 5, the apparatus may include: a receiving module 501, a scanning module 502, a determining module 503 and an accessing module 504.
A receiving module 501 configured to receive a network adjustment instruction, where the network adjustment instruction is used to instruct to reselect an accessed wireless access point.
The receiving module 501 is further configured to receive the network adjusting instruction sent by the control device when detecting that a triggering condition is met, where the triggering condition includes: and when the preset time point is reached, the appointed operation is received or the number of the terminals newly added in the local area network exceeds a preset threshold value.
A scanning module 502 configured to scan for various wireless access points around the terminal.
The scanning module 502 includes:
a first scanning sub-module 502a configured to scan the respective wireless access points of the specified name around the terminal.
And the second scanning sub-module 502b is configured to scan wireless access points around the terminal, which are bound with the specified user account.
A determining module 503 configured to determine a target access point meeting a preset condition from the scanned wireless access points.
The determining module 503 includes:
the first determining submodule 503a is configured to determine, as the target access point, a wireless access point with the strongest signal strength from the wireless access points.
The second determining submodule 503b is configured to determine, as the target access point, a wireless access point in the respective wireless access points, where the signal strength exceeds a preset strength threshold and the number of accessed terminals is the minimum.
The third determining submodule 503c is configured to determine, as the target access point, a wireless access point, of the wireless access points, for which the signal strength exceeds a preset strength threshold and the traffic generated in a latest preset time period is the least.
An access module 504 configured to control the terminal to access the target access point.
Optionally, the apparatus further comprises:
a detecting module 505, configured to detect whether the connected wireless access point is a designated wireless access point before the scanning module 502 scans the wireless access points around the terminal;
the scanning module 502 is configured to perform the step of scanning each wireless access point around the terminal when the detection result of the detecting module 505 is that the connected wireless access point is not the designated wireless access point.
To sum up, the network adjusting apparatus provided in the embodiment of the present disclosure is used in a terminal, and after receiving a network adjusting instruction, scans each wireless access point around the terminal, determines a target access point meeting a preset condition from the scanned wireless access points, and after disconnecting the wireless access point from a connected wireless access point, accesses the target access point, so that the terminal can automatically switch the accessed wireless access point according to an actual network environment, thereby achieving an effect of optimizing a network structure of a home lan.
An exemplary embodiment of the present disclosure further provides a network adjusting apparatus, which can implement the network adjusting method provided by the embodiment of the present disclosure. The device includes: a processor, and a memory for storing executable instructions for the processor.
Wherein the processor is configured to:
receiving a network adjusting instruction, wherein the network adjusting instruction is used for indicating that an accessed wireless access point is reselected;
scanning each wireless access point around the terminal;
determining a target access point meeting preset conditions from the scanned wireless access points;
the target access point is accessed after the connection with the connected wireless access point is broken.
Optionally, the determining, from the scanned wireless access points, a target access point meeting a preset condition includes:
and determining the wireless access point with the strongest signal strength as the target access point.
Optionally, the determining, from the scanned wireless access points, a target access point meeting a preset condition includes:
and determining the wireless access point with the signal strength exceeding a preset strength threshold value and the minimum number of accessed terminals in each wireless access point as the target access point.
Optionally, the determining, from the scanned wireless access points, a target access point meeting a preset condition includes:
and determining the wireless access point with the signal strength exceeding a preset strength threshold value and the minimum flow generated in the latest preset time period as the target access point.
Optionally, the scanning for each wireless access point around the terminal includes:
scanning each wireless access point with a designated name around the terminal;
alternatively, the first and second electrodes may be,
and scanning wireless access points which are around the terminal and bound with the specified user account.
Optionally, the method further comprises:
before scanning each wireless access point around the terminal, detecting whether the connected wireless access point is a designated wireless access point;
if the connected wireless access point is not the designated wireless access point, a step of scanning each wireless access point around the terminal is executed.
Optionally, the receiving the network adjustment instruction includes:
receiving the network adjusting instruction sent by the control device when detecting that a triggering condition is met, wherein the triggering condition comprises: and when the preset time point is reached, the appointed operation is received or the number of the terminals newly added in the local area network exceeds a preset threshold value.
Fig. 6 is a block diagram illustrating an apparatus 600 according to an example embodiment. For example, the apparatus 600 may be a smartphone, a wearable device, and a smart home device.
Referring to fig. 6, apparatus 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 606 provides power to the various components of device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio assembly 66 also includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of the components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions in the storage medium, when executed by a processor of the apparatus 600, enable the apparatus 600 to perform the network adjustment method performed by the terminal.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. A network adjusting method is used in smart home equipment in a home local area network, and comprises the following steps:
receiving a network adjusting instruction sent by control equipment, wherein the network adjusting instruction is used for indicating a wireless access point to be reselected for access, the control equipment is a main access point in the home local area network, and the network adjusting instruction is an adjusting instruction sent when the control equipment detects that the number of newly-added intelligent household equipment in the local area network exceeds a preset threshold value;
detecting whether a connected wireless access point is an appointed wireless access point, wherein the appointed wireless access point is a wireless access point which is set in the intelligent household equipment in advance;
if the connected wireless access point is the appointed wireless access point, sending prompt information to control equipment, wherein the prompt information is used for explaining that the intelligent home equipment in the home local area network is connected with the appointed wireless access point and network adjustment cannot be carried out;
if the connected wireless access point is not the appointed wireless access point, scanning each wireless access point around the intelligent household equipment in the home local area network, wherein each wireless access point is a wireless router which is connected with the control equipment in the home local area network and is used as a wireless relay, and each wireless access point is accessed to the Internet through the control equipment;
determining a target access point meeting preset conditions from the scanned wireless access points;
accessing the target access point after disconnecting the connection with the connected wireless access point;
the scanning of each wireless access point around the intelligent home equipment in the home local area network comprises receiving a broadcast signal sent by the wireless access point; parsing the broadcast signal; determining name information of the broadcast signal; scanning a wireless access point with a specified name; or, determining a bound user account of the broadcast signal; scanning a wireless access point bound with a specified user account;
the determining, from the scanned wireless access points, a target access point meeting a preset condition includes at least: extracting the traffic generated by the wireless access point in a latest preset time period from the broadcast signal transmitted by the wireless access point; and determining the wireless access point with the signal strength exceeding a preset strength threshold value and the minimum flow generated in the latest preset time period in the wireless access points as the target access point, wherein the signal strength is the signal strength of the received broadcast signal of each wireless access point when the intelligent household equipment in the home local area network scans the wireless access points.
2. The method according to claim 1, wherein the determining a target access point meeting a preset condition from the scanned wireless access points further comprises:
and determining the wireless access point with the strongest signal strength as the target access point.
3. The method according to claim 1, wherein the determining a target access point meeting a preset condition from the scanned wireless access points further comprises:
and determining the wireless access point with the signal strength exceeding a preset strength threshold value and the minimum number of the intelligent household equipment in the accessed home local area network as the target access point.
4. A network adjusting device is used in a smart home device in a home local area network, and the device comprises:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving a network adjusting instruction sent by control equipment, the network adjusting instruction is used for indicating a wireless access point to be reselected for access, the control equipment is a main access point in the home local area network, and the network adjusting instruction is sent when the control equipment detects that the number of newly added intelligent household equipment in the local area network exceeds a preset threshold value;
the detection module is used for detecting whether the connected wireless access point is an appointed wireless access point, and the appointed wireless access point is a wireless access point which is arranged in the intelligent household equipment in advance; if the connected wireless access point is the appointed wireless access point, sending prompt information to control equipment, wherein the prompt information is used for explaining that the intelligent home equipment in the home local area network is connected with the appointed wireless access point and network adjustment cannot be carried out;
a scanning module, configured to scan each wireless access point around the smart home device in the home lan when a detection result of the detection module indicates that the connected wireless access point is not an assigned wireless access point, where each wireless access point is a wireless router connected to the control device in the home lan and serving as a wireless relay, and each wireless access point accesses the internet through the control device;
the determining module is used for determining a target access point meeting preset conditions from the scanned wireless access points;
the access module is used for accessing the target access point after the connection between the target access point and the connected wireless access point is disconnected;
the scanning module is also used for receiving a broadcast signal sent by the wireless access point; parsing the broadcast signal; determining name information of the broadcast signal; scanning a wireless access point with a specified name; or, determining a bound user account of the broadcast signal; scanning a wireless access point bound with a specified user account;
the determining module is further configured to extract, from a broadcast signal sent by the wireless access point, traffic generated by the wireless access point within a latest preset time period; and determining the wireless access point with the signal strength exceeding a preset strength threshold value and the minimum flow generated in the latest preset time period in the wireless access points as the target access point, wherein the signal strength is the signal strength of the received broadcast signal of each wireless access point when the intelligent household equipment in the home local area network scans the wireless access points.
5. The apparatus of claim 4, wherein the determining module comprises:
and the first determining submodule is used for determining the wireless access point with the strongest signal strength in the wireless access points as the target access point.
6. The apparatus of claim 4, wherein the determining module comprises:
and the second determining submodule is used for determining the wireless access point with the signal strength exceeding a preset strength threshold value and the minimum number of the intelligent home equipment in the accessed home local area network as the target access point.
7. A network adjusting device, which is used in a smart home device in a home local area network, the device comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
receiving a network adjusting instruction sent by control equipment, wherein the network adjusting instruction is used for indicating a wireless access point to be reselected for access, the control equipment is a main access point in the home local area network, and the network adjusting instruction is an adjusting instruction sent when the control equipment detects that the number of newly-added intelligent household equipment in the local area network exceeds a preset threshold value;
detecting whether a connected wireless access point is an appointed wireless access point, wherein the appointed wireless access point is a wireless access point which is set in the intelligent household equipment in advance;
if the connected wireless access point is the appointed wireless access point, sending prompt information to control equipment, wherein the prompt information is used for explaining that the intelligent home equipment in the home local area network is connected with the appointed wireless access point and network adjustment cannot be carried out;
if the connected wireless access point is not the appointed wireless access point, scanning each wireless access point around the intelligent household equipment in the home local area network, wherein each wireless access point is a wireless router which is connected with the control equipment in the home local area network and is used as a wireless relay, and each wireless access point is accessed to the Internet through the control equipment;
determining a target access point meeting preset conditions from the scanned wireless access points;
accessing the target access point after disconnecting the connection with the connected wireless access point;
the scanning of each wireless access point around the intelligent home equipment in the home local area network comprises receiving a broadcast signal sent by the wireless access point; parsing the broadcast signal; determining name information of the broadcast signal; scanning a wireless access point with a specified name; or, determining a bound user account of the broadcast signal; scanning a wireless access point bound with a specified user account;
the determining, from the scanned wireless access points, a target access point meeting a preset condition includes: extracting the traffic generated by the wireless access point in a latest preset time period from the broadcast signal transmitted by the wireless access point; and determining the wireless access point with the signal strength exceeding a preset strength threshold value and the minimum flow generated in the latest preset time period in the wireless access points as the target access point, wherein the signal strength is the signal strength of the received broadcast signal of each wireless access point when the intelligent household equipment in the home local area network scans the wireless access points.
8. A non-transitory computer readable storage medium, wherein instructions in the storage medium, when executed by a processor of a network adjustment device, enable the network adjustment device to perform the network adjustment method of any one of claims 1-3.
CN201510998542.7A 2015-12-26 2015-12-26 Network adjusting method and device Active CN105578569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510998542.7A CN105578569B (en) 2015-12-26 2015-12-26 Network adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510998542.7A CN105578569B (en) 2015-12-26 2015-12-26 Network adjusting method and device

Publications (2)

Publication Number Publication Date
CN105578569A CN105578569A (en) 2016-05-11
CN105578569B true CN105578569B (en) 2020-03-17

Family

ID=55888101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510998542.7A Active CN105578569B (en) 2015-12-26 2015-12-26 Network adjusting method and device

Country Status (1)

Country Link
CN (1) CN105578569B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592517A (en) * 2016-02-17 2016-05-18 宇龙计算机通信科技(深圳)有限公司 Network connection processing method, network connection processing device, and network connection processing terminal
CN107635257A (en) * 2016-07-18 2018-01-26 中国电信股份有限公司 Wireless extensions loaming method and system, home gateway and wireless access points
CN106454998B (en) * 2016-09-29 2020-10-09 北京小米移动软件有限公司 Wireless local area network access method, device and terminal
CN106658617A (en) * 2017-03-06 2017-05-10 北京小米移动软件有限公司 Access point (AP) switching method, device and system
CN106899974B (en) * 2017-03-06 2021-01-01 北京小米移动软件有限公司 Method and device for switching access points
CN106922005B (en) * 2017-03-23 2020-06-19 北京小米移动软件有限公司 Method and device for accessing wireless access point and computer readable storage medium
CN109219110A (en) * 2017-06-29 2019-01-15 青岛恒金源电子科技有限公司 The cut-in method of wireless device in a kind of intelligent hospital
CN107404752A (en) * 2017-07-21 2017-11-28 深圳市盛路物联通讯技术有限公司 Frequency choosing method and internet-of-things terminal based on signal intensity
CN108513650A (en) * 2017-07-31 2018-09-07 深圳市大疆创新科技有限公司 Interfere control method, equipment and the interference system of unmanned plane
CN107770087A (en) * 2017-08-29 2018-03-06 深圳市盛路物联通讯技术有限公司 Router switching method and device of the Internet of Things based on connection quantity
CN107635272A (en) * 2017-10-12 2018-01-26 北京小米移动软件有限公司 Control method of electronic device and device
CN110336729A (en) * 2019-08-13 2019-10-15 北京百佑科技有限公司 Star network equilibrium network-building method, device and internet of things equipment
CN110535736A (en) * 2019-08-22 2019-12-03 厦门盈趣科技股份有限公司 A kind of method, network node and the home network of dynamic adjustment gateway

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521924A (en) * 2009-04-27 2009-09-02 杭州华三通信技术有限公司 Switching method and device of wireless local area network
CN104301949A (en) * 2014-09-15 2015-01-21 深圳市金立通信设备有限公司 Connection method for wireless hotspot
CN104902537A (en) * 2014-03-07 2015-09-09 中国移动通信集团公司 Wireless access point AP determining method, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102060373B1 (en) * 2013-02-21 2019-12-30 삼성전자주식회사 Method and apparatus for connecting short-distance wireless communication in terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521924A (en) * 2009-04-27 2009-09-02 杭州华三通信技术有限公司 Switching method and device of wireless local area network
CN104902537A (en) * 2014-03-07 2015-09-09 中国移动通信集团公司 Wireless access point AP determining method, device and system
CN104301949A (en) * 2014-09-15 2015-01-21 深圳市金立通信设备有限公司 Connection method for wireless hotspot

Also Published As

Publication number Publication date
CN105578569A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
EP3026875B1 (en) Method and apparatus for adjusting operational status of smart home device
KR101767203B1 (en) Method, apparatus, control device, smart device, program and computer-readable recording medium for controlling voice of smart device
EP3041280B1 (en) Method, apparatuses and computer system for binding intelligent devices
US10007354B2 (en) Method and apparatus for controlling smart device
EP3144915B1 (en) Method and apparatus for controlling device, and terminal device
EP3065428B1 (en) Method and device for displaying wifi list
RU2646393C2 (en) Method and apparatus of device control
KR101842379B1 (en) Working method and woking device of intelligent electric apparatus
CN105094732B (en) Screen display method and device
KR101979312B1 (en) Smart Device Grouping System, Method and Apparatus
RU2638780C2 (en) Method and device for connecting device to network
EP2975821B1 (en) Network connection method and apparatus
US20160210105A1 (en) Method, device and system for projection on screen
EP3249509A1 (en) Method and device for playing live videos
EP3068115B1 (en) Incoming call identification
KR101759418B1 (en) Method, apparatus, system, program and recording medium for managing administrative relation between account and device
EP3119039B1 (en) Method and apparatus for controlling an intelligent device
CN105578411B (en) Positioning information prompting method and device
RU2644509C2 (en) Methods and apparatuses for linking with the device
RU2643494C2 (en) Method and device for network access
EP3131258A1 (en) Smart household equipment control methods and corresponding apparatus
CN105487389B (en) Method and device for controlling intelligent equipment
EP3188066A1 (en) A method and an apparatus for managing an application
RU2658813C2 (en) Electronic device control method and apparatus
CN104936304A (en) Intelligent equipment binding method, intelligent equipment, and server

Legal Events

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