CN112243256B - 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
- CN112243256B CN112243256B CN201910641567.XA CN201910641567A CN112243256B CN 112243256 B CN112243256 B CN 112243256B CN 201910641567 A CN201910641567 A CN 201910641567A CN 112243256 B CN112243256 B CN 112243256B
- Authority
- CN
- China
- Prior art keywords
- wireless network
- traffic
- mobile terminal
- 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.)
- Active
Links
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, a wireless network sharing device, a mobile terminal and a storage medium, and relates to the field of networks. The method is applied to the mobile terminal provided with the physical switch between the power supply circuit and the wireless network chip, and comprises the following steps: after the mobile terminal starts a wireless network hotspot sharing function, monitoring wireless network traffic on the wireless network chip; when the wireless network flow meets the cutoff condition, a closing control signal is generated; and controlling the physical switch to be in an off state through the off 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 symptoms so that the user exceeds the existing network traffic is avoided.
Description
Technical Field
The present invention relates to the field of networks, and in particular, to a wireless network sharing method, device, mobile terminal, and storage medium.
Background
The wireless network (Wireless Fidelity, wiFi) hotspot formed by the terminal is a technology capable of converting the received general packet radio service (General Packet Radio Service, GPRS) or mobile communication technology signal (2G or 3G or 4G or 5G) into a WiFi signal to send out, so that the terminal forms a network interface. Other terminals that contain a wireless network card or connect to a wireless local area network (Wireless Local Area Networks, WLAN) can also access the internet through wireless network hotspots.
The wireless network hot spot formed by the terminal can be set by the user, so that other terminals meeting the conditions can access the Internet through the wireless network hot spot. When the terminal is connected to the Internet through the wireless network hotspot, the system automatic control program on the terminal updates or downloads 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 the automatic control program or downloads the installation package of the program, so that the terminal consumes more traffic.
Disclosure of Invention
The embodiment of the application provides a wireless network sharing method, a wireless network sharing device, a mobile terminal and a storage medium, which can solve the problem that the mobile terminal consumes a large amount of network traffic under the condition of no symptoms when the wireless network sharing hotspot function is started. The technical scheme is as follows:
according to one aspect of the present application, there is provided a wireless network sharing method applied to a mobile terminal provided with a physical switch between a power supply circuit and a wireless network chip, the method including: after the mobile terminal starts a wireless network hotspot sharing function, monitoring wireless network traffic on the wireless network chip; when the wireless network flow meets the cutoff condition, a closing control signal is generated; and controlling the physical switch to be in an off state through the off 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 shut-off condition comprises: a maximum flow threshold; the generating a control signal when the wireless network traffic satisfies a current interruption condition includes: and generating the closing control signal when the wireless network traffic is greater than the maximum traffic threshold.
In some embodiments of the present application, the shut-off condition comprises: a minimum flow threshold and a flow duration threshold; the generating a control signal when the wireless network traffic satisfies a current interruption condition includes: generating the closing 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 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 opening control of the wireless network hotspot sharing function; when an opening operation is received on the function opening control, an opening control signal is generated; and controlling the physical switch to be in a conducting state through the opening 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 device, in which a physical switch is provided between a power supply circuit and a wireless network chip, the device including: the monitoring module is used for monitoring the wireless network flow on the wireless network chip after the mobile terminal starts the wireless network hotspot sharing function; the control module is used for generating a closing control signal when the wireless network flow meets the cutoff condition; the control module is also used for controlling the physical switch to be in an off state by closing the 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 shut-off 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 shut-off condition comprises: a minimum flow threshold and a flow duration threshold; the control module is further configured to generate the close 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: the display module is used for displaying prompt information, and 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 apparatus further comprises: a receiving module; the display module is also used for displaying a function opening control of the wireless network hotspot sharing function; the receiving module is further used for generating an opening control signal when the opening operation is received on the function opening control; the control module controls 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.
The beneficial effects that technical scheme that this application embodiment provided include at least:
when the mobile terminal starts the wireless network hotspot sharing function, a 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 the cut-off 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 symptoms, and the user exceeds the existing network flow is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a wireless network circuitry provided in an exemplary embodiment of the present application;
FIG. 2 is a flow chart of a wireless network sharing method provided in an exemplary embodiment of the present application;
FIG. 3 is a flowchart of a method for enabling wireless network hotspot sharing functionality of a mobile terminal according to one 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 application;
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 is to 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 to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and examples of the present application are for illustrative purposes only and are not intended to limit the scope of the present application.
The term "including" and variations thereof as used herein are intended to be 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". Related definitions of other terms will be given in the description below.
First, terms involved in the embodiments of the present application will be described:
wireless network hotspots: the mobile terminal has a function of sharing a network formed by mobile data traffic to other terminals. Terminals sharing wireless network hotspots are equivalent to routers, and other terminals are connected to the Internet through access wireless network hotspots.
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 these 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 mobile data traffic or the environment where the mobile terminal is located does not have any wireless network hotspots, the 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 hotspots connected to other terminals. When the terminal uses the wireless network hotspot, the program is automatically updated or the installation package or file is downloaded, and a user may waste a large amount of mobile data traffic without being aware.
The application provides a wireless network sharing method which is applied to a mobile terminal provided with a physical switch between a power supply circuit and a wireless network chip, as shown in fig. 1. Fig. 1 is a schematic diagram of 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 a path 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 configured to supply power to the wireless network chip 103, and the control circuit 105 is configured to generate control signals to control the state of the physical switch 102 and monitor network traffic on the wireless network chip 103. Alternatively, the states of the physical switch 102 include an off state 106 and an on state 107, the off state 106 being a state in which the wireless network power supply circuit 101 stops supplying power to the wireless network chip 103; the path state 107 is a state in which the wireless network power supply circuit 101 is connected to the wireless network chip 103.
Optionally, the mobile terminal is a smartphone or tablet. Alternatively, 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 these signals into wireless network signals. The control circuit 105 detects the 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.
The application provides a wireless network sharing method, fig. 2 shows a flowchart of a wireless network sharing method of a mobile terminal according to an exemplary embodiment of the application, where the method is applied to a wireless network circuit system shown in fig. 1, and the method includes the following steps:
in step 201, after the mobile terminal enables the wireless network hotspot sharing function, the wireless network traffic on the wireless network chip 103 is monitored.
Illustratively, 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.
Step 202, when the wireless network traffic satisfies the cut-off condition, a shut-down control signal is generated.
Illustratively, taking a smart phone as an example, when the wireless network traffic of the smart phone meets the current interruption condition, a closing control signal is generated. The off 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 shut-off condition comprises: a maximum flow threshold and at least one of a minimum flow threshold and a flow duration threshold.
The maximum traffic threshold refers to the highest threshold or upper limit of the 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 alert message to prompt the user that the network traffic currently used exceeds the upper limit of the network traffic (or exceeds the network traffic purchased by the user), and the user selects to close the wireless network hotspot sharing function or switch the network line according to the actual situation.
When the wireless network traffic is always less than the maximum traffic threshold for a period of time, the mobile terminal consumes more network traffic for the period of time, and therefore, the outage condition further includes a minimum traffic threshold and a traffic duration threshold. The minimum flow threshold is the lowest critical value or lower limit of the wireless network flow when the terminal starts the wireless network hotspot sharing function, and the minimum flow threshold is smaller than the maximum flow threshold. The duration refers to a duration that wireless network traffic continues to be greater than a minimum traffic threshold. The traffic duration threshold refers to a critical value for the duration that the wireless network traffic continues to be greater than the minimum traffic threshold. Illustratively, the minimum flow threshold of the mobile terminal is 500K/s, the duration threshold of the flow is two minutes, and when the duration of the network flow of the mobile terminal exceeds 500K/s for more than two minutes, the mobile terminal performs network flow early warning on the user to prompt the user to check whether the network flow exceeds the set network flow.
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 the duration that the wireless network traffic continues to be greater than the minimum traffic threshold.
In step 203, the physical switch is controlled to be in an off state by closing the control signal, wherein the off state is a state in which the power supply circuit stops supplying power to the wireless network chip.
By closing the control signal to control the physical switch 102 to be in an off state, the wireless network power supply circuit 101 is disconnected from the circuit of 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 the 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 the prompt information through the screen of the mobile terminal, and the prompt information is used for prompting the flow break prompt information of the wireless network flow. Optionally, the content of the prompt information 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 smart phone. Schematically, a display screen of the smart phone is displayed with prompt information, and the content of the prompt information is: you have exceeded 1M/s traffic currently, have turned off traffic for you, you can re-turn on the wireless network hotspot sharing function. The content of the prompt message is not limited in this application.
The maximum traffic threshold refers to the highest threshold or upper limit of the network traffic consumed by the mobile terminal when the wireless network hotspot sharing function is enabled. Alternatively, the user may set the maximum flow threshold by himself, or the mobile terminal has set the maximum flow threshold (default setting), or the server sets the maximum flow threshold according to a different program or the mobile terminal, or the server dynamically configures the maximum flow threshold according to the history or frequency of the user's use of the program. Illustratively, the maximum flow threshold of the smart phone is set to 1M/s by the user, and when the wireless network flow of the smart phone is greater than 1M/s, the control circuit 105 generates a closing 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.
The wireless network hotspot sharing function in the smart phone is schematically started by the user, the tablet computer is connected to the internet through the wireless network hotspot of the smart phone, the user watches the video online on the tablet computer, at the moment, the tablet computer consumes a large amount of network traffic to support the user to watch the video online without blocking, the maximum traffic threshold is set by the user, and the network traffic consumed by watching the video online at the moment exceeds the maximum traffic threshold set by the user.
The minimum flow threshold is less than the maximum flow threshold. The duration refers to a duration that wireless network traffic continues to be greater than a minimum traffic threshold. The traffic duration threshold refers to a critical value for the duration that the wireless network traffic continues to be greater than the minimum traffic threshold. Optionally, the user may set the minimum flow threshold and the flow duration threshold by himself, or the mobile terminal has set the minimum flow threshold and the flow duration threshold (default setting), or the server sets the minimum flow threshold and the flow duration threshold according to different programs or the mobile terminal, or the server dynamically configures the minimum flow threshold and the duration threshold according to the history record or the frequency of the user use program. Illustratively, the user sets the minimum flow threshold of the smart phone to 500K/s, the flow duration threshold is one minute, and when the wireless network flow of the smart phone is 600K/s and the time 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 flow threshold and the flow duration threshold of the program playing the video class are greater than the minimum flow threshold and the flow duration threshold of the program playing the social chat class.
The server sets a minimum flow threshold and a flow duration threshold according to the downloaded content of the user, for example, the user cannot exceed the minimum flow threshold and the flow duration threshold set by the user when downloading the picture, and the user cannot exceed the minimum flow threshold and the flow duration threshold set by the user when downloading the video.
It should be noted that, when the mobile terminal is normally connected to the wireless network, for example, there is a wireless network hotspot ACD in the environment where the user is located (the name of the wireless network hotspot is ACD), the user uses the smart phone to connect to the wireless network hotspot ACD, at this time, the physical switch 102 is in a conductive 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 the network traffic of the wireless network, and the user can perform the internet surfing operation normally.
Optionally, after the user turns off 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 application. The method is applied to the wireless network circuit system shown in fig. 1, and comprises the following steps:
step 301, displaying a function opening control of the wireless network hotspot sharing function.
The function opening control of the wireless network hotspot sharing function is displayed on the mobile terminal, optionally, the wireless network hotspot sharing function is in a setting interface, or in a drop-down menu, or in a status bar, or in a virtual hover button (which means that when the user does not use the button, the button can be hidden in the interface and can be dragged to any position in the interface). Schematically, the user clicks a "setting" option in the smart phone to enter a setting interface, and options corresponding to the wireless network hotspot sharing function are displayed in the setting interface. Optionally, the function opening control is a checkbox (selecting from boxes 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 hot spot is displayed on the smart phone.
Step 302, when an opening operation is received on the function opening control, an opening control signal is generated.
Illustratively, the user clicks or opens a personal hot spot function open control in the smartphone, and the control circuit 105 in the smartphone generates an open control signal.
In step 303, the physical switch is controlled to be in a conductive state by turning on the control signal, where the conductive state is a state in which the power supply circuit supplies power to the wireless network chip.
Illustratively, the on control signal controls the physical switch 102 to be in a conductive state, i.e. 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, the smart phone used by the user a enables the wireless network hotspot sharing function to form a wireless network hotspot a, the user B uses the smart phone to connect to the wireless network hotspot a, when the user B watches an online video, the smart phone exceeds the maximum flow threshold set by the user a, and the control circuit 105 in the smart phone of the user a controls the physical switch 102 to be in a disconnected state, that is, the wireless network power supply circuit 101 stops supplying power to the wireless network chip 103, at this time, the wireless network hotspot a is closed, and the user B cannot continue to connect to the internet through the wireless network hotspot a. The user a can restart the wireless network hotspot a, click on the "personal hotspot" option by opening the "set" option in the smart phone, and the smart phone generates an opening control signal according to the received opening operation, where the opening control signal controls the physical switch 102 to be in a conducting state, that is, 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 as to realize that video watching is continued.
Fig. 4 is a flowchart of a method for using a mobile terminal as a wireless network hotspot 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:
step 401, start.
The wireless network hotspot sharing method comprises the steps that a user uses a tablet personal computer, no wireless network exists in an environment where the user is located, the tablet personal computer cannot be connected to the Internet, if the user wants to browse a webpage by using the tablet personal computer, the wireless network hotspot sharing function is required to be started by using a smart phone, and the tablet personal 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, step 402a is entered; if the user does not enable the wireless network hotspot sharing function, step 402b is entered.
Step 402, enable wireless network hotspot sharing functionality.
Illustratively, the user enables a wireless network hotspot sharing function, for example, the user opens a "setup" option in the smartphone, and clicks the personal hotspot option in the "setup" option, i.e., opens the personal hotspot option. The tablet personal computer used by the user can be connected to the Internet through a wireless network hot spot opened by the smart phone. If the wireless network hotspot sharing function is enabled, step 403a is performed, and if the wireless network hotspot sharing function is not enabled, step 403b is performed.
In step 403a, wireless network traffic on the wireless network chip is monitored.
After the mobile terminal enables the wireless network hotspot sharing function, the control circuit 105 monitors wireless network traffic on the wireless network chip. Optionally, the shut-off condition includes a maximum flow threshold. Optionally, the outage condition further comprises 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 may set the maximum flow threshold by himself or, alternatively, the minimum flow threshold and the flow duration threshold. Illustratively, the maximum flow threshold value set by the user is 1M/s, or the minimum flow threshold value and the flow duration threshold value set by the user are 500K/s and one minute, respectively.
In step 403b, the physical switch is in an on state, and the power supply circuit supplies power to the wireless network chip.
If the user chooses not to enable 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 of which the name of the wireless network is ACB).
Step 404, whether the wireless network traffic satisfies a current interruption condition.
The control circuit 105 circuitry monitors whether the wireless network traffic meets the shut down 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 entered; if the wireless network traffic of the mobile terminal does not exceed the threshold, step 405b is entered.
In step 405a, a close control signal is generated.
When the wireless network traffic satisfies the outage condition, the control circuit 105 generates a shutdown 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 off 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), and in one example, the control circuit 105 generates the off control signal when the wireless network traffic of the smartphone is 600K/s for more than one minute.
In step 405b, the physical switch is in an on state, and the power supply circuit supplies power to the wireless network chip.
Illustratively, when the wireless network traffic of the smart phone does not meet the above-mentioned cutoff condition, the wireless network power supply circuit 101 of the smart phone supplies power to the wireless network chip 103, and the smart phone can enable the wireless network hotspot sharing function.
In step 406, the power supply circuit stops supplying power to the wireless network chip by turning off the control signal to control the physical switch to be in an off state.
Illustratively, when the wireless network traffic of the smart phone is greater than the maximum traffic threshold, the control circuit 105 generates a closing control signal, and controls the physical switch to be in an off state by the closing control signal, where the off state is a state in which 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, when the wireless network traffic of the smart phone is greater than the minimum traffic threshold and the duration is greater than the traffic duration threshold, a closing control signal is generated, and the physical switch is controlled to be in an off state by the closing control signal, where the off state is a state in which the wireless network power supply circuit 102 stops supplying power to the wireless network chip 103, and the tablet pc cannot be connected to the internet through the wireless network hotspot of the smart phone.
Step 407, displaying the reminding information.
Schematically, a prompt message is displayed on a display screen of the smart phone, where the prompt message is used to prompt a flow break prompt message of the wireless network traffic. After the user sees the prompt information, for example, it may be checked whether there is a program update in the smart phone, or whether the installation package is being downloaded, or whether the number of terminals connected to the smart phone is excessive, or whether the terminals connected to the smart phone are performing a downloading operation. Alternatively, the user may choose not to check, re-enable the wireless network hotspot sharing functionality, or re-enable the wireless network hotspot sharing functionality after checking. 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 traffic exceeds the maximum traffic threshold, or when the wireless network traffic is greater than the minimum traffic threshold and the duration is greater than the traffic duration threshold, the user may be reminded again.
The following is a device embodiment of the present application, and details of the device embodiment that are not described in detail may be combined with corresponding descriptions in the method embodiment described above, which are not described herein again.
Fig. 5 illustrates a schematic structural diagram of a wireless network sharing device according to an exemplary embodiment of the present application. The apparatus may be implemented as all or part of a terminal by software, hardware or a combination of both, the apparatus comprising: a monitoring module 510 and a control module 520.
The monitoring module 510 is configured to monitor a wireless network traffic on the wireless network chip after the mobile terminal enables the wireless network hotspot sharing function;
a control module 520 for generating a shutdown control signal when the wireless network traffic satisfies a shutdown 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 in which 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 a 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 close control signal when the wireless network traffic is greater than a minimum traffic threshold and the duration is greater than a traffic duration threshold; wherein the duration is a duration in which wireless network traffic continues to be greater than a minimum traffic threshold.
In an alternative embodiment, the apparatus further comprises: the display module 530 is configured to display a prompt message, where the prompt message is a flow break prompt message for prompting a wireless network flow.
In an alternative embodiment, the apparatus further comprises: a receiving module 540;
the display module 530 is further configured to display a function opening control of the wireless network hotspot sharing function;
the receiving module 540 is further configured to generate an opening control signal when an opening operation is received on the function opening control;
the control module 520 controls the physical switch to be in a conductive state by turning on a control signal, wherein the conductive state is a state that 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: smart phones or tablet computers. The terminal 600 may also be referred to by other names of user devices, mobile terminals, portable terminals, etc.
The screen of the terminal comprises a main display area and an auxiliary display area, wherein 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 cell phone, tablet computer, electronic book reader, multimedia playing device, wearable device, laptop portable computer, etc.
Referring to fig. 6, a 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 part 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 may 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 the like. The memory 604 may be implemented by any type or combination of volatile or nonvolatile 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.
The power supply assembly 606 provides power to the various components of the terminal 600. The power supply components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the terminal 600.
The multimedia component 608 includes a screen between the terminal 600 and the user that provides an output interface. 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 input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and/or a rear 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 focal length and optical zoom capabilities.
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 operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further 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 a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 614 includes one or more sensors for providing status assessment of various aspects of the terminal 600. For example, the sensor assembly 614 may detect the on/off state of the terminal 600, the relative positioning of the components, such as the display and keypad of the terminal 600, the sensor assembly 614 may also detect a change in position of the terminal 600 or a component of the terminal 600, the presence or absence of user contact with the terminal 600, the orientation or acceleration/deceleration of the terminal 600, and a change in temperature of the terminal 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects in the absence of 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 gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communication between the terminal 600 and other devices, either wired or wireless. 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 one exemplary embodiment, the communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one 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, microcontrollers, microprocessors, or other electronic elements for performing the wireless network sharing method described above.
In an exemplary embodiment, a computer-readable storage medium is also provided that includes a non-transitory computer program stored thereon, the computer program being executable by the processor 620 of the apparatus 600 to perform the above wireless network sharing method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc. 666 those skilled in the art will appreciate that the structure shown in fig. 6 is not limiting of the terminal 600 and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
The application also provides a terminal, which comprises a processor and a memory, wherein at least one instruction, at least one section of program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by the processor to realize the wireless network sharing method provided by the method embodiments.
The application also provides a computer readable storage medium, in which at least one instruction, at least one program, a code set, or an instruction set is stored, where 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 the above method embodiments.
It should be understood that references herein to "a plurality" are to two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is 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 for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments is merely exemplary in nature and is in no way intended to limit the invention, since it is intended that all modifications, equivalents, improvements, etc. that fall within the spirit and scope of the invention.
Claims (8)
1. The wireless network sharing method is characterized by being applied to a mobile terminal provided with a physical switch 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 traffic on the wireless network chip;
when the wireless network traffic is greater than a maximum traffic threshold, generating a closing control signal, wherein the maximum traffic threshold is a highest speed critical value of the consumed wireless network traffic when the mobile terminal starts a wireless network hotspot sharing function; or when the wireless network traffic is greater than a minimum traffic threshold and the duration is longer than a traffic duration threshold, generating the closing control signal, wherein the minimum traffic threshold is a speed minimum critical value of the consumed wireless network traffic when the mobile terminal starts a wireless network hotspot sharing function, and the duration is a duration that the wireless network traffic is continuously greater than the minimum traffic threshold;
and controlling the physical switch to be in an off state through the off 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, wherein 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.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
displaying a function opening control of the wireless network hotspot sharing function;
when an opening operation is received on the function opening control, an opening control signal is generated;
and controlling the physical switch to be in a conducting state through the opening control signal, wherein the conducting state is a state that the power supply circuit supplies power to the wireless network chip.
4. A wireless network sharing device, wherein a physical switch is arranged between a power supply circuit and a wireless network chip in the device, the device comprises:
the monitoring module is used for monitoring the wireless network flow on the wireless network chip after the mobile terminal starts the wireless network hotspot sharing function;
the control module is used for generating a closing control signal when the wireless network traffic is larger than a maximum traffic threshold, wherein the maximum traffic threshold is a highest speed critical value of the consumed wireless network traffic when the mobile terminal starts a wireless network hotspot sharing function; or when the wireless network traffic is greater than a minimum traffic threshold and the duration is longer than a traffic duration threshold, generating the closing control signal, wherein the minimum traffic threshold is a speed minimum critical value of the consumed wireless network traffic when the mobile terminal starts a wireless network hotspot sharing function, and the duration is a duration that the wireless network traffic is continuously greater than the minimum traffic threshold;
the control module is also used for controlling the physical switch to be in an off state by closing the control signal, wherein the off state is a state that the power supply circuit stops supplying power to the wireless network chip.
5. The apparatus of claim 4, wherein the apparatus further comprises:
the display module is used for displaying prompt information, and the prompt information is used for prompting the flow break prompt information of the wireless network flow.
6. The apparatus according to claim 4 or 5, characterized in that the apparatus further comprises: a receiving module;
the display module is also used for displaying a function opening control of the wireless network hotspot sharing function;
the receiving module is further used for generating an opening control signal when the opening operation is received on the function opening control;
the control module controls 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.
7. A mobile terminal, characterized in that it comprises a processor and a memory, wherein at least one program is stored in the memory, and the at least one program is loaded and executed by the processor to implement the wireless network sharing method according to any one of claims 1 to 3.
8. A computer readable storage medium, wherein at least one program is stored in the readable storage medium, and the at least one program is loaded and executed by a processor to implement the wireless network sharing method of any one of claims 1 to 3.
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 CN112243256A (en) | 2021-01-19 |
CN112243256B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114501674B (en) * | 2021-06-10 | 2022-12-30 | 荣耀终端有限公司 | Hotspot connection method, terminal device and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8804517B2 (en) * | 2010-05-31 | 2014-08-12 | Blackberry Limited | Management of mobile hotspot connections |
EP2687035A1 (en) * | 2011-03-18 | 2014-01-22 | Smith Micro Software, Inc. | Managing tethered data traffic over a hotspot network |
WO2017166181A1 (en) * | 2016-03-31 | 2017-10-05 | 李昕光 | Method for managing terminal wireless network hotspot |
CN107343305A (en) * | 2016-05-03 | 2017-11-10 | 中兴通讯股份有限公司 | Network sharing method and apparatus based on hotspot |
CN106130818A (en) * | 2016-06-30 | 2016-11-16 | 乐视控股(北京)有限公司 | Network sharing, requesting terminal and network share flux monitoring method and system |
CN107682910B (en) * | 2017-09-30 | 2021-01-26 | Oppo广东移动通信有限公司 | Traffic resource sharing method and device, mobile terminal and storage medium |
-
2019
- 2019-07-16 CN CN201910641567.XA patent/CN112243256B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN112243256A (en) | 2021-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106961526B (en) | Notification message display method and device and electronic equipment | |
CN105893129B (en) | Method and device for processing application program in terminal | |
CN107608561B (en) | Touch screen control method and device | |
EP2672682A2 (en) | Mobile terminal and controlling method thereof | |
CN106941572B (en) | Incoming call reminding method and device | |
CN109451880B (en) | Network connection method and device | |
CN105163290B (en) | roaming prompting method and device | |
CN110730954A (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN105912204B (en) | Method and device for starting application interface | |
US11197192B2 (en) | Network connection management method, device and system | |
CN110618783B (en) | Text broadcasting method, device and medium | |
CN110941321A (en) | Power supply method and device for electronic equipment and intelligent equipment | |
CN112672389B (en) | Network switching method | |
CN112243256B (en) | Wireless network sharing method and device, mobile terminal and storage medium | |
CN107295167B (en) | Information display method and device | |
EP3188566B1 (en) | Application management method and device | |
CN105227426B (en) | Application interface switching method and device and terminal equipment | |
CN106990984B (en) | Method and device for updating system | |
CN107371222B (en) | Virtual card disabling method and device | |
CN110637502B (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN112752328B (en) | Network control method, device and storage medium | |
CN105786561B (en) | Method and device for calling process | |
CN110933773A (en) | Link monitoring method and device | |
CN113259995B (en) | Information processing method, device and storage medium | |
CN107979695B (en) | Network message receiving method and device and storage 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 |