CN110035014B - Network speed control method and device and mobile terminal - Google Patents

Network speed control method and device and mobile terminal Download PDF

Info

Publication number
CN110035014B
CN110035014B CN201910218938.3A CN201910218938A CN110035014B CN 110035014 B CN110035014 B CN 110035014B CN 201910218938 A CN201910218938 A CN 201910218938A CN 110035014 B CN110035014 B CN 110035014B
Authority
CN
China
Prior art keywords
network speed
target data
data
reading
target
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
Application number
CN201910218938.3A
Other languages
Chinese (zh)
Other versions
CN110035014A (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 CN201910218938.3A priority Critical patent/CN110035014B/en
Publication of CN110035014A publication Critical patent/CN110035014A/en
Application granted granted Critical
Publication of CN110035014B publication Critical patent/CN110035014B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/25Flow control; Congestion control with rate being modified by the source upon detecting a change of network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a method and a device for controlling network speed and a mobile terminal, and relates to the technical field of mobile terminals. The embodiment of the invention receives a first trigger operation on target data; reading target data according to a first network speed in response to a first trigger operation; under the condition that the reading time reaches a target threshold value, reading target data according to a second network speed; the first network speed is less than the second network speed. Therefore, a lower network speed can be adopted at the beginning of video data to reduce the consumption of the flow; and after a certain time, the standard speed is recovered, so that the flow is automatically saved, and the user experience is improved.

Description

Network speed control method and device and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of mobile terminals, in particular to a method and a device for controlling network speed and a mobile terminal.
Background
With the development of wireless communication technology, the network speed of wireless communication is greatly improved from the previous 2G network to the mature 4G network or even the 5G network which is accessible.
At present, the peak speed of the highest downlink 1Gbps and uplink 500Mbps can be realized by the existing 4G network, i.e. the fourth generation mobile communication system, and the network speed is improved by one grade on the basis of the peak speed by the upcoming 5G network.
However, in the research of the inventor, it is found that the problem caused by the increase of the network speed is also very obvious, and when a user opens a video and the network speed is high, the terminal can complete the downloading of the complete video in a short time, but the user does not want to watch all the video content, which results in the rapid consumption and waste of traffic.
Disclosure of Invention
The embodiment of the invention provides a method and a device for controlling network speed and a mobile terminal, which aim to solve the problem of traffic waste caused by overhigh network speed in the prior art.
In order to solve the technical problem, the invention is realized as follows: a control method of network speed is applied to a mobile terminal, and the method comprises the following steps:
receiving a first trigger operation on target data, wherein the first trigger operation is used for triggering the control on the network speed for reading the target data;
reading the target data at a first network speed in response to the first trigger operation;
under the condition that the reading time reaches a target threshold value, reading the target data according to a second network speed; the first network speed is less than the second network speed.
The embodiment of the invention provides a network speed control device, which is applied to a mobile terminal and comprises the following components:
the operation receiving module is used for receiving a first trigger operation on target data, and the first trigger operation is used for triggering control on the network speed for reading the target data;
the data reading module is used for responding to the first trigger operation and reading the target data according to a first network speed;
the data reading module is further used for reading the target data according to a second network speed under the condition that the reading time reaches a target threshold value; the first network speed is less than the second network speed.
The embodiment of the present invention further provides a mobile terminal, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the steps of the method for controlling network speed are implemented.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the control method.
In the embodiment of the invention, a first trigger operation for target data is received, wherein the first trigger operation is used for triggering the control of the network speed for reading the target data; reading the target data at a first network speed in response to the first trigger operation; under the condition that the reading time reaches a target threshold value, reading the target data according to a second network speed; the first network speed is less than the second network speed. Therefore, a lower network speed can be adopted at the beginning of video data to reduce the consumption of the flow; and after a certain time, the standard speed is recovered, so that the flow is automatically saved, and the user experience is improved.
Drawings
Fig. 1 is a flowchart illustrating a method for controlling network speed according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a network speed control method according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating a network speed control method according to a third embodiment of the present invention;
fig. 4 is a flowchart illustrating a network speed control method according to a fourth embodiment of the present invention;
fig. 5 is a block diagram showing a network speed control apparatus according to a fifth embodiment of the present invention;
fig. 6 is a block diagram showing another network speed control apparatus according to a fifth embodiment of the present invention;
fig. 7 is a schematic diagram showing a hardware configuration of a mobile terminal according to a sixth 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.
Example one
Referring to fig. 1, a flowchart of a method for controlling network speed according to an embodiment of the present invention is shown, and is applied to a mobile terminal, where the method specifically includes the following steps:
step 101, receiving a first trigger operation on target data.
Wherein the first trigger operation is used for triggering the control of the network speed for reading the target data.
In the embodiment of the invention, since generally movies and videos have large data volumes, such as hundreds of megabytes, thousands of megabytes and even a few G, when a user uses the mobile terminal to watch the movies, videos and other contents, the user clicks to play the movies, the playing is used as the first trigger operation, and the mobile terminal starts the downloading or caching operation of the movies or videos as the target data, so that the user can quickly acquire smooth pictures. For example, data after the inventor tests the 5G network shows that the wireless transmission speed of the standard 5G network can reach 5Gbps, if the download time of general definition movies and videos is about 1 second at the standard transmission speed, huge traffic consumption is caused if speed limitation is not performed. Sometimes a user clicks on a movie or video that is not of great interest and shuts down quickly, but in a standard 5G network, too fast a network speed may have downloaded or cached the entire target data before the user shuts down, resulting in wasted traffic.
In a specific application, a switch for starting the speed control operation may be set on the mobile terminal, and may be a physical switch or a virtual switch, and the pressed operation of the switch serves as a first trigger operation, that is, the operation for explaining that the download speed of the current target data needs to be controlled, and further, whether to start the control of the download speed is determined according to the actual demand of the user.
And 102, responding to the first trigger operation, and reading the target data according to the first network speed.
In the embodiment of the present invention, if the target data is a movie with more than 500M, after the user clicks and plays the movie, and the mobile terminal obtains the information of the target data correspondingly, the reading mode of the target data may be determined correspondingly according to a predetermined rule or a setting rule, where the reading mode includes a reading speed of the target data: a first network speed and a corresponding first network speed continuous reading duration; or the first network speed and the target threshold value can be correspondingly preset, and uniform setting can be adopted for data reading of any target data. Reading target data at a first network speed, and recovering the normal standard 5G network reading speed after the duration of reading at the first network speed is finished, so that when reading of a large target data is started, the lower network speed is used initially, a decision time is provided for a user, and the target data is still in an open state after a target threshold value is exceeded, which indicates that the user wants to continue or even completely view the target data, and the target data can be normally downloaded or cached for more than 500M data contents; if the user does not exceed the target threshold, the user finishes watching the target data, and at this time, because of the network speed control method provided by the present application, 500M more data are not completely downloaded or cached, only a small part of traffic is consumed, for example, 90M, thereby saving traffic for the user.
And 103, reading the target data according to a second network speed under the condition that the reading time reaches the target threshold value.
Wherein the first network speed is less than the second network speed.
In the embodiment of the present invention, the second network speed may be a standard 5G network speed, that is, after exceeding a target threshold, it indicates that a user needs to read target data quickly and completely, and full download or cache of the 5G network may be started to ensure good experience of the user on the quick network speed, or the second network speed may be lower than the standard 5G network speed, but does not affect the speed at which the user watches videos or movies smoothly, so as to better save network traffic, that is, when the user finishes watching in advance, all target data download or cache may not be completed, which is not specifically limited in the present application.
In the embodiment of the invention, a first trigger operation for target data is received, wherein the first trigger operation is used for triggering the control of the network speed for reading the target data; reading target data according to a first network speed in response to a first trigger operation; under the condition that the reading time reaches a target threshold value, reading target data according to a second network speed; the first network speed is less than the second network speed. Therefore, a lower network speed can be adopted at the beginning of video data to reduce the consumption of the flow; and after a certain time, the standard speed is recovered, so that the flow is automatically saved, and the user experience is improved.
Example two
Referring to fig. 2, a flowchart of a method for controlling network speed according to a second embodiment of the present invention is shown, which may specifically include the following steps:
step 201, a first trigger operation on target data is received.
Wherein the first trigger operation is used for triggering the control of the network speed for reading the target data.
This step is similar to the principle of step 101 in the first embodiment, and is not described herein again.
Step 202, determining a first network speed and a target threshold for target data according to historical behavior data of a user.
The historical behavior data is used for describing the usage behavior of the user on the data of the same type as the target data, and the historical behavior data comprises the usage duration and/or the usage pattern.
In the embodiment of the invention, the history of the user of the mobile terminal can be summarized as data, a behavior model rule is generated, and the usage behavior rule of the user for the same kind of data can be summarized, wherein the usage duration can be the viewing duration; or may also use a mode, i.e. a viewing mode, whether it is normal rate viewing or fast viewing, etc. For example, the user can completely see the funny video in the video data, so that a shorter target threshold value and a medium reading speed can be set for the data of the same type of the target data; for another example, a movie with the length of more than 90 minutes can not be completely seen by the user basically, so that a longer target threshold and a lower reading speed are set for the same type of data of the target data; or the historical behavior data shows that the user usually watches the target data in the same type by adopting a fast forward mode, so that a longer target threshold value, a medium reading speed and the like can be correspondingly set for the target data, and the flow can be better saved.
And step 203, responding to the first trigger operation, and reading the target data according to the first network speed.
And step 204, reading the target data according to the second network speed under the condition that the reading time reaches the target threshold value.
Wherein the first network speed is less than the second network speed.
Step 203 and step 204 are similar to steps 102 and 103 in the first embodiment, and are not described again here.
Optionally, before the speed limit is performed according to the first network speed, in addition to the setting of the first network speed and the target threshold by using the historical behavior data according to the content of the embodiment shown in fig. 2, for example, the corresponding first network speed and the target threshold may be determined for the attribute information of each different target data in the following manner.
EXAMPLE III
Referring to fig. 3, a flowchart of a method for controlling network speed according to a third embodiment of the present invention is shown, which may specifically include the following steps:
step 301, receiving a first trigger operation on target data.
Wherein the first trigger operation is used for triggering the control of the network speed for reading the target data.
This step is similar to the principle of step 101 in the first embodiment, and is not described herein again.
Step 302, obtaining attribute information of the target data.
The target data is data in a preset format; the attribute information includes: target data size, play duration.
In the embodiment of the present invention, after receiving the first trigger operation, attribute information of target data of the first trigger operation is correspondingly obtained, that is, it is determined whether the target data is data in a preset format, for example, data in a video format such as common MPEG/MPG/DAT/MP4, and then a target data size and a playing time of the target video, for example, a target data size of 524M with a playing time duration of 1 hour, 23 minutes and 15 seconds, are determined, so that the following steps determine the first network speed and/or the target threshold according to the attribute information.
Step 303, determining a first network speed according to the attribute information of the target data.
In a specific application, the first network speed and/or the target threshold may be determined according to a preset determination rule corresponding to the attribute information. The method comprises the following steps:
and under the condition that the size of the target data is larger than a first preset threshold value, reducing the second network speed by a first preset multiple to serve as the first network speed.
And reducing the second network speed by a second preset multiple to serve as the first network speed under the condition that the size of the target data is larger than a second preset threshold and smaller than or equal to a first preset threshold.
The first preset threshold is larger than the second preset threshold, and the first preset multiple is larger than the second preset multiple.
Illustratively, when the target data size is larger than a first preset threshold (500M), the second network speed, e.g., a standard 5G network speed, is reduced by a first preset multiple (5 times) to read the target data; and when the size of the target data is larger than a second preset threshold (300M) and smaller than the first preset threshold, reducing the second network speed by a second preset multiple (2 times) to read the target data. The second network speed is an average value or a peak value of the 5G network speed that can be reached under the environment where the current mobile terminal is located.
And step 304, taking a preset first threshold value as a target threshold value.
For example, the target threshold may be set to a preset fixed first threshold, for example, 8 seconds or 10 seconds, and according to different sizes of the target data, the corresponding first network speed corresponding to the starting target data reading is generated, and after the target data is read at the first network speed for more than 8 seconds, the second network speed is automatically switched.
Step 305, in response to the first trigger operation, reading the target data according to the first network speed.
And step 306, reading the target data according to the second network speed under the condition that the reading time reaches the target threshold value.
Wherein the first network speed is less than the second network speed.
The above steps 305 and 306 are similar to the principles of steps 102 and 103 in the first embodiment, and are not described again here.
Example four
Referring to fig. 4, a flowchart of a method for controlling network speed according to a fourth embodiment of the present invention is shown, which may specifically include the following steps:
step 401, a first trigger operation on target data is received.
Wherein the first trigger operation is used for triggering the control of the network speed of reading the target data.
Step 402, in response to a first trigger operation, reading target data at a first network speed.
The above steps 401 and 402 are similar to the principles of steps 101 and 102 in the above first embodiment, and are not described again here.
In step 403, a network speed switching button is displayed. .
In this embodiment, after the reading of the target data at the first network speed is started according to the above steps, in order to facilitate a user to determine that the target data is to be quickly acquired, the network speed limit may be directly released, and a network speed switching button, such as a preset virtual button or a preset physical button, may be provided for the user. Illustratively, the virtual button is a virtual button which is arranged in the video playing software and is displayed in the playing process; or a combination of physical buttons, such as volumes "+" and "-" pressed simultaneously, indicating that the user needs to release the speed limit, a second trigger operation may be generated.
And step 404, under the condition that a second trigger operation on the switching button is received, responding to the second trigger operation, and reading the target data according to a second network speed.
In a specific implementation, when the second trigger operation is received, the second network speed may be recovered to read the target data.
It should be noted that, the display network speed switching button in this embodiment is actually expanded on the basis of embodiment 1, a target threshold may be set, the display network speed switching button may be executed within the target threshold, and the network speed is automatically switched back to the second network speed after the target threshold is exceeded; the target threshold value may not be set, when the target data is read according to the first network speed, the mobile terminal is used to display the network speed switching button to the user, and the user can select whether to switch to the fast mode or keep the first network speed all the time according to the self requirement at any time, and the specific implementation steps are not limited in the present application.
Step 403 and step 404 in this embodiment may be combined with the implementation manners described in the second embodiment or the third embodiment to optimize the technical solution of the present application, and specific operations are described in the foregoing embodiments and are not described herein again.
EXAMPLE five
Referring to fig. 5, a block diagram of a network speed control apparatus according to a fifth embodiment of the present invention is shown, where the apparatus 500 is applied to a mobile terminal, and includes:
the operation receiving module 510 is configured to receive a first trigger operation on target data.
Wherein the first trigger operation is used for triggering the control of the network speed for reading the target data.
And a data reading module 520, configured to read the target data at the first network speed in response to the first trigger operation.
The data reading module 520 is further configured to read the target data according to the second network speed when the reading time reaches the target threshold; the first network speed is less than the second network speed.
On the basis of fig. 5, optionally, the network speed control device 500 further includes:
and the data determining module is used for determining a first network speed and a target threshold value for the target data according to the historical behavior data of the user before reading the target data according to the first network speed.
The historical behavior data is used for describing the usage behavior of the user on the same type of data as the target data, and comprises the usage duration and/or the usage pattern.
Referring to fig. 6, a block diagram of another network speed control apparatus according to a fifth embodiment of the present invention is shown.
An information obtaining module 530, configured to obtain attribute information of the target data before reading the target data according to the first network speed.
And a speed determining module 540, configured to determine a first network speed according to the attribute information of the target data.
Optionally, the target data is data in a preset format; the attribute information includes: target data size, play duration, speed determination module 540, configured to:
when the size of the target data is larger than a first preset threshold value, reducing the second network speed by a first preset multiple to serve as a first network speed;
reducing the second network speed by a second preset multiple to serve as the first network speed under the condition that the size of the target data is larger than a second preset threshold and smaller than or equal to a first preset threshold;
the first preset threshold is larger than the second preset threshold, and the first preset multiple is larger than the second preset multiple.
Optionally, the apparatus 500 further comprises:
a threshold determining module 550, configured to use a preset first threshold as the target threshold before reading the target data according to the first network speed.
Optionally, the apparatus 500 further comprises:
and the button display module is used for displaying the network speed switching button before reading the target data according to the second network speed.
And the data reading module is also used for responding to the second trigger operation and reading the target data according to the second network speed under the condition of receiving the second trigger operation on the switching button.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 4, and is not described herein again to avoid repetition.
EXAMPLE six
Referring to fig. 7, a hardware configuration diagram of a mobile terminal according to a sixth embodiment of the present invention is shown.
The mobile terminal 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 7 is not intended to be limiting of mobile terminals, and that a mobile terminal 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 mobile terminal 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.
The processor 710 is configured to receive a first trigger operation on target data, where the first trigger operation is used to trigger control on a network speed for reading the target data; reading target data according to a first network speed in response to a first trigger operation; under the condition that the reading time reaches a target threshold value, reading target data according to a second network speed; the first network speed is less than the second network speed.
In the embodiment of the invention, a lower first network speed is adopted at the beginning of video data so as to reduce the consumption of flow; and after a certain time, the standard speed is recovered, so that the flow is automatically saved, and the user experience is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 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. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access via the network module 702, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the mobile terminal 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds 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 701 in case of a phone call mode.
The mobile terminal 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the mobile terminal 700 is moved to the ear. As one of the motion sensors, the 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 the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of 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 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although in fig. 7, the touch panel 7071 and the display panel 7061 are implemented as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 708 is an interface through which an external device is connected to the mobile terminal 700. 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 708 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 700 or may be used to transmit data between the mobile terminal 700 and external devices.
The memory 709 may be used to store software programs as well as various data. The memory 709 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 709 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 710 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby integrally monitoring the mobile terminal. Processor 710 may include one or more processing units; preferably, the processor 710 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 processor 710.
The mobile terminal 700 may also include a power supply 711 (e.g., a battery) for powering the various components, and the power supply 711 may be logically coupled to the processor 710 via a power management system that may enable managing charging, discharging, and power consumption by the power management system.
In addition, the mobile terminal 700 includes some functional modules that are not shown, and thus will not be described in detail herein.
EXAMPLE seven
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program is executed by the processor 710 to implement each process of the above-mentioned embodiment of the network speed control method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
Example eight
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 embodiment of the network speed control method, 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 (9)

1. A method for controlling network speed is applied to a mobile terminal, and is characterized in that the method comprises the following steps:
receiving a first trigger operation on target data, wherein the first trigger operation is used for triggering the control on the network speed for reading the target data;
responding to the first trigger operation, and reading the target data at a first network speed;
under the condition that the reading time reaches a target threshold value, reading the target data according to a second network speed; the first network speed is less than the second network speed;
before the reading the target data according to the first network speed, the method further comprises the following steps:
acquiring attribute information of the target data;
determining the first network speed according to the attribute information of the target data;
the target data is data in a preset format; the attribute information includes: target data size, play duration;
the determining the first network speed according to the attribute information of the target data includes:
when the size of the target data is larger than a first preset threshold value, reducing the second network speed by a first preset multiple to serve as the first network speed;
reducing the second network speed by a second preset multiple to serve as the first network speed under the condition that the size of the target data is larger than a second preset threshold and smaller than or equal to the first preset threshold;
the first preset threshold is greater than the second preset threshold, and the first preset multiple is greater than the second preset multiple.
2. The method of claim 1, further comprising, prior to said reading said target data at said first network speed:
determining a first network speed of the target data and the target threshold according to historical behavior data of a user; the historical behavior data is data used for describing the usage behavior of the user on the data of the same type as the target data, and the historical behavior data comprises usage duration and/or usage patterns.
3. The method of claim 1, further comprising, prior to said reading said target data at said first network speed:
and taking a preset first threshold value as the target threshold value.
4. The method of claim 1, further comprising, prior to said reading said target data at said second network speed:
displaying a network speed switching button;
and under the condition that a second trigger operation on the switching button is received, responding to the second trigger operation, and reading the target data at a second network speed.
5. A network speed control device applied to a mobile terminal is characterized by comprising:
the operation receiving module is used for receiving a first trigger operation on target data, and the first trigger operation is used for triggering control on the network speed for reading the target data;
the data reading module is used for responding to the first trigger operation and reading the target data according to a first network speed;
the data reading module is further used for reading the target data according to a second network speed under the condition that the reading time reaches a target threshold value; the first network speed is less than the second network speed;
the device further comprises:
an information obtaining module, configured to obtain attribute information of the target data before the target data is read at the first network speed;
the speed determining module is used for determining the first network speed according to the attribute information of the target data;
the target data is data in a preset format; the attribute information includes: target data size, play duration;
the speed determination module is configured to:
when the size of the target data is larger than a first preset threshold value, reducing the second network speed by a first preset multiple to serve as the first network speed; or
Reducing the second network speed by a second preset multiple to serve as the first network speed under the condition that the size of the target data is larger than a second preset threshold and smaller than or equal to the first preset threshold;
the first preset threshold is greater than the second preset threshold, and the first preset multiple is greater than the second preset multiple.
6. The apparatus of claim 5, further comprising:
the data determining module is used for determining a first network speed and the target threshold value for the target data according to the historical behavior data of the user before the target data is read according to the first network speed; the historical behavior data is data used for describing the usage behavior of the user on the data of the same type as the target data, and the historical behavior data comprises usage duration and/or usage patterns.
7. The apparatus of claim 5, further comprising:
and the threshold value determining module is used for taking a preset first threshold value as the target threshold value before the target data is read according to the first network speed.
8. The apparatus of claim 5, further comprising:
the button display module is used for displaying a network speed switching button before the target data is read according to the second network speed;
the data reading module is further configured to, in a case where a second trigger operation for the switch button is received, respond to the second trigger operation and read the target data at a second network speed.
9. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the method for controlling the speed of a network according to any one of claims 1 to 4.
CN201910218938.3A 2019-03-21 2019-03-21 Network speed control method and device and mobile terminal Active CN110035014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910218938.3A CN110035014B (en) 2019-03-21 2019-03-21 Network speed control method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910218938.3A CN110035014B (en) 2019-03-21 2019-03-21 Network speed control method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN110035014A CN110035014A (en) 2019-07-19
CN110035014B true CN110035014B (en) 2022-08-16

Family

ID=67236386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910218938.3A Active CN110035014B (en) 2019-03-21 2019-03-21 Network speed control method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN110035014B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024456A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Online video playing method and video playing server
CN104244033A (en) * 2014-09-03 2014-12-24 乐视致新电子科技(天津)有限公司 Video playing method and device and intelligent terminal
CN106411883A (en) * 2016-09-28 2017-02-15 北京奇虎科技有限公司 Method for saving flow and flow-saving video playing system
CN107888981A (en) * 2017-11-16 2018-04-06 北京小米移动软件有限公司 Audio frequency and video preload method, apparatus, equipment and storage medium
CN109194979A (en) * 2018-10-30 2019-01-11 努比亚技术有限公司 The processing method and processing device of audio-video, mobile terminal, readable storage medium storing program for executing
CN109218847A (en) * 2017-06-30 2019-01-15 中兴通讯股份有限公司 A kind of download control method, device and multimedia terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024456A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Online video playing method and video playing server
CN104244033A (en) * 2014-09-03 2014-12-24 乐视致新电子科技(天津)有限公司 Video playing method and device and intelligent terminal
CN106411883A (en) * 2016-09-28 2017-02-15 北京奇虎科技有限公司 Method for saving flow and flow-saving video playing system
CN109218847A (en) * 2017-06-30 2019-01-15 中兴通讯股份有限公司 A kind of download control method, device and multimedia terminal
CN107888981A (en) * 2017-11-16 2018-04-06 北京小米移动软件有限公司 Audio frequency and video preload method, apparatus, equipment and storage medium
CN109194979A (en) * 2018-10-30 2019-01-11 努比亚技术有限公司 The processing method and processing device of audio-video, mobile terminal, readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN110035014A (en) 2019-07-19

Similar Documents

Publication Publication Date Title
CN108279948B (en) Application program starting method and mobile terminal
CN109407920B (en) Status icon display method, status icon processing method and related equipment
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN110855921B (en) Video recording control method and electronic equipment
CN108196753B (en) Interface switching method and mobile terminal
CN107835495B (en) Message prompting method and device and mobile terminal
CN110062273B (en) Screenshot method and mobile terminal
CN109101151B (en) Information display processing method and terminal equipment
CN110753201A (en) Video recording method and device, electronic equipment and storage medium
CN111061404A (en) Control method and first electronic device
CN108132749B (en) Image editing method and mobile terminal
CN109542321B (en) Control method and device for screen display content
CN108366171B (en) Temperature rise control method and mobile terminal
CN108540642B (en) Mobile terminal and operation method thereof
CN110769303A (en) Playing control method and device and mobile terminal
CN108089935B (en) Application program management method and mobile terminal
CN108196699B (en) Page switching method and equipment
CN111526248B (en) Audio output mode switching method and electronic equipment
CN111163227B (en) Sharing method and electronic equipment
CN110213437B (en) Editing method and mobile terminal
CN110809186B (en) Video processing method and electronic equipment
CN109902232B (en) Display control method and terminal
CN110099170B (en) Picture deleting method and mobile terminal
CN109660657B (en) Application program control method and device
CN109614827B (en) Control method of mobile terminal and mobile terminal

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