WO2017166760A1 - Method, apparatus, mobile terminal, and electronic device for reviewing image file - Google Patents

Method, apparatus, mobile terminal, and electronic device for reviewing image file Download PDF

Info

Publication number
WO2017166760A1
WO2017166760A1 PCT/CN2016/100290 CN2016100290W WO2017166760A1 WO 2017166760 A1 WO2017166760 A1 WO 2017166760A1 CN 2016100290 W CN2016100290 W CN 2016100290W WO 2017166760 A1 WO2017166760 A1 WO 2017166760A1
Authority
WO
WIPO (PCT)
Prior art keywords
image file
read
memory
identification code
image
Prior art date
Application number
PCT/CN2016/100290
Other languages
French (fr)
Chinese (zh)
Inventor
赵洪涛
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
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 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017166760A1 publication Critical patent/WO2017166760A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • 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/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • 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/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/432Query formulation
    • G06F16/434Query formulation using image data, e.g. images, photos, pictures taken by a user

Definitions

  • the present application relates to the field of computer mobile terminal technologies, and in particular, to a method, an apparatus, a mobile terminal, and an electronic device for reviewing an image file.
  • the mobile terminal When the user browses the image file, the mobile terminal continuously loads the image file into the cache, so that the user can quickly display the image file when performing the operation such as viewing back, and no need to re-download from the network.
  • the user sometimes browses a lot of image files. Due to the limited buffer space, it is impossible to load all the image files browsed by the user into the cache space. When the cache space is occupied to a certain extent, the mobile terminal will release part of the cache space. In this way, when the user looks back at the image file, some image files are released due to the cache, and the mobile terminal can only re-download the image file from the network, which requires user traffic.
  • the technical problem to be solved by the present application is that the image file cache has to be released when it is released. Newly download the image file.
  • the embodiment of the present application provides a method for reviewing an image file, including: acquiring an identification code of an image file to be displayed; checking whether an image control of an image file corresponding to the identification code is empty; When the result is empty, the image file corresponding to the identification code is searched in the read-only memory by the identifier code, wherein the image file to be displayed is backed up into the read-only memory when browsing for the first time; When the image file corresponding to the identification code is stored in the read memory, the image file is read from the read-only memory to the random access memory; and the read image file is restored from the random access memory to the image In the control, to display the image file.
  • the method further includes: converting the image file backed up in the read-only memory from a format of low compression ratio to a format of high compression ratio.
  • the method further comprises: compressing the image file backed up in the read-only memory within a predetermined time period into a compressed file package.
  • the method further includes: clearing at least a part of the image file backed up in the read-only memory.
  • the embodiment of the present application further provides an apparatus for viewing an image file, comprising: an obtaining unit, configured to acquire an identification code of an image file to be displayed; and an checking unit, configured to check an image file corresponding to the identifier code. Whether the image control is empty or not; the searching unit is configured to search for an image file corresponding to the identification code in the read-only memory by using the identification code when the inspection result of the inspection unit is empty, wherein the image file to be displayed is The first unit is backed up to the read-only memory; the reading unit is configured to: when the search unit finds the image file corresponding to the identifier code stored in the read-only memory, the image is The file is read from the read-only memory to the random access memory; and a restoring unit is configured to restore the image file read by the reading unit from the random access memory to the image control to display the image file.
  • the device further includes: a converting unit, configured to convert the image file backed up in the read-only memory from a low compression rate format to a high compression rate format.
  • the device further includes: a compression unit, The image file backed up in the read-only memory within a predetermined time period is compressed into a compressed file package.
  • the device further includes: a clearing unit, configured to clear at least a part of the image file backed up in the read-only memory.
  • the clearing unit uses an LRU algorithm to clear the least recently used image file out of the read only memory.
  • the embodiment of the present application further provides a mobile terminal, including the apparatus for reviewing an image file according to any one of the preceding claims.
  • An embodiment of the present application further provides an electronic device including at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor The instruction is executed by the at least one processor to enable the at least one processor to acquire an identification code of an image file to be displayed; and check whether an image control that displays an image file corresponding to the identification code is empty; When the result of the check is empty, the image file corresponding to the identification code is searched in the read-only memory by the identifier code, wherein the image file to be displayed is backed up into the read-only memory when browsing for the first time; When the image file corresponding to the identification code is stored in the read-only memory, the image file is read from the read-only memory to the random access memory; and the read image file is restored from the random access memory to the In the image control to display the image file.
  • the at least one processor is further capable of converting an image file backed up in the read-only memory from a low compression ratio format to a high compression ratio format.
  • the at least one processor is further capable of compressing an image file backed up in the read-only memory within a predetermined time period into a compressed file package.
  • the at least one processor is further capable of: clearing at least a portion of the image file backed up in the read only memory.
  • Embodiments of the present application also provide a non-volatile computer storage medium storing the computer-executable instructions of computer-executable instructions that, when executed by an electronic device, enable an electronic device to acquire an image to be displayed An identifier of the file; checking whether an image control of the image file corresponding to the identifier code is empty; when the check result is empty, The identification code searches for an image file corresponding to the identification code in a read-only memory, wherein the image file to be displayed is backed up into the read-only memory when first browsing; when the identifier is stored in the read-only memory The image file corresponding to the code is read from the read-only memory to the random access memory; the read image file is restored from the random access memory to the image control to display the image file.
  • the above storage medium preferably enables the electronic device to further convert the image file backed up in the read only memory from a low compression format to a high compression format.
  • the above storage medium preferably enables the electronic device to further compress the image file backed up in the read-only memory within a predetermined period of time into a compressed file package.
  • the above storage medium preferably enables the electronic device to also: clear at least a portion of the image file backed up in the read only memory.
  • the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the computer is caused to perform any of the above methods.
  • the method, the device, the mobile terminal, the electronic device, and the storage medium provided by the application for reviewing an image file pass the identification code of the image file to be displayed in a case where the cache resource occupied by the image file to be displayed has been released.
  • Reading image files is much faster than re-downloading the image file from the network, and it also speeds up browsing the image.
  • FIG. 1 shows a flow chart of a method of looking back at an image file according to an embodiment of the present application
  • FIG. 2 shows a schematic diagram of an apparatus for reviewing an image file in accordance with an embodiment of the present application
  • FIG. 3 is a schematic diagram showing the hardware structure of an electronic device according to an embodiment of the present application.
  • connection In the description of the present application, it should be noted that the terms “installation”, “connected”, and “connected” are to be understood broadly, and may be fixed or detachable, for example, unless otherwise specifically defined and defined. Connected, or connected integrally; may be mechanical or electrical; They may be directly connected, or may be indirectly connected through an intermediate medium, or may be internal communication between two components, and may be a wireless connection or a wired connection.
  • Connected, or connected integrally may be mechanical or electrical; They may be directly connected, or may be indirectly connected through an intermediate medium, or may be internal communication between two components, and may be a wireless connection or a wired connection.
  • the specific meanings of the above terms in the present application can be understood in the specific circumstances for those skilled in the art.
  • the embodiment of the present application provides a method for reviewing an image file, and the method can be applied to a mobile terminal such as a mobile phone or a tablet computer. As shown in FIG. 1 , the method includes the following steps:
  • the identification code may be a character string or a URL (Uniform Resource Locator) of the picture.
  • the image control may be, for example, an ImageView image control, and the ImageView image control is responsible for displaying an image.
  • the source of the image may be the id of the resource file, the Drawable object or the Bitmap object, or the content provider. website address.
  • the mobile terminal first checks whether there is an image file in its random access memory (RAM), which may be, for example, a cache or memory of the mobile terminal.
  • RAM random access memory
  • the storage space of the random access memory is small.
  • the storage space of the random access memory of the mainstream mobile terminal is usually 1-4G, which is expensive, and the data stored therein is lost after the power is cut off, but the read/write speed of the random access memory Fast, image files stored in random access memory can be easily viewed by users at any time.
  • step S13 is performed.
  • the read-only memory can be, for example, a read-only storage space or a memory card of the mobile terminal, and the storage space of the read-only memory in the mobile terminal is much larger than that of the random access memory.
  • the storage space of the storage is usually 16-128G, and the storage space can be further expanded by the memory card, the price is low, and the data stored therein after the power is off remains.
  • the mobile terminal can store the image file on the mobile when the user browses the image file for the first time. Both the random access memory and the read only memory of the terminal.
  • step S14 is performed in this case.
  • the backup of the image file is obtained from the read-only memory by the identification code of the image file to be displayed, and the backup is required by the backup.
  • the displayed image file is restored to the image control, thereby eliminating the need to re-download the image file from the network, saving user traffic, and reading the image file from the read-only memory much faster than re-downloading the image file from the network. It also improves the speed of browsing pictures.
  • the above method may further include: converting the image file backed up in the read-only memory from a format of low compression ratio to a format of high compression ratio.
  • a format of low compression ratio such as bmp or tif can be converted into an image file format of a high compression ratio such as jpg or even png, thereby reducing the storage space occupied by the image file.
  • the above method may further comprise: compressing the image file backed up in the read-only memory within the predetermined time period into a compressed file package.
  • the mobile terminal can compress the image file stored in one week into a compressed file package, thereby further reducing the storage space occupied by the image file.
  • the image file to be viewed can still be extracted from the compressed package without having to re-download the image file from the network.
  • the image file format of low compression ratio is first converted into a map of high compression ratio.
  • a high-compression image file format such as a backup during a predetermined time period, is then stored in the form of a compressed file package to further reduce the storage space occupied by the backup of the browsed image file.
  • the above method may further include: clearing at least a part of the image file of the backup in the read-only memory.
  • the mobile terminal may use the LRU (Least Recently Used) algorithm, that is, the least recently used algorithm to clear the least recently used image file out of the read-only memory; the mobile terminal may also sort the stored image files according to the storage time order.
  • the read-only memory for example, clears the image file that was viewed a month ago, because the user rarely needs to look back at the image file that is so long ago, so that the storage space of the read-only memory can be prevented from being exhausted.
  • the mobile terminal can clear the entire compressed package, or just clear some files in the compressed package.
  • the embodiment of the present application provides a device for viewing an image file, and the device can be applied to a mobile terminal such as a mobile phone or a tablet computer.
  • a mobile terminal such as a mobile phone or a tablet computer.
  • the device includes:
  • the obtaining unit 21 is configured to acquire an identification code (ID) of the image file to be displayed.
  • ID an identification code
  • the identification code may be a character string or a URL (Uniform Resource Locator) of the picture.
  • the checking unit 22 is configured to check whether the image control for displaying the image file corresponding to the identification code is null. When the check result is not empty, it indicates that the image file to be displayed is still stored in the random memory, and then The image file is displayed directly.
  • the searching unit 23 is configured to search for an image file corresponding to the identification code in the read only memory (ROM) by using the identification code when the check result of the checking unit 23 is empty, wherein the image file to be displayed is When the image file corresponding to the identification code does not exist in the read-only memory, the mobile terminal can only re-download the image file from the network.
  • ROM read only memory
  • the reading unit 24 is configured to search the search unit 23 for the identification code stored in the read-only memory. When the corresponding image file is used, the image file is read from the read only memory to the random access memory.
  • the recovery unit 25 is configured to restore the image file read by the reading unit 24 from the random access memory to the image control to display the image file.
  • the backup of the image file is obtained from the read-only memory by the identification code of the image file to be displayed, and the backup is required by the backup.
  • the displayed image file is restored to the image control, thereby eliminating the need to re-download the image file from the network, saving user traffic, and reading the image file from the read-only memory much faster than re-downloading the image file from the network. It also improves the speed of browsing pictures.
  • the apparatus may further include: a converting unit, configured to convert the image file backed up in the read-only memory from a low compression rate format to a high compression rate format.
  • a converting unit configured to convert the image file backed up in the read-only memory from a low compression rate format to a high compression rate format.
  • an image file format of a low compression ratio such as bmp or tif can be converted into an image file format of a high compression ratio such as jpg or even png, thereby reducing the storage space occupied by the image file.
  • the apparatus may further include: a compression unit, configured to compress the image file backed up in the read-only memory in the predetermined time period into a compressed file package.
  • a compression unit configured to compress the image file backed up in the read-only memory in the predetermined time period into a compressed file package.
  • the mobile terminal can compress the image file stored in one week into a compressed file package, thereby further reducing the storage space occupied by the image file.
  • the image file to be viewed can still be extracted from the compressed package without having to re-download the image file from the network.
  • the image file format of the low compression ratio is first converted into the image file format of the high compression ratio by the conversion unit, and then the image file format of the high compression ratio backed up, for example, in a predetermined time period, is compressed by the compression unit to compress the file.
  • the package is stored in the form of a package to further reduce the storage space used to back up the browsed image files.
  • the above apparatus may further include: a clearing unit for clearing at least a part of the image file backed up in the read-only memory.
  • the mobile terminal may use the LRU (Least Recently Used) algorithm, that is, the least recently used algorithm, to clear the least recently used image file out of the read-only memory; the mobile terminal may also sort according to the storage time, which will be the most
  • the image file stored early clears out the read-only memory, for example, clears the image file that was viewed one month ago, because the user rarely needs to look back at the image file that is so long ago, so that the storage space of the read-only memory can be prevented from being exhausted.
  • the mobile terminal can clear the entire compressed package, or just clear some files in the compressed package.
  • each of the above optional units is for reducing the storage space occupied by the backup of the browsed image file, and any feasible combination of the above various optional units falls within the protection scope of the present application.
  • the embodiment of the present application further provides a mobile terminal, including the apparatus for reviewing an image file as described above, so that the mobile terminal can display by using the cache resource occupied by the image file to be displayed.
  • the image file identification code obtains a backup of the image file from the read-only memory, and restores the image file to be displayed to the image control through the backup, so that the image file can be downloaded without re-downloading from the network, thereby saving user traffic.
  • the speed of reading the image file from the read-only memory is much faster than the speed of re-downloading the image file from the network.
  • the present application further provides an electronic device including at least one processor 810; and a memory 800 communicably coupled to the at least one processor 810; wherein the memory 800 stores Executing instructions executed by at least one processor 810, the instructions being executed by the at least one processor 810 to enable the at least one processor 810 to acquire an identification code of an image file to be displayed; checking display of the identification code Whether the image control of the corresponding image file is empty; when the check result is empty, the image file corresponding to the identification code is searched in the read-only memory by the identification code, wherein the image file to be displayed is Backing up into the read-only memory; when the image file corresponding to the identification code is stored in the read-only memory, reading the image file from the read-only memory to a random access memory; The image file is restored from the random access memory to the image control to display the image file.
  • the electronic device also includes an input electrically coupled to the memory 800 and the processor Into device 830 and output device 840, the electrical connections are preferably connected by a bus
  • the at least one processor is further capable of: converting an image file backed up in the read-only memory from a format of a low compression ratio to a format of a high compression ratio.
  • the at least one processor is further capable of: compressing an image file backed up in the read-only memory within a predetermined time period into a compressed file package.
  • the at least one processor is further capable of: clearing at least a part of the image file backed up in the read-only memory.
  • Embodiments of the present application also provide a non-volatile computer storage medium storing the computer-executable instructions of computer-executable instructions that, when executed by an electronic device, enable an electronic device to acquire an image to be displayed An identifier of the file; checking whether the image control of the image file corresponding to the identifier is empty; and when the check result is empty, searching for the image file corresponding to the identifier in the read-only memory by using the identifier
  • the image file to be displayed is backed up into the read-only memory when browsing for the first time; when the image file corresponding to the identification code is stored in the read-only memory, the image file is from the The read memory is read to the random access memory; the read image file is restored from the random access memory to the image control to display the image file.
  • the storage medium of the embodiment preferably enables the electronic device to further convert the image file backed up in the read-only memory from a format of low compression ratio to a format of high compression ratio.
  • the storage medium of the embodiment preferably causes the electronic device to further compress the image file backed up in the read-only memory within a predetermined time period into a compressed file package.
  • the storage medium of the embodiment preferably, such that the electronic device is further capable of: clearing at least a portion of the image file backed up in the read only memory.
  • the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program package Program instructions are provided that, when executed by a computer, cause the computer to perform the methods described above.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

Disclosed in the present application are a method, an apparatus, a mobile terminal, and an electronic device for reviewing image files. The present application relates to the technical field of computer mobile terminals. The method comprises: acquiring the identification code of the image file to be displayed; examining whether the image control element for displaying the image file corresponding to the identification code is vacant; if the examination result is null, looking up, by means of the identification code, the image file corresponding to the identification code in a read only memory; the image file to be displayed, when being browsed for the first time, being backed up into the read only memory; when the read only memory stores the image file corresponding to the identification code, reading the image file from the read only memory and writing the same to a random access memory; restoring the read image file from the random access memory to the image control element so as to display the image file. In this way, it may be unnecessary to re-download the image file when the cached resources occupied by the image file have been released, saving the user's traffic.

Description

回看图像文件的方法、装置、移动终端和电子设备Method, device, mobile terminal and electronic device for reviewing image files
交叉引用cross reference
本申请为在2016年04月01日提交中国专利局、申请号为201610203962.6、发明名称为“回看图像文件的方法、装置和移动终端”的中国专利申请的继续申请,本申请要求在2016年04月01日提交中国专利局、申请号为201610203962.6、发明名称为“回看图像文件的方法、装置和移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application is a continuation application of the Chinese Patent Application filed on April 1, 2016, the Chinese Patent Office, Application No. 201610203962.6, entitled "Review of Image Files, Devices, and Mobile Terminals". This application is filed in 2016. The priority of the Chinese Patent Application No. 201610203962.6, the entire disclosure of which is hereby incorporated by reference in its entirety in its entirety in the the the the the the the the the the
技术领域Technical field
本申请涉及计算机移动终端技术领域,具体涉及回看图像文件的方法、装置、移动终端和电子设备。The present application relates to the field of computer mobile terminal technologies, and in particular, to a method, an apparatus, a mobile terminal, and an electronic device for reviewing an image file.
背景技术Background technique
在移动互联网时代,用户越来越习惯于用手机等移动终端来浏览照片、带有图像文件的网页等。In the era of mobile Internet, users are becoming more accustomed to using mobile terminals such as mobile phones to view photos, web pages with image files, and the like.
当用户在浏览图像文件时,移动终端会不断将图像文件加载到缓存中,以便于用户在执行回看等操作时能够迅速显示图像文件,且无需再从网络重新下载。When the user browses the image file, the mobile terminal continuously loads the image file into the cache, so that the user can quickly display the image file when performing the operation such as viewing back, and no need to re-download from the network.
然而,用户有时会浏览很多图像文件,由于缓存空间有限,不可能将用户所浏览的所有图像文件都加载到缓存空间,当缓存空间被占用达到一定程度时,移动终端会释放部分缓存空间。这样,用户在回看图像文件时,有些图像文件由于缓存已经释放,移动终端只能再从网络重新下载该图像文件,需要耗费用户流量。However, the user sometimes browses a lot of image files. Due to the limited buffer space, it is impossible to load all the image files browsed by the user into the cache space. When the cache space is occupied to a certain extent, the mobile terminal will release part of the cache space. In this way, when the user looks back at the image file, some image files are released due to the cache, and the mobile terminal can only re-download the image file from the network, which requires user traffic.
发明内容Summary of the invention
本申请要解决的技术问题在于图像文件缓存已释放时需要耗费流量重 新下载该图像文件。The technical problem to be solved by the present application is that the image file cache has to be released when it is released. Newly download the image file.
为此,本申请实施例提供了一种回看图像文件的方法,包括:获取所要显示的图像文件的标识码;检查显示所述标识码所对应的图像文件的图像控件是否为空;当检查结果为空时,通过所述标识码在只读存储器中查找所述标识码所对应的图像文件,其中所要显示的图像文件在首次浏览时被备份到所述只读存储器内;当所述只读存储器中存储有所述标识码所对应的图像文件时,将所述图像文件从所述只读存储器读取到随机存储器;将所读取的图像文件从所述随机存储器恢复到所述图像控件中,以显示所述图像文件。To this end, the embodiment of the present application provides a method for reviewing an image file, including: acquiring an identification code of an image file to be displayed; checking whether an image control of an image file corresponding to the identification code is empty; When the result is empty, the image file corresponding to the identification code is searched in the read-only memory by the identifier code, wherein the image file to be displayed is backed up into the read-only memory when browsing for the first time; When the image file corresponding to the identification code is stored in the read memory, the image file is read from the read-only memory to the random access memory; and the read image file is restored from the random access memory to the image In the control, to display the image file.
本申请实施例所述的方法,优选地,所述方法还包括:将所述只读存储器内备份的图像文件从低压缩率的格式转换成高压缩率的格式。In the method of the embodiment of the present application, preferably, the method further includes: converting the image file backed up in the read-only memory from a format of low compression ratio to a format of high compression ratio.
本申请实施例所述的方法,优选地,所述方法还包括:将预定时间段内的所述只读存储器内备份的图像文件压缩成压缩文件包。In the method of the embodiment of the present application, preferably, the method further comprises: compressing the image file backed up in the read-only memory within a predetermined time period into a compressed file package.
本申请实施例所述的方法,优选地,所述方法还包括:清除所述只读存储器内备份的至少一部分图像文件。In the method of the embodiment of the present application, preferably, the method further includes: clearing at least a part of the image file backed up in the read-only memory.
本申请实施例还提供了一种回看图像文件的装置,包括:获取单元,用于获取所要显示的图像文件的标识码;检查单元,用于检查显示所述标识码所对应的图像文件的图像控件是否为空;查找单元,用于在所述检查单元的检查结果为空时,通过所述标识码在只读存储器中查找所述标识码所对应的图像文件,其中所要显示的图像文件在首次浏览时被备份到所述只读存储器内;读取单元,用于在所述查找单元查找到所述只读存储器中存储有所述标识码所对应的图像文件时,将所述图像文件从所述只读存储器读取到随机存储器;恢复单元,用于将所述读取单元所读取的图像文件从所述随机存储器恢复到所述图像控件中,以显示所述图像文件。The embodiment of the present application further provides an apparatus for viewing an image file, comprising: an obtaining unit, configured to acquire an identification code of an image file to be displayed; and an checking unit, configured to check an image file corresponding to the identifier code. Whether the image control is empty or not; the searching unit is configured to search for an image file corresponding to the identification code in the read-only memory by using the identification code when the inspection result of the inspection unit is empty, wherein the image file to be displayed is The first unit is backed up to the read-only memory; the reading unit is configured to: when the search unit finds the image file corresponding to the identifier code stored in the read-only memory, the image is The file is read from the read-only memory to the random access memory; and a restoring unit is configured to restore the image file read by the reading unit from the random access memory to the image control to display the image file.
本申请实施例所述的装置,优选地,所述装置还包括:转换单元,用于将所述只读存储器内备份的图像文件从低压缩率的格式转换成高压缩率的格式。The device according to the embodiment of the present application, preferably, the device further includes: a converting unit, configured to convert the image file backed up in the read-only memory from a low compression rate format to a high compression rate format.
本申请实施例所述的装置,优选地,所述装置还包括:压缩单元,用 于将预定时间段内的所述只读存储器内备份的图像文件压缩成压缩文件包。The device according to the embodiment of the present application, preferably, the device further includes: a compression unit, The image file backed up in the read-only memory within a predetermined time period is compressed into a compressed file package.
本申请实施例所述的装置,优选地,所述装置还包括:清除单元,用于清除所述只读存储器内备份的至少一部分图像文件。The device according to the embodiment of the present application, preferably, the device further includes: a clearing unit, configured to clear at least a part of the image file backed up in the read-only memory.
本申请实施例所述的装置,优选地,所述清除单元采用LRU算法,将近期最少使用的图像文件清除出所述只读存储器。In the apparatus according to the embodiment of the present application, preferably, the clearing unit uses an LRU algorithm to clear the least recently used image file out of the read only memory.
本申请实施例还提供了一种移动终端,包括上述任一项所述的回看图像文件的装置。The embodiment of the present application further provides a mobile terminal, including the apparatus for reviewing an image file according to any one of the preceding claims.
本申请实施例还提供了一种电子设备,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够获取所要显示的图像文件的标识码;检查显示所述标识码所对应的图像文件的图像控件是否为空;当检查结果为空时,通过所述标识码在只读存储器中查找所述标识码所对应的图像文件,其中所要显示的图像文件在首次浏览时被备份到所述只读存储器内;当所述只读存储器中存储有所述标识码所对应的图像文件时,将所述图像文件从所述只读存储器读取到随机存储器;将所读取的图像文件从所述随机存储器恢复到所述图像控件中,以显示所述图像文件。An embodiment of the present application further provides an electronic device including at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor The instruction is executed by the at least one processor to enable the at least one processor to acquire an identification code of an image file to be displayed; and check whether an image control that displays an image file corresponding to the identification code is empty; When the result of the check is empty, the image file corresponding to the identification code is searched in the read-only memory by the identifier code, wherein the image file to be displayed is backed up into the read-only memory when browsing for the first time; When the image file corresponding to the identification code is stored in the read-only memory, the image file is read from the read-only memory to the random access memory; and the read image file is restored from the random access memory to the In the image control to display the image file.
上述的电子设备,优选地,使所述至少一个处理器还能够:将所述只读存储器内备份的图像文件从低压缩率的格式转换成高压缩率的格式。In the above electronic device, preferably, the at least one processor is further capable of converting an image file backed up in the read-only memory from a low compression ratio format to a high compression ratio format.
上述的电子设备,优选地,使所述至少一个处理器还能够:将预定时间段内的所述只读存储器内备份的图像文件压缩成压缩文件包。In the above electronic device, preferably, the at least one processor is further capable of compressing an image file backed up in the read-only memory within a predetermined time period into a compressed file package.
上述的电子设备,优选地,使所述至少一个处理器还能够:清除所述只读存储器内备份的至少一部分图像文件。Preferably, the at least one processor is further capable of: clearing at least a portion of the image file backed up in the read only memory.
本申请实施例还提供了一种非易失性计算机存储介质,所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够获取所要显示的图像文件的标识码;检查显示所述标识码所对应的图像文件的图像控件是否为空;当检查结果为空时,通过所述 标识码在只读存储器中查找所述标识码所对应的图像文件,其中所要显示的图像文件在首次浏览时被备份到所述只读存储器内;当所述只读存储器中存储有所述标识码所对应的图像文件时,将所述图像文件从所述只读存储器读取到随机存储器;将所读取的图像文件从所述随机存储器恢复到所述图像控件中,以显示所述图像文件。Embodiments of the present application also provide a non-volatile computer storage medium storing the computer-executable instructions of computer-executable instructions that, when executed by an electronic device, enable an electronic device to acquire an image to be displayed An identifier of the file; checking whether an image control of the image file corresponding to the identifier code is empty; when the check result is empty, The identification code searches for an image file corresponding to the identification code in a read-only memory, wherein the image file to be displayed is backed up into the read-only memory when first browsing; when the identifier is stored in the read-only memory The image file corresponding to the code is read from the read-only memory to the random access memory; the read image file is restored from the random access memory to the image control to display the image file.
上述的存储介质,优选地,使得电子设备还能够:将所述只读存储器内备份的图像文件从低压缩率的格式转换成高压缩率的格式。The above storage medium preferably enables the electronic device to further convert the image file backed up in the read only memory from a low compression format to a high compression format.
上述的存储介质,优选地,使得电子设备还能够:将预定时间段内的所述只读存储器内备份的图像文件压缩成压缩文件包。The above storage medium preferably enables the electronic device to further compress the image file backed up in the read-only memory within a predetermined period of time into a compressed file package.
上述的存储介质,优选地,使得电子设备还能够:清除所述只读存储器内备份的至少一部分图像文件。The above storage medium preferably enables the electronic device to also: clear at least a portion of the image file backed up in the read only memory.
本申请实施例还提出了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一种方法。本申请所提供的回看图像文件的方法、装置、移动终端和电子设备及存储介质,在所要显示的图像文件所占用的缓存资源已经被释放的情况下,通过所要显示的图像文件的标识码从只读存储器中获取该图像文件的备份,并通过该备份将所要显示的图像文件恢复到图像控件中,从而可以不必从网络重新下载该图像文件,节省了用户流量,并且从只读存储器中读取图像文件的速度远快于从网络重新下载该图像文件的速度,也提升了浏览图片的速度。The embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer The computer is caused to perform any of the above methods. The method, the device, the mobile terminal, the electronic device, and the storage medium provided by the application for reviewing an image file pass the identification code of the image file to be displayed in a case where the cache resource occupied by the image file to be displayed has been released. Obtaining a backup of the image file from the read-only memory, and restoring the image file to be displayed to the image control by using the backup, thereby eliminating the need to re-download the image file from the network, saving user traffic, and from the read-only memory Reading image files is much faster than re-downloading the image file from the network, and it also speeds up browsing the image.
附图说明DRAWINGS
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present application, and those skilled in the art can obtain other drawings according to the drawings without any creative work.
通过参考附图会更加清楚的理解本申请的特征和优点,附图是示意性的而不应理解为对本申请进行任何限制,在附图中:The features and advantages of the present application will be more clearly understood from the following description of the appended claims.
图1示出了根据本申请实施例的回看图像文件的方法的流程图;FIG. 1 shows a flow chart of a method of looking back at an image file according to an embodiment of the present application;
图2示出了根据本申请实施例的回看图像文件的装置的示意图;2 shows a schematic diagram of an apparatus for reviewing an image file in accordance with an embodiment of the present application;
图3示出了根据本申请实施例中电子设备的硬件结构示意图。FIG. 3 is a schematic diagram showing the hardware structure of an electronic device according to an embodiment of the present application.
具体实施方式detailed description
下面将结合附图对本申请的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions of the present application are clearly and completely described in the following with reference to the accompanying drawings. It is obvious that the described embodiments are a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
在本申请的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. The orientation or positional relationship of the indications is based on the orientation or positional relationship shown in the drawings, and is merely for the convenience of the description and the simplified description, and does not indicate or imply that the device or component referred to has a specific orientation, in a specific orientation. Construction and operation are therefore not to be construed as limiting the application. Moreover, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接; 可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。In the description of the present application, it should be noted that the terms "installation", "connected", and "connected" are to be understood broadly, and may be fixed or detachable, for example, unless otherwise specifically defined and defined. Connected, or connected integrally; may be mechanical or electrical; They may be directly connected, or may be indirectly connected through an intermediate medium, or may be internal communication between two components, and may be a wireless connection or a wired connection. The specific meanings of the above terms in the present application can be understood in the specific circumstances for those skilled in the art.
此外,下面所描述的本申请不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。Further, the technical features involved in the different embodiments of the present application described below may be combined with each other as long as they do not constitute a conflict with each other.
下面将结合附图对本申请的实施例进行详细描述。The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
本申请实施例提供了一种回看图像文件的方法,该方法可以适用于手机、平板电脑等移动终端,如图1所示,该方法包括如下步骤:The embodiment of the present application provides a method for reviewing an image file, and the method can be applied to a mobile terminal such as a mobile phone or a tablet computer. As shown in FIG. 1 , the method includes the following steps:
S11.获取所要显示的图像文件的标识码(ID)。在这里,标识码可以是字符串,也可以是该图片的URL(统一资源定位符)。S11. Obtain an identification code (ID) of the image file to be displayed. Here, the identification code may be a character string or a URL (Uniform Resource Locator) of the picture.
S12.检查显示该标识码所对应的图像文件的图像控件是否为空(null)。在安卓系统中,该图像控件例如可以是ImageView图像控件,ImageView图像控件负责显示图像,其图像的来源既可以是资源文件的id,也可以是Drawable对象或Bitmap对象,还可以是内容提供商的网络地址。S12. Check whether the image control of the image file corresponding to the identification code is null (null). In the Android system, the image control may be, for example, an ImageView image control, and the ImageView image control is responsible for displaying an image. The source of the image may be the id of the resource file, the Drawable object or the Bitmap object, or the content provider. website address.
在这里,移动终端会首先在其随机存储器(RAM)中检查是否存在该图像文件,随机存储器例如可以是移动终端的缓存或内存。众所周知,随机存储器的存储空间较小,目前主流的移动终端的随机存储器的存储空间通常是1-4G,价格昂贵,且断电后其内存储的数据就会丢失,但是随机存储器的读写速度快,存储到随机存储器的图像文件可以方便用户随时回看。Here, the mobile terminal first checks whether there is an image file in its random access memory (RAM), which may be, for example, a cache or memory of the mobile terminal. As is known, the storage space of the random access memory is small. Currently, the storage space of the random access memory of the mainstream mobile terminal is usually 1-4G, which is expensive, and the data stored therein is lost after the power is cut off, but the read/write speed of the random access memory Fast, image files stored in random access memory can be easily viewed by users at any time.
当检查结果不为空时,说明随机存储器中仍然存储有所要显示的图像文件,这时可以直接显示该图像文件;当检查结果为空时,说明该图像文件所占用的缓存资源已经被释放,在此情况执行步骤S13。When the check result is not empty, it indicates that the image file to be displayed is still stored in the random memory, and the image file can be directly displayed; when the check result is empty, it indicates that the cache resource occupied by the image file has been released. In this case, step S13 is performed.
S13.通过该标识码在只读存储器(ROM)中查找该标识码所对应的图像文件,其中所要显示的图像文件在首次浏览时被备份到只读存储器内。只读存储器例如可以是移动终端的只读存储空间或存储卡,移动终端内只读存储器的存储空间比随机存储器大得多,目前主流的移动终端的只读存 储器的存储空间通常是16-128G,且还可以通过存储卡来进一步扩展存储空间,价格较低,且断电后其内存储的数据仍会保留。S13. Search for an image file corresponding to the identification code in the read-only memory (ROM) by using the identification code, wherein the image file to be displayed is backed up into the read-only memory when browsing for the first time. The read-only memory can be, for example, a read-only storage space or a memory card of the mobile terminal, and the storage space of the read-only memory in the mobile terminal is much larger than that of the random access memory. The storage space of the storage is usually 16-128G, and the storage space can be further expanded by the memory card, the price is low, and the data stored therein after the power is off remains.
由于这里执行的是回看操作,因此该图像文件是曾经浏览过的,由于只读存储器存储空间大且价格低廉,所以在用户首次浏览该图像文件时,移动终端可以将该图像文件存储在移动终端的随机存储器和只读存储器这两者内。Since the image processing is performed here, the image file has been browsed. Since the read-only memory has a large storage space and is inexpensive, the mobile terminal can store the image file on the mobile when the user browses the image file for the first time. Both the random access memory and the read only memory of the terminal.
当只读存储器中不存在该标识码所对应的图像文件时,与现有技术相同,移动终端只能再从网络重新下载该图像文件;当只读存储器中存储有该标识码所对应的图像文件时,在此情况执行步骤S14。When the image file corresponding to the identifier code does not exist in the read-only memory, the mobile terminal can only re-download the image file from the network, and the image corresponding to the identifier code is stored in the read-only memory. In the case of a file, step S14 is performed in this case.
S14.将该图像文件从只读存储器读取到随机存储器。S14. Reading the image file from the read only memory to the random access memory.
S15.将所读取的图像文件从随机存储器恢复到图像控件中,以显示该图像文件。S15. Restoring the read image file from the random access memory to the image control to display the image file.
通过上述方法步骤,在所要显示的图像文件所占用的缓存资源已经被释放的情况下,通过所要显示的图像文件的标识码从只读存储器中获取该图像文件的备份,并通过该备份将所要显示的图像文件恢复到图像控件中,从而可以不必从网络重新下载该图像文件,节省了用户流量,并且从只读存储器中读取图像文件的速度远快于从网络重新下载该图像文件的速度,也提升了浏览图片的速度。Through the above method steps, in the case that the cache resource occupied by the image file to be displayed has been released, the backup of the image file is obtained from the read-only memory by the identification code of the image file to be displayed, and the backup is required by the backup. The displayed image file is restored to the image control, thereby eliminating the need to re-download the image file from the network, saving user traffic, and reading the image file from the read-only memory much faster than re-downloading the image file from the network. It also improves the speed of browsing pictures.
优选地,上述方法还可以包括:将只读存储器内备份的图像文件从低压缩率的格式转换成高压缩率的格式。例如可以将bmp或tif等低压缩率的图像文件格式转换成jpg甚至png等高压缩率的图像文件格式,从而可以降低图像文件所占用的存储空间。Preferably, the above method may further include: converting the image file backed up in the read-only memory from a format of low compression ratio to a format of high compression ratio. For example, an image file format of a low compression ratio such as bmp or tif can be converted into an image file format of a high compression ratio such as jpg or even png, thereby reducing the storage space occupied by the image file.
优选地,上述方法还可以包括:将预定时间段内的只读存储器内备份的图像文件压缩成压缩文件包。例如,移动终端可以将一周时间内存储的图像文件压缩成压缩文件包,从而可以进一步降低图像文件所占用的存储空间。这样当用户需要回看图像文件时,仍然可以通过从压缩包里解压缩出所要回看的图像文件,而无需从网络重新下载该图像文件。Preferably, the above method may further comprise: compressing the image file backed up in the read-only memory within the predetermined time period into a compressed file package. For example, the mobile terminal can compress the image file stored in one week into a compressed file package, thereby further reducing the storage space occupied by the image file. Thus, when the user needs to look back at the image file, the image file to be viewed can still be extracted from the compressed package without having to re-download the image file from the network.
进一步优选地是,先将低压缩率的图像文件格式转换成高压缩率的图 像文件格式,然后再将例如预定时间段内备份的高压缩率的图像文件格式以压缩文件包的形式存储,以进一步降低备份已浏览图像文件所占用的存储空间。Further preferably, the image file format of low compression ratio is first converted into a map of high compression ratio. Like the file format, a high-compression image file format, such as a backup during a predetermined time period, is then stored in the form of a compressed file package to further reduce the storage space occupied by the backup of the browsed image file.
虽然只读存储器存储空间大且价格低廉,但是只读存储器的存储空间仍然有可能被耗尽,因此在上述方法还可以包括:清除只读存储器内备份的至少一部分图像文件。例如,移动终端可以采用LRU(Least Recently Used)算法,即近期最少使用算法,将近期最少使用的图像文件清除出只读存储器;移动终端也可以按照存储时间先后排序,将最早存储的图像文件清除出只读存储器,例如清除一个月前浏览的图像文件,因为用户很少需要回看这么久之前的图像文件,这样可以避免只读存储器的存储空间被耗尽。对于压缩包文件而言,移动终端可以清除掉整个压缩包,也可以仅清除压缩包内的部分文件。Although the read-only memory has a large storage space and is inexpensive, the storage space of the read-only memory may still be exhausted. Therefore, the above method may further include: clearing at least a part of the image file of the backup in the read-only memory. For example, the mobile terminal may use the LRU (Least Recently Used) algorithm, that is, the least recently used algorithm to clear the least recently used image file out of the read-only memory; the mobile terminal may also sort the stored image files according to the storage time order. The read-only memory, for example, clears the image file that was viewed a month ago, because the user rarely needs to look back at the image file that is so long ago, so that the storage space of the read-only memory can be prevented from being exhausted. For the compressed package file, the mobile terminal can clear the entire compressed package, or just clear some files in the compressed package.
本领域技术人员应当理解,上述可选步骤均是为了降低备份已浏览图像文件所占用的存储空间,上述可选步骤的任何可行的组合均落在本申请的保护范围之内。It should be understood by those skilled in the art that the above optional steps are all for reducing the storage space occupied by the backup image file, and any feasible combination of the above optional steps falls within the protection scope of the present application.
相应地,本申请实施例提供了一种回看图像文件的装置,该装置可以适用于手机、平板电脑等移动终端,如图2所示,该装置包括:Correspondingly, the embodiment of the present application provides a device for viewing an image file, and the device can be applied to a mobile terminal such as a mobile phone or a tablet computer. As shown in FIG. 2, the device includes:
获取单元21,用于获取所要显示的图像文件的标识码(ID)。在这里,标识码可以是字符串,也可以是该图片的URL(统一资源定位符)。The obtaining unit 21 is configured to acquire an identification code (ID) of the image file to be displayed. Here, the identification code may be a character string or a URL (Uniform Resource Locator) of the picture.
检查单元22,用于检查显示该标识码所对应的图像文件的图像控件是否为空(null),当检查结果不为空时,说明随机存储器中仍然存储有所要显示的图像文件,这时可以直接显示该图像文件。The checking unit 22 is configured to check whether the image control for displaying the image file corresponding to the identification code is null. When the check result is not empty, it indicates that the image file to be displayed is still stored in the random memory, and then The image file is displayed directly.
查找单元23,用于在检查单元23的检查结果为空时,通过该标识码在只读存储器(ROM)中查找该标识码所对应的图像文件,其中所要显示的图像文件在首次浏览时被备份到只读存储器内,当只读存储器中不存在该标识码所对应的图像文件时,与现有技术相同,移动终端只能再从网络重新下载该图像文件。The searching unit 23 is configured to search for an image file corresponding to the identification code in the read only memory (ROM) by using the identification code when the check result of the checking unit 23 is empty, wherein the image file to be displayed is When the image file corresponding to the identification code does not exist in the read-only memory, the mobile terminal can only re-download the image file from the network.
读取单元24,用于在查找单元23查找到只读存储器中存储的该标识码 所对应的图像文件时,将该图像文件从只读存储器读取到随机存储器。The reading unit 24 is configured to search the search unit 23 for the identification code stored in the read-only memory. When the corresponding image file is used, the image file is read from the read only memory to the random access memory.
恢复单元25,用于将读取单元24所读取的图像文件从随机存储器恢复到图像控件中,以显示该图像文件。The recovery unit 25 is configured to restore the image file read by the reading unit 24 from the random access memory to the image control to display the image file.
通过上述各个单元,在所要显示的图像文件所占用的缓存资源已经被释放的情况下,通过所要显示的图像文件的标识码从只读存储器中获取该图像文件的备份,并通过该备份将所要显示的图像文件恢复到图像控件中,从而可以不必从网络重新下载该图像文件,节省了用户流量,并且从只读存储器中读取图像文件的速度远快于从网络重新下载该图像文件的速度,也提升了浏览图片的速度。Through the above-mentioned respective units, in the case that the cache resource occupied by the image file to be displayed has been released, the backup of the image file is obtained from the read-only memory by the identification code of the image file to be displayed, and the backup is required by the backup. The displayed image file is restored to the image control, thereby eliminating the need to re-download the image file from the network, saving user traffic, and reading the image file from the read-only memory much faster than re-downloading the image file from the network. It also improves the speed of browsing pictures.
优选地,上述装置还可以包括:转换单元,用于将只读存储器内备份的图像文件从低压缩率的格式转换成高压缩率的格式。例如可以将bmp或tif等低压缩率的图像文件格式转换成jpg甚至png等高压缩率的图像文件格式,从而可以降低图像文件所占用的存储空间。Preferably, the apparatus may further include: a converting unit, configured to convert the image file backed up in the read-only memory from a low compression rate format to a high compression rate format. For example, an image file format of a low compression ratio such as bmp or tif can be converted into an image file format of a high compression ratio such as jpg or even png, thereby reducing the storage space occupied by the image file.
优选地,上述装置还可以包括:压缩单元,用于将预定时间段内的只读存储器内备份的图像文件压缩成压缩文件包。例如,移动终端可以将一周时间内存储的图像文件压缩成压缩文件包,从而可以进一步降低图像文件所占用的存储空间。这样当用户需要回看图像文件时,仍然可以通过从压缩包里解压缩出所要回看的图像文件,而无需从网络重新下载该图像文件。Preferably, the apparatus may further include: a compression unit, configured to compress the image file backed up in the read-only memory in the predetermined time period into a compressed file package. For example, the mobile terminal can compress the image file stored in one week into a compressed file package, thereby further reducing the storage space occupied by the image file. Thus, when the user needs to look back at the image file, the image file to be viewed can still be extracted from the compressed package without having to re-download the image file from the network.
进一步优选地是,先通过转换单元将低压缩率的图像文件格式转换成高压缩率的图像文件格式,然后再通过压缩单元将例如预定时间段内备份的高压缩率的图像文件格式以压缩文件包的形式存储,以进一步降低备份已浏览图像文件所占用的存储空间。Further preferably, the image file format of the low compression ratio is first converted into the image file format of the high compression ratio by the conversion unit, and then the image file format of the high compression ratio backed up, for example, in a predetermined time period, is compressed by the compression unit to compress the file. The package is stored in the form of a package to further reduce the storage space used to back up the browsed image files.
虽然只读存储器存储空间大且价格低廉,但是只读存储器的存储空间仍然有可能被耗尽,因此在上述装置还可以包括:清除单元,用于清除只读存储器内备份的至少一部分图像文件。例如,移动终端可以采用LRU(Least Recently Used)算法,即近期最少使用算法,将近期最少使用的图像文件清除出只读存储器;移动终端也可以按照存储时间先后排序,将最 早存储的图像文件清除出只读存储器,例如清除一个月前浏览的图像文件,因为用户很少需要回看这么久之前的图像文件,这样可以避免只读存储器的存储空间被耗尽。对于压缩包文件而言,移动终端可以清除掉整个压缩包,也可以仅清除压缩包内的部分文件。Although the read-only memory has a large storage space and is inexpensive, the storage space of the read-only memory may still be exhausted. Therefore, the above apparatus may further include: a clearing unit for clearing at least a part of the image file backed up in the read-only memory. For example, the mobile terminal may use the LRU (Least Recently Used) algorithm, that is, the least recently used algorithm, to clear the least recently used image file out of the read-only memory; the mobile terminal may also sort according to the storage time, which will be the most The image file stored early clears out the read-only memory, for example, clears the image file that was viewed one month ago, because the user rarely needs to look back at the image file that is so long ago, so that the storage space of the read-only memory can be prevented from being exhausted. For the compressed package file, the mobile terminal can clear the entire compressed package, or just clear some files in the compressed package.
本领域技术人员应当理解,上述各个可选单元均是为了降低备份已浏览图像文件所占用的存储空间,上述各个可选单元的任何可行的组合均落在本申请的保护范围之内。It should be understood by those skilled in the art that each of the above optional units is for reducing the storage space occupied by the backup of the browsed image file, and any feasible combination of the above various optional units falls within the protection scope of the present application.
本申请实施例还提供了一种移动终端,其包括如上所述的回看图像文件的装置,从而移动终端可以在所要显示的图像文件所占用的缓存资源已经被释放的情况下,通过所要显示的图像文件的标识码从只读存储器中获取该图像文件的备份,并通过该备份将所要显示的图像文件恢复到图像控件中,从而可以不必从网络重新下载该图像文件,节省了用户流量,并且从只读存储器中读取图像文件的速度远快于从网络重新下载该图像文件的速度,也提升了浏览图片的速度。The embodiment of the present application further provides a mobile terminal, including the apparatus for reviewing an image file as described above, so that the mobile terminal can display by using the cache resource occupied by the image file to be displayed. The image file identification code obtains a backup of the image file from the read-only memory, and restores the image file to be displayed to the image control through the backup, so that the image file can be downloaded without re-downloading from the network, thereby saving user traffic. And the speed of reading the image file from the read-only memory is much faster than the speed of re-downloading the image file from the network.
如图3所示,本申请还提供了一种电子设备,包括至少一个处理器810;以及,与所述至少一个处理器810通信连接的存储器800;其中,所述存储器800存储有可被所述至少一个处理器810执行的指令,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够获取所要显示的图像文件的标识码;检查显示所述标识码所对应的图像文件的图像控件是否为空;当检查结果为空时,通过所述标识码在只读存储器中查找所述标识码所对应的图像文件,其中所要显示的图像文件在首次浏览时被备份到所述只读存储器内;当所述只读存储器中存储有所述标识码所对应的图像文件时,将所述图像文件从所述只读存储器读取到随机存储器;将所读取的图像文件从所述随机存储器恢复到所述图像控件中,以显示所述图像文件。所述电子设备还包括与所述存储器800和所述处理器电连接的输 入装置830和输出装置840,所述电连接优选为通过总线连接。As shown in FIG. 3, the present application further provides an electronic device including at least one processor 810; and a memory 800 communicably coupled to the at least one processor 810; wherein the memory 800 stores Executing instructions executed by at least one processor 810, the instructions being executed by the at least one processor 810 to enable the at least one processor 810 to acquire an identification code of an image file to be displayed; checking display of the identification code Whether the image control of the corresponding image file is empty; when the check result is empty, the image file corresponding to the identification code is searched in the read-only memory by the identification code, wherein the image file to be displayed is Backing up into the read-only memory; when the image file corresponding to the identification code is stored in the read-only memory, reading the image file from the read-only memory to a random access memory; The image file is restored from the random access memory to the image control to display the image file. The electronic device also includes an input electrically coupled to the memory 800 and the processor Into device 830 and output device 840, the electrical connections are preferably connected by a bus.
本实施例的所述电子设备,优选地,使所述至少一个处理器还能够:将所述只读存储器内备份的图像文件从低压缩率的格式转换成高压缩率的格式。In the electronic device of this embodiment, preferably, the at least one processor is further capable of: converting an image file backed up in the read-only memory from a format of a low compression ratio to a format of a high compression ratio.
本实施例的所述电子设备,优选地,使所述至少一个处理器还能够:将预定时间段内的所述只读存储器内备份的图像文件压缩成压缩文件包。In the electronic device of this embodiment, preferably, the at least one processor is further capable of: compressing an image file backed up in the read-only memory within a predetermined time period into a compressed file package.
本实施例的所述电子设备,优选地,使所述至少一个处理器还能够:清除所述只读存储器内备份的至少一部分图像文件。In the electronic device of this embodiment, preferably, the at least one processor is further capable of: clearing at least a part of the image file backed up in the read-only memory.
本申请实施例还提供了一种非易失性计算机存储介质,所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够获取所要显示的图像文件的标识码;检查显示所述标识码所对应的图像文件的图像控件是否为空;当检查结果为空时,通过所述标识码在只读存储器中查找所述标识码所对应的图像文件,其中所要显示的图像文件在首次浏览时被备份到所述只读存储器内;当所述只读存储器中存储有所述标识码所对应的图像文件时,将所述图像文件从所述只读存储器读取到随机存储器;将所读取的图像文件从所述随机存储器恢复到所述图像控件中,以显示所述图像文件。Embodiments of the present application also provide a non-volatile computer storage medium storing the computer-executable instructions of computer-executable instructions that, when executed by an electronic device, enable an electronic device to acquire an image to be displayed An identifier of the file; checking whether the image control of the image file corresponding to the identifier is empty; and when the check result is empty, searching for the image file corresponding to the identifier in the read-only memory by using the identifier The image file to be displayed is backed up into the read-only memory when browsing for the first time; when the image file corresponding to the identification code is stored in the read-only memory, the image file is from the The read memory is read to the random access memory; the read image file is restored from the random access memory to the image control to display the image file.
本实施例的所述存储介质,优选地,使得电子设备还能够:将所述只读存储器内备份的图像文件从低压缩率的格式转换成高压缩率的格式。The storage medium of the embodiment preferably enables the electronic device to further convert the image file backed up in the read-only memory from a format of low compression ratio to a format of high compression ratio.
本实施例的所述存储介质,优选地,使得电子设备还能够:将预定时间段内的所述只读存储器内备份的图像文件压缩成压缩文件包。The storage medium of the embodiment preferably causes the electronic device to further compress the image file backed up in the read-only memory within a predetermined time period into a compressed file package.
本实施例的所述存储介质,优选地,使得电子设备还能够:清除所述只读存储器内备份的至少一部分图像文件。The storage medium of the embodiment preferably, such that the electronic device is further capable of: clearing at least a portion of the image file backed up in the read only memory.
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包 括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述所述的方法。The embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program package Program instructions are provided that, when executed by a computer, cause the computer to perform the methods described above.
本领域内的技术人员还应理解,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will also appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的,应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of a method, a device (system), and a computer program product according to embodiments of the present application, it being understood that each of the flowcharts and/or block diagrams can be implemented by computer program instructions. And/or a combination of blocks and flow diagrams and/or blocks in the flowcharts and/or block diagrams. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予 以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。 It is apparent that the above-described embodiments are merely illustrative of the examples, and are not intended to limit the embodiments. Other variations or modifications of the various forms may be made by those skilled in the art in light of the above description. There is no need and no way to implement all the implementations. Exhausted. Obvious changes or variations resulting therefrom are still within the scope of the invention.

Claims (19)

  1. 一种回看图像文件的方法,其特征在于,包括:A method for reviewing an image file, comprising:
    获取所要显示的图像文件的标识码;Obtain an identification code of the image file to be displayed;
    检查显示所述标识码所对应的图像文件的图像控件是否为空;Checking whether the image control of the image file corresponding to the identifier code is empty;
    当检查结果为空时,通过所述标识码在只读存储器中查找所述标识码所对应的图像文件,其中所要显示的图像文件在首次浏览时被备份到所述只读存储器内;When the result of the check is empty, the image file corresponding to the identification code is searched in the read-only memory by the identifier code, wherein the image file to be displayed is backed up into the read-only memory when browsing for the first time;
    当所述只读存储器中存储有所述标识码所对应的图像文件时,将所述图像文件从所述只读存储器读取到随机存储器;When the image file corresponding to the identification code is stored in the read-only memory, the image file is read from the read-only memory to a random access memory;
    将所读取的图像文件从所述随机存储器恢复到所述图像控件中,以显示所述图像文件。The read image file is restored from the random access memory to the image control to display the image file.
  2. 根据权利要求1所述的回看图像文件的方法,其特征在于,还包括:The method of viewing an image file according to claim 1, further comprising:
    将所述只读存储器内备份的图像文件从低压缩率的格式转换成高压缩率的格式。The image file backed up in the read only memory is converted from a low compression format to a high compression format.
  3. 根据权利要求1所述的回看图像文件的方法,其特征在于,还包括:The method of viewing an image file according to claim 1, further comprising:
    将预定时间段内的所述只读存储器内备份的图像文件压缩成压缩文件包。The image file backed up in the read-only memory within a predetermined period of time is compressed into a compressed file package.
  4. 根据权利要求1-3中任一项所述的回看图像文件的方法,其特征在于,还包括:The method of viewing an image file according to any one of claims 1 to 3, further comprising:
    清除所述只读存储器内备份的至少一部分图像文件。Clearing at least a portion of the image file backed up in the read only memory.
  5. 一种回看图像文件的装置,其特征在于,包括:An apparatus for reviewing an image file, comprising:
    获取单元,用于获取所要显示的图像文件的标识码;An obtaining unit, configured to acquire an identification code of an image file to be displayed;
    检查单元,用于检查显示所述标识码所对应的图像文件的图像控件是否为空;a checking unit, configured to check whether an image control that displays an image file corresponding to the identification code is empty;
    查找单元,用于在所述检查单元的检查结果为空时,通过所述标识码在只读存储器中查找所述标识码所对应的图像文件,其中所要显示的图像文件在首次浏览时被备份到所述只读存储器内;a search unit, configured to search for an image file corresponding to the identification code in the read-only memory by using the identification code when the check result of the check unit is empty, wherein the image file to be displayed is backed up during the first browsing Into the read only memory;
    读取单元,用于在所述查找单元查找到所述只读存储器中存储有所述 标识码所对应的图像文件时,将所述图像文件从所述只读存储器读取到随机存储器;a reading unit, configured to store, in the read-only memory, the read-only memory When the image file corresponding to the identification code is used, the image file is read from the read-only memory to a random access memory;
    恢复单元,用于将所述读取单元所读取的图像文件从所述随机存储器恢复到所述图像控件中,以显示所述图像文件。And a recovery unit, configured to restore an image file read by the reading unit from the random access memory to the image control to display the image file.
  6. 根据权利要求5所述的回看图像文件的装置,其特征在于,还包括:The apparatus for viewing an image file according to claim 5, further comprising:
    转换单元,用于将所述只读存储器内备份的图像文件从低压缩率的格式转换成高压缩率的格式。And a converting unit, configured to convert the image file backed up in the read-only memory from a low compression rate format to a high compression rate format.
  7. 根据权利要求5所述的回看图像文件的装置,其特征在于,还包括:The apparatus for viewing an image file according to claim 5, further comprising:
    压缩单元,用于将预定时间段内的所述只读存储器内备份的图像文件压缩成压缩文件包。And a compression unit, configured to compress the image file backed up in the read-only memory in the predetermined time period into a compressed file package.
  8. 根据权利要求5-7中任一项所述的回看图像文件的装置,其特征在于,还包括:The apparatus for viewing an image file according to any one of claims 5-7, further comprising:
    清除单元,用于清除所述只读存储器内备份的至少一部分图像文件。And a clearing unit, configured to clear at least a part of the image file backed up in the read only memory.
  9. 根据权利要求8所述的回看图像文件的装置,其特征在于,所述清除单元采用LRU算法,将近期最少使用的图像文件清除出所述只读存储器。The apparatus for viewing an image file according to claim 8, wherein the clearing unit uses an LRU algorithm to clear the least recently used image file out of the read only memory.
  10. 一种移动终端,其特征在于,包括权利要求5-9中任一项所述的回看图像文件的装置。A mobile terminal, comprising the apparatus for reviewing an image file according to any one of claims 5-9.
  11. 一种电子设备,其特征在于包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:An electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions Executed by the at least one processor to enable the at least one processor to:
    获取所要显示的图像文件的标识码;Obtain an identification code of the image file to be displayed;
    检查显示所述标识码所对应的图像文件的图像控件是否为空;Checking whether the image control of the image file corresponding to the identifier code is empty;
    当检查结果为空时,通过所述标识码在只读存储器中查找所述标识码所对应的图像文件,其中所要显示的图像文件在首次浏览时被备份到所述只读存储器内; When the result of the check is empty, the image file corresponding to the identification code is searched in the read-only memory by the identifier code, wherein the image file to be displayed is backed up into the read-only memory when browsing for the first time;
    当所述只读存储器中存储有所述标识码所对应的图像文件时,将所述图像文件从所述只读存储器读取到随机存储器;When the image file corresponding to the identification code is stored in the read-only memory, the image file is read from the read-only memory to a random access memory;
    将所读取的图像文件从所述随机存储器恢复到所述图像控件中,以显示所述图像文件。The read image file is restored from the random access memory to the image control to display the image file.
  12. 根据权利要求11所述的电子设备,其特征在于,使所述至少一个处理器还能够:The electronic device of claim 11, wherein the at least one processor is further capable of:
    将所述只读存储器内备份的图像文件从低压缩率的格式转换成高压缩率的格式。The image file backed up in the read only memory is converted from a low compression format to a high compression format.
  13. 根据权利要求11所述的电子设备,其特征在于,使所述至少一个处理器还能够:The electronic device of claim 11, wherein the at least one processor is further capable of:
    将预定时间段内的所述只读存储器内备份的图像文件压缩成压缩文件包。The image file backed up in the read-only memory within a predetermined period of time is compressed into a compressed file package.
  14. 根据权利要求11-13中任一项所述的电子设备,其特征在于,使所述至少一个处理器还能够:The electronic device according to any one of claims 11 to 13, wherein the at least one processor is further enabled to:
    清除所述只读存储器内备份的至少一部分图像文件。Clearing at least a portion of the image file backed up in the read only memory.
  15. 一种非易失性计算机存储介质,其特征在于:所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够:A non-volatile computer storage medium characterized by: said storage medium storing said computer executable instructions of computer executable instructions, when executed by an electronic device, enabling the electronic device to:
    获取所要显示的图像文件的标识码;Obtain an identification code of the image file to be displayed;
    检查显示所述标识码所对应的图像文件的图像控件是否为空;Checking whether the image control of the image file corresponding to the identifier code is empty;
    当检查结果为空时,通过所述标识码在只读存储器中查找所述标识码所对应的图像文件,其中所要显示的图像文件在首次浏览时被备份到所述只读存储器内;When the result of the check is empty, the image file corresponding to the identification code is searched in the read-only memory by the identifier code, wherein the image file to be displayed is backed up into the read-only memory when browsing for the first time;
    当所述只读存储器中存储有所述标识码所对应的图像文件时,将所述图像文件从所述只读存储器读取到随机存储器;When the image file corresponding to the identification code is stored in the read-only memory, the image file is read from the read-only memory to a random access memory;
    将所读取的图像文件从所述随机存储器恢复到所述图像控件中,以显示所述图像文件。The read image file is restored from the random access memory to the image control to display the image file.
  16. 根据权利要求15所述的存储介质,其特征在于,使得电子设备还 能够:A storage medium according to claim 15, wherein the electronic device is further were able:
    将所述只读存储器内备份的图像文件从低压缩率的格式转换成高压缩率的格式。The image file backed up in the read only memory is converted from a low compression format to a high compression format.
  17. 根据权利要求15所述的存储介质,其特征在于,使得电子设备还能够:The storage medium of claim 15 wherein the electronic device is further capable of:
    将预定时间段内的所述只读存储器内备份的图像文件压缩成压缩文件包。The image file backed up in the read-only memory within a predetermined period of time is compressed into a compressed file package.
  18. 根据权利要求15-17中任一项所述的存储介质,其特征在于,使得电子设备还能够:The storage medium according to any one of claims 15-17, wherein the electronic device is further enabled to:
    清除所述只读存储器内备份的至少一部分图像文件。Clearing at least a portion of the image file backed up in the read only memory.
  19. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,其特征在于,当所述程序指令被计算机执行时,使所述计算机执行上述任一权利要求所述的方法。 A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, The computer performs the method of any of the preceding claims.
PCT/CN2016/100290 2016-04-01 2016-09-27 Method, apparatus, mobile terminal, and electronic device for reviewing image file WO2017166760A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610203962.6 2016-04-01
CN201610203962.6A CN105912591A (en) 2016-04-01 2016-04-01 Method and device for looking back image documents and mobile terminal

Publications (1)

Publication Number Publication Date
WO2017166760A1 true WO2017166760A1 (en) 2017-10-05

Family

ID=56745304

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100290 WO2017166760A1 (en) 2016-04-01 2016-09-27 Method, apparatus, mobile terminal, and electronic device for reviewing image file

Country Status (2)

Country Link
CN (1) CN105912591A (en)
WO (1) WO2017166760A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061443A (en) * 2018-10-17 2020-04-24 杭州海康威视数字技术股份有限公司 Menu image display method and device, electronic equipment and machine-readable storage medium
CN114245030A (en) * 2021-12-20 2022-03-25 北京镁伽科技有限公司 Method and device for displaying test image by upper computer and image signal generator

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912591A (en) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 Method and device for looking back image documents and mobile terminal
CN109981903B (en) * 2019-03-27 2020-12-18 联想(北京)有限公司 Image processing method and electronic equipment
CN110018930A (en) * 2019-04-18 2019-07-16 苏州开心盒子软件有限公司 Image recovery method, device, equipment and storage medium
CN111866419B (en) * 2019-04-24 2022-05-31 杭州海康微影传感科技有限公司 Thermal imaging image display method and device and thermal imaging equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8280197B1 (en) * 2012-02-29 2012-10-02 Google Inc. Managed background loading of image resources in resource-constrained devices
CN104407812A (en) * 2014-11-14 2015-03-11 北京国双科技有限公司 Network loading method and network loading device for terminal equipment
CN104778049A (en) * 2014-01-09 2015-07-15 北京汇智无限传媒技术有限公司 Implementation method used for human-computer interaction APP (application) on the basis of Android system and interaction system
CN105912591A (en) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 Method and device for looking back image documents and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8590040B2 (en) * 2010-12-22 2013-11-19 Intel Corporation Runtime platform firmware verification
CN103870361A (en) * 2014-03-21 2014-06-18 小米科技有限责任公司 Image recovery method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8280197B1 (en) * 2012-02-29 2012-10-02 Google Inc. Managed background loading of image resources in resource-constrained devices
CN104778049A (en) * 2014-01-09 2015-07-15 北京汇智无限传媒技术有限公司 Implementation method used for human-computer interaction APP (application) on the basis of Android system and interaction system
CN104407812A (en) * 2014-11-14 2015-03-11 北京国双科技有限公司 Network loading method and network loading device for terminal equipment
CN105912591A (en) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 Method and device for looking back image documents and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061443A (en) * 2018-10-17 2020-04-24 杭州海康威视数字技术股份有限公司 Menu image display method and device, electronic equipment and machine-readable storage medium
CN111061443B (en) * 2018-10-17 2023-10-10 杭州海康威视数字技术股份有限公司 Menu image display method, menu image display device, electronic equipment and machine-readable storage medium
CN114245030A (en) * 2021-12-20 2022-03-25 北京镁伽科技有限公司 Method and device for displaying test image by upper computer and image signal generator

