CN106793033B - Switching method of gateway and portable gateway - Google Patents

Switching method of gateway and portable gateway Download PDF

Info

Publication number
CN106793033B
CN106793033B CN201611149516.8A CN201611149516A CN106793033B CN 106793033 B CN106793033 B CN 106793033B CN 201611149516 A CN201611149516 A CN 201611149516A CN 106793033 B CN106793033 B CN 106793033B
Authority
CN
China
Prior art keywords
gateway
terminal
electric quantity
gateways
threshold value
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
CN201611149516.8A
Other languages
Chinese (zh)
Other versions
CN106793033A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201611149516.8A priority Critical patent/CN106793033B/en
Publication of CN106793033A publication Critical patent/CN106793033A/en
Application granted granted Critical
Publication of CN106793033B publication Critical patent/CN106793033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements
    • 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

Abstract

The invention provides a gateway switching method and a portable gateway, belongs to the technical field of wireless communication, and can at least partially solve the problem that the existing gateway is not reasonably selected. The switching method of the gateway comprises the following steps: monitoring the current state of the portable gateway; determining an electric quantity threshold value according to the current state and a corresponding relation between a pre-stored state and the electric quantity threshold value; comparing the current electric quantity value with the determined electric quantity threshold value, and selecting to close the WiFi access mode when the current electric quantity value is lower than the determined electric quantity threshold value; selecting to remain on a WiFi access mode when the current power value is greater than or equal to the determined power threshold.

Description

