Movatterモバイル変換


[0]ホーム

URL:


CN110045892B - Display method and terminal equipment - Google Patents

Display method and terminal equipment
Download PDF

Info

Publication number
CN110045892B
CN110045892BCN201910316842.0ACN201910316842ACN110045892BCN 110045892 BCN110045892 BCN 110045892BCN 201910316842 ACN201910316842 ACN 201910316842ACN 110045892 BCN110045892 BCN 110045892B
Authority
CN
China
Prior art keywords
content
display
long screenshot
target
target area
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
CN201910316842.0A
Other languages
Chinese (zh)
Other versions
CN110045892A (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 LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201910316842.0ApriorityCriticalpatent/CN110045892B/en
Publication of CN110045892ApublicationCriticalpatent/CN110045892A/en
Application grantedgrantedCritical
Publication of CN110045892BpublicationCriticalpatent/CN110045892B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供一种显示方法及终端设备,其中方法包括:获取长截屏图片中的至少一个目标区域,其中,每个目标区域的长宽比小于所述长截屏图片的长宽比,其中,所述长宽比为长度与宽度的比值;若所述至少一个目标区域仅包括一个目标区域,则将所述目标区域的图片内容作为所述长截屏图片的缩略图的显示内容,其中,所述目标区域为所述长截屏图片中包括目标内容的区域;若所述至少一个目标区域包括至少两个目标区域,则依次将每个目标区域中的图片内容作为所述长截屏图片的缩略图的显示内容。这样,将目标区域中的图片内容作为长截屏图片的缩略图的显示内容,用户可以根据缩略图中的显示内容了解长截屏图片的内容,给用户提供方便。

Figure 201910316842

The present invention provides a display method and a terminal device, wherein the method includes: acquiring at least one target area in a long screenshot image, wherein the aspect ratio of each target area is smaller than the aspect ratio of the long screenshot image, wherein the The aspect ratio is the ratio of length to width; if the at least one target area includes only one target area, the picture content of the target area is used as the display content of the thumbnail of the long screenshot picture, wherein the The target area is the area that includes the target content in the long screenshot image; if the at least one target area includes at least two target areas, the image content in each target area is sequentially used as the thumbnail image of the long screenshot image. Display content. In this way, the picture content in the target area is used as the display content of the thumbnail of the long-screened picture, and the user can know the content of the long-screened picture according to the displayed content in the thumbnail, which provides convenience for the user.

Figure 201910316842

Description

Display method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of display, in particular to a display method and terminal equipment.
Background
With the continuous development of electronic technology, the application of terminal equipment is more and more extensive, and great convenience is brought to the life and work of people. The frequency of sharing information through terminal equipment is higher and higher for the user, compares in the limitation of sharing of characters, and the mode of picture sharing receives more and more user's liking because of its convenient and fast.
Currently, most terminal devices usually support a long screen capture function, and long screen capture pictures have a larger length-width ratio than general pictures, can contain more information, and are convenient for users to acquire or propagate information more quickly and vividly. When the long screenshot picture needs to be displayed in a thumbnail mode, the long screenshot picture is usually zoomed to the size of the thumbnail while the aspect ratio of the long screenshot picture is kept unchanged. In this way, the content displayed in the thumbnail of the long screenshot is a narrow piece of image content, so that the user cannot know the content of the long screenshot through the thumbnail.
Therefore, in the prior art, the thumbnail of the long screenshot picture cannot provide effective information of the long screenshot picture for a user.
Disclosure of Invention
The embodiment of the invention provides a display method and terminal equipment, and aims to solve the problem that in the prior art, a thumbnail of a long screenshot picture cannot provide effective information of the long screenshot picture for a user.
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 method, which is applied to a terminal device, and the method includes:
acquiring at least one target area in a long screenshot picture, wherein the aspect ratio of each target area is smaller than that of the long screenshot picture, and the aspect ratio is the ratio of the length to the width;
if the at least one target area only comprises one target area, taking the picture content of the target area as the display content of the thumbnail of the long screenshot picture under the condition that the long screenshot picture is in the thumbnail display state, wherein the target area is an area comprising the target content in the long screenshot picture;
if the at least one target area comprises at least two target areas, under the condition that the long screenshot picture is in the thumbnail display state, the picture content in each target area is sequentially used as the display content of the thumbnail of the long screenshot picture.
In a second aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring at least one target area in a long screenshot picture, the aspect ratio of each target area is smaller than that of the long screenshot picture, and the aspect ratio is the ratio of the length to the width;
the first display module is used for taking the picture content of the target area as the display content of the thumbnail of the long screenshot picture under the condition that the long screenshot picture is in the thumbnail display state if the at least one target area only comprises one target area, wherein the target area is an area comprising the target content in the long screenshot picture;
and the second display module is used for sequentially taking the picture content in each target area as the display content of the thumbnail of the long screenshot picture under the condition that the long screenshot picture is in the thumbnail display state if the at least one target area comprises at least two target areas.
In a third aspect, an embodiment of the present invention provides another terminal device, including a processor, a memory, and a computer program stored in the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the display method described above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the display method described above.
In the embodiment of the invention, the display method acquires at least one target area in a long screenshot picture, wherein the aspect ratio of each target area is smaller than that of the long screenshot picture, and the aspect ratio is the ratio of the length to the width; if the at least one target area only comprises one target area, taking the picture content of the target area as the display content of the thumbnail of the long screenshot picture under the condition that the long screenshot picture is in the thumbnail display state, wherein the target area is an area comprising the target content in the long screenshot picture; if the at least one target area comprises at least two target areas, under the condition that the long screenshot picture is in the thumbnail display state, the picture content in each target area is sequentially used as the display content of the thumbnail of the long screenshot picture. Therefore, the picture content in the target area is used as the display content of the thumbnail of the long screenshot picture, and the user can know the content of the long screenshot picture according to the display content in the thumbnail, so that convenience is brought to the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required 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 to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a flowchart of a display method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a long screenshot picture provided by an embodiment of the present invention;
FIG. 3 is a second flowchart of a display method according to an embodiment of the present invention;
FIG. 4 is one of the thumbnails of a long screenshot picture provided by an embodiment of the present invention;
FIG. 5 is a second thumbnail of a long screenshot picture provided by an embodiment of the present invention;
FIG. 6 is a third flowchart of a display method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a long screenshot picture provided in an embodiment of the present invention;
fig. 8 is one of the structural diagrams of the terminal device provided in the embodiment of the present invention;
fig. 9 is a second structural diagram of a terminal device according to the embodiment of the present invention;
fig. 10 is a third structural diagram of a terminal device according to an embodiment of the present invention;
fig. 11 is a fourth structural diagram of a terminal device according to an embodiment of the present invention;
fig. 12 is a fifth structural diagram of a terminal device according to an embodiment of the present invention;
fig. 13 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a display method provided in an embodiment of the present invention, where the display method is applied to a terminal device, and as shown in fig. 1, the display method includes the following steps:
step 101, at least one target area in a long screenshot picture is obtained, wherein the aspect ratio of each target area is smaller than the aspect ratio of the long screenshot picture, and the aspect ratio is the ratio of the length to the width.
In the embodiment of the invention, the aspect ratio of the long screenshot picture is greater than that of the display interface of the terminal equipment, wherein the aspect ratio is the ratio of the length to the width. That is, the long screenshot picture cannot be displayed on the display interface of the mobile terminal in a single page, but needs to be displayed through a plurality of continuous pages. The long screenshot picture can be a long screenshot picture obtained by the terminal device through long screenshot operation, or a long screenshot picture received by the terminal device and obtained by other terminal devices through long screenshot operation. It should be noted that, in the embodiment of the present invention, the long screenshot picture may include any picture with an aspect ratio larger than an aspect ratio of the display interface of the terminal device, and is not limited to a picture obtained through the long screenshot, for example, the long screenshot picture may include a spliced picture obtained by splicing a plurality of pictures.
In this step, when a thumbnail of a long screenshot picture needs to be displayed, the terminal device acquires at least one target region in the long screenshot picture. The at least one target region may include only one target region, or may include at least two target regions, and an aspect ratio of each target region is smaller than an aspect ratio of the long screenshot picture.
And if the at least one target area only comprises one target area, the target area is an area including target content in the long screenshot picture. If the at least one target region includes at least two target regions, the at least two target regions may include only a partial region in the long screenshot picture or all regions in the long screenshot picture, and the areas of the target regions may be equal or unequal.
The terminal device may divide the long screenshot picture into at least two regions, and then obtain at least one target region from the at least two regions. The terminal device can directly divide the long screenshot picture into at least two areas according to the length-width ratio of the long screenshot picture and the length-width ratio of the thumbnail. The terminal device may also recognize the content in the long screenshot picture first, and then divide the long screenshot picture into at least two regions according to the content in the long screenshot picture.
The terminal device may also not perform region division on the long screenshot picture, and directly select at least one target region from the long screenshot picture according to the content of the long screenshot picture. Specifically, the terminal device may also identify content in the long screenshot picture, and then select at least one target region according to the content in the long screenshot picture, for example, select a region including the target content as the target region.
Step 102, if the at least one target area only includes one target area, taking the picture content of the target area as the display content of the thumbnail of the long screenshot picture under the condition that the long screenshot picture is in the thumbnail display state, wherein the target area is an area including the target content in the long screenshot picture.
In this step, if the at least one target area only includes one target area, the target area is an area including target content in the long screenshot picture. And under the condition that the long screenshot picture is in a thumbnail display state, the mobile terminal takes the picture content of the target area as the display content of the thumbnail of the long screenshot picture.
For example, referring to fig. 2, fig. 2 is a schematic diagram of a long screenshot picture according to an embodiment of the present invention, and as shown in fig. 2, thelong screenshot picture 200 includes afirst region 201, asecond region 202, athird region 203, afourth region 204, and afifth region 205. Assuming that the at least one target region includes only thethird region 203, the terminal device takes the picture content in thethird region 203 as the display content of the thumbnail of the long-shot picture.
Step 103, if the at least one target area includes at least two target areas, sequentially taking the picture content in each target area as the display content of the thumbnail of the long screenshot picture when the long screenshot picture is in the thumbnail display state.
In this step, if the at least one target area includes at least two target areas, the terminal device sequentially uses the picture content in each target area as the display content of the thumbnail of the long screenshot picture when the long screenshot picture is in the thumbnail display state, that is, the display content of the thumbnail of the long screenshot picture is dynamically updated.
For example, assuming that the at least one target area includes afirst area 201, asecond area 202, athird area 203, and afourth area 204, the terminal device takes picture contents in thefirst area 201, thesecond area 202, thethird area 203, and thefourth area 204 as display contents of thumbnails of the long screenshot pictures in sequence.
The terminal device can display the picture contents of the at least two target areas in a stacking manner in the thumbnail of the long screenshot picture, and sequentially place the picture contents of each area on the top layer for displaying. When the at least two target areas include all areas of the long screenshot picture, the terminal device can also scroll and display the picture content in each target area in the thumbnail of the long screenshot picture.
In this embodiment of the present invention, the terminal device may be a mobile terminal device, for example: mobile phones, Tablet Personal computers (Tablet Personal Computer), Laptop computers (Laptop Computer), Personal Digital Assistants (PDA), Mobile Internet Devices (MID) or Wearable devices (Wearable Device), digital cameras, and the like; but also fixed terminal equipment such as computers and the like.
In this embodiment, the display method obtains at least one target region in a long screenshot picture, where an aspect ratio of each target region is smaller than an aspect ratio of the long screenshot picture, where the aspect ratio is a ratio of a length to a width; if the at least one target area only comprises one target area, taking the picture content of the target area as the display content of the thumbnail of the long screenshot picture under the condition that the long screenshot picture is in the thumbnail display state, wherein the target area is an area comprising the target content in the long screenshot picture; if the at least one target area comprises at least two target areas, under the condition that the long screenshot picture is in the thumbnail display state, the picture content in each target area is sequentially used as the display content of the thumbnail of the long screenshot picture. Therefore, the picture content in the target area is used as the display content of the thumbnail of the long screenshot picture, and the user can know the content of the long screenshot picture according to the display content in the thumbnail, so that convenience is brought to the user.
Optionally, if the at least one target area includes at least two target areas, sequentially taking the picture content in each target area as the display content of the thumbnail of the long screenshot picture when the long screenshot picture is in the thumbnail display state includes:
if the at least one target area comprises at least two target areas, sequencing the at least two target areas according to the content in each target area under the condition that the long screenshot picture is in the thumbnail display state;
and according to the sorted sequence, sequentially using the picture content of each target area in the at least two target areas as the display content of the thumbnail of the long screenshot picture.
In this embodiment, the terminal device sorts the at least two target regions according to the content in each target region, and then sequentially uses the picture content of each target region in the at least two target regions as the display content of the thumbnail of the long screenshot picture according to the sorted order.
For example, assuming that the at least two target areas include afirst area 201, asecond area 202, athird area 203 and afourth area 204 as shown in fig. 2, and the terminal device arranges the at least two target areas in the order of thesecond area 202, thefourth area 204, thefirst area 201 and thethird area 203, the at least two target areas may be stacked in the order shown in fig. 5.
The sorting the at least two target areas according to the content of each target area may specifically include: and sequencing the at least two target areas according to the weight corresponding to the content included in each target area. Specifically, the terminal device may store a plurality of different content sets in advance, where the different content sets correspond to different weights, and the terminal device may determine the corresponding weights according to the content set in which the content in each target area falls. For example, the content sets may include a first content set (e.g., a content set including content of interest to the user) and a second content set (e.g., a content set including content popular with the public), wherein the weight of the content in the first content set is greater than the weight of the content in the second content set. The content set may include a content set preset by the user according to the preference of the user, a content set popular with the public and acquired by the terminal device from the network, and a content set by the terminal device according to the viewing habit of the user, for example, the interest level of the user in the content is determined according to the viewing duration of each content by the user. It can be understood that, no matter which way the content set is obtained, the terminal device may continuously update the content set according to the viewing habit of the user during the display process.
In this way, the terminal device sorts the at least two target areas according to the content in each target area, and sequentially uses the picture content of each target area in the at least two target areas as the display content of the thumbnail of the long screenshot picture according to the sorted sequence, so that the content which is interested by the user can be preferentially displayed in the thumbnail, and convenience is provided for the user.
Optionally, the acquiring at least one target region in the long screenshot picture includes:
identifying content in the long screenshot picture;
and acquiring at least one target area in the long screenshot picture according to the content in the long screenshot picture, wherein the target area is an area including target content in the long screenshot picture, the target content is preset content and/or content with the frequency of occurrence ranked at the top N in the long screenshot picture, and N is a positive integer.
In this embodiment, the terminal device identifies the content in the long screenshot picture, and acquires the at least one target area according to the content in the long screenshot picture. The at least one target area is an area including target content in the long screenshot picture, the target content is preset content and/or content with the appearance frequency ranking at the top N in the long screenshot picture, and N is a positive integer. The preset content can be preset content which is interesting to the user and/or content popular with the public. The identifying the content in the long screenshot picture comprises identifying text content and/or image content in the long screenshot picture.
Therefore, the target content included in the long screenshot picture can be displayed in the thumbnail of the long screenshot picture, effective information in the long screenshot picture can be efficiently displayed, a user can conveniently know the content of the long screenshot picture through the thumbnail, and the user can decide whether to further check the long screenshot picture according to the thumbnail, so that convenience is brought to the user.
It can be understood that, if the at least one target area only includes one target area, the one target area includes preset content and/or content with the highest frequency of occurrence, so that the preset content and/or the content with the highest frequency of occurrence included in the long screenshot picture is displayed in the thumbnail, and a user can know the content of the long screenshot picture according to the display content in the thumbnail, so that whether to further view the long screenshot picture can be determined according to the content displayed in the thumbnail, thereby providing convenience for the user.
Optionally, if the at least one target area includes at least two target areas, sequentially taking the picture content in each target area as the display content of the thumbnail of the long screenshot picture when the long screenshot picture is in the thumbnail display state includes:
if the at least one target area comprises at least two target areas, under the condition that the long screenshot picture is in the thumbnail display state, the picture content in each target area is displayed in a rolling mode in the thumbnail of the long screenshot picture.
In this embodiment, if the at least one target area includes at least two target areas, and the at least two target areas are consecutive areas, for example (the terminal device divides the long screenshot picture into at least two target areas, that is, the at least two target areas include all areas of the long screenshot picture). And the terminal equipment displays the picture content in each target area in a rolling manner in the thumbnail of the long screenshot picture under the condition that the long screenshot picture is in the thumbnail display state.
Therefore, the terminal equipment displays the picture content in each target area in the long screenshot thumbnail in a rolling mode, the picture content in each target area can be displayed clearly, and a user can know the content in the long screenshot picture through the thumbnail, so that convenience is brought to the user.
Referring to fig. 3, fig. 3 is a second flowchart of a display method provided in an embodiment of the present invention, where the method is applied to a terminal device, and a main difference between this embodiment and the embodiment shown in fig. 1 is that a thumbnail display manner when the at least one target area includes at least two target areas is specifically defined in this embodiment, as shown in fig. 3, the method includes the following steps:
step 301, obtaining at least one target region in the long screenshot picture, wherein an aspect ratio of each target region is smaller than an aspect ratio of the long screenshot picture, and the aspect ratio is a ratio of a length to a width.
Step 302, if the at least one target area only includes one target area, taking the picture content of the target area as the display content of the thumbnail of the long screenshot picture when the long screenshot picture is in the thumbnail display state, wherein the target area is an area including the target content in the long screenshot picture.
Step 301 and step 302 are the same asstep 101 and step 102 in the embodiment shown in fig. 1 of the present invention, and are not described again here.
Step 303, if the at least one target area includes at least two target areas, stacking and displaying the picture contents of the at least two target areas in the thumbnail of the long screenshot picture under the condition that the long screenshot picture is in the thumbnail display state, and sequentially placing the picture contents of each target area on the top layer for display.
In this step, if the at least one target area includes at least two target areas, the terminal device displays the picture contents of the at least two target areas in a stack manner in the thumbnail of the long screenshot picture under the condition that the long screenshot picture is in the thumbnail display state, and sequentially places the picture contents of each target area on the top layer for display.
In this embodiment, when the long screenshot picture is in the thumbnail display state, the terminal device displays the picture contents of the at least two target areas in a stack manner in the thumbnail of the long screenshot picture, and sequentially places the picture contents of each target area on the top layer for display. The terminal device can display the picture content of one target area on the top layer at preset time intervals. For example, assuming that the at least two target areas include afirst area 201, asecond area 202, athird area 203 and afourth area 204 as shown in fig. 2, the thumbnail of the long screenshot picture may be as shown in fig. 4, wherein the terminal device may sequentially place the picture content of each target area on the top layer for display.
The terminal device may display the picture contents of the at least two target areas in a stacking manner according to a default order of the at least two target areas (for example, a display order of the at least two target areas in the long screenshot picture); the at least two target areas can also be sequentially arranged according to the content of each target area, and then the picture contents of the at least two target areas are stacked and displayed according to the arranged sequence. For example, assuming that the at least two target regions include afirst region 201, asecond region 202, athird region 203 and afourth region 204 as shown in fig. 2, thefirst region 201, thesecond region 202, thethird region 203 and thefourth region 204 may be stacked in the order shown in fig. 4, or may be stacked in the order shown in fig. 5.
In this embodiment, the display method obtains at least one target region in a long screenshot picture, where an aspect ratio of each target region is smaller than an aspect ratio of the long screenshot picture, where the aspect ratio is a ratio of a length to a width; if the at least one target area only comprises one target area, taking the picture content of the target area as the display content of the thumbnail of the long screenshot picture under the condition that the long screenshot picture is in the thumbnail display state, wherein the target area is an area comprising the target content in the long screenshot picture; if the at least one target area comprises at least two target areas, under the condition that the long screenshot picture is in the thumbnail display state, the picture contents of the at least two target areas are displayed in a stacking mode in the thumbnail of the long screenshot picture, and the picture contents of each target area are sequentially placed on the top layer to be displayed. Therefore, if the at least one target area comprises at least two target areas, the picture content of each target area is sequentially placed on the top layer in the thumbnail to be displayed, and a user can know the content of the long screenshot picture according to the display content in the thumbnail, so that convenience is brought to the user.
Referring to fig. 6, fig. 6 is a second flowchart of a display method provided in an embodiment of the present invention, where the method is applied to a terminal device, and the main difference between this embodiment and the embodiment shown in fig. 1 is that the at least one target area in this embodiment only includes one target area, and as shown in fig. 6, the method includes the following steps:
step 601, obtaining at least one target area in the long screenshot picture, wherein an aspect ratio of each target area is smaller than an aspect ratio of the long screenshot picture, and the aspect ratio is a ratio of a length to a width.
Step 602, if the at least one target area only includes one target area, taking the picture content of the target area as the display content of the thumbnail of the long screenshot picture when the long screenshot picture is in the thumbnail display state, where the target area is an area including the target content in the long screenshot picture.
Step 601 and step 602 are the same asstep 101 and step 102 in the embodiment shown in fig. 1 of the present invention, and are not described again here.
Step 603, receiving a first input for viewing the long screenshot picture.
When a user needs to view the detailed content of the long screenshot picture, a first input may be performed on the thumbnail of the long screenshot picture, where the first input is used to view the detailed content of the long screenshot picture, and for example, the first input may include a click operation on the thumbnail of the long screenshot picture.
Step 604, responding to the first input, and displaying a partial area of the long screenshot picture, wherein the partial area comprises the target area.
In this step, the terminal device displays a partial region of the long screenshot picture in response to the first input, where the partial region includes the target region. Namely, when the first input is received, displaying a partial area of the long screenshot picture by default, wherein the partial area comprises the target area.
It can be understood that the target area includes contents that may be of interest to the user and/or main contents in the long screenshot picture, and the terminal device displays the long screenshot picture to the target area in a positioning manner when displaying the long screenshot picture, so that the target area of the long screenshot picture can be quickly positioned, the user does not need to spend extra time to find the target area, and convenience is provided for the user.
In this embodiment, the display method obtains at least one target region in a long screenshot picture, where an aspect ratio of each target region is smaller than an aspect ratio of the long screenshot picture, where the aspect ratio is a ratio of a length to a width; if the at least one target area only comprises one target area, taking the picture content of the target area as the display content of the thumbnail of the long screenshot picture under the condition that the long screenshot picture is in the thumbnail display state, wherein the target area is an area comprising the target content in the long screenshot picture; receiving a first input for viewing the long screenshot picture; in response to the first input, displaying a partial region of the long screenshot picture, the partial region including the target region. Therefore, the target area of the long screenshot picture can be quickly positioned, the user does not need to spend extra time to search the target area, and convenience is brought to the user.
Optionally, before the obtaining of the at least one target region in the long screenshot picture, the method further includes:
dividing the long screenshot picture into at least two regions;
identifying content in each region and determining tag information for each region based on the content in each region;
after the displaying a partial region of the long screenshot picture in response to the first input, the partial region including the target region, the method further comprises:
displaying a tag list on a display interface of the long screenshot picture, and marking tag information corresponding to a currently displayed area in the long screenshot picture, wherein the tag list comprises tag information of each area;
receiving a second input of target tag information in the tag list;
and responding to the second input, and displaying a region corresponding to the target label information in the long screenshot picture.
In this embodiment, before acquiring a target region in the long screenshot picture, the terminal device divides the long screenshot picture into at least two regions, identifies content in each region, and determines tag information for each region according to the content in each region. The tag information may include keyword information and/or category information. The terminal device may determine a keyword for each region according to the content in each region, and/or classify each region according to the content in each region, and determine category information for each region.
When the terminal equipment displays the long screenshot picture, a tag list is further displayed on a display interface of the long screenshot picture, and tag information corresponding to a currently displayed area of the long screenshot picture is marked, wherein the tag list comprises tag information of each area. For example, assume that the tag information corresponding to thefirst region 201, thesecond region 202, thethird region 203, thefourth region 204, and thefifth region 205 in the long screenshot picture shown in fig. 2 are: clothing, food, travel, star and sports, and the terminal device displays the tag list shown in fig. 7 on the display interface of the long screenshot picture. As shown in fig. 7, when the currently displayed region of the long screenshot is thethird region 203, the terminal device marks the label information corresponding to the third region 203 (for example, "travel" shown in fig. 7), so that the user can know the label information of the currently displayed region of the long screenshot conveniently.
It is understood that the tag information in the tag list can also be used to locate to the area corresponding to the tag information. Specifically, the terminal device may receive a second input of target tag information, and in response to the second input, position the long screenshot picture to an area corresponding to the target tag information. For example, when the terminal device receives a second input of the tag information "food" from the user, the terminal device may display the long screenshot picture in a positioning manner in thesecond area 202 corresponding to the tag information "food". Therefore, the user can directly switch the display content of the long screenshot picture through the tag list, and convenience is provided for the user.
In some embodiments of the present invention, the terminal device may further provide a first entry on the display interface of the long screenshot, where the first entry is used to trigger the terminal device to search (for example, search locally or on the network) for information associated with first tag information, where the first tag information is tag information corresponding to a current display area of the long screenshot. In this way, the user can obtain information related to the currently viewed content through the first portal.
In some embodiments of the present invention, when the long screenshot picture displays a region corresponding to first tag information, the terminal device may further obtain operation information corresponding to the first tag information, and provide a user interface on a display interface of the long screenshot picture for a user to select whether to execute the operation information corresponding to the first tag information. The operation information corresponding to the first tag information may include a habit operation of a user for the content of the first tag information, and the operation information corresponding to the first tag information may be set by the user according to a usage habit of the user, or may be obtained by analyzing, by the terminal device, an operation performed by the user when viewing the area content corresponding to the first tag information multiple times. For example, assuming that the user selects the screenshot to store when viewing the content of the tag information "food" many times, the terminal device may record the operation information corresponding to the tag information "food" as the screenshot to store, and when the long screenshot image displays the area corresponding to the tag information "food", the terminal device may prompt the user on the display interface of the long screenshot image whether to perform the screenshot storing operation on the currently displayed content. Therefore, operation options which are possibly required to be executed by the user can be provided for the user according to the using habits of the user, the operation of the user can be simplified, the operation time of the user is saved, and convenience is provided for the user.
Optionally, the terminal device includes a first display screen and a second display screen, and the displaying, in response to the first input, a partial region of the long screenshot picture, the partial region including the target region, includes:
responding to the first input, displaying a partial area of the long screenshot picture on the first display screen, and displaying the picture content of the target area on the second display screen in an enlarged mode according to a preset proportion.
In this embodiment, the terminal device includes a first display screen and a second display screen, and the displaying, in response to the first input, a partial region of the long screenshot picture, where the partial region includes the target region, specifically includes: responding to the first input, displaying a partial area of the long screenshot picture on the first display screen, and displaying the picture content of the target area on the second display screen in an enlarged mode according to a preset proportion.
Therefore, when the user cannot view the detail content of the target area on the first display screen, the user can directly view the detail content from the second display screen without amplifying the long screenshot picture, and convenience is brought to the user.
It can be understood that, in this embodiment, when the area of the long screenshot picture displayed by the first display screen is updated, the second display screen is updated according to the display content of the first display screen, that is, the second display screen displays the current display content in the first display screen in an enlarged manner at a preset ratio.
Referring to fig. 8, fig. 8 is a structural diagram of a terminal device according to an embodiment of the present invention, which can implement details of a display method in the foregoing embodiment and achieve the same effect. As shown in fig. 8, theterminal device 800 includes an obtainingmodule 801, afirst display module 802 and asecond display module 803, wherein thefirst display module 802 is connected to the obtainingmodule 801 and thesecond display module 803 respectively, and wherein:
an obtainingmodule 801, configured to obtain at least one target region in a long screenshot picture, where an aspect ratio of each target region is smaller than an aspect ratio of the long screenshot picture, where the aspect ratio is a ratio of a length to a width;
afirst display module 802, configured to, if the at least one target area only includes one target area, use, when the long screenshot picture is in a thumbnail display state, the picture content of the target area as the display content of the thumbnail of the long screenshot picture, where the target area is an area of the long screenshot picture that includes the target content;
asecond display module 803, configured to, if the at least one target area includes at least two target areas, sequentially use the picture content in each target area as the display content of the thumbnail of the long screenshot picture when the long screenshot picture is in the thumbnail display state.
Optionally, thesecond display module 803 is specifically configured to:
if the at least one target area comprises at least two target areas, under the condition that the long screenshot picture is in the thumbnail display state, the picture contents of the at least two target areas are displayed in a stacking mode in the thumbnail of the long screenshot picture, and the picture contents of each target area are sequentially placed on the top layer to be displayed.
Optionally, referring to fig. 9, fig. 9 is a second schematic structural diagram of the terminal device according to the embodiment of the present invention, and as shown in fig. 9, thesecond display module 803 includes:
asorting unit 8031, configured to, if the at least one target area includes at least two target areas, sort the at least two target areas according to content in each target area when the long screenshot picture is in a thumbnail display state;
thedisplay unit 8032 is configured to sequentially use, according to the sorted order, the picture content of each of the at least two target areas as the display content of the thumbnail of the long screenshot picture.
Optionally, referring to fig. 10, fig. 10 is a third schematic structural diagram of a terminal device according to an embodiment of the present invention, and as shown in fig. 10, the obtainingmodule 801 includes:
an identifyingunit 8011, configured to identify content in the long screenshot picture;
an obtainingunit 8012, configured to obtain at least two target regions in the long screenshot picture according to the content in the long screenshot picture, where the target regions are regions in the long screenshot picture that include target content, the target content is preset content and/or content with a frequency of occurrence ranked at the top N in the long screenshot picture, and N is a positive integer.
Optionally, thesecond display module 803 is specifically configured to:
if the at least one target area comprises at least two target areas, under the condition that the long screenshot picture is in the thumbnail display state, the picture content in each target area is displayed in a rolling mode in the thumbnail of the long screenshot picture.
Optionally, referring to fig. 11, fig. 11 is a fourth schematic structural diagram of a terminal device according to an embodiment of the present invention, as shown in fig. 11, if the at least one target area only includes one target area, theterminal device 800 further includes:
afirst receiving module 804, configured to receive a first input for viewing the long screenshot picture;
athird display module 805 configured to display a partial region of the long screenshot picture in response to the first input, the partial region including the target region.
Optionally, referring to fig. 12, fig. 12 is a fifth schematic structural diagram of a terminal device according to an embodiment of the present invention, and as shown in fig. 12, theterminal device 800 further includes:
adividing module 806, configured to divide the long screenshot picture into at least two regions;
a determiningmodule 807 for identifying the content in each region and determining tag information for each region according to the content in each region;
afourth display module 808, configured to display a tag list on a display interface of the long screenshot picture, and mark tag information corresponding to a currently displayed area in the long screenshot picture, where the tag list includes tag information of each area;
asecond receiving module 809, configured to receive a second input of target tag information in the tag list;
afifth display module 810, configured to display, in response to the second input, a region corresponding to the target tag information in the long screenshot picture.
Optionally, the terminal device includes a first display screen and a second display screen, and thethird display module 805 is specifically configured to:
responding to the first input, displaying a partial area of the long screenshot picture on the first display screen, wherein the partial area comprises the target area, and displaying the picture content of the target area on the second display screen in an enlarged mode according to a preset proportion.
In this embodiment, the terminal device acquires at least one target region in a long screenshot picture, where an aspect ratio of each target region is smaller than an aspect ratio of the long screenshot picture, where the aspect ratio is a ratio of a length to a width; if the at least one target area only comprises one target area, taking the picture content of the target area as the display content of the thumbnail of the long screenshot picture under the condition that the long screenshot picture is in the thumbnail display state, wherein the target area is an area comprising the target content in the long screenshot picture; if the at least one target area comprises at least two target areas, under the condition that the long screenshot picture is in the thumbnail display state, the picture content in each target area is sequentially used as the display content of the thumbnail of the long screenshot picture. Therefore, the picture content in the target area is used as the display content of the thumbnail of the long screenshot picture, and the user can know the content of the long screenshot picture according to the display content in the thumbnail, so that convenience is brought to the user.
Fig. 13 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention, and as shown in fig. 13, theterminal device 1300 includes, but is not limited to: aradio frequency unit 1301, anetwork module 1302, anaudio output unit 1303, aninput unit 1304, asensor 1305, adisplay unit 1306, auser input unit 1307, aninterface unit 1308, amemory 1309, aprocessor 1310, apower supply 1311, and the like. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 13 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
Wherein, theprocessor 1310 is configured to:
acquiring at least one target area in a long screenshot picture, wherein the aspect ratio of each target area is smaller than that of the long screenshot picture, and the aspect ratio is the ratio of the length to the width;
if the at least one target area only comprises one target area, taking the picture content of the target area as the display content of the thumbnail of the long screenshot picture under the condition that the long screenshot picture is in the thumbnail display state, wherein the target area is an area comprising the target content in the long screenshot picture;
if the at least one target area comprises at least two target areas, under the condition that the long screenshot picture is in the thumbnail display state, the picture content in each target area is sequentially used as the display content of the thumbnail of the long screenshot picture.
Optionally, if the at least one target region includes at least two target regions, the step of sequentially taking the picture content in each target region as the display content of the thumbnail of the long screenshot picture when the long screenshot picture is in the thumbnail display state includes:
if the at least one target area comprises at least two target areas, under the condition that the long screenshot picture is in the thumbnail display state, the picture contents of the at least two target areas are displayed in a stacking mode in the thumbnail of the long screenshot picture, and the picture contents of each target area are sequentially placed on the top layer to be displayed.
Optionally, if the at least one target region includes at least two target regions, the step of sequentially taking the picture content in each target region as the display content of the thumbnail of the long screenshot picture when the long screenshot picture is in the thumbnail display state includes:
if the at least one target area comprises at least two target areas, sequencing the at least two target areas according to the content in each target area under the condition that the long screenshot picture is in the thumbnail display state;
and according to the sorted sequence, sequentially using the picture content of each target area in the at least two target areas as the display content of the thumbnail of the long screenshot picture.
Optionally, the acquiring of the at least one target region in the long screenshot picture performed by theprocessor 1310 includes:
identifying content in the long screenshot picture;
and acquiring at least one target area in the long screenshot picture according to the content in the long screenshot picture, wherein the target area is an area including target content in the long screenshot picture, the target content is preset content and/or content with the frequency of occurrence ranked at the top N in the long screenshot picture, and N is a positive integer.
Optionally, if the at least one target region includes at least two target regions, the step of sequentially taking the picture content in each target region as the display content of the thumbnail of the long screenshot picture when the long screenshot picture is in the thumbnail display state includes:
if the at least one target area comprises at least two target areas, under the condition that the long screenshot picture is in the thumbnail display state, the picture content in each target area is displayed in a rolling mode in the thumbnail of the long screenshot picture.
Optionally, if the at least one target region only includes one target region, theprocessor 1310 may further perform the following steps after taking the picture content of the target region as the display content of the thumbnail of the long screenshot picture when the long screenshot picture is in the thumbnail display state:
receiving a first input for viewing the long screenshot picture;
in response to the first input, displaying a partial region of the long screenshot picture, the partial region including the target region.
Optionally, before theprocessor 1310 executes the step of acquiring at least one target region in the long screenshot picture, the following steps may be further implemented:
dividing the long screenshot picture into at least two regions;
identifying content in each region and determining tag information for each region based on the content in each region;
after the displaying a partial region of the long screenshot picture in response to the first input, the partial region including the target region, the method further comprises:
displaying a tag list on a display interface of the long screenshot picture, and marking tag information corresponding to a currently displayed area in the long screenshot picture, wherein the tag list comprises tag information of each area;
receiving a second input of target tag information in the tag list;
and responding to the second input, and displaying a region corresponding to the target label information in the long screenshot picture.
Optionally, the terminal device includes a first display screen and a second display screen, and the displaying, performed by theprocessor 1310, a partial region of the long screenshot picture in response to the first input, the partial region including the target region, includes:
responding to the first input, displaying a partial area of the long screenshot picture on the first display screen, and displaying the picture content of the target area on the second display screen in an enlarged mode according to a preset proportion.
In the embodiment of the invention, the terminal equipment acquires at least one target area in a long screenshot picture, wherein the aspect ratio of each target area is smaller than that of the long screenshot picture, and the aspect ratio is the ratio of the length to the width; if the at least one target area only comprises one target area, taking the picture content of the target area as the display content of the thumbnail of the long screenshot picture under the condition that the long screenshot picture is in the thumbnail display state, wherein the target area is an area comprising the target content in the long screenshot picture; if the at least one target area comprises at least two target areas, under the condition that the long screenshot picture is in the thumbnail display state, the picture content in each target area is sequentially used as the display content of the thumbnail of the long screenshot picture. Therefore, the picture content in the target area is used as the display content of the thumbnail of the long screenshot picture, and the user can know the content of the long screenshot picture according to the display content in the thumbnail, so that convenience is brought to the user.
It should be understood that, in the embodiment of the present invention, theradio frequency unit 1301 may be configured to receive and transmit signals during a message transmission or call process, and specifically, receive downlink data from a base station and then process the received downlink data to theprocessor 1310; in addition, the uplink data is transmitted to the base station. In general,radio unit 1301 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, theradio frequency unit 1301 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through thenetwork module 1302, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
Theaudio output unit 1303 can convert audio data received by theradio frequency unit 1301 or thenetwork module 1302 or stored in thememory 1309 into an audio signal and output as sound. Also, theaudio output unit 1303 can also provide audio output related to a specific function performed by the terminal apparatus 1300 (e.g., a call signal reception sound, a message reception sound, and the like). Theaudio output unit 1303 includes a speaker, a buzzer, a receiver, and the like.
Theinput unit 1304 is used to receive audio or video signals. Theinput Unit 1304 may include a Graphics Processing Unit (GPU) 13041 and amicrophone 13042, and theGraphics processor 13041 processes image data of still pictures or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on thedisplay unit 1306. The image frames processed by thegraphic processor 13041 may be stored in the memory 1309 (or other storage medium) or transmitted via theradio frequency unit 1301 or thenetwork module 1302. Themicrophone 13042 can receive sounds and can process such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via theradio frequency unit 1301 in case of a phone call mode.
Terminal device 1300 also includes at least onesensor 1305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of thedisplay panel 13061 according to the brightness of ambient light, and a proximity sensor that turns off thedisplay panel 13061 and/or backlight when theterminal device 1300 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 device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; thesensors 1305 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.
Thedisplay unit 1306 is used to display information input by a user or information provided to the user. TheDisplay unit 1306 may include aDisplay panel 13061, and theDisplay panel 13061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Theuser input unit 1307 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 device. Specifically, theuser input unit 1307 includes atouch panel 13071 andother input devices 13072.Touch panel 13071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user ontouch panel 13071 ornear touch panel 13071 using a finger, stylus, or any other suitable object or attachment). Thetouch panel 13071 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 theprocessor 1310, and receives and executes commands sent from theprocessor 1310. In addition, thetouch panel 13071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. Theuser input unit 1307 may includeother input devices 13072 in addition to thetouch panel 13071. In particular, theother input devices 13072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, thetouch panel 13071 can be overlaid on thedisplay panel 13061, and when thetouch panel 13071 detects a touch operation on or near the touch panel, the touch operation can be transmitted to theprocessor 1310 to determine the type of the touch event, and then theprocessor 1310 can provide a corresponding visual output on thedisplay panel 13061 according to the type of the touch event. Although in fig. 13, thetouch panel 13071 and thedisplay panel 13061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, thetouch panel 13071 and thedisplay panel 13061 may be integrated to implement the input and output functions of the terminal device, and are not limited herein.
Theinterface unit 1308 is an interface for connecting an external device to theterminal apparatus 1300. 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 1308 can be used to receive input from an external device (e.g., data information, power, etc.) and transmit the received input to one or more elements withinterminal apparatus 1300 or can be used to transmit data betweenterminal apparatus 1300 and an external device.
Thememory 1309 may be used to store software programs as well as various data. Thememory 1309 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, thememory 1309 can include high-speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
Theprocessor 1310 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in thememory 1309 and calling data stored in thememory 1309, thereby performing overall monitoring of the terminal device.Processor 1310 may include one or more processing units; preferably, theprocessor 1310 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 intoprocessor 1310.
Theterminal device 1300 may further include a power supply 1311 (e.g., a battery) for supplying power to the various components, and preferably, thepower supply 1311 may be logically connected to theprocessor 1310 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, theterminal device 1300 includes some functional modules that are not shown, and are not described herein again.
Preferably, an embodiment of the present invention further provides a terminal device, including aprocessor 1310, amemory 1309, and a computer program stored in thememory 1309 and capable of running on theprocessor 1310, where the computer program, when executed by theprocessor 1310, implements each process executed by the terminal device in the foregoing display method embodiment, and can achieve the same technical effect, and details are not described here to avoid repetition.
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 display 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 device (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.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (11)

Translated fromChinese
1.一种显示方法,应用于终端设备,其特征在于,所述方法包括:1. A display method, applied to a terminal device, wherein the method comprises:获取长截屏图片中的至少一个目标区域,其中,每个目标区域的长宽比小于所述长截屏图片的长宽比,其中,所述长宽比为长度与宽度的比值;acquiring at least one target area in the long screenshot picture, wherein the aspect ratio of each target area is smaller than the aspect ratio of the long screenshot picture, wherein the aspect ratio is the ratio of length to width;若所述至少一个目标区域仅包括一个目标区域,则在所述长截屏图片处于缩略图显示状态的情况下,将所述目标区域的图片内容作为所述长截屏图片的缩略图的显示内容,其中,所述目标区域为所述长截屏图片中包括目标内容的区域;If the at least one target area includes only one target area, in the case that the long screenshot image is in a thumbnail display state, the image content of the target area is used as the display content of the thumbnail of the long screenshot image, Wherein, the target area is the area including the target content in the long screen shot;若所述至少一个目标区域包括至少两个目标区域,则在所述长截屏图片处于缩略图显示状态的情况下,依次将每个目标区域中的图片内容作为所述长截屏图片的缩略图的显示内容;If the at least one target area includes at least two target areas, in the case that the long screenshot image is in a thumbnail display state, the image content in each target area is sequentially used as the thumbnail image of the long screenshot image. Display content;所述获取所述长截屏图片中的至少一个目标区域,包括:The acquiring at least one target area in the long screenshot image includes:识别所述长截屏图片中的内容;identifying the content in the long screen shot;根据所述长截屏图片中的内容获取所述长截屏图片中的至少一个目标区域,其中,所述目标区域为所述长截屏图片中包括目标内容的区域,所述目标内容为预设内容和/或所述长截屏图片中出现频率排名在前N的内容,N为正整数;Acquire at least one target area in the long screenshot image according to the content in the long screenshot image, wherein the target area is an area in the long screenshot image including target content, and the target content is preset content and / or the content that appears in the top N in the long screenshot image, where N is a positive integer;所述若所述至少一个目标区域仅包括一个目标区域,则在所述长截屏图片处于缩略图显示状态的情况下,将所述目标区域的图片内容作为所述长截屏图片的缩略图的显示内容之后,所述方法还包括:If the at least one target area includes only one target area, in the case that the long screenshot image is in a thumbnail display state, use the image content of the target area as the display of the thumbnail of the long screenshot image After the content, the method further includes:接收用于查看所述长截屏图片的第一输入;receiving a first input for viewing the long screenshot;响应于所述第一输入,显示所述长截屏图片的部分区域,所述部分区域包括所述目标区域;In response to the first input, displaying a partial area of the long screen shot, the partial area including the target area;所述获取所述长截屏图片中的至少一个目标区域之前,所述方法还包括:Before acquiring at least one target area in the long screen shot, the method further includes:将所述长截屏图片划分为至少两个区域;dividing the long screenshot into at least two areas;识别每个区域中的内容,并根据每个区域中的内容为每个区域确定标签信息;Identify the content in each area, and determine label information for each area based on the content in each area;所述响应于所述第一输入,显示所述长截屏图片的部分区域,所述部分区域包括所述目标区域之后,所述方法还包括:After the displaying a partial area of the long screen shot in response to the first input, where the partial area includes the target area, the method further includes:在所述长截屏图片的显示界面显示标签列表,并标示所述长截屏图片中当前显示的区域对应的标签信息,其中,所述标签列表包括每个区域的标签信息;Displaying a tag list on the display interface of the long screenshot image, and marking the tag information corresponding to the area currently displayed in the long screenshot image, wherein the tag list includes the tag information of each area;接收在所述标签列表中对目标标签信息的第二输入;receiving a second input of target tag information in the tag list;响应于所述第二输入,显示所述长截屏图片中所述目标标签信息对应的区域。In response to the second input, the area corresponding to the target label information in the long screenshot image is displayed.2.如权利要求1所述的显示方法,其特征在于,所述若所述至少一个目标区域包括至少两个目标区域,则在所述长截屏图片处于缩略图显示状态的情况下,依次将每个目标区域中的图片内容作为所述长截屏图片的缩略图的显示内容,包括:2 . The display method according to claim 1 , wherein, if the at least one target area includes at least two target areas, in the case that the long screen shot is in a thumbnail display state, sequentially display 2 . The picture content in each target area is used as the display content of the thumbnail of the long screenshot picture, including:若所述至少一个目标区域包括至少两个目标区域,则在所述长截屏图片处于缩略图显示状态的情况下,在所述长截屏图片的缩略图中堆叠显示所述至少两个目标区域的图片内容,并依次将每个目标区域的图片内容置于顶层进行显示。If the at least one target area includes at least two target areas, when the long screenshot image is in a thumbnail display state, stack and display the thumbnails of the at least two target areas in the thumbnail of the long screenshot image. Picture content, and sequentially place the picture content of each target area on the top layer for display.3.如权利要求1所述的显示方法,其特征在于,所述若所述至少一个目标区域包括至少两个目标区域,则在所述长截屏图片处于缩略图显示状态的情况下,依次将每个目标区域中的图片内容作为所述长截屏图片的缩略图的显示内容,包括:3 . The display method according to claim 1 , wherein, if the at least one target area includes at least two target areas, in the case that the long screen shot is in a thumbnail display state, sequentially display the 3. The picture content in each target area is used as the display content of the thumbnail of the long screenshot picture, including:若所述至少一个目标区域包括至少两个目标区域,则在所述长截屏图片处于缩略图显示状态的情况下,根据每个目标区域中的内容对所述至少两个目标区域进行排序;If the at least one target area includes at least two target areas, when the long screenshot is in a thumbnail display state, sort the at least two target areas according to the content in each target area;按照排序后的顺序,依次将所述至少两个目标区域中每个目标区域的图片内容作为所述长截屏图片的缩略图的显示内容。According to the sorted order, the picture content of each of the at least two target regions is sequentially used as the display content of the thumbnail of the long screenshot picture.4.如权利要求1所述的显示方法,其特征在于,所述若所述至少一个目标区域包括至少两个目标区域,则在所述长截屏图片处于缩略图显示状态的情况下,依次将每个目标区域中的图片内容作为所述长截屏图片的缩略图的显示内容,包括:4 . The display method according to claim 1 , wherein, if the at least one target area includes at least two target areas, in the case that the long screenshot image is in a thumbnail display state, sequentially display 4 . The picture content in each target area is used as the display content of the thumbnail of the long screenshot picture, including:若所述至少一个目标区域包括至少两个目标区域,则在所述长截屏图片处于缩略图显示状态的情况下,在所述长截屏图片的缩略图中滚动显示每个目标区域中的图片内容。If the at least one target area includes at least two target areas, when the long screenshot image is in a thumbnail display state, scroll and display the image content in each target area in the thumbnail of the long screenshot image .5.如权利要求1所述的显示方法,其特征在于,所述终端设备包括第一显示屏和第二显示屏,所述响应于所述第一输入,显示所述长截屏图片的部分区域,所述部分区域包括所述目标区域,包括:5 . The display method according to claim 1 , wherein the terminal device comprises a first display screen and a second display screen, and in response to the first input, displaying a partial area of the long screen shot picture. 6 . , the partial area includes the target area, including:响应于所述第一输入,在所述第一显示屏显示所述长截屏图片的部分区域,以及在所述第二显示屏以预设比例放大显示所述目标区域的图片内容。In response to the first input, a partial area of the long screenshot image is displayed on the first display screen, and the image content of the target area is enlarged and displayed on the second display screen at a preset ratio.6.一种终端设备,其特征在于,所述终端设备包括:6. A terminal device, wherein the terminal device comprises:获取模块,用于获取长截屏图片中的至少一个目标区域,其中,每个目标区域的长宽比小于所述长截屏图片的长宽比,其中,所述长宽比为长度与宽度的比值;an acquisition module, configured to acquire at least one target area in a long screenshot image, wherein the aspect ratio of each target area is smaller than the aspect ratio of the long screenshot image, wherein the aspect ratio is the ratio of length to width ;第一显示模块,用于若所述至少一个目标区域仅包括一个目标区域,则在所述长截屏图片处于缩略图显示状态的情况下,将所述目标区域的图片内容作为所述长截屏图片的缩略图的显示内容,其中,所述目标区域为所述长截屏图片中包括目标内容的区域;A first display module, configured to, if the at least one target area includes only one target area, take the picture content of the target area as the long screenshot image under the condition that the long screenshot image is in a thumbnail display state The display content of the thumbnail image, wherein, the target area is the area including the target content in the long screenshot picture;第二显示模块,用于若所述至少一个目标区域包括至少两个目标区域,则在所述长截屏图片处于缩略图显示状态的情况下,依次将每个目标区域中的图片内容作为所述长截屏图片的缩略图的显示内容;The second display module is configured to, if the at least one target area includes at least two target areas, take the picture content in each target area as the The display content of the thumbnail of the long screenshot image;所述获取模块,包括:The acquisition module includes:识别单元,用于识别所述长截屏图片中的内容;an identification unit for identifying the content in the long screenshot;获取单元,用于根据所述长截屏图片中的内容获取所述长截屏图片中的至少两个目标区域,其中,所述目标区域为所述长截屏图片中包括目标内容的区域,所述目标内容为预设内容和/或所述长截屏图片中出现频率排名在前N的内容,N为正整数;an acquiring unit, configured to acquire at least two target areas in the long screenshot image according to the content in the long screenshot image, wherein the target area is an area including target content in the long screenshot image, and the target area The content is the preset content and/or the content whose appearance frequency ranks in the top N in the long screenshot picture, and N is a positive integer;所述终端设备还包括:The terminal equipment also includes:第一接收模块,用于接收用于查看所述长截屏图片的第一输入;a first receiving module, configured to receive a first input for viewing the long screen shot;第三显示模块,用于响应于所述第一输入,显示所述长截屏图片的部分区域,所述部分区域包括所述目标区域;a third display module, configured to display a partial area of the long screenshot image in response to the first input, where the partial area includes the target area;所述终端设备还包括:The terminal equipment also includes:划分模块,用于将所述长截屏图片划分为至少两个区域;a dividing module, used to divide the long screen shot into at least two areas;确定模块,用于识别每个区域中的内容,并根据每个区域中的内容为每个区域确定标签信息;A determination module for identifying the content in each area, and determining label information for each area according to the content in each area;第四显示模块,用于在所述长截屏图片的显示界面显示标签列表,并标示所述长截屏图片中当前显示的区域对应的标签信息,其中,所述标签列表包括每个区域的标签信息;a fourth display module, configured to display a tag list on the display interface of the long screenshot image, and mark the tag information corresponding to the area currently displayed in the long screenshot image, wherein the tag list includes the tag information of each area ;第二接收模块,用于接收在所述标签列表中对目标标签信息的第二输入;a second receiving module, configured to receive a second input of target tag information in the tag list;第五显示模块,用于响应于所述第二输入,显示所述长截屏图片中所述目标标签信息对应的区域。A fifth display module, configured to display, in response to the second input, an area corresponding to the target label information in the long screenshot image.7.如权利要求6所述的终端设备,其特征在于,所述第二显示模块,具体用于:7. The terminal device according to claim 6, wherein the second display module is specifically used for:若所述至少一个目标区域包括至少两个目标区域,则在所述长截屏图片处于缩略图显示状态的情况下,在所述长截屏图片的缩略图中堆叠显示所述至少两个目标区域的图片内容,并依次将每个目标区域的图片内容置于顶层进行显示。If the at least one target area includes at least two target areas, when the long screenshot image is in a thumbnail display state, stack and display the thumbnails of the at least two target areas in the thumbnail of the long screenshot image. Picture content, and sequentially place the picture content of each target area on the top layer for display.8.如权利要求6所述的终端设备,其特征在于,所述第二显示模块,包括:8. The terminal device according to claim 6, wherein the second display module comprises:排序单元,用于若所述至少一个目标区域包括至少两个目标区域,则在所述长截屏图片处于缩略图显示状态的情况下,根据每个目标区域中的内容对所述至少两个目标区域进行排序;a sorting unit, configured to, if the at least one target area includes at least two target areas, under the condition that the long screen shot is in a thumbnail display state, perform sorting on the at least two targets according to the content in each target area area to sort;显示单元,用于按照排序后的顺序,依次将所述至少两个目标区域中每个目标区域的图片内容作为所述长截屏图片的缩略图的显示内容。The display unit is configured to sequentially use the picture content of each target area in the at least two target areas as the display content of the thumbnail of the long screenshot picture according to the sorted order.9.如权利要求6所述的终端设备,其特征在于,所述第二显示模块,具体用于:9. The terminal device according to claim 6, wherein the second display module is specifically used for:若所述至少一个目标区域包括至少两个目标区域,则在所述长截屏图片处于缩略图显示状态的情况下,在所述长截屏图片的缩略图中滚动显示每个目标区域中的图片内容。If the at least one target area includes at least two target areas, when the long screenshot image is in a thumbnail display state, scroll and display the image content in each target area in the thumbnail of the long screenshot image .10.如权利要求6所述的终端设备,其特征在于,所述终端设备包括第一显示屏和第二显示屏,所述第三显示模块,具体用于:10. The terminal device according to claim 6, wherein the terminal device comprises a first display screen and a second display screen, and the third display module is specifically used for:响应于所述第一输入,在所述第一显示屏显示所述长截屏图片的部分区域,所述部分区域包括所述目标区域,以及在所述第二显示屏以预设比例放大显示所述目标区域的图片内容。In response to the first input, display a partial area of the long screenshot image on the first display screen, the partial area including the target area, and zoom in on the second display screen at a preset ratio to display the image. Describe the image content of the target area.11.一种终端设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的显示方法的步骤。11. A terminal device, characterized by comprising a processor, a memory and a computer program stored on the memory and running on the processor, the computer program being executed by the processor to achieve the The steps of the display method described in any one of claims 1 to 5.
CN201910316842.0A2019-04-192019-04-19Display method and terminal equipmentActiveCN110045892B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910316842.0ACN110045892B (en)2019-04-192019-04-19Display method and terminal equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910316842.0ACN110045892B (en)2019-04-192019-04-19Display method and terminal equipment

Publications (2)

Publication NumberPublication Date
CN110045892A CN110045892A (en)2019-07-23
CN110045892Btrue CN110045892B (en)2021-04-02

Family

ID=67277997

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910316842.0AActiveCN110045892B (en)2019-04-192019-04-19Display method and terminal equipment

Country Status (1)

CountryLink
CN (1)CN110045892B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111176526B (en)*2019-12-302021-06-08维沃移动通信有限公司Picture display method and electronic equipment
CN112527176A (en)*2020-12-022021-03-19维沃移动通信有限公司Screen capturing method and screen capturing device

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105824492A (en)*2015-09-302016-08-03维沃移动通信有限公司Display control method and terminal
CN107146197A (en)*2017-03-312017-09-08北京奇艺世纪科技有限公司A kind of reduced graph generating method and device
US9781356B1 (en)*2013-12-162017-10-03Amazon Technologies, Inc.Panoramic video viewer
CN107239203A (en)*2016-03-292017-10-10北京三星通信技术研究有限公司A kind of image management method and device
CN108509126A (en)*2018-03-292018-09-07维沃移动通信有限公司A kind of image processing method and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8745060B2 (en)*2007-07-252014-06-03Yahoo! Inc.Indexing and searching content behind links presented in a communication
CN103513890B (en)*2012-06-282016-04-13腾讯科技(深圳)有限公司A kind of exchange method based on picture, device and server
CN105760057A (en)*2016-02-262016-07-13努比亚技术有限公司Screenshot device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9781356B1 (en)*2013-12-162017-10-03Amazon Technologies, Inc.Panoramic video viewer
CN105824492A (en)*2015-09-302016-08-03维沃移动通信有限公司Display control method and terminal
CN107239203A (en)*2016-03-292017-10-10北京三星通信技术研究有限公司A kind of image management method and device
CN107146197A (en)*2017-03-312017-09-08北京奇艺世纪科技有限公司A kind of reduced graph generating method and device
CN108509126A (en)*2018-03-292018-09-07维沃移动通信有限公司A kind of image processing method and mobile terminal

Also Published As

Publication numberPublication date
CN110045892A (en)2019-07-23

Similar Documents

PublicationPublication DateTitle
CN110891144B (en)Image display method and electronic equipment
US20220404959A1 (en)Search method and electronic device
CN109032719B (en)Object recommendation method and terminal
US20210349589A1 (en)Image storage method and terminal device
CN107783709B (en)Image viewing method and mobile terminal
CN111459349B (en) Application recommended method and electronic device
CN108984066B (en) Application icon display method and mobile terminal
CN110913067A (en) A kind of information sending method and electronic device
CN108920040B (en)Application icon sorting method and mobile terminal
CN110990679A (en)Information searching method and electronic equipment
US11989399B2 (en)Display method and electronic device
CN110045892B (en)Display method and terminal equipment
CN109902679B (en) Icon display method and terminal device
CN110780795A (en)Screen capturing method and electronic equipment
CN108062370B (en) Application search method and mobile terminal
CN111143614A (en) Video display method and electronic device
CN110472148A (en)Using recommended method and terminal device
CN110851219A (en)Information processing method and electronic equipment
CN108306817B (en)Information positioning processing method and mobile terminal
CN110781371B (en)Content processing method and electronic equipment
CN108255374A (en)The deployment method and terminal device of a kind of file
CN107704101A (en)A kind of method for information display, mobile terminal and computer-readable recording medium
CN111177573A (en)Information recommendation method, electronic device and medium
CN107844203B (en)Input method candidate word recommendation method and mobile terminal
CN110908751A (en)Information display method, information collection method, information display device, information collection device, electronic equipment and medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp