WO2015131624A1 - Method and device for controlling wireless network connection - Google Patents

Method and device for controlling wireless network connection Download PDF

Info

Publication number
WO2015131624A1
WO2015131624A1 PCT/CN2014/094551 CN2014094551W WO2015131624A1 WO 2015131624 A1 WO2015131624 A1 WO 2015131624A1 CN 2014094551 W CN2014094551 W CN 2014094551W WO 2015131624 A1 WO2015131624 A1 WO 2015131624A1
Authority
WO
WIPO (PCT)
Prior art keywords
sta
administrator
network
connection
network devices
Prior art date
Application number
PCT/CN2014/094551
Other languages
French (fr)
Chinese (zh)
Inventor
张磊
何祥
阙石峰
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015131624A1 publication Critical patent/WO2015131624A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0203Power saving arrangements in the radio access network or backbone network of wireless communication networks
    • H04W52/0206Power saving arrangements in the radio access network or backbone network of wireless communication networks in access points, e.g. base stations
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for controlling a wireless network connection.
  • the embodiment of the invention provides a method and a device for controlling a wireless network connection, which are used to solve the problem that the mobile terminal as an AP in the related art has large power consumption, short battery life and poor user experience.
  • an embodiment of the present invention provides a method for controlling a wireless network connection, including: an administrator workstation STA acquiring power information and/or network status information of an access point AP; and the administrator STA according to the power information and/or Or the network status information, controlling connection of the AP to other network devices.
  • the method further includes: the administrator workstation STA acquiring the remote management authority from the AP.
  • the controlling, by the administrator STA, the connection between the AP and other network devices according to the power information and/or the network status information including: the remaining power of the AP is lower than a preset ratio or the If the network signal strength of the AP is less than a preset threshold, the administrator STA limits at least one of the following parameters: the number of network devices connected to the AP, the network speed of each of the network devices, and each The time when the network device is connected to the AP.
  • the method for limiting the parameter includes: the administrator STA prompting a user for an optional range of the parameter; the administrator STA receiving the user's selection instruction for the parameter; The STA transmits a parameter restriction message to the AP according to the selection instruction.
  • the embodiment of the present invention further provides a method for controlling a wireless network connection, including: the access point AP sends the power information and/or network status information of the AP to the administrator STA; the AP accepts the management.
  • the STA controls the connection state between the AP and other network devices.
  • the method further includes: the AP granting the remote management rights to the administrator STA.
  • the controlling, by the AP, the connection status between the AP and another network device by the administrator STA includes: receiving, by the AP, a parameter restriction message sent by the administrator STA; The parameter limit message controls its own connection to other network devices.
  • the parameter restriction message includes limiting at least one of: a number of network devices connected to the AP, a network speed of each of the network devices, and each of the network devices is connected to the AP time.
  • the embodiment of the present invention further provides an apparatus for controlling a wireless network connection, comprising: an acquiring unit, configured to acquire power information and/or network status information of the access point AP; and a control unit, And being configured to control the connection of the AP to other network devices according to the power quantity information and/or the network status information acquired by the acquiring unit.
  • an embodiment of the present invention provides an apparatus for controlling a wireless network connection, including: a sending unit, configured to send power information and/or network status information of an AP to an administrator STA; and an accepting unit configured to accept the The administrator STA controls the connection state between the AP and other network devices.
  • Embodiments of the present invention also provide a computer program that, when executed by an administrator STA, causes the administrator STA to perform the method described above.
  • Embodiments of the present invention also provide a computer program that, when executed by an administrator AP, causes the administrator STA to perform the method described above.
  • Embodiments of the present invention also provide a computer readable storage medium storing the above computer program.
  • a method for controlling a wireless network connection provided by an embodiment of the present invention, where an administrator STA exists in a plurality of workstations connected to an AP, and the administrator STA can obtain power information and/or network status information of the access point AP, and according to The power information and/or the network status information controls a connection between the AP and other network devices, so that when the remaining power of the AP is insufficient or the network status is not good, the AP and the AP can be controlled without performing separate operations on the AP.
  • the connection of other network devices can save the huge amount of power consumed by the screen when the user operates the AP, and can also reduce the power consumption of the AP in the data connection by controlling the connection state of the AP with other network devices, thereby effectively extending the battery life. , greatly improving the user experience.
  • FIG. 1 is a flowchart of a method for controlling a wireless network connection according to an embodiment of the present invention
  • FIG. 2 is another flowchart of a method for controlling a wireless network connection according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of system connection for applying the method for controlling a wireless network connection according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of an AP terminal in FIG. 3;
  • FIG. 5 is a detailed flowchart of a method for controlling a wireless network connection according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of an apparatus for controlling a wireless network connection according to an embodiment of the present invention.
  • FIG. 7 is another schematic structural diagram of an apparatus for controlling a wireless network connection according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for controlling a wireless network connection, including:
  • the administrator workstation STA obtains the power information and/or network status information of the access point AP.
  • the administrator STA controls a connection between the AP and other network devices according to the power information and/or the network status information.
  • a method for controlling a wireless network connection provided by an embodiment of the present invention, where an administrator STA exists in a plurality of workstations connected to an AP, and the administrator STA can obtain power information and/or network status information of the access point AP, and according to The power information and/or the network status information controls a connection between the AP and other network devices, so that when the remaining power of the AP is insufficient or the network status is not good, the AP can be controlled without performing a separate operation on the AP.
  • the connection with other network devices can save the huge amount of power consumed by the screen when the user operates the AP, and can also reduce the power consumption of the AP in the data connection by controlling the connection state of the AP with other network devices, thereby effectively extending the battery life. Time has greatly improved the user experience.
  • a mobile terminal serves as a wireless connection hotspot, that is, an access point AP, and provides wireless network connection services for other multiple wireless terminals.
  • the mobile terminal that can function as an AP may include a smart phone, a tablet, and the like.
  • the AP can serve the wireless terminal.
  • One of the administrators is the administrator STA.
  • the administrator STA can obtain the remote administrator rights from the AP. After obtaining the permission, the administrator STA can obtain the power information and/or network status information of the AP and according to the information. Changes control the state of the connection between the AP and other network devices.
  • the determination of the administrator STA may be specified by the AP through the WLAN communication, or may be manually applied by the ordinary STA, or may be preset in the administrator STA, and the like, which is not limited by the embodiment of the present invention. .
  • the administrator STA may obtain power information and/or network status information about the AP by reading a corresponding database.
  • the power information may include one or more of the following: how many milliamperes remain, the percentage of the total power, the average power consumption per hour, the maximum speed that can be worked according to the current consumption speed, etc.;
  • the information may include: network signal strength, data transmission speed, and the like.
  • the connection between the AP and other network devices may be controlled according to the power information and/or the network status information.
  • the specific control methods are various, but the core is to use limited AP network resources according to the actual needs of users when the AP power is low or the current network condition is not good, resulting in the increase of power consumption. The necessary network connection.
  • step S12 may specifically include: in a case where the remaining power of the AP is lower than a preset ratio or the network signal strength of the AP is less than a preset threshold, the administrator The STA limits at least one of the following parameters: the number of network devices connected to the AP, the network speed of each of the network devices, and the time each of the network devices is connected to the AP.
  • the preset ratio of the remaining power is 20%. If the administrator STA obtains the remaining power of the current AP as 15%, less than 20%, the administrator STA starts to limit.
  • the number of network devices connected to the AP such as disconnecting two network devices from the AP, so that the number of network devices connected to the AP at the same time is up to three.
  • the administrator STA can also limit the network speed (such as less than 500K bit/s) and the corresponding connection time (such as 10 minutes) connected to the AP.
  • the administrator STA can also control multiple network devices to be connected to the AP in turn.
  • Similar control can be performed when the administrator STA obtains from the AP that the current network communication quality is not good (for example, when the signal strength is lower than 70% of the conventional value). Or, when the network status continues to drop, you can also control the AP to shut down the data connection and stop the hotspot service.
  • the administrator STA may automatically limit and adjust the foregoing parameters according to the information acquired by the administrator STA, thereby implementing automatic control of the AP.
  • the embodiment of the present invention is not limited thereto.
  • the administrator STA may also receive some operation instructions of the user, thereby limiting the parameters according to the user's will.
  • Optional can be achieved by the following steps:
  • the administrator STA prompts the user for an optional range of the parameters
  • the administrator STA receives the user's selection instruction for the parameter
  • the administrator STA sends a parameter restriction message to the AP according to the selection instruction.
  • an embodiment of the present invention further provides a method for controlling a wireless network connection, including:
  • the access point AP sends the power information and/or network status information of the AP to the administrator STA.
  • the AP accepts control of a connection state between the AP and other network devices by the administrator STA.
  • the access point AP can send its own power information and/or network status information to the administrator STA, and accept the administrator STA pair. Controlling the connection state between the AP and other network devices, so that when the remaining power of the AP is insufficient or the network status is not good, the AP can be controlled to connect with other network devices without performing separate operations on the AP, thereby saving
  • the screen consumes a large amount of power, and by controlling the connection state of the AP with other network devices, the power consumption of the AP in the data connection can be reduced, thereby effectively extending the battery life and greatly improving the user experience.
  • a mobile terminal can serve as a wireless connection hotspot, that is, an access point AP, to provide wireless network connection services for other multiple wireless terminals.
  • a wireless connection hotspot that is, an access point AP
  • one of the wireless terminals served by the AP can be designated as an administrator STA, and the administrator STA can be from the AP.
  • the administrator STA can obtain the remote administrator authority. After obtaining the permission, the administrator STA can obtain the power information and/or network status information of the AP and adjust the connection status between the AP and other network devices according to the change of the information. control.
  • the determination of the administrator STA may be specified by the AP through the WLAN communication, or may be manually applied by the ordinary STA, or may be preset in the administrator STA, and the like, which is not limited by the embodiment of the present invention. .
  • the AP may further include: the AP grants the remote management authority to the administrator STA to enable Both the AP and the administrator STA confirm the identity.
  • the AP may establish a corresponding database to record its own power information and/or network status information, wherein the power information may include one or more of the following: how many milliamperes remain, the percentage of the total power, and the average power consumption per hour. Quantity, according to the current consumption speed, how long can work at most, etc.; network status information can include: network signal strength, data transmission speed, and the like.
  • the administrator STA can obtain power information and/or network status information about the AP by reading the database.
  • the AP may accept control of the connection state between the AP and other network devices by the administrator STA.
  • the specific control methods are various, but the core is that when the AP power is low or the current network condition is not good, the power consumption is increased, and the use is limited according to the actual needs of the user.
  • AP network resources retain the necessary network connections, and disconnect unnecessary network connections.
  • the AP accepts that the administrator STA controls the connection state between the AP and other network devices by using the following steps:
  • the AP controls its own connection with other network devices according to the parameter restriction message.
  • the parameter restriction message may include limiting at least one of: a number of network devices connected to the AP, a network speed of each of the network devices, and each of the network devices and the AP Connected time.
  • FIG. 3 is a schematic structural diagram of a hardware system applied to a method for controlling a wireless network connection provided by the present invention. As shown in Figure 3, the system includes:
  • the AP terminal 101 enables the WiFi hotspot to allow more than one STA device to establish a connection, and can set administrator rights for the STA device.
  • the administrator STA 102 the STA device with administrator rights, can remotely manage the AP terminal;
  • the administrator STA 102 is a member from the normal STA 103 and has the same structure as the normal STA 103 except that the remote management authorization of the AP terminal 101 is obtained.
  • the AP terminal 101 needs to provide some configuration required for remote control.
  • the remote management of the AP terminal 101 for the administrator STA 102 and the corresponding power consumption control can be implemented by the following structure. As shown in FIG. 4, the AP terminal 101 can include:
  • the base unit 201 can be operated on the terminal operating system, has a wireless Internet access function, and the hotspot is turned on and off, and can be used as a WiFi hotspot. After the WiFi hotspot is turned on, the base unit can allow the AP to establish a connection with one or more STA devices. In the case that its wireless Internet access is turned on, Each STA connected to the WiFi hotspot can access the Internet normally. Provides an operating environment for the view storage unit, the remote login service unit, the hotspot management control unit, and the hotspot management operation unit.
  • the remote management unit 202 is configured to store a hotspot management view interface and establish a remote login service; the remote management unit may include a view storage module and a remote service module, wherein:
  • the view storage module 2021 is configured to open an area in the memory and store two sets of data: storing a hotspot management view interface, such as: storing in a webpage form; storing a hotspot management database, where the database includes but is not limited to: the basic unit unit power status, The status of the terminal basic unit data connection switch, the number of STA devices connected to the AP terminal, the name of each STA device, the network speed, and the connection time.
  • the remote service module 2022 is configured to establish a remote login service.
  • the administrator STA can read the view storage unit and modify its content through the remote service; after the view storage unit content is changed, the remote service unit sends a broadcast message of the view storage unit content change, and stores the changed content in the database.
  • the control unit 203 is configured to register a broadcast receiver and register a broadcast message in the content change aspect of the view storage unit.
  • the broadcast receiver receives the corresponding message and sends the message to the hotspot management operation unit.
  • the operation unit 204 can operate the basic unit according to an instruction issued by the control unit, so as to enable the AP terminal data connection to be turned off, disconnect other STA devices, set the number of STA devices, limit the network speed and connection time of other STA devices, and the like. .
  • a method for controlling a wireless network connection is as follows:
  • S302 The AP sets an STA device as an administrator STA.
  • the AP detects that the first STA device is connected to the WiFi hotspot
  • S304 Determine whether the device is an administrator STA, if yes, go to S306 to perform management work; if not, the administrator STA, go to S305, and detect the connection of the next STA device;
  • S305 The AP terminal detects that the next STA device is connected to the WiFi hotspot
  • the administrator STA obtains the current power and network status of the AP terminal.
  • the administrator STA obtains the STA device connected to the WiFi hotspot;
  • S308 determining whether the administrator STA wants to control the network connection, and if so, executing S309; if not, executing S311;
  • the administrator STA sets a network connection parameter for the AP, and sets a network connection parameter for the normal STA through the AP.
  • S310 The AP terminal executes an administrator STA instruction.
  • S311 Determine whether the administrator STA exits the management interface. If yes, the administrator STA quits; if the administrator STA is not logged out, then the process continues to S306.
  • a different STA device connected to the AP is divided into an administrator (not more than one) or an ordinary member by starting a service for managing itself on the AP terminal.
  • the administrator can remotely manage the AP terminal, including obtaining the AP terminal power status, enabling and disabling the data connection, disconnecting other STA devices, and limiting the network speed and connection time of other STA devices, so as to implement the AP terminal without directly operating the AP terminal.
  • the optimization of the WiFi hotspot system saves the power consumption of the AP terminal, increases the battery life of the AP terminal, and greatly improves the user experience.
  • an embodiment of the present invention further provides an apparatus 6 for controlling a wireless network connection, where the apparatus is disposed in an administrator STA, and may include:
  • the obtaining unit 61 is configured to acquire power information and/or network status information of the access point AP;
  • the control unit 62 is configured to control the connection of the AP to other network devices according to the power amount information acquired by the obtaining unit 61 and/or the network status information.
  • the device 6 for controlling the wireless network connection provided by the embodiment of the present invention
  • the obtaining unit 61 can obtain the power quantity information and/or the network condition information of the access point AP
  • the control unit 62 can be based on the power quantity information and/or the network status information. Controlling the connection between the AP and other network devices, so that when the remaining power of the AP is insufficient or the network condition is not good, the AP can be controlled without a separate operation.
  • the connection between the AP and other network devices can save the huge amount of power consumed by the screen when the user operates the AP, and can also reduce the power consumption of the AP in the data connection by controlling the connection state of the AP with other network devices. Effectively extend battery life and greatly enhance the user experience.
  • the obtaining unit 61 is further configured to acquire remote management rights from the AP before acquiring the power information and/or the network status information of the access point AP.
  • control unit 62 may be configured to: when the remaining power of the AP is lower than a preset ratio or the network signal strength of the AP is less than a preset threshold, the administrator STA has at least one of the following parameters Limiting: the number of network devices connected to the AP, the network speed of each of the network devices, and the time each network device is connected to the AP.
  • control unit 62 can be configured to:
  • an embodiment of the present invention further provides an apparatus 8 for controlling a wireless network connection, including:
  • the sending unit 81 is configured to send the power information and/or network status information of the AP to the administrator STA.
  • the accepting unit 82 is configured to accept the control of the connection status between the AP and other network devices by the administrator STA.
  • the apparatus 8 for controlling a wireless network connection provided by the embodiment of the present invention, the sending unit 81 can send its own power quantity information and/or network status information to the administrator STA, and the accepting unit 82 can accept the administrator STA to the AP and other The control of the connection state between the network devices, so that when the remaining power of the AP is insufficient or the network condition is not good, the AP can be controlled to connect with other network devices without performing a separate operation on the AP, thereby saving the user from performing AP on the AP.
  • the huge amount of power consumed by the screen during operation, and the AP can be optionally reduced by controlling the connection status of the AP with other network devices. The power consumption in the data connection, thus effectively extending the battery life, greatly improving the user experience.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the embodiment of the invention can save the huge power consumption of the screen when the user operates the AP, and can also reduce the power consumption of the AP in the data connection, thereby effectively extending the battery life and greatly improving the user experience.

