CN107770845B - mobile hotspot management method and device, terminal and storage medium - Google Patents
mobile hotspot management method and device, terminal and storage medium Download PDFInfo
- Publication number
- CN107770845B CN107770845B CN201711018933.3A CN201711018933A CN107770845B CN 107770845 B CN107770845 B CN 107770845B CN 201711018933 A CN201711018933 A CN 201711018933A CN 107770845 B CN107770845 B CN 107770845B
- Authority
- CN
- China
- Prior art keywords
- mobile hotspot
- display
- dimensional code
- picture
- display icon
- 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
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Abstract
The invention discloses a management method and a device of a mobile hotspot, a terminal and a storage medium, wherein the management method and the device of the mobile hotspot are applied to the terminal, the terminal starts the mobile hotspot based on the operation of a user on a first display icon, and two-dimensional code information of a wireless access network name and a password for representing the mobile hotspot is obtained; and controlling the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot to be converted from an original display picture into a two-dimensional code picture according to the two-dimensional code information. Therefore, the mobile hotspot can be quickly shared without opening a system of the terminal to set a setting page entering the mobile hotspot or even unlocking the terminal, and the technical effect of improving the user experience is achieved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for managing a mobile hotspot, a terminal, and a storage medium.
background
With the development of information processing technology, more and more intelligent terminals appear in the work and life of people, for example: mobile phones, tablet computers, notebook computers, and the like. With the popularization of wireless network technologies, these terminals generally have a function of connecting mobile hotspots, and more terminals have a function of sharing mobile hotspots, and more external devices interactively communicate with the terminals through the mobile hotspots.
However, when sharing a hotspot, the opposite party often needs to be informed what the name and the password of the hotspot are respectively, the opposite party also needs to search the name of the hotspot and then input the password to connect the hotspot, and under some circumstances, the password is very complicated, which causes the error of the opposite party user in the input process, or under some circumstances, the opposite party user is inconvenient to search the name of the hotspot and input the corresponding password. Or the terminal user opens the system setting, enters the setting page of the mobile hotspot and sets the mobile hotspot.
Therefore, in the prior art, the way of sharing the mobile hotspot is complicated, more time is occupied for the user, and the user experience is reduced.
disclosure of Invention
the embodiment of the invention provides a management method and device of a mobile hotspot, a terminal and a storage medium, and aims to solve the technical problems that in the prior art, the way of sharing the mobile hotspot is complicated, more events are occupied by users, and the user experience is reduced.
in a first aspect, an embodiment of the present invention provides a method for managing a mobile hotspot, where the method is applied to a terminal, and the method includes:
the terminal starts the mobile hotspot based on the operation of the user on the first display icon, and obtains two-dimensional code information of a wireless access network name and a password for representing the mobile hotspot;
And controlling the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot to be converted from an original display picture into a two-dimensional code picture according to the two-dimensional code information.
optionally, the first display icon includes:
Icons of preset application programs on a desktop of the terminal;
The second display icon includes:
an icon of an application program corresponding to the mobile hotspot starting function is arranged on a desktop of the terminal; or
And icons of the function keys corresponding to the function of starting the mobile hot spot in the control menu of the terminal.
optionally, after the first display icon and/or the second display icon corresponding to the mobile hotspot starting function is controlled to be converted from an original display picture to a two-dimensional code picture according to the two-dimensional code information, the method further includes:
and if the external equipment is connected to the mobile hotspot according to the two-dimensional code picture, controlling the first display icon and/or a second display icon corresponding to the function of starting the mobile hotspot to be converted into a data display picture by the two-dimensional code picture, wherein the data display picture is used for displaying one or more parameters of data transmission speed of the mobile hotspot, total data traffic used by the external equipment and the time length of the external equipment connected to the mobile hotspot.
optionally, after the external device is controlled to switch the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot from the two-dimensional code picture to a data display picture if the external device is connected to the mobile hotspot according to the two-dimensional code picture, the method further includes:
And if the connection between the external equipment and the mobile hotspot is disconnected, controlling the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot to resume displaying the original display picture.
Optionally, after the external device is controlled to switch the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot from the two-dimensional code picture to a data display picture if the external device is connected to the mobile hotspot according to the two-dimensional code picture, the method further includes:
And when the total data traffic is greater than or equal to a preset traffic threshold, controlling the first display icon and/or a second display icon corresponding to the function of starting the mobile hotspot to display a preset animation effect.
Optionally, after the terminal opens the mobile hotspot based on an operation performed by the user on the first display icon, and obtains two-dimensional code information of a name and a password of a wireless access network for representing the mobile hotspot, the method further includes:
and controlling a notification bar of the terminal to display a two-dimensional code picture according to the two-dimensional code information.
In a second aspect, an embodiment of the present invention provides a management apparatus for a mobile hotspot, which is applied to a terminal, and the apparatus includes:
the obtaining module is used for starting the mobile hotspot based on the operation of the user on the first display icon and obtaining the two-dimensional code information of the wireless access network name and the password for representing the mobile hotspot;
and the first control module is used for controlling the first display icon and/or the second display icon corresponding to the mobile hotspot starting function to be converted into a two-dimensional code picture from an original display picture according to the two-dimensional code information.
Optionally, the first display icon includes:
icons of preset application programs on a desktop of the terminal;
The second display icon includes:
an icon of an application program corresponding to the mobile hotspot starting function is arranged on a desktop of the terminal; or
And icons of the function keys corresponding to the function of starting the mobile hot spot in the control menu of the terminal.
Optionally, the apparatus further comprises:
The second control module is used for controlling the first display icon and/or a second display icon corresponding to the function of starting the mobile hotspot to be converted into a data display picture by the two-dimensional code picture if the external equipment is connected to the mobile hotspot according to the two-dimensional code picture, wherein the data display picture is used for displaying one or more parameters of data transmission speed of the mobile hotspot, total data flow used by the external equipment and the time length of the external equipment connected to the mobile hotspot;
optionally, the apparatus further comprises:
the third control module is used for controlling the first display icon and/or the second display icon corresponding to the mobile hotspot starting function to restore to display the original display picture if the connection between the external equipment and the mobile hotspot is disconnected after the first display icon and/or the second display icon corresponding to the mobile hotspot starting function is converted from the two-dimensional code picture into a data display picture if the external equipment is connected to the mobile hotspot according to the two-dimensional code picture;
Optionally, the apparatus further comprises:
and the fourth control module is used for controlling the first display icon and/or the second display icon corresponding to the mobile hotspot starting function to display a preset animation effect when the total data flow is greater than or equal to a preset flow threshold value after the first display icon and/or the second display icon corresponding to the mobile hotspot starting function is/are controlled to be converted into a data display picture by the two-dimensional code picture if the external equipment is connected to the mobile hotspot according to the two-dimensional code picture.
Optionally, the apparatus further comprises:
And the fifth control module is used for controlling a notification bar of the terminal to display a two-dimensional code picture according to the two-dimensional code information after the terminal opens the mobile hotspot based on the operation of the user on the first display icon to obtain the two-dimensional code information of the name and the password of the wireless access network for representing the mobile hotspot.
In a third aspect, an embodiment of the present invention provides a terminal, where the terminal includes a processor, and the processor is configured to implement, when executing a computer program stored in a memory, the steps of the management method for a mobile hotspot as described in the foregoing embodiments.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the management method for a mobile hotspot as described in the foregoing embodiments.
One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
by adopting the technical scheme provided by the embodiment of the invention, other external equipment can be quickly connected to the mobile hotspot without opening a system setting page of the terminal or even unlocking the terminal, so that the mobile hotspot can be quickly shared, and the technical effect of user experience is improved.
Drawings
Fig. 1 is a flowchart of a management method for a mobile hotspot according to an embodiment of the present invention;
Fig. 2 is a schematic diagram of a management apparatus for a mobile hotspot according to an embodiment of the present invention;
Fig. 3 is a schematic diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to solve the technical problem, the technical scheme in the embodiment of the invention has the following general idea: the management method and the management device of the mobile hotspot are applied to the terminal, the terminal starts the mobile hotspot based on the operation of a user on a first display icon, and two-dimensional code information of a wireless access network name and a password for representing the mobile hotspot is obtained; and controlling the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot to be converted from an original display picture into a two-dimensional code picture according to the two-dimensional code information. Therefore, the mobile hotspot can be quickly shared without opening a system of the terminal to set a setting page entering the mobile hotspot or even unlocking the terminal, and the technical effect of improving the user experience is achieved.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
in a specific implementation process, the management method for the mobile hotspot may be applied to a terminal, and the terminal mentioned in the embodiment of the present invention includes but is not limited to: smart phones (such as Android phones and IOS phones), tablet computers, notebook computers, palmtop computers, wearable smart devices, and other electronic devices. Other electronic devices are also possible, and this is not necessarily the case.
As shown in fig. 1, an embodiment of the present invention provides a method for managing a mobile hotspot, which is applied to a terminal, and the method includes:
S101, the terminal starts a mobile hotspot based on the operation of a user on the first display icon, and two-dimensional code information of a wireless access network name and a password for representing the mobile hotspot is obtained;
and S102, controlling the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot to be converted from an original display picture into a two-dimensional code picture according to the two-dimensional code information.
for the first display icon in step S101, it may be an icon of a preset application program on the desktop of the terminal, and the first display icon may select an application program with the highest frequency of use, or an icon of an application designated by the user, and the like, for example, the first icon is a setting icon in the desktop icon. The user operates the first display icon to open the mobile hotspot, and the operation may be a double-click operation, a re-pressing operation with a pressure value greater than a pressure threshold, or a long-pressing operation with a touch duration greater than a time threshold, and the like. For example, when the user presses the setting icon in the desktop icon again, the two-dimensional code information of the wireless access network name and the password for representing the mobile hotspot is obtained. Or, the first display icon may also be an icon of a function key corresponding to the function of starting the mobile hotspot in a control menu of the terminal, for example, the starting hotspot can be started by clicking the mobile hotspot icon in the control menu of the mobile phone. And when the user carries out click touch operation on the mobile hotspot icon in the control menu, acquiring two-dimensional code information of a wireless access network name and a password for representing the mobile hotspot.
after step S101 is executed, step S102 is executed continuously, where step S102 specifically includes the following steps:
And controlling the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot to be converted from the original display picture into a two-dimensional code picture according to the obtained two-dimensional code information. Wherein the second display icon may be the same as or different from the first display icon, and the second display icon may include: an icon of an application program corresponding to the mobile hotspot starting function is arranged on a desktop of the terminal; or an icon of a function key corresponding to the function of starting the mobile hotspot in a control menu of the terminal.
For example, when a user presses a setting icon in a desktop icon again, two-dimensional code information of a wireless access network name and a password for representing a mobile hotspot is obtained, and then the setting icon and/or a mobile hotspot icon corresponding to the function of starting the mobile hotspot in a control menu of the terminal are converted into a two-dimensional code picture from an original icon.
After performing step S101, the method may further include the steps of:
And controlling a notification bar of the terminal to display a two-dimensional code picture according to the obtained two-dimensional code information. This step may be performed synchronously with step S102, or asynchronously with step S102, and is not particularly limited herein.
After the step S102 of displaying the two-dimensional code picture or displaying the two-dimensional code picture in the notification bar is completed, the method may further include:
And if the external equipment is connected to the mobile hotspot according to the two-dimensional code picture, controlling the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot to be converted from the two-dimensional code picture into a data display picture, wherein the data display picture is used for displaying one or more parameters of data transmission speed of the mobile hotspot, total data traffic used by the external equipment and the time length of the external equipment connected to the mobile hotspot.
after controlling the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot to be converted from the two-dimensional code picture into a data display picture if the external device is connected to the mobile hotspot according to the two-dimensional code picture, the method may further include:
If the connection between the external equipment and the mobile hotspot is disconnected, controlling the first display icon and/or a second display icon corresponding to the function of starting the mobile hotspot to resume displaying the original display picture; and/or the presence of a gas in the gas,
And when the total data traffic is greater than or equal to a preset traffic threshold, controlling the first display icon and/or a second display icon corresponding to the function of starting the mobile hotspot to display a preset animation effect.
For example, after the external device connects to the mobile hotspot according to the two-dimensional code picture displayed in step S102 or the two-dimensional code picture displayed in the notification bar, one or more two-dimensional full pictures displayed in the control terminal are converted into data display pictures.
In order to enable a user to timely know the traffic use condition of the external device through the mobile hotspot, one or more parameters of the data transmission speed of the mobile hotspot, the total data traffic used by the external device and the time length of the external device connected to the mobile hotspot can be displayed on the data display sheet. Specifically, which parameters can be customized by a user or set when the terminal leaves a factory is displayed. Specifically, one or more external devices may be connected to one mobile hotspot, and the data display sheet may respectively display the traffic usage of each external device, or may sum the traffic usage of all the external devices, and then display the sum on the data display sheet.
and if the connection between the external equipment and the mobile hotspot is finished, the first display icon or the second display icon restores to display the original display picture. Of course, the resume display may be a resume display immediately after the end of the connection, or may be a resume display after a delay time elapses after the end of the connection.
in order to avoid that the external device uses too much traffic through the mobile hotspot, the user can monitor the traffic used by the external device conveniently, the user can set a threshold of total data traffic used by the external device, for example, the preset traffic threshold is set to be 1G of data traffic, and when the total data traffic used by the external device is greater than or equal to 1G, the first display icon and/or the second display icon is controlled to display a preset animation effect, where the preset animation effect may be flashing or amplifying of graphic content in the first display icon and/or the second display icon, and the preset animation effect is used for reminding the user that the total data traffic used by the external device exceeds the standard.
Specifically, in this embodiment, the terminal is, for example, a mobile phone, and when the user presses a setting icon in a desktop icon in the mobile phone again, the two-dimensional code information of the wireless access network name and the password used for representing the mobile hotspot is obtained. And according to the obtained two-dimension code information, controlling a setting icon or an icon for starting a mobile hotspot in a mobile phone control menu to be converted into a two-dimension code picture corresponding to the two-dimension code information from an original display icon. Further, a two-dimensional code picture corresponding to the two-dimensional code information may be displayed in a notification bar of the mobile phone.
after the two-dimensional code picture is displayed, a user can utilize external equipment to enable the external equipment to be connected to the mobile phone through the mobile hotspot by scanning any displayed two-dimensional code picture. After the external device is connected to the mobile hotspot, in order to enable a mobile phone user to timely know the service condition of the external device on the traffic through the mobile hotspot, the two-dimensional code picture is controlled to be converted into a data display picture, and the data display picture can display one or more parameters (for example, 0.5h, which indicates the time length that the external device is connected to the mobile hotspot) in the data transmission speed of the mobile hotspot (for example, display 101kb/s, which indicates the speed of data transmission between the mobile phone and the external device through the mobile hotspot), the total data traffic used by the external device (for example, display 30M, which indicates the total data traffic used by the external device is 30M), and the time length that the external device is connected to the mobile hotspot. Specifically, which parameters can be customized by a user or set when the terminal leaves a factory is displayed. Specifically, one or more external devices may be connected to one mobile hotspot, and the data display sheet may respectively display the traffic usage of each external device, or may sum the traffic usage of all the external devices, and then display the sum on the data display sheet.
And if the external equipment is connected with the mobile phone through the wireless connection between the mobile hotspot, the first display icon or the second display icon restores to display the original display picture. Of course, the resume display may be a resume display immediately after the end of the connection, or may be a resume display delayed by 1s after the end of the connection. And if the connection between the external equipment and the mobile hotspot is finished, if the two-dimensional code picture is also displayed in the notification bar, the two-dimensional code picture is not displayed any more. Likewise, the no longer display may be an immediate cancel display or a delayed cancel display.
Assuming that a user sets a threshold of total data traffic used by the external device, for example, the preset traffic threshold is set to 1G of data traffic, and when the total data traffic used by the external device is greater than or equal to 1G, the first display icon and/or the second display icon are controlled to display a preset animation effect, where the preset animation effect may be flashing or enlarging of graphical content in the first display icon and/or the second display icon, and is used to remind the user that the total data traffic used by the external device exceeds the standard.
As shown in fig. 2, a second embodiment of the present invention provides a management apparatus for a mobile hotspot, which is applied to a terminal, and the apparatus includes:
An obtaining module 201, configured to open a mobile hotspot based on an operation performed on a first display icon by a user, and obtain two-dimensional code information of a wireless access network name and a password used for representing the mobile hotspot;
And the first control module 202 is configured to control the first display icon and/or the second display icon corresponding to the mobile hotspot starting function to be converted from an original display picture to a two-dimensional code picture according to the two-dimensional code information.
For the first display icon, it may be an icon of a preset application program on the desktop of the terminal, and the first display icon may select an application program with the highest frequency of use, or an icon of an application designated by the user, and the like, for example, the first icon is a setting icon in the desktop icon. The user operates the first display icon to open the mobile hotspot, and the operation may be a double-click operation, a re-pressing operation with a pressure value greater than a pressure threshold, or a long-pressing operation with a touch duration greater than a time threshold, and the like. For example, when the user presses a setting icon in the desktop icon again, the obtaining module 201 obtains two-dimensional code information of a wireless access network name and a password for representing the mobile hotspot. Or, the first display icon may also be an icon of a function key corresponding to the function of starting the mobile hotspot in a control menu of the terminal, for example, the starting hotspot can be started by clicking the mobile hotspot icon in the control menu of the mobile phone. When a user touches a mobile hotspot icon in a control menu by a single click, the obtaining module 201 obtains two-dimensional code information of a wireless access network name and a password for representing the mobile hotspot.
after the two-dimension code information is obtained, according to the two-dimension code information obtained before, the first control module 202 controls the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot to be converted from an original display picture into a two-dimension code picture. Wherein the second display icon may be the same as or different from the first display icon, and the second display icon may include: an icon of an application program corresponding to the mobile hotspot starting function is arranged on a desktop of the terminal; or an icon of a function key corresponding to the function of starting the mobile hotspot in a control menu of the terminal.
For example, when a user presses a setting icon in a desktop icon again, the obtaining module 201 obtains two-dimensional code information of a wireless access network name and a password for representing a mobile hotspot, and then the first control module 202 converts the setting icon and/or a mobile hotspot icon corresponding to a function of starting the mobile hotspot in a control menu of the terminal from an original icon into a two-dimensional code picture.
or after the two-dimension code information is obtained, the fifth control module controls the notification bar of the terminal to display the two-dimension code picture, and the control of the first control module and the control of the fifth control module may be executed synchronously or asynchronously, which is not limited specifically herein.
the device also comprises a second control module, wherein after the first display icon and/or the second display icon are/is converted into the two-dimensional code picture from the original display picture, or after the two-dimensional code picture is displayed on the notification bar, if the external equipment is connected to the mobile hotspot according to the two-dimensional code picture, the second control module controls the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot to be converted into the data display picture from the two-dimensional code picture, wherein the data display picture is used for displaying one or more parameters of the data transmission speed of the mobile hotspot, the total data flow used by the external equipment and the time length for connecting the external equipment to the mobile hotspot.
The device also comprises a third control module, and after the connection between the external equipment and the mobile hotspot is disconnected, the third control module controls the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot to restore and display the original display picture.
the device further comprises a fourth control module, and when the total data flow is larger than or equal to a preset flow threshold, the fourth control module controls the first display icon and/or a second display icon corresponding to the function of starting the mobile hotspot to display a preset animation effect.
for example, after the external device connects to the mobile hotspot according to the two-dimensional code picture displayed on the first display icon or the second display icon in the terminal or the two-dimensional code picture displayed on the notification bar, one or more two-dimensional full pictures displayed in the terminal are controlled to be converted into data display pictures.
in order to enable a user to timely know the service condition of the external device to the flow through the mobile hotspot, the second control module can control one or more parameters of data transmission speed of the mobile hotspot, total data flow used by the external device and the time length of the external device connected to the mobile hotspot, which are displayed on the data display picture. Specifically, which parameters can be customized by a user or set when the terminal leaves a factory is displayed. Specifically, one or more external devices may be connected to one mobile hotspot, and the data display sheet may respectively display the traffic usage of each external device, or may sum the traffic usage of all the external devices, and then display the sum on the data display sheet.
And if the connection between the external equipment and the mobile hotspot is finished, the third control module controls the first display icon or the second display icon to restore to display the original display picture. Of course, the resume display may be a resume display immediately after the end of the connection, or may be a resume display after a delay time elapses after the end of the connection.
In order to avoid that the external device uses too much traffic through the mobile hotspot, the user can monitor the traffic used by the external device conveniently, the user can set a threshold of total data traffic used by the external device, for example, the preset traffic threshold is set to be 1G of data traffic, when the total data traffic used by the external device is greater than or equal to 1G, the fourth control module controls the first display icon and/or the second display icon to display a preset animation effect, where the preset animation effect may be flashing or amplifying of graphic contents in the first display icon and/or the second display icon, and is used for reminding the user that the total data traffic used by the external device exceeds the standard.
Specifically, in this embodiment, the terminal is, for example, a mobile phone, and when the user presses a setting icon in a desktop icon of the mobile phone again, the obtaining module 201 obtains two-dimensional code information of a wireless access network name and a password for representing a mobile hotspot. According to the obtained two-dimension code information, the first control module 202 controls the setting icon or the icon for starting the mobile hotspot in the mobile phone control menu to be converted from the original display icon into a two-dimension code picture corresponding to the two-dimension code information. Further, a two-dimensional code picture corresponding to the two-dimensional code information may be displayed in a notification bar of the mobile phone.
After the two-dimensional code picture is displayed, a user can utilize external equipment to enable the external equipment to be connected to the mobile phone through the mobile hotspot by scanning any displayed two-dimensional code picture. After the external device is connected to the mobile hotspot, in order to enable a mobile phone user to timely know the traffic use condition of the external device through the mobile hotspot, the second control module controls the two-dimensional code picture to be converted into a data display picture, and the data display picture can display one or more parameters (for example, 0.5h, which indicates the time length that the external device is connected to the mobile hotspot) of the data transmission speed of the mobile hotspot (for example, 101kb/s is displayed to indicate the data transmission speed of the mobile phone and the external device through the mobile hotspot), the total data traffic used by the external device (for example, 30M is displayed to indicate the total data traffic used by the external device is 30M), and the time length that the external device is connected to the mobile hotspot. Specifically, which parameters can be customized by a user or set when the terminal leaves a factory is displayed. Specifically, one or more external devices may be connected to one mobile hotspot, and the data display sheet may respectively display the traffic usage of each external device, or may sum the traffic usage of all the external devices, and then display the sum on the data display sheet.
And if the external equipment is connected with the mobile phone in a wireless mode through the mobile hotspot, the third control module controls the first display icon or the second display icon to restore to display the original display picture. Of course, the resume display may be a resume display immediately after the end of the connection, or may be a resume display delayed by 1s after the end of the connection. And if the connection between the external equipment and the mobile hotspot is finished, if the two-dimensional code picture is also displayed in the notification bar, the two-dimensional code picture is not displayed any more. Likewise, the no longer display may be an immediate cancel display or a delayed cancel display.
Assuming that a user sets a threshold of total data traffic used by the external device, for example, the preset traffic threshold is set to be 1G of data traffic, when the total data traffic used by the external device is greater than or equal to 1G, the fourth control module controls the first display icon and/or the second display icon to display a preset animation effect, where the preset animation effect may be flashing or enlarging of graphical content in the first display icon and/or the second display icon, and is used to remind the user that the total data traffic used by the external device exceeds the standard.
as shown in fig. 3, a third embodiment of the present invention provides a terminal, which includes: a processor 301, a memory 302, and a computer program stored in the memory and operable on the processor, for example, a program corresponding to the management method for a mobile hotspot in the first embodiment. When executing the computer program, the processor implements the steps of the management method for each mobile hotspot in the first embodiment, for example, steps S101 to S102 shown in fig. 1. Alternatively, the processor, when executing the computer program, implements the functions of each module/unit in the management apparatus embodiment of the mobile hotspot according to the second embodiment, for example, the functions of the obtaining module 201 and the first control module 202 shown in fig. 2.
illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program in the terminal. For example, the computer program may be divided into the functions of an acquisition module and a first control module, and the specific functions of the modules are as follows:
The image acquisition module is used for acquiring image information if processing operation aiming at least one piece of unread information is not detected in a preset time period after the management device of the mobile hotspot generates the prompt message aiming at the unread information or if at least one piece of unread information exists in the management device of the mobile hotspot when the management device of the mobile hotspot turns off;
The obtaining module is used for starting the mobile hotspot based on the operation of the user on the first display icon and obtaining the two-dimensional code information of the wireless access network name and the password for representing the mobile hotspot;
And the first control module is used for controlling the first display icon and/or the second display icon corresponding to the mobile hotspot starting function to be converted into a two-dimensional code picture from an original display picture according to the two-dimensional code information.
The terminal can be a desktop computer, a notebook, a palm computer, a cloud server and other computing equipment. The terminal may include, but is not limited to, a processor, a memory. It will be appreciated by those skilled in the art that the schematic diagram 3 is merely an example of a terminal and is not intended to be limiting, and may include more or fewer components than those shown, or some components in combination, or different components, for example, the terminal may also include input and output devices, network access devices, buses, etc.
The Processor 301 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is the control center of the terminal and connects the various parts of the overall terminal using various interfaces and lines.
The memory 302 may be used to store the computer programs and/or modules, and the processor may implement various functions of the terminal by operating or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a flash memory Card (FlashCard), at least one magnetic disk storage device, a flash memory device, or other volatile solid state storage device.
A fourth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the module integrated by the management apparatus for a mobile hotspot in the second embodiment of the present invention can be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the first embodiment may be implemented by a computer program, which may be stored in a computer-readable storage medium and used by a processor to implement the steps of the method embodiments. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The technical scheme in the embodiment of the invention at least has the following technical effects or advantages:
By adopting the technical scheme provided by the embodiment of the invention, other external equipment can be quickly connected to the mobile hotspot without opening a system setting page of the terminal or even unlocking the terminal, so that the mobile hotspot can be quickly shared, and the technical effect of user experience is improved.
while preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
it will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A management method of a mobile hotspot is applied to a terminal, and is characterized by comprising the following steps:
The terminal starts the mobile hotspot based on the operation of the user on the first display icon, and obtains two-dimensional code information of a wireless access network name and a password for representing the mobile hotspot;
and controlling the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot to be converted from an original display picture into a two-dimensional code picture according to the two-dimensional code information.
2. the method of claim 1, wherein the first displaying an icon comprises:
icons of preset application programs on a desktop of the terminal;
The second display icon includes:
An icon of an application program corresponding to the mobile hotspot starting function is arranged on a desktop of the terminal; or
And icons of the function keys corresponding to the function of starting the mobile hot spot in the control menu of the terminal.
3. The method of claim 1, wherein after the controlling the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot to be converted from an original display picture to a two-dimensional code picture according to the two-dimensional code information, the method further comprises:
and if the external equipment is connected to the mobile hotspot according to the two-dimensional code picture, controlling the first display icon and/or a second display icon corresponding to the function of starting the mobile hotspot to be converted into a data display picture by the two-dimensional code picture, wherein the data display picture is used for displaying one or more parameters of data transmission speed of the mobile hotspot, total data traffic used by the external equipment and the time length of the external equipment connected to the mobile hotspot.
4. The method of claim 3, wherein after the external device is controlled to switch the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot from the two-dimensional code picture to a data display picture if the external device is connected to the mobile hotspot according to the two-dimensional code picture, the method further comprises:
And if the connection between the external equipment and the mobile hotspot is disconnected, controlling the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot to resume displaying the original display picture.
5. the method of claim 3, wherein after the external device is controlled to switch the first display icon and/or the second display icon corresponding to the function of starting the mobile hotspot from the two-dimensional code picture to a data display picture if the external device is connected to the mobile hotspot according to the two-dimensional code picture, the method further comprises:
and when the total data traffic is greater than or equal to a preset traffic threshold, controlling the first display icon and/or a second display icon corresponding to the function of starting the mobile hotspot to display a preset animation effect.
6. the method of claim 1, wherein after the terminal opens the mobile hotspot based on a user's operation on the first displayed icon, and obtains two-dimensional code information of a wireless access network name and a password for characterizing the mobile hotspot, the method further comprises:
and controlling a notification bar of the terminal to display a two-dimensional code picture according to the two-dimensional code information.
7. a management device of a mobile hotspot is applied to a terminal, and is characterized by comprising:
The obtaining module is used for starting the mobile hotspot based on the operation of the user on the first display icon and obtaining the two-dimensional code information of the wireless access network name and the password for representing the mobile hotspot;
And the first control module is used for controlling the first display icon and/or the second display icon corresponding to the mobile hotspot starting function to be converted into a two-dimensional code picture from an original display picture according to the two-dimensional code information.
8. The apparatus of claim 7, wherein the apparatus further comprises:
The second control module is used for controlling the first display icon and/or a second display icon corresponding to the function of starting the mobile hotspot to be converted into a data display picture by the two-dimensional code picture if the external equipment is connected to the mobile hotspot according to the two-dimensional code picture, wherein the data display picture is used for displaying one or more parameters of data transmission speed of the mobile hotspot, total data flow used by the external equipment and the time length of the external equipment connected to the mobile hotspot;
The third control module is used for controlling the first display icon and/or the second display icon corresponding to the mobile hotspot starting function to restore to display the original display picture if the connection between the external equipment and the mobile hotspot is disconnected after the first display icon and/or the second display icon corresponding to the mobile hotspot starting function is converted from the two-dimensional code picture into a data display picture if the external equipment is connected to the mobile hotspot according to the two-dimensional code picture;
And the fourth control module is used for controlling the first display icon and/or the second display icon corresponding to the mobile hotspot starting function to display a preset animation effect when the total data flow is greater than or equal to a preset flow threshold value after the first display icon and/or the second display icon corresponding to the mobile hotspot starting function is/are controlled to be converted into a data display picture by the two-dimensional code picture if the external equipment is connected to the mobile hotspot according to the two-dimensional code picture.
9. A terminal, characterized in that the terminal comprises a processor for implementing the steps of the method according to any of claims 1-6 when executing a computer program stored in a memory.
10. a readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711018933.3A CN107770845B (en) | 2017-10-26 | 2017-10-26 | mobile hotspot management method and device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711018933.3A CN107770845B (en) | 2017-10-26 | 2017-10-26 | mobile hotspot management method and device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107770845A CN107770845A (en) | 2018-03-06 |
CN107770845B true CN107770845B (en) | 2019-12-17 |
Family
ID=61271360
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711018933.3A Active CN107770845B (en) | 2017-10-26 | 2017-10-26 | mobile hotspot management method and device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107770845B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109327865B (en) * | 2018-11-21 | 2022-02-18 | Oppo(重庆)智能科技有限公司 | Network sharing method and network sharing device |
CN110096190B (en) * | 2019-04-22 | 2022-05-27 | 聚好看科技股份有限公司 | Method and terminal for displaying two-dimensional code |
CN112686008A (en) * | 2021-02-03 | 2021-04-20 | 广州市久邦数码科技有限公司 | Recording and viewing management method and system for reading notes of electronic book |
CN114268950A (en) * | 2021-11-16 | 2022-04-01 | 深圳拓邦股份有限公司 | Offline battery replacing method for battery replacing cabinet based on two-dimensional code |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724668A (en) * | 2012-06-15 | 2012-10-10 | 惠州Tcl移动通信有限公司 | Method and system for sharing WIFI (wireless fidelity) network information on basis of two-dimensional code graphs |
CN103945380A (en) * | 2014-04-10 | 2014-07-23 | 深圳市信锐网科技术有限公司 | Method and system for network login authentication based on graphic code |
CN104580343A (en) * | 2013-10-21 | 2015-04-29 | 中兴通讯股份有限公司 | Data transmission method, device and system as well as terminal |
CN105376048A (en) * | 2014-08-27 | 2016-03-02 | 深圳Tcl新技术有限公司 | Method and system for connecting terminal with display equipment |
CN106454831A (en) * | 2016-10-18 | 2017-02-22 | 深圳市译科思数码科技有限公司 | Mobile hotspot access method, terminal and peripheral equipment |
CN106559789A (en) * | 2016-11-15 | 2017-04-05 | 努比亚技术有限公司 | Focus sharing means, method and system |
CN106792802A (en) * | 2016-11-29 | 2017-05-31 | 中国科学院深圳先进技术研究院 | Hotspot collocation method and system based on Quick Response Code |
-
2017
- 2017-10-26 CN CN201711018933.3A patent/CN107770845B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724668A (en) * | 2012-06-15 | 2012-10-10 | 惠州Tcl移动通信有限公司 | Method and system for sharing WIFI (wireless fidelity) network information on basis of two-dimensional code graphs |
CN104580343A (en) * | 2013-10-21 | 2015-04-29 | 中兴通讯股份有限公司 | Data transmission method, device and system as well as terminal |
CN103945380A (en) * | 2014-04-10 | 2014-07-23 | 深圳市信锐网科技术有限公司 | Method and system for network login authentication based on graphic code |
CN105376048A (en) * | 2014-08-27 | 2016-03-02 | 深圳Tcl新技术有限公司 | Method and system for connecting terminal with display equipment |
CN106454831A (en) * | 2016-10-18 | 2017-02-22 | 深圳市译科思数码科技有限公司 | Mobile hotspot access method, terminal and peripheral equipment |
CN106559789A (en) * | 2016-11-15 | 2017-04-05 | 努比亚技术有限公司 | Focus sharing means, method and system |
CN106792802A (en) * | 2016-11-29 | 2017-05-31 | 中国科学院深圳先进技术研究院 | Hotspot collocation method and system based on Quick Response Code |
Also Published As
Publication number | Publication date |
---|---|
CN107770845A (en) | 2018-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11853538B2 (en) | Apparatus and method for displaying notification in electronic device | |
CN108900770B (en) | Method and device for controlling rotation of camera, smart watch and mobile terminal | |
CN107770845B (en) | mobile hotspot management method and device, terminal and storage medium | |
CN111913628B (en) | Sharing method and device and electronic equipment | |
CN107506637B (en) | Information display method and device, terminal and readable storage medium | |
CN109298909B (en) | Window adjusting method, mobile terminal and computer readable storage medium | |
CN112306607A (en) | Screenshot method and device, electronic equipment and readable storage medium | |
CN112286887A (en) | File sharing method and device and electronic equipment | |
US11507244B2 (en) | Window adjustment method, window adjustment device and mobile terminal | |
CN105376719A (en) | Information pushing method and device | |
CN105573585A (en) | Information display method and terminal | |
CN111831181A (en) | Application switching display method and device and electronic equipment | |
CN106713742B (en) | Shooting method and mobile terminal | |
CN112055156B (en) | Preview image updating method and device, mobile terminal and storage medium | |
CN106936826B (en) | Registration method and device of broadcast receiver and terminal equipment | |
CN112929254A (en) | Message processing method and device and electronic equipment | |
CN107204914B (en) | Information processing method and device, computer device and storage medium | |
EP4351117A1 (en) | Information display method and apparatus, and electronic device | |
US20150286361A1 (en) | Single gesture video capture and share | |
RU2672716C2 (en) | Method and device for data input | |
CN117331628A (en) | Page display method and device, electronic equipment and storage medium | |
CN109085974B (en) | Screen control method, system and terminal equipment | |
CN107509195B (en) | Data transmission method and device, terminal and readable storage medium | |
CN108762633B (en) | Picture adding method and device, terminal equipment and storage medium | |
CN107562327B (en) | Management method and device of mailbox account, computer 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 |