CN106899630B - Thumbnail display method and device for pictures in network disk - Google Patents

Thumbnail display method and device for pictures in network disk Download PDF

Info

Publication number
CN106899630B
CN106899630B CN201510960339.0A CN201510960339A CN106899630B CN 106899630 B CN106899630 B CN 106899630B CN 201510960339 A CN201510960339 A CN 201510960339A CN 106899630 B CN106899630 B CN 106899630B
Authority
CN
China
Prior art keywords
picture
local
client
network disk
identifier
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
CN201510960339.0A
Other languages
Chinese (zh)
Other versions
CN106899630A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510960339.0A priority Critical patent/CN106899630B/en
Publication of CN106899630A publication Critical patent/CN106899630A/en
Application granted granted Critical
Publication of CN106899630B publication Critical patent/CN106899630B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • G06F16/1824Distributed file systems implemented using Network-attached Storage [NAS] architecture
    • G06F16/183Provision of network file services by network file servers, e.g. by using NFS, CIFS

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Library & Information Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a thumbnail display method and a thumbnail display device for pictures in a network disk, wherein the method is applied to a client installed with a network disk application program and comprises the following steps: sending a request for loading the thumbnail of the picture to a network disk application program; the picture is a picture which is backed up to the server by the client through the network disk application program, and the request comprises the identifier of the corresponding picture; judging whether the identifier of the corresponding picture exists in a preset picture record table or not; if the local path exists, extracting a local path corresponding to the identifier of the corresponding picture from the picture record table; and acquiring the local picture at the client according to the local path, and displaying the thumbnail of the local picture in the network disk application program. According to the method and the device, when the same local picture as that in the server exists in the client, the picture is prevented from being downloaded from the server, the local picture is obtained by obtaining the local path of the local picture, the thumbnail of the local picture is displayed, and the time for downloading the picture or the thumbnail of the picture from the server is saved.

Description

Thumbnail display method and device for pictures in network disk
Technical Field
The invention relates to the technical field of internet, in particular to a thumbnail display method and device for pictures in a network disk.
Background
With the popularity of internet and computers, people generally own multiple computing devices in life and work, for example, at least one computer is used in a work unit, another computer is used at home, and various mobile computing devices such as tablets or smart phones are used for going out or entertainment. To uniformly manage files in these computing devices, network storage systems have emerged. A typical network storage system may include a storage server and a plurality of computing terminals. Each computing terminal communicates with a storage server via a network. The computing terminal may transmit the local file to a server for centralized storage. When the user uses other computing terminals, files stored on the server may be browsed through the computing terminals and downloaded locally to the computing terminals for use. As networks become faster and faster, such network storage is becoming increasingly popular with users.
The network disk is a relatively common network storage system in the prior art. The network disk, also called network U disk and network hard disk, is an online storage service provided by internet companies, and provides file management functions such as storage, access, backup, sharing and the like for users. The user can see the network disk as a hard disk or a U disk placed on the network, and the files in the network disk can be managed and edited as long as the user can be connected to the Internet, whether the user is at home, in a unit or in any other place. The file is not required to be carried about, and the file is not afraid of being lost. The user can install the network disk application program on the local terminal and connect with the network disk server by using the network disk application program.
If a user wants to view a thumbnail of a picture in a network disk server, a target picture or the thumbnail of the target picture needs to be downloaded from the network disk server to a network disk client of a local terminal, if the storage space occupied by the target picture or the thumbnail of the target picture is large, the number of the target picture is large, or if the network speed of downloading the target picture or the thumbnail of the target picture from the network disk server to the network disk client of the local terminal is slow, the target picture or the thumbnail of the target picture needs to be downloaded from the network disk to the network disk client of the local terminal in a long time, and time is wasted.
Disclosure of Invention
In view of the above-mentioned problems that the conventional method for displaying thumbnails of pictures in a network disk is limited by the large storage space occupied by the target picture or the thumbnail thereof and the network speed is too slow, and time is wasted in downloading the target picture or the thumbnail thereof, the present invention is proposed to provide a method and an apparatus for displaying thumbnails of pictures in a network disk, which overcome the above-mentioned problems or at least partially solve the above-mentioned problems.
According to an aspect of the present invention, there is provided a method for displaying thumbnails of pictures in a network disk, which is applied to a client installed with a network disk application program, the method including:
sending a request for loading the thumbnail of the picture to the network disk application program; the picture is a picture which is backed up to a server by the client through the network disk application program, and the request comprises an identifier of the corresponding picture;
judging whether the identifier of the corresponding picture exists in a preset picture record table or not;
if the local path exists, extracting a local path corresponding to the identifier of the corresponding picture from the picture record table;
and acquiring a local picture at the client according to the local path, and displaying a thumbnail of the local picture in the network disk application program.
Optionally, the picture record table stores identifiers of related pictures and local paths, and the picture record table is periodically updated;
the related pictures comprise pictures which are backed up to the server by the client through the network disk application program, and pictures which are downloaded from the server by the client through the network disk application program.
Optionally, after the client acquires the local picture according to the local path, the method further includes:
checking whether the obtained identifier of the local picture is the same as the identifier in the request or not;
and if the local pictures are the same, executing the operation of displaying the thumbnail of the local picture in the network disk application program.
Optionally, the request further includes at least one of a name, a type, a backup time, and backup party information of the corresponding picture.
Optionally, before the determining whether the identifier of the corresponding picture exists in the preset picture record table, the method further includes:
judging whether the backup party information is the same as the identification information of the client;
and if the picture identifiers are the same, executing the operation of judging whether the identifiers of the corresponding pictures exist in a preset picture record table.
Optionally, the identification information of the client includes a client ID and/or a user name of the network disk application.
Optionally, after the client acquires the local picture according to the local path, the method further includes:
judging whether the backup time is after the generation time of the local picture;
and if so, executing the operation of displaying the thumbnail of the local picture in the network disk application program.
Optionally, after the client acquires the local picture according to the local path, the method further includes:
judging whether the type is the same as that of the local picture or not;
and if the local pictures are the same, executing the operation of displaying the thumbnail of the local picture in the network disk application program.
Optionally, the identifier is one of MD5, SHA1, and CRC 32.
According to another aspect of the present invention, there is provided a thumbnail display apparatus of pictures in a web disk, applied to a client installed with a web disk application, the apparatus including:
the request sending module is used for sending a request for loading the thumbnail of the picture to the network disk application program; the picture is a picture which is backed up to a server by the client through the network disk application program, and the request comprises an identifier of the corresponding picture;
the identifier judging module is used for judging whether the identifier of the corresponding picture exists in a preset picture recording list or not;
the local path extraction module is used for extracting a local path corresponding to the identifier of the corresponding picture from a preset picture record table if the identifier of the corresponding picture exists in the picture record table;
the local picture acquisition module is used for acquiring a local picture at the client according to the local path;
and the thumbnail display module is used for displaying the thumbnail of the local picture in the network disk application program.
Optionally, the picture record table stores identifiers of related pictures and local paths, and the picture record table is periodically updated;
the related pictures comprise pictures which are backed up to the server by the client through the network disk application program, and pictures which are downloaded from the server by the client through the network disk application program.
Optionally, the apparatus further comprises:
the identifier checking module is used for checking whether the obtained identifier of the local picture is the same as the identifier in the request or not after the local picture obtaining module obtains the local picture according to the local path at the client;
and if the local images are the same, the thumbnail display module displays the thumbnail of the local image in the network disk application program.
Optionally, the request further includes at least one of a name, a type, a backup time, and backup party information of the corresponding picture.
Optionally, the apparatus further comprises:
the backup party information judging module is used for judging whether the backup party information is the same as the identification information of the client before the identifier judging module judges whether the identifier of the corresponding picture exists in a preset picture recording table;
if the picture identifiers are the same, the identifier judging module judges whether the identifiers of the corresponding pictures exist in a preset picture record table or not.
Optionally, the identification information of the client includes a client ID and/or a user name of the network disk application.
Optionally, the apparatus further comprises:
the backup time judging module is used for judging whether the backup time is after the generation time of the local picture after the local picture acquiring module acquires the local picture according to the local path at the client;
and if so, the thumbnail display module displays the thumbnail of the local picture in the network disk application program.
Optionally, the apparatus further comprises:
the type judging module is used for judging whether the type is the same as that of the local picture or not after the local picture obtaining module obtains the local picture according to the local path at the client;
and if the local images are the same, the thumbnail display module displays the thumbnail of the local image in the network disk application program.
Optionally, the identifier is one of MD5, SHA1, and CRC 32.
In the existing thumbnail display method of pictures in a network disk, the picture or thumbnail downloaded from a network disk server is limited by the conditions of overlarge storage space occupied by a target picture or thumbnail, over-slow network speed and the like, the downloading process is slow, and time is wasted. In the thumbnail display scheme of the pictures in the network disk, provided by the invention, the network disk application program is installed in the client and can be connected with the server through the network disk application program. And sending a request for loading the thumbnail of the picture to the network disk application program, wherein the picture is the picture which is backed up to the server by the client through the network disk application program. And judging whether the identifier of the picture in the request exists in a preset picture recording table or not, if so, extracting a local path corresponding to the identifier of the picture from the picture recording table, acquiring the local picture at the client according to the local path, and displaying a thumbnail of the local picture in the network disk application program. Namely, when the same local picture as that in the server exists in the client, the picture can be prevented from being downloaded from the server, a local path of the local picture in the client is obtained through a picture recording table preset in the client, the local picture is obtained through the local path, a thumbnail of the local picture is displayed in a network disk application program, and the time for downloading the picture or the thumbnail of the picture from the server is saved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating steps of a method for displaying thumbnails of pictures in a network disk according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a thumbnail display apparatus of pictures in a network disk according to a second embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
The method for displaying the thumbnail of the picture in the network disk is applied to a client installed with a network disk application program, and the client can be a user terminal device such as a PC (personal computer), a smart phone or a tablet personal computer.
Referring to fig. 1, a flowchart illustrating a method for displaying thumbnails of pictures in a network disk according to a first embodiment of the present invention is shown.
Step 100, sending a request for loading the thumbnail of the picture to the network disk application program.
The picture is a picture which is backed up to a server by the client through the network disk application program, and the request comprises an identifier of the corresponding picture. The identifier is at least one of Message digest Algorithm fifth edition (Message digest Algorithm, MD5), Secure Hash Algorithm (SHA 1), and 32-bit Cyclic Redundancy Check (CRC 32). The request may also include at least a name, a type, a backup time, backup party information, and the like of the corresponding picture.
After the step 100, before the step 102, it may also be determined whether the backup party information is the same as the identification information of the client, so as to determine whether the picture is a picture uploaded to a server by the client. If yes, go to step 102. If the picture is uploaded to the server from the client, the identification information of the client can be used as the backup information of the picture. The identification information of the client may include a client ID and/or a user name of the network disk application, and the like.
Step 102, judging whether the identifier of the corresponding picture exists in a preset picture record table, if so, executing step 104; if not, the process ends.
The picture record table stores identifiers and local paths of related pictures, and is periodically updated; the related pictures comprise pictures which are backed up to the server by the client through the network disk application program, and pictures which are downloaded from the server by the client through the network disk application program. That is, the picture record table may record the identifier and the local path of the picture uploaded to the server by the client, and may also record the identifier and the local path of the picture downloaded from the server by the client.
And 104, extracting a local path corresponding to the identifier of the corresponding picture from the picture record table.
The identifiers in the picture record table have a one-to-one correspondence with the local paths. An identifier in the picture record table is determined, i.e. a local path corresponding to the identifier is determined accordingly.
And 106, acquiring a local picture at the client according to the local path, and displaying a thumbnail of the local picture in the network disk application program.
In order to increase the accuracy of obtaining the local picture locally from the client, after the client obtains the local picture according to the local path, any step or any combination of the following 3 steps may be further performed:
step 1, checking whether the obtained identifier of the local picture is the same as the identifier in the request or not; and if the local pictures are the same, executing the operation of displaying the thumbnail of the local picture in the network disk application program. That is, whether the identifier of the local picture locally acquired from the client is the same as the identifier in the request is checked, so that the picture locally acquired from the client is prevented from being modified, and the modified picture is taken as the target picture.
Step 2, judging whether the backup time is behind the generation time of the local picture; and if so, executing the operation of displaying the thumbnail of the local picture in the network disk application program. The backup time in the request may be system time when the client finishes uploading the local picture to the server. The system time may be a system time common to the client and the server. And if the backup time is before the generation time of the client local picture or the backup time is the same as the generation time of the client local picture, determining that the client local picture is not the target picture.
Step 3, judging whether the type is the same as that of the local picture; and if the local pictures are the same, executing the operation of displaying the thumbnail of the local picture in the network disk application program. Common picture types include jpg, png, and so on. And if the picture type in the request is different from the type of the local picture of the client, determining that the local picture of the client is not the target picture.
If the request also includes the capacity of the picture, whether the capacity in the request is the same as the capacity of the local picture of the client or not can be further judged, and if the capacity is the same, the local picture of the client can be further determined to be the target picture.
In summary, in the technical solution of the embodiment of the present invention, the network disk application is installed in the client, and the client can be connected to the server through the network disk application. And sending a request for loading the thumbnail of the picture to the network disk application program, wherein the picture is the picture which is backed up to the server by the client through the network disk application program. And judging whether the identifier of the picture in the request exists in a preset picture recording table or not, if so, extracting a local path corresponding to the identifier of the picture from the picture recording table, acquiring the local picture at the client according to the local path, and displaying a thumbnail of the local picture in the network disk application program. Namely, when the same local picture as that in the server exists in the client, the picture can be prevented from being downloaded from the server, a local path of the local picture in the client is obtained through a picture recording table preset in the client, the local picture is obtained through the local path, a thumbnail of the local picture is displayed in a network disk application program, and the time for downloading the picture or the thumbnail of the picture from the server is saved.
Example two
The thumbnail display device of the picture in the network disk provided by the second embodiment of the invention is applied to a client installed with a network disk application program, and the client can be a user terminal device such as a PC, a smart phone or a tablet personal computer.
Referring to fig. 2, a schematic structural diagram of a thumbnail display apparatus of pictures in a network disk according to a second embodiment of the present invention is shown.
The apparatus may include: a request sending module 20, an identifier judging module 22, a local path extracting module 24, a local picture acquiring module 26 and a thumbnail display module 28.
The functions of the modules and the relationships between the modules are described in detail below.
A request sending module 20, configured to send a request for loading a thumbnail of a picture to the network disk application; the picture is a picture which is backed up to a server by the client through the network disk application program, and the request comprises an identifier of the corresponding picture.
The identifier determining module 22 is configured to determine whether an identifier of the corresponding picture exists in a preset picture record table. The identifier is one of MD5, SHA1, and CRC 32. The picture record table stores identifiers and local paths of related pictures, and is periodically updated; the related pictures comprise pictures which are backed up to the server by the client through the network disk application program, and pictures which are downloaded from the server by the client through the network disk application program.
A local path extracting module 24, configured to extract, if the identifier of the corresponding picture exists in a preset picture record table, a local path corresponding to the identifier of the corresponding picture from the picture record table.
The picture record table stores identifiers and local paths of related pictures, and is periodically updated; the related pictures comprise pictures which are backed up to the server by the client through the network disk application program, and pictures which are downloaded from the server by the client through the network disk application program.
And a local picture obtaining module 26, configured to obtain a local picture at the client according to the local path.
And a thumbnail display module 28, configured to display a thumbnail of the local picture in the network disk application.
The apparatus may further include: an identifier checking module, configured to check whether an identifier of the obtained local picture is the same as the identifier in the request after the local picture obtaining module 26 obtains the local picture according to the local path at the client; if the local pictures are the same, the thumbnail display module 28 displays the thumbnail of the local picture in the network disk application program.
The request further includes at least one of a name, a type, a backup time, and backup party information of the corresponding picture.
The apparatus may further include: a backup party information judging module, configured to judge whether the backup party information is the same as the identification information of the client before the identifier judging module 22 judges whether the identifier of the corresponding picture exists in a preset picture record table; if the two pictures are the same, the identifier determining module 22 determines whether the identifier of the corresponding picture exists in a preset picture record table.
The identification information of the client comprises a client ID and/or a user name of the network disk application program.
The apparatus may further include: a backup time determining module, configured to determine whether the backup time is after the generation time of the local picture after the local picture obtaining module 26 obtains the local picture according to the local path at the client; if yes, the thumbnail display module 28 displays the thumbnail of the local picture in the network disk application.
The apparatus may further include: a type determining module, configured to determine whether the type is the same as the type of the local picture after the local picture obtaining module 26 obtains the local picture according to the local path at the client; if the local pictures are the same, the thumbnail display module 28 displays the thumbnail of the local picture in the network disk application program.
In summary, in the technical solution of the embodiment of the present invention, the network disk application is installed in the client, and the client can be connected to the server through the network disk application. And sending a request for loading the thumbnail of the picture to the network disk application program, wherein the picture is the picture which is backed up to the server by the client through the network disk application program. And judging whether the identifier of the picture in the request exists in a preset picture recording table or not, if so, extracting a local path corresponding to the identifier of the picture from the picture recording table, acquiring the local picture at the client according to the local path, and displaying a thumbnail of the local picture in the network disk application program. Namely, when the same local picture as that in the server exists in the client, the picture can be prevented from being downloaded from the server, a local path of the local picture in the client is obtained through a picture recording table preset in the client, the local picture is obtained through the local path, a thumbnail of the local picture is displayed in a network disk application program, and the time for downloading the picture or the thumbnail of the picture from the server is saved.
The thumbnail display scheme for pictures in a web disk provided herein is not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system incorporating aspects of the present invention will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the thumbnail display scheme of pictures in a web disk according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention discloses A1 and a thumbnail display method of pictures in a network disk, which is applied to a client side provided with a network disk application program, and the method comprises the following steps:
sending a request for loading the thumbnail of the picture to the network disk application program; the picture is a picture which is backed up to a server by the client through the network disk application program, and the request comprises an identifier of the corresponding picture;
judging whether the identifier of the corresponding picture exists in a preset picture record table or not;
if the local path exists, extracting a local path corresponding to the identifier of the corresponding picture from the picture record table;
and acquiring a local picture at the client according to the local path, and displaying a thumbnail of the local picture in the network disk application program.
A2, the method according to A1, wherein the picture record table stores the identifier of the relevant picture and the local path, and the picture record table is updated periodically;
the related pictures comprise pictures which are backed up to the server by the client through the network disk application program, and pictures which are downloaded from the server by the client through the network disk application program.
A3, the method according to A1, wherein after the client acquires a local picture according to the local path, the method further comprises:
checking whether the obtained identifier of the local picture is the same as the identifier in the request or not;
and if the local pictures are the same, executing the operation of displaying the thumbnail of the local picture in the network disk application program.
A4, the method according to A1, wherein the request further includes at least one of name, type, backup time and backup party information of the corresponding picture.
A5, the method according to a4, wherein before the determining whether the identifier of the corresponding picture exists in a preset picture record table, the method further comprises:
judging whether the backup party information is the same as the identification information of the client;
and if the picture identifiers are the same, executing the operation of judging whether the identifiers of the corresponding pictures exist in a preset picture record table.
A6, the method according to A5, wherein the identification information of the client includes a client ID and/or a user name of the web application.
A7, the method according to A4, wherein after the client acquires a local picture according to the local path, the method further comprises:
judging whether the backup time is after the generation time of the local picture;
and if so, executing the operation of displaying the thumbnail of the local picture in the network disk application program.
A8, the method according to A4, wherein after the client acquires a local picture according to the local path, the method further comprises:
judging whether the type is the same as that of the local picture or not;
and if the local pictures are the same, executing the operation of displaying the thumbnail of the local picture in the network disk application program.
A9, the method of A1, wherein the identifier is one of MD5, SHA1, and CRC 32.
The invention also discloses B10, a thumbnail display device of pictures in the network disk, which is applied to a client installed with a network disk application program, and the device comprises:
the request sending module is used for sending a request for loading the thumbnail of the picture to the network disk application program; the picture is a picture which is backed up to a server by the client through the network disk application program, and the request comprises an identifier of the corresponding picture;
the identifier judging module is used for judging whether the identifier of the corresponding picture exists in a preset picture recording list or not;
the local path extraction module is used for extracting a local path corresponding to the identifier of the corresponding picture from a preset picture record table if the identifier of the corresponding picture exists in the picture record table;
the local picture acquisition module is used for acquiring a local picture at the client according to the local path;
and the thumbnail display module is used for displaying the thumbnail of the local picture in the network disk application program.
B11, the device according to B10, wherein the picture record table stores the identifiers of the related pictures and the local paths, and the picture record table is updated periodically;
the related pictures comprise pictures which are backed up to the server by the client through the network disk application program, and pictures which are downloaded from the server by the client through the network disk application program.
B12, the apparatus according to B10, wherein the apparatus further comprises:
the identifier checking module is used for checking whether the obtained identifier of the local picture is the same as the identifier in the request or not after the local picture obtaining module obtains the local picture according to the local path at the client;
and if the local images are the same, the thumbnail display module displays the thumbnail of the local image in the network disk application program.
B13, the apparatus according to B10, wherein the request further includes at least one of a name, a type, a backup time, and backup side information of the corresponding picture.
B14, the apparatus according to B13, wherein the apparatus further comprises:
the backup party information judging module is used for judging whether the backup party information is the same as the identification information of the client before the identifier judging module judges whether the identifier of the corresponding picture exists in a preset picture recording table;
if the picture identifiers are the same, the identifier judging module judges whether the identifiers of the corresponding pictures exist in a preset picture record table or not.
B15, the apparatus according to B14, wherein the identification information of the client includes a client ID and/or a user name of the web disk application.
B16, the apparatus according to B13, wherein the apparatus further comprises:
the backup time judging module is used for judging whether the backup time is after the generation time of the local picture after the local picture acquiring module acquires the local picture according to the local path at the client;
and if so, the thumbnail display module displays the thumbnail of the local picture in the network disk application program.
B17, the apparatus according to B13, wherein the apparatus further comprises:
the type judging module is used for judging whether the type is the same as that of the local picture or not after the local picture obtaining module obtains the local picture according to the local path at the client;
and if the local images are the same, the thumbnail display module displays the thumbnail of the local image in the network disk application program.
B18, the apparatus of B10, wherein the identifier is one of MD5, SHA1, and CRC 32.

