CN109271543B - Thumbnail display method and device, terminal and computer-readable storage medium - Google Patents

Thumbnail display method and device, terminal and computer-readable storage medium Download PDF

Info

Publication number
CN109271543B
CN109271543B CN201811129169.1A CN201811129169A CN109271543B CN 109271543 B CN109271543 B CN 109271543B CN 201811129169 A CN201811129169 A CN 201811129169A CN 109271543 B CN109271543 B CN 109271543B
Authority
CN
China
Prior art keywords
thumbnail
media file
information
terminal
storage path
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.)
Expired - Fee Related
Application number
CN201811129169.1A
Other languages
Chinese (zh)
Other versions
CN109271543A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811129169.1A priority Critical patent/CN109271543B/en
Publication of CN109271543A publication Critical patent/CN109271543A/en
Application granted granted Critical
Publication of CN109271543B publication Critical patent/CN109271543B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application belongs to the technical field of communication, and particularly relates to a thumbnail display method, device, terminal and computer-readable storage medium, wherein the method comprises the following steps: receiving a thumbnail acquiring request sent by a first terminal; acquiring thumbnail information corresponding to the media files stored in the first storage path according to the thumbnail acquisition request; sending a thumbnail acquiring instruction carrying the thumbnail information to the first terminal; the first terminal acquires a pre-stored thumbnail of the media file from a cloud server according to the thumbnail information and displays the thumbnail; when the second terminal is in communication connection with the first terminal, the thumbnail does not need to be regenerated, the first terminal can acquire and display the thumbnail of the pre-stored media file from the cloud server, the step of regenerating the thumbnail by the second terminal is saved, and the display efficiency of the thumbnail is improved.

Description

Thumbnail display method and device, terminal and computer-readable storage medium
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a thumbnail display method, apparatus, terminal, and computer-readable storage medium.
Background
A thumbnail refers to a small image obtained by compressing a picture, and the thumbnail usually contains a hyperlink pointing to the full-size picture. The method has the advantages that the image display is carried out on the webpage or the display interface containing more images in a thumbnail loading mode, the loading speed of the webpage or the display interface can be effectively increased, and a user can conveniently and quickly browse the content of the webpage or the display interface.
However, each time a terminal such as a computer accesses a picture in a terminal such as a mobile phone, the thumbnail of the picture needs to be generated by the mobile phone and then sent to the computer, so that the thumbnail of the picture can be displayed.
Disclosure of Invention
The embodiment of the application provides a thumbnail display method, a thumbnail display device, a terminal and a computer-readable storage medium, which can solve the technical problem of low thumbnail display efficiency.
A first aspect of the embodiments of the present application provides a method for displaying a thumbnail, including:
receiving a thumbnail acquiring request sent by a first terminal, wherein the thumbnail acquiring request carries a first storage path of a media file;
acquiring thumbnail information corresponding to the media files stored in the first storage path according to the thumbnail acquisition request;
sending a thumbnail acquiring instruction carrying the thumbnail information to the first terminal; the thumbnail obtaining instruction is used for indicating the first terminal to obtain a pre-stored thumbnail of the media file from a cloud server according to the thumbnail information and displaying the thumbnail.
A second aspect of the embodiments of the present application provides a method for displaying a thumbnail, including:
sending a thumbnail obtaining request to a second terminal, wherein the thumbnail obtaining request carries a first storage path of a media file;
receiving a thumbnail obtaining instruction which is sent by the second terminal and carries the thumbnail information; the thumbnail information is the thumbnail information corresponding to the media file stored in the first storage path and acquired by the second terminal according to the thumbnail acquisition request;
and acquiring the pre-stored thumbnail of the media file from the cloud server according to the thumbnail acquisition instruction, and displaying the thumbnail.
A third aspect of the embodiments of the present application provides a display device for thumbnail images, including:
the device comprises a first receiving unit, a second receiving unit and a processing unit, wherein the first receiving unit is used for receiving a thumbnail obtaining request sent by a first terminal, and the thumbnail obtaining request carries a first storage path of a media file;
the obtaining unit is used for obtaining the thumbnail information corresponding to the media file stored in the first storage path according to the thumbnail obtaining request;
the first sending unit is used for sending the thumbnail acquiring instruction carrying the thumbnail information to the first terminal; the thumbnail obtaining instruction is used for indicating the first terminal to obtain a pre-stored thumbnail of the media file from a cloud server according to the thumbnail information and displaying the thumbnail.
A fourth aspect of the embodiments of the present application provides a display device for thumbnails, including:
the second sending unit is used for sending a thumbnail obtaining request to a second terminal, wherein the thumbnail obtaining request carries a first storage path of the media file;
the second receiving unit is used for receiving a thumbnail obtaining instruction which is sent by the second terminal and carries the thumbnail information; the thumbnail information is the thumbnail information corresponding to the media file stored in the first storage path and acquired by the second terminal according to the thumbnail acquisition request;
and the display unit is used for acquiring the pre-stored thumbnail of the media file from the cloud server according to the thumbnail acquisition instruction and displaying the thumbnail.
A fifth aspect of embodiments of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method described in the first aspect when executing the computer program.
A sixth aspect of embodiments of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method described in the second aspect when executing the computer program.
A seventh aspect of embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method described in the first aspect.
An eighth aspect of the embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method described in the second aspect.
In the embodiment of the application, a thumbnail obtaining request of a first storage path carrying media files is sent to a second terminal through a first terminal, so that the second terminal can obtain thumbnail information corresponding to the media files stored in the first storage path according to the thumbnail obtaining request and send a thumbnail obtaining instruction carrying the thumbnail information to the first terminal, and then the first terminal obtains thumbnails of the media files from a cloud server according to the thumbnail information carried in the thumbnail obtaining instruction and displays the thumbnails; that is, the thumbnail is stored in the cloud server in advance, and is not regenerated by the second terminal each time the first terminal makes a communication connection with the second terminal. And the second terminal only needs to generate the thumbnail corresponding to the media file when the thumbnail is pre-stored in the cloud server. When the thumbnail needs to be displayed by the first terminal, the thumbnail of the first storage path carrying the media file can be acquired from the cloud server and displayed only by sending a thumbnail acquisition request carrying the first storage path of the media file to the second terminal and then receiving a thumbnail acquisition instruction carrying the thumbnail information sent by the second terminal, so that the thumbnail does not need to be generated again when the second terminal is in communication connection with the first terminal, the step of regenerating the thumbnail by the second terminal is saved, and the display efficiency of the thumbnail is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart of a first implementation of a thumbnail display method provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a first specific implementation of step 102 of a method for displaying a thumbnail provided in an embodiment of the present application;
fig. 3 is a flowchart illustrating a second specific implementation of step 102 of a method for displaying a thumbnail according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a third specific implementation of step 102 of a method for displaying a thumbnail according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a fourth specific implementation of step 102 of a method for displaying a thumbnail provided in the embodiment of the present application;
fig. 6 is a flowchart illustrating a second implementation of a thumbnail display method according to an embodiment of the present application;
fig. 7 is a flowchart illustrating a detailed implementation of step 603 of a method for displaying a thumbnail according to an embodiment of the present application;
fig. 8 is a first structural diagram of a display device for thumbnail images provided by an embodiment of the present application;
fig. 9 is a second structural diagram of a display device for thumbnail images provided by an embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In order to explain the technical solution of the present application, the following description will be given by way of specific examples.
In practical application, after a communication connection is established between terminal devices such as a mobile phone and a computer, if a computer needs to browse a media file in the mobile phone, the mobile phone needs to generate a thumbnail of the media file and send the thumbnail to the computer, and the computer can only display the thumbnail. Moreover, each time the mobile phone is connected with the computer, the mobile phone needs to regenerate the thumbnail of the media file and send the thumbnail to the computer, and the computer can display the thumbnail, so that when the computer is connected with the mobile phone, the thumbnail is displayed at a low speed, and the thumbnail display efficiency is low.
In the embodiment of the application, a thumbnail obtaining request of a first storage path carrying a media file is sent to a second terminal through a first terminal, so that the second terminal can obtain thumbnail information corresponding to the media file stored in the first storage path according to the thumbnail obtaining request and send a thumbnail obtaining instruction carrying the thumbnail information to the first terminal, and then the first terminal obtains the thumbnail of the media file from a cloud server according to the thumbnail information carried in the thumbnail obtaining instruction and displays the thumbnail; that is, the thumbnail is stored in the cloud server in advance, and is not generated again by the second terminal each time the first terminal and the second terminal are communicatively connected. The second terminal only needs to generate the thumbnail corresponding to the media file when the thumbnail is pre-stored in the cloud server. When the thumbnail needs to be displayed by the first terminal, the thumbnail of the first storage path carrying the media file only needs to be sent to the second terminal, and then the thumbnail obtaining instruction carrying the thumbnail information sent by the second terminal is received, so that the thumbnail of the pre-stored media file can be obtained from the cloud server and displayed, when the second terminal is in communication connection with the first terminal, the thumbnail does not need to be generated again, the step of regenerating the thumbnail by the second terminal is saved, and the display efficiency of the thumbnail is improved.
For example, the first terminal may be a terminal device such as a desktop computer, a notebook computer, and the like, and the second terminal may be a terminal device such as a smart phone, a tablet computer, a digital camera, a walkman, a wearable device, and the like.
Fig. 1 shows a first implementation flowchart of a thumbnail display method provided in an embodiment of the present application, which is applied to a second terminal, and can be executed by a thumbnail display apparatus configured on the second terminal, and is suitable for a situation where the thumbnail display efficiency needs to be improved, and includes steps 101 to 103.
Step 101, receiving a thumbnail obtaining request sent by a first terminal, where the thumbnail obtaining request carries a first storage path of a media file.
The first terminal and the second terminal work in a command-response mode, that is, the initiating terminal device (the first terminal) sends a command to the responding terminal device (the second terminal) for processing, and the second terminal feeds back a processing result. Therefore, the first terminal needs to send a thumbnail acquiring request carrying the first storage path of the media file to the second terminal first, so that the second terminal can know the media file to be browsed by the first terminal and the storage location of the media file.
It should be noted that the media files may include picture files and video files.
For example, when a user connects a mobile phone to a computer and opens an album in the mobile phone through the computer, the media file is the album file, and the thumbnail to be displayed at the computer end is the thumbnail corresponding to each photo in the album file. If a user opens a video file in a mobile phone through a computer, the thumbnail required to be displayed by the computer end is the thumbnail corresponding to the cover picture of each video in the video file because each video in each video file has one cover picture.
And step 102, acquiring thumbnail information corresponding to the media file stored in the first storage path according to the thumbnail acquisition request.
After receiving a thumbnail acquiring request carrying a first storage path of a media file sent by a first terminal, a second terminal needs to acquire thumbnail information corresponding to the media file stored in the first storage path according to the thumbnail acquiring request.
The thumbnail information corresponding to the media file may include identification information of a thumbnail corresponding to the media file and storage location information of the thumbnail in the cloud server.
103, sending a thumbnail obtaining instruction carrying the thumbnail information to the first terminal; the thumbnail acquiring instruction is used for instructing the first terminal to acquire a thumbnail of the pre-stored media file from a cloud server according to the thumbnail information and display the thumbnail.
After the thumbnail information corresponding to the media file stored in the first storage path is acquired by the second terminal, the thumbnail acquisition instruction carrying the thumbnail information is sent to the first terminal, and at this time, the first terminal can acquire the thumbnail of the pre-stored media file from the cloud server according to the thumbnail information in the thumbnail acquisition instruction and display the thumbnail.
In the embodiment of the application, the thumbnail is pre-stored in the cloud server, but not generated by the second terminal in real time, and when the thumbnail needs to be displayed by the first terminal, the thumbnail of the pre-stored media file can be obtained from the cloud server and displayed by only sending a thumbnail obtaining request carrying a first storage path of the media file to the second terminal and receiving a thumbnail obtaining instruction carrying the thumbnail information sent by the second terminal, so that the step of regenerating the thumbnail is saved, and the display efficiency of the thumbnail is improved.
In some embodiments of the present application, before step 102, the method further comprises: pre-storing the thumbnail information; the thumbnail information includes a first correspondence table between the identification information of the thumbnail and second storage path information of the thumbnail in the cloud server.
That is, before the second terminal acquires the thumbnail information corresponding to the media file stored in the first storage path according to the thumbnail acquisition request sent by the first terminal, the thumbnail information needs to be stored in the second terminal in advance, and the thumbnail information includes a first correspondence table between the identification information of the thumbnail and the second storage path information of the thumbnail in the cloud server.
For example, as shown in fig. 2, the pre-storing of the thumbnail information includes: step 201 to step 203.
Step 201, analyzing each media file stored in the first storage path in advance, generating a thumbnail of each media file, and identifying the thumbnail by using the identification information of each media file.
In the embodiment of the present application, the second terminal may store the thumbnail information of the media file in each storage path in advance, and for convenience of description, only how to store the thumbnail information corresponding to the media file stored in the first storage path in advance is described herein.
When the thumbnail information corresponding to the media files stored in the first storage path is stored in advance, first, each media file stored in the first storage path is analyzed in advance to generate a thumbnail of each media file, and the thumbnail is identified by using the identification information of each media file. In the embodiment of the application, the thumbnails and the media files corresponding to the thumbnails are enabled to be identical in identification information, so that the thumbnails and the media files are in one-to-one correspondence, and the thumbnails corresponding to the media files can be determined according to the identification information by obtaining the identification information of the media files.
Optionally, the analyzing each media file stored in the first storage path in advance to generate a thumbnail of each media file includes: traversing each picture stored in the first storage path in advance to obtain a storage space occupied by each picture; analyzing the picture with the occupied storage space larger than the preset threshold value to generate a corresponding thumbnail, and taking the original picture of the picture with the occupied storage space smaller than or equal to the preset threshold value as the thumbnail corresponding to the picture.
For example, if the preset threshold is 20 bytes, when each picture stored in the first storage path is traversed in advance, analyzing the picture whose occupied storage space is greater than 20 bytes to generate a corresponding thumbnail, and using an original image of the picture whose occupied storage space is less than or equal to 20 bytes as the thumbnail corresponding to the picture; that is, pictures having a storage space of less than or equal to 20 bytes are not parsed.
When the storage space occupied by the picture is less than or equal to the preset threshold, the picture is represented to belong to the small picture, and the loading speed of the picture is not influenced, so that the picture does not need to be analyzed into the thumbnail. In the embodiment of the application, the pictures which do not need to be analyzed and the pictures which need to be analyzed are screened out, so that only the pictures which need to be analyzed are analyzed, the data processing amount of the pictures which do not need to be analyzed is saved, and the thumbnail generation efficiency is improved.
Step 202, storing the thumbnail with the identification information in a cloud server, and acquiring second storage path information of the thumbnail in the cloud server.
Step 203, saving a first correspondence table between the identification information of the thumbnail and second storage path information of the thumbnail in the cloud server.
Optionally, on the basis of the embodiment described in fig. 2, as shown in fig. 3, the step 102, obtaining, according to the thumbnail obtaining request, thumbnail information corresponding to the media file stored in the first storage path, may further include: step 301 to step 304.
Step 301, obtaining the identification information of each media file currently stored in the first storage path according to the thumbnail obtaining request.
Step 302, matching the identification information of the thumbnail in the first corresponding relation table with the identification information of each media file currently stored in the first storage path.
Step 303, marking the media file corresponding to the identification information that fails to match the identification information of each media file currently stored in the first storage path in the first correspondence table as the deleted media file in the first storage path.
And step 304, deleting the identification information corresponding to the deleted media file from the first corresponding relation table to obtain a second corresponding relation table, and obtaining the thumbnail information carrying the second corresponding relation table.
Since the media files currently stored in the first storage path of the second terminal may have some deleted media files and some media files are newly added media files when the second terminal previously analyzes each media file stored in the first storage path in step 201, when the thumbnail acquisition request is acquired, it is necessary to acquire the identification information of each media file currently stored in the first storage path according to the thumbnail acquisition request, so as to mark the media file corresponding to the identification information that fails to match the identification information of each media file currently stored in the first storage path in the first correspondence table as deleted media file in the first storage path by matching the identification information of the thumbnail in the first correspondence table with the identification information of each media file currently stored in the first storage path A media file to be deleted; and simultaneously, deleting the identification information corresponding to the deleted media file from the first corresponding relation table to obtain a second corresponding relation table, and obtaining the thumbnail information carrying the second corresponding relation table.
Specifically, in practical applications, the identification information corresponding to the deleted media file is deleted from the first correspondence table, and the second storage path information of the thumbnail corresponding to the deleted media file in the cloud server is also deleted.
That is, the thumbnail information carrying the second correspondence table sent to the first terminal is the correspondence table generated according to the media file currently and actually stored in the first storage path.
For example, the first correspondence table is a correspondence table as shown in table one, that is, the media files stored in the first storage path when the second terminal previously analyzes each media file stored in the first storage path in step 201 include: media files with information 1101, 1102, 1103, and 1104 are identified. If the identification information obtained when the identification information of each media file currently stored in the first storage path is obtained according to the thumbnail obtaining request in step 301 is 1101, 1102, 1104, 1105 and 1106, it indicates that the media file with the identification information 1103 has been deleted from the first storage path, so that it is necessary to delete the identification information 1103 and the second storage path C of the thumbnail corresponding to the identification information 1103 of the thumbnail in the first correspondence table as shown in table one, thereby obtaining a second correspondence table as shown in table two.
Table one:
identification information Second storage path information
1101 A
1102 B
1103 C
1104 D
Table two:
identification information Second storage path information
1101 A
1102 B
1104 D
Optionally, as shown in fig. 4, after the step 302 matches the identification information of the thumbnail in the first mapping table with the identification information of each media file currently stored in the first storage path, the method further includes: step 305 to step 307.
Step 305, marking the media file corresponding to the identification information that fails to match with each identification information of the first corresponding relation table in the identification information of the media files currently stored in the first storage path as a media file newly added in the first storage path.
Step 306, analyzing the newly added media file in the first storage path to generate a thumbnail corresponding to the newly added media file.
Step 307, sending the thumbnail corresponding to the newly added media file to the first terminal, and displaying by the first terminal.
In this embodiment of the application, since the newly added media files in the first storage path are not pre-stored in the cloud server, it is necessary to mark, by the second terminal, the media file corresponding to the identification information of which matching with each identification information of the first correspondence table fails, in the identification information of the media files currently stored in the first storage path, as the newly added media file in the first storage path, and then, the second terminal analyzes the newly added media file in the first storage path, generates a thumbnail corresponding to the newly added media file, and then sends the thumbnail to the first terminal for display.
Optionally, after the second terminal parses the newly added media file in the first storage path to generate a thumbnail corresponding to the newly added media file, the thumbnail may be stored in the cloud server, second storage path information of the thumbnail in the cloud server is acquired, and then the second correspondence table is updated to obtain an updated third correspondence table, so that when the first terminal is connected with the second terminal next time, the second terminal may generate new thumbnail information based on the third correspondence table.
In the embodiment described in fig. 3 and 4, the second terminal may not execute step 302, match the identification information of the thumbnails in the first correspondence table with the identification information of each media file currently stored in the first storage path, instead, after the first terminal first obtains a thumbnail corresponding to the identification information of each media file currently stored in the first storage path from the cloud server, mark the media file corresponding to the thumbnail that is not obtained from the cloud server as a newly added media file in the first storage path, and send the identification information corresponding to the newly added media file to the second terminal; and the second terminal sends the thumbnail corresponding to the newly added media file to the first terminal according to the identification information corresponding to the newly added media file.
Optionally, on the basis of the embodiment shown in fig. 2, as shown in fig. 5, in step 102, acquiring, according to the thumbnail acquisition request, thumbnail information corresponding to the media file stored in the first storage path, further includes: step 501 to step 502.
Step 501, obtaining the identification information of each media file currently stored in the first storage path according to the thumbnail obtaining request.
Step 502, generating the thumbnail information carrying the identification information of each media file currently stored in the first storage path and the first corresponding relationship table.
That is, the thumbnail information includes identification information of each media file currently stored in the first storage path and the first correspondence table, instead of the second correspondence table.
Optionally, after the step 103 sends the thumbnail obtaining instruction carrying the thumbnail information to the first terminal, the method includes: and acquiring identification information corresponding to the newly added media file in the first storage path returned by the first terminal, analyzing the newly added media file in the first storage path according to the identification information corresponding to the newly added media file, generating a thumbnail corresponding to the newly added media file, sending the thumbnail corresponding to the newly added media file to the first terminal, and displaying the thumbnail by the first terminal.
That is to say, after the second terminal generates a thumbnail obtaining instruction carrying the identification information of each media file currently stored in the first storage path and the thumbnail information of the first corresponding relationship table and sends the thumbnail obtaining instruction to the first terminal, the first terminal obtains a thumbnail corresponding to the identification information of each media file currently stored in the first storage path from the cloud server according to the thumbnail information carried in the thumbnail obtaining instruction; simultaneously marking the media files corresponding to the identification information which does not acquire the thumbnail from the cloud server as the newly added media files in the first storage path, and sending the identification information corresponding to the newly added media files to the second terminal; and the second terminal acquires identification information corresponding to the newly added media file in the first storage path returned by the first terminal, analyzes the newly added media file in the first storage path according to the identification information corresponding to the newly added media file, generates a thumbnail corresponding to the newly added media file, sends the thumbnail corresponding to the newly added media file to the first terminal, and displays the thumbnail by the first terminal.
As shown in fig. 6, a second implementation flow diagram of a thumbnail display method provided in the embodiment of the present application is applied to a first terminal, and the method can be executed by a thumbnail display device configured on the first terminal, and is suitable for a situation where the thumbnail display efficiency needs to be improved, and includes steps 601 to 603.
Step 601, sending a thumbnail obtaining request to a second terminal, where the thumbnail obtaining request carries a first storage path of a media file.
Step 602, receiving a thumbnail obtaining instruction carrying the thumbnail information sent by the second terminal; the thumbnail information is thumbnail information corresponding to the media file stored in the first storage path acquired by the second terminal according to the thumbnail acquisition request.
Step 603, obtaining a pre-stored thumbnail of the media file from the cloud server according to the thumbnail obtaining instruction, and displaying the thumbnail.
Optionally, in step 603, acquiring the thumbnail of the media file from the cloud server according to the thumbnail acquisition instruction may include: acquiring a thumbnail of the media file from a cloud server according to thumbnail information including a second corresponding relation table carried in the thumbnail acquiring instruction, and receiving a thumbnail corresponding to a newly added media file sent by the second terminal; the second correspondence table is obtained by deleting the identification information corresponding to the deleted media file from the first correspondence table between the identification information of the thumbnail pre-stored by the second terminal and the second storage path information of the thumbnail in the cloud server.
Optionally, as shown in fig. 7, the step 603, according to the thumbnail obtaining instruction, obtaining the thumbnail of the media file from the cloud server, may further include: step 701 to step 703.
Step 701, acquiring a thumbnail corresponding to the identification information of each media file currently stored in the first storage path from a cloud server according to the thumbnail information carried in the thumbnail acquisition instruction; the thumbnail information carries identification information of each media file currently stored in the first storage path and a first corresponding relation table pre-stored by the second terminal;
step 702, marking a media file corresponding to the identification information of the thumbnail not obtained from the cloud server as a newly added media file in the first storage path, and sending the identification information corresponding to the newly added media file to the second terminal;
step 703, receiving the thumbnail corresponding to the newly added media file sent by the second terminal.
It should be noted that, for convenience and brevity of description, the specific working process of the thumbnail display method described in fig. 6 and fig. 7 may refer to the corresponding process of the method described in fig. 1 to fig. 5, and is not described again here.
Fig. 8 shows a schematic structural diagram of a display device 800 for thumbnail images provided in an embodiment of the present application, and includes a first receiving unit 801, an obtaining unit 802, and a first sending unit 803.
A first receiving unit 801, configured to receive a thumbnail obtaining request sent by a first terminal, where the thumbnail obtaining request carries a first storage path of a media file;
an obtaining unit 802, configured to obtain, according to the thumbnail obtaining request, thumbnail information corresponding to the media file stored in the first storage path;
a first sending unit 803, configured to send a thumbnail obtaining instruction carrying the thumbnail information to the first terminal; the thumbnail acquiring instruction is used for instructing the first terminal to acquire a thumbnail of the pre-stored media file from a cloud server according to the thumbnail information and display the thumbnail.
In some embodiments of the present application, the display device may include a storage unit configured to store the thumbnail information in advance; the thumbnail information includes a first correspondence table between the identification information of the thumbnail and second storage path information of the thumbnail in the cloud server.
Optionally, the storage unit may be specifically configured to:
analyzing each media file stored in the first storage path in advance to generate a thumbnail of each media file, and identifying the thumbnail by using identification information of each media file;
storing the thumbnail with the identification information into a cloud server, and acquiring second storage path information of the thumbnail in the cloud server;
and saving a first corresponding relation table between the identification information of the thumbnail and second storage path information of the thumbnail in the cloud server.
Optionally, the obtaining unit may be specifically configured to:
acquiring identification information of each media file currently stored in the first storage path according to the thumbnail acquisition request;
matching the identification information of the thumbnail in the first corresponding relation table with the identification information of each media file currently stored in the first storage path;
marking the media file corresponding to the identification information which fails to match the identification information of each media file currently stored in the first storage path in the first corresponding relation table as the deleted media file in the first storage path;
and deleting the identification information corresponding to the deleted media file from the first corresponding relation table to obtain a second corresponding relation table, and obtaining the thumbnail information carrying the second corresponding relation table.
Optionally, the obtaining unit is further specifically configured to:
after matching the identification information of the thumbnail in the first corresponding relation table with the identification information of each media file currently stored in the first storage path, marking the media file corresponding to the identification information which is unsuccessfully matched with each identification information of the first corresponding relation table in the identification information of the media files currently stored in the first storage path as a newly added media file in the first storage path;
analyzing the newly added media files in the first storage path to generate thumbnails corresponding to the newly added media files;
and sending the thumbnail corresponding to the newly added media file to the first terminal, and displaying the thumbnail by the first terminal.
Optionally, the obtaining unit is further specifically configured to:
acquiring identification information of each media file currently stored in the first storage path according to the thumbnail acquisition request;
and generating the thumbnail information carrying the identification information of each media file currently stored in the first storage path and the first corresponding relation table.
Optionally, the obtaining unit is further specifically configured to:
after a thumbnail obtaining instruction carrying the thumbnail information is sent to the first terminal, obtaining identification information corresponding to a newly added media file in the first storage path returned by the first terminal;
analyzing the newly added media files in the first storage path according to the identification information corresponding to the newly added media files to generate thumbnails corresponding to the newly added media files;
and sending the thumbnail corresponding to the newly added media file to the first terminal, and displaying the thumbnail by the first terminal.
Optionally, the storage unit is further specifically configured to:
traversing each picture stored in the first storage path in advance to obtain a storage space occupied by each picture;
analyzing the picture with the occupied storage space larger than the preset threshold value to generate a corresponding thumbnail, and taking the original picture of the picture with the occupied storage space smaller than or equal to the preset threshold value as the thumbnail corresponding to the picture.
It should be noted that, for convenience and brevity of description, the specific working process of the display apparatus 800 for thumbnail described above may refer to the corresponding process of the method described in fig. 1 to fig. 5, and is not repeated herein.
Fig. 9 is a schematic structural diagram of a display device 900 for thumbnail images provided in an embodiment of the present application, and includes a second transmitting unit 901, a second receiving unit 902, and a display unit 903.
A second sending unit 901, configured to send a thumbnail obtaining request to a second terminal, where the thumbnail obtaining request carries a first storage path of a media file;
a second receiving unit 902, configured to receive a thumbnail obtaining instruction carrying the thumbnail information sent by the second terminal; the thumbnail information is the thumbnail information corresponding to the media file stored in the first storage path acquired by the second terminal according to the thumbnail acquisition request;
the display unit 903 is configured to acquire a thumbnail of the pre-stored media file from the cloud server according to the thumbnail acquisition instruction, and display the thumbnail.
Optionally, the display unit 903 may be specifically configured to:
acquiring a thumbnail of the media file from a cloud server according to thumbnail information including a second corresponding relation table carried in the thumbnail acquiring instruction, and receiving a thumbnail corresponding to a newly added media file sent by the second terminal;
the second correspondence table is obtained by deleting the identification information corresponding to the deleted media file from the first correspondence table between the identification information of the thumbnail pre-stored by the second terminal and the second storage path information of the thumbnail in the cloud server.
Optionally, the display unit 903 may be further specifically configured to:
acquiring a thumbnail corresponding to the identification information of each media file currently stored in the first storage path from a cloud server according to the thumbnail information carried in the thumbnail acquisition instruction; the thumbnail information carries identification information of each media file currently stored in the first storage path and a first corresponding relation table pre-stored by the second terminal;
marking the media files corresponding to the identification information which does not acquire the thumbnail from the cloud server as the newly added media files in the first storage path, and sending the identification information corresponding to the newly added media files to the second terminal;
and receiving the thumbnail corresponding to the newly added media file sent by the second terminal.
Similarly, for convenience and brevity of description, the detailed working process of the display apparatus 900 for thumbnail images described above may refer to the corresponding process of the method described in fig. 1 to fig. 7, and is not repeated herein.
As shown in fig. 10, the present application provides a terminal for implementing the thumbnail display method described in fig. 1 to 5, where the terminal may be the second terminal, and the second terminal may be a terminal device such as a smart phone, a tablet computer, a digital camera, a walkman, a wearable device, and the like, and the terminal device includes: one or more input devices 13 (only one shown in fig. 10) and one or more output devices 14 (only one shown in fig. 10). The processor 11, memory 12, input device 13 and output device 14 are connected by a bus 15.
It should be understood that, in the embodiment of the present Application, the Processor 11 may be a Central Processing Unit (CPU), and the Processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 13 may include a virtual keyboard, a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 14 may include a display, a speaker, etc.
Memory 12 may include both read-only memory and random access memory and provides instructions and data to processor 11. Some or all of memory 12 may also include non-volatile random access memory. For example, the memory 12 may also store device type information.
The memory 12 stores a computer program that is executable by the processor 11, and the computer program is, for example, a program of a thumbnail display method. The processor 11 implements the steps in the embodiment of the thumbnail display method described in fig. 1 to 5 when executing the computer program, or the processor 11 implements the functions of each module/unit in the embodiment of the apparatus described in fig. 8 when executing the computer program.
The computer program may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 12 and executed by the processor 11 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the terminal for displaying the thumbnail images. For example, the computer program may be divided into a first receiving unit, an acquiring unit and a first transmitting unit, and each unit specifically functions as follows: the device comprises a first receiving unit, a second receiving unit and a processing unit, wherein the first receiving unit is used for receiving a thumbnail obtaining request sent by a first terminal, and the thumbnail obtaining request carries a first storage path of a media file; an obtaining unit, configured to obtain, according to the thumbnail obtaining request, thumbnail information corresponding to the media file stored in the first storage path; a first sending unit, configured to send a thumbnail obtaining instruction carrying the thumbnail information to the first terminal; the thumbnail acquiring instruction is used for instructing the first terminal to acquire a thumbnail of the pre-stored media file from a cloud server according to the thumbnail information and display the thumbnail.
An embodiment of the present application further provides a terminal for implementing the thumbnail display method described in fig. 6 to fig. 7, where the terminal may be the first terminal, and the first terminal may be a terminal device such as a desktop computer and a notebook computer, and may have the structure shown in fig. 10. The computer program of the terminal may be run on a processor, for example, the above-described computer program is a program of a display method of thumbnails. The processor implements the steps of the thumbnail display method described in fig. 6 or fig. 7 described above when executing the computer program, or implements the functions of the units 901 to 903 shown in fig. 9 described above when executing the computer program.
The computer program may be divided into one or more modules/units, which are stored in the memory and executed by the processor to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the terminal for displaying the thumbnail images. For example, the computer program may be divided into a second transmitting unit, a second receiving unit and a display unit, and the specific functions of each unit are as follows: the second sending unit is used for sending a thumbnail obtaining request to a second terminal, wherein the thumbnail obtaining request carries a first storage path of the media file; a second receiving unit, configured to receive a thumbnail obtaining instruction carrying the thumbnail information sent by the second terminal; the thumbnail information is the thumbnail information corresponding to the media file stored in the first storage path acquired by the second terminal according to the thumbnail acquisition request; and the display unit is used for acquiring the thumbnail of the pre-stored media file from the cloud server according to the thumbnail acquisition instruction and displaying the thumbnail.
In the above-described embodiments, it is obvious for those skilled in the art to clearly understand that, for convenience and simplicity of description, only the division of the above functional units and modules is used for illustration, and in practical applications, the above function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the apparatus may be divided into different functional units or modules to perform all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal are merely illustrative, and for example, the division of the above-described modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-described computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium described above may include content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media that does not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (14)

1. A thumbnail display method, comprising:
receiving a thumbnail acquiring request sent by a first terminal, wherein the thumbnail acquiring request carries a first storage path of a media file;
acquiring thumbnail information corresponding to the media files stored in the first storage path according to the thumbnail acquisition request; the thumbnail information comprises identification information of a thumbnail corresponding to the media file and storage position information of the thumbnail in the cloud server;
sending a thumbnail acquiring instruction carrying the thumbnail information to the first terminal; the thumbnail acquiring instruction is used for indicating the first terminal to acquire a pre-stored thumbnail of the media file from a cloud server according to the thumbnail information and displaying the thumbnail;
before acquiring the thumbnail information corresponding to the media file stored in the first storage path according to the thumbnail acquisition request, the method includes:
pre-storing the thumbnail information; the thumbnail information comprises a first corresponding relation table between the identification information of the thumbnail and second storage path information of the thumbnail in the cloud server;
the pre-storing the thumbnail information includes:
analyzing each media file stored in the first storage path in advance to generate a thumbnail of each media file, and identifying the thumbnail by using identification information of each media file;
storing the thumbnail with the identification information into a cloud server, and acquiring second storage path information of the thumbnail in the cloud server;
saving a first corresponding relation table between the identification information of the thumbnail and second storage path information of the thumbnail in the cloud server;
the analyzing each media file stored in the first storage path in advance to generate a thumbnail of each media file includes:
traversing each picture stored in the first storage path in advance to obtain a storage space occupied by each picture;
analyzing the picture with the occupied storage space larger than the preset threshold value to generate a corresponding thumbnail, and taking the original picture of the picture with the occupied storage space smaller than or equal to the preset threshold value as the thumbnail corresponding to the picture.
2. The display method according to claim 1, wherein the acquiring thumbnail information corresponding to the media file stored in the first storage path according to the thumbnail acquisition request includes:
acquiring identification information of each media file currently stored in the first storage path according to the thumbnail acquisition request;
matching the identification information of the thumbnail in the first corresponding relation table with the identification information of each media file currently stored in the first storage path;
marking the media file corresponding to the identification information which fails to match the identification information of each media file currently stored in the first storage path in the first corresponding relation table as the deleted media file in the first storage path;
and deleting the identification information corresponding to the deleted media file from the first corresponding relation table to obtain a second corresponding relation table, and obtaining the thumbnail information carrying the second corresponding relation table.
3. The display method according to claim 2, wherein after matching the identification information of the thumbnail in the first correspondence table with the identification information of each media file currently stored in the first storage path, further comprising:
marking the media files corresponding to the identification information which is failed to match with each identification information of the first corresponding relation table in the identification information of the media files currently stored in the first storage path as the media files newly added in the first storage path;
analyzing the newly added media files in the first storage path to generate thumbnails corresponding to the newly added media files;
and sending the thumbnail corresponding to the newly added media file to the first terminal, and displaying the thumbnail by the first terminal.
4. The display method according to claim 1, wherein the acquiring thumbnail information corresponding to the media file stored in the first storage path according to the thumbnail acquisition request includes:
acquiring identification information of each media file currently stored in the first storage path according to the thumbnail acquisition request;
and generating the thumbnail information carrying the identification information of each currently stored media file in the first storage path and the first corresponding relation table.
5. The display method according to claim 4, wherein after sending the thumbnail obtaining instruction carrying the thumbnail information to the first terminal, the method comprises:
acquiring identification information corresponding to a newly added media file in the first storage path returned by the first terminal;
analyzing the newly added media files in the first storage path according to the identification information corresponding to the newly added media files to generate thumbnails corresponding to the newly added media files;
and sending the thumbnail corresponding to the newly added media file to the first terminal, and displaying the thumbnail by the first terminal.
6. A thumbnail display method, comprising:
sending a thumbnail obtaining request to a second terminal, wherein the thumbnail obtaining request carries a first storage path of a media file;
receiving a thumbnail obtaining instruction which is sent by the second terminal and carries the thumbnail information; the thumbnail information is the thumbnail information corresponding to the media file stored in the first storage path and acquired by the second terminal according to the thumbnail acquisition request; the thumbnail information comprises identification information of a thumbnail corresponding to the media file and storage position information of the thumbnail in the cloud server;
acquiring a pre-stored thumbnail of the media file from a cloud server according to the thumbnail acquisition instruction, and displaying the thumbnail;
before receiving the thumbnail obtaining instruction carrying the thumbnail information sent by the second terminal, the method includes:
pre-storing the thumbnail information; the thumbnail information comprises a first corresponding relation table between the identification information of the thumbnail and second storage path information of the thumbnail in the cloud server;
the pre-storing the thumbnail information includes:
analyzing each media file stored in the first storage path in advance to generate a thumbnail of each media file, and identifying the thumbnail by using identification information of each media file;
storing the thumbnail with the identification information into a cloud server, and acquiring second storage path information of the thumbnail in the cloud server;
saving a first corresponding relation table between the identification information of the thumbnail and second storage path information of the thumbnail in the cloud server;
the analyzing each media file stored in the first storage path in advance to generate a thumbnail of each media file includes:
traversing each picture stored in the first storage path in advance to obtain a storage space occupied by each picture;
analyzing the picture with the occupied storage space larger than the preset threshold value to generate a corresponding thumbnail, and taking the original picture of the picture with the occupied storage space smaller than or equal to the preset threshold value as the thumbnail corresponding to the picture.
7. The display method according to claim 6, wherein the acquiring the thumbnail of the media file from the cloud server according to the thumbnail acquisition instruction comprises:
acquiring a thumbnail of the media file from a cloud server according to thumbnail information carried in the thumbnail acquisition instruction, and receiving a thumbnail corresponding to the newly added media file sent by the second terminal; the thumbnail information carries a second corresponding relation table; and the second corresponding relation table is obtained after the identification information corresponding to the deleted media file is deleted from the first corresponding relation table between the identification information of the thumbnail pre-stored by the second terminal and the second storage path information of the thumbnail in the cloud server.
8. The display method according to claim 6, wherein the acquiring the thumbnail of the media file from the cloud server according to the thumbnail acquisition instruction comprises:
acquiring a thumbnail corresponding to the identification information of each media file currently stored in the first storage path from a cloud server according to the thumbnail information carried in the thumbnail acquisition instruction; the thumbnail information carries identification information of each media file currently stored in the first storage path and a first corresponding relation table pre-stored by the second terminal;
marking the media file corresponding to the identification information which does not acquire the thumbnail from the cloud server as a newly added media file in the first storage path, and sending the identification information corresponding to the newly added media file to the second terminal;
and receiving the thumbnail corresponding to the newly added media file sent by the second terminal.
9. A thumbnail display apparatus, comprising:
the device comprises a first receiving unit, a second receiving unit and a processing unit, wherein the first receiving unit is used for receiving a thumbnail obtaining request sent by a first terminal, and the thumbnail obtaining request carries a first storage path of a media file;
the obtaining unit is used for obtaining the thumbnail information corresponding to the media file stored in the first storage path according to the thumbnail obtaining request; the thumbnail information comprises identification information of a thumbnail corresponding to the media file and storage position information of the thumbnail in the cloud server;
the first sending unit is used for sending the thumbnail acquiring instruction carrying the thumbnail information to the first terminal; the thumbnail acquiring instruction is used for indicating the first terminal to acquire a pre-stored thumbnail of the media file from a cloud server according to the thumbnail information and displaying the thumbnail;
a storage unit configured to store the thumbnail information in advance; the thumbnail information comprises a first corresponding relation table between the identification information of the thumbnail and second storage path information of the thumbnail in the cloud server;
the storage unit is specifically configured to:
analyzing each media file stored in the first storage path in advance to generate a thumbnail of each media file, and identifying the thumbnail by using identification information of each media file;
storing the thumbnail with the identification information into a cloud server, and acquiring second storage path information of the thumbnail in the cloud server;
saving a first corresponding relation table between the identification information of the thumbnail and second storage path information of the thumbnail in the cloud server;
the storage unit is specifically configured to:
traversing each picture stored in the first storage path in advance to obtain a storage space occupied by each picture;
analyzing the picture with the occupied storage space larger than the preset threshold value to generate a corresponding thumbnail, and taking the original picture of the picture with the occupied storage space smaller than or equal to the preset threshold value as the thumbnail corresponding to the picture.
10. A thumbnail display apparatus, comprising:
the second sending unit is used for sending a thumbnail obtaining request to a second terminal, wherein the thumbnail obtaining request carries a first storage path of the media file;
the second receiving unit is used for receiving a thumbnail obtaining instruction which is sent by the second terminal and carries the thumbnail information; the thumbnail information is the thumbnail information corresponding to the media file stored in the first storage path and acquired by the second terminal according to the thumbnail acquisition request; the thumbnail information comprises identification information of a thumbnail corresponding to the media file and storage position information of the thumbnail in the cloud server;
the display unit is used for acquiring the pre-stored thumbnail of the media file from the cloud server according to the thumbnail acquisition instruction and displaying the thumbnail;
a storage unit configured to store the thumbnail information in advance; the thumbnail information comprises a first corresponding relation table between the identification information of the thumbnail and second storage path information of the thumbnail in the cloud server;
the storage unit is specifically configured to:
analyzing each media file stored in the first storage path in advance to generate a thumbnail of each media file, and identifying the thumbnail by using identification information of each media file;
storing the thumbnail with the identification information into a cloud server, and acquiring second storage path information of the thumbnail in the cloud server;
saving a first corresponding relation table between the identification information of the thumbnail and second storage path information of the thumbnail in the cloud server;
the storage unit is specifically configured to:
traversing each picture stored in the first storage path in advance to obtain a storage space occupied by each picture;
analyzing the picture with the occupied storage space larger than the preset threshold value to generate a corresponding thumbnail, and taking the original picture of the picture with the occupied storage space smaller than or equal to the preset threshold value as the thumbnail corresponding to the picture.
11. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when executing the computer program.
12. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 6 to 8 when executing the computer program.
13. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
14. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 6 to 8.
CN201811129169.1A 2018-09-26 2018-09-26 Thumbnail display method and device, terminal and computer-readable storage medium Expired - Fee Related CN109271543B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811129169.1A CN109271543B (en) 2018-09-26 2018-09-26 Thumbnail display method and device, terminal and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811129169.1A CN109271543B (en) 2018-09-26 2018-09-26 Thumbnail display method and device, terminal and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN109271543A CN109271543A (en) 2019-01-25
CN109271543B true CN109271543B (en) 2021-03-26

Family

ID=65198483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811129169.1A Expired - Fee Related CN109271543B (en) 2018-09-26 2018-09-26 Thumbnail display method and device, terminal and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN109271543B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114371798A (en) * 2020-10-23 2022-04-19 统信软件技术有限公司 Picture display method and computing device
CN113761236A (en) * 2021-09-09 2021-12-07 世纪龙信息网络有限责任公司 Thumbnail previewing method, device, equipment and medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2011203265B1 (en) * 2011-02-01 2012-04-19 Limelight Networks, Inc. Content replication workflow in content delivery networks
CN103312757B (en) * 2012-03-15 2017-01-25 深圳市腾讯计算机系统有限公司 Picture sharing method and system
CN103475929B (en) * 2013-09-06 2017-09-05 深圳Tcl新技术有限公司 Multimedia file thumbnail read method and system
CN104462366B (en) * 2014-12-08 2018-04-13 北京安奇智联科技有限公司 The browser and its method for viewing thumbnail of a kind of computing device
CN106254467A (en) * 2016-08-05 2016-12-21 北京小米移动软件有限公司 Sharing files method and device
CN106534505A (en) * 2016-10-25 2017-03-22 Tcl集团股份有限公司 Picture sending method and device

Also Published As

Publication number Publication date
CN109271543A (en) 2019-01-25

