CN108040014B - Flow control method and device - Google Patents

Flow control method and device Download PDF

Info

Publication number
CN108040014B
CN108040014B CN201711034952.5A CN201711034952A CN108040014B CN 108040014 B CN108040014 B CN 108040014B CN 201711034952 A CN201711034952 A CN 201711034952A CN 108040014 B CN108040014 B CN 108040014B
Authority
CN
China
Prior art keywords
page
network access
access authority
access request
authority
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
CN201711034952.5A
Other languages
Chinese (zh)
Other versions
CN108040014A (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 CN201711034952.5A priority Critical patent/CN108040014B/en
Publication of CN108040014A publication Critical patent/CN108040014A/en
Application granted granted Critical
Publication of CN108040014B publication Critical patent/CN108040014B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The embodiment of the invention provides a flow control method and a flow control device, which are applied to a mobile terminal, wherein the method comprises the following steps: when detecting that an application program generates a network access request, identifying a page of the application program generating the network access request; determining the network access authority corresponding to the page according to the historical data of the page; and controlling the network access request based on the network access authority of the page. The embodiment of the invention realizes the control of the network access request according to the network access authority of the page, thereby achieving the aim of saving flow.

Description

Flow control method and device
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to a flow control method and a flow control device.
Background
With the development of the mobile internet, the mobile terminal becomes an indispensable tool in life, and the mobile network is an indispensable foundation of the mobile terminal, and users can only use mobile data traffic to access the network without a wireless network.
In practice, a situation may occur where the user inadvertently clicks on the wrong link, such as link A, B being adjacent, the user would like to click on link A, and as a result, inadvertently clicks on link B, and jumps to page B, which wastes traffic. Particularly, when the content of the page which is mistakenly jumped is more, the more the wasted flow is, the more the flow is accumulated day by day, the situation that the actually used flow exceeds the mobile data flow package can occur, and further the extra cost is generated.
In response to the above situation, the existing solutions are all application level processes, such as blocking advertisements. In fact, most applications rely on traffic and advertising to obtain revenue, and therefore, there is no method for actually solving the above problems.
Disclosure of Invention
The embodiment of the invention provides a flow control method, which aims to solve the problem of flow waste caused by misoperation when a user uses mobile data flow.
In order to solve the technical problem, the invention is realized as follows: a flow control method is applied to a mobile terminal and comprises the following steps:
when detecting that an application program generates a network access request, identifying a page of the application program generating the network access request;
determining the network access authority corresponding to the page according to the historical data of the page;
and controlling the network access request based on the network access authority of the page.
In a first aspect, an embodiment of the present invention further provides a flow control apparatus, which is applied to a mobile terminal, and includes:
the identification module is used for identifying the page of the application program generating the network access request when the application program is detected to generate the network access request;
the judging module is used for determining the network access authority corresponding to the page according to the historical data of the page;
and the request module is used for controlling the network access request based on the network access authority of the page.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of a flow control method according to any one of the above items.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of a flow control method according to any one of the above items.
In the embodiment of the invention, when the application program is detected to generate the network access request, the page of the application program generating the network access request is firstly identified, the network access authority corresponding to the page is determined according to the historical data of the page, and finally, the network access request is controlled based on the network access authority of the page. Therefore, the network access authority can be determined for each page of all application programs in the mobile terminal according to the user behavior, and when the page generates the network access request, the network access request is controlled according to the network access authority of the page, so that the purpose of saving flow is achieved.
Drawings
FIG. 1 is a flow chart illustrating the steps of an embodiment of a flow control method of the present invention;
FIG. 2 is a flow chart illustrating the steps of an embodiment of a flow control method of the present invention;
FIG. 3 is a block diagram of a flow control device according to an embodiment of the present invention;
fig. 4 is a schematic hardware structure diagram of a mobile terminal implementing various embodiments 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 first flow chart showing steps of an embodiment of a flow control method according to the present invention is applied to a mobile terminal, and the mobile terminal is installed with one or more applications.
In the present application, the mobile terminal may have the following characteristics:
(1) on a hardware architecture, a device has a central processing unit, a memory, an input unit and an output unit, that is, the device is often a microcomputer device having a communication function. In addition, various input modes such as a keyboard, a mouse, a touch screen, a microphone, a camera and the like can be provided, and input can be adjusted as required. Meanwhile, the equipment often has a plurality of output modes, such as a telephone receiver, a display screen and the like, and can be adjusted according to needs;
(2) on a software system, the device must have an operating system, such as Windows Mobile, Symbian, Palm, Android, iOS, and the like. Meanwhile, the operating systems are more and more open, and personalized application programs developed based on the open operating system platforms are infinite, such as a communication book, a schedule, a notebook, a calculator, various games and the like, so that the requirements of personalized users are met to a great extent;
(3) in terms of communication capacity, the device has flexible access mode and high-bandwidth communication performance, and can automatically adjust the selected communication mode according to the selected service and the environment, thereby being convenient for users to use. The equipment can support GSM, WCDMA, CDMA2000, TDSCDMA, Wi-Fi, WiMAX and the like, thereby being suitable for various systems of networks, not only supporting voice services, but also supporting various wireless data services;
(4) in the aspect of function use, the equipment focuses more on humanization, individuation and multi-functionalization. With the development of computer technology, devices enter a human-centered mode from a device-centered mode, and the embedded computing, control technology, artificial intelligence technology, biometric authentication technology and the like are integrated, so that the human-oriented purpose is fully embodied. Due to the development of software technology, the equipment can be adjusted and set according to individual requirements, and is more personalized. Meanwhile, the device integrates a plurality of software and hardware, and the function is more and more powerful.
One or more application programs are installed in the mobile terminal, and the application programs comprise an application program carried by the system and a third-party application program installed by a user. That is, the present application may perform flow control for all applications in the mobile terminal, but in practical applications, some applications do not perform network access, and these applications that do not perform network access may be excluded, so that resource consumption of the mobile terminal may be reduced. Of course, whether the flow control is performed for all the applications in the mobile terminal or the flow control is performed for the applications that will perform network access in the mobile terminal may be set according to actual needs, which is not limited in this application.
For convenience of description, the application referred to hereinafter in this application refers to any application in the mobile terminal, and does not refer to a specific application.
The method specifically comprises the following steps:
step 101, when detecting that an application generates a network access request, identifying a page of the application generating the network access request.
Generally, a page of an application program is an interface of a component part showing characteristics and functions of something facing the outside in the application program, and a user interacts with a mobile terminal through the page of the application program.
The application program generates a network access request, and the request carries the characteristic parameters of the page, including the ID of the application program, the ID of the page, and the like. For example, a user clicks a certain link in an a page of a browser, and the browser needs to jump to a B page corresponding to the link, so that the browser generates a network access request for jumping to the B page, and the browser needs to send the request to a server through a mobile terminal.
And step 102, determining the network access authority corresponding to the page according to the historical data of the page.
After the page of the application program generating the network access request is identified, the network access authority of the page can be obtained.
In a preferred embodiment of the present invention, the network access rights of the page include an unlimited access right, a delayed access right, and a prohibited access right.
Specifically, the unrestricted access right means that the page is not subject to any flow control when the page is accessed to the network; the delayed access authority means that when the page is accessed to the network, the network access request is delayed to be sent to the server; the access permission is forbidden, that is, the network access request of the page is intercepted by the mobile terminal and is not sent to the server.
For example, a page A of the browser needs to jump to a page B, a jump request is generated, and when the page A has an unlimited access right, the jump request is immediately sent to the server; when the page A is delayed in access right, the jump request can be delayed for 3S and 5S and then sent to the server, which is generally caused by error click of a user, for example, the user originally wants to jump to the page C, and as a result, the user does not worry about the link to the page B, and in this case, because the network access right of the page A is delayed in access right, the request for jumping from the page A to the page B cannot be sent to the server immediately, the user can return to the page A immediately, the jump request cannot be sent to the server, and the data of the page B returned by the server cannot be received, so that the flow is saved; when the A page is the access right forbidden, the jump request can be intercepted by the mobile terminal and cannot be sent to the server, and the jump from the A page to the B page cannot be carried out.
In a preferred embodiment of the present invention, the determining, according to the historical data of the page, the network access right corresponding to the page includes:
acquiring historical data of the page, wherein the historical data comprises at least one of the display times of the page, the display duration of the page and the operation frequency of a user on the page;
comparing the historical data of the page with a threshold value of unlimited access authority, a threshold value of delayed access authority and a threshold value of forbidden access authority respectively;
and determining the network access authority of the page based on the comparison result.
Specifically, the mobile terminal is provided with a network access right database of pages, wherein the display times, the display time, the operation frequency of the pages by the user and the network access right of each page of each application program are recorded. Then, comparing the value of the number of display times, the value of the display time and the value of the operation frequency of the user on the page of each page in the network access right database with the threshold of the unlimited access right, the threshold of the delayed access right and the threshold of the forbidden access right one by one at intervals of preset time, such as 4 hours, 6 hours and the like, and determining that the network access right of the page is the unlimited access right when at least one of the value of the display times, the value of the display time and the value of the operation frequency of the user on the page is greater than the threshold of the display times, the threshold of the display time and the threshold of the operation frequency of the user on the page.
In practical applications, when a certain page is important or even indispensable for a user, the number of times that the user enters the page is necessarily large, and the time spent on the page each time is also long, for example, in a novel; or, the number of times that the user enters the page is very large, the operating frequency of entering the page each time is also high, but the stay time is short, for example, the a page is a necessary page for jumping to the B page, in this case, the time for displaying the a page each time is short (the a page may not completely show that the user has clicked the link of the B page, thereby jumping to the B page), but the a page still has an unlimited access right; or, a certain page requires the user to input a user name and a password, so the number of times of displaying the page, the displaying time, and the operating frequency of the user on the page are very high at the same time.
When the value of the number of times of displaying the page, the value of the displaying time and the value of the operating frequency of the user on the page are simultaneously lower than the threshold value of the unlimited access right but higher than the right of prohibiting the access right, the page can be determined as the delayed access right. For example, the number of C page presentations is small, the time for each presentation is short, and meanwhile, when the C page is presented, the user hardly operates the C page, including operations such as pull-down, refresh, jump, and the like, it can be determined that the interest level of the user in the C page is low, in this case, the C page can be set as a delayed access right, and when the user wants to access the C page, the request for accessing the C page can be delayed for a certain time and then sent to the server, so that the user can cancel the request for accessing the C page before the request is sent to the server. Of course, the specific time of the delay can be set according to the requirement, and the application does not limit this.
And when the numerical value of the display times of the page, the numerical value of the display time and the numerical value of the operation frequency of the user on the page are simultaneously lower than the access permission inhibition authority, determining that the page is the access permission inhibition authority. For example, the D page is displayed 3 times in one month, but the display time is less than 1 second each time, and the user does not have any operation on the D page, so that the D page can be determined as the access prohibition authority, and when the mobile terminal identifies a request for accessing the D page, the request is directly intercepted and is not sent to the server, so that the traffic is saved.
It should be noted that the presentation time of the page may adopt an average time manner, an independent recording manner, or other manners, which is not limited in this embodiment of the present invention.
In addition, in the embodiment of the invention, the latest page display times, display time and the operation frequency of the user on the page can be updated to the network access right database of the page, so that the dynamic update of the network access right database of the page is realized, and the network access right of the page is more accurate.
In addition, a network access right database of a page can be set in an auxiliary manner at the server side, and network access rights set by other users for each page of each application program are recorded in the database, so that when a brand-new application program is installed in the mobile terminal by a user, the network access rights can be set for the page in the brand-new application program according to the network access right database of the page at the server side.
And 103, determining the network access authority of each page in each application program based on the comparison result.
Specifically, when the network access right of the page is the unlimited access right, the network access request is not controlled, and the request is directly sent to the server; when the network access right of the page is the delayed access right, delaying the network access request for a preset time and then sending the network access request to the server; and intercepting the request when the network access right of the page is the access prohibition right.
In the embodiment of the invention, when the application program is detected to generate the network access request, the page of the application program generating the network access request is firstly identified, the network access authority corresponding to the page is determined according to the historical data of the page, and finally, the network access request is controlled based on the network access authority of the page. Therefore, the network access authority can be determined for each page of all application programs in the mobile terminal according to the user behavior, and when the page generates the network access request, the network access request is controlled according to the network access authority of the page, so that the purpose of saving flow is achieved.
Referring to fig. 2, a flow chart showing the steps of an embodiment of the flow control method according to the present invention is shown, where the method is applied to a mobile terminal, and the mobile terminal is installed with one or more application programs; the method specifically comprises the following steps:
step 201, when detecting that an application generates a network access request, identifying a page of the application generating the network access request;
step 202, determining a network access authority corresponding to the page according to the historical data of the page;
step 203, controlling the network access request based on the network access authority of the page;
in a preferred embodiment of the present invention, when the network access right of the page is the access right forbidding, the method further includes:
and when detecting that the user continuously operates the page, promoting the network access authority of the page to be delayed access authority or unlimited access authority.
Specifically, when a certain page is prohibited from accessing, any network access request performed on the page by the user cannot be sent to the server, but if the user performs continuous arbitrary operations on the page, including clicking, sliding, refreshing and the like, it indicates that the current page is important for the user, and at this time, the network access right of the page is promoted to a delayed access right, even to an unlimited access right.
It should be noted that, when the network access right of the page is raised, the number of times and the frequency of the user operating the current page may be set according to actual requirements, which is not limited in the embodiment of the present invention.
Moreover, the promotion of the network access right of the page is temporary, and the specific network access right is determined based on the network access right database of the page.
Step 204, detecting the type of the multimedia data in the page corresponding to the network access request;
step 205, when the type of the multimedia data in the page corresponding to the network access request is more than the type of the multimedia data in the network access request, obtaining the multimedia data corresponding to the type of the multimedia data in the network access request.
For example, if the user wants to access the text in the E page, but the E page includes text data, picture data, audio data, video data, etc., then after the user clicks the link of the E page on the current page, the mobile terminal pops up a floating box, asks the user about the type of the data that the user wants to access, and provides an option of all the types of the data in the E page, for example, the content of the floating box may be:
"please select the type of data accessed:
character data
Picture data
Audio data
Video data
The total data,
and then, receiving data of a corresponding type according to the type selected by the user, for example, after the user selects the text data, the mobile terminal acquires the text data in the E page from the server without acquiring other data, thereby saving the flow.
In the embodiment of the invention, the network access authority of the page can be temporarily improved according to the current operation of the user, so that the flow control is more humanized, and the user experience is improved. Moreover, the types of the data required by the user in the page can be acquired according to the selection of the user, and the data of all types in the page does not need to be acquired, so that the flow is saved, and the flow control is more accurate.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of a browsing control apparatus according to an embodiment of the present invention is shown, which may specifically include the following modules:
the identification module 301 is configured to, when it is detected that an application generates a network access request, identify a page of the application that generates the network access request;
a determining module 302, configured to determine, according to the historical data of the page, a network access right corresponding to the page;
a request module 303, configured to control the network access request based on the network access right of the page.
In a preferred embodiment of the present invention, the network access rights of the page include an unlimited access right, a delayed access right, and a prohibited access right.
In a preferred embodiment of the present invention, the determination module includes:
the acquisition submodule is used for acquiring historical data of the page, wherein the historical data comprises at least one of the display times of the page, the display duration of the page and the operation frequency of a user on the page;
the comparison submodule is used for comparing the historical data of the page with a threshold value of unlimited access authority, a threshold value of delayed access authority and a threshold value of forbidden access authority respectively;
and the determining submodule is used for determining the network access authority of the page based on the comparison result.
In a preferred embodiment of the present invention, the apparatus further comprises:
and the permission upgrading module is used for upgrading the network access permission of the page to be delayed access permission or unlimited access permission when the network access permission of the page is forbidden access permission and continuous operation of the page by a user is detected.
In a preferred embodiment of the present invention, the method further comprises:
the detection module is used for detecting the type of the multimedia data in the page corresponding to the network access request;
and the obtaining module is used for obtaining the multimedia data corresponding to the type of the multimedia data in the network access request when the type of the multimedia data in the page corresponding to the network access request is more than the type of the multimedia data in the network access request.
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. 2, and is not described herein again to avoid repetition.
In the embodiment of the invention, when the application program is detected to generate the network access request, the page of the application program generating the network access request is firstly identified, the network access authority corresponding to the page is determined according to the historical data of the page, and finally, the network access request is controlled based on the network access authority of the page. Therefore, the network access authority can be determined for each page of all application programs in the mobile terminal according to the user behavior, and when the page generates the network access request, the network access request is controlled according to the network access authority of the page, so that the purpose of saving flow is achieved.
Figure 4 is a schematic diagram of a hardware configuration of a mobile terminal implementing various embodiments of the present invention,
the mobile terminal 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 mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those 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.
Among others, a processor 410 for
When detecting that an application program generates a network access request, identifying a page of the application program generating the network access request;
determining the network access authority corresponding to the page according to the historical data of the page;
controlling the network access request based on the network access authority of the page;
in the embodiment of the invention, when the application program is detected to generate the network access request, the page of the application program generating the network access request is firstly identified, the network access authority corresponding to the page is determined according to the historical data of the page, and finally, the network access request is controlled based on the network access authority of the page. Therefore, the network access authority can be determined for each page of all application programs in the mobile terminal according to the user behavior, and when the page generates the network access request, the network access request is controlled according to the network access authority of the page, so that the purpose of saving flow is achieved.
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 mobile terminal provides the user with wireless broadband internet access through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access 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 mobile terminal 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 mobile terminal 400 also includes at least one sensor 405, 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 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the mobile terminal 400 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 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.
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 mobile terminal. 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. 4, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 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 external devices and transmit the received input to one or more elements within the mobile terminal 400 or may be used to transmit data between the mobile terminal 400 and external devices.
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 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 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. 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 mobile terminal 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 mobile terminal 400 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, 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 above-mentioned embodiment of the traffic control method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An 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 flow 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 (10)

1. A flow control method is applied to a mobile terminal, and is characterized in that the method comprises the following steps:
when detecting that an application program generates a network access request, identifying a page of the application program generating the network access request;
determining the network access authority corresponding to the page according to the historical data of the page;
controlling the network access request based on the network access authority of the page;
the network access authority of the page comprises an unlimited access authority, a delayed access authority and a forbidden access authority.
2. The method according to claim 1, wherein the determining the network access right corresponding to the page according to the historical data of the page comprises:
acquiring historical data of the page, wherein the historical data comprises at least one of the display times of the page, the display duration of the page and the operation frequency of a user on the page;
comparing the historical data of the page with a threshold value of unlimited access authority, a threshold value of delayed access authority and a threshold value of forbidden access authority respectively;
and determining the network access authority of the page based on the comparison result.
3. The method of claim 1, wherein when the network access rights of the page are no access rights, the method further comprises:
and when detecting that the user continuously operates the page, promoting the network access authority of the page to be delayed access authority or unlimited access authority.
4. The method of claim 1, further comprising:
detecting the type of multimedia data in a page corresponding to the network access request;
and when the type of the multimedia data in the page corresponding to the network access request is more than that of the multimedia data in the network access request, acquiring the multimedia data corresponding to the type of the multimedia data in the network access request.
5. A flow control device applied to a mobile terminal is characterized in that the device comprises:
the identification module is used for identifying the page of the application program generating the network access request when the application program is detected to generate the network access request;
the judging module is used for determining the network access authority corresponding to the page according to the historical data of the page;
the request module is used for controlling the network access request based on the network access authority of the page;
the network access authority of the page comprises an unlimited access authority, a delayed access authority and a forbidden access authority.
6. The apparatus of claim 5, wherein the determining module comprises:
the acquisition submodule is used for acquiring historical data of the page, wherein the historical data comprises at least one of the display times of the page, the display duration of the page and the operation frequency of a user on the page;
the comparison submodule is used for comparing the historical data of the page with a threshold value of unlimited access authority, a threshold value of delayed access authority and a threshold value of forbidden access authority respectively;
and the determining submodule is used for determining the network access authority of the page based on the comparison result.
7. The apparatus of claim 5, further comprising:
and the permission upgrading module is used for upgrading the network access permission of the page to be delayed access permission or unlimited access permission when the network access permission of the page is forbidden access permission and continuous operation of the page by a user is detected.
8. The apparatus of claim 5, further comprising:
the detection module is used for detecting the type of the multimedia data in the page corresponding to the network access request;
and the obtaining module is used for obtaining the multimedia data corresponding to the type of the multimedia data in the network access request when the type of the multimedia data in the page corresponding to the network access request is more than the type of the multimedia data in the network access request.
9. A mobile terminal 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 a flow control method as claimed in any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of a flow control method according to any one of claims 1 to 4.
CN201711034952.5A 2017-10-30 2017-10-30 Flow control method and device Active CN108040014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711034952.5A CN108040014B (en) 2017-10-30 2017-10-30 Flow control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711034952.5A CN108040014B (en) 2017-10-30 2017-10-30 Flow control method and device

Publications (2)

Publication Number Publication Date
CN108040014A CN108040014A (en) 2018-05-15
CN108040014B true CN108040014B (en) 2022-01-11

Family

ID=62092683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711034952.5A Active CN108040014B (en) 2017-10-30 2017-10-30 Flow control method and device

Country Status (1)

Country Link
CN (1) CN108040014B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0951198A2 (en) * 1998-04-14 1999-10-20 Nec Corporation IP multicast over a wireless ATM network
CN104468551A (en) * 2014-11-28 2015-03-25 北京奇虎科技有限公司 Method and device for saving traffic based on advertisement blocking
CN104751030A (en) * 2013-12-31 2015-07-01 中国科学院信息工程研究所 User access permission control method and device
CN105681561A (en) * 2016-01-22 2016-06-15 努比亚技术有限公司 Advertisement blocking device and method
CN106503036A (en) * 2016-09-14 2017-03-15 深圳市金立通信设备有限公司 A kind of method for downloading web data and terminal device

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4086449B2 (en) * 2000-04-28 2008-05-14 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND STORAGE MEDIUM
JP3940356B2 (en) * 2002-12-27 2007-07-04 日本アイ・ビー・エム株式会社 Proxy server, access control method, access control program
CN100416569C (en) * 2006-01-10 2008-09-03 西安交通大学 Web page metadata based formalized description method for user access behaviors
CN102043930A (en) * 2009-10-23 2011-05-04 无锡华润上华半导体有限公司 Data permission control method and system
CN102456063A (en) * 2011-03-02 2012-05-16 奇智软件(北京)有限公司 Webpage access error correction method and system
EP2700255B1 (en) * 2011-04-18 2018-02-21 Hewlett-Packard Development Company, L.P. Access control
CN103428196B (en) * 2012-12-27 2016-08-03 北京安天电子设备有限公司 A kind of WEB application intrusion detection method based on URL white list
CN104219080B (en) * 2013-06-05 2017-06-23 北京齐尔布莱特科技有限公司 A kind of website faulty page log recording method
CN104168316B (en) * 2014-08-11 2019-01-11 北京星网锐捷网络技术有限公司 A kind of Webpage access control method, gateway
CN104486505A (en) * 2014-12-16 2015-04-01 深圳市中兴移动通信有限公司 Mobile terminal, and method and device thereof for preventing data stream waste
CN106294372B (en) * 2015-05-15 2019-06-25 阿里巴巴集团控股有限公司 Application program page quick access method and the mobile terminal for applying it
CN106487708B (en) * 2015-08-25 2020-03-13 阿里巴巴集团控股有限公司 Network access request control method and device
CN106709062B (en) * 2017-01-12 2021-01-08 浪潮金融信息技术有限公司 Method for improving interactive page cache system by using multidimensional technology
CN106850683A (en) * 2017-03-22 2017-06-13 维沃移动通信有限公司 The control method and mobile terminal of a kind of application program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0951198A2 (en) * 1998-04-14 1999-10-20 Nec Corporation IP multicast over a wireless ATM network
CN104751030A (en) * 2013-12-31 2015-07-01 中国科学院信息工程研究所 User access permission control method and device
CN104468551A (en) * 2014-11-28 2015-03-25 北京奇虎科技有限公司 Method and device for saving traffic based on advertisement blocking
CN105681561A (en) * 2016-01-22 2016-06-15 努比亚技术有限公司 Advertisement blocking device and method
CN106503036A (en) * 2016-09-14 2017-03-15 深圳市金立通信设备有限公司 A kind of method for downloading web data and terminal device

Also Published As

Publication number Publication date
CN108040014A (en) 2018-05-15

Similar Documents

Publication Publication Date Title
CN108055408B (en) Application program control method and mobile terminal
CN110995923A (en) Screen projection control method and electronic equipment
CN108712561B (en) Authority management method, device, mobile terminal and storage medium
CN109194818B (en) Information processing method and terminal
CN110532764B (en) Authority processing method, mobile terminal and readable storage medium
CN110837327B (en) Message viewing method and terminal
CN107506646B (en) Malicious application detection method and device and computer readable storage medium
CN107656793B (en) Application program interface switching method and mobile terminal
CN107861669B (en) Switching method of user system and mobile terminal
CN109284144B (en) Fast application processing method and mobile terminal
CN106879055B (en) Wireless network scanning control method and related equipment
CN108491148B (en) Application sharing method and terminal
CN108037934B (en) Method and device for updating application program
CN109684825B (en) Authority management method and terminal equipment
CN109062634B (en) Application starting method and mobile terminal
CN111124223A (en) Application interface switching method and electronic equipment
CN108008892B (en) Function starting method and terminal
CN108009031B (en) Application program control method and mobile terminal
CN110990032B (en) Application program installation method and electronic equipment
CN109522741B (en) Application program permission prompting method and terminal equipment thereof
CN111026674A (en) Data storage method and electronic equipment
CN112612552B (en) Application resource loading method and device, electronic equipment and readable storage medium
CN106454953B (en) Flow control method, device and terminal
CN109992941B (en) Authority management method and terminal equipment
CN111427644B (en) Target behavior identification 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