CN110032320B - Page rolling control method and device and terminal - Google Patents

Page rolling control method and device and terminal Download PDF

Info

Publication number
CN110032320B
CN110032320B CN201910276250.0A CN201910276250A CN110032320B CN 110032320 B CN110032320 B CN 110032320B CN 201910276250 A CN201910276250 A CN 201910276250A CN 110032320 B CN110032320 B CN 110032320B
Authority
CN
China
Prior art keywords
page
target
playing
target content
content
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
CN201910276250.0A
Other languages
Chinese (zh)
Other versions
CN110032320A (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 CN201910276250.0A priority Critical patent/CN110032320B/en
Publication of CN110032320A publication Critical patent/CN110032320A/en
Application granted granted Critical
Publication of CN110032320B publication Critical patent/CN110032320B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning

Abstract

The invention discloses a page scrolling control method, a page scrolling control device and a terminal, wherein the method comprises the following steps: under the condition that a target page of a terminal is in a rolling display mode, detecting target content matched with preset keywords in the target page; playing the target content; and after the target content is played, returning to and continuing to display the target page in the scrolling mode. According to the embodiment of the invention, the target content matched with the preset keyword is detected in the rolling display mode, the target content is played, and the target page is returned and continuously displayed in the rolling display mode after the playing is finished, so that frequent manual clicking and screen sliding can be reduced, the content which is interested by a user can be automatically identified, and the user experience is improved.

Description

Page rolling control method and device and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a terminal for controlling page scrolling.
Background
With the rapid development of smart phones, the amount of data and information is increasing, how to quickly, accurately and easily acquire and read target information becomes a further pursuit of vast users, and at present, contents to be checked are manually clicked mainly through various data and information application programs. When the data and information amount is large, the method is easy to miss the interested contents; moreover, frequent manual clicks and slides of the screen to update the content are likely to cause fatigue on the limbs.
Therefore, a method, an apparatus and a terminal for controlling page scrolling are needed, which can accurately determine the content of interest of a user and alleviate the fatigue of hands and limbs caused by frequent manual clicking and screen sliding.
Disclosure of Invention
The invention provides a page scrolling control method, a page scrolling control device and a page scrolling terminal, and aims to solve the problems that when the data and information amount is large, the content which a user is interested in is easily missed, and the content is updated by frequently and manually clicking and sliding a screen, so that the hand and limb fatigue is easily caused.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a method for controlling page scrolling, including:
under the condition that a target page of a terminal is in a rolling display mode, detecting target content matched with preset keywords in the target page;
playing the target content;
and after the target content is played, returning to and continuing to display the target page in the scrolling mode.
In a second aspect, an embodiment of the present invention further provides a device for controlling page scrolling, including:
the first detection module is used for detecting target content matched with preset keywords in a target page under the condition that the target page of the terminal is in a rolling display mode;
the playing module is used for playing the target content;
and the processing module is used for returning and continuing to display the target page in the scroll display mode after the target content is played.
In a third aspect, an embodiment of the present invention further provides a terminal, including: a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program realizing the steps of the method of controlling page scrolling as described above when executed by said processor.
In the embodiment of the invention, the target content matched with the preset keyword is detected in the scroll display mode, the target content is played, and the target page is returned and continuously displayed in the scroll display mode after the playing is finished, so that frequent manual clicking and screen sliding can be reduced, the content which is interested by a user can be automatically identified, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart of a method for controlling page scrolling according to an embodiment of the present invention;
FIG. 2 is a block diagram of a page scrolling control device according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a hardware configuration of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a method for controlling page scrolling, including:
and step S1, under the condition that the target page of the terminal is in a rolling display mode, detecting the target content matched with the preset keywords in the target page.
And step S2, playing the target content.
And step S3, after the playing of the target content is finished, returning to and continuing to display the target page in the scroll display mode.
In the embodiment of the invention, the target content matched with the preset keyword is detected by the target page of the terminal in the page rolling display mode, the target content can be played according to the content type of the target content, the target page can be returned after the playing is finished, the target page is continuously displayed in the rolling display mode, frequent manual clicking and screen sliding can be reduced, the content which is interested by a user can be automatically identified, and the user experience is improved.
Prior to step S1, the method may further include:
and step S0, when the terminal enters the application program and starts the page scrolling function, acquiring the sliding distance of each sliding of the target page.
In step S0, the user may manually select to enter an application program, after entering the application program, prompt information may appear on a target page of the application program to prompt the user whether to start a page scrolling function, and if the user selects to start the page scrolling function, a sliding gesture of the user on the target page and the sliding distance for sliding the target page through the sliding gesture of the user are detected; and if the user selects not to start the page scrolling function, the user needs to manually slide the target page for reading.
After the sliding distance of each sliding of the target page is obtained, whether the sliding distances of two adjacent sliding are the same or not is detected, and the target page of the terminal is controlled to enter the rolling display mode when the sliding distances of two adjacent sliding are the same.
After the step S0, the method may further include:
when the sliding distances of the two adjacent sliding are the same, acquiring a first numerical value of the sum of the sliding distances of the two adjacent sliding and a second numerical value of the time interval of the two adjacent sliding; and acquiring a first scrolling speed in the scrolling display mode according to the first numerical value and the second numerical value.
In the above embodiment of the present invention, the first scroll speed may be: the first value is divided by the second value. The first scrolling speed is the speed of the user reading the target page, the page is scrolled at the first scrolling speed, and the page can be scrolled according to the browsing speed of the user, so that the user can finish reading the content of the current target page in the page scrolling process, personalized screen sliding operation is realized, and user experience is improved.
Further, the method may further include:
detecting the exit operation of the target page under the condition that the target page of the terminal is in the scroll display mode; and when the quitting operation meets a preset quitting condition, controlling the target page to quit the rolling display mode.
In the above embodiment of the present invention, when the scrolling speed does not allow the user to finish reading the content of the current target page, the user may exit the scrolling mode by clicking or double clicking the blank area of the target page, and when the exiting operation meets the preset exiting condition, the user may control the target page to exit the scrolling mode, and then continue the operation of step S0, so that the scrolling speed of the page suitable for the user' S automatic reading may be selected according to the reading habits of different users. The preset exit condition may be a single click or a double click on a blank area of the current target page or other operations.
Further, the method may further include:
under the condition that the target page of the terminal is in the scroll display mode, detecting the selection operation of the target page; when the selection operation meets a preset browsing condition, controlling the terminal to enter a sub-page corresponding to the selection operation in the target page; and increasing or decreasing the preset keywords according to the increasing or decreasing operation of the user when the sub-page is browsed.
In the above embodiment of the present invention, when the user automatically browses the target page in the scrolling mode, if the user has an interested content, the user may manually select a sub-page related to the specific content of the content that the user is interested in, and control the sub-page to open and browse, and during the browsing process of the user, the user may automatically analyze and identify a keyword that the user is interested in, and may prompt the user whether the keyword is an interested keyword by identifying underlines under the identified keyword, and the user may add the keyword to the feature library of the preset keyword by selecting the keyword, or may select the keyword that is not interested, and the keyword no longer prompts the user, and if the keyword exists in the feature library, the user may select to delete the preset keyword from the existing feature library. The selection operation is that the user can manually select the content of interest, the content of the keyword can be selected through operations such as double-click or single-click, and the sub-page related to the keyword is opened for reading. The increase and decrease operation is an operation that the user increases or decreases the content in the feature library of the preset keyword by selecting to increase or delete the keyword.
The preset keywords in the feature library can be divided into: preset keywords classified according to application categories, such as: the communication sociality class may include: the application programs such as the WeChat can include: keywords such as Zhang III, Li IV, party and the like; the news reading class may include: the application programs such as the headline and the internet news can include the following in the headline: reforming open and spring and evening keywords; the lifestyle service classes can include: catch up, house application such as the world, catch up including: keywords such as second-hand house and position; the class of educational learning may include: the application programs such as the internet access public class can include: keywords such as linear algebra; other categories of keyword information may also be set as desired. The preset keywords of the feature library can be from cloud backup data, locally offline stored data, dynamically increased and decreased data and the like.
Further, under the condition of the scroll display mode, detecting whether the current page is the last page or not, and if not, continuing the scroll display mode; if so, stopping page rolling, detecting whether the current page is the target page, and if so, prompting that no more content exists; if not, prompting that no more content exists, counting down for T seconds, if no operation of clicking the screen exists within the time of T seconds, stopping page scrolling, automatically returning to the target page, and continuing the operation of the step S0; if the operation of clicking the screen is performed within the time of T seconds, the page scrolling is stopped, and the operation of step S0 is continued.
Further, in step S1, the content type of the target content may include at least one of the following types: pictures, voice, video, hyperlinks, text files, and the like.
When the content type of the target content is a picture, the step S2 includes:
and displaying the target content in a full screen for a first time length. And when the playing time reaches the first time length, automatically returning to the target page, continuously displaying the target page in the scrolling mode, and performing the operation of the step S1. The first duration is the time for displaying the picture, and can be set according to needs. The playing mode of the picture is not limited to the above mode.
When the content type of the target content is voice, the step S2 includes:
and automatically playing the target content. After the playing is finished, automatically returning to the target page, continuing to display the target page in the scrolling mode, and performing the operation of step S1. The playing mode of the voice is not limited to the above mode.
When the content type of the target content is a video, the step S2 includes:
detecting the playing time length of the target content; when the playing time is less than or equal to a preset time, automatically playing the target content; when the playing time length is longer than the preset time length, carrying out first information prompt on whether the target content is played or not; and when the target content is selected to be played, playing the target content. If the user selects playing, after the playing is finished, automatically returning to the target page, continuing to display the target page in the scrolling mode, and performing the operation of the step S1; if the user selects not to play or no operation is performed within a second time length, automatically returning to the target page, continuing to display the target page in the scrolling mode, and performing the operation of the step S1; and when the playing time length is less than or equal to the preset time length, automatically playing the video, after the playing is finished, automatically returning to a target page, continuously displaying the target page in the scrolling mode, and performing the operation of the step S1. The playing mode of the video is not limited to the above mode.
When the content type of the target content is a hyperlink, the step S2 includes:
carrying out second information prompt on whether the target content is opened or not; and when the target content is selected to be opened, playing the related page of the target content. If the user selects to open, the related page of the hyperlink is opened, and the operation of step S0 is performed on the target page of the hyperlink; and if the user selects not to open or no operation is performed within the third duration, automatically returning to the target page, continuing to display the target page in the scroll display mode, and performing the operation of the step S1. The manner of playing the hyperlink is not limited to the above manner.
When the content type of the target content is a text file, the step S2 includes: and playing the text file at a second scroll speed. When the target content is a text file, the second scrolling speed may be lower than the first scrolling speed to reduce the speed of page scrolling, and the second scrolling speed may be reduced to half or other values of the first scrolling speed to facilitate reading of specific content of the text file; and detecting whether the text end content of the text file passes through the position of the initial text head, and if so, automatically returning the page scrolling speed to the first scrolling speed so as to facilitate reading of the content of the target page. The playing mode of the text file is not limited to the above mode.
As shown in fig. 2, an embodiment of the present invention further provides a device for controlling page scrolling, which is applied to a terminal 200, and the device includes:
the first detection module 201 is configured to detect a target content matched with a preset keyword in a target page of a terminal when the target page is in a scroll display mode;
a playing module 202, configured to play the target content;
and the processing module 203 is configured to return to and continue to display the target page in the scroll display mode after the playing of the target content is finished.
In an embodiment of the present invention, the apparatus further includes:
the first acquisition module is used for acquiring the sliding distance of each sliding of the target page when the terminal enters an application program and starts a page rolling function;
and the first control module is used for controlling the target page of the terminal to enter the scrolling display mode when the sliding distances of the adjacent two times of sliding are the same.
In an embodiment of the present invention, the apparatus further includes:
the second obtaining module is used for obtaining a first numerical value of the sum of the sliding distances of the two adjacent sliding times and a second numerical value of the time interval of the two adjacent sliding times when the sliding distances of the two adjacent sliding times are the same;
and the third obtaining module is used for obtaining a first scrolling speed in the page scrolling display mode according to the first numerical value and the second numerical value.
Wherein the first scroll speed is: the first value is divided by the second value.
In an embodiment of the present invention, the apparatus further includes:
the second detection module is used for detecting the selection operation of the target page under the condition that the target page of the terminal is in the page scrolling display mode;
the second control module is used for controlling the terminal to enter a sub-page corresponding to the selection operation in the target page when the selection operation meets a preset browsing condition;
and the increasing and decreasing module is used for increasing and decreasing the preset keywords according to increasing and decreasing operations of a user when the sub-page is browsed.
The apparatus may further include:
the third detection module is used for detecting the exit operation of the target page under the condition that the target page of the terminal is in the scroll display mode;
and the third control module is used for controlling the target page to exit the rolling display mode when the exit operation meets a preset exit condition.
In an embodiment of the present invention, the content type of the target content includes at least one of the following types: pictures, voice, video, hyperlinks, and text files.
In an embodiment of the present invention, when the content type of the target content is a picture, the playing module 202 includes:
and the first playing unit is used for carrying out full-screen display on the target content for a first duration.
In an embodiment of the present invention, when the content type of the target content is a voice, the playing module 202 includes:
and the second playing unit is used for automatically playing the target content.
In an embodiment of the present invention, when the content type of the target content is a video, the playing module 202 includes:
the first detection unit is used for detecting the playing time length of the target content;
and the third playing unit is used for automatically playing the target content when the playing time length is less than or equal to the preset time length.
In an embodiment of the present invention, when the content type of the target content is a video, the playing module 202 further includes:
the first prompting unit is used for prompting whether the target content is played or not when the playing time length is longer than the preset time length;
and the fourth playing unit is used for playing the target content when the target content is selected to be played.
In an embodiment of the present invention, when the content type of the target content is a hyperlink, the playing module 202 includes:
the second prompting unit is used for performing second information prompting on whether the target content is opened or not;
and the fifth playing unit is used for playing the related page of the target content when the target content is selected to be opened.
In an embodiment of the present invention, when the content type of the target content is a text file, the playing module 202 includes:
and the sixth playing unit is used for playing the text file at the second scroll speed.
It should be noted that the embodiment of the apparatus is an apparatus corresponding to the embodiment of the method, and all implementations in the embodiment of the method are applicable to the embodiment of the apparatus, and the same technical effect can be achieved.
The terminal provided by the embodiment of the present invention can implement each process implemented by the terminal in the method embodiment of fig. 1, and is not described herein again to avoid repetition.
In the embodiment of the invention, the target content matched with the preset keyword is detected in the scroll display mode, the target content is played, and the target page is returned and continuously displayed in the scroll display mode after the playing is finished, so that frequent manual clicking and screen sliding can be reduced, the content which is interested by a user can be automatically identified, and the user experience is improved.
Fig. 3 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, where the terminal 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the terminal structure shown in fig. 3 is not intended to be limiting and that the 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 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 310 is configured to detect a target content matched with a preset keyword in a target page of a terminal when the target page is in a scroll display mode;
playing the target content;
and after the target content is played, returning to and continuing to display the target page in the scrolling mode.
Optionally, the processor 310 is further configured to:
when a terminal enters an application program and a page rolling function is started, acquiring the sliding distance of each sliding of the target page;
and when the sliding distances of the two adjacent sliding are the same, controlling the target page of the terminal to enter the scrolling display mode.
Optionally, the processor 310 is further configured to:
when the sliding distances of the two adjacent sliding are the same, acquiring a first numerical value of the sum of the sliding distances of the two adjacent sliding and a second numerical value of the time interval of the two adjacent sliding;
and acquiring a first scrolling speed in the scrolling display mode according to the first numerical value and the second numerical value.
Optionally, the processor 310 is further configured to:
under the condition that the target page of the terminal is in the scroll display mode, detecting the selection operation of the target page;
when the selection operation meets a preset browsing condition, controlling the terminal to enter a sub-page corresponding to the selection operation in the target page;
and increasing or decreasing the preset keywords according to the increasing or decreasing operation of the user when the sub-page is browsed.
Optionally, the content type of the target content includes at least one of the following types: pictures, voice, video, hyperlinks, and text files.
Optionally, when the content type of the target content is a picture, the processor 310 is specifically configured to:
and displaying the target content in a full screen for a first time length.
Optionally, when the content type of the target content is a voice, the processor 310 is specifically configured to:
and automatically playing the target content.
Optionally, when the content type of the target content is a video, the processor 310 is specifically configured to:
detecting the playing time length of the target content;
and when the playing time length is less than or equal to the preset time length, automatically playing the target content.
Optionally, when the content type of the target content is a video, the processor 310 is specifically configured to:
when the playing time length is longer than the preset time length, carrying out first information prompt on whether the target content is played or not;
and when the target content is selected to be played, playing the target content.
Optionally, when the content type of the target content is a hyperlink, the processor 310 is specifically configured to:
carrying out second information prompt on whether the target content is opened or not;
and when the target content is selected to be opened, playing the related page of the target content.
Optionally, when the content type of the target content is a text file, the processor 310 is specifically configured to:
and playing the text file at a second scroll speed.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 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 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 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 301 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 302, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the terminal 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (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 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 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 301 in case of the phone call mode.
The terminal 300 also includes at least one sensor 305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or a backlight when the terminal 300 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 terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 305 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 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3061, and the Display panel 3061 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 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 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 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 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.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although the touch panel 3071 and the display panel 3061 are shown as two separate components in fig. 3 to implement the input and output functions of the terminal, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the terminal, which is not limited herein.
The interface unit 308 is an interface through which an external device is connected to the terminal 300. 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 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 300 or may be used to transmit data between the terminal 300 and an external device.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage 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 309 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 310 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the terminal. Processor 310 may include one or more processing units; preferably, the processor 310 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 310.
The terminal 300 may further include a power supply 311 (such as a battery) for supplying power to various components, and preferably, the power supply 311 may be logically connected to the processor 310 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 terminal 300 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a 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 computer program implements each process of the above-mentioned embodiment of the page scrolling control method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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 page scrolling 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 (23)

1. A method for controlling page scrolling, comprising:
under the condition that a target page of a terminal is in a rolling display mode, detecting target content matched with preset keywords in the target page;
playing the target content;
after the target content is played, returning and continuing to display the target page in the scrolling mode;
the content type of the target content includes video.
2. The method for controlling page scrolling according to claim 1, wherein before the step of detecting the target content in the target page matching the preset keyword under the condition that the target page of the terminal is in the scrolling display mode, the method further comprises:
when a terminal enters an application program and a page rolling function is started, acquiring the sliding distance of each sliding of the target page;
and when the sliding distances of the two adjacent sliding are the same, controlling the target page of the terminal to enter the scrolling display mode.
3. The method for controlling page scrolling according to claim 2, wherein after the step of obtaining the sliding distance of each sliding of the target page, the method further comprises:
when the sliding distances of the two adjacent sliding are the same, acquiring a first numerical value of the sum of the sliding distances of the two adjacent sliding and a second numerical value of the time interval of the two adjacent sliding;
and acquiring a first scrolling speed in the scrolling display mode according to the first numerical value and the second numerical value.
4. The method of controlling page scrolling according to claim 1, further comprising:
under the condition that the target page of the terminal is in the scroll display mode, detecting the selection operation of the target page;
when the selection operation meets a preset browsing condition, controlling the terminal to enter a sub-page corresponding to the selection operation in the target page;
and increasing or decreasing the preset keywords according to the increasing or decreasing operation of the user when the sub-page is browsed.
5. The method for controlling page scrolling according to claim 1, wherein the content type of the target content further comprises at least one of the following types: pictures, voice, hyperlinks, and text files.
6. The method for controlling page scrolling according to claim 5, wherein when the content type of the target content includes a picture, the step of playing the target content includes:
and displaying the target content in a full screen for a first time length.
7. The method for controlling page scrolling according to claim 5, wherein when the content type of the target content includes voice, the step of playing the target content includes:
and automatically playing the target content.
8. The method for controlling page scrolling according to claim 1, wherein said step of playing said target content comprises:
detecting the playing time length of the target content;
and when the playing time length is less than or equal to the preset time length, automatically playing the target content.
9. The method for controlling page scrolling according to claim 8, wherein said step of playing said target content further comprises:
when the playing time length is longer than the preset time length, carrying out first information prompt on whether the target content is played or not;
and when the target content is selected to be played, playing the target content.
10. The method for controlling page scrolling according to claim 5, wherein when the content type of the target content includes a hyperlink, the step of playing the target content comprises:
carrying out second information prompt on whether the target content is opened or not;
and when the target content is selected to be opened, playing the related page of the target content.
11. The method for controlling page scrolling according to claim 5, wherein when the content type of the target content includes a text file, the step of playing the target content includes:
and playing the text file at a second scroll speed.
12. A device for controlling page scrolling, comprising:
the first detection module is used for detecting target content matched with preset keywords in a target page under the condition that the target page of the terminal is in a rolling display mode;
the playing module is used for playing the target content;
the processing module is used for returning and continuing to display the target page in the scrolling mode after the target content is played;
the content type of the target content includes video.
13. The apparatus for controlling page scrolling according to claim 12, said apparatus further comprising:
the first acquisition module is used for acquiring the sliding distance of each sliding of the target page when the terminal enters an application program and starts a page rolling function;
and the first control module is used for controlling the target page of the terminal to enter the scrolling display mode when the sliding distances of the adjacent two times of sliding are the same.
14. The apparatus for controlling page scrolling according to claim 13, further comprising:
the second obtaining module is used for obtaining a first numerical value of the sum of the sliding distances of the two adjacent sliding times and a second numerical value of the time interval of the two adjacent sliding times when the sliding distances of the two adjacent sliding times are the same;
and the third obtaining module is used for obtaining the first scrolling speed in the scrolling display mode according to the first numerical value and the second numerical value.
15. The apparatus for controlling page scrolling according to claim 12, said apparatus further comprising:
the second detection module is used for detecting the selection operation of the target page under the condition that the target page of the terminal is in the scroll display mode;
the second control module is used for controlling the terminal to enter a sub-page corresponding to the selection operation in the target page when the selection operation meets a preset browsing condition;
and the increasing and decreasing module is used for increasing and decreasing the preset keywords according to increasing and decreasing operations of a user when the sub-page is browsed.
16. The apparatus for controlling page scrolling according to claim 12, wherein the content type of the target content further comprises at least one of the following types: pictures, voice, hyperlinks, and text files.
17. The apparatus for controlling page scrolling according to claim 16, wherein when the content type of the target content comprises a picture, the playing module comprises:
and the first playing unit is used for carrying out full-screen display on the target content for a first duration.
18. The apparatus for controlling page scrolling according to claim 16, wherein when the content type of the target content comprises voice, the playing module comprises:
and the second playing unit is used for automatically playing the target content.
19. The apparatus for controlling page scrolling according to claim 12, wherein said playing module comprises:
the first detection unit is used for detecting the playing time length of the target content;
and the third playing unit is used for automatically playing the target content when the playing time length is less than or equal to the preset time length.
20. The apparatus for controlling page scrolling according to claim 19, wherein said playing module further comprises:
the first prompting unit is used for prompting whether the target content is played or not when the playing time length is longer than the preset time length;
and the fourth playing unit is used for playing the target content when the target content is selected to be played.
21. The apparatus for controlling page scrolling according to claim 16, wherein when the content type of the target content comprises a hyperlink, the playing module comprises:
the second prompting unit is used for performing second information prompting on whether the target content is opened or not;
and the fifth playing unit is used for playing the related page of the target content when the target content is selected to be opened.
22. The apparatus for controlling page scrolling according to claim 16, wherein when the content type of the target content comprises a text file, the playing module comprises:
and the sixth playing unit is used for playing the text file at the second scroll speed.
23. A 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 control method of page scrolling according to any of claims 1 to 11.
CN201910276250.0A 2019-04-08 2019-04-08 Page rolling control method and device and terminal Active CN110032320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910276250.0A CN110032320B (en) 2019-04-08 2019-04-08 Page rolling control method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910276250.0A CN110032320B (en) 2019-04-08 2019-04-08 Page rolling control method and device and terminal

Publications (2)

Publication Number Publication Date
CN110032320A CN110032320A (en) 2019-07-19
CN110032320B true CN110032320B (en) 2021-01-08

Family

ID=67237758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910276250.0A Active CN110032320B (en) 2019-04-08 2019-04-08 Page rolling control method and device and terminal

Country Status (1)

Country Link
CN (1) CN110032320B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860147B (en) * 2021-02-04 2022-06-07 维沃移动通信(杭州)有限公司 Electronic equipment operation method and device and electronic equipment
CN114281460A (en) * 2021-12-23 2022-04-05 上海哔哩哔哩科技有限公司 Page display method and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218158A (en) * 2013-03-08 2013-07-24 东莞宇龙通信科技有限公司 Control method and device for page display
CN103646089B (en) * 2013-12-13 2017-07-25 百度在线网络技术(北京)有限公司 Automatic search method and device
CN104636048A (en) * 2015-01-26 2015-05-20 上海天奕达电子科技有限公司 Page content rolling display method and device
CN107770629A (en) * 2016-08-15 2018-03-06 雷韵(上海)实业有限公司 A kind of picture and video carousel method
CN107783713A (en) * 2016-08-31 2018-03-09 中兴通讯股份有限公司 A kind of scroll control method, device and mobile terminal using display interface
CN108205408B (en) * 2016-12-20 2020-08-14 腾讯科技(深圳)有限公司 Message display method and device
CN108924604A (en) * 2018-08-22 2018-11-30 百度在线网络技术(北京)有限公司 Method and apparatus for playing video

Also Published As

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

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN108415652B (en) Text processing method and mobile terminal
CN108334272B (en) Control method and mobile terminal
CN109284144B (en) Fast application processing method and mobile terminal
CN110618969B (en) Icon display method and electronic equipment
CN110989847B (en) Information recommendation method, device, terminal equipment and storage medium
CN109683768B (en) Application operation method and mobile terminal
CN110855839A (en) Message display method and electronic equipment
CN110795189A (en) Application starting method and electronic equipment
CN111124223A (en) Application interface switching method and electronic equipment
CN108984066B (en) Application icon display method and mobile terminal
CN110990679A (en) Information searching method and electronic equipment
CN108874906B (en) Information recommendation method and terminal
CN107728920B (en) Copying method and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
CN110032320B (en) Page rolling control method and device and terminal
CN111143614A (en) Video display method and electronic equipment
CN111061446A (en) Display method and electronic equipment
CN108628534B (en) Character display method and mobile terminal
CN108540649B (en) Content display method and mobile terminal
CN112217713B (en) Method and device for displaying message
CN109902232B (en) Display control method and terminal
CN110928616A (en) Shortcut icon management method and electronic equipment
CN108959382B (en) Audio and video detection method and mobile terminal
CN108287644B (en) Information display method of application program 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