Also Published As

Publication number Publication date
CN105912591A (en) 2016-08-31

Similar Documents

Publication Publication Date Title
WO2017166760A1 (en) Method, apparatus, mobile terminal, and electronic device for reviewing image file
CN110096660B (en) Method and device for loading page pictures and electronic equipment
US7418673B2 (en) Thumbnail image browsing method in an embedded system
US20170109371A1 (en) Method and Apparatus for Processing File in a Distributed System
CN104199728B (en) Picture transmits information displaying method and device
WO2013034094A1 (en) Webpage browsing method and device, and storage medium
KR102229742B1 (en) Method and device for previewing a dynamic image, and method and device for displaying a presentation package
CN104391618A (en) Method and device for loading pictures
CN105786997A (en) IOS-system-based image caching and compression method
WO2018040964A1 (en) Network image loading method, device and system
CN109522282B (en) Picture management method, device, computer device and storage medium
US20160277477A1 (en) Information processing apparatus, terminal device, information processing method, and non-transitory computer readable recording medium
WO2017092455A1 (en) Method for web browsing in mobile terminal, and mobile terminal
US20170060887A1 (en) On demand file sync
CN111383038A (en) Advertisement display method and device of mobile terminal, mobile terminal and storage medium
US9282331B2 (en) Image processing method and electronic device
CN112612964A (en) Picture display method and device, computer equipment and storage medium
CN109710783B (en) Picture loading method and device, storage medium and server
CN111143293B (en) Metadata acquisition method, device, equipment and computer readable storage medium
CN111767417A (en) Application picture management method, device, equipment and storage medium
US10616291B2 (en) Response caching
EP2423832B1 (en) System and method for providing virtualized file system management for a memory card in a digital environment
WO2017166758A1 (en) Method and device for cache management, mobile terminal, and electronic device
CN109388726A (en) A kind of image display method, device, equipment and computer-readable medium
US11379653B2 (en) Rendering method for on-demand loading of PDF file on network

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16896530

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896530

Country of ref document: EP

Kind code of ref document: A1