Abstract

A method and device for controlling a wireless network connection. The method comprises: acquiring, by a manager workstation (STA), electric quantity information and/or network condition information about an access point (AP); and controlling, by the manager STA, a connection between the AP and other network devices according to the electric quantity information and/or the network condition information.

Description

一种控制无线网络连接的方法及装置Method and device for controlling wireless network connection 技术领域Technical field
本发明涉及通信技术领域,特别是涉及一种控制无线网络连接的方法及装置。The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for controlling a wireless network connection.
背景技术Background technique
随着通信技术、移动互联网以及相关终端产品的快速发展,人们越来越多地使用智能手机等移动终端实现基础通信之外的诸如社交、多媒体娱乐、办公等功能,逐渐地,智能手机的功能和使用场景也朝着多元化的方向不断地在拓展,而这其中一个重要的业务应用便是手机做为AP(Access Point,接入点)开启WiFi(WIreless-Fidelity,无线保真)热点,其他手机做为STA(Station,工作站)连接此热点。With the rapid development of communication technologies, mobile Internet and related terminal products, people are increasingly using mobile terminals such as smart phones to implement functions such as social, multimedia entertainment, and office services other than basic communication. Gradually, the functions of smart phones And the use of the scene is also expanding in the direction of diversification, and one of the important business applications is that the mobile phone acts as an Access Point (Access Point) to enable WiFi (WIreless-Fidelity) hotspots. Other mobile phones are connected to this hotspot as STA (Station).
当前由于4G网络的投入使用,数据网络速度变快,特别是手机上网卡的普及,流量套餐更加便宜,用手机做AP开启热点供其他设备使用的情况越来越多,在家庭、办公、出行和聚会等诸多场景下均可方便使用。很多情况下出现多个STA同时连上同一个AP的情况。然而,由于数据连接和WiFi热点均比较耗电,AP的续航时间将会大大缩减,用户体验差。At present, due to the use of 4G networks, the speed of data networks is getting faster, especially the popularity of mobile phone network cards, and the traffic packages are cheaper. The use of mobile phones to open hotspots for other devices is increasingly used in homes, offices, and travel. It is easy to use in many scenes such as parties. In many cases, multiple STAs are connected to the same AP at the same time. However, since the data connection and the WiFi hotspot are relatively power-hungry, the AP's battery life will be greatly reduced, and the user experience is poor.
发明内容Summary of the invention
本发明实施例提供一种控制无线网络连接的方法及装置,用以解决相关技术中作为AP的移动终端耗电量大,续航时间短,用户体验差的问题。The embodiment of the invention provides a method and a device for controlling a wireless network connection, which are used to solve the problem that the mobile terminal as an AP in the related art has large power consumption, short battery life and poor user experience.
一方面,本发明实施例提供一种控制无线网络连接的方法,包括:管理员工作站STA获取接入点AP的电量信息和/或网络状况信息;所述管理员STA根据所述电量信息和/或所述网络状况信息,控制所述AP与其他网络设备的连接。 In one aspect, an embodiment of the present invention provides a method for controlling a wireless network connection, including: an administrator workstation STA acquiring power information and/or network status information of an access point AP; and the administrator STA according to the power information and/or Or the network status information, controlling connection of the AP to other network devices.
可选的,所述管理员工作站STA获取接入点AP的电量信息和/或网络状况信息之前,所述方法还包括:所述管理员工作站STA从所述AP获取远程管理权限。Optionally, before the administrator workstation STA obtains the power information and/or the network status information of the access point AP, the method further includes: the administrator workstation STA acquiring the remote management authority from the AP.
可选的,所述管理员STA根据所述电量信息和/或所述网络状况信息,控制所述AP与其他网络设备的连接包括:在所述AP的剩余电量低于预设比例或所述AP的网络信号强度小于预设阈值的情况下,所述管理员STA对以下参数至少之一进行限制:与所述AP相连的网络设备的数量、每台所述网络设备的网速、每台所述网络设备与所述AP相连的时间。Optionally, the controlling, by the administrator STA, the connection between the AP and other network devices according to the power information and/or the network status information, including: the remaining power of the AP is lower than a preset ratio or the If the network signal strength of the AP is less than a preset threshold, the administrator STA limits at least one of the following parameters: the number of network devices connected to the AP, the network speed of each of the network devices, and each The time when the network device is connected to the AP.
可选的,对所述参数进行限制的方法包括:所述管理员STA向用户提示所述参数的可选范围;所述管理员STA接收所述用户对所述参数的选择指令;所述管理员STA根据所述选择指令向所述AP发送参数限制消息。Optionally, the method for limiting the parameter includes: the administrator STA prompting a user for an optional range of the parameter; the administrator STA receiving the user's selection instruction for the parameter; The STA transmits a parameter restriction message to the AP according to the selection instruction.
另一方面,本发明实施例还提供一种控制无线网络连接的方法,包括:接入点AP向管理员STA发送所述AP的电量信息和/或网络状况信息;所述AP接受所述管理员STA对所述AP与其他网络设备之间连接状态的控制。On the other hand, the embodiment of the present invention further provides a method for controlling a wireless network connection, including: the access point AP sends the power information and/or network status information of the AP to the administrator STA; the AP accepts the management. The STA controls the connection state between the AP and other network devices.
可选的,所述接入点AP向管理员STA发送所述AP的电量信息和/或网络状况信息之前,所述方法还包括:所述AP向所述管理员STA授予远程管理权限。Optionally, before the access point AP sends the power information and/or the network status information of the AP to the administrator STA, the method further includes: the AP granting the remote management rights to the administrator STA.
可选的,所述AP接受所述管理员STA对所述AP与其他网络设备之间连接状态的控制包括:所述AP接收所述管理员STA发送的参数限制消息;所述AP根据所述参数限制消息控制自身与其他网络设备的连接。Optionally, the controlling, by the AP, the connection status between the AP and another network device by the administrator STA includes: receiving, by the AP, a parameter restriction message sent by the administrator STA; The parameter limit message controls its own connection to other network devices.
可选的,所述参数限制消息包括对以下至少之一进行限制:与所述AP相连的网络设备的数量、每台所述网络设备的网速、每台所述网络设备与所述AP相连的时间。Optionally, the parameter restriction message includes limiting at least one of: a number of network devices connected to the AP, a network speed of each of the network devices, and each of the network devices is connected to the AP time.
另一方面,本发明实施例还提供一种控制无线网络连接的装置,包括:获取单元,设置为获取接入点AP的电量信息和/或网络状况信息;控制单元, 设置为根据所述获取单元获取的所述电量信息和/或所述网络状况信息,控制所述AP与其他网络设备的连接。On the other hand, the embodiment of the present invention further provides an apparatus for controlling a wireless network connection, comprising: an acquiring unit, configured to acquire power information and/or network status information of the access point AP; and a control unit, And being configured to control the connection of the AP to other network devices according to the power quantity information and/or the network status information acquired by the acquiring unit.
另一方面,本发明实施例还提供一种控制无线网络连接的装置,包括:发送单元,设置为向管理员STA发送AP的电量信息和/或网络状况信息;接受单元,设置为接受所述管理员STA对所述AP与其他网络设备之间连接状态的控制。In another aspect, an embodiment of the present invention provides an apparatus for controlling a wireless network connection, including: a sending unit, configured to send power information and/or network status information of an AP to an administrator STA; and an accepting unit configured to accept the The administrator STA controls the connection state between the AP and other network devices.
本发明实施例还提供一种计算机程序,当该程序指令被管理员STA执行时,使得该管理员STA可执行上面所述的方法。Embodiments of the present invention also provide a computer program that, when executed by an administrator STA, causes the administrator STA to perform the method described above.
本发明实施例还提供一种计算机程序,当该程序指令被管理员AP执行时,使得该管理员STA可执行上面所述的方法。Embodiments of the present invention also provide a computer program that, when executed by an administrator AP, causes the administrator STA to perform the method described above.
本发明实施例还提供一种存储上述计算机程序的计算机可读存储介质。Embodiments of the present invention also provide a computer readable storage medium storing the above computer program.
本发明实施例提供的控制无线网络连接的方法,在与AP相连的多个工作站中存在一个管理员STA,该管理员STA能够获取接入点AP的电量信息和/或网络状况信息,并根据所述电量信息和/或所述网络状况信息控制所述AP与其他网络设备的连接,这样,当AP的剩余电量不足或网络状况不好时,无需对AP进行单独的操作即可控制AP与其他网络设备的连接,因此能够节省下用户对AP进行操作时屏幕消耗的巨大电量,并且通过控制AP与其他网络设备的连接状态还能够降低AP在数据连接方面的功耗,从而有效延长续航时间,大大提高了用户体验。A method for controlling a wireless network connection provided by an embodiment of the present invention, where an administrator STA exists in a plurality of workstations connected to an AP, and the administrator STA can obtain power information and/or network status information of the access point AP, and according to The power information and/or the network status information controls a connection between the AP and other network devices, so that when the remaining power of the AP is insufficient or the network status is not good, the AP and the AP can be controlled without performing separate operations on the AP. The connection of other network devices can save the huge amount of power consumed by the screen when the user operates the AP, and can also reduce the power consumption of the AP in the data connection by controlling the connection state of the AP with other network devices, thereby effectively extending the battery life. , greatly improving the user experience.
附图概述BRIEF abstract
图1是本发明实施例提供的控制无线网络连接的方法的一种流程图;FIG. 1 is a flowchart of a method for controlling a wireless network connection according to an embodiment of the present invention;
图2是本发明实施例提供的控制无线网络连接的方法的另一种流程图;2 is another flowchart of a method for controlling a wireless network connection according to an embodiment of the present invention;
图3是本发明实施例提供的控制无线网络连接的方法应用的系统连接示意图; 3 is a schematic diagram of system connection for applying the method for controlling a wireless network connection according to an embodiment of the present invention;
图4是图3中的AP终端的一种结构示意图;4 is a schematic structural diagram of an AP terminal in FIG. 3;
图5是本发明实施例提供的控制无线网络连接的方法的一种详细流程图;FIG. 5 is a detailed flowchart of a method for controlling a wireless network connection according to an embodiment of the present invention; FIG.
图6是本发明实施例提供的控制无线网络连接的装置的一种结构示意图;6 is a schematic structural diagram of an apparatus for controlling a wireless network connection according to an embodiment of the present invention;
图7是本发明实施例提供的控制无线网络连接的装置的另一种结构示意图。FIG. 7 is another schematic structural diagram of an apparatus for controlling a wireless network connection according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
如图1所示,本发明的实施例提供一种控制无线网络连接的方法,包括:As shown in FIG. 1, an embodiment of the present invention provides a method for controlling a wireless network connection, including:
S11,管理员工作站STA获取接入点AP的电量信息和/或网络状况信息;S11. The administrator workstation STA obtains the power information and/or network status information of the access point AP.
S12,所述管理员STA根据所述电量信息和/或所述网络状况信息,控制所述AP与其他网络设备的连接。S12. The administrator STA controls a connection between the AP and other network devices according to the power information and/or the network status information.
本发明实施例提供的控制无线网络连接的方法,在与AP相连的多个工作站中存在一个管理员STA,该管理员STA能够获取接入点AP的电量信息和/或网络状况信息,并根据所述电量信息和/或所述网络状况信息,控制所述AP与其他网络设备的连接,这样,当AP的剩余电量不足或网络状况不好时,无需对AP进行单独的操作即可控制AP与其他网络设备的连接,因此能够节省下用户对AP进行操作时屏幕消耗的巨大电量,并且通过控制AP与其他网络设备的连接状态还能够降低AP在数据连接方面的功耗,从而有效延长续航时间,大大提高了用户体验。A method for controlling a wireless network connection provided by an embodiment of the present invention, where an administrator STA exists in a plurality of workstations connected to an AP, and the administrator STA can obtain power information and/or network status information of the access point AP, and according to The power information and/or the network status information controls a connection between the AP and other network devices, so that when the remaining power of the AP is insufficient or the network status is not good, the AP can be controlled without performing a separate operation on the AP. The connection with other network devices can save the huge amount of power consumed by the screen when the user operates the AP, and can also reduce the power consumption of the AP in the data connection by controlling the connection state of the AP with other network devices, thereby effectively extending the battery life. Time has greatly improved the user experience.
本实施例中,一个移动终端作为无线连接热点,也就是接入点AP,为其他多个无线终端提供无线网络连接服务。可选的,可以作为AP的移动终端可以包括智能手机、平板等设备。为了降低该AP的其他方面的功耗,使其能将更多能量专门用于提供网络连接服务,可以将AP所服务的无线终端中 的一个指定为管理员STA,该管理员STA可以从AP处获取远程管理员权限,获取到该权限后,管理员STA即可获取到AP的电量信息和/或网络状况信息并根据这些信息的变化对AP与其他网络设备之间的连接状态进行相应的控制。管理员STA的确定既可以是AP通过无线局域网通信所指定的,也可以是普通的STA主动申请的,还可以是在管理员STA中预先设置的等等,本发明的实施例对此不作限制。In this embodiment, a mobile terminal serves as a wireless connection hotspot, that is, an access point AP, and provides wireless network connection services for other multiple wireless terminals. Optionally, the mobile terminal that can function as an AP may include a smart phone, a tablet, and the like. In order to reduce the power consumption of other aspects of the AP, so that it can dedicate more energy to the network connection service, the AP can serve the wireless terminal. One of the administrators is the administrator STA. The administrator STA can obtain the remote administrator rights from the AP. After obtaining the permission, the administrator STA can obtain the power information and/or network status information of the AP and according to the information. Changes control the state of the connection between the AP and other network devices. The determination of the administrator STA may be specified by the AP through the WLAN communication, or may be manually applied by the ordinary STA, or may be preset in the administrator STA, and the like, which is not limited by the embodiment of the present invention. .
可选的,在步骤S11中,管理员STA可以通过读取相应的数据库的方法获取关于AP的电量信息和/或网络状况信息。其中,电量信息可包括以下一种或几种:剩余多少毫安时,占总电量的百分比,每小时平均耗电量,按照目前的消耗速度,最多还可以工作多长时间等等;网络状况信息可包括:网络信号强度,数据发送速度等。Optionally, in step S11, the administrator STA may obtain power information and/or network status information about the AP by reading a corresponding database. The power information may include one or more of the following: how many milliamperes remain, the percentage of the total power, the average power consumption per hour, the maximum speed that can be worked according to the current consumption speed, etc.; The information may include: network signal strength, data transmission speed, and the like.
管理员STA获取到AP的电量信息和/或网络状况信息后,在步骤S12中,可以根据电量信息和/或网络状况信息,控制所述AP与其他网络设备的连接。具体的控制方法多种多样,但核心就是当AP电量较低或当前网络状况不好导致电量消耗增加时,要根据用户的实际需要使用有限的AP网络资源,保留必要的网络连接,断开不必要的网络连接。After the administrator STA obtains the power information and/or the network status information of the AP, in step S12, the connection between the AP and other network devices may be controlled according to the power information and/or the network status information. The specific control methods are various, but the core is to use limited AP network resources according to the actual needs of users when the AP power is low or the current network condition is not good, resulting in the increase of power consumption. The necessary network connection.
举例说明,在本发明的一个实施例中,步骤S12可具体包括:在所述AP的剩余电量低于预设比例或所述AP的网络信号强度小于预设阈值的情况下,所述管理员STA对以下参数至少之一进行限制:与所述AP相连的网络设备的数量、每台所述网络设备的网速、每台所述网络设备与所述AP相连的时间。For example, in an embodiment of the present invention, step S12 may specifically include: in a case where the remaining power of the AP is lower than a preset ratio or the network signal strength of the AP is less than a preset threshold, the administrator The STA limits at least one of the following parameters: the number of network devices connected to the AP, the network speed of each of the network devices, and the time each of the network devices is connected to the AP.
例如,假如原来有5个网络设备在与AP相连,剩余电量的预设比例为20%,如果管理员STA获取到当前AP的剩余电量为15%,低于20%,则管理员STA开始限制与AP相连的网络设备的数量,比如断开其中两个网络设备与AP的连接,使同一时刻与该AP相连的网络设备的数量最多为3个。如 果剩余电量下降到10%以下,则管理员STA还可以限制与AP相连的每台网络网速(如低于500K bit/s)以及相应的连接时间(如10分钟)。可选的,管理员STA还可以控制多个网络设备轮流与AP相连。For example, if there are five network devices connected to the AP, the preset ratio of the remaining power is 20%. If the administrator STA obtains the remaining power of the current AP as 15%, less than 20%, the administrator STA starts to limit. The number of network devices connected to the AP, such as disconnecting two network devices from the AP, so that the number of network devices connected to the AP at the same time is up to three. Such as If the remaining power drops below 10%, the administrator STA can also limit the network speed (such as less than 500K bit/s) and the corresponding connection time (such as 10 minutes) connected to the AP. Optionally, the administrator STA can also control multiple network devices to be connected to the AP in turn.
可以理解的,在网络状况不佳的情况下,设备进行有效通信往往需要反复多次尝试一个数据连接,因此耗电量会激增。为了避免上述情况,在本发明的一些实施例中,当管理员STA从AP处获取到当前网络通信质量不好时(如信号强度低于常规值的70%时),也可以进行类似的控制,或者当网络状况继续下降时,还可以控制AP关断数据连接,停止热点服务。Understandably, in the case of poor network conditions, the device often needs to repeatedly try a data connection repeatedly, so the power consumption will increase dramatically. In order to avoid the above situation, in some embodiments of the present invention, similar control can be performed when the administrator STA obtains from the AP that the current network communication quality is not good (for example, when the signal strength is lower than 70% of the conventional value). Or, when the network status continues to drop, you can also control the AP to shut down the data connection and stop the hotspot service.
需要说明的是,上述实施例中,管理员STA可以根据其获取的信息自动对上述参数进行限制和调整,从而实现对AP的自动控制。但本发明的实施例不限于此,在本发明的其他实施例中,管理员STA还可以接收用户的一些操作指令,从而根据用户的意愿对所述参数进行限制。可选的,可以通过如下步骤实现:It should be noted that, in the foregoing embodiment, the administrator STA may automatically limit and adjust the foregoing parameters according to the information acquired by the administrator STA, thereby implementing automatic control of the AP. However, the embodiment of the present invention is not limited thereto. In other embodiments of the present invention, the administrator STA may also receive some operation instructions of the user, thereby limiting the parameters according to the user's will. Optional, can be achieved by the following steps:
管理员STA向用户提示所述参数的可选范围;The administrator STA prompts the user for an optional range of the parameters;
管理员STA接收所述用户对所述参数的选择指令;The administrator STA receives the user's selection instruction for the parameter;
管理员STA根据所述选择指令向所述AP发送参数限制消息。The administrator STA sends a parameter restriction message to the AP according to the selection instruction.
相应的,如图2所示,本发明的实施例还提供一种控制无线网络连接的方法,包括:Correspondingly, as shown in FIG. 2, an embodiment of the present invention further provides a method for controlling a wireless network connection, including:
S21,接入点AP向管理员STA发送所述AP的电量信息和/或网络状况信息;S21. The access point AP sends the power information and/or network status information of the AP to the administrator STA.
S22,所述AP接受所述管理员STA对所述AP与其他网络设备之间连接状态的控制。S22. The AP accepts control of a connection state between the AP and other network devices by the administrator STA.
本发明实施例提供的控制无线网络连接的方法,接入点AP能够向管理员STA发送自身的电量信息和/或网络状况信息,并接受所述管理员STA对 所述AP与其他网络设备之间连接状态的控制,这样,当AP的剩余电量不足或网络状况不好时,无需对AP进行单独的操作即可控制AP与其他网络设备的连接,因此能够节省下用户对AP进行操作时屏幕消耗的巨大电量,并且通过控制AP与其他网络设备的连接状态还能够降低AP在数据连接方面的功耗,从而有效延长续航时间,大大提高了用户体验。The method for controlling a wireless network connection provided by the embodiment of the present invention, the access point AP can send its own power information and/or network status information to the administrator STA, and accept the administrator STA pair. Controlling the connection state between the AP and other network devices, so that when the remaining power of the AP is insufficient or the network status is not good, the AP can be controlled to connect with other network devices without performing separate operations on the AP, thereby saving When the user operates the AP, the screen consumes a large amount of power, and by controlling the connection state of the AP with other network devices, the power consumption of the AP in the data connection can be reduced, thereby effectively extending the battery life and greatly improving the user experience.
需要说明的是,本实施例中,一个移动终端可以作为无线连接热点,也就是接入点AP,为其他多个无线终端提供无线网络连接服务。为了降低该AP的其他方面的功耗,使其能将更多能量专门用于提供网络连接服务,可以将AP所服务的无线终端中的一个指定为管理员STA,该管理员STA可以从AP处获取远程管理员权限,获取到该权限后,管理员STA即可获取到AP的电量信息和/或网络状况信息并根据这些信息的变化对AP与其他网络设备之间的连接状态进行相应的控制。管理员STA的确定既可以是AP通过无线局域网通信所指定的,也可以是普通的STA主动申请的,还可以是在管理员STA中预先设置的等等,本发明的实施例对此不作限制。例如,在本发明的一个实施例中,在接入点AP向管理员STA发送所述AP的电量信息和/或网络状况信息之前,还可包括:AP向管理员STA授予远程管理权限以便使AP和管理员STA双方确认身份。It should be noted that, in this embodiment, a mobile terminal can serve as a wireless connection hotspot, that is, an access point AP, to provide wireless network connection services for other multiple wireless terminals. In order to reduce the power consumption of other aspects of the AP, so that more energy can be dedicated to providing network connection services, one of the wireless terminals served by the AP can be designated as an administrator STA, and the administrator STA can be from the AP. Obtain the remote administrator authority. After obtaining the permission, the administrator STA can obtain the power information and/or network status information of the AP and adjust the connection status between the AP and other network devices according to the change of the information. control. The determination of the administrator STA may be specified by the AP through the WLAN communication, or may be manually applied by the ordinary STA, or may be preset in the administrator STA, and the like, which is not limited by the embodiment of the present invention. . For example, in an embodiment of the present invention, before the access point AP sends the power information and/or network status information of the AP to the administrator STA, the AP may further include: the AP grants the remote management authority to the administrator STA to enable Both the AP and the administrator STA confirm the identity.
AP可以建立相应的数据库来记录其自身的电量信息和/或网络状况信息,其中,电量信息可包括以下一种或几种:剩余多少毫安时,占总电量的百分比,每小时平均耗电量,按照目前的消耗速度,最多还可以工作多长时间等等;网络状况信息可包括:网络信号强度,数据发送速度等。管理员STA可以通过读取该数据库获取关于AP的电量信息和/或网络状况信息。The AP may establish a corresponding database to record its own power information and/or network status information, wherein the power information may include one or more of the following: how many milliamperes remain, the percentage of the total power, and the average power consumption per hour. Quantity, according to the current consumption speed, how long can work at most, etc.; network status information can include: network signal strength, data transmission speed, and the like. The administrator STA can obtain power information and/or network status information about the AP by reading the database.
在步骤S22中,AP可以接受管理员STA对所述AP与其他网络设备之间连接状态的控制。具体的控制方法多种多样,但核心就是当AP电量较低或当前网络状况不好导致电量消耗增加时,要根据用户的实际需要使用有限的 AP网络资源,保留必要的网络连接,断开不必要的网络连接。管理员STA的详细控制方法可以参见前述实施例的相应部分,此处不再赘述。In step S22, the AP may accept control of the connection state between the AP and other network devices by the administrator STA. The specific control methods are various, but the core is that when the AP power is low or the current network condition is not good, the power consumption is increased, and the use is limited according to the actual needs of the user. AP network resources, retain the necessary network connections, and disconnect unnecessary network connections. For the detailed control method of the administrator STA, refer to the corresponding part of the foregoing embodiment, and details are not described herein again.
具体而言,AP接受所述管理员STA对所述AP与其他网络设备之间连接状态的控制可以通过如下步骤实现:Specifically, the AP accepts that the administrator STA controls the connection state between the AP and other network devices by using the following steps:
所述AP接收所述管理员STA发送的参数限制消息;Receiving, by the AP, a parameter restriction message sent by the administrator STA;
所述AP根据所述参数限制消息控制自身与其他网络设备的连接。The AP controls its own connection with other network devices according to the parameter restriction message.
可选的,所述参数限制消息可以包括对以下至少之一进行限制:与所述AP相连的网络设备的数量、每台所述网络设备的网速、每台所述网络设备与所述AP相连的时间。Optionally, the parameter restriction message may include limiting at least one of: a number of network devices connected to the AP, a network speed of each of the network devices, and each of the network devices and the AP Connected time.
下面通过具体实施例对本发明提供的控制无线网络连接的方法进行详细说明。图3是本发明提供的控制无线网络连接的方法所应用的硬件系统的结构示意图。如图3所示,该系统包括:The method for controlling a wireless network connection provided by the present invention will be described in detail below through specific embodiments. FIG. 3 is a schematic structural diagram of a hardware system applied to a method for controlling a wireless network connection provided by the present invention. As shown in Figure 3, the system includes:
AP终端101,开启了WiFi热点,可允许不止一个STA设备建立连接,能够为STA设备设置管理员权限;The AP terminal 101 enables the WiFi hotspot to allow more than one STA device to establish a connection, and can set administrator rights for the STA device.
管理员STA102,拥有管理员权限的STA设备,可以遥控管理AP终端;The administrator STA 102, the STA device with administrator rights, can remotely manage the AP terminal;
普通STA103,无管理员权限,其连接时间和网速等均受管理员STA所控制。Ordinary STA103, without administrator rights, its connection time and network speed are controlled by the administrator STA.
其中,管理员STA102是来自普通STA103的一员,与普通STA103的结构相同,只是获得了AP终端101的远程管理授权。而AP终端101则需要提供一些实现远程受控所需要的配置。本实施例中,AP终端101对于管理员STA102的远程管理和相应的功耗控制可以通过如下结构实现。如图4所示,AP终端101可包括:The administrator STA 102 is a member from the normal STA 103 and has the same structure as the normal STA 103 except that the remote management authorization of the AP terminal 101 is obtained. The AP terminal 101 needs to provide some configuration required for remote control. In this embodiment, the remote management of the AP terminal 101 for the administrator STA 102 and the corresponding power consumption control can be implemented by the following structure. As shown in FIG. 4, the AP terminal 101 can include:
基础单元201,其能够在终端操作系统上运行,具有无线上网功能,热点开启关闭功能,可以做为WiFi热点使用。WiFi热点打开后,基础单元可允许AP与一个或多个STA设备建立连接。在其无线上网功能打开的情况下, 每个连接上WiFi热点的STA都能正常上网。为视图存储单元、远程登录服务单元、热点管理控制单元和热点管理操作单元提供运行环境。The base unit 201 can be operated on the terminal operating system, has a wireless Internet access function, and the hotspot is turned on and off, and can be used as a WiFi hotspot. After the WiFi hotspot is turned on, the base unit can allow the AP to establish a connection with one or more STA devices. In the case that its wireless Internet access is turned on, Each STA connected to the WiFi hotspot can access the Internet normally. Provides an operating environment for the view storage unit, the remote login service unit, the hotspot management control unit, and the hotspot management operation unit.
遥控管理单元202,设置为存储热点管理视图界面并建立远程登录服务;遥控管理单元可包括视图存储模块和远程服务模块,其中:The remote management unit 202 is configured to store a hotspot management view interface and establish a remote login service; the remote management unit may include a view storage module and a remote service module, wherein:
视图存储模块2021,设置为在内存中开辟一区域,存储两组数据:存储热点管理视图界面,比如:以网页形式存储;存储热点管理数据库,此数据库包括但不限于:终端基本单元电量情况、终端基本单元数据连接开关状态、连接到AP终端的STA设备数量、每个STA设备的名称、网速和连接时间等。The view storage module 2021 is configured to open an area in the memory and store two sets of data: storing a hotspot management view interface, such as: storing in a webpage form; storing a hotspot management database, where the database includes but is not limited to: the basic unit unit power status, The status of the terminal basic unit data connection switch, the number of STA devices connected to the AP terminal, the name of each STA device, the network speed, and the connection time.
远程服务模块2022,设置为建立远程登录服务。管理员STA可以通过远程服务读取到视图存储单元并修改其内容;视图存储单元内容改变后,远程服务单元会发送视图存储单元内容改变的广播消息,并将改变后的内容存储到数据库中。The remote service module 2022 is configured to establish a remote login service. The administrator STA can read the view storage unit and modify its content through the remote service; after the view storage unit content is changed, the remote service unit sends a broadcast message of the view storage unit content change, and stores the changed content in the database.
控制单元203,设置为注册一个广播接收器,并登记视图存储单元的内容变化方面的广播消息,在视图存储单元内容变化时,该广播接收器收到对应的消息,并向热点管理操作单元发出对应的操作指令;The control unit 203 is configured to register a broadcast receiver and register a broadcast message in the content change aspect of the view storage unit. When the content of the view storage unit changes, the broadcast receiver receives the corresponding message and sends the message to the hotspot management operation unit. Corresponding operation instruction;
操作单元204,能够根据控制单元发出的指令对基础单元进行操作,以便实现可以开启关闭AP终端数据连接、断开其他STA设备、设置STA设备个数、限制其他STA设备的网速和连接时间等。The operation unit 204 can operate the basic unit according to an instruction issued by the control unit, so as to enable the AP terminal data connection to be turned off, disconnect other STA devices, set the number of STA devices, limit the network speed and connection time of other STA devices, and the like. .
如图5所示,本实施例中,控制无线网络连接的方法如下:As shown in FIG. 5, in this embodiment, a method for controlling a wireless network connection is as follows:
S301:AP打开WiFi热点;S301: The AP turns on the WiFi hotspot;
S302:AP设定某一STA设备为管理员STA;S302: The AP sets an STA device as an administrator STA.
S303:AP检测到第一个STA设备连接WiFi热点;S303: The AP detects that the first STA device is connected to the WiFi hotspot;
S304:判断该设备是否管理员STA,若是,转S306,执行管理工作;若不是管理员STA,转S305,检测下一个STA设备的连接;S304: Determine whether the device is an administrator STA, if yes, go to S306 to perform management work; if not, the administrator STA, go to S305, and detect the connection of the next STA device;
S305:AP终端检测到下一个STA设备连接WiFi热点; S305: The AP terminal detects that the next STA device is connected to the WiFi hotspot;
S306:管理员STA获取AP终端当前电量、网络情况;S306: The administrator STA obtains the current power and network status of the AP terminal.
S307:管理员STA获取连接WiFi热点的STA设备情况;S307: The administrator STA obtains the STA device connected to the WiFi hotspot;
S308:确定管理员STA是否要控制网络连接,若是,执行S309;若否,则执行S311;S308: determining whether the administrator STA wants to control the network connection, and if so, executing S309; if not, executing S311;
S309:管理员STA为AP设定网络连接参数,并通过AP为普通STA设定网络连接参数;S309: The administrator STA sets a network connection parameter for the AP, and sets a network connection parameter for the normal STA through the AP.
S310:AP终端执行管理员STA指令;S310: The AP terminal executes an administrator STA instruction.
S311:判断是否管理员STA退出管理界面,若是,管理员STA退出;若不退出管理员STA,则转S306继续管理。S311: Determine whether the administrator STA exits the management interface. If yes, the administrator STA quits; if the administrator STA is not logged out, then the process continues to S306.
本实施例通过在AP终端上启动一个管理自身的服务,将连接到AP的不同STA设备区分为管理员(不超过一个)或普通成员。管理员可以遥控管理AP终端,包括获取AP终端电量情况、开启关闭数据连接、断开其他STA设备、限制其他STA设备的网速和连接时间等,从而在不直接操作AP终端的情况下,实现WiFi热点系统的最优化,节省了AP终端的电量消耗,增加了AP终端的续航时间,大大提高了用户体验。In this embodiment, a different STA device connected to the AP is divided into an administrator (not more than one) or an ordinary member by starting a service for managing itself on the AP terminal. The administrator can remotely manage the AP terminal, including obtaining the AP terminal power status, enabling and disabling the data connection, disconnecting other STA devices, and limiting the network speed and connection time of other STA devices, so as to implement the AP terminal without directly operating the AP terminal. The optimization of the WiFi hotspot system saves the power consumption of the AP terminal, increases the battery life of the AP terminal, and greatly improves the user experience.
相应的,如图6所示,本发明的实施例还提供一种控制无线网络连接的装置6,该装置设置于管理员STA中,可包括:Correspondingly, as shown in FIG. 6 , an embodiment of the present invention further provides an apparatus 6 for controlling a wireless network connection, where the apparatus is disposed in an administrator STA, and may include:
获取单元61,设置为获取接入点AP的电量信息和/或网络状况信息;The obtaining unit 61 is configured to acquire power information and/or network status information of the access point AP;
控制单元62,设置为根据获取单元61获取的所述电量信息和/或所述网络状况信息,控制所述AP与其他网络设备的连接。The control unit 62 is configured to control the connection of the AP to other network devices according to the power amount information acquired by the obtaining unit 61 and/or the network status information.
本发明实施例提供的控制无线网络连接的装置6,获取单元61能够获取接入点AP的电量信息和/或网络状况信息,控制单元62能够根据所述电量信息和/或所述网络状况信息,控制所述AP与其他网络设备的连接,这样,当AP的剩余电量不足或网络状况不好时,无需对AP进行单独的操作即可控制 AP与其他网络设备的连接,因此能够节省下用户对AP进行操作时屏幕消耗的巨大电量,并且通过控制AP与其他网络设备的连接状态还能够可选降低AP在数据连接方面的功耗,从而有效延长续航时间,大大提高了用户体验。The device 6 for controlling the wireless network connection provided by the embodiment of the present invention, the obtaining unit 61 can obtain the power quantity information and/or the network condition information of the access point AP, and the control unit 62 can be based on the power quantity information and/or the network status information. Controlling the connection between the AP and other network devices, so that when the remaining power of the AP is insufficient or the network condition is not good, the AP can be controlled without a separate operation. The connection between the AP and other network devices can save the huge amount of power consumed by the screen when the user operates the AP, and can also reduce the power consumption of the AP in the data connection by controlling the connection state of the AP with other network devices. Effectively extend battery life and greatly enhance the user experience.
可选的,获取单元61还设置为在获取接入点AP的电量信息和/或网络状况信息之前,从所述AP获取远程管理权限。Optionally, the obtaining unit 61 is further configured to acquire remote management rights from the AP before acquiring the power information and/or the network status information of the access point AP.
可选的,控制单元62可设置为:在所述AP的剩余电量低于预设比例或所述AP的网络信号强度小于预设阈值的情况下,所述管理员STA对以下参数至少之一进行限制:与所述AP相连的网络设备的数量、每台所述网络设备的网速、每台所述网络设备与所述AP相连的时间。Optionally, the control unit 62 may be configured to: when the remaining power of the AP is lower than a preset ratio or the network signal strength of the AP is less than a preset threshold, the administrator STA has at least one of the following parameters Limiting: the number of network devices connected to the AP, the network speed of each of the network devices, and the time each network device is connected to the AP.
具体而言,控制单元62可以设置为:Specifically, the control unit 62 can be configured to:
向用户提示所述参数的可选范围;Prompting the user for an optional range of the parameters;
接收所述用户对所述参数的选择指令;Receiving a selection instruction of the parameter by the user;
根据所述选择指令向所述AP发送参数限制消息。And transmitting a parameter restriction message to the AP according to the selection instruction.
相应的,如图7所示,本发明的实施例还提供一种控制无线网络连接的装置8,包括:Correspondingly, as shown in FIG. 7, an embodiment of the present invention further provides an apparatus 8 for controlling a wireless network connection, including:
发送单元81,设置为向管理员STA发送AP的电量信息和/或网络状况信息;The sending unit 81 is configured to send the power information and/or network status information of the AP to the administrator STA.
接受单元82,设置为接受所述管理员STA对所述AP与其他网络设备之间连接状态的控制。The accepting unit 82 is configured to accept the control of the connection status between the AP and other network devices by the administrator STA.
本发明实施例提供的控制无线网络连接的装置8,发送单元81能够向管理员STA发送自身的电量信息和/或网络状况信息,接受单元82能够接受所述管理员STA对所述AP与其他网络设备之间连接状态的控制,这样,当AP的剩余电量不足或网络状况不好时,无需对AP进行单独的操作即可控制AP与其他网络设备的连接,因此能够节省下用户对AP进行操作时屏幕消耗的巨大电量,并且通过控制AP与其他网络设备的连接状态还能够可选降低AP 在数据连接方面的功耗,从而有效延长续航时间,大大提高了用户体验。The apparatus 8 for controlling a wireless network connection provided by the embodiment of the present invention, the sending unit 81 can send its own power quantity information and/or network status information to the administrator STA, and the accepting unit 82 can accept the administrator STA to the AP and other The control of the connection state between the network devices, so that when the remaining power of the AP is insufficient or the network condition is not good, the AP can be controlled to connect with other network devices without performing a separate operation on the AP, thereby saving the user from performing AP on the AP. The huge amount of power consumed by the screen during operation, and the AP can be optionally reduced by controlling the connection status of the AP with other network devices. The power consumption in the data connection, thus effectively extending the battery life, greatly improving the user experience.
关于控制无线网络连接的装置6和控制无线网络连接的装置8的详细工作原理,在方法部分的实施例已经进行了详细的说明,此处不再赘述。The detailed operation of the apparatus 6 for controlling the wireless network connection and the apparatus 8 for controlling the wireless network connection has been described in detail in the method section, and will not be described herein.
尽管为示例目的,已经公开了本发明的实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本发明的范围应当不限于上述实施例。While the embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will recognize that various modifications, additions and substitutions are possible. Therefore, the scope of the present invention should not be limited to the embodiments described above.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
本发明实施例能够节省下用户对AP进行操作时屏幕消耗的巨大电量,还能够降低AP在数据连接方面的功耗,从而有效延长续航时间,大大提高了用户体验。 The embodiment of the invention can save the huge power consumption of the screen when the user operates the AP, and can also reduce the power consumption of the AP in the data connection, thereby effectively extending the battery life and greatly improving the user experience.