Claims (12)

1. A thumbnail display method of pictures in a network disk is applied to a client installed with a network disk application program, and the method comprises the following steps:
sending a request for loading the thumbnail of the picture to the network disk application program; the picture is a picture which is backed up to a server by the client through the network disk application program, and the request comprises an identifier of the corresponding picture;
judging whether the identifier of the corresponding picture exists in a preset picture record table or not;
if the local path exists, extracting a local path corresponding to the identifier of the corresponding picture from the picture record table;
acquiring a local picture at the client according to the local path, and displaying a thumbnail of the local picture in the network disk application program;
the picture record table stores identifiers and local paths of related pictures, and is periodically updated;
the related pictures comprise pictures which are backed up to the server by the client through the network disk application program, and pictures which are downloaded from the server by the client through the network disk application program;
the request also at least comprises one of the name, the type, the backup time and the backup party information of the corresponding picture;
before the determining whether the identifier of the corresponding picture exists in the preset picture record table, the method further includes:
judging whether the backup party information is the same as the identification information of the client;
and if the picture identifiers are the same, executing the operation of judging whether the identifiers of the corresponding pictures exist in a preset picture record table.
2. The method of claim 1, wherein after the client obtains a local picture according to the local path, the method further comprises:
checking whether the obtained identifier of the local picture is the same as the identifier in the request or not;
and if the local pictures are the same, executing the operation of displaying the thumbnail of the local picture in the network disk application program.
3. The method of claim 1, wherein the identification information of the client comprises a client ID and/or a username of the web application.
4. The method of claim 1, wherein after the client obtains a local picture according to the local path, the method further comprises:
judging whether the backup time is after the generation time of the local picture;
and if so, executing the operation of displaying the thumbnail of the local picture in the network disk application program.
5. The method of claim 1, wherein after the client obtains a local picture according to the local path, the method further comprises:
judging whether the type is the same as that of the local picture or not;
and if the local pictures are the same, executing the operation of displaying the thumbnail of the local picture in the network disk application program.
6. The method of claim 1, wherein the identifier is one of MD5, SHA1, and CRC 32.
7. A thumbnail display device of pictures in a network disk is applied to a client installed with a network disk application program, and the device comprises:
the request sending module is used for sending a request for loading the thumbnail of the picture to the network disk application program; the picture is a picture which is backed up to a server by the client through the network disk application program, and the request comprises an identifier of the corresponding picture;
the identifier judging module is used for judging whether the identifier of the corresponding picture exists in a preset picture recording list or not;
the local path extraction module is used for extracting a local path corresponding to the identifier of the corresponding picture from a preset picture record table if the identifier of the corresponding picture exists in the picture record table;
the local picture acquisition module is used for acquiring a local picture at the client according to the local path;
the thumbnail display module is used for displaying the thumbnail of the local picture in the network disk application program;
the picture record table stores identifiers and local paths of related pictures, and is periodically updated;
the related pictures comprise pictures which are backed up to the server by the client through the network disk application program, and pictures which are downloaded from the server by the client through the network disk application program;
the request also at least comprises one of the name, the type, the backup time and the backup party information of the corresponding picture;
the device further comprises: the backup party information judging module is used for judging whether the backup party information is the same as the identification information of the client before the identifier judging module judges whether the identifier of the corresponding picture exists in a preset picture recording table;
if the picture identifiers are the same, the identifier judging module judges whether the identifiers of the corresponding pictures exist in a preset picture record table or not.
8. The apparatus of claim 7, wherein the apparatus further comprises:
the identifier checking module is used for checking whether the obtained identifier of the local picture is the same as the identifier in the request or not after the local picture obtaining module obtains the local picture according to the local path at the client;
and if the local images are the same, the thumbnail display module displays the thumbnail of the local image in the network disk application program.
9. The apparatus of claim 7, wherein the identification information of the client comprises a client ID and/or a user name of the web disk application.
10. The apparatus of claim 7, wherein the apparatus further comprises:
the backup time judging module is used for judging whether the backup time is after the generation time of the local picture after the local picture acquiring module acquires the local picture according to the local path at the client;
and if so, the thumbnail display module displays the thumbnail of the local picture in the network disk application program.
11. The apparatus of claim 7, wherein the apparatus further comprises:
the type judging module is used for judging whether the type is the same as that of the local picture or not after the local picture obtaining module obtains the local picture according to the local path at the client;
and if the local images are the same, the thumbnail display module displays the thumbnail of the local image in the network disk application program.
12. The apparatus of claim 7, wherein the identifier is one of MD5, SHA1, and CRC 32.
CN201510960339.0A 2015-12-18 2015-12-18 Thumbnail display method and device for pictures in network disk Active CN106899630B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510960339.0A CN106899630B (en) 2015-12-18 2015-12-18 Thumbnail display method and device for pictures in network disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510960339.0A CN106899630B (en) 2015-12-18 2015-12-18 Thumbnail display method and device for pictures in network disk

Publications (2)

Publication Number Publication Date
CN106899630A CN106899630A (en) 2017-06-27
CN106899630B true CN106899630B (en) 2020-11-03

Family

ID=59191221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510960339.0A Active CN106899630B (en) 2015-12-18 2015-12-18 Thumbnail display method and device for pictures in network disk

Country Status (1)

Country Link
CN (1) CN106899630B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165365B (en) * 2018-09-14 2021-11-16 浪潮通用软件有限公司 Method for updating picture by using cache frame and timestamp in android native application
CN111277916A (en) * 2020-01-09 2020-06-12 深圳震有科技股份有限公司 Queue-based video thumbnail loading processing method and device, equipment and medium
CN116561351A (en) * 2022-01-29 2023-08-08 华为技术有限公司 Thumbnail storage method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184177A (en) * 2011-01-04 2011-09-14 北京开心人信息技术有限公司 Method and system for previewing file
CN102970358A (en) * 2012-11-08 2013-03-13 百度在线网络技术(北京)有限公司 Method and device for controlling local cache of mobile client in network disc
CN104253836A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Wireless network based image displaying method and system and mobile terminal
CN104965877A (en) * 2015-06-12 2015-10-07 郑州悉知信息技术有限公司 Webpage picture acquisition method, picture cache server, coordination server and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103780676B (en) * 2013-12-12 2017-04-26 北京奇虎科技有限公司 File transmission method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184177A (en) * 2011-01-04 2011-09-14 北京开心人信息技术有限公司 Method and system for previewing file
CN102970358A (en) * 2012-11-08 2013-03-13 百度在线网络技术(北京)有限公司 Method and device for controlling local cache of mobile client in network disc
CN104253836A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Wireless network based image displaying method and system and mobile terminal
CN104965877A (en) * 2015-06-12 2015-10-07 郑州悉知信息技术有限公司 Webpage picture acquisition method, picture cache server, coordination server and system

