CN109902232B - Display control method and terminal - Google Patents

Display control method and terminal Download PDF

Info

Publication number
CN109902232B
CN109902232B CN201910141314.6A CN201910141314A CN109902232B CN 109902232 B CN109902232 B CN 109902232B CN 201910141314 A CN201910141314 A CN 201910141314A CN 109902232 B CN109902232 B CN 109902232B
Authority
CN
China
Prior art keywords
area
target
target image
received
terminal
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
CN201910141314.6A
Other languages
Chinese (zh)
Other versions
CN109902232A (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 CN201910141314.6A priority Critical patent/CN109902232B/en
Publication of CN109902232A publication Critical patent/CN109902232A/en
Application granted granted Critical
Publication of CN109902232B publication Critical patent/CN109902232B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a display control method and a terminal, wherein the method comprises the following steps: under the condition of obtaining the refreshing operation, obtaining and storing target information; the target information comprises a target image of content displayed in a first area of the terminal screen before refreshing, the first area comprises a second area, and the second area is an area to be refreshed in the terminal screen; and after refreshing the display content of the second area, if a rollback operation is received, displaying the target image. By the display control method provided by the invention, the stored target image can be displayed under the condition of receiving the rollback operation, so that a user can conveniently view the content displayed on the screen before refreshing based on the target image, and the flexibility of viewing the content by the user is improved.

Description

Display control method and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a display control method and a terminal.
Background
As people increasingly rely on terminals to obtain information, various application manufacturers accumulate a large amount of user behavior data, so that content can be recommended to users according to the user behavior data and the like. For example, a shopping APP (Application) may recommend commodities to a user according to user behavior data, a music APP may recommend songs to the user according to the user behavior data, a news APP recommends news to the user according to the user behavior data, and the like. However, recommended content in these applications is often refreshed randomly, and once a user misses a certain recommended content, it is difficult to find the recommended content again. Therefore, the flexibility of viewing the content is poor in the prior art.
Disclosure of Invention
The embodiment of the invention provides a display control method and a terminal, which aim to solve the problem of poor flexibility in content viewing in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a display control method. The method comprises the following steps:
under the condition of obtaining the refreshing operation, obtaining and storing target information; the target information comprises a target image of content displayed in a first area of the terminal screen before refreshing, the first area comprises a second area, and the second area is an area to be refreshed in the terminal screen;
and after refreshing the display content of the second area, if a rollback operation is received, displaying the target image.
In a second aspect, an embodiment of the present invention further provides a terminal. The terminal includes:
the acquisition module is used for acquiring and storing the target information under the condition of acquiring the refreshing operation; the target information comprises a target image of content displayed in a first area of the terminal screen before refreshing, the first area comprises a second area, and the second area is an area to be refreshed in the terminal screen;
and the display module is used for displaying the target image if a backspacing operation is received after the display content of the second area is refreshed.
In a third aspect, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the display control method described above.
In a fourth aspect, 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 steps of the display control method are implemented.
In the embodiment of the invention, under the condition of obtaining the refreshing operation, target information is obtained and stored; the target information comprises a target image of content displayed in a first area of the terminal screen before refreshing, the first area comprises a second area, and the second area is an area to be refreshed in the terminal screen; and after refreshing the display content of the second area, if a rollback operation is received, displaying the target image. By storing the target image of the content displayed in the screen area before refreshing, the stored target image can be displayed under the condition of receiving the rollback operation, so that a user can conveniently view the content displayed on the screen before refreshing based on the target image, and the flexibility of viewing the content by the user 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 exercise.
Fig. 1 is a flowchart of a display control method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a terminal screen provided in an embodiment of the present invention before a display interface is refreshed;
FIG. 3 is a flowchart of a display control method according to another embodiment of the present invention;
fig. 4 is a schematic diagram of a terminal screen provided in an embodiment of the present invention after a display interface is refreshed;
FIG. 5 is a diagram illustrating a terminal screen with a display interface retracted according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a terminal screen provided in an embodiment of the present invention after a jump of a displayed interface;
FIG. 7 is a diagram of a prompt window for rollback indication according to an embodiment of the present invention;
fig. 8 is a flowchart of a display control method according to another embodiment of the present invention;
fig. 9 is a structural diagram of a terminal provided in an embodiment of the present invention;
fig. 10 is a schematic diagram of a hardware structure of a 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.
The embodiment of the invention provides a display control method. Referring to fig. 1, fig. 1 is a flowchart of a display control method according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
step 101, acquiring and storing target information under the condition of acquiring a refreshing operation; the target information comprises a target image of content displayed in a first area of the terminal screen before refreshing, the first area comprises a second area, and the second area is an area to be refreshed in the terminal screen.
In the embodiment of the present invention, the refresh operation may be used to trigger the refresh of all or a part of the area of the terminal screen. For example, a click operation on a refresh control such as "change batch" in the display content of the terminal screen is detected, or a pull-down operation on the terminal screen is detected.
The first area may be any area of the terminal screen that includes a second area, where the second area is an area to be refreshed in the terminal screen. For example, referring to fig. 2, the first area may be the second area 10, or may be all areas of the terminal screen, that is, an area including the area a, the area B, the area C, and the second area 10, or may be an area including the area B and the second area 10, and the like.
The target information may include a target image of the display content of the first area before the refresh, where the target image may be a screenshot of the first area before the refresh. It should be noted that the target images may be marked in a preset format, for example, in a format of "application name + session ID + timestamp", such as one target image marked as app1-session 1-2018102511110000.
In this step, when the refresh operation is acquired, the target image of the first region may be captured first, and the display content of the second region may be refreshed in response to the refresh operation.
And 102, after refreshing the display content of the second area, if a rollback operation is received, displaying the target image.
In an embodiment of the present invention, the rollback operation is used to instruct to perform rollback display, where the rollback operation may be a voice operation, a touch operation (e.g., a sliding operation, a long-press operation, etc.) on a terminal screen, and the like. In practical applications, the user may set a gesture for rolling back the display, for example, sliding left on the terminal screen, sliding up the refresh area, and the like.
In this step, when the display content of the second area is refreshed in response to the refresh operation, the saved target image may be displayed if a rollback operation is received, so that the user may view the content displayed before the refresh based on the target image.
In the prior art, recommended content in an application is often refreshed randomly, and when a user wants to review last recommended content when triggering a refresh function, such as a pull-down refresh or inadvertently triggering a refresh control such as 'change a batch', the recommended content is refreshed randomly, so that the last recommended content cannot be returned even if a return key is pressed, but the application is directly exited or the previous interface is returned. According to the embodiment of the invention, the target image corresponding to the content displayed before refreshing can be displayed under the condition of receiving the rollback operation, so that a user can check the content displayed before refreshing based on the target image, and the operation is convenient and fast.
In the embodiment of the present invention, the terminal may be a Computer, a mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal digital assistant (PDA for short), a Wearable Device (Wearable Device), or the like.
According to the display control method, the target information is obtained and stored under the condition that the refreshing operation is obtained; the target information comprises a target image of content displayed in a first area of the terminal screen before refreshing, the first area comprises a second area, and the second area is an area to be refreshed in the terminal screen; and after refreshing the display content of the second area, if a rollback operation is received, displaying the target image. By storing the target image of the content displayed on the screen before refreshing, the stored target image can be displayed under the condition of receiving the rollback operation, so that a user can conveniently view the content displayed on the screen before refreshing based on the target image, and the flexibility of viewing the content by the user is improved.
Referring to fig. 3, fig. 3 is a flowchart of a display control method according to an embodiment of the present invention. The difference between the embodiment of the present invention and the previous embodiment is mainly that the target information is further limited to further include a link corresponding to the first content in the display content of the second area before the refresh. In this embodiment of the present invention, after the displaying the target image if the rollback operation is received, the method may further include: and if the triggering operation of the first content is received, jumping to a page corresponding to the link.
As shown in fig. 3, the display control method provided in the embodiment of the present invention includes the following steps:
step 301, under the condition of obtaining the refreshing operation, obtaining and storing target information; the target information comprises a target image of content displayed in a first area of the terminal screen before refreshing and a link corresponding to the first content in content displayed in a second area before refreshing, the first area comprises the second area, and the second area is an area to be refreshed in the terminal screen.
In an embodiment of the present invention, the link may include a link address associated with the content displayed in the second area before the refresh, for example, a soft link address. In practical applications, for content recommended by some applications, only some summary information of the content is usually displayed, and a user can jump to a detail page of the content recommended by some applications by triggering a link of the detail page associated with the summary information of the content so as to view the detail information of the content.
The first content may be any corresponding linked content in the second area display content. The second area display content may further include second content, where the second content may be content without a link in the second area display content.
It should be noted that, when the first area is the second area, only the link corresponding to the first content in the content displayed in the second area before the refresh may be acquired, and may be associated with the area corresponding to the first content in the content displayed in the second area in the target image. In the case where the first area further includes an area other than the second area, links corresponding to respective display contents among the contents displayed in the first area may be acquired and associated with the areas corresponding to the respective display contents in the target image, respectively; the link of only the first content in the content displayed in the second area may be acquired and associated with the area corresponding to the first content in the content displayed in the second area in the target image.
For example, referring to fig. 2, if the first area includes an area a, an area B, an area C and a second area 10, a link corresponding to the content displayed in each of the area a, the area B, the area C and the second area 10 may be acquired, respectively, where the link corresponding to the content displayed in the area a is associated with the area corresponding to the area a in the target image, the link corresponding to the content displayed in the area B is associated with the area corresponding to the area B in the target image, the link corresponding to the content displayed in the area C is associated with the area corresponding to the area C in the target image, and the link corresponding to the content displayed in the second area 10 is associated with the area corresponding to the second area 10 in the target image; only the link corresponding to the content displayed in the second area 10 may be acquired, where the link corresponding to the content displayed in the second area 10 is associated with the area corresponding to the second area 10 in the target image.
Step 302, after refreshing the display content of the second area, if a rollback operation is received, displaying the target image.
This step is the same as the step 102, and is not described herein again to avoid repetition.
And step 303, if the trigger operation on the first content is received, jumping to a page corresponding to the link.
In the embodiment of the present invention, the trigger operation may be a click operation, a press operation, a slide operation, or the like. The triggering operation on the first content may be a triggering operation on an area corresponding to the first content in a target image.
For example, referring to fig. 2 and fig. 4 to 6, the content displayed in the second area 10 before the refresh is shown in fig. 2, the content displayed in the second area 10 after the refresh is shown in fig. 4, and the target image is displayed when the rollback operation is received, as shown in fig. 5, if the trigger operation for the target area 11 (i.e., the area corresponding to the first content) in the target image is received, the page 12 corresponding to the link corresponding to the target image is jumped to, as shown in fig. 6.
In the embodiment of the invention, under the condition of obtaining the refreshing operation, the target image of the content displayed in the first area before refreshing and the link of the content displayed in the second area before refreshing are obtained and stored, and after the content displayed in the second area is refreshed, if the rollback operation is received, the target image is displayed; and if the triggering operation of the third area in the target image is received, jumping to the page corresponding to the link, so that the user can conveniently view the content displayed on the interface before refreshing based on the target image, and can conveniently view the page related to the user based on the link.
Optionally, the first area is the whole area of the terminal screen, or the first area is the second area.
In this embodiment of the present invention, the first area may be all areas of the terminal screen. For example, as shown in fig. 2, the first region includes a region a, a region B, a region C, and a second region 10.
Specifically, when the first area is the whole area of the interface displayed on the terminal screen, the operation of capturing the target image in the first area is simple and convenient, and the whole interface displayed on the terminal screen can be directly captured without positioning the screen capture area.
Optionally, the first region may also be a second region. For example, as shown in fig. 2, the first region includes only the second region 10.
Specifically, under the condition that the first area is the second area, if a rollback operation is received, the target image can be displayed in the second area of the currently displayed interface of the terminal screen without adjusting the display content of other areas of the currently displayed interface of the terminal screen; the target image can also be displayed by suspending the target image on the currently displayed interface of the terminal screen, and the currently displayed interface of the terminal screen does not need to be adjusted.
Optionally, in step 102 or step 302, that is, if the rollback operation is received, displaying the target image may include:
under the condition that at least two target images are stored, if a rollback operation is received, displaying a target image stored at the time closest to a first time in the at least two target images, wherein the first time is the time when the rollback operation is received; or
Under the condition that at least two target images are stored, if backspacing operation is received, displaying the at least two target images; or
Under the condition that at least two target images are stored, if backspacing operation is received, displaying the target image corresponding to the operation parameter of the backspacing operation in the at least two target images;
and the at least two target images comprise target images stored before the content displayed in the second area is refreshed at least twice.
In this embodiment of the present invention, the at least two target images may include a target image that is saved before the content displayed in the second area is refreshed at least twice. For example, the target image saved before the content displayed in the second area is refreshed for the first time and the target image saved before the content displayed in the second area is refreshed for the second time.
In practical applications, a user usually refreshes the content displayed in a certain area of the interface for many times to find the content that the user desires to view. For example, for music recommendations, the user typically clicks on a refresh control such as "change batch" multiple times to view other recommended music. In this case, the target image of the content displayed in the area can be saved before each refresh, and a plurality of target images corresponding to the same area can be obtained.
In an embodiment, when at least two target images are saved, if a rollback operation is received, a target image which is saved most recently in the at least two target images may be displayed, so that a user may view content displayed in the second area before refreshing the last time.
After the target image stored recently in the at least two target images is displayed, if the rollback operation is received again, a first target image in the at least two target images may be displayed, where the first target image is a target image stored before the target image stored recently; if the rollback operation is received again, a second target image of the at least two target images can be displayed, wherein the second target image is a target image stored before the first target image, and the like.
In another embodiment, when at least two target images are stored, all of the at least two target images may be displayed upon receiving a rollback operation. For example, all of the at least two target images may be displayed through the floating window, which facilitates a user to quickly view all of the contents of the second region history display.
In another embodiment, when at least two target images are stored, and a rollback operation is received, a target image corresponding to an operation parameter of the rollback operation may be displayed in the at least two target images. Specifically, the correspondence between the operation parameters of the rollback operation and the saved target image may be established in advance.
For example, the operation parameter a corresponds to an object image a, and the operation parameter b corresponds to an object image b, where the object image a is the object image stored most recently, and the object image b is the object image stored before the object image a. Thereby displaying the target image a when the operation parameter of the rollback operation is the operation parameter a; when the operation parameter of the rollback operation is the operation parameter b, the target image b is displayed.
The operation parameters of the fallback operation may include a type of the fallback operation. For example, a click operation, a slide operation, or the like, at which time, when the rollback operation is a click operation, the target image a may be displayed; when the retracting operation is a sliding operation, the target image b may be displayed.
The operation parameters of the fallback operation may further include an operation parameter value of the fallback operation. For example, when the rollback operation is a sliding operation, the operation parameters thereof may include a sliding distance or a sliding duration, and when the sliding distance or the sliding duration is in a first preset interval, the target image a may be displayed; when the sliding distance or the sliding duration is within the second preset range, the target image b can be displayed.
According to the embodiment of the invention, the target image to be displayed is determined according to the operation parameters of the rollback operation, so that the display control of the target image is more flexible and convenient.
Optionally, in order to avoid that the number of the target images of the content displayed in the stored second area is too large, too much storage space is occupied, and display control of the target images is not facilitated, when the number of the target images of the content displayed in the stored second area is greater than or equal to the preset number, a new target image is stored each time, and a target image with the longest storage duration is deleted correspondingly; or deleting the target image under the condition that the storage time of the target image of the content displayed in the stored second area is greater than or equal to the preset time.
Optionally, after refreshing the display content of the second area, the method may further include: and outputting target prompt information, wherein the target prompt information is used for prompting the trigger mode of the rollback operation.
In the embodiment of the present invention, in order to prompt the user how to execute the rollback operation in time, after the display content of the second area is refreshed, target prompt information for prompting the user of a trigger mode of the rollback operation may be output. For example, referring to fig. 7, a prompt window 20 pops up to prompt the user how to perform a rollback operation. If the user touches the "i know" control, the prompt window 20 may be cancelled, and if the user touches the "set gesture" control, the user may jump to a gesture setting interface to set a gesture for triggering the rollback operation.
Optionally, after refreshing the display content of the second area, the method further includes:
under the condition that target prompt information is determined not to be output in the process of operating the target application program in the foreground, outputting the target prompt information;
the target application program is an application program corresponding to the target information, and the target prompt information is used for prompting a user to execute a rollback operation mode.
In this embodiment of the present invention, the target application may be an application corresponding to the target information, for example, if the currently stored target information is information stored when the terminal screen displays an interface of the application a, the target application is the application a. Specifically, in order to avoid that the prompt information is frequently displayed to interfere with the user, the target prompt information may be output when it is determined that the target prompt information is not output in the process of running the target application in the foreground.
Optionally, the method may further include:
deleting the target information under the condition that a preset condition is met;
wherein the preset condition comprises one of:
closing the target application program;
the duration of the target application program in background running is greater than or equal to a first preset duration;
the storage time length of the target information is greater than or equal to a second preset time length;
and the target application program is an application program corresponding to the target information.
In this embodiment of the present invention, the target application may be an application corresponding to the target information, for example, if the currently stored target information is information stored when the terminal screen displays an interface of the application a, the target application is the application a.
The first preset time and the second preset time can be reasonably set according to actual requirements. For example, the first preset time period may be 30 seconds, and the second preset time period may be 1 minute.
In order to avoid that the stored target information occupies too much storage space, the stored target information may be deleted if a preset condition is satisfied. Specifically, the target information may be deleted when the target application program exits, or the target information may be deleted when the duration of the background running of the target application program is greater than or equal to a first preset duration, or the target information may be deleted when the duration of the storage of the target information is greater than or equal to a second preset duration.
The following describes embodiments of the present invention with reference to examples:
referring to fig. 8, the display control method provided in the embodiment of the present invention includes the following steps:
step 801, enter an application page.
In this step, the terminal screen displays an application page and the session starts. The application may be any application, for example, a shopping application, a music application, a news application, and the like, and the embodiment of the present invention is described by taking a shopping application as an example.
Step 802, monitoring whether a refresh operation is triggered.
In this step, the terminal may monitor whether the page triggers a refresh operation, and may execute step 803 if it is determined that the refresh operation is triggered, otherwise, return to step 802.
And 803, intercepting the current target image and the soft link, and storing the current target image and the soft link after marking according to a preset format.
In this step, under the condition that it is determined that the refresh operation is triggered, before the region to be refreshed in the refresh page is refreshed, a target image (also referred to as a screen shot) of the current page is captured and a soft link of the current page is obtained, the target image and the soft link may be marked according to a format of "application name + session id + timestamp", and the marked target image and the soft link are stored.
And step 804, executing a refreshing operation.
In this step, a refresh operation is performed to present new content, and at this time, the page is not skipped.
Step 805, determine whether to display an over-refresh fallback indication in the application.
In this step, the refresh rollback instruction (i.e., the target hint information) is used to instruct how to perform rollback operations. In case it is determined that an indication of refresh back-off is exhibited within the present application, step 807 is performed, otherwise step 806 is performed.
Step 806, pop up a prompt box to prompt how to execute the rollback operation.
For example, referring to FIG. 7, a prompt box pops up, indicating to the user how to perform a rollback operation.
Step 807, determine whether to trigger rollback operation.
In this step, if it is determined that the rollback operation is triggered, step 808 is executed, otherwise, step 807 may be executed.
And step 808, displaying the recently saved target image.
In this step, the most recently saved target image may be determined from the timestamp of the saved target image.
And step 809, if clicking occurs, skipping according to the corresponding soft link.
In this step, if a click operation is performed on a target area of the target image, a soft link associated with the target area may be obtained, and a page corresponding to the soft link may be skipped. The target area may be any area in the target image, or may be an area in the target image corresponding to the area to be refreshed. For example, referring to fig. 5 and 6, when the user clicks the third area 11, the user jumps to the corresponding detail page, i.e. page 12.
And step 810, exiting the application, and deleting the target image and the soft link.
For example, the session may be considered to be ended when the application is exited or the application program is placed in the background for running for 1 minute and is not woken up, and at this time, the target image and the soft link generated in the session may be automatically deleted according to the mark of the snapshot.
The embodiment of the invention can ensure that the user does not miss the favorite recommended content and can also improve the recommendation effect of application manufacturers. Meanwhile, under the condition of large information quantity, important information is prevented from being lost due to misoperation refreshing of a user.
Referring to fig. 9, fig. 9 is a structural diagram of a terminal provided in an embodiment of the present invention. As shown in fig. 9, terminal 900 includes:
an obtaining module 901, configured to obtain and store target information when a refresh operation is obtained; the target information comprises a target image of content displayed in a first area of the terminal screen before refreshing, the first area comprises a second area, and the second area is an area to be refreshed in the terminal screen;
a display module 902, configured to display the target image if a rollback operation is received after the display content of the second area is refreshed.
The selectable target information also comprises a link corresponding to the first content in the display content of the second area before refreshing;
the terminal further comprises:
and the skipping module is used for skipping to a page corresponding to the link if the triggering operation of the first content is received after the target image is displayed if the backspacing operation is received.
Optionally, the first area is the whole area of the terminal screen, or the first area is the second area.
Optionally, the display module is specifically configured to:
under the condition that at least two target images are stored, if a rollback operation is received, displaying a target image stored at the time closest to a first time in the at least two target images, wherein the first time is the time when the rollback operation is received; or
Under the condition that at least two target images are stored, if backspacing operation is received, displaying the at least two target images; or
Under the condition that at least two target images are stored, if backspacing operation is received, displaying the target image corresponding to the operation parameter of the backspacing operation in the at least two target images;
and the at least two target images comprise target images stored before the content displayed in the second area is refreshed at least twice.
Optionally, the terminal further includes:
the output module is used for outputting the target prompt information under the condition that the target prompt information is not output in the process of operating the target application program in the foreground after the display content of the second area is refreshed;
the target application program is an application program corresponding to the target information, and the target prompt information is used for prompting a trigger mode of rollback operation.
Optionally, the terminal further includes:
the deleting module is used for deleting the target information under the condition that a preset condition is met;
wherein the preset condition comprises one of:
closing the target application program;
the duration of the target application program in background running is greater than or equal to a first preset duration;
the storage time length of the target information is greater than or equal to a second preset time length;
and the target application program is an application program corresponding to the target information.
The terminal 900 provided in the embodiment of the present invention can implement each process implemented by the terminal in the foregoing method embodiments, and is not described here again to avoid repetition.
The terminal 900 of the embodiment of the present invention includes an obtaining module 901, configured to obtain and store target information when a refresh operation is obtained; the target information comprises a target image of content displayed in a first area of the terminal screen before refreshing, the first area comprises a second area, and the second area is an area to be refreshed in the terminal screen; a display module 902, configured to display the target image if a rollback operation is received after the display content of the second area is refreshed. Therefore, the saved target image can be displayed under the condition of receiving the rollback operation, a user can conveniently view the content displayed on the screen before refreshing based on the target image, and the flexibility of the user in viewing the content is improved.
Fig. 10 is a schematic diagram of a hardware structure of a terminal implementing various embodiments of the present invention. Referring to FIG. 10, terminal 1000 can include, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. Those skilled in the art will appreciate that the terminal configuration shown in fig. 10 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 1010 is configured to, in a case that a refresh operation is obtained, obtain and store target information; the target information comprises a target image of content displayed in a first area of the terminal screen before refreshing, the first area comprises a second area, and the second area is an area to be refreshed in the terminal screen; and after refreshing the display content of the second area, if a rollback operation is received, displaying the target image.
According to the embodiment of the invention, the target image of the content displayed on the interface before refreshing is stored, so that the stored target image can be displayed under the condition of receiving the rollback operation, and a user can conveniently view the content displayed on the interface before refreshing based on the target image.
The selectable target information also comprises a link corresponding to the first content in the display content of the second area before refreshing;
the processor 1010 is further configured to:
and if the backspacing operation is received, after the target image is displayed, if the triggering operation of the first content is received, jumping to a page corresponding to the link.
Optionally, the first area is the whole area of the terminal screen, or the first area is the second area.
Optionally, the processor 1010 is further configured to:
under the condition that at least two target images are stored, if a rollback operation is received, displaying a target image stored at the time closest to a first time in the at least two target images, wherein the first time is the time when the rollback operation is received; or
Under the condition that at least two target images are stored, if backspacing operation is received, displaying the at least two target images; or
Under the condition that at least two target images are stored, if backspacing operation is received, displaying the target image corresponding to the operation parameter of the backspacing operation in the at least two target images;
and the at least two target images comprise target images stored before the content displayed in the second area is refreshed at least twice.
Optionally, the processor 1010 is further configured to:
after the display content of the second area is refreshed, under the condition that target prompt information is determined not to be output in the process of operating the target application program in the foreground, outputting the target prompt information;
the target application program is an application program corresponding to the target information, and the target prompt information is used for prompting a trigger mode of rollback operation.
Optionally, the processor 1010 is further configured to:
deleting the stored target information under the condition that a preset condition is met;
wherein the preset condition comprises one of:
closing the target application program;
the duration of the target application program in background running is greater than or equal to a first preset duration;
the storage time length of the target information is greater than or equal to a second preset time length;
and the target application program is an application program corresponding to the target information.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1001 may be used for receiving and sending signals during a message transmission or a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1010; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1001 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 frequency unit 1001 may also communicate with a network and other devices through a wireless communication system.
The terminal provides the user with wireless broadband internet access through the network module 1002, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 1003 may convert audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output as sound. Also, the audio output unit 1003 can provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the terminal 1000. The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1004 is used to receive an audio or video signal. The input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, the Graphics processor 10041 Processing image data of still pictures or video obtained by an image capturing device (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 1006. The image frames processed by the graphic processor 10041 may be stored in the memory 1009 (or other storage medium) or transmitted via the radio frequency unit 1001 or the network module 1002. The microphone 10042 can receive sound and can process 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 1001 in case of a phone call mode.
Terminal 1000 can also include at least one sensor 1005 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 10061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 10061 and/or a backlight when the terminal 1000 moves 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 1005 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 1006 is used to display information input by the user or information provided to the user. The Display unit 1006 may include a Display panel 10061, and the Display panel 10061 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 1007 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 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 10071 (e.g., operations by a user on or near the touch panel 10071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 10071 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 1010, and receives and executes commands sent by the processor 1010. In addition, the touch panel 10071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 10071, the user input unit 1007 can include other input devices 10072. Specifically, the other input devices 10072 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 10071 can be overlaid on the display panel 10061, and when the touch panel 10071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1010 to determine the type of the touch event, and then the processor 1010 provides a corresponding visual output on the display panel 10061 according to the type of the touch event. Although in fig. 10, the touch panel 10071 and the display panel 10061 are two independent components for implementing the input and output functions of the terminal, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated for implementing the input and output functions of the terminal, which is not limited herein.
Interface unit 1008 is an interface for connecting an external device to terminal 1000. 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. Interface unit 1008 can be used to receive input from external devices (e.g., data information, power, etc.) and transmit the received input to one or more elements within terminal 1000 or can be used to transmit data between terminal 1000 and external devices.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 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, and the like), 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 1009 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 1010 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 1009 and calling data stored in the memory 1009, thereby integrally monitoring the terminal. Processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
Terminal 1000 can also include a power supply 1011 (e.g., a battery) for powering the various components, and preferably, power supply 1011 can be logically coupled to processor 1010 through a power management system that provides management of charging, discharging, and power consumption.
In addition, terminal 1000 can include some functional blocks not shown, which are not described herein.
Preferably, an embodiment of the present invention further provides a terminal, including a processor 1010, a memory 1009, and a computer program stored in the memory 1009 and capable of running on the processor 1010, where the computer program is executed by the processor 1010 to implement each process of the foregoing display control method embodiment, 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 display control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A display control method is applied to a terminal and is characterized by comprising the following steps:
under the condition of obtaining the refreshing operation, target information is saved; the target information comprises a target image of content displayed in a first area of the terminal screen before refreshing, the first area comprises a second area, and the second area is an area to be refreshed in the terminal screen; the refreshing operation is used for triggering refreshing of a partial area of a terminal screen;
and after refreshing the display content of the second area, if a rollback operation is received, displaying the target image.
2. The method according to claim 1, wherein the target information further comprises a link corresponding to the first content in the second area display content before refreshing;
after the target image is displayed if the rollback operation is received, the method further includes:
and if the triggering operation of the first content is received, jumping to a page corresponding to the link.
3. The method according to claim 1, wherein the first area is the entire area of the terminal screen or the first area is the second area.
4. The method of claim 1, wherein displaying the target image if a rollback operation is received comprises:
under the condition that at least two target images are stored, if a rollback operation is received, displaying a target image stored at the time closest to a first time in the at least two target images, wherein the first time is the time when the rollback operation is received; or
Under the condition that at least two target images are stored, if backspacing operation is received, displaying the at least two target images; or
Under the condition that at least two target images are stored, if backspacing operation is received, displaying the target image corresponding to the operation parameter of the backspacing operation in the at least two target images;
and the at least two target images comprise target images which are stored before the display content of the second area is refreshed at least twice.
5. The method of claim 1, further comprising:
deleting the target information under the condition that a preset condition is met;
wherein the preset condition comprises one of:
closing the target application program;
the duration of the target application program in background running is greater than or equal to a first preset duration;
the storage time length of the target information is greater than or equal to a second preset time length;
and the target application program is an application program corresponding to the target information.
6. A terminal, comprising:
the acquisition module is used for acquiring and storing the target information under the condition of acquiring the refreshing operation; the target information comprises a target image of content displayed in a first area of the terminal screen before refreshing, the first area comprises a second area, and the second area is an area to be refreshed in the terminal screen; the refreshing operation is used for triggering refreshing of a partial area of a terminal screen;
and the display module is used for displaying the target image if a backspacing operation is received after the display content of the second area is refreshed.
7. The terminal according to claim 6, wherein the target information further comprises a link corresponding to the first content in the display content of the second area before refreshing;
the terminal further comprises:
and the skipping module is used for skipping to a page corresponding to the link if the triggering operation of the first content is received after the target image is displayed if the backspacing operation is received.
8. The terminal according to claim 6, wherein the first area is the whole area of the terminal screen or the first area is the second area.
9. The terminal of claim 6, wherein the display module is specifically configured to:
under the condition that at least two target images are stored, if backspacing operation is received, displaying the target image which is recently stored in the at least two target images; or
Under the condition that at least two target images are stored, if a rollback operation is received, displaying a target image stored at the time closest to a first time in the at least two target images, wherein the first time is the time when the rollback operation is received; or
Under the condition that at least two target images are stored, if backspacing operation is received, displaying the target image corresponding to the operation parameter of the backspacing operation in the at least two target images;
and the at least two target images comprise target images which are stored before the display content of the second area is refreshed at least twice.
10. The terminal of claim 6, further comprising:
the deleting module is used for deleting the target information under the condition that a preset condition is met;
wherein the preset condition comprises one of:
closing the target application program;
the duration of the target application program in background running is greater than or equal to a first preset duration;
the storage time length of the target information is greater than or equal to a second preset time length;
and the target application program is an application program corresponding to the target information.
11. A 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 the display control method according to any one of claims 1 to 5.
CN201910141314.6A 2019-02-26 2019-02-26 Display control method and terminal Active CN109902232B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910141314.6A CN109902232B (en) 2019-02-26 2019-02-26 Display control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910141314.6A CN109902232B (en) 2019-02-26 2019-02-26 Display control method and terminal

Publications (2)

Publication Number Publication Date
CN109902232A CN109902232A (en) 2019-06-18
CN109902232B true CN109902232B (en) 2021-03-23

Family

ID=66945332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910141314.6A Active CN109902232B (en) 2019-02-26 2019-02-26 Display control method and terminal

Country Status (1)

Country Link
CN (1) CN109902232B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113157753A (en) * 2021-03-12 2021-07-23 维沃移动通信有限公司 Display method and device and electronic equipment
CN117453111B (en) * 2023-12-25 2024-03-15 合肥联宝信息技术有限公司 Touch response method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488735A (en) * 2013-09-17 2014-01-01 深圳Tcl新技术有限公司 Method and terminal for refreshing and displaying pages of terminal browser
CN108563377A (en) * 2018-04-10 2018-09-21 青岛海信移动通信技术股份有限公司 The method and apparatus that switching shows the page

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011204158A (en) * 2010-03-26 2011-10-13 Sony Corp Terminal apparatus, processing system, processing method and program
US10255865B2 (en) * 2014-12-05 2019-04-09 Sharp Kabushiki Kaisha Data processing device connected with display device and control method of display device
CN106446617B (en) * 2016-09-21 2018-11-27 河南科技大学 A kind of static page access method with source file defencive function
CN106681602B (en) * 2016-11-25 2019-06-21 努比亚技术有限公司 A kind of terminal display control unit and method
CN108170329B (en) * 2017-12-01 2020-06-16 维沃移动通信有限公司 Display control method and terminal equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488735A (en) * 2013-09-17 2014-01-01 深圳Tcl新技术有限公司 Method and terminal for refreshing and displaying pages of terminal browser
CN108563377A (en) * 2018-04-10 2018-09-21 青岛海信移动通信技术股份有限公司 The method and apparatus that switching shows the page

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A Novel Web Page Change Detection Approach using SQL Server;Abu Kausar,M.等;《International Journal of Modern Education and Computer Science》;20150930;第7卷(第9期);全文 *
基于HTML5的移动阅读服务技术的研究;李青;《中国优秀硕士学位论文全文数据库信息科技辑》;20180415(第4期);全文 *

Also Published As

Publication number Publication date
CN109902232A (en) 2019-06-18

Similar Documents

Publication Publication Date Title
CN109343759B (en) Screen-turning display control method and terminal
CN109525874B (en) Screen capturing method and terminal equipment
CN109543099B (en) Content recommendation method and terminal equipment
CN109032445B (en) Screen display control method and terminal equipment
CN108279948B (en) Application program starting method and mobile terminal
CN111142991A (en) Application function page display method and electronic equipment
CN110659098B (en) Data updating method and device, terminal equipment and storage medium
CN108334272B (en) Control method and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN110099296B (en) Information display method and terminal equipment
CN108958593B (en) Method for determining communication object and mobile terminal
CN108616772B (en) Bullet screen display method, terminal and server
CN108874906B (en) Information recommendation method and terminal
CN108196781B (en) Interface display method and mobile terminal
CN111061446A (en) Display method and electronic equipment
CN109902232B (en) Display control method and terminal
CN110795002A (en) Screenshot method and terminal equipment
CN112217713B (en) Method and device for displaying message
CN110647506B (en) Picture deleting method and terminal equipment
CN110099170B (en) Picture deleting method and mobile terminal
CN109947323B (en) Terminal display method and terminal
CN109660657B (en) Application program control method and device
CN109491572B (en) Screen capturing method of mobile terminal and mobile terminal
CN109144860B (en) Operation method for control object and terminal 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