Claims (15)

  1. 一种控制无线网络连接的方法,包括:A method of controlling a wireless network connection, comprising:
    管理员工作站STA获取接入点AP的电量信息和/或网络状况信息;The administrator workstation STA obtains the power information and/or network status information of the access point AP;
    所述管理员STA根据所述电量信息和/或所述网络状况信息,控制所述AP与其他网络设备的连接。The administrator STA controls the connection between the AP and other network devices according to the power information and/or the network status information.
  2. 根据权利要求1所述的方法,其中,所述管理员STA获取AP的电量信息和/或网络状况信息之前,所述方法还包括:The method according to claim 1, wherein before the administrator STA acquires the power information and/or the network status information of the AP, the method further includes:
    所述管理员STA从所述AP获取远程管理权限。The administrator STA obtains remote management rights from the AP.
  3. 根据权利要求1所述的方法,其中,所述管理员STA根据所述电量信息和/或所述网络状况信息,控制所述AP与其他网络设备的连接包括:The method of claim 1, wherein the controlling, by the administrator STA, the connection of the AP to other network devices according to the power information and/or the network status information comprises:
    在所述AP的剩余电量比例低于预设比例或所述AP的网络信号强度小于预设阈值的情况下,所述管理员STA对以下参数至少之一进行限制:与所述AP相连的网络设备的数量、每台所述网络设备的网速、每台所述网络设备与所述AP相连的时间。If the remaining power ratio of the AP is lower than a preset ratio or the network signal strength of the AP is less than a preset threshold, the administrator STA limits at least one of the following parameters: a network connected to the AP The number of devices, the network speed of each of the network devices, and the time each of the network devices is connected to the AP.
  4. 根据权利要求3所述的方法,其中,对所述参数进行限制包括:The method of claim 3 wherein limiting the parameters comprises:
    所述管理员STA向用户提示所述参数的可选范围;The administrator STA prompts the user for an optional range of the parameter;
    所述管理员STA接收所述用户对所述参数的选择指令;Receiving, by the administrator STA, a selection instruction of the parameter by the user;
    所述管理员STA根据所述选择指令向所述AP发送参数限制消息。The administrator STA sends a parameter restriction message to the AP according to the selection instruction.
  5. 一种控制无线网络连接的方法,包括:A method of controlling a wireless network connection, comprising:
    接入点AP向管理员工作站STA发送所述AP的电量信息和/或网络状况信息;The access point AP sends the power information and/or network status information of the AP to the administrator workstation STA.
    所述AP接受所述管理员STA对所述AP与其他网络设备之间连接状态的控制。The AP accepts control of the connection status between the AP and other network devices by the administrator STA.
  6. 根据权利要求5所述的方法,其中,所述接入点AP向管理员STA发送所述AP的电量信息和/或网络状况信息之前,所述方法还包括: The method according to claim 5, wherein before the access point AP sends the power information and/or network status information of the AP to the administrator STA, the method further includes:
    所述AP向所述管理员STA授予远程管理权限。The AP grants remote management rights to the administrator STA.
  7. 根据权利要求5所述的方法,其中,所述AP接受所述管理员STA对所述AP与其他网络设备之间连接状态的控制包括:The method according to claim 5, wherein the controlling the AP to accept the connection status between the AP and other network devices by the administrator STA comprises:
    所述AP接收所述管理员STA发送的参数限制消息;Receiving, by the AP, a parameter restriction message sent by the administrator STA;
    所述AP根据所述参数限制消息控制自身与其他网络设备的连接。The AP controls its own connection with other network devices according to the parameter restriction message.
  8. 根据权利要求7所述的方法,其中,所述参数限制消息包括对以下至少之一进行限制:与所述AP相连的网络设备的数量、每台所述网络设备的网速、每台所述网络设备与所述AP相连的时间。The method of claim 7, wherein the parameter restriction message comprises limiting at least one of: a number of network devices connected to the AP, a network speed of each of the network devices, each of the methods The time when the network device is connected to the AP.
  9. 一种控制无线网络连接的装置,包括:A device for controlling a wireless network connection, comprising:
    获取单元,设置为获取接入点AP的电量信息和/或网络状况信息;An obtaining unit, configured to obtain power information and/or network status information of the access point AP;
    控制单元,设置为根据所述获取单元获取的所述电量信息和/或所述网络状况信息,控制所述AP与其他网络设备的连接。The control unit is configured to control the connection of the AP to other network devices according to the power quantity information acquired by the acquiring unit and/or the network status information.
  10. 如权利要求9所述的装置,其中,The device according to claim 9, wherein
    所述控制单元是设置为:The control unit is set to:
    在所述AP的剩余电量比例低于预设比例或所述AP的网络信号强度小于预设阈值的情况下,对以下参数至少之一进行限制:与所述AP相连的网络设备的数量、每台所述网络设备的网速、每台所述网络设备与所述AP相连的时间。If the remaining power ratio of the AP is lower than a preset ratio or the network signal strength of the AP is less than a preset threshold, at least one of the following parameters is limited: the number of network devices connected to the AP, and each The network speed of the network device and the time when each of the network devices is connected to the AP.
  11. 一种控制无线网络连接的装置,包括:A device for controlling a wireless network connection, comprising:
    发送单元,设置为向管理员工作站STA发送AP的电量信息和/或网络状况信息;a sending unit, configured to send power information and/or network status information of the AP to the administrator workstation STA;
    接受单元,设置为接受所述管理员STA对所述AP与其他网络设备之间连接状态的控制。The accepting unit is configured to accept control of the connection status between the AP and other network devices by the administrator STA.
  12. 如权利要求11所述的装置,其中,The device of claim 11 wherein
    所述接受单元是设置为:接收所述管理员STA发送的参数限制消息,根 据所述参数限制消息控制自身与其他网络设备的连接。The accepting unit is configured to: receive a parameter restriction message sent by the administrator STA, and root According to the parameter restriction message, it controls its own connection with other network devices.
  13. 一种计算机程序,当该程序指令被管理员STA执行时,使得该管理员STA可执行权利要求1-4任一项所述的方法。A computer program that, when executed by an administrator STA, causes the administrator STA to perform the method of any of claims 1-4.
  14. 一种计算机程序,当该程序指令被管理员AP执行时,使得该管理员STA可执行权利要求5-8任一项所述的方法。A computer program that, when executed by an administrator AP, causes the administrator STA to perform the method of any of claims 5-8.
  15. 一种存储权利要求13或14所述计算机程序的计算机可读存储介质。 A computer readable storage medium storing the computer program of claim 13 or 14.