Similar Documents

Publication Publication Date Title
CN109388319B (en) Screenshot method, screenshot device, storage medium and terminal equipment
CN109359091B (en) File management method, device, terminal and computer readable storage medium
CN108063818B (en) Data downloading method, device, terminal and computer readable storage medium
CN108038112B (en) File processing method, mobile terminal and computer readable storage medium
CN108228792B (en) Picture retrieval method, electronic device and storage medium
CN110119733B (en) Page identification method and device, terminal equipment and computer readable storage medium
CN111866577B (en) Screen recording method, electronic device and computer readable storage medium
CN109359582B (en) Information searching method, information searching device and mobile terminal
CN109271543B (en) Thumbnail display method and device, terminal and computer-readable storage medium
CN112912844A (en) File collection method, file collection device and terminal equipment
CN107748772B (en) Trademark identification method and device
CN112148192A (en) Image display method and device and electronic equipment
CN110166696B (en) Photographing method, photographing device, terminal equipment and computer-readable storage medium
AU2014271204A1 (en) Image recognition of vehicle parts
CN109656592B (en) Card management method, device, terminal and computer readable storage medium
CN107679222B (en) Picture processing method, mobile terminal and computer readable storage medium
CN107862035B (en) Network reading method and device for conference record, intelligent tablet and storage medium
CN111046393B (en) Vulnerability information uploading method and device, terminal equipment and storage medium
CN111401981B (en) Bidding method, device and storage medium of bidding cloud host
CN111045983B (en) Nuclear power station electronic file management method, device, terminal equipment and medium
CN108460128B (en) Document management method and device, electronic device and readable storage medium
CN109298956B (en) File transmission method and device and terminal equipment
CN109446462B (en) Page-based data monitoring processing method, device, equipment and storage medium
CN111444253A (en) Data import method and device, computer readable storage medium and computer equipment
CN109492249B (en) Rapid generation method and device of design drawing 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210326