CN111314964A - Data flow control method and electronic equipment - Google Patents

Data flow control method and electronic equipment Download PDF

Info

Publication number
CN111314964A
CN111314964A CN202010075821.7A CN202010075821A CN111314964A CN 111314964 A CN111314964 A CN 111314964A CN 202010075821 A CN202010075821 A CN 202010075821A CN 111314964 A CN111314964 A CN 111314964A
Authority
CN
China
Prior art keywords
network mode
input
user
application program
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010075821.7A
Other languages
Chinese (zh)
Other versions
CN111314964B (en
Inventor
朱道专
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010075821.7A priority Critical patent/CN111314964B/en
Publication of CN111314964A publication Critical patent/CN111314964A/en
Application granted granted Critical
Publication of CN111314964B publication Critical patent/CN111314964B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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/04817Interaction 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a data flow control method and electronic equipment, wherein the method is applied to the electronic equipment and comprises the following steps: receiving a first input of a user; displaying N network mode identifications of N application icons in response to the first input; receiving a second input of a user to a target application icon in the N application icons; and responding to the second input, and adjusting the network mode of the target application program corresponding to the target application program icon. The data flow control method disclosed by the embodiment of the invention can effectively supervise the data flow under the high-speed network.

Description

Data flow control method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a data flow control method and electronic equipment.
Background
With the advent of the 5G era, data networks have entered the high-speed era. With the continuous increase of the data network speed of the electronic equipment, a large amount of flow is consumed by the unintentional and rapid loading and downloading in the using process of the electronic equipment, and the situation that the using flow of a user exceeds the flow of a package inevitably occurs.
At present, the supervision mode aiming at data traffic mainly comprises the following steps: and flow control is performed aiming at background application. Specifically, the method comprises the following steps: the system monitors the flow consumption of the background application, and when the flow consumption exceeds a preset value, the system outputs prompt information to prompt a user that the background application consumes a large amount of flow, so that the flow consumption of the background application is effectively prevented. The method for monitoring the data flow is effective for monitoring the low-speed network flow, but the network speed of the current high-speed network is very high, and the low-speed network needs to load or download long-term content and can be completed instantly under the high-speed network, so that the data flow under the high-speed network cannot be effectively monitored by the conventional method for controlling the flow by background application.
Disclosure of Invention
The embodiment of the invention provides a data flow control method, which can solve the problem that a low-speed network flow supervision mode is not suitable for supervision of high-speed network data flow.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a data flow control method, which is applied to an electronic device, where the method includes: receiving a first input of a user; in response to the first input, displaying N network mode identifiers of N application icons, wherein the network mode identifiers are used for representing the network mode of the application corresponding to each application icon; receiving a second input of a user to a target application icon in the N application icons; responding to the second input, and adjusting the network mode of the target application program corresponding to the target application program icon; wherein N is a positive integer.
In a second aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes: the first receiving module is used for receiving a first input of a user; the first display module is used for responding to the first input and displaying N network mode identifications of N application program icons, wherein the network mode identifications are used for representing the network mode of the application program corresponding to each application program icon; the second receiving module is used for receiving second input of a target application program icon in the N application program icons from a user; the first adjusting module is used for responding to the second input and adjusting the network mode of the target application program corresponding to the target application program icon; wherein N is a positive integer.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of any one of the data flow control methods described in the embodiments of the present invention.
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 any one of the data flow control methods described in the embodiments of the present invention.
In the embodiment of the invention, the first input of the user is received; displaying N network mode identifications of N application icons in response to a first input; receiving a second input of the target application program icon in the N application program icons from the user; and responding to the second input, adjusting the network mode of the target application program corresponding to the target application program icon, so that a user can flexibly, conveniently and quickly switch the network mode of the application program, and the data flow under the high-speed network can be effectively monitored due to high and flexible switching speed.
Drawings
Fig. 1 is a flowchart of a data flow control method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a first interface of a data flow control method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a second interface of a data flow control method according to an embodiment of the present invention;
fig. 4 is a second flowchart of a data flow control method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a third interface of a data flow control method according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a fourth interface of a data flow control method according to an embodiment of the present invention;
fig. 7 is a schematic diagram of interface changes before and after a second input is performed in the data traffic control method according to the embodiment of the present invention;
fig. 8 is a schematic diagram of a fifth interface of a data flow control method according to an embodiment of the present invention;
fig. 9 is a block diagram of an electronic device according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of a data traffic control method according to an embodiment of the present invention is shown.
The data flow control method provided by the embodiment of the invention comprises the following steps:
step 101: a first input is received from a user.
The first input may be any suitable operation, such as: the method comprises the following steps of shaking the electronic equipment, holding and pressing the frames on the two sides of the electronic equipment with a single hand, pressing the main interfaces of multiple electronic equipment, and the like.
Step 102: in response to the first input, N network mode identifications of N application icons are displayed.
Wherein N is a positive integer.
Fig. 2 and 3 are schematic diagrams illustrating changes of an interface of the electronic device before and after receiving the first input. Fig. 2 is a schematic view of a first interface before receiving a first input, fig. 3 is a schematic view of a second interface after receiving the first input, and the two interface schematic views are compared to find that a network mode identifier is respectively displayed on each application icon, where the network mode identifiers are the identifiers "4G" and "5G" shown in fig. 3. The network mode identifier is used for representing the network mode of the application program corresponding to each application program icon. The network mode identification may also include a "2G" identification.
Step 103: and receiving a second input of the target application program icon in the N application program icons from the user.
The second input can be the operation of selecting a target network mode of a target application program in a floating window by triggering the electronic equipment to display the floating window after the target application program icon is selected; the second input may also be an operation of sliding the target application icon to the reference application icon; the second input may also be a selection operation of a target application icon and a reference application icon, or the like. The specific operation included in the second input is not limited in the embodiment of the present invention.
Step 104: and responding to the second input, and adjusting the network mode of the target application program corresponding to the target application program icon.
For example: and if the target network mode determined by the second input is the second network mode, adjusting the network mode of the target application program from the first network mode to the second network mode.
The data flow control method provided by the embodiment of the invention receives the first input of a user; displaying N network mode identifications of N application icons in response to a first input; receiving a second input of the target application program icon in the N application program icons from the user; and responding to the second input, adjusting the network mode of the target application program corresponding to the target application program icon, so that a user can flexibly, conveniently and quickly switch the network mode of the application program, and the data flow under the high-speed network can be effectively monitored due to high and flexible switching speed.
Referring to fig. 4, a second flowchart of a data traffic control method according to an embodiment of the present invention is shown.
The data flow control method in the embodiment of the invention comprises the following steps:
step 201: a first input is received from a user.
The first input may be any suitable operation, such as: the method comprises the following steps of shaking the electronic equipment, holding and pressing the frames on the two sides of the electronic equipment with a single hand, pressing the main interfaces of multiple electronic equipment, and the like.
Step 202: in response to the first input, N network mode identifications of N application icons are displayed.
The network mode identifier is used for representing the network mode of the application program corresponding to each application program icon. A schematic diagram of an electronic interface displaying N network mode identifiers with N application icons is shown in fig. 3.
The network mode identifier may be a figure, a letter, a number, a character, and the like, where different figures represent different network modes when the network mode identifier is a figure, and different letters represent different network modes when the network mode identifier is a letter. The network mode designation is shown in fig. 3 as an example of a combination of a number and a letter representing the network mode.
Step 203: and receiving a second input of the target application program icon in the N application program icons from the user.
The second input may be a double-click operation, a single-click operation, a press operation, or the like, on the target application icon.
Step 204: the floating window is displayed.
The floating window comprises a target program identifier, a first network mode identifier and a second network mode identifier, wherein the target program identifier is used for indicating a target application program corresponding to a target application program icon, the first network mode identifier is used for indicating a first network mode currently used by the target application program, and the second network mode identifier is used for indicating a second network mode to be switched.
The target application is referred to as "WeChat" in FIG. 5 for explanation. A third schematic view of the interface showing the floating window is shown in fig. 5. The floating window in fig. 5 comprises: the target program identification is 'WeChat', the first network mode identification is '5G' mode marked by shaded parts, and the second network mode identification available for switching is '4G' mode marked. The user executes a second input to the second network mode identifier in the floating window, which may trigger the electronic device to switch the network mode of the target application from the first network mode to the second network mode.
In an optional mode, a first preset control is further included in the floating window; after the floating window is displayed, the electronic device may further receive a fourth input of the first preset control from the user; in response to a fourth input, a program identification of at least one application installed in the electronic device and first and second network mode identifications corresponding to each of the at least one application are displayed.
As shown in fig. 5, the first preset control may be the "all applications" option shown in fig. 5. The user may trigger the electronic device to display, in a list form, the program identifier of the at least one application installed in the electronic device and the first network identifier and the second network mode identifier corresponding to each of the at least one application by performing a fourth input on the first preset control. The fourth input may be a selected operation of the first preset control. A fourth interface diagram showing the program identifier of at least one application installed in the electronic device and the first network identifier and the second network mode identifier corresponding to each application in the at least one application is shown in fig. 6. According to the method for setting the first preset control, the electronic equipment is triggered to display the network mode identifications of the plurality of application programs by executing the fourth input to the first preset control, so that a user can conveniently know the current network mode of other application programs except the target application program. Moreover, the user can also perform switching operation on the network mode of any one or more application programs in the fourth interface shown in fig. 6, which is convenient and fast to operate.
In an alternative manner, as shown in fig. 6, in the fourth interface diagram, the low-speed network mode, such as the 4G mode, and the high-speed network mode, such as the 5G mode, are displayed in a differentiated manner by different colors or different filling backgrounds, so as to be convenient for the user to view.
Step 205: a third input from the user to the second network mode identification is received.
The third input may be a double-click operation, a single-click operation, a long-press operation, or the like, of the second network mode identifier.
Step 206: and responding to the third input, and switching the network mode of the target application program corresponding to the target application program icon from the first network mode to the second network mode.
Step 203 to step 206 are described by taking an example of switching the network mode of the target application program through the floating window, and in a specific implementation process, the electronic device may further receive a second input of the target application program icon and the reference application program icon by the user; in response to the second input, adjusting the network mode of the target application to a third network mode, the third network mode being a current network mode of the reference application corresponding to the reference application icon.
The second user input to the target application icon and the reference application icon may include, but is not limited to: sliding the target application program icon to the reference application program icon, and successively clicking the target application program icon and the reference application program icon. As shown in fig. 7, the user performs the second input to slide the "camera" icon to the "communication" icon, the network mode at the "camera" icon is identified as "4G", the network mode at the "communication" icon is identified as "5G", and the network mode at the "camera" icon is adjusted to "5G" by the sliding operation, that is, the network mode of the camera application is adjusted from the 4G mode to the 5G mode. Fig. 7(a) is a schematic interface diagram before the second input is executed, and fig. 7(b) is a schematic interface diagram after the second input is executed.
The method for adjusting the network mode of the target application program by sliding the target application program icon to the reference application program icon is convenient and fast to operate.
In an alternative manner, the network mode of the target application program can be adjusted through voice input. The electronic equipment receives voice information input by a user, wherein the voice information is used for instructing the electronic equipment to adjust the target application program from a first network mode to a second network mode; the electronic device adjusts the network mode of the target application in response to the voice information. The method for adjusting the network mode of the application program through voice input is convenient and fast to operate.
In the above-mentioned manner of adjusting the network mode of the target application before the target application is not started, in a specific implementation process, the network mode of an application may also be adjusted after the application is started, and the adjustment manner may be as follows:
when the current interface is a program interface of the second application program, receiving fifth input of the user; responding to a fifth input, and displaying a third preset control; receiving a sixth input of the user to a third preset control; and responding to a sixth input, and adjusting the network mode of the second application program based on the current control display state of the third preset control.
The second application program may be a target application program or another application program installed in the electronic device. The fifth input may be an input that triggers the display of a menu of functions, for example: executing the input of a slide-up operation triggering display function menu in the current interface; for another example: and executing the input of the long-press trigger display function menu in the current interface. The function menu comprises a third preset control, and the third preset control can represent the current network mode of the second application program. Fig. 8 shows a fifth interface schematic diagram with a function menu displayed thereon, where the third control is a "5G" switch in fig. 8, a filling is displayed after the "5G" switch to indicate that the current network mode of the second application program is the 5G mode, and if no filling is displayed after the "5G" switch to indicate that the current network mode of the second application program is the 4G mode, a user may click the "5G" switch to control whether the second application program starts the 5G network mode.
When the network mode of the second application is adjusted after the second application is started, in addition to the listed manner of adjusting the network mode in the function menu by the user, the electronic device may automatically adjust the network mode or the network speed of the started second application, and the specific adjustment manner may be as follows:
after responding to the second input and adjusting the network mode of the target application program corresponding to the target application program icon, monitoring the network speed under the condition that the network mode corresponding to the second application program operated in the foreground is the first network mode; under the condition that the network speed is monitored to be lower than a preset value, switching the network mode corresponding to the second application program into a second network mode; wherein the network speed of the second network mode is higher than the network speed of the first network mode. For example: the second application program is currently in a 4G network mode, the monitored network speed is 100KB/S, the user experience is affected by the easy blockage at the network speed, and at the moment, the electronic equipment can be switched to the 5G network mode to adjust the network speed to 400 KB/S. And if the network mode corresponding to the second application program running in the foreground is the second network mode, executing step 207 to step 209.
This kind of in the second application operation in-process, mode or network speed's of automatically regulated mode, if the second application uses low-speed network in the proscenium, electronic equipment monitors the network speed, can switch to high-speed network automatically when the network speed is too slow, can promote user's network and use experience.
Step 207: and under the condition that the network mode corresponding to the second application program operated in the foreground is the second network mode, acquiring the interface type of the currently displayed interface.
Interface types may include, but are not limited to: the game interface can be further subdivided into a click game interface, a large-scale game interface and the like, and the specific division of the interface types of the interfaces is not specifically limited in the embodiment of the invention.
Step 208: and determining a target network speed gear matched with the interface type.
The second network mode comprises at least two network speed gears, each network speed gear corresponds to at least one interface type, and each network speed gear corresponds to one network speed value.
An exemplary network speed range to network speed value correspondence is shown in table 1:
network speed gear Network speed value
5G Level1 1Mb/s
5G Level2 3Mb/s
5G Level3 5Mb/s
5G Level4 10Mb/s
For example: when the currently displayed interface is a picture or a small video, a Level1 gear is used, when the currently displayed interface is detected to be a high-definition video picture, a Level2 gear is used, when the currently displayed interface is detected to be a 720P video picture, a Level3 gear is used, and when the currently displayed interface is detected to be a blue video picture, a Level4 gear is used. Different gears correspond to different application scenes, smooth use experience of users can be guaranteed under each scene, and the problem that too much flow is consumed by adopting a high-speed network all the time can be effectively solved.
Step 209: and adjusting the network speed to a target speed value.
The target speed value is within a network speed range corresponding to the target network speed gear.
In an optional manner, the network mode and the network state of the application used by the user are preset for a preset type of user. In a specific implementation process, the electronic equipment identifies whether the user is a preset type user; under the condition that the user is identified to be a preset type user, adjusting the current network to a low-speed network corresponding to the first network mode; determining a limited application program corresponding to a preset type user; the restricted application is set to a network disabled state.
Wherein, the preset type user can be children, old people and the like.
The method for presetting the limited application program for the preset type of users can effectively avoid adverse effects caused by networking of the preset type of users through the limited application program. The method for only limiting the first network mode to be used by the user of the preset type can effectively avoid the problem that the flow is rapidly consumed by the unintentional operation.
One way to optionally identify whether the user is a preset type of user is: carrying out normative identification on the user operation for continuous preset times; starting a front camera under the condition that the number of nonstandard operation times exceeds a preset value in the preset number of user operations; acquiring the head image of the user through a front camera; and identifying whether the user is a preset type user or not according to the collected user head portrait.
The method for identifying whether the user is the preset type user can improve the accuracy of user type identification.
The data flow control method provided by the embodiment of the invention receives the first input of a user; displaying N network mode identifications of N application icons in response to a first input; receiving a second input of the target application program icon in the N application program icons from the user; and responding to the second input, adjusting the network mode of the target application program corresponding to the target application program icon, so that a user can flexibly, conveniently and quickly switch the network mode of the application program, and the data flow under the high-speed network can be effectively monitored due to high and flexible switching speed. In addition, the flow control method provided by the embodiment of the invention can also adjust the network mode or the network speed of the second application program in the running process of the second application program, and can effectively save the consumption of the flow on the premise of providing smooth network use experience for users. Furthermore, in the flow control method provided in the embodiment of the present invention, a special flow control method is set for a preset type of user, which not only can effectively avoid adverse effects caused by networking of the preset type of user through a limited application program, but also can effectively avoid a problem that the flow is rapidly consumed by an unintentional operation of the preset type of user.
Referring to fig. 9, a block diagram of an electronic device of an embodiment of the invention is shown. The electronic device can implement the details of the data flow control method in the first two method embodiments, and achieve the same effect.
The electronic device of the embodiment of the invention comprises: a first receiving module 301, configured to receive a first input of a user; a first display module 302, configured to display, in response to the first input, N network mode identifiers of the N application icons, where the network mode identifiers are used to characterize a network mode of an application corresponding to each application icon; a second receiving module 303, configured to receive a second input of a target application icon in the N application icons from the user; a first adjusting module 304, configured to adjust a network mode of a target application corresponding to the target application icon in response to the second input; wherein N is a positive integer.
Optionally, the electronic device further comprises: a second display module, configured to display a floating window after the second receiving module receives a second input of a user on a target application icon of the N application icons and before the first adjusting module adjusts a network mode of a target application corresponding to the target application icon in response to the second input, where the floating window includes a target program identifier, a first network mode identifier, and a second network mode identifier, the target program identifier is used to indicate a target application corresponding to the target application icon, the first network mode identifier is used to indicate a first network mode currently used by the target application, and the second network mode identifier is used to indicate a second network mode to be switched; a third receiving module, configured to receive a third input of the second network mode identifier by the user; the first adjusting module is specifically configured to: and responding to the third input, and switching the network mode of the target application program corresponding to the target application program icon from the first network mode to the second network mode.
Optionally, the floating window further includes a first preset control; the electronic device further includes: a fourth receiving module, configured to receive a fourth input of the first preset control by the user after the second display module displays the floating window; and a third display module, configured to display, in response to the fourth input, a program identifier of at least one application program installed in the electronic device and the first network mode identifier and the second network mode identifier corresponding to each application program of the at least one application program.
Optionally, the second receiving module includes: the first sub-module is used for receiving second input of the target application program icon and the reference application program icon from the user; the first adjusting module is specifically configured to: in response to the second input, adjusting the network mode of the target application to a third network mode, the third network mode being a current network mode of a reference application corresponding to the reference application icon.
Optionally, the electronic device further comprises: the monitoring module is used for monitoring the network speed under the condition that the network mode corresponding to the second application program operated in the foreground is the first network mode after the adjusting module responds to the second input and adjusts the network mode of the target application program corresponding to the target application program icon; the switching module is used for switching the network mode corresponding to the second application program into a second network mode under the condition that the network speed is monitored to be lower than a preset value; wherein the network speed of the second network mode is higher than the network speed of the first network mode.
Optionally, the electronic device further comprises: the obtaining module is used for obtaining the interface type of the currently displayed interface under the condition that the network mode corresponding to the second application program operated in the foreground is the second network mode after the first adjusting module responds to the second input and adjusts the network mode of the target application program corresponding to the target application program icon; the gear determining module is used for determining a target network speed gear matched with the interface type, wherein the second network mode comprises at least two network speed gears; the first network speed adjusting module is used for adjusting the network speed to a target speed value, and the target speed value is located in a network speed range corresponding to the target network speed gear.
Optionally, the electronic device further comprises: the identification module is used for identifying whether the user is a preset type user or not after the first adjustment module responds to the second input and adjusts the network mode of the target application program corresponding to the target application program icon; the second network speed adjusting module is used for adjusting the current network to a low-speed network corresponding to the first network mode under the condition that the user is identified to be a preset type user; the limited application determining module is used for determining a limited application program corresponding to the preset type user; and the state setting module is used for setting the limited application program to be in a network forbidden state.
Optionally, the identification module comprises: the normative recognition submodule is used for performing normative recognition on the user operation for continuous preset times; the opening submodule is used for opening the front camera under the condition that the nonstandard operation times in the preset times of user operation exceed a preset value; the acquisition submodule is used for acquiring the head image of the user through a front camera; and the identification submodule is used for identifying whether the user is a preset type user or not according to the collected head portrait of the user.
Optionally, the electronic device further comprises: the fifth receiving module is used for receiving fifth input of the user under the condition that the current interface is a program interface of the second application program; the fourth display module is used for responding to the fifth input and displaying a third preset control; a sixth receiving module, configured to receive a sixth input of the third preset control from the user; and the second adjusting module is used for responding to the sixth input and adjusting the network mode of the second application program based on the current control display state of the third preset control.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of fig. 1 to 8, and is not described herein again to avoid repetition.
According to the electronic equipment provided by the embodiment of the invention, the first input of a user is received; displaying N network mode identifications of N application icons in response to a first input; receiving a second input of the target application program icon in the N application program icons from the user; and responding to the second input, adjusting the network mode of the target application program corresponding to the target application program icon, so that a user can flexibly, conveniently and quickly switch the network mode of the application program, and the data flow under the high-speed network can be effectively monitored due to high and flexible switching speed.
Referring to fig. 10, a hardware structure diagram of an electronic device according to an embodiment of the present invention is shown.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device 400 for implementing various embodiments of the present invention, where the electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 10 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A user input unit 407 for receiving a first input by a user; a display unit 406, configured to display, in response to the first input, N network mode identifiers of the N application icons, where the network mode identifiers are used to characterize a network mode of an application corresponding to each application icon; the user input unit 407 is further configured to receive a second input of the target application icon in the N application icons from the user; a processor 410, configured to adjust a network mode of a target application corresponding to the target application icon in response to the second input; wherein N is a positive integer.
According to the electronic equipment provided by the embodiment of the invention, the first input of a user is received; displaying N network mode identifications of N application icons in response to a first input; receiving a second input of the target application program icon in the N application program icons from the user; and responding to the second input, adjusting the network mode of the target application program corresponding to the target application program icon, so that a user can flexibly, conveniently and quickly switch the network mode of the application program, and the data flow under the high-speed network can be effectively monitored due to high and flexible switching speed.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The electronic device 400 also includes at least one sensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the electronic apparatus 400 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like, where the Display panel 4061 is a screen of an electronic device, and the screen of the electronic device includes N regions, and one photosensitive sensor is correspondingly disposed under each region.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 10, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the electronic device, and this is not limited herein.
The interface unit 408 is an interface for connecting an external device to the electronic apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 400 or may be used to transmit data between the electronic apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 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. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the electronic device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The electronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 400 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the foregoing data traffic control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned data traffic control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A data flow control method is applied to electronic equipment and is characterized by comprising the following steps:
receiving a first input of a user;
in response to the first input, displaying N network mode identifiers of N application icons, wherein the network mode identifiers are used for representing the network mode of the application corresponding to each application icon;
receiving a second input of a user to a target application icon in the N application icons;
responding to the second input, and adjusting the network mode of the target application program corresponding to the target application program icon;
wherein N is a positive integer.
2. The method of claim 1, wherein after receiving a second input from the user to a target application icon of the N application icons and before adjusting the network mode of the target application corresponding to the target application icon in response to the second input, further comprising:
displaying a floating window, wherein the floating window comprises a target program identifier, a first network mode identifier and a second network mode identifier, the target program identifier is used for indicating a target application program corresponding to the target application program icon, the first network mode identifier is used for indicating a first network mode currently used by the target application program, and the second network mode identifier is used for indicating a second network mode to be switched;
receiving a third input of the user to the second network mode identification;
the adjusting the network mode of the target application program corresponding to the target application program icon in response to the second input comprises:
and responding to the third input, and switching the network mode of the target application program corresponding to the target application program icon from the first network mode to the second network mode.
3. The method of claim 2, wherein the floating window further comprises a first preset control;
after the displaying the floating window, the method further comprises:
receiving a fourth input of the first preset control by the user;
in response to the fourth input, displaying a program identifier of at least one application program installed in the electronic device and a first network mode identifier and a second network mode identifier corresponding to each of the at least one application program.
4. The method of claim 1, wherein receiving a second user input of a target application icon comprises:
receiving a second input of the target application program icon and the reference application program icon by the user;
the adjusting the network mode of the target application program corresponding to the target application program icon in response to the second input comprises:
in response to the second input, adjusting the network mode of the target application to a third network mode, the third network mode being a current network mode of a reference application corresponding to the reference application icon.
5. The method of claim 1, wherein after the adjusting the network mode of the target application corresponding to the target application icon in response to the second input, the method further comprises:
monitoring the network speed under the condition that the network mode corresponding to the second application program operated in the foreground is the first network mode;
under the condition that the network speed is monitored to be lower than a preset value, switching the network mode corresponding to the second application program into a second network mode;
wherein the network speed of the second network mode is higher than the network speed of the first network mode.
6. The method of claim 1, wherein after the adjusting the network mode of the target application corresponding to the target application icon in response to the second input, the method further comprises:
under the condition that the network mode corresponding to the second application program operated in the foreground is the second network mode, acquiring the interface type of the currently displayed interface;
determining a target network speed gear matched with the interface type, wherein the second network mode comprises at least two network speed gears;
and adjusting the network speed to a target speed value, wherein the target speed value is positioned in a network speed range corresponding to the target network speed gear.
7. The method of claim 1, wherein after the adjusting the network mode of the target application corresponding to the target application icon in response to the second input, the method further comprises:
identifying whether the user is a preset type user;
under the condition that the user is identified to be a preset type user, adjusting the current network to a low-speed network corresponding to a first network mode;
determining a limited application program corresponding to the preset type user;
setting the restricted application to a network disabled state.
8. The method of claim 7, wherein the identifying whether the user is a preset type of user comprises:
carrying out normative identification on the user operation for continuous preset times;
starting a front camera under the condition that the number of nonstandard operation times in the preset number of user operations exceeds a preset value;
acquiring the head image of the user through a front camera;
and identifying whether the user is a preset type user or not according to the collected head portrait of the user.
9. The method of claim 1, wherein the current interface is a program interface of a second application, the method further comprising:
receiving a fifth input of the user;
displaying a third preset control in response to the fifth input;
receiving a sixth input of the third preset control from the user;
and responding to the sixth input, and adjusting the network mode of the second application program based on the current control display state of the third preset control.
10. An electronic device, characterized in that the electronic device comprises:
the first receiving module is used for receiving a first input of a user;
the first display module is used for responding to the first input and displaying N network mode identifications of N application program icons, wherein the network mode identifications are used for representing the network mode of the application program corresponding to each application program icon;
the second receiving module is used for receiving second input of a target application program icon in the N application program icons from a user;
the first adjusting module is used for responding to the second input and adjusting the network mode of the target application program corresponding to the target application program icon;
wherein N is a positive integer.
11. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the data flow control method according to any one of claims 1 to 9.
CN202010075821.7A 2020-01-22 2020-01-22 Data flow control method and electronic equipment Active CN111314964B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010075821.7A CN111314964B (en) 2020-01-22 2020-01-22 Data flow control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010075821.7A CN111314964B (en) 2020-01-22 2020-01-22 Data flow control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111314964A true CN111314964A (en) 2020-06-19
CN111314964B CN111314964B (en) 2023-09-15

Family

ID=71147038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010075821.7A Active CN111314964B (en) 2020-01-22 2020-01-22 Data flow control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111314964B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880706A (en) * 2020-07-23 2020-11-03 维沃移动通信有限公司 Function switching method and device, electronic equipment and readable storage medium
CN114697953A (en) * 2020-12-30 2022-07-01 华为技术有限公司 Network type determining method and device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140136709A1 (en) * 2012-11-15 2014-05-15 Research In Motion Limited System and Method for Resource Management in a Wireless Network
WO2014200730A1 (en) * 2013-06-09 2014-12-18 Apple Inc. Device, method, and graphical user interface for sharing content from a respective application
CN104869595A (en) * 2015-05-04 2015-08-26 小米科技有限责任公司 Method and device for controlling data traffic
CN104883747A (en) * 2015-04-29 2015-09-02 联想(北京)有限公司 Information processing method and electronic equipment
CN106293339A (en) * 2016-08-01 2017-01-04 深圳市先河系统技术有限公司 A kind of Application Program Interface display packing, system and electric terminal
CN106304223A (en) * 2015-05-21 2017-01-04 西安中兴新软件有限责任公司 A kind of network mode switching method, Apparatus and system
WO2017206453A1 (en) * 2016-05-31 2017-12-07 宇龙计算机通信科技(深圳)有限公司 Application icon display method and system
CN108616947A (en) * 2018-04-11 2018-10-02 维沃移动通信有限公司 A kind of method and apparatus of network switching
CN109451550A (en) * 2017-08-29 2019-03-08 中兴通讯股份有限公司 A kind of network mode configuration method and mobile terminal
CN110198554A (en) * 2019-05-23 2019-09-03 维沃移动通信有限公司 A kind of network rate method of adjustment and terminal device
CN110445924A (en) * 2019-06-26 2019-11-12 维沃移动通信有限公司 Network task executes method and terminal device
CN110505660A (en) * 2019-07-23 2019-11-26 维沃移动通信有限公司 A kind of network rate method of adjustment and terminal device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140136709A1 (en) * 2012-11-15 2014-05-15 Research In Motion Limited System and Method for Resource Management in a Wireless Network
WO2014200730A1 (en) * 2013-06-09 2014-12-18 Apple Inc. Device, method, and graphical user interface for sharing content from a respective application
CN104883747A (en) * 2015-04-29 2015-09-02 联想(北京)有限公司 Information processing method and electronic equipment
CN104869595A (en) * 2015-05-04 2015-08-26 小米科技有限责任公司 Method and device for controlling data traffic
CN106304223A (en) * 2015-05-21 2017-01-04 西安中兴新软件有限责任公司 A kind of network mode switching method, Apparatus and system
WO2017206453A1 (en) * 2016-05-31 2017-12-07 宇龙计算机通信科技(深圳)有限公司 Application icon display method and system
CN106293339A (en) * 2016-08-01 2017-01-04 深圳市先河系统技术有限公司 A kind of Application Program Interface display packing, system and electric terminal
CN109451550A (en) * 2017-08-29 2019-03-08 中兴通讯股份有限公司 A kind of network mode configuration method and mobile terminal
CN108616947A (en) * 2018-04-11 2018-10-02 维沃移动通信有限公司 A kind of method and apparatus of network switching
CN110198554A (en) * 2019-05-23 2019-09-03 维沃移动通信有限公司 A kind of network rate method of adjustment and terminal device
CN110445924A (en) * 2019-06-26 2019-11-12 维沃移动通信有限公司 Network task executes method and terminal device
CN110505660A (en) * 2019-07-23 2019-11-26 维沃移动通信有限公司 A kind of network rate method of adjustment and terminal device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880706A (en) * 2020-07-23 2020-11-03 维沃移动通信有限公司 Function switching method and device, electronic equipment and readable storage medium
CN114697953A (en) * 2020-12-30 2022-07-01 华为技术有限公司 Network type determining method and device
WO2022143165A1 (en) * 2020-12-30 2022-07-07 华为技术有限公司 Method and apparatus for determining network standard

Also Published As

Publication number Publication date
CN111314964B (en) 2023-09-15

Similar Documents

Publication Publication Date Title
CN108182019B (en) Suspension control display processing method and mobile terminal
CN110460907B (en) Video playing control method and terminal
CN109379484B (en) Information processing method and terminal
CN110174993B (en) Display control method, terminal equipment and computer readable storage medium
CN110213440B (en) Image sharing method and terminal
CN111666009B (en) Interface display method and electronic equipment
CN110750189B (en) Icon display method and device
CN111562896B (en) Screen projection method and electronic equipment
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN110209313B (en) Icon moving method and terminal equipment
CN111324235A (en) Screen refreshing frequency adjusting method and electronic equipment
CN109407920B (en) Status icon display method, status icon processing method and related equipment
CN111026316A (en) Image display method and electronic equipment
CN111381924A (en) Interface display method, electronic device and medium
CN109558046B (en) Information display method and terminal equipment
CN107728923B (en) Operation processing method and mobile terminal
CN108984145B (en) Brightness adjusting method and electronic equipment
CN111158485B (en) Screen control method and electronic equipment
CN111459603A (en) Icon display method and electronic equipment
CN109782970B (en) Display method and terminal
CN111142721A (en) Application icon processing method and electronic equipment
CN111314964B (en) Data flow control method and electronic equipment
CN107885423B (en) Picture processing method and mobile terminal
CN111352566B (en) Parameter adjusting method and electronic equipment
CN111261128B (en) Screen brightness adjusting method and electronic equipment

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