PCT/CN2014/094551 2014-09-18 2014-12-22 Method and device for controlling wireless network connection WO2015131624A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410479560.X 2014-09-18
CN201410479560.XA CN105491645A (en) 2014-09-18 2014-09-18 Method and device for controlling wireless network connection

Publications (1)

Publication Number Publication Date
WO2015131624A1 true WO2015131624A1 (en) 2015-09-11

Family

ID=54054492

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094551 WO2015131624A1 (en) 2014-09-18 2014-12-22 Method and device for controlling wireless network connection

Country Status (2)

Country Link
CN (1) CN105491645A (en)
WO (1) WO2015131624A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819456A (en) * 2018-12-21 2019-05-28 北京汉能光伏投资有限公司 Solar energy WiFi terminal and its access management method, readable storage medium storing program for executing

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412930A (en) * 2016-10-09 2017-02-15 上海斐讯数据通信技术有限公司 Wireless AP (Access Point) energy saving method and device based on antenna
CN106572524A (en) * 2016-10-25 2017-04-19 上海斐讯数据通信技术有限公司 Wireless AP energy saving method and device thereof
CN107347195A (en) * 2017-08-30 2017-11-14 努比亚技术有限公司 Focus sharing method and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820668A (en) * 2010-04-29 2010-09-01 华为终端有限公司 Wireless access point working method and wireless access point device
CN101986746A (en) * 2010-07-29 2011-03-16 北京星网锐捷网络技术有限公司 Method, system and device for testing wireless local area network (WLAN)
CN103209468A (en) * 2012-01-17 2013-07-17 华为终端有限公司 Wireless transmission method, access point and sites
CN103249120A (en) * 2012-02-03 2013-08-14 华为终端有限公司 Power-saving method and device for wireless fidelity WiFi access point equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103298041A (en) * 2012-02-27 2013-09-11 联想(北京)有限公司 Method, equipment and system for automatic switching of wireless router

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820668A (en) * 2010-04-29 2010-09-01 华为终端有限公司 Wireless access point working method and wireless access point device
CN101986746A (en) * 2010-07-29 2011-03-16 北京星网锐捷网络技术有限公司 Method, system and device for testing wireless local area network (WLAN)
CN103209468A (en) * 2012-01-17 2013-07-17 华为终端有限公司 Wireless transmission method, access point and sites
CN103249120A (en) * 2012-02-03 2013-08-14 华为终端有限公司 Power-saving method and device for wireless fidelity WiFi access point equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819456A (en) * 2018-12-21 2019-05-28 北京汉能光伏投资有限公司 Solar energy WiFi terminal and its access management method, readable storage medium storing program for executing
CN109819456B (en) * 2018-12-21 2024-03-08 东君新能源有限公司 Solar WiFi terminal, access management method thereof and readable storage medium