Also Published As

Publication number Publication date
CN106899630A (en) 2017-06-27

Similar Documents

Publication Publication Date Title
CN110096660B (en) Method and device for loading page pictures and electronic equipment
US8694597B1 (en) Mobile device group-based data sharing
US9864736B2 (en) Information processing apparatus, control method, and recording medium
US8694744B1 (en) Mobile device snapshot backup
US20160285781A1 (en) Data processing method, apparatus, client, server and system
US20130227085A1 (en) Terminal and method for using cloud services
JP7397094B2 (en) Resource configuration method, resource configuration device, computer equipment, and computer program
US10917484B2 (en) Identifying and managing redundant digital content transfers
Tso et al. iPhone social networking for evidence investigations using iTunes forensics
US20120296871A1 (en) File managing apparatus for processing an online storage service
CN104348919A (en) Method and device for downloading file and browser
CN104580376A (en) Method, device and system for constructing connection between terminals in local area network
CN106899630B (en) Thumbnail display method and device for pictures in network disk
US9367572B2 (en) Metadata-based file-identification systems and methods
US20180248947A1 (en) Metered Network Synchronization
US20120307078A1 (en) Automatic sharing and replacement of content based on network connectivity
CN106250536A (en) A kind of space page background method to set up, Apparatus and system
CN110838969B (en) Picture transmission method, device, equipment and medium
US8655966B1 (en) Mobile device data protection
CN111159244A (en) Data query method and device
US9514089B1 (en) Mobile device network data synchronization
CN106845202B (en) File access method, device and system for face recognition system
CN110474954A (en) Sharing files method, apparatus, computer equipment and readable storage medium storing program for executing based on block chain
CN116028433B (en) Data migration method and electronic equipment
US20210141771A1 (en) Method of managing files by mobile device and mobile device for implementing the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240115

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right