CN112243256A - Wireless network sharing method and device, mobile terminal and storage medium - Google Patents
Wireless network sharing method and device, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN112243256A CN112243256A CN201910641567.XA CN201910641567A CN112243256A CN 112243256 A CN112243256 A CN 112243256A CN 201910641567 A CN201910641567 A CN 201910641567A CN 112243256 A CN112243256 A CN 112243256A
- Authority
- CN
- China
- Prior art keywords
- wireless network
- flow
- traffic
- threshold
- control signal
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The application discloses a wireless network sharing method and device, a mobile terminal and a storage medium, and relates to the field of networks. The method is applied to a mobile terminal with a physical switch arranged between a power supply circuit and a wireless network chip, and comprises the following steps: after the mobile terminal starts a wireless network hotspot sharing function, monitoring wireless network flow on the wireless network chip; when the wireless network flow meets a cutoff condition, generating a closing control signal; and controlling the physical switch to be in an off state through the closing control signal, wherein the off state is a state that the power supply circuit stops supplying power to the wireless network chip. The problem that the mobile terminal consumes excessive network traffic under the condition of no symptom so that the user exceeds the existing network traffic is solved.
Description
Technical Field
The present disclosure relates to the field of networks, and in particular, to a method and an apparatus for sharing a wireless network, a mobile terminal, and a storage medium.
Background
A Wireless Fidelity (WiFi) hotspot formed by a terminal is a technology that can convert a received General Packet Radio Service (GPRS) or mobile communication technology signal (2G or 3G or 4G or 5G) into a WiFi signal to be transmitted, so that the terminal forms a network interface. Other terminals including a Wireless network card or connected to a Wireless Local Area Network (WLAN) can also access the internet through a Wireless network hotspot.
The wireless network hotspot formed by the terminal can be set by itself, so that other terminals meeting the conditions can be accessed to the internet through the wireless network hotspot. When the terminal is connected to the Internet through the wireless network hotspot, the system on the terminal automatically controls the program to update or download the installation package of the program.
Based on the above situation, when the terminal converts the mobile communication technology signal into the WiFi signal, the system on the terminal updates or downloads the installation package of the program with the automatic control program, so that the terminal consumes more traffic.
Disclosure of Invention
The embodiment of the application provides a wireless network sharing method and device, a mobile terminal and a storage medium, and can solve the problem that a large amount of network traffic is consumed without symptoms when the mobile terminal starts a wireless network sharing hotspot function. The technical scheme is as follows:
according to an aspect of the present application, a wireless network sharing method is provided, which is applied to a mobile terminal having a physical switch disposed between a power supply circuit and a wireless network chip, and the method includes: after the mobile terminal starts a wireless network hotspot sharing function, monitoring wireless network flow on the wireless network chip; when the wireless network flow meets a cutoff condition, generating a closing control signal; and controlling the physical switch to be in an off state through the closing control signal, wherein the off state is a state that the power supply circuit stops supplying power to the wireless network chip.
In some embodiments of the present application, the flow cutoff condition comprises: a maximum flow threshold; when the wireless network traffic meets a flow cutoff condition, generating a control signal comprises: and when the wireless network flow is greater than the maximum flow threshold, generating the closing control signal.
In some embodiments of the present application, the flow cutoff condition comprises: a minimum flow threshold and a flow duration threshold; when the wireless network traffic meets a flow cutoff condition, generating a control signal comprises: when the wireless network flow is greater than the minimum flow threshold and the duration is greater than the flow duration threshold, generating the closing control signal; wherein the duration is a duration that the wireless network traffic continues to be greater than the minimum traffic threshold.
In some embodiments of the present application, the method further comprises: and displaying prompt information, wherein the prompt information is used for prompting the flow break prompt information of the wireless network flow.
In some embodiments of the present application, the method further comprises: displaying a function starting control of the wireless network hotspot sharing function; when the function starting control receives a starting operation, a starting control signal is generated; and controlling the physical switch to be in a conducting state through the starting control signal, wherein the conducting state is a state that the power supply circuit supplies power to the wireless network chip.
According to another aspect of the present application, there is provided a wireless network sharing apparatus, wherein a physical switch is disposed between a power supply circuit and a wireless network chip in the apparatus, the apparatus includes: the monitoring module is used for monitoring the wireless network flow on the wireless network chip after the mobile terminal starts a wireless network hotspot sharing function; the control module is used for generating a closing control signal when the wireless network flow meets a cutoff condition; the control module is further used for controlling the physical switch to be in a disconnected state through the closing control signal, and the disconnected state is a state that the power supply circuit stops supplying power to the wireless network chip.
In some embodiments of the present application, the flow cutoff condition comprises: a maximum flow threshold; the control module is further configured to generate the shutdown control signal when the wireless network traffic is greater than the maximum traffic threshold.
In some embodiments of the present application, the flow cutoff condition comprises: a minimum flow threshold and a flow duration threshold; the control module is further configured to generate the shutdown control signal when the wireless network traffic is greater than the minimum traffic threshold and the duration is greater than the traffic duration threshold; wherein the duration is a duration that the wireless network traffic continues to be greater than the minimum traffic threshold.
In some embodiments of the present application, the apparatus further comprises: and the display module is used for displaying prompt information, and the prompt information is used for prompting the cutoff prompt information of the wireless network flow.
In some embodiments of the present application, the apparatus further comprises: a receiving module; the display module is also used for displaying a function starting control of the wireless network hotspot sharing function; the receiving module is further configured to generate a start control signal when the function start control receives a start operation; the control module controls the physical switch to be in a conducting state through the starting control signal, and the conducting state is a state that the power supply circuit supplies power to the wireless network chip.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
when the mobile terminal starts a wireless network hotspot sharing function, the physical switch is arranged between the power supply circuit and the wireless network chip, and when the wireless network flow on the wireless network chip meets a cutoff condition, the physical switch is controlled to disconnect the circuit between the power supply circuit and the wireless network chip, so that the problem that the mobile terminal consumes excessive network flow under the condition of no symptom and the user exceeds the existing network flow is solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic block diagram of wireless network circuitry provided in an exemplary embodiment of the present application;
fig. 2 is a flowchart of a wireless network sharing method according to an exemplary embodiment of the present application;
fig. 3 is a flowchart of a method for enabling a wireless network hotspot sharing function of a mobile terminal according to an exemplary embodiment of the present application;
fig. 4 is a flowchart of a wireless network sharing method according to another exemplary embodiment of the present application;
fig. 5 is a schematic structural diagram of a wireless network sharing device according to an exemplary embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a mobile terminal according to an exemplary embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are for illustration purposes only and are not intended to limit the scope of the present application.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment". Relevant definitions for other terms will be given in the following description.
First, terms referred to in the embodiments of the present application are described:
wireless network hotspot: the mobile terminal has a function of sharing a network formed by mobile data traffic to other terminals. The terminal sharing the wireless network hotspot is equivalent to a router, and other terminals are connected to the internet by accessing the wireless network hotspot.
A wireless network chip: refers to a chip capable of receiving general packet radio service or mobile communication technology signals (2G or 3G or 4G or 5G and subsequent evolution systems) and converting the signals into wireless network signals.
The mobile terminal is accessed to the internet through mobile data traffic or wireless network hotspots, when the mobile terminal does not have the mobile data traffic or the environment where the mobile terminal is located does not have any wireless network hotspot, a wireless network hotspot sharing function needs to be started by means of other terminals, and the terminal is accessed to the internet through the wireless network hotspot connected to the other terminals. When the terminal uses the wireless network hotspot, the program can be automatically updated or the installation package or the file can be downloaded, and a user may waste a large amount of mobile data traffic under the condition of no knowledge.
The application provides a wireless network sharing method, which is applied to a mobile terminal with a physical switch arranged between a power supply circuit and a wireless network chip, and is shown in fig. 1. Fig. 1 is a schematic diagram illustrating a wireless network circuit system of a mobile terminal according to an exemplary embodiment of the present application. The wireless network circuitry includes: a wireless network power supply circuit 101, a physical switch 102, a wireless network chip 103, a control circuit 105, an off state 106, and an on state 107. The physical switch 102 is located between the wireless network power supply circuit 101 and the wireless network chip 103, the wireless network power supply circuit 101 is used for supplying power to the wireless network chip 103, and the control circuit 105 is used for generating a control signal to control the state of the physical switch 102 and monitor the network traffic on the wireless network chip 103. Optionally, the state of the physical switch 102 includes an off state 106 and an on state 107, where the off state 106 is a state in which the wireless network power supply circuit 101 stops supplying power to the wireless network chip 103; the on state 107 is a state in which the wireless network power supply circuit 101 and the wireless network chip 103 are connected.
Optionally, the mobile terminal is a smartphone or a tablet computer. Optionally, the wireless network chip is a chip that receives general packet radio service or mobile communication technology signals (2G or 3G or 4G or 5G) and converts the signals into wireless network signals. The control circuit 105 detects wireless network traffic on the wireless network chip 103, and if the wireless network traffic exceeds a threshold, the control circuit 105 controls the switch 102 to switch from the on state 107 to the off state 106.
Fig. 2 is a flowchart illustrating a wireless network sharing method for a mobile terminal according to an exemplary embodiment of the present disclosure, where the method is applied to a wireless network circuit system shown in fig. 1, and the method includes the following steps:
Schematically, a smart phone is taken as an example for explanation. After the user starts the wireless network hotspot sharing function in the smart phone, the smart phone can automatically monitor the wireless network traffic on the wireless network chip 103. In some embodiments, the wireless network hotspot sharing function is named as a personal hotspot or a wireless network hotspot, which is not limited in this application.
Illustratively, taking a smart phone as an example, when the wireless network traffic of the smart phone meets the cutoff condition, a turn-off control signal is generated. The shutdown control signal is used to cut off the circuit between the wireless network power supply circuit 101 and the wireless network chip 103.
Optionally, the flow cutoff conditions include: a maximum flow threshold and at least one of a minimum flow threshold and a flow duration threshold.
The maximum traffic threshold refers to a highest critical value or an upper limit of network traffic consumed by the mobile terminal when the wireless network hotspot sharing function is enabled. Optionally, when the mobile terminal exceeds the maximum traffic threshold, the user may receive a corresponding prompting message to prompt that the network traffic currently used by the user exceeds an upper limit of the network traffic (or exceeds the network traffic purchased by the user), and the user selectively turns off the wireless network hotspot sharing function or switches a network line according to an actual situation.
When the wireless network traffic is always smaller than the maximum traffic threshold value in a period of time, the mobile terminal consumes more network traffic in the period of time, and therefore, the flow cutoff condition further includes a minimum traffic threshold value and a traffic duration threshold value. The minimum flow threshold refers to a minimum critical value or a lower limit of wireless network flow when the terminal starts a wireless network hotspot sharing function, and the minimum flow threshold is smaller than a maximum flow threshold. The duration refers to the duration that wireless network traffic continues to be greater than the minimum traffic threshold. The traffic duration threshold refers to a critical value of the duration that the wireless network traffic is continuously greater than the minimum traffic threshold. Illustratively, the minimum traffic threshold of the mobile terminal is 500K/s, the traffic duration threshold is two minutes, and when the network traffic of the mobile terminal exceeds 500K/s for more than two minutes, the mobile terminal performs network traffic early warning on the user to prompt the user to check whether the set network traffic is exceeded.
When the wireless network traffic of the smartphone is greater than the maximum traffic threshold, the control circuit 105 generates a shutdown control signal.
When the wireless network traffic of the smartphone is greater than the minimum traffic threshold and the duration is greater than the traffic duration threshold, the control circuit 105 generates a shutdown control signal, where the duration is a duration in which the wireless network traffic is continuously greater than the minimum traffic threshold.
And step 203, controlling the physical switch to be in a disconnected state through the closing control signal, wherein the disconnected state is a state that the power supply circuit stops supplying power to the wireless network chip.
The physical switch 102 is controlled to be in the off state by closing the control signal, so that the wireless network power supply circuit 101 is disconnected from the wireless network chip 103, the wireless network power supply circuit 101 stops supplying power to the wireless network chip 103, and the mobile terminal cannot be connected to a wireless network. Illustratively, when the circuits of the wireless network power supply circuit 101 and the wireless network chip 103 in the smart phone are disconnected, the smart phone cannot be connected to the wireless network.
Optionally, the user can see prompt information through a screen of the mobile terminal, and the prompt information is used for prompting the disconnection prompt information of the wireless network traffic. Optionally, the content of the prompt message includes at least one of the following: excess traffic, time of excess traffic, and number or name of devices connected to the wireless network provided by the smartphone. Schematically, a display screen of the smart phone displays prompt information, and the content of the prompt information is as follows: you currently exceed the 1M/s traffic, the traffic is closed for you, and the wireless network hotspot sharing function can be turned on again. The content of the prompt information is not limited in the present application.
The maximum traffic threshold refers to a highest critical value or an upper limit of network traffic consumed by the mobile terminal when the wireless network hotspot sharing function is enabled. Alternatively, the user may set the maximum traffic threshold by himself, or the mobile terminal has set the maximum traffic threshold (default setting), or the server sets the maximum traffic threshold according to a different program or the mobile terminal, or the server dynamically configures the maximum traffic threshold according to the history or frequency of the user using the program. Illustratively, the maximum traffic threshold of the smart phone set by the user is 1M/s, when the wireless network traffic of the smart phone is greater than 1M/s, the control circuit 105 generates a shutdown control signal, the wireless network power supply circuit 101 stops supplying power to the wireless network chip 103, and the smart phone cannot be connected to the wireless network.
Illustratively, a user starts a wireless network hotspot sharing function in a smart phone, uses a tablet computer to connect to the internet through a wireless network hotspot of the smart phone, and watches a video on the tablet computer on line, at this time, the tablet computer consumes a large amount of network traffic to support the user to watch the video on line without generating pause, and the user sets a maximum traffic threshold, so that the network traffic consumed by watching the video on line at this time exceeds the maximum traffic threshold set by the user.
The minimum flow threshold is less than the maximum flow threshold. The duration refers to the duration that wireless network traffic continues to be greater than the minimum traffic threshold. The traffic duration threshold refers to a critical value of the duration that the wireless network traffic is continuously greater than the minimum traffic threshold. Optionally, the user may set the minimum traffic threshold and the traffic duration threshold by himself, or the mobile terminal has set the minimum traffic threshold and the traffic duration threshold (default setting), or the server sets the minimum traffic threshold and the traffic duration threshold according to different programs or the mobile terminal, or the server dynamically configures the minimum traffic threshold and the traffic duration threshold according to a history or frequency of a program used by the user. Illustratively, the minimum flow threshold value set by the user for the smart phone is 500K/s, the flow duration threshold value is one minute, when the time that the wireless network flow of the smart phone is 600K/s exceeds one minute, a closing control signal is generated, the wireless network power supply circuit 101 stops supplying power to the wireless network chip 103, and the smart phone cannot be connected to the wireless network. Illustratively, the minimum traffic threshold and the traffic duration threshold of the video-playing class of programs are greater than the minimum traffic threshold and the traffic duration threshold of the social chat class of programs.
Illustratively, when a user updates a program in a tablet computer, or downloads files such as documents, pictures, videos, and audios using the tablet computer, the tablet computer continuously consumes network traffic, and the server sets a minimum traffic threshold and a traffic duration threshold according to download content of the user, for example, the user does not exceed the minimum traffic threshold and the traffic duration threshold set by the user when downloading a picture, and the user exceeds the minimum traffic threshold and the traffic duration threshold set by the user when downloading a video.
It should be noted that, when the mobile terminal is normally connected to the wireless network, for example, a wireless network hotspot ACD (the name of the wireless network hotspot is ACD) exists in an environment where a user is located, the user uses the smart phone to connect to the wireless network hotspot ACD, at this time, the physical switch 102 is in an on state, that is, the wireless network power supply circuit 101 supplies power to the wireless network chip 103, the wireless network used by the user is provided by the wireless network hotspot ACD, the control circuit 105 does not monitor network traffic of the wireless network, and the user can normally perform internet access operation.
Optionally, after the user closes the wireless network hotspot sharing function, the wireless network hotspot sharing function may be restarted. Fig. 3 is a flowchart illustrating a method for restarting a wireless network hotspot sharing function according to an exemplary embodiment of the present disclosure. The method is applied to the wireless network circuit system shown in fig. 1, and comprises the following steps:
The mobile terminal displays a function starting control of the wireless network hotspot sharing function, optionally, the wireless network hotspot sharing function is in a setting interface, or in a pull-down menu, or in a status bar, or in a virtual floating button (that is, when a user does not use the button, the button may be hidden in the interface and may be dragged to any position in the interface). Illustratively, a user clicks a 'setup' option in the smart phone to enter a setup interface, and an option corresponding to the wireless network hotspot sharing function is displayed in the setup interface. Optionally, the function opening control is a checkbox (which is selected in a box corresponding to the wireless network hotspot sharing function through a checkbox operation) or a text control (such as an opening control and a closing control). Schematically, a function opening control corresponding to the personal hotspot is displayed on the smart phone.
Illustratively, when the user clicks or opens the personal hotspot function start control in the smartphone, the control circuit 105 in the smartphone generates a start control signal.
And 303, controlling the physical switch to be in a conducting state by starting the control signal, wherein the conducting state is a state that the power supply circuit supplies power to the wireless network chip.
Illustratively, the physical switch 102 is controlled to be in a conducting state by the turn-on control signal, that is, the wireless network power supply circuit 101 supplies power to the wireless network chip 103, and the smart phone is reconnected to the wireless network.
Illustratively, a wireless network hotspot sharing function is started by a smart phone used by a user a to form a wireless network hotspot a, a user B uses the smart phone to connect to the wireless network hotspot a, when the user B watches an online video, a maximum flow threshold set by the user a is exceeded, a control circuit 105 in the smart phone of the user a controls a physical switch 102 to be in a disconnected state, that is, a wireless network power supply circuit 101 stops supplying power to a wireless network chip 103, at this time, the wireless network hotspot a is closed, and the user B cannot continue to be connected to the internet through the wireless network hotspot a. The user A can restart the wireless network hotspot a, the user A clicks the personal hotspot option by opening the setting option in the smart phone, the smart phone generates a starting control signal according to the received starting operation, the starting control signal controls the physical switch 102 to be in a conducting state, namely, the wireless network circuit 101 supplies power to the wireless network chip 103, the smart phone of the user A restarts the wireless network hotspot sharing function to form the wireless network hotspot a, and the smart phone of the user B can continue to be connected to the internet through the wireless network hotspot a, so that the video can be continuously watched.
Fig. 4 is a flowchart illustrating a method for a mobile terminal to serve as a hotspot of a wireless network according to an exemplary embodiment of the present application, where the method is applied to the wireless network circuitry shown in fig. 1, and includes the following steps:
Illustratively, a user uses a tablet computer, the environment where the user is located does not have any wireless network, the tablet computer cannot be connected to the internet, and if the user wants to use the tablet computer to browse a webpage, the user needs to use a smart phone to enable a wireless network hotspot sharing function, so that the tablet computer is connected to the internet through the wireless network started by the smart phone.
If the user starts the wireless network hotspot sharing function, entering step 402 a; if the user does not enable the wireless network hotspot sharing function, step 402b is entered.
Illustratively, the user enables the wireless network hotspot sharing function, for example, the user opens a "setting" option in the smartphone, and clicks the personal hotspot option in the "setting" option, that is, opens the personal hotspot option. The tablet computer used by the user can be connected to the Internet through the wireless network hotspot started by the smart phone. If the wireless network hotspot sharing function is enabled, the step 403a is performed, and if the wireless network hotspot sharing function is not enabled, the step 403b is performed.
After the mobile terminal starts the wireless network hotspot sharing function, the control circuit 105 monitors the wireless network traffic on the wireless network chip. Optionally, the flow cutoff condition comprises a maximum flow threshold. Optionally, the flow cutoff condition further includes a minimum traffic threshold and a traffic duration threshold, the duration being a duration that the wireless network traffic continues to be greater than the minimum traffic threshold. The user can set the maximum flow threshold value by himself or set the minimum flow threshold value and the flow duration threshold value. Illustratively, the maximum traffic threshold set by the user for the smartphone is 1M/s, or the minimum traffic threshold set by the user for the smartphone and the traffic duration threshold set by the user are 500K/s and one minute, respectively.
And step 403b, the physical switch is in a conducting state, and the power supply circuit supplies power to the wireless network chip.
If the user selects not to start the wireless network hotspot sharing function, the wireless network power supply circuit 101 keeps supplying power to the wireless network chip 103, and when other wireless network hotspots exist in the environment where the user is located, the mobile terminal can be connected to the other wireless network hotspots. Illustratively, a tablet computer used by a user may access the internet through a wireless network hotspot (e.g., a wireless network hotspot named ACB).
The control circuit 105 circuitry monitors whether wireless network traffic meets a shut-off condition. Optionally, when the wireless network traffic of the mobile terminal exceeds the maximum traffic threshold, or the minimum traffic threshold and the traffic duration threshold, step 405a is performed; if the wireless network traffic of the mobile terminal does not exceed the threshold, step 405b is performed.
When wireless network traffic satisfies a shut-off condition, control circuit 105 generates a shut-off control signal.
Illustratively, the shutdown control signal is generated when the smartphone wireless network traffic is greater than a maximum traffic threshold (e.g., 1M/s). Illustratively, the control circuit 105 generates the shutdown control signal when the wireless network traffic of the smartphone is greater than a minimum traffic threshold (e.g., 500K/s) and the duration is greater than a traffic duration threshold (e.g., 1 minute), in one example, the control circuit 105 generates the shutdown control signal when the wireless network traffic of the smartphone has a duration of 600K/s for more than one minute.
And step 405b, the physical switch is in a conducting state, and the power supply circuit supplies power to the wireless network chip.
Illustratively, when the wireless network traffic of the smartphone does not satisfy the above-mentioned cutoff condition, the wireless network power supply circuit 101 of the smartphone supplies power to the wireless network chip 103, and the smartphone can enable the wireless network hotspot sharing function.
And 406, controlling the physical switch to be in a disconnected state by closing the control signal, and stopping supplying power to the wireless network chip by the power supply circuit.
Illustratively, when the wireless network traffic of the smartphone is greater than the maximum traffic threshold, the control circuit 105 generates a turn-off control signal, and controls the physical switch to be in a turn-off state by the turn-off control signal, where the turn-off state is a state where the wireless network power supply circuit 102 stops supplying power to the wireless network chip 103, and the tablet computer cannot be connected to the internet through the wireless network hotspot of the smartphone.
Illustratively, when the wireless network flow of the smart phone is greater than the minimum flow threshold and the duration is greater than the flow duration threshold, a turn-off control signal is generated, and the physical switch is controlled to be in a turn-off state by the turn-off control signal, where the turn-off state is a state where the wireless network power supply circuit 102 stops supplying power to the wireless network chip 103, and the tablet computer cannot be connected to the internet through the wireless network hotspot of the smart phone.
Illustratively, prompt information is displayed on a display screen of the smart phone, and the prompt information is used for prompting the disconnection prompt information of the wireless network flow. After seeing the prompt message, the user may check, for example, whether a program in the smartphone is updated, whether an installation package is downloaded, whether the number of terminals connected to the smartphone is excessive, or whether a terminal connected to the smartphone is performing a download operation. Optionally, the user may choose not to perform the check and re-enable the wireless network hotspot sharing function, or after the check, re-enable the wireless network hotspot sharing function. The user performs the steps shown in fig. 3 to re-enable the wireless network hotspot sharing function.
Optionally, after the user re-enables the wireless network hotspot sharing function, when the wireless network flow exceeds the maximum flow threshold, or when the wireless network flow is greater than the minimum flow threshold and the duration is greater than the flow duration threshold, the user can be reminded again, and the reminding content and the reminding times are not limited in the application.
The following are embodiments of the apparatus of the present application, and for details that are not described in detail in the embodiments of the apparatus, reference may be made to corresponding descriptions in the above method embodiments, and details are not described herein again.
Fig. 5 shows a schematic structural diagram of a wireless network sharing device according to an exemplary embodiment of the present application. The apparatus can be implemented as all or a part of a terminal by software, hardware or a combination of both, and includes: a monitoring module 510 and a control module 520.
The monitoring module 510 is configured to monitor wireless network traffic on a wireless network chip after the mobile terminal starts a wireless network hotspot sharing function;
a control module 520, configured to generate a shutdown control signal when a wireless network traffic satisfies a cutoff condition;
the control module 520 is further configured to control the physical switch to be in an off state by turning off the control signal, where the off state is a state where the power supply circuit stops supplying power to the wireless network chip.
In an alternative embodiment, the shut-off condition comprises: a maximum flow threshold; the control module 520 is further configured to generate a shutdown control signal when the wireless network traffic is greater than the maximum traffic threshold.
In an alternative embodiment, the shut-off condition comprises: a minimum flow threshold and a flow duration threshold; the control module 520 is further configured to generate a shutdown control signal when the wireless network flow is greater than the minimum flow threshold and the duration is greater than the flow duration threshold; wherein the duration is a duration that the wireless network traffic is continuously greater than the minimum traffic threshold.
In an optional embodiment, the apparatus further comprises: the display module 530 is configured to display a prompt message, where the prompt message is used to prompt a flow interruption prompt message of the wireless network flow.
In an optional embodiment, the apparatus further comprises: a receiving module 540;
the display module 530 is further configured to display a function starting control of the wireless network hotspot sharing function;
the receiving module 540 is further configured to generate a start control signal when a start operation is received on the function start control;
the control module 520 controls the physical switch to be in a conducting state by turning on the control signal, where the conducting state is a state in which the power supply circuit supplies power to the wireless network chip.
Fig. 6 shows a block diagram of a terminal 600 according to an exemplary embodiment of the present application. The terminal 600 may be: a smart phone or a tablet computer. The terminal 600 may also be referred to by other names such as user equipment, mobile terminal, portable terminal, etc.
The screen of the terminal comprises a main display area and an auxiliary display area, the main display area and the auxiliary display area have different manufacturing attributes, and an optical device is arranged below the auxiliary display area. The terminal 600 may be an electronic device such as a mobile phone, a tablet computer, an e-book reader, a multimedia playing device, a wearable device, a laptop portable computer, etc.
Referring to fig. 6, terminal 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the terminal 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the terminal 600. Examples of such data include instructions for any application or method operating on terminal 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The multimedia component 608 comprises a screen providing an output interface between the terminal 600 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 600 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 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the terminal 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing various aspects of status assessment for the terminal 600. For example, sensor component 614 can detect an open/closed state of terminal 600, relative positioning of components, such as a display and keypad of terminal 600, change in position of terminal 600 or a component of terminal 600, presence or absence of user contact with terminal 600, orientation or acceleration/deceleration of terminal 600, and temperature change of terminal 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the terminal 600 and other devices in a wired or wireless manner. The terminal 600 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, 3G, 4G, 5G, or a subsequent evolution system, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the wireless network sharing method described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, having stored thereon a computer program executable by the processor 620 of the apparatus 600 to perform the wireless network sharing method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. 666 those skilled in the art will appreciate that the configuration shown in fig. 6 does not constitute a limitation of terminal 600 and may include more or fewer components than those shown, or some of the components may be combined, or a different arrangement of components may be employed.
The application also provides a terminal, which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the wireless network sharing method provided by each of the above method embodiments.
The present application further provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the wireless network sharing method provided in each of the above method embodiments.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (12)
1. A wireless network sharing method is applied to a mobile terminal with a physical switch arranged between a power supply circuit and a wireless network chip, and comprises the following steps:
after the mobile terminal starts a wireless network hotspot sharing function, monitoring wireless network flow on the wireless network chip;
when the wireless network flow meets a cutoff condition, generating a closing control signal;
and controlling the physical switch to be in an off state through the closing control signal, wherein the off state is a state that the power supply circuit stops supplying power to the wireless network chip.
2. The method according to claim 1, characterized in that said flow break conditions comprise: a maximum flow threshold;
when the wireless network traffic meets a flow cutoff condition, generating a control signal comprises:
and when the wireless network flow is greater than the maximum flow threshold, generating the closing control signal.
3. The method according to claim 1, characterized in that said flow break conditions comprise: a minimum flow threshold and a flow duration threshold;
when the wireless network traffic meets a flow cutoff condition, generating a control signal comprises:
when the wireless network flow is greater than the minimum flow threshold and the duration is greater than the flow duration threshold, generating the closing control signal;
wherein the duration is a duration that the wireless network traffic continues to be greater than the minimum traffic threshold.
4. The method of any of claims 1 to 3, further comprising:
and displaying prompt information, wherein the prompt information is used for prompting the flow break prompt information of the wireless network flow.
5. The method of any of claims 1 to 3, further comprising:
displaying a function starting control of the wireless network hotspot sharing function;
when the function starting control receives a starting operation, a starting control signal is generated;
and controlling the physical switch to be in a conducting state through the starting control signal, wherein the conducting state is a state that the power supply circuit supplies power to the wireless network chip.
6. The utility model provides a wireless network shares device which characterized in that is provided with the physics switch between supply circuit and the wireless network chip in the device, the device includes:
the monitoring module is used for monitoring the wireless network flow on the wireless network chip after the mobile terminal starts a wireless network hotspot sharing function;
the control module is used for generating a closing control signal when the wireless network flow meets a cutoff condition;
the control module is further used for controlling the physical switch to be in a disconnected state through the closing control signal, and the disconnected state is a state that the power supply circuit stops supplying power to the wireless network chip.
7. The device of claim 6, wherein the flow interrupting condition comprises: a maximum flow threshold;
the control module is further configured to generate the shutdown control signal when the wireless network traffic is greater than the maximum traffic threshold.
8. The device of claim 6, wherein the flow interrupting condition comprises: a minimum flow threshold and a flow duration threshold;
the control module is further configured to generate the shutdown control signal when the wireless network traffic is greater than the minimum traffic threshold and the duration is greater than the traffic duration threshold;
wherein the duration is a duration that the wireless network traffic continues to be greater than the minimum traffic threshold.
9. The apparatus of any of claims 6 to 8, further comprising:
and the display module is used for displaying prompt information, and the prompt information is used for prompting the cutoff prompt information of the wireless network flow.
10. The apparatus of any of claims 6 to 8, further comprising: a receiving module;
the display module is also used for displaying a function starting control of the wireless network hotspot sharing function;
the receiving module is further configured to generate a start control signal when the function start control receives a start operation;
the control module controls the physical switch to be in a conducting state through the starting control signal, and the conducting state is a state that the power supply circuit supplies power to the wireless network chip.
11. A mobile terminal, characterized in that the mobile terminal comprises a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the wireless network sharing method according to any one of claims 1 to 5.
12. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the wireless network sharing method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910641567.XA CN112243256B (en) | 2019-07-16 | 2019-07-16 | Wireless network sharing method and device, mobile terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910641567.XA CN112243256B (en) | 2019-07-16 | 2019-07-16 | Wireless network sharing method and device, mobile terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112243256A true CN112243256A (en) | 2021-01-19 |
CN112243256B CN112243256B (en) | 2023-08-04 |
Family
ID=74167157
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910641567.XA Active CN112243256B (en) | 2019-07-16 | 2019-07-16 | Wireless network sharing method and device, mobile terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112243256B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114501674A (en) * | 2021-06-10 | 2022-05-13 | 荣耀终端有限公司 | Hotspot connection method, terminal device and electronic device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110294502A1 (en) * | 2010-05-31 | 2011-12-01 | Research In Motion Limited | Management of mobile hotspot connections |
US20120240197A1 (en) * | 2011-03-18 | 2012-09-20 | Smith Micro Software, Inc. | Managing Tethered Data Traffic Over a Hotspot Network |
CN104243335A (en) * | 2014-09-30 | 2014-12-24 | 可牛网络技术(北京)有限公司 | Network sharing method and device |
CN106130818A (en) * | 2016-06-30 | 2016-11-16 | 乐视控股(北京)有限公司 | Network sharing, requesting terminal and network share flux monitoring method and system |
US9596717B1 (en) * | 2015-11-06 | 2017-03-14 | Leauto Intelligent Technology (BEIJING) Co., Ltd. | MiFi control method and device |
WO2017166181A1 (en) * | 2016-03-31 | 2017-10-05 | 李昕光 | Method for managing terminal wireless network hotspot |
WO2017190472A1 (en) * | 2016-05-03 | 2017-11-09 | 中兴通讯股份有限公司 | Wifi hotspot-based network sharing method and apparatus |
CN107682910A (en) * | 2017-09-30 | 2018-02-09 | 广东欧珀移动通信有限公司 | Floating resources sharing method, device, mobile terminal and storage medium |
-
2019
- 2019-07-16 CN CN201910641567.XA patent/CN112243256B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110294502A1 (en) * | 2010-05-31 | 2011-12-01 | Research In Motion Limited | Management of mobile hotspot connections |
US20120240197A1 (en) * | 2011-03-18 | 2012-09-20 | Smith Micro Software, Inc. | Managing Tethered Data Traffic Over a Hotspot Network |
CN104243335A (en) * | 2014-09-30 | 2014-12-24 | 可牛网络技术(北京)有限公司 | Network sharing method and device |
US9596717B1 (en) * | 2015-11-06 | 2017-03-14 | Leauto Intelligent Technology (BEIJING) Co., Ltd. | MiFi control method and device |
WO2017166181A1 (en) * | 2016-03-31 | 2017-10-05 | 李昕光 | Method for managing terminal wireless network hotspot |
WO2017190472A1 (en) * | 2016-05-03 | 2017-11-09 | 中兴通讯股份有限公司 | Wifi hotspot-based network sharing method and apparatus |
CN106130818A (en) * | 2016-06-30 | 2016-11-16 | 乐视控股(北京)有限公司 | Network sharing, requesting terminal and network share flux monitoring method and system |
CN107682910A (en) * | 2017-09-30 | 2018-02-09 | 广东欧珀移动通信有限公司 | Floating resources sharing method, device, mobile terminal and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114501674A (en) * | 2021-06-10 | 2022-05-13 | 荣耀终端有限公司 | Hotspot connection method, terminal device and electronic device |
CN114501674B (en) * | 2021-06-10 | 2022-12-30 | 荣耀终端有限公司 | Hotspot connection method, terminal device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112243256B (en) | 2023-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3188066B1 (en) | A method and an apparatus for managing an application | |
CN106375604B (en) | The method and apparatus of controlling terminal electricity | |
CN110995929A (en) | Terminal control method, device, terminal and storage medium | |
CN106941572B (en) | Incoming call reminding method and device | |
CN109451880B (en) | Network connection method and device | |
CN105392251B (en) | A kind of methods, devices and systems of management intelligent lamp | |
JP2018504791A (en) | Network selection method, apparatus, program, and recording medium | |
CN105163290B (en) | roaming prompting method and device | |
US20210250647A1 (en) | Method for playing videos and electronic device | |
CN110730954A (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
US20160286023A1 (en) | Method and device for loading user interface theme | |
CN105912204B (en) | Method and device for starting application interface | |
CN110618783B (en) | Text broadcasting method, device and medium | |
CN112672389B (en) | Network switching method | |
EP3188566B1 (en) | Application management method and device | |
CN105227426B (en) | Application interface switching method and device and terminal equipment | |
CN112243256B (en) | Wireless network sharing method and device, mobile terminal and storage medium | |
CN106990984B (en) | Method and device for updating system | |
CN110637502B (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN105786561B (en) | Method and device for calling process | |
CN113259995B (en) | Information processing method, device and storage medium | |
CN107979695B (en) | Network message receiving method and device and storage medium | |
CN106776204B (en) | Method and device for determining power consumption application | |
CN111124099A (en) | State control method, device and storage medium | |
CN109526043B (en) | Application program setting method and device |
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 |