CN114938528A - Hotspot switching method, device and system and storage medium - Google Patents

Hotspot switching method, device and system and storage medium Download PDF

Info

Publication number
CN114938528A
CN114938528A CN202210699551.6A CN202210699551A CN114938528A CN 114938528 A CN114938528 A CN 114938528A CN 202210699551 A CN202210699551 A CN 202210699551A CN 114938528 A CN114938528 A CN 114938528A
Authority
CN
China
Prior art keywords
terminal
hotspot
electric quantity
candidate
threshold
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.)
Granted
Application number
CN202210699551.6A
Other languages
Chinese (zh)
Other versions
CN114938528B (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 CN202210699551.6A priority Critical patent/CN114938528B/en
Publication of CN114938528A publication Critical patent/CN114938528A/en
Application granted granted Critical
Publication of CN114938528B publication Critical patent/CN114938528B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a hotspot switching method, device and system and a storage medium. The hotspot switching method applied to the network side service equipment comprises the following steps: receiving a hotspot sharing switching request from a first terminal, wherein the hotspot sharing switching request is used for requesting hotspot sharing switching and is sent by the first terminal under the condition that the electric quantity is smaller than a first threshold value; determining at least one candidate terminal with a position distance from the first terminal smaller than a distance threshold value in the terminals with the binding relationship with the first terminal; determining a candidate terminal with the electric quantity larger than a second threshold value as a second terminal in at least one candidate terminal, wherein the second threshold value is larger than the first threshold value; and sending a hotspot opening request to the second terminal, and sending a hotspot closing request to the first terminal. According to the method and the device, the service time of the terminal sharing the hot spot can be prolonged, and meanwhile, the service is provided for the terminal receiving the hot spot signal more stably.

Description

Hotspot switching method, device and system and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a system, and a storage medium for hot spot switching.
Background
With the progress of science and technology and the diversification of user demands, various new terminals are continuously emerging, and terminals for office, personal, home, vehicle-mounted and the like are rapidly increased. Generally, terminals have a hotspot sharing function, and may share data traffic with other surrounding terminals by setting a Wireless Fidelity (WiFi) hotspot, so that other surrounding terminals may surf the internet for free through WiFi signals. When the terminal is in the hotspot sharing mode, the terminal needs to download and upload the cellular data and receive and transmit the WiFi signal at the same time, which results in very fast power consumption of the terminal.
In the related art, for a terminal in a hot spot sharing mode, the hot spot sharing is stopped when the terminal is automatically powered off after the power of the terminal is exhausted. Therefore, the use of basic services such as normal network connection, conversation, short messages and the like of the terminal can be influenced, and the sudden stop of hotspot sharing can also influence the use of network services of the terminal receiving the WiFi signal of the terminal.
Disclosure of Invention
The application provides a hotspot switching method, device, system and storage medium, which can prolong the service time of a terminal sharing a hotspot and simultaneously provide service for the terminal receiving the hotspot more stably.
On one hand, the application provides a hotspot switching method, which is applied to network side service equipment and comprises the following steps: receiving a hotspot sharing switching request from a first terminal, wherein the hotspot sharing switching request is used for requesting hotspot sharing switching and is sent by the first terminal under the condition that the electric quantity is smaller than a first threshold value; determining at least one candidate terminal with a position distance from the first terminal smaller than a distance threshold value in the terminals with the binding relationship with the first terminal; determining a candidate terminal with the electric quantity larger than a second threshold value as a second terminal in at least one candidate terminal, wherein the second threshold value is larger than the first threshold value; and sending a hotspot opening request to the second terminal, and sending a hotspot closing request to the first terminal, wherein the hotspot opening request is used for opening the hotspot sharing function, and the hotspot closing request is used for closing the hotspot sharing function.
Optionally, in the at least one candidate terminal, determining that the candidate terminal whose electric quantity is greater than the second threshold is the second terminal includes: in at least one candidate terminal, acquiring the electric quantity of the candidate terminal one by one according to the sequence of the position distance from the first terminal from near to far, and executing the following steps:
if the electric quantity is larger than a second threshold value, determining the candidate terminal as a second terminal;
and if the electric quantity is less than or equal to the second threshold value, acquiring the electric quantity of the next candidate terminal.
Optionally, in the at least one candidate terminal, determining that the candidate terminal whose electric quantity is greater than the second threshold is the second terminal includes: acquiring the electric quantity of at least one candidate terminal; determining a candidate terminal with the electric quantity larger than a second threshold value in at least one candidate terminal; and determining the candidate terminal which is closest to the first terminal in the candidate terminals with the electric quantity larger than the second threshold value as the second terminal.
Optionally, in the at least one candidate terminal, determining that the candidate terminal whose electric quantity is greater than the second threshold is the second terminal includes: acquiring the electric quantity of at least one candidate terminal; in the electric quantity of at least one candidate terminal, the following steps are executed according to the order of the electric quantity from big to small:
judging whether the electric quantity of the candidate terminal with the maximum electric quantity is larger than a second threshold value;
and if the electric quantity of the candidate terminal with the maximum electric quantity is larger than a second threshold value, determining the candidate terminal with the maximum electric quantity as a second terminal.
Optionally, when acquiring the power of the candidate terminal, the method includes: and acquiring the electric quantity of the candidate terminal in real time by adopting a broadcast receiving mechanism.
Optionally, before determining at least one candidate terminal whose position distance from the first terminal is smaller than the distance threshold, the method further includes: determining whether a terminal having a binding relationship with a first terminal starts a mobile data service; if the terminal starts the mobile data service, the position information of the terminal is obtained by combining the mobile data with the GPS; if the mobile data service is not started by the terminal, the network log-in record of the terminal is collected from the signaling system, the network log-in record comprises base station information and cell information, and the position information of the terminal is obtained according to the base station information and the cell information.
Optionally, the hotspot sharing switching request carries identification information of the first terminal and card-related information, where the card-related information includes an international subscriber identity MSIDSN of the mobile station and/or an international mobile subscriber identity IMSI; (ii) a
When determining a terminal having a binding relationship with a first terminal, the method includes: analyzing the hotspot sharing switching request to obtain identification information and card related information; inquiring whether the first terminal opens the one-number multi-terminal service or not from the IT support system according to the identification information and the card related information; and if the first terminal opens the one-number multi-terminal service, inquiring a terminal with the same number as the first terminal from the IT support system to obtain the terminal with the binding relation with the first terminal.
Optionally, the hotspot switching method further includes: and if the electric quantity of at least one candidate terminal is smaller than the second threshold value, sending warning information of low electric quantity to the first terminal.
In a second aspect, the present application provides a hotspot switching method, which is applied to a first terminal, and the hotspot switching method includes: detecting whether the electric quantity is smaller than a first threshold value; under the condition that the detected electric quantity is smaller than a first threshold value, a hotspot sharing switching request is sent to network side service equipment, and the hotspot sharing switching request is used for requesting hotspot sharing switching; receiving a hotspot closing request from network side service equipment, wherein the hotspot closing request is sent by the network side service equipment in a terminal having a binding relationship with a first terminal under the condition that the terminal with the position distance to the first terminal being less than a distance threshold and the electric quantity being greater than a second threshold is determined to exist, and the second threshold is greater than the first threshold; and closing the hotspot sharing function.
In a third aspect, the present application provides a hotspot switching method applied to a second terminal, where the hotspot switching method includes: receiving a hotspot starting request, wherein the hotspot starting request is sent by a network side service device in response to a hotspot sharing switching request under the condition that a terminal with a position distance smaller than a distance threshold and an electric quantity larger than a second threshold is determined to exist in a terminal with a binding relationship with a first terminal, the second threshold is larger than the first threshold, the hotspot sharing switching request is sent by the first terminal under the condition that the electric quantity is smaller than the first threshold, and the hotspot sharing switching request is used for requesting hotspot sharing switching; and starting a hot spot sharing function.
In a fourth aspect, the present application provides a hotspot switching device, which is applied to a network-side service device. The hot spot switching device comprises:
the receiving module is used for receiving a hotspot sharing switching request from the first terminal, wherein the hotspot sharing switching request is used for requesting hotspot sharing switching and is sent by the first terminal under the condition that the electric quantity is smaller than a first threshold value;
the first determining module is used for determining at least one candidate terminal of which the position distance from the first terminal is less than a distance threshold value in the terminals having the binding relationship with the first terminal;
the second determining module is used for determining the candidate terminal with the electric quantity larger than a second threshold value as a second terminal in the at least one candidate terminal, wherein the second threshold value is larger than the first threshold value;
the sending module is used for sending a hotspot opening request to the second terminal and sending a hotspot closing request to the first terminal, wherein the hotspot opening request is used for opening the hotspot sharing function, and the hotspot closing request is used for closing the hotspot sharing function.
In a fifth aspect, the present application provides a hotspot switching device, which is applied to a first terminal. The hot spot switching device comprises:
the detection module is used for detecting whether the electric quantity is smaller than a first threshold value;
the sending module is used for sending a hotspot sharing switching request to the network side service equipment under the condition that the detected electric quantity is smaller than a first threshold value, wherein the hotspot sharing switching request is used for requesting hotspot sharing switching;
the system comprises a receiving module and a sending module, wherein the receiving module is used for receiving a hot spot closing request from network side service equipment, the hot spot closing request is sent by the network side service equipment in a terminal which has a binding relationship with a first terminal under the condition that the terminal with the position distance to the first terminal being smaller than a distance threshold and the electric quantity being larger than a second threshold is determined, and the second threshold is larger than the first threshold;
and the processing module is used for closing the hotspot sharing function.
In a sixth aspect, the present application provides a hotspot switching device, which is applied to a second terminal. The hot spot switching device comprises:
the receiving module is used for receiving a hotspot starting request which is sent by a network side service device in response to a hotspot sharing switching request and is sent in a terminal having a binding relationship with a first terminal under the condition that the terminal is determined to exist, wherein the position distance between the terminal and the first terminal is smaller than a distance threshold and the electric quantity of the terminal is larger than a second threshold, the second threshold is larger than the first threshold, the hotspot sharing switching request is sent by the first terminal under the condition that the electric quantity of the terminal is smaller than the first threshold, and the hotspot sharing switching request is used for requesting hotspot sharing switching;
and the processing module is used for starting the hotspot sharing function.
In a seventh aspect, the present application provides an electronic device, comprising: a memory, a processor;
a memory for storing executable instructions;
a processor configured to execute executable instructions to implement the hotspot switching method of the first aspect, or the second aspect, or the third aspect.
In an eighth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when executed by a processor, the computer-executable instructions are used to implement the hotspot switching method of the first aspect, the second aspect, or the third aspect.
In a ninth aspect, the present application provides a hotspot switching system, including:
a network side service device, configured to execute the hotspot switching method of the first aspect;
the first terminal is used for executing the hotspot switching method in the second aspect;
and the second terminal is used for executing the hotspot switching method of the third aspect.
In a tenth aspect, the present application provides a computer program product comprising a computer program that, when executed, implements the hotspot switching method of the first aspect, or the second aspect, or the third aspect.
According to the hotspot switching method, device, system and storage medium provided by the application, under the condition that the electric quantity of the first terminal is smaller than a first threshold, the network side service equipment determines at least one candidate terminal of which the position distance to the first terminal is smaller than a distance threshold in the terminals having the binding relationship with the first terminal; determining a candidate terminal with the electric quantity larger than a second threshold value as a second terminal in at least one candidate terminal, wherein the second threshold value is larger than the first threshold value; and finally, sending a hotspot opening request to the second terminal and sending a hotspot closing request to the first terminal. In the process, when the electric quantity of the first terminal is smaller, the second terminal with larger electric quantity is searched to replace the first terminal to provide hot spot service for other terminals, so that the power consumption speed of the first terminal can be reduced, the service time of the first terminal is prolonged, and meanwhile, the terminal using the hot spot can stably and uninterruptedly use the network service. In addition, as the terminal using the hot spot is automatically switched from the hot spot provided by the first terminal to the hot spot provided by the second terminal only within millisecond unit time, the use of the network service of the terminal using the hot spot is not influenced in the hot spot switching process.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is an application scenario diagram of a hotspot switching method according to an embodiment of the present application;
fig. 2 is a flowchart of a hot spot switching method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a process of determining a terminal having a binding relationship with a first terminal according to an embodiment of the present application;
fig. 4 is a flowchart of a hot spot switching method according to another embodiment of the present application;
fig. 5 is a flowchart of a hot spot switching method according to still another embodiment of the present application;
fig. 6 is an exemplary diagram of an interaction diagram of a hot spot switching method according to an embodiment of the present application;
fig. 7 is a flowchart illustrating a hot spot handover according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a hot spot switching device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a hot spot switching device according to another embodiment of the present application;
fig. 10 is a schematic structural diagram of a hot spot switching device according to yet another embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 12 is a block diagram of a terminal according to an embodiment of the present application.
Specific embodiments of the present application have been shown by way of example in the drawings and will be described in more detail below. The drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the concepts of the application by those skilled in the art with reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The one-number multi-terminal service refers to a service in which a plurality of terminals share one mobile phone number for communication, and a plurality of terminals which open the one-number multi-terminal service can share a package, wherein the package comprises a data flow package and a tariff package. In the one-number multi-terminal service, a general mobile phone terminal is a main device, namely a main terminal, and can extend the mobile communication service to more types of auxiliary terminals, namely auxiliary terminals, wherein the auxiliary terminals comprise a smart watch, a tablet computer and various consumer electronic products. The SIM card on the main terminal is called a main card, the SIM card on the auxiliary terminal is called an auxiliary card, and the auxiliary card and the main card belong to the same user. Through the one-number multi-terminal service, a user can use any equipment under the shared mobile phone number to answer or dial the call, so that the number confusion is avoided, and the convenience of the telephone communication service is greatly improved.
The main terminal and the auxiliary terminal which open the one-number multi-terminal service generally have a hotspot sharing function, and can be used for other surrounding terminals to share data flow by setting a hotspot, namely, other surrounding terminals can surf the internet free by a hotspot signal. However, the terminal sharing the hot spot consumes very fast power, and the terminal stops hot spot sharing when the terminal is automatically powered off after the power of the terminal is exhausted. Therefore, the use of basic services such as normal network connection, conversation, short messages and the like of the terminal can be influenced, and the use of network services of the terminal receiving the hot spot signal of the terminal can be influenced due to the sudden stop of hot spot sharing.
Therefore, the embodiment of the application provides a multi-terminal hotspot sharing cooperative work mechanism, when the electric quantity of a terminal A in a hotspot sharing process is reduced to a certain threshold value, a hotspot sharing switching request is triggered to a network side service device, and the hotspot sharing is requested to be switched to other terminals, so that the use of the terminal providing a hotspot is ensured, and the terminal using the hotspot service can stably and uninterruptedly use network services.
Fig. 1 is an application scenario diagram of a hot spot switching method according to an embodiment of the present application. As shown in fig. 1, a terminal 101, a terminal 102, and a terminal 103 share a mobile phone number, and the terminal 101 is providing a hotspot service to a terminal 104, when the terminal 101 has insufficient power, because another terminal of a plurality of terminals at the same location or close to the terminal 101 has sufficient power, and also has a hotspot sharing function but the hotspot sharing function is in a closed state, in addition, in view of the characteristics of data traffic sharing and tariff sharing among a plurality of terminals that open a plurality of terminal services, the terminal 102 or the terminal 103 with sufficient power can replace the terminal 101 that is performing hotspot sharing but has insufficient power to perform hotspot sharing. Therefore, the use of basic services such as conversation and short messages of the terminal providing a hot spot, namely the terminal 101, is ensured, and the stable uninterrupted use of network services of the terminal using the hot spot, namely the terminal 104, is also ensured.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a hotspot switching method provided in an embodiment of the present application, where the hotspot switching method is applied to a network-side service device, and the network-side service device may include a hotspot management server. The hotspot management server is not necessarily a separate physical entity, but may also be a logical unit. In addition, the hotspot management Server may be a separate Server, or may be embedded in an existing network element entity of the terminal-one system, such AS an IT support system or an Application Server (AS for short) of the terminal-one system.
As shown in fig. 2, the hotspot switching method includes:
s201, receiving a hotspot sharing switching request from a first terminal.
The hotspot sharing switching request is used for requesting hotspot sharing switching, and the hotspot sharing switching request is sent by the first terminal under the condition that the electric quantity is smaller than a first threshold value.
Specifically, when the first terminal is in a hotspot sharing state and the electric quantity of the first terminal is smaller than a first threshold, the network side service device receives a hotspot sharing switching request sent by the first terminal. The terminal using the hot spot of the first terminal is a third terminal, and the purpose of the hot spot sharing switching request is to enable the first terminal with the electric quantity lower than a first threshold value to stop sharing the hot spot so as to slow down the power consumption speed of the first terminal, so that the service time of the first terminal is prolonged; meanwhile, another terminal replaces the first terminal to provide hot spot service for the third terminal, so that the third terminal can stably and uninterruptedly use the network service.
The first threshold is an electric quantity value, and the first threshold may be set autonomously by a user or preset in advance in a system of the first terminal, for example, 20% or 15%. The first terminal can be any electronic equipment capable of providing hot spot service, such as a mobile phone, a tablet or an electronic watch.
In addition, the hotspot sharing handover request also carries a lot of information, such as Mobile station International Subscriber identity Number (MSISDN), International Mobile Subscriber identity Number (IMSI), and so on.
S202, at least one candidate terminal with the position distance from the first terminal smaller than the distance threshold value is determined in the terminals with the binding relation with the first terminal.
The terminal having the binding relationship with the first terminal may be another terminal under the one-number-multi-terminal service activated by the first terminal, or another terminal in which the telephone number used by the first terminal and the telephone number used by the first terminal are registered as the same user. Because the terminals have a binding relationship with the first terminal, the positions of the terminals can be inquired according to the first terminal information or the card related information carried in the hotspot switching request, so as to determine at least one candidate terminal of which the distance from the position of the first terminal is less than the distance threshold.
The candidate terminal is a terminal for providing a hot spot service to the third terminal instead of the first terminal, and thus the candidate terminal cannot be too far away from the third terminal, that is, too far away from the first terminal. In order to ensure that the candidate terminal is available, the distance threshold needs to be smaller than the hotspot signal transmission distance.
In some embodiments, in order to determine a distance between a terminal having a binding relationship with the first terminal and the first terminal, and to select at least one candidate terminal having a distance from the first terminal less than a distance threshold, a location of the terminal having a binding relationship with the first terminal is determined. For example, the method for determining the location of the terminal having the binding relationship with the first terminal may be as follows: firstly, whether a terminal having a binding relationship with a first terminal starts a mobile data service needs to be determined; if the terminal starts a mobile data service, acquiring the position information of the terminal by combining mobile data with a GPS (global positioning system); if the mobile data service is not started by the terminal, the network log-in record of the terminal is collected from the signaling system, the network log-in record comprises base station information and cell information, and the position information of the terminal is obtained according to the base station information and the cell information.
Accordingly, the location of the first terminal may also be determined by the above-described method.
In addition, in order to enable the hotspot switching to be carried out smoothly, the candidate terminal is configured with information such as a hotspot name, a password, traffic limitation and the like related to hotspot sharing.
And S203, determining the candidate terminal with the electric quantity larger than the second threshold value as a second terminal in at least one candidate terminal.
The second threshold is an electric quantity value which is set in advance by the network side service equipment, and the second threshold is larger than the first threshold.
The first terminal needs to search other terminals to provide the hot spot service to the third terminal instead of the first terminal because the power of the first terminal is low, so that the power of the second terminal which replaces the first terminal to provide the hot spot service cannot be too low, and the power of the second terminal at least needs to be greater than a first threshold value, namely the second threshold value is greater than the first threshold value.
And S204, sending a hotspot opening request to the second terminal, and sending a hotspot closing request to the first terminal.
The hotspot opening request is used for opening the hotspot sharing function, and the hotspot closing request is used for closing the hotspot sharing function. And the transmission of the hotspot opening request and the hotspot closing request can be carried through mobile data connection or can be carried through short messages invisible to the user.
And when the second terminal receives the hotspot opening request, the second terminal can automatically open the hotspot sharing function. And when the first terminal receives the hotspot closing request, the first terminal closes the hotspot sharing function. At this time, the third terminal searches for the hotspot of the second terminal and successfully connects to continue using the network service. And because the third terminal is automatically switched from the hot spot provided by the first terminal to the hot spot provided by the second terminal, only millisecond unit time is needed, so that the third terminal is basically unaware of the user of the third terminal, and the use of the network service of the third terminal is not influenced.
In addition, the third terminal is configured with information such as a connection password for connecting the hotspot to the hotspot set by the first terminal and the second terminal.
In the embodiment of the application, under the condition that the electric quantity of the first terminal is smaller than a first threshold, the network side service equipment determines at least one candidate terminal of which the position distance from the first terminal is smaller than a distance threshold in the terminals having the binding relationship with the first terminal; determining a candidate terminal with the electric quantity larger than a second threshold value as a second terminal in at least one candidate terminal, wherein the second threshold value is larger than the first threshold value; and finally, sending a hotspot opening request to the second terminal and sending a hotspot closing request to the first terminal. In the process, when the electric quantity of the first terminal is smaller, the second terminal with larger electric quantity is searched to replace the first terminal to provide hot spot service for the third terminal, so that the power consumption speed of the first terminal can be reduced, the service time of the first terminal is prolonged, and the third terminal can stably and continuously use network service. In addition, the third terminal is automatically switched from the hot spot provided by the first terminal to the hot spot provided by the second terminal, only millisecond unit time is needed, and therefore the use of the network service of the third terminal is not affected in the hot spot switching process.
Specifically, there are various ways of determining the second terminal among the candidate terminals.
In the first manner, S203 may further include: in at least one candidate terminal, acquiring the electric quantity of the candidate terminal one by one according to the sequence from near to far of the position distance with the first terminal, and executing the following steps: if the electric quantity is larger than a second threshold value, determining the candidate terminal as a second terminal; and if the electric quantity is less than or equal to the second threshold value, acquiring the electric quantity of the next candidate terminal.
Illustratively, the candidate terminals include a terminal B, a terminal D, and a terminal E, and the candidate terminals are prioritized according to the distance from the first terminal, and the ranking result is that the terminal B, the terminal D, and the terminal E are closest to the first terminal, and the terminal E is farthest from the first terminal. According to the sorting result, the network side service equipment firstly inquires the electric quantity information of the terminal B, and if the electric quantity of the terminal B is larger than a second threshold value, the terminal B is a second terminal; if the electric quantity of the terminal B is smaller than or equal to the second threshold value, the network side service equipment can continuously inquire the electric quantity of the terminal D according to the sorting result, and if the electric quantity of the terminal D is larger than the second threshold value, the terminal D is a second terminal; and if the electric quantity of the terminal D is smaller than or equal to the second threshold value, the network side service equipment continuously inquires the electric quantity of the terminal E according to the sorting result. And the like until the second terminal is determined. However, if the electric quantity of at least one candidate terminal is smaller than the second threshold value, that is, no candidate terminal meeting the electric quantity requirement exists, a warning message of low electric quantity is sent to the first terminal or the search for the second terminal is finished.
The determination method can determine the candidate terminal closest to the first terminal as the second terminal from the candidate terminals meeting the electric quantity requirement. In addition, the electric quantity of the candidate terminal can be obtained in sequence, and the electric quantity of other candidate terminals can be stopped being obtained in time after the second terminal is determined, so that the parameter obtaining amount is reduced, and the efficiency of determining the second terminal is improved.
In addition, when acquiring the electric quantity of the candidate terminal, the network side service device may acquire the electric quantity of the candidate terminal in real time by using a broadcast receiving mechanism.
In the second manner, S203 may further include: acquiring the electric quantity of at least one candidate terminal; determining a candidate terminal with the electric quantity larger than a second threshold value in at least one candidate terminal; and determining the candidate terminal which is closest to the first terminal in the candidate terminals with the electric quantity larger than the second threshold value as the second terminal.
The method comprises the steps that firstly, the electric quantity of all candidate terminals is obtained, the electric quantity of each candidate terminal is compared with a second threshold value, and if the candidate terminals larger than the second threshold value exist, one candidate terminal closest to a first terminal is selected as the second terminal from the candidate terminals larger than the second threshold value; and if the candidate terminal which is larger than the second threshold value does not exist, namely the candidate terminal which meets the electric quantity requirement does not exist, sending warning information of low electric quantity to the first terminal or finishing searching the second terminal.
The determination method can determine the candidate terminal closest to the first terminal as the second terminal from the candidate terminals meeting the electric quantity requirement. In addition, the electric quantity of all the candidate terminals is screened firstly, the second terminal can be searched under the condition that the electric quantity of no candidate terminal is larger than the second threshold value, and the process time for determining the second terminal when no second terminal exists is shortened.
In addition, when the network side service device acquires the electric quantity of the candidate terminal, a broadcast receiving mechanism can be adopted to acquire the electric quantity of the candidate terminal in real time.
In a third manner, S203 may further include: acquiring the electric quantity of at least one candidate terminal; in the electric quantity of at least one candidate terminal, the following steps are executed according to the order of the electric quantity from big to small: judging whether the electric quantity of the candidate terminal with the maximum electric quantity is larger than the second threshold value; and if the electric quantity of the candidate terminal with the maximum electric quantity is larger than the second threshold value, determining the candidate terminal with the maximum electric quantity as the second terminal.
Illustratively, the candidate terminals include terminal B, terminal D, and terminal E, and the second threshold is 25%. The remaining capacity of the terminal B is 50%, the remaining capacity of the terminal D is 30%, and the remaining capacity of the terminal E is 25%. And performing priority ranking according to the electric quantity of the candidate terminal, wherein the ranking result is a terminal B, a terminal D and a terminal E, the electric quantity of the candidate terminal is compared with a second threshold value in sequence according to the ranking result, the electric quantity of the terminal B is 50 percent and is larger than the second threshold value, and therefore the terminal B is a second terminal. In addition, if the electric quantity of the candidate terminal with the largest electric quantity is smaller than the second threshold, it indicates that there is no candidate terminal meeting the electric quantity requirement, and at this time, a warning message of low electric quantity may be sent to the first terminal or the search for the second terminal may be ended.
The method for determining the second terminal can determine the second terminal with the largest electric quantity, so that the second terminal can share the hot spot for a longer time, and the possibility that the hot spot switching needs to be carried out again is lower.
In addition, when the network side service device acquires the electric quantity of the candidate terminal, a broadcast receiving mechanism can be adopted to acquire the electric quantity of the candidate terminal in real time.
Fig. 3 is a flowchart illustrating a process of determining a terminal having a binding relationship with a first terminal according to an embodiment of the present application. Referring to fig. 3, a terminal having a binding relationship with a first terminal may be determined according to the following steps:
s301, receiving a hotspot sharing switching request from the first terminal.
The step is the same as step S201, and is not described herein again.
S302, the hotspot sharing switching request is analyzed to obtain identification information and card related information.
The hotspot sharing switching request carries identification information and card-related information of the first terminal, where the card-related information includes data such as MSISDN and IMSI.
And S303, inquiring whether the first terminal opens the one-number multi-terminal service or not from the IT support system according to the identification information and the card related information.
If the first terminal opens the one-number multi-terminal service, executing step S304; if the first terminal does not open the multi-terminal service, step S305 is executed.
S304, inquiring a terminal with the same number as the first terminal from the IT supporting system to obtain the terminal with the binding relation with the first terminal.
S305, sending warning information of low electric quantity to the first terminal or finishing searching the second terminal.
Fig. 4 is a flowchart of a hot spot switching method according to another embodiment of the present application. The embodiment provides a hotspot switching method, which is applied to a first terminal, and as shown in fig. 4, the method includes the following steps:
s401, detecting whether the electric quantity is smaller than a first threshold value;
the first terminal can monitor the electric quantity of the first terminal in real time to detect whether the electric quantity is smaller than a first threshold value, the first threshold value can be set by a user independently, and the first threshold value can also be preset in the first terminal system in advance.
S402, sending a hotspot sharing switching request to the network side service equipment under the condition that the detected electric quantity is smaller than a first threshold value.
When the electric quantity is smaller than a first threshold value, the first terminal sends a hotspot sharing switching request to the network side service device, wherein the hotspot sharing switching request is used for requesting hotspot sharing switching, namely requesting to use other terminals to replace the first terminal for hotspot sharing.
In addition, in order to send a hotspot sharing switching request, the first terminal is configured with a hotspot sharing switching request module.
S403, receiving a hotspot closing request from a network side service device.
The hotspot closing request is sent by the network side service equipment in the terminal having the binding relationship with the first terminal under the condition that the terminal with the position distance to the first terminal smaller than the distance threshold and the electric quantity larger than the second threshold exists, and the second threshold is larger than the first threshold.
S404, closing the hotspot sharing function.
When other terminals replace the first terminal to perform hotspot sharing, the first terminal can close the hotspot sharing function of the first terminal so as to reduce the power consumption. In order to complete the opening and closing of the hot spot of the first terminal, the first terminal is provided with a hot spot sharing automatic opening and closing module.
In the hotspot switching method provided by this embodiment, an execution main body is a first terminal, the first terminal detects its own electric quantity, and when the electric quantity is smaller than a first threshold, sends a hotspot sharing switching request, and when the network side service device determines that there is a terminal whose distance from the location of the first terminal is smaller than a distance threshold and whose electric quantity is greater than a second threshold, the first terminal receives a hotspot closing request and closes a hotspot sharing function. The first terminal can stop providing hot spot sharing service in advance before the electric quantity is too low by detecting the electric quantity of the first terminal, and therefore the service time of the first terminal is prolonged.
Fig. 5 is a flowchart of a hot spot switching method according to still another embodiment of the present application. This embodiment provides a hotspot switching method, which is applied to a second terminal, and as shown in fig. 5, the method includes the following steps:
s501, receiving a hotspot opening request.
The hotspot starting request is sent by the network side service equipment in response to a hotspot sharing switching request under the condition that a terminal with a position distance smaller than a distance threshold and electric quantity larger than a second threshold is determined to exist in the terminal with a binding relationship with the first terminal, the second threshold is larger than the first threshold, the hotspot sharing switching request is sent by the first terminal under the condition that the electric quantity is smaller than the first threshold, and the hotspot sharing switching request is used for requesting hotspot sharing switching.
S502, starting a hotspot sharing function.
In order to save power, the hotspot sharing function of the second terminal is usually in an off state. The second terminal is required to start providing the hot spot, and the hot spot sharing function is started firstly. In order to complete the opening and closing of the hot spot of the second terminal, the second terminal is configured with a hot spot sharing automatic opening and closing module.
Fig. 6 is an exemplary diagram of an interaction diagram of a hot spot switching method according to an embodiment of the present application. To assist understanding, the embodiments of the present application will be described in detail below with reference to fig. 6 and 7 according to specific examples.
The method relates to a terminal A, a terminal B, a terminal C, a terminal D, a terminal E, a hotspot management server and other auxiliary network elements. The terminal A, the terminal B, the terminal D and the terminal E are terminals in a number one terminal and a plurality of terminals. Other secondary network elements may include: an IT support system and a short message system of an operator. In addition, the power of terminal a is 20%, the power of terminal B is 15%, and the power of terminal D is 50%.
When the terminal a is providing a hotspot sharing service to the terminal C, the terminal C uses the network service by connecting the hotspot provided by the terminal a. The terminal a is monitoring its own power change all the time. When the electric quantity of the terminal A is reduced to 20%, the terminal A sends a hotspot sharing switching request to a hotspot management server, and requests to switch the hotspot sharing function to other terminals in the first-number multi-terminal, such as a terminal B, a terminal D or a terminal E. The hotspot sharing switching request carries identification information of the terminal a and card related information, such as MSISDN, IMSI and other data, and in view of the fact that the current terminal a is in a mobile data connection state, the request message is preferentially carried through mobile data connection.
When receiving a hotspot sharing and switching request sent by the terminal a, the hotspot management server extracts the identification information of the terminal a and card related information, such as data of MSIDSN, IMSI, and the like, from the request message. And then, after the IT support system is inquired and determined that the terminal A opens the one-number multi-terminal service, continuously inquiring the binding relationship among the cards of the plurality of terminals under the one-number multi-terminal service and the detailed data information of the plurality of terminals. After the position information of the terminal A, the terminal B, the terminal D and the terminal E is extracted through mobile data and a GPS mode, whether the distance between the terminal B, the terminal D and the terminal E and the terminal A is larger than 20 meters or not is judged. Since the distance of the terminal E from the terminal a is greater than 20 meters, the terminal E is considered to be too far away and thus unusable.
And then, carrying out position sequencing on other terminals in the one-number multi-terminal, namely the terminal B and the terminal D. That is, the terminals B and D are prioritized according to the distance from the terminal a, and the closer the terminal a is, the higher the priority of the terminal. Since the terminal B is closest to the terminal a, the power information of the terminal B is further inquired later. Since the power of the terminal B is 15% and not higher than 30%, the power information of the terminal D is continuously queried according to the priority ranking. Because the electric quantity of the terminal D is 50% and is higher than 30%, the hotspot management server sends a hotspot opening request to the terminal D and sends a hotspot closing request to the terminal A. When the terminal D receives the hotspot opening request, the hotspot sharing is automatically opened through the hotspot sharing automatic opening and closing module. And the terminal A receives the hotspot closing request and automatically closes the hotspot sharing through the hotspot sharing automatic opening and closing module. And the terminal C will automatically search for surrounding hot spot signals, thereby connecting with the hot spot provided by the terminal D. And then the terminal C shares the mobile data connection of the terminal D, continues to surf the internet and other operations, and receives information such as network pushing and the like. Because the terminal C automatically switches from the hotspot provided by the terminal A to the hotspot provided by the terminal D, only millisecond unit time is needed, the terminal C is basically unaware of the user of the terminal C, and the use of the network service of the terminal C is not influenced.
In summary, the present application has at least the following advantages:
when the electric quantity of the first terminal is small, a second terminal with large electric quantity is searched to replace the first terminal to provide hot spot service for a third terminal, so that the power consumption speed of the first terminal can be reduced, and the service time of the first terminal is prolonged;
and secondly, because the third terminal is automatically switched from the hot spot provided by the first terminal to the hot spot provided by the second terminal, only millisecond unit time is needed, and the use of the network service of the third terminal is not influenced in the hot spot switching process.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 8 is a schematic structural diagram of a hot spot switching device according to an embodiment of the present application. The embodiment of the application provides a hotspot switching device which is applied to network side service equipment. As shown in fig. 8, the hot spot switching apparatus 80 includes: a receiving module 801, a first determining module 802, a second determining module 803 and a sending module 804. Wherein:
the receiving module 801 is configured to receive a hotspot sharing switching request from a first terminal, where the hotspot sharing switching request is used to request hotspot sharing switching, and the hotspot sharing switching request is sent by the first terminal when an electric quantity is smaller than a first threshold.
A first determining module 802, configured to determine, among terminals having a binding relationship with a first terminal, at least one candidate terminal whose location distance from the first terminal is smaller than a distance threshold.
The second determining module 803 is configured to determine, as the second terminal, a candidate terminal whose electric quantity is greater than a second threshold, where the second threshold is greater than the first threshold, in the at least one candidate terminal.
The sending module 804 is configured to send a hotspot opening request to the second terminal, and send a hotspot closing request to the first terminal, where the hotspot opening request is used to open a hotspot sharing function, and the hotspot closing request is used to close the hotspot sharing function.
Optionally, the second determining module 803 is specifically configured to: in at least one candidate terminal, acquiring the electric quantity of the candidate terminal one by one according to the sequence of the position distance from the first terminal from near to far, and executing the following steps: if the electric quantity is larger than a second threshold value, determining the candidate terminal as a second terminal; and if the electric quantity is less than or equal to the second threshold value, acquiring the electric quantity of the next candidate terminal.
Optionally, the second determining module 803 is specifically configured to: acquiring the electric quantity of at least one candidate terminal; determining a candidate terminal with the electric quantity larger than a second threshold value in at least one candidate terminal; and determining the candidate terminal which is closest to the first terminal in the candidate terminals of which the electric quantity is greater than the second threshold value as the second terminal.
Optionally, the second determining module 803 is specifically configured to: acquiring the electric quantity of at least one candidate terminal; in the electric quantity of at least one candidate terminal, the following steps are executed according to the order of the electric quantity from big to small:
if the electric quantity is larger than a second threshold value, determining the candidate terminal corresponding to the electric quantity as a second terminal;
and if the electric quantity is less than or equal to the second threshold value, acquiring the electric quantity of the next candidate terminal.
In some embodiments, the second determining module 803 obtains the power of the candidate terminal in real time by using a broadcast receiving mechanism when obtaining the power of the candidate terminal.
In some embodiments, the first determining module 802 is further configured to: before determining at least one candidate terminal with the position distance from the first terminal smaller than the distance threshold, determining whether a terminal with a binding relationship with the first terminal starts a mobile data service; if the terminal starts the mobile data service, the position information of the terminal is obtained by combining the mobile data with the GPS; if the mobile data service is not started by the terminal, the network log-in record of the terminal is collected from the signaling system, the network log-in record comprises base station information and cell information, and the position information of the terminal is obtained according to the base station information and the cell information.
Optionally, the hotspot sharing switching request carries identification information of the first terminal and card related information, where the card related information includes the MSIDSN and/or the IMSI. Correspondingly, when determining the terminal having the binding relationship with the first terminal, the first determining module 802 is specifically configured to:
and analyzing the hotspot sharing switching request to obtain identification information and card related information.
And inquiring whether the first terminal opens the one-number multi-terminal service or not from the IT support system according to the identification information and the card related information.
And if the first terminal opens the one-number multi-terminal service, inquiring a terminal with the same number as the first terminal from the IT support system to obtain the terminal with the binding relation with the first terminal.
Optionally, the sending module 804 is further configured to: and when the electric quantity of at least one candidate terminal is smaller than a second threshold value, sending warning information of low electric quantity to the first terminal.
Fig. 9 is a schematic structural diagram of a hot spot switching device according to another embodiment of the present disclosure. The embodiment of the application provides a hot spot switching device which is applied to a first terminal. As shown in fig. 9, the hot spot switching device 90 includes: a detection module 901, a sending module 902, a receiving module 903 and a processing module 904. Wherein:
the detecting module 901 is configured to detect whether the electric quantity is smaller than a first threshold.
A sending module 902, configured to send a hotspot sharing switching request to a network side service device when it is detected that the electric quantity is smaller than a first threshold, where the hotspot sharing switching request is used to request hotspot sharing switching.
A receiving module 903, configured to receive a hotspot closing request from a network side service device, where the hotspot closing request is sent by the network side service device in a terminal having a binding relationship with a first terminal when it is determined that there is a terminal whose position distance from the first terminal is smaller than a distance threshold and whose electric quantity is greater than a second threshold, and the second threshold is greater than the first threshold.
And a processing module 904 configured to close the hotspot sharing function.
Fig. 10 is a schematic structural diagram of a hot spot switching device according to still another embodiment of the present disclosure. The embodiment of the application provides a hot spot switching device which is applied to a second terminal. As shown in fig. 10, the hot spot switching apparatus 100 includes: a receiving module 1001 and a processing module 1002. Wherein:
the receiving module 1001 is configured to receive a hotspot starting request, where the hotspot starting request is sent by a network side service device in response to a hotspot sharing switching request, and is sent in a terminal having a binding relationship with a first terminal when it is determined that a terminal exists, where a location distance to the first terminal is smaller than a distance threshold and an electric quantity is greater than a second threshold, where the second threshold is greater than the first threshold, the hotspot sharing switching request is sent by the first terminal when the electric quantity is smaller than the first threshold, and the hotspot sharing switching request is used to request hotspot sharing switching.
The processing module 1002 is configured to start a hotspot sharing function.
It should be noted that the hot spot switching device provided in the embodiment of the present application may be used to implement the corresponding hot spot switching method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can all be implemented in the form of software invoked by a processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the processing module may be a processing element that is separately configured, or may be integrated into a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and a processing element of the apparatus calls and executes a function of the processing module. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when some of the above modules are implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor that can call program code. As another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Referring to fig. 11, the electronic device 110 includes a memory 1101 and a processor 1102. Wherein, the memory 1101 is used for storing executable instructions; processor 1102 is configured to execute executable instructions to implement the hotspot switching method described above.
Fig. 12 is a block diagram of a terminal according to an embodiment of the present application. The embodiment of the present application provides a terminal, which is configured to execute steps executed by a first terminal or a second terminal in the hotspot switching method. The terminal may be a mobile phone, a tablet device, a personal digital assistant, etc.
Terminal 120 may include one or more of the following components: processing component 1201, memory 1202, power component 1203, multimedia component 1204, audio component 1205, input/output interface 1206, sensor component 1207, and communications component 1208. The input/output interface may also be referred to as an "I/O interface".
The processing component 1201 generally controls the overall operation of the terminal 120, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1201 may include one or more processors 1209 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1201 can include one or more modules that facilitate interaction between the processing component 1201 and other components. For example, the processing component 1201 may include a multimedia module to facilitate interaction between the multimedia component 1204 and the processing component 1201.
Memory 1202 is configured to store various types of data to support operation at terminal 120. Examples of such data include instructions for any application or method operating on the terminal 120, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1202 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1203 provides power to the various components of the terminal 120. The power components 1203 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal 120.
The multimedia component 1204 includes a screen providing an output interface between the terminal 120 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1204 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 120 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1205 is configured to output and/or input audio signals. For example, the audio components 1205 include a Microphone (MIC) configured to receive external audio signals when the terminal 120 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1202 or transmitted via the communication component 1208. In some embodiments, the audio component 1205 also includes a speaker for outputting audio signals.
The I/O interface 1206 provides an interface between the processing component 1201 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 1207 includes one or more sensors to provide various aspects of state assessment for the terminal 120. For example, the sensor component 1207 can detect an open/closed state of the terminal 120, a relative positioning of components, such as a display and keypad of the terminal 120, a change in position of the terminal 120 or a component of the terminal 120, the presence or absence of user contact with the terminal 120, orientation or acceleration/deceleration of the terminal 120, and a change in temperature of the terminal 120. The sensor assembly 1207 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1207 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1207 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1208 is configured to facilitate communications between the terminal 120 and other devices in a wired or wireless manner. The terminal 120 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1208 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1208 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
The embodiment of the application further provides a hotspot switching system, which comprises a network side service device, a first terminal and a second terminal. The network side service device is used for executing the executing steps of the network side service device in the method, the first terminal is used for executing the executing steps of the first terminal in the method, and the second terminal is used for executing the executing steps of the second terminal in the method.
The embodiment of the present application further provides a computer-readable storage medium, in which computer execution instructions are stored, and when the computer execution instructions are executed by a processor, the hotspot switching method is implemented.
The computer-readable storage medium may be any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Computer-readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the detection apparatus for sensing holes.
An embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method for switching hotspots is implemented.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present disclosure, and not for limiting the same; while the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications or substitutions do not depart from the scope of the embodiments of the present disclosure by the essence of the corresponding technical solutions.

Claims (16)

1. A hotspot switching method is applied to network side service equipment and comprises the following steps:
receiving a hotspot sharing switching request from a first terminal, wherein the hotspot sharing switching request is used for requesting hotspot sharing switching and is sent by the first terminal under the condition that the electric quantity is smaller than a first threshold value;
determining at least one candidate terminal with a position distance from the first terminal smaller than a distance threshold value in the terminals with the binding relationship with the first terminal;
determining a candidate terminal with the electric quantity larger than a second threshold value as a second terminal in the at least one candidate terminal, wherein the second threshold value is larger than the first threshold value;
and sending a hotspot opening request to the second terminal, and sending a hotspot closing request to the first terminal, wherein the hotspot opening request is used for opening a hotspot sharing function, and the hotspot closing request is used for closing the hotspot sharing function.
2. The method according to claim 1, wherein the determining, among the at least one candidate terminal, the candidate terminal whose power is greater than a second threshold as the second terminal comprises:
in the at least one candidate terminal, acquiring the electric quantity of the candidate terminals one by one according to the sequence from near to far from the position distance of the first terminal, and executing the following steps:
if the electric quantity is larger than the second threshold value, determining the candidate terminal as the second terminal;
and if the electric quantity is less than or equal to the second threshold value, acquiring the electric quantity of the next candidate terminal.
3. The method according to claim 1, wherein the determining, among the at least one candidate terminal, the candidate terminal whose power is greater than a second threshold as the second terminal comprises:
acquiring the electric quantity of the at least one candidate terminal;
determining a candidate terminal with the electric quantity larger than the second threshold value in the at least one candidate terminal;
and determining the candidate terminal which is closest to the first terminal in the candidate terminals with the electric quantity larger than the second threshold value as the second terminal.
4. The method according to claim 1, wherein the determining, among the at least one candidate terminal, the candidate terminal whose power is greater than a second threshold as the second terminal comprises:
acquiring the electric quantity of the at least one candidate terminal;
in the electric quantity of the at least one candidate terminal, the following steps are executed according to the order of the electric quantity from big to small:
judging whether the electric quantity of the candidate terminal with the maximum electric quantity is larger than the second threshold value;
and if the electric quantity of the candidate terminal with the maximum electric quantity is larger than the second threshold value, determining the candidate terminal with the maximum electric quantity as the second terminal.
5. The hotspot switching method according to any one of claims 2 to 4, wherein when acquiring the power of the candidate terminal, the method comprises:
and acquiring the electric quantity of the candidate terminal in real time by adopting a broadcast receiving mechanism.
6. The hotspot switching method of any one of claims 1 to 4, wherein before determining at least one candidate terminal having a location distance from the first terminal that is less than a distance threshold, further comprising:
determining whether a terminal having a binding relationship with the first terminal starts a mobile data service;
if the terminal starts a mobile data service, acquiring the position information of the terminal in a mode of combining mobile data with a GPS;
if the mobile data service is not started by the terminal, acquiring a log-on record of the terminal from a signaling system, wherein the log-on record comprises base station information and cell information, and acquiring the position information of the terminal according to the base station information and the cell information.
7. The hotspot switching method according to any one of claims 1 to 4, wherein the hotspot sharing switching request carries identification information of the first terminal and card-related information, wherein the card-related information comprises a mobile station international subscriber identity (MSIDSN) and/or an International Mobile Subscriber Identity (IMSI);
when determining a terminal having a binding relationship with the first terminal, the method includes:
analyzing the hotspot sharing switching request to obtain the identification information and the card related information;
inquiring whether the first terminal opens the one-number multi-terminal service or not from an IT support system according to the identification information and the card related information;
and if the first terminal opens the one-number multi-terminal service, inquiring a terminal with the same number as the first terminal from the IT support system to obtain a terminal with a binding relationship with the first terminal.
8. The hotspot switching method according to any one of claims 1 to 4, further comprising:
and if the electric quantity of the at least one candidate terminal is smaller than the second threshold value, sending warning information of low electric quantity to the first terminal.
9. A hotspot switching method is applied to a first terminal, and is characterized by comprising the following steps:
detecting whether the electric quantity is smaller than a first threshold value;
under the condition that the detected electric quantity is smaller than a first threshold value, sending a hotspot sharing switching request to network side service equipment, wherein the hotspot sharing switching request is used for requesting hotspot sharing switching;
receiving a hotspot closing request from the network side service equipment, wherein the hotspot closing request is sent by the network side service equipment in a terminal having a binding relationship with the first terminal under the condition that a terminal with a position distance smaller than a distance threshold and an electric quantity larger than a second threshold exists, and the second threshold is larger than the first threshold;
and closing the hotspot sharing function.
10. A hotspot switching method is applied to a second terminal, and comprises the following steps:
receiving a hotspot starting request, wherein the hotspot starting request is sent by the network side service equipment in response to a hotspot sharing switching request under the condition that a terminal with a position distance smaller than a distance threshold and an electric quantity larger than a second threshold is determined to exist in a terminal with a binding relationship with a first terminal, the second threshold is larger than the first threshold, the hotspot sharing switching request is sent by the first terminal under the condition that the electric quantity is smaller than the first threshold, and the hotspot sharing switching request is used for requesting hotspot sharing switching;
and starting a hot spot sharing function.
11. A hot spot switching device is applied to a network side service device, and the hot spot switching device includes:
the terminal comprises a receiving module and a switching module, wherein the receiving module is used for receiving a hotspot sharing switching request from a first terminal, the hotspot sharing switching request is used for requesting hotspot sharing switching, and the hotspot sharing switching request is sent by the first terminal under the condition that the electric quantity is smaller than a first threshold value;
the first determining module is used for determining at least one candidate terminal of which the position distance from the first terminal is less than a distance threshold value in the terminals in the binding relationship with the first terminal;
a second determining module, configured to determine, among the at least one candidate terminal, a candidate terminal whose electric quantity is greater than a second threshold as a second terminal, where the second threshold is greater than the first threshold;
the sending module is used for sending a hotspot opening request to the second terminal and sending a hotspot closing request to the first terminal, wherein the hotspot opening request is used for opening a hotspot sharing function, and the hotspot closing request is used for closing the hotspot sharing function.
12. A hot spot switching device applied to a first terminal, the hot spot switching device comprising:
the detection module is used for detecting whether the electric quantity is smaller than a first threshold value;
the system comprises a sending module and a switching module, wherein the sending module is used for sending a hotspot sharing switching request to network side service equipment under the condition that the detected electric quantity is smaller than a first threshold value, and the hotspot sharing switching request is used for requesting hotspot sharing switching;
a receiving module, configured to receive a hotspot closing request from the network side service device, where the hotspot closing request is sent by the network side service device in a terminal having a binding relationship with the first terminal when it is determined that a terminal whose position distance from the first terminal is smaller than a distance threshold and whose electric quantity is greater than a second threshold exists, and the second threshold is greater than the first threshold;
and the processing module is used for closing the hotspot sharing function.
13. A hot spot switching device applied to a second terminal, the hot spot switching device comprising:
the receiving module is used for receiving a hotspot starting request which is sent by a network side service device in response to a hotspot sharing switching request and is sent by a terminal in a binding relationship with a first terminal under the condition that the terminal is determined to exist, wherein the position distance between the terminal and the first terminal is smaller than a distance threshold and the electric quantity of the terminal is larger than a second threshold, the second threshold is larger than a first threshold, the hotspot sharing switching request is sent by the first terminal under the condition that the electric quantity of the terminal is smaller than the first threshold, and the hotspot sharing switching request is used for requesting hotspot sharing switching;
and the processing module is used for starting the hotspot sharing function.
14. An electronic device, comprising: a memory, a processor;
the memory to store executable instructions;
the processor configured to execute the executable instructions to implement the hotspot switching method of any one of claims 1 to 8, or to implement the hotspot switching method of claim 9 or 10.
15. A hotspot switching system, comprising:
a network side service device, configured to perform the hotspot switching method according to any one of claims 1 to 8;
a first terminal for performing the hotspot switching method according to claim 9;
a second terminal configured to perform the hotspot switching method according to claim 10.
16. A computer-readable storage medium having stored thereon computer-executable instructions for implementing the hotspot switching method according to any one of claims 1 to 8, or implementing the hotspot switching method according to claim 9 or 10, when executed by a processor.
CN202210699551.6A 2022-06-20 2022-06-20 Hot spot switching method, device, system and storage medium Active CN114938528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210699551.6A CN114938528B (en) 2022-06-20 2022-06-20 Hot spot switching method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210699551.6A CN114938528B (en) 2022-06-20 2022-06-20 Hot spot switching method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN114938528A true CN114938528A (en) 2022-08-23
CN114938528B CN114938528B (en) 2023-10-31

Family

ID=82867821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210699551.6A Active CN114938528B (en) 2022-06-20 2022-06-20 Hot spot switching method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN114938528B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297530A (en) * 2022-09-28 2022-11-04 荣耀终端有限公司 Network connection method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040927A (en) * 2017-05-27 2017-08-11 珠海市魅族科技有限公司 Wireless network focus sharing method and device, computer installation and storage medium
WO2017148354A1 (en) * 2016-03-04 2017-09-08 努比亚技术有限公司 Mobile terminal, computer storage medium and network sharing method
CN107371204A (en) * 2017-09-04 2017-11-21 广东工业大学 A kind of flow based on mobile terminal shares switching method, apparatus and system
WO2018064897A1 (en) * 2016-10-08 2018-04-12 中兴通讯股份有限公司 Wireless fidelity connection hotspot switching method and hotspot access device
CN112153711A (en) * 2020-10-14 2020-12-29 中国联合网络通信集团有限公司 Mobile network switching method and device
CN113286349A (en) * 2021-05-25 2021-08-20 Oppo广东移动通信有限公司 Personal hotspot connection method, device, terminal and storage medium
CN114430542A (en) * 2020-10-29 2022-05-03 华为技术有限公司 Energy saving method and terminal equipment
US20220141745A1 (en) * 2019-07-31 2022-05-05 Vivo Mobile Communication Co.,Ltd. Network switching method and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017148354A1 (en) * 2016-03-04 2017-09-08 努比亚技术有限公司 Mobile terminal, computer storage medium and network sharing method
WO2018064897A1 (en) * 2016-10-08 2018-04-12 中兴通讯股份有限公司 Wireless fidelity connection hotspot switching method and hotspot access device
CN107040927A (en) * 2017-05-27 2017-08-11 珠海市魅族科技有限公司 Wireless network focus sharing method and device, computer installation and storage medium
CN107371204A (en) * 2017-09-04 2017-11-21 广东工业大学 A kind of flow based on mobile terminal shares switching method, apparatus and system
US20220141745A1 (en) * 2019-07-31 2022-05-05 Vivo Mobile Communication Co.,Ltd. Network switching method and terminal
CN112153711A (en) * 2020-10-14 2020-12-29 中国联合网络通信集团有限公司 Mobile network switching method and device
CN114430542A (en) * 2020-10-29 2022-05-03 华为技术有限公司 Energy saving method and terminal equipment
CN113286349A (en) * 2021-05-25 2021-08-20 Oppo广东移动通信有限公司 Personal hotspot connection method, device, terminal and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
SARMA, A: "《Context Aware Handover Management: Sustaining QoS and QoE in a Public IEEE 802.11e Hotspot》", 《IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT》 *
杨剑波;季新生;: "一种基于增强信息服务的介质独立切换机制", 计算机工程, no. 11 *
林鸿, 丁文芳, 高强: "一种蓝牙网络接入点快速切换机制", 计算机研究与发展, no. 10 *
陈博;: "基于用户分享的Wi-Fi热点信息数据库", 科技信息, no. 16 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297530A (en) * 2022-09-28 2022-11-04 荣耀终端有限公司 Network connection method and device

Also Published As

Publication number Publication date
CN114938528B (en) 2023-10-31

Similar Documents

Publication Publication Date Title
RU2648612C2 (en) Method and device for accessing operator network
WO2020232712A1 (en) Paging method and apparatus
KR102436552B1 (en) Cell type indication method, apparatus and computer readable storage medium
CN114938528B (en) Hot spot switching method, device, system and storage medium
US11606684B2 (en) Method and device for resolving dual subscriber identity module paging conflict
RU2745301C1 (en) Method and apparatus for base station access
US11706813B2 (en) Random access method and apparatus, and method and apparatus for sending PLMN identity
CN114667750B (en) Information reporting method and device and storage medium
CN110337823B (en) Information configuration method and device, service processing method and device and base station
CN108718450B (en) Telephone card control method, device, storage medium and mobile terminal
US11452030B2 (en) Information recording method and information recording device
CN114830758A (en) Method and device for determining paging reason and storage medium
CN105636079A (en) Network determining method and device
CN114095915A (en) Communication method, apparatus and medium
CN107566996B (en) Communication information prompting method, device and equipment
CN111727612B (en) Terminal tracking method and device and storage medium
CN109005569B (en) Network connection method and device and routing equipment
CN113453151B (en) Short message sending method and device, communication equipment and storage medium
US20240163843A1 (en) Method and apparatus for information sending and receiving
CN110291815B (en) Method, device and medium for improving service continuity
US11647433B2 (en) Method and apparatus for network access, terminal, and storage medium
US20240147221A1 (en) Capability sending method and apparatus, and capability receiving method and apparatus
US20220104003A1 (en) Random access method and apparatus, and computer readable storage medium
CN112888048B (en) Communication method and device and storage medium
CN116939729A (en) Network connection method, device and medium

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