Switching method of gateway and portable gateway
Technical Field
The invention belongs to the technical field of wireless communication, and particularly relates to a gateway switching method and a portable gateway.
Background
With the rapid development of the information society, various wearable devices have become popular. The wearable devices have the function of a five-flower eight-door structure and comprise a body monitoring type, a sport monitoring type, an entertainment type and the like. The health monitoring class includes heartbeat monitor, position monitor, respiratory monitor etc. and the motion monitoring class includes pedometer, bracelet etc. and the amusement class includes intelligent wrist-watch etc.. The wearable devices need to report to the network server through the network after acquiring the user data.
Under the existing circumstances, a user carries a small gateway device (wearable gateway) with the user, and the gateway device is used as an access gateway (providing WiFi access service) of all personal wearable devices. After the wearable device is connected to the portable gateway, the acquired user data can be transmitted to the portable gateway, and the portable gateway transmits the data to the network server. Generally, wearable devices need to transmit data in real time, that is, a gateway needs to be continuously used, but since the portable gateway is carried by a user, the power of the portable gateway is limited, and the portable gateway cannot meet the requirement. Therefore, in consideration of saving power, it is desirable that the wearable device can use other gateways without using the wearable gateway as much as possible, so as to reduce power consumption of the wearable gateway and reuse the wearable gateway when necessary.
Among the prior art, the mode that wearable terminal selected the gateway all is based on signal strength, selects the gateway that signal strength is big promptly to insert, and because the distance of taking along gateway and wearable equipment is nearer, so the signal strength of taking along gateway that the gateway sensed is great, thereby makes wearable equipment can select to insert and take along gateway. It can be seen that, when only the strength of the signal of the accessible gateway is considered, even if there are other available gateways around the wearable device, the wearable device still selects to access the wearable gateway, which results in faster power consumption of the wearable gateway.
Therefore, how to make the wearable device reasonably select the gateway becomes a problem to be solved in the field.
Disclosure of Invention
The invention can at least partially solve the problem that the existing gateway switching is not intelligent enough, and provides a switching method of a gateway and a portable gateway, wherein the gateway can be reasonably selected according to the state and the electric quantity of the portable gateway.
The technical scheme adopted for solving the technical problem of the invention is a gateway switching method, which comprises the following steps:
monitoring the current state of the portable gateway;
determining an electric quantity threshold value according to the current state and a corresponding relation between a pre-stored state and the electric quantity threshold value;
comparing the current electric quantity value with the determined electric quantity threshold value, and selecting to close the WiFi access mode when the current electric quantity value is lower than the determined electric quantity threshold value; selecting to remain on a WiFi access mode when the current power value is greater than or equal to the determined power threshold.
Preferably, before monitoring the current state of the wearable gateway, the method further includes: counting the probability of accessing the terminal to other gateways under different states; determining the corresponding relation between the state and the electric quantity threshold value according to the probability and storing the corresponding relation into a portable gateway; and the higher the probability that the terminal accesses other gateways in the state corresponding to the electric quantity threshold value is, the higher the probability is.
Preferably, after the WiFi access mode is selected to be turned off, the method further includes: and judging whether the terminal is accessed to other gateways or not, selecting to start the WiFi access mode when judging that the terminal is not accessed to other gateways, and selecting to keep closing the WiFi access mode when judging that the terminal is accessed to other gateways.
Further preferably, the determining whether the terminal accesses to another gateway includes: and judging whether the connection state information of the terminal is received within preset time, if so, judging that the terminal has access to other gateways, otherwise, judging that the terminal has not access to other gateways.
Further preferably, the determining whether the terminal accesses to another gateway includes: and receiving feedback information of the terminal, and judging whether the terminal is accessed to other gateways or not according to the feedback information.
What is used for solving the technical problem of the invention is a carry-on gateway, comprising:
the WiFi unit is used for providing WiFi access service for the terminal;
the monitoring unit is used for monitoring the current state of the portable gateway;
the threshold value determining unit is used for determining an electric quantity threshold value according to the corresponding relation between the current state and a pre-stored state and the electric quantity threshold value;
a comparison unit for comparing the current electric quantity value with the determined electric quantity threshold value;
the first selection unit is used for selecting to close the WiFi access mode when the current electric quantity value is lower than the determined electric quantity threshold value; selecting to remain on a WiFi access mode when the current power value is greater than or equal to the determined power threshold.
Preferably, the wearable gateway further comprises: and the corresponding relation determining unit is used for counting the probability of accessing the terminal into other gateways under different states, determining the corresponding relation between the states and the electric quantity threshold value according to the probability and storing the corresponding relation into the portable gateway. And the higher the probability that the terminal accesses other gateways in the state corresponding to the electric quantity threshold value is, the higher the probability is.
Further preferably, the wearable gateway further comprises: a receiving unit for receiving connection state information or feedback information of a terminal; the judging unit is used for judging whether the terminal is accessed to other gateways or not; and the second selection unit is used for selecting to open the WiFi access mode when judging that the terminal does not access other gateways, and selecting to keep closing the WiFi access mode when judging that the terminal has accessed other gateways.
More preferably, the determining unit is specifically configured to determine whether connection state information of the terminal is received within a predetermined time, and if the connection state information is received, determine that the terminal has accessed another gateway, otherwise determine that the terminal has not accessed another gateway.
Further preferably, the determining unit is specifically configured to determine whether the terminal accesses another gateway according to the feedback information of the terminal received by the receiving unit.
In the switching method of the gateway, different electric quantity threshold values are determined according to different states of the portable gateway, and the WiFi access mode is selected by comparing the current electric quantity of the portable gateway with the electric quantity threshold value, namely the gateway is intelligently selected according to the state and the electric quantity of the portable gateway, so that the consumption of the electric quantity of the portable gateway is reduced for the need from time to time. According to the gateway switching method provided by the invention, the gateway can be intelligently switched according to different states, the endurance time of the portable gateway is prolonged, the frequency of switching the gateway by the terminal is reduced, and the terminal can be ensured to have the gateway to be accessed all the time.
Drawings
Fig. 1 is a schematic flowchart of a gateway handover method according to embodiment 1 of the present invention;
fig. 2 is a schematic flowchart of a gateway handover method according to embodiment 2 of the present invention;
fig. 3 is a block diagram of a walkman gateway according to embodiment 3 of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative and explanatory of the invention and are not restrictive thereof.
Example 1:
as shown in fig. 1, the present embodiment provides a method for switching a gateway, including:
s101, monitoring the current state of the portable gateway;
s102, determining an electric quantity threshold value according to the current state and the corresponding relation between the pre-stored state and the electric quantity threshold value;
s103, comparing the current electric quantity value with the determined electric quantity threshold value, and selecting to close the WiFi access mode when the current electric quantity value is lower than the determined electric quantity threshold value; selecting to remain on a WiFi access mode when the current power value is greater than or equal to the determined power threshold.
In the gateway switching method provided in this embodiment, different power thresholds may be determined according to different states of the portable gateway, and the WiFi access mode may be selected by comparing the current power of the portable gateway with the power threshold. If the current electric quantity is lower than the electric quantity threshold value, the WiFi access mode is selected to be closed, the WiFi access service is not provided for the terminal, so that the terminal is preferentially accessed to other gateways, and the electric quantity consumption of the portable gateways is reduced for the occasional need. According to the switching method of the gateway provided by the embodiment, the current state and the electric quantity of the portable gateway are considered in combination, the gateway can be intelligently switched according to different states of the portable gateway, the endurance time of the portable gateway is prolonged, and the frequency of switching the gateway by the terminal is reduced.
Example 2:
as shown in fig. 2, the present embodiment provides a method for switching a gateway.
The method is executed by the portable gateway and used for judging whether to provide WiFi access to the terminal and how to enable the terminal to select other gateways.
Specifically, the gateway switching method includes:
s201, preferably, the probability of the terminal accessing other gateways under different states is counted, the corresponding relation between the states and the electric quantity threshold value is determined according to the probability, and the determined corresponding relation is stored in the portable gateway.
And the higher the probability that the terminal accesses other gateways under the state corresponding to the electric quantity threshold value is, the higher the probability is.
Wherein, the state includes time, position and other information.
The time is the current time, and the position is the current position of the portable gateway, and can be obtained through a GPS positioning system and the like.
Specifically, the method comprises the following steps: firstly, the probability of accessing the terminal to other gateways in different states is obtained through statistics according to the history record of the previous operation of the terminal; then, determining the corresponding relation between different states and the electric quantity threshold value according to the probability; when the probability is lower, the corresponding power threshold is lower; and when the probability is higher, corresponding to a higher electric quantity threshold value, and storing the corresponding relation in the gateway along with the network.
Typically, there may be many other gateways around the terminal in addition to the wearable gateway to provide access to WiFi services. However, the probability that a terminal can access other gateways in different states is different, in other words, the number of available gateways around the terminal is different in different states, and even if there are a plurality of available gateways around the terminal (including the carry-on gateway and at least one other gateway), the terminal cannot necessarily access other gateways (gateways other than the carry-on gateway that the terminal can scan). According to the living and working habits of different users, the probability that the terminal used by the same user accesses other gateways under different states has a certain rule. For example, if a user is usually in the middle of the work at five pm, one hour is needed from company to home, and both the company and the home have wireless routers, the probability that the terminal used by the user accesses other gateways between five o 'clock and six o' clock is low, and the probability is high in other time periods. Therefore, the corresponding relation between different states and the electric quantity threshold value can be determined according to the probability that the terminal accesses other gateways in different states, so that the electric quantity threshold values of the portable gateways in different states are reasonably distributed, and the terminal can reasonably access the portable gateways.
Specifically, the step may be to count the number of times that the terminal attempts to access the other gateways and the number of times that the terminal successfully accesses the other gateways in different states within a certain time, so as to obtain the probability that the terminal accesses the other gateways in different states. For example, the probability that the terminal accesses other gateways in different states can be counted by letting the terminal try to access other gateways in different states and recording the number of success and failure in a period of time. Alternatively, the probability of accessing other gateways can be obtained according to the previous operation history of the portable gateway. For example, the gateway modes (the WiFi access mode is turned on or off) of the portable gateway in different states are recorded for multiple times, and the probability of accessing other gateways at terminals in different states is obtained according to the history.
And then, determining the corresponding relation between different states and the electric quantity threshold value according to the probability. When the probability is lower, the corresponding power threshold is lower; and when the probability is higher, corresponding to a higher electric quantity threshold value, and inputting the corresponding relation into the gateway per se.
The electric quantity threshold value is determined according to the probability of accessing the terminal to other gateways, and when the probability is lower, the electric quantity of the portable gateway is usually higher than the electric quantity threshold value by setting a lower electric quantity threshold value, so that the terminal is always accessed to the portable gateway as far as possible; when the probability is higher, the power of the carry-on gateway is easily lower than the power threshold value by setting a higher power threshold value, so that the terminal tries to access other gateways as much as possible in the state.
Therefore, the corresponding relation between different states and the electric quantity threshold is established according to the probability of accessing the terminal into other gateways, and the corresponding relation is stored in the portable gateway, so that the portable gateway selects the gateway mode according to the corresponding relation.
Of course, new data may be generated along with the use of the portable gateway or the terminal, and the new data may be added to the history record, and the probability that the terminal accesses other gateways in different states may be recalculated, so as to update the correspondence between the states and the power thresholds.
S202, monitoring the current state of the portable gateway.
And determining the current state of the carry-on gateway through monitoring.
The state of the terminal is usually the same as that of the portable gateway, and one portable gateway can be simultaneously accessed to a plurality of terminals, so that the state of the portable gateway or any terminal connected with the portable gateway is only required to be determined. However, the walkman gateway is fixed, and the terminal accessing the walkman gateway is any one or more terminals, and therefore, it is preferable to determine the state of the walkman gateway.
S203, determining the electric quantity threshold value according to the current state and the corresponding relation between the pre-stored state and the electric quantity threshold value.
Specifically, in this step, the current state of the wearable gateway determined in step S202 is matched with the state pre-stored in the wearable gateway in step S201, so as to determine the electric quantity threshold value to be set in the current state according to the corresponding relationship between the pre-stored state and the electric quantity threshold value, so that the wearable gateway selects the gateway mode according to the electric quantity threshold value.
S204, comparing the current electric quantity value with the determined electric quantity threshold value, if the current electric quantity value is lower than the determined electric quantity threshold value, selecting to close the WiFi access mode, and entering the step S205; if the current power value is higher than the determined power threshold, the WiFi access mode is selected to be kept on and the process returns to step S202 again.
Specifically, the portable gateway monitors its own power in real time, compares the current power with the power threshold determined in step S203, and selects the gateway mode of the portable gateway according to the comparison result. And if the current electric quantity value is higher than the determined electric quantity threshold value, selecting to keep starting the WiFi access mode, and continuously providing network access service for the terminal. If the current electric quantity value is lower than the determined electric quantity threshold value, the WiFi access mode is selected to be closed, network access service is not provided for the terminal any more, so that the terminal is disconnected from the portable gateway, and the terminal scans again and tries to access other gateways.
According to the steps, the electric quantity threshold value of the portable gateway is related to the probability of accessing the terminal to other gateways. When the power threshold is low, it indicates that the probability that the terminal accesses other gateways is low (that is, the probability that the terminal accesses other gateways in the current state is not high), and in general, the current power of the portable gateway is not lower than the power threshold, and WiFi access service can be provided for the terminal all the time, so that power consumption caused by frequent failure when the terminal continuously attempts to access other gateways is avoided. If the current power is lower than the determined power threshold, it indicates that the power of the gateway is not enough, in this case, although the possibility that the terminal accesses other gateways is not high, it is desirable that the terminal can try to access other gateways because the power of the gateway is low, so as to save the power of the gateway for the time and the time. When the power threshold is higher, it indicates that the probability that the terminal accesses other gateways is higher (i.e., the terminal is easier to access other gateways in the current state), and the current power of the portable gateway is easily lower than the power threshold, so that the portable gateway closes the WiFi access mode to cause the terminal to try to access other gateways, thereby saving the power of the portable gateway by using other gateways as much as possible. And if the current electric quantity of the portable gateway is higher than the electric quantity threshold value, the terminal can continuously access the portable gateway, although the possibility that the terminal accesses other gateways is high in the condition, the electric quantity of the portable gateway is sufficient, the terminal is allowed to continuously access the portable gateway, and the network interruption caused by switching the gateway can be avoided.
S205, judging whether the terminal accesses to other gateways after the WiFi access mode is selected to be closed, and selecting to open the WiFi access mode when the terminal is judged not to access to other gateways; and when the terminal is judged to have access to other gateways, the WiFi access mode is selected to be kept closed.
Specifically, after the portable gateway selects to close the WiFi access mode, the terminal cannot continue to access the portable gateway, disconnect the portable gateway from the terminal, and perform scanning to attempt to access other gateways. According to step S204, it is known that the current power of the wearable gateway is lower than the threshold power, and the power of the wearable gateway is not enough for the terminal to access, but the WiFi access mode is turned off by selecting, so that the terminal preferentially selects another gateway. Of course, the terminal is not necessarily able to determine access to other gateways. Therefore, preferably, in this embodiment, after the WiFi access mode is selected to be turned off, whether the terminal accesses to another gateway is determined, and whether the WiFi access mode is turned on is selected according to a determination result, so as to ensure that the terminal can always have a gateway to access.
Preferably, the step of determining whether the terminal accesses to another gateway specifically includes: and judging whether the connection state information of the terminal is received within preset time, if so, judging that the terminal has access to other gateways, otherwise, judging that the terminal does not have access to other gateways.
The connection state information may be ID information of a gateway successfully accessed to another gateway or accessed by the terminal, that is, the information is sent to the portable gateway after the terminal is successfully connected. Therefore, in the preset time, if the portable gateway receives the information, the portable gateway indicates that the terminal has accessed other gateways, and if the portable gateway does not receive the state information, the portable gateway indicates that the terminal has not accessed other gateways, so that whether the WiFi access mode is started or not is selected.
Preferably, another manner for determining whether the terminal accesses to another gateway may specifically include: and receiving feedback information of the terminal, and judging whether the terminal is accessed to other gateways or not according to the feedback information.
That is, the terminal may send the feedback information to the carry-on gateway regardless of whether the connection is successful or not. The feedback information is description information of the condition that the terminal accesses other gateways, for example, the terminal has accessed other gateways or the terminal does not access other gateways, success or failure, etc. And the portable gateway selects whether to start the WiFi access mode or not by judging the content of the feedback information.
In the gateway switching method provided in this embodiment, different power thresholds are determined according to different states of the portable gateway, and the WiFi access mode is selected by comparing the current power of the portable gateway with the power threshold. If the current electric quantity is lower than the electric quantity threshold value, the WiFi access mode is selected to be closed, the WiFi access service is not provided for the terminal, so that the terminal is preferentially accessed to other gateways, and the electric quantity consumption of the portable gateways is reduced for the occasional need. And after the WiFi access mode is closed, the connection condition of the terminal and other gateways can be judged, and if the terminal is not accessed into other gateways, the portable gateway can restart the WiFi access mode so that the terminal can be accessed into the portable gateway again. According to the gateway switching method provided by the embodiment, intelligent switching of the gateway according to different states can be realized, the endurance time of the portable gateway is prolonged, the frequency of switching the gateway by the terminal is reduced, and the terminal can be ensured to have the gateway to be accessed all the time.
Example 3:
as shown in fig. 3, the present embodiment provides a wearable gateway, which includes: wifi unit, monitoring unit, threshold value confirm unit, comparing unit and first selection unit.
The WiFi unit is used for providing WiFi access service for the terminal.
The monitoring unit is used for monitoring the current state of the portable gateway.
The threshold value determining unit is used for determining the electric quantity threshold value according to the corresponding relation between the current state and the pre-stored state and the electric quantity threshold value.
The comparison unit is used for comparing the current electric quantity value with the determined electric quantity threshold value.
The first selection unit is used for selecting to close the WiFi access mode when the current electric quantity value is lower than the determined electric quantity threshold value; when the current power value is higher than the determined power threshold value, selecting to keep on a WiFi access mode.
Preferably, the portable gateway further comprises a corresponding relation determining unit, configured to count probabilities that the terminal accesses other gateways in different states, determine a corresponding relation between the state and the power threshold according to the probabilities, and store the corresponding relation in the portable gateway. And the higher the probability that the terminal accesses other gateways in the state corresponding to the electric quantity threshold value is, the higher the probability is.
Preferably, the wearable gateway further comprises: the device comprises a receiving unit, a judging unit and a second selecting unit.
The receiving unit is used for receiving the connection state information or the feedback information of the terminal.
The judging unit is used for judging whether the terminal accesses other gateways.
Preferably, the determining unit is specifically configured to determine whether connection state information of the terminal is received within a predetermined time, and if the connection state information is received, determine that the terminal has accessed another gateway, otherwise determine that the terminal has not accessed another gateway.
Preferably, the determining unit is specifically configured to determine whether the terminal accesses another gateway according to the feedback information of the terminal received by the receiving unit.
The second selection unit is used for selecting to open the WiFi access mode when judging that the terminal does not access other gateways, and selecting to keep closing the WiFi access mode when judging that the terminal has accessed other gateways.
The portable gateway provided in this embodiment can switch gateways intelligently according to the switching method of the gateway provided in embodiment 2. The threshold value determining unit determines different electric quantity threshold values according to the state of the portable gateway monitored by the monitoring unit, the comparing unit compares the current electric quantity of the portable gateway with the electric quantity threshold values, and the first selecting unit selects the WiFi access mode according to the comparison result. Specifically, if the current electric quantity is lower than the electric quantity threshold value, the WiFi access mode is selected to be closed, the WiFi access service is not provided for the terminal, so that the terminal is preferentially accessed to other gateways, the electric quantity consumption of the portable gateways is reduced for the terminal to need from time to time, and the connection condition of the terminal and other gateways can be judged after the WiFi access mode is closed. If the terminal does not access other gateways, the portable gateway can restart the WiFi access mode so that the terminal can access the portable gateway again.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (8)

1. A switching method of a gateway is used for a portable gateway, and is characterized by comprising the following steps:
counting the probability of accessing the terminal to other gateways under different states;
determining the corresponding relation between the state and the electric quantity threshold value according to the probability and storing the corresponding relation into a portable gateway;
monitoring the current state of the portable gateway;
determining an electric quantity threshold value according to the current state and a corresponding relation between a pre-stored state and the electric quantity threshold value; wherein the higher the probability is, the higher the state corresponding to the higher the electric quantity threshold is;
comparing the current electric quantity value with the determined electric quantity threshold value, and selecting to close the WiFi access mode when the current electric quantity value is lower than the determined electric quantity threshold value; selecting to remain on a WiFi access mode when the current power value is greater than or equal to the determined power threshold.
2. The gateway handover method according to claim 1, further comprising, after selecting to turn off the WiFi access mode:
and judging whether the terminal is accessed to other gateways or not, selecting to start the WiFi access mode when judging that the terminal is not accessed to other gateways, and selecting to keep closing the WiFi access mode when judging that the terminal is accessed to other gateways.
3. The gateway switching method according to claim 2, wherein the determining whether the terminal accesses another gateway comprises:
and judging whether the connection state information of the terminal is received within preset time, if so, judging that the terminal has access to other gateways, otherwise, judging that the terminal has not access to other gateways.
4. The gateway switching method according to claim 2, wherein the determining whether the terminal accesses another gateway comprises:
and receiving feedback information of the terminal, and judging whether the terminal is accessed to other gateways or not according to the feedback information.
5. An on-body gateway, comprising:
the WiFi unit is used for providing WiFi access service for the terminal;
the monitoring unit is used for monitoring the current state of the portable gateway;
the threshold value determining unit is used for determining an electric quantity threshold value according to the corresponding relation between the current state and a pre-stored state and the electric quantity threshold value;
a comparison unit for comparing the current electric quantity value with the determined electric quantity threshold value;
the first selection unit is used for selecting to close the WiFi access mode when the current electric quantity value is lower than the determined electric quantity threshold value; when the current power value is higher than or equal to the determined power threshold value, selecting to keep on a WiFi access mode;
the corresponding relation determining unit is used for counting the probability of accessing the terminal into other gateways under different states, determining the corresponding relation between the states and the electric quantity threshold value according to the probability and storing the corresponding relation into the portable gateway;
and the higher the probability that the terminal accesses other gateways in the state corresponding to the electric quantity threshold value is, the higher the probability is.
6. The wearable gateway of claim 5, further comprising:
a receiving unit for receiving connection state information or feedback information of a terminal;
the judging unit is used for judging whether the terminal is accessed to other gateways or not;
and the second selection unit is used for selecting to open the WiFi access mode when judging that the terminal does not access other gateways, and selecting to keep closing the WiFi access mode when judging that the terminal has accessed other gateways.
7. The wearable gateway of claim 6,
the judging unit is specifically configured to judge whether connection state information of the terminal is received within a predetermined time, and if the connection state information is received, it is determined that the terminal has accessed to another gateway, otherwise, it is determined that the terminal has not accessed to another gateway.
8. The wearable gateway of claim 6,
the judging unit is specifically configured to judge whether the terminal accesses to another gateway according to the feedback information of the terminal received by the receiving unit.
CN201611149516.8A 2016-12-13 2016-12-13 Switching method of gateway and portable gateway Active CN106793033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611149516.8A CN106793033B (en) 2016-12-13 2016-12-13 Switching method of gateway and portable gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611149516.8A CN106793033B (en) 2016-12-13 2016-12-13 Switching method of gateway and portable gateway