Also Published As

Publication number Publication date
CN105491645A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
US20160323826A1 (en) Multimode and power-saving method of multimedia transmission and system thereof
US20170086233A1 (en) Connection method for multimedia playing device, main device, and control terminal
CN104540176B (en) Wireless network access method, device and terminal
WO2015131624A1 (en) Method and device for controlling wireless network connection
CN109890069A (en) Method for connecting network, terminal, base station and computer storage medium
US8964638B2 (en) Wireless communication device, wireless communication system, program, and wireless communication method
WO2019015427A1 (en) Data transmission method and device, terminal and computer-readable storage medium
CN103944740A (en) Communication management system, relay device, communication control system, and communication system
CN107801222A (en) Bluetooth and WiFi switching method and system, client and wireless access point equipment
KR20160009599A (en) Efficient automatic sharing of network access among devices
WO2021238404A1 (en) Data card switching method and apparatus, and terminal, and storage medium
US20180110080A1 (en) Mobile phone wifi accelerator and method
CN110121902A (en) A kind of method and terminal of connection setup
WO2016107389A1 (en) Multimedia processing device, multimedia processing server and method therefor
CN105025390B (en) A kind of broadcasting scene store method, system, playback terminal and controlling terminal
CN104394465A (en) Method for waking up stand-by state and equipment
WO2015184823A1 (en) Access control method and device for mobile terminal, and computer storage medium
CN108924751A (en) The method and apparatus of connectivity events triggering based on application
CN103281692B (en) Method for fast roaming between a kind of AC and equipment
WO2019015429A1 (en) Data transmission method, device, terminal and computer-readable storage medium
CN112817248B (en) Shared equipment management method and device, storage medium and electronic device
CN103607662A (en) Method and apparatus for communication protocol control in intelligent television equipment
WO2018019058A1 (en) Wireless access point switching method and apparatus, and terminal
CN105407452A (en) Method and system for controlling data flow in Bluetooth sharing network
US20220182713A1 (en) Device and system for streaming media interaction

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14884874

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14884874

Country of ref document: EP

Kind code of ref document: A1