Publications (2)

Publication Number Publication Date
CN106793033A CN106793033A (en) 2017-05-31
CN106793033B true CN106793033B (en) 2020-02-11

Family

ID=58876927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611149516.8A Active CN106793033B (en) 2016-12-13 2016-12-13 Switching method of gateway and portable gateway

Country Status (1)

Country Link
CN (1) CN106793033B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995579A (en) * 2019-12-12 2020-04-10 怀化建南电子科技有限公司 Intelligent street lamp provided with 5G gateway

Citations (2)

* 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
CN105704801A (en) * 2016-03-18 2016-06-22 深圳市吉祥腾达科技有限公司 Management method of router and router

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102012201315A1 (en) * 2012-01-31 2013-08-01 Siemens Aktiengesellschaft Method for stabilizing a power supply network

Patent Citations (2)

* 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
CN105704801A (en) * 2016-03-18 2016-06-22 深圳市吉祥腾达科技有限公司 Management method of router and router

Also Published As

Publication number Publication date
CN106793033A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN105094284B (en) Power-saving processing method and device for application program
US9107146B2 (en) Smart connection manager
US20040209610A1 (en) Method and apparatus for managing wireless terminals
US8447368B2 (en) Base station, method of operating a base station and wireless communication system
CN105493574A (en) Method and system for optimizing power consumption in multi-sim mobile device
CN103078954A (en) Remote monitoring method of mobile terminal, mobile terminal and control terminal
CN108391298A (en) A kind of system and electronic equipment of network automatic switchover
CN112492624B (en) Method and device for reminding use of 5G function, electronic equipment and storage medium
CN108541051A (en) A kind of use pattern control method and mobile terminal based on mobile terminal
CN106793033B (en) Switching method of gateway and portable gateway
EP3681108A1 (en) Home device control system and method thereof
WO2020043006A1 (en) Terminal connection restoration method and apparatus
CN106105324A (en) For determining the method and apparatus of the web search parameter in mobile communications network
US8072880B2 (en) System for correcting errors in radio communication, responsive to error frequency
US20030003972A1 (en) Mobile communication device emergency power management method and apparatus
CN110753308B (en) Positioning device and method for positioning device
CN113472616B (en) Household appliance, shutdown method and device thereof, storage medium and Wi-Fi device
EP2031927A1 (en) Method and apparatus for modifying a network search strategy
CN107896384A (en) Wireless connection method, Cloud Server, terminal and the device with store function
CN110856239B (en) Electronic device control method and device, electronic device and storage medium
CN115884281A (en) Switching method and device of IMS (IP multimedia subsystem) call network, terminal and readable storage medium
US9307343B2 (en) Method of initializing a channel in a medical body area network
US11671812B1 (en) Home network
US10405270B1 (en) Adaptive internet connectivity selection
EP4195720B1 (en) Home network

Legal Events

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