CN106681667A - Picture display method and device and mobile terminal - Google Patents

Picture display method and device and mobile terminal Download PDF

Info

Publication number
CN106681667A
CN106681667A CN201710013458.4A CN201710013458A CN106681667A CN 106681667 A CN106681667 A CN 106681667A CN 201710013458 A CN201710013458 A CN 201710013458A CN 106681667 A CN106681667 A CN 106681667A
Authority
CN
China
Prior art keywords
thumbnail
pixel value
original image
viewing area
internal memory
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.)
Granted
Application number
CN201710013458.4A
Other languages
Chinese (zh)
Other versions
CN106681667B (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 Anyun Century Technology Co Ltd
Original Assignee
Beijing Qihoo Technology 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 filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201710013458.4A priority Critical patent/CN106681667B/en
Publication of CN106681667A publication Critical patent/CN106681667A/en
Application granted granted Critical
Publication of CN106681667B publication Critical patent/CN106681667B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a picture display method and device and a mobile terminal. The method includes the steps that when a command of the triggering process of loading a thumbnail picture of a specified picture library is received, and for an original picture of the unloaded thumbnail picture in the specified picture library, a corresponding thumbnail picture of a first pixel value of the original picture is obtained and loaded to a memory; the corresponding thumbnail picture, needing to be displayed in a visible region of a screen, of the first pixel value is displayed in the memory; for the original picture corresponding to the thumbnail picture, displayed in the visible region of the screen, of the first pixel value, a corresponding thumbnail picture of a second pixel value of the original picture is obtained and loaded to the memory; the second pixel value is larger than the first pixel value; the thumbnail picture of the second pixel value replaces the thumbnail picture of the first pixel value to be displayed in the visible region of the screen. The problem that the thumbnail picture is excellent in sharpness and accordingly the occupied storage space is large is solved, and when the sharpness of the thumbnail picture is ensured while the internal storage space of the memory is saved.

Description

A kind of picture display method, device and mobile terminal
Technical field
The present invention relates to field of computer technology, more particularly to a kind of picture display method, device and mobile terminal.
Background technology
In today of electronics and information industry high speed development, take pictures and have become the thing that people can do whenever and wherever possible, so as to Substantial amounts of picture can be produced to be stored on the equipment with storage and the function of showing picture, such as computer, mobile phone etc..When with Family is needed when certain Target Photo is found from substantial amounts of picture, often can by way of thumbnail preview picture, so as to look for To Target Photo.
Formerly in technology, during in order that user's request checking more thumbnails, the display of thumbnail is more smooth, often Disposable loading is more than after several times of the displayable number of thumbnails of screen.As shown in fig. 1, the picture library of current file folder In one have 48 pictures.If screen is disposably only able to display the thumbnail of 12 pictures, it is loaded directly in disposable loading The above thumbnail of 36 the pictures even thumbnail of 48 pictures.Include the 1st to 12 pictures if being displayed in the picture of screen Thumbnail, user checks the thumbnail of the 13rd to 24 pictures by operation requests such as drop-down slider bars, at this point it is possible to directly The thumbnail of the 13rd to 24 pictures is shown on screen, without causing time delay.
If as can be seen that the thumbnail per pictures uses the method for large-size, above-mentioned loading thumbnail to account for very much Use larger internal memory;If conversely, use the definition of reduced size, thumbnail to be affected per the thumbnail of pictures, So as to the purpose of preview picture can not be reached.So the method for above-mentioned loading thumbnail cannot ensure picture thumbnail definition While save internal memory.
The content of the invention
In view of the above problems, it is proposed that the present invention solves the above problems or solve above-mentioned asking at least in part to provide A kind of picture display method, device and the mobile terminal inscribed.
According to the first aspect of the invention, a kind of picture display method is disclosed, including:When receiving to designated pictures storehouse Thumbnail loading trigger action after, the original image for not loading thumbnail in designated pictures storehouse obtains correspondence described The thumbnail of the first pixel value of original image is simultaneously loaded onto internal memory;The shown in screen viewing area will be needed in internal memory The thumbnail of one pixel value is shown;The corresponding original of thumbnail for showing the first pixel value in the screen viewing area Beginning picture, obtains the thumbnail of the second pixel value of the correspondence original image and is loaded onto internal memory;Second pixel value is big In the first pixel value;Using the thumbnail of second pixel value, the thumbnail for replacing corresponding first pixel value is visual in screen Shown in region.With the beneficial effect that internal memory can be saved while picture thumbnail definition is ensured.
With reference in a first aspect, the present invention is in the first implementation of first aspect, when above-mentioned to designated pictures storehouse The trigger action of thumbnail loading be user to the opening operation of thumbnail displayed page when, then it is above-mentioned when receiving to specifying figure After the trigger action of the thumbnail loading of valut, the original image for not loading thumbnail in designated pictures storehouse obtains correspondence The thumbnail of the first pixel value of the original image and the step of be loaded onto internal memory, including:Judge the original in designated pictures storehouse Whether the quantity of beginning picture is more than the display location quantity of screen viewing area;If the quantity of the original image is more than screen The display location quantity of viewing area, then obtain the thumbnail of the first pixel value of the correspondence original image and be loaded onto interior Deposit;If the quantity of the original image is not more than the display location quantity of screen viewing area, the original image is obtained The thumbnail of the second pixel value be loaded onto internal memory, and the thumbnail of second pixel value is carried out in screen viewing area Show.With the beneficial effect that thumbnail can be flexibly loaded according to the quantity of original image.
With reference to the first implementation of first aspect, the present invention is above-mentioned in second implementation of first aspect The step of obtaining the thumbnail of the first pixel value of the correspondence original image and be loaded onto internal memory, including:Obtain first page with And the first pixel value of the original image in the specified number of pages after first page thumbnail and be loaded onto internal memory.With can criticize The beneficial effect of amount loading thumbnail.
It is of the invention in the third implementation of first aspect with reference to second implementation of first aspect, when upper The trigger action for stating the thumbnail loading to designated pictures storehouse is slip behaviour of the user in the thumbnail displayed page for having shown It is when making, then above-mentioned after the trigger action that the thumbnail to designated pictures storehouse is loaded is received, for not adding in designated pictures storehouse The original image of thumbnail is carried, the thumbnail of the first pixel value of the correspondence original image is obtained and is loaded onto the step of internal memory Suddenly, including:Specify before and after the first page being located for the thumbnail shown in screen viewing area in number of pages and also do not add The original image of load, the thumbnail for obtaining the first pixel value of the original image is loaded onto internal memory.With can be according to slip Operation updates the beneficial effect of thumbnail.
With reference in a first aspect, the present invention is in the 4th kind of implementation of first aspect, above-mentioned using second picture The thumbnail of element value, the step of the thumbnail for replacing corresponding first pixel value is shown in screen viewing area after, also Including:After receiving slide in the thumbnail displayed page for having shown, when the thumbnail of second pixel value is skidded off During screen viewing area, then the thumbnail of the second pixel value described in internal memory is deleted, and reload corresponding first pixel The thumbnail of value.The beneficial effect that screen thumbnail saves internal memory is skidded off with passing through to delete.
With reference in a first aspect, the present invention is in the 5th kind of implementation of first aspect, above-mentioned using second picture The thumbnail of element value, the step of the thumbnail for replacing corresponding first pixel value is shown in screen viewing area after, also Including:After receiving slide in the thumbnail displayed page for having shown, when second pixel value thumbnail it is pre- When certainty ratio part skids off screen viewing area, then the thumbnail of the second pixel value described in internal memory is deleted, and reloaded The thumbnail of corresponding first pixel value.With can the second pixel value thumbnail part remove screen when delete this second The beneficial effect of the thumbnail of pixel value.
With reference to the 4th or the 5th kind of implementation of first aspect, six kind implementation of the present invention in first aspect In, the step of the thumbnail for reloading corresponding first pixel value above-mentioned after, also include:Judge to remove screen visible area Whether the thumbnail position of first pixel value in domain exceedes distance to a declared goal threshold value with the distance of screen viewing area;If super Cross, then delete the thumbnail of first pixel value from internal memory.With the thumbnail that can flexibly delete the first pixel value So as to reduce the beneficial effect of memory consumption.
It is of the invention in the 7th kind of implementation of first aspect with reference to the third implementation of first aspect, upper State and specify the original also not loaded in number of pages before and after the first page that the thumbnail for showing in screen viewing area is located Beginning picture, the step of the thumbnail for obtaining the first pixel value of the original image is loaded onto internal memory after, also include:Show Receive after slide in the thumbnail displayed page for showing, the second pixel value that internal memory is shown in screen viewing area The thumbnail place page exceed specify number of pages the page the first pixel value thumbnail delete.Slide with deletion can be passed through Go out the beneficial effect that screen thumbnail saves internal memory.
With reference in a first aspect, the present invention is in the 8th kind of implementation of first aspect, above-mentioned when receiving to specifying After the trigger action of the thumbnail loading of picture library, the original image for not loading thumbnail in designated pictures storehouse, it is right to obtain Before the step of answering the thumbnail of the first pixel value of the original image and be loaded onto internal memory, also include:In scanning to newly depositing After entering the original image of mobile terminal, the thumbnail for obtaining the first pixel value of the original image is stored in specified cache file Folder.Beneficial effect with the thumbnail that the first pixel value can be generated to the new original image increment for producing.
With reference to the 8th kind of implementation of first aspect, the present invention is above-mentioned in the 9th kind of implementation of first aspect After the trigger action that the thumbnail to designated pictures storehouse is loaded is received, the original for not loading thumbnail in designated pictures storehouse Beginning picture, the step of obtaining the thumbnail of the first pixel value of the correspondence original image and be loaded onto internal memory, including:Work as reception To after the trigger action of the thumbnail loading to designated pictures storehouse, for not loading the original of thumbnail in the designated pictures storehouse Picture, the thumbnail of the first pixel value of the correspondence original image is read from the specified cache file folder and is loaded onto interior Deposit.With can be with the beneficial effect of the thumbnail of the first newly-generated pixel value of step increment method.
It is above-mentioned visual for the screen with reference in a first aspect, the present invention is in the tenth kind of implementation of first aspect The corresponding original image of thumbnail of the first pixel value is shown in region, the second pixel value of the correspondence original image is obtained Thumbnail and the step of be loaded onto internal memory, including:Call can rendered object interface function with original image as source file, obtain institute That states original image can rendered object;Bitmap object interface function is called to extract bitmap object in rendered object from described;Profit The thumbnail of the second pixel value is created with the bitmap object and be loaded onto internal memory.With can directly be created using existing interface The beneficial effect of the thumbnail of the second pixel value.
According to the second aspect of the invention, a kind of picture display device is disclosed, including:First pixel value thumbnail is loaded Module, for after the trigger action that the thumbnail to designated pictures storehouse is loaded is received, for not loading in designated pictures storehouse The original image of thumbnail, obtains the thumbnail of the first pixel value of the correspondence original image and is loaded onto internal memory;First picture Element value thumbnail display module, for the thumbnail that the first pixel value shown in screen viewing area is needed in internal memory to be entered Row shows;Second pixel value thumbnail load-on module, for the contracting for showing the first pixel value in the screen viewing area The corresponding original image of sketch map, obtains the thumbnail of the second pixel value of the correspondence original image and is loaded onto internal memory;It is described Second pixel value is more than the first pixel value;Second pixel value thumbnail display module, for using the contracting of second pixel value Sketch map, the thumbnail for replacing corresponding first pixel value is shown in screen viewing area.With can ensure picture contracting The beneficial effect of internal memory is saved while sketch map definition.
With reference to second aspect, the present invention in the first implementation of second aspect, when above-mentioned to designated pictures storehouse The trigger action of thumbnail loading be user to the opening operation of thumbnail displayed page when, then above-mentioned first pixel value thumbnail Load-on module, including:Original image quantity judging submodule, for judging designated pictures storehouse in original image quantity whether More than the display location quantity of screen viewing area;First pixel value thumbnail loads submodule, if for the original graph The quantity of piece then obtains the contracting of the first pixel value of the correspondence original image more than the display location quantity of screen viewing area Sketch map is simultaneously loaded onto internal memory;Second pixel value thumbnail loads submodule, if the quantity for the original image is not more than The display location quantity of screen viewing area, the then thumbnail for obtaining the second pixel value of the original image is loaded onto internal memory, And shown the thumbnail of second pixel value in screen viewing area.With can be according to the quantity of original image Flexibly load the beneficial effect of thumbnail.
With reference to the first implementation of second aspect, the present invention is above-mentioned in second implementation of second aspect First pixel value thumbnail loads submodule, including:First pixel value thumbnail loading unit, for obtaining first page and The thumbnail of the first pixel value of the original image in specified number of pages after one page is simultaneously loaded onto internal memory.With can add in batches Carry the beneficial effect of thumbnail.
It is of the invention in the third implementation of second aspect with reference to second implementation of second aspect, when upper The trigger action for stating the thumbnail loading to designated pictures storehouse is slip behaviour of the user in the thumbnail displayed page for having shown When making, then above-mentioned first pixel value thumbnail load-on module, including:The first pixel value thumbnail loading submodule of specified number of pages Block, for also not loading in number of pages for specifying before and after the first page at the thumbnail place shown in screen viewing area Original image, the thumbnail for obtaining the first pixel value of the original image is loaded onto internal memory.With can according to slide behaviour Make the beneficial effect for updating thumbnail.
It is of the invention in the 4th kind of implementation of second aspect with reference to second aspect, in above-mentioned second pixel value breviary After figure display module, also include:First removing module, for receiving the behaviour that slides in the thumbnail displayed page for having shown After work, when the thumbnail of second pixel value skids off screen viewing area, then by the contracting of the second pixel value described in internal memory Sketch map is deleted, and reloads the thumbnail of corresponding first pixel value.With screen thumbnail section can be skidded off by deletion The about beneficial effect of internal memory.
It is of the invention in the 5th kind of implementation of second aspect with reference to second aspect, in above-mentioned second pixel value breviary After figure display module, also include:Second removing module, for receiving the behaviour that slides in the thumbnail displayed page for having shown After work, when the predetermined ratio part of the thumbnail of second pixel value skids off screen viewing area, then by described in internal memory The thumbnail of the second pixel value is deleted, and reloads the thumbnail of corresponding first pixel value.With can be in the second pixel The beneficial effect of the thumbnail of second pixel value is deleted when removing screen in the thumbnail part of value.
With reference to the 4th or the 5th kind of implementation of second aspect, six kind implementation of the present invention in second aspect In, after above-mentioned second removing module, also include:Distance Judgment module is removed, for judging to remove screen viewing area Whether the thumbnail position of the first pixel value exceedes distance to a declared goal threshold value with the distance of screen viewing area;3rd deletes mould Block, for if it does, then deleting the thumbnail of first pixel value from internal memory.With can flexibly delete the first picture The thumbnail of plain value is so as to reducing the beneficial effect of memory consumption.
It is of the invention in the 7th kind of implementation of second aspect with reference to the third implementation of second aspect, upper After stating the first pixel value thumbnail loading submodule of specified number of pages, also include:4th deletes submodule, for showing Thumbnail displayed page in receive after slide, the second pixel value that internal memory is shown in screen viewing area The thumbnail place page exceedes the thumbnail of the first pixel value of the page for specifying number of pages and deletes.With can be skidded off by deletion Screen thumbnail saves the beneficial effect of internal memory.
It is of the invention in the 8th kind of implementation of second aspect with reference to second aspect, in above-mentioned first pixel value breviary Before figure load-on module, also include:First pixel value thumbnail update module, for scanning to the original for being newly stored in mobile terminal After beginning picture, the thumbnail for obtaining the first pixel value of the original image is stored in specified cache file folder.With can be to new The original image increment of generation generates the beneficial effect of the thumbnail of the first pixel value.
With reference to the 8th kind of implementation of second aspect, the present invention is above-mentioned in the 9th kind of implementation of second aspect First pixel value thumbnail load-on module, including:First pixel value thumbnail updates loading submodule, receives to referring to for working as After determining the trigger action of thumbnail loading of picture library, the original image for not loading thumbnail in the designated pictures storehouse, The thumbnail of the first pixel value of the correspondence original image is read from the specified cache file folder and internal memory is loaded onto.Tool Having can be with the beneficial effect of the thumbnail of the first newly-generated pixel value of step increment method.
It is of the invention in the tenth kind of implementation of second aspect with reference to second aspect, above-mentioned second pixel value thumbnail Load-on module, including:Can rendered object acquisition submodule, for call can rendered object interface function with original image as source document Part, obtain the original image can rendered object;Bitmap object extracting sub-module, for call bitmap object interface function from It is described to extract bitmap object in rendered object;Second pixel value thumbnail creation submodule, for using the bitmap object Create the thumbnail of the second pixel value and be loaded onto internal memory.The contracting of the second pixel value is directly created with existing interface can be used The beneficial effect of sketch map.
According to the third aspect of the invention we, a kind of mobile terminal, including processor and memory are disclosed,
The memory is used for the program that storage performs above-mentioned picture display method;
The processor is configurable for performing the program stored in the memory.
According to the fourth aspect of the invention, a kind of computer-readable storage medium is disclosed, for saving as a kind of above-mentioned picture Computer software instructions used by exhibiting device, it is designed by a kind of picture display device that it is included for performing above-mentioned aspect Program.
A kind of picture display method of the present invention, device and mobile terminal, when receiving the thumbnail to designated pictures storehouse After the trigger action of loading, the original image for not loading thumbnail in designated pictures storehouse obtains the correspondence original image The first pixel value thumbnail and be loaded onto internal memory;The first pixel value shown in screen viewing area will be needed in internal memory Thumbnail shown;The corresponding original image of thumbnail for showing the first pixel value in the screen viewing area, Obtain the thumbnail of the second pixel value of the correspondence original image and be loaded onto internal memory;Second pixel value is more than the first picture Element value;Using the thumbnail of second pixel value, the thumbnail for replacing corresponding first pixel value enters in screen viewing area Row shows.EMS memory occupation is larger caused by solving the problems, such as thumbnail definition preferably, and so as to reach picture contracting is being ensured The beneficial effect of internal memory is saved while sketch map definition.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By the detailed description for reading hereafter preferred embodiment, various other advantages and benefit is common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred embodiment, and is not considered as to the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical part.In the accompanying drawings:
The step of Fig. 1 shows a kind of a kind of embodiment of picture display method of the invention flow chart;
Figure 1A shows a kind of schematic diagram for showing thumbnail in the embodiment of the present invention in screen viewing area;
Figure 1B shows another kind of schematic diagram for showing thumbnail in the embodiment of the present invention in screen viewing area;
The step of Fig. 2 shows a kind of picture display method another kind embodiment of the invention flow chart;
Fig. 2A shows another kind of schematic diagram for showing thumbnail in the embodiment of the present invention in screen viewing area;
Fig. 3 shows a kind of a kind of structured flowchart of embodiment of picture display device of the invention;
Fig. 4 shows a kind of structured flowchart of picture display device another kind embodiment of the invention;
Fig. 5 shows the block diagram of the part-structure of the mobile phone related to mobile terminal provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here Limited.On the contrary, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
With reference to Fig. 1, flow chart the step of show a kind of a kind of embodiment of picture display method of the invention, specifically May include steps of:
Step 101, after the trigger action that the thumbnail to designated pictures storehouse is loaded is received, in designated pictures storehouse The original image of thumbnail is not loaded, the thumbnail of the first pixel value of the correspondence original image is obtained and is loaded onto internal memory.
Wherein, the trigger action that the thumbnail in designated pictures storehouse is loaded is included:The operation in user's opening designated pictures storehouse, The slide of one page thumbnail under user's request.
The thumbnail of the first pixel value of original image can be stored in the caching of photograph album application.
Specifically, for not loading the original image of thumbnail in designated pictures storehouse, the correspondence original image is obtained The step of thumbnail of the first pixel value, includes:First, judge whether to deposit by the number of original image and the number of thumbnail The original image of thumbnail is not being loaded, if the number of original image exists and do not load thumbnail more than the number of thumbnail Original image, otherwise, there is no the original image for not loading thumbnail;Then, according between original image and thumbnail Corresponding relation, is the thumbnail of original image the first pixel value of loading for not loading thumbnail.Between original image and thumbnail Corresponding relation can be recognized by file identification.For example, original image is identical with the file identification of thumbnail, but is stored in Under different paths;Or the file identification of thumbnail includes the file identification of original image.
Step 102, the thumbnail that the first pixel value shown in screen viewing area is needed in internal memory is shown.
, wherein it is desired to the thumbnail of the first pixel value shown in screen viewing area includes:In screen viewing area The contracting of the thumbnail of interior the first pixel value that can be shown completely, the first pixel that can partly show in screen viewing area Sketch map.
As shown in Figure 1A, S is the screen viewing area of mobile terminal, and thumbnail A11 to A54 can be in screen visible area Show completely in domain, and thumbnail A61 to A64 can only show in screen viewing area interior part.In the contracting for loading the first pixel Not only need to load thumbnail A11 to A54 during sketch map, in addition it is also necessary to load thumbnail A61 to A64.
In actual applications, in the case where user is by slide request after one page thumbnail, can also be in screen visible area Occurs the thumbnail that part shows above or below domain.As shown in Figure 1B, thumbnail A31 to A74 can be in screen visible area Show completely in domain, and thumbnail A21 to A24 and A81 to A84 can only show in screen viewing area interior part.In loading the Not only need to load thumbnail A31 to A74 during the thumbnail of one pixel, in addition it is also necessary to load thumbnail A21 to A24 and A81 extremely A84。
Step 103, the corresponding original image of thumbnail for showing the first pixel value in the screen viewing area, obtains Take the thumbnail of the second pixel value of the correspondence original image and be loaded onto internal memory;Second pixel value is more than the first pixel Value.
Wherein, the thumbnail of the second pixel value of original image can be stored in the caching of photograph album application.Original image, The thumbnail file of the first pixel value, the thumbnail file of the second pixel value can be stored in respectively in photograph album application cache different Under path.
It is appreciated that the thumbnail of the second pixel value is more apparent than the thumbnail of the first pixel value, resolution ratio is more preferable.
In actual applications, the file of original image, the thumbnail file of the first pixel value, the thumbnail of the second pixel value There is corresponding relation in file, the file identification of original image can be write the thumbnail of the first pixel value and the second pixel value In file header.
Specifically, can according to the file identification of the original image being stored in the thumbnail file head of the first pixel value, Obtain the thumbnail file of the second pixel value of correspondence original image.If original in the thumbnail file head of one second pixel value Picture file is identified, consistent with the original image file identification in the thumbnail file head of the first pixel value, then second pixel The thumbnail of value is the thumbnail of the second pixel value of same original image corresponding with the thumbnail of first pixel value.
As shown in Figure 1A, the thumbnail A11 to A64 of the first pixel value is shown in screen viewing area, so as to need A11 To the thumbnail of the second pixel value of A64 correspondence original images.
Step 104, using the thumbnail of second pixel value, the thumbnail for replacing corresponding first pixel value can in screen Shown in viewed area.
In actual applications, because the thumbnail of the second pixel value is more apparent than the thumbnail of the first pixel value, so as to The thumbnail display effect of two pixel values is more preferable.
In embodiments of the present invention, after the trigger action that the thumbnail to designated pictures storehouse is loaded is received, for referring to Determine the original image that thumbnail is not loaded in picture library, obtain the thumbnail of the first pixel value of the correspondence original image and add It is loaded onto internal memory;The thumbnail that the first pixel value shown in screen viewing area is needed in internal memory is shown;For institute The corresponding original image of thumbnail that the first pixel value is shown in screen viewing area is stated, the of the correspondence original image is obtained The thumbnail of two pixel values is simultaneously loaded onto internal memory;Second pixel value is more than the first pixel value;Using second pixel value Thumbnail, the thumbnail for replacing corresponding first pixel value shown in screen viewing area.Solve thumbnail clear The larger problem of the preferably caused EMS memory occupation of degree, internal memory is saved so as to reach while picture thumbnail definition is ensured Beneficial effect.
With reference to Fig. 2, flow chart the step of show a kind of picture display method another kind embodiment of the invention, tool Body may include steps of:
Step 201, in scanning to after being newly stored in the original image of mobile terminal, obtains the first pixel of the original image The thumbnail of value is stored in specified cache file folder.
During using mobile terminal, new picture may be produced, these new pictures can regularly be stored in movement In the system media storehouse of terminal, photograph album application also can upgrade in time picture.
In embodiments of the present invention, can be the thumbnail of new original image increment the first pixel value of generation for producing, and Preserve to specified folder;By scanning medium storehouse, acquisition is stored in the timestamp in the file header of picture, and according to timestamp The original image that acquisition is newly stored in.
Step 202, after the trigger action that the thumbnail to designated pictures storehouse is loaded is received, in designated pictures storehouse The original image of thumbnail is not loaded, the thumbnail of the first pixel value of the correspondence original image is obtained and is loaded onto internal memory. Step 202 is referred to the detailed description of step 101, will not be described here.
Alternatively, in another embodiment of the invention, step 202 includes sub-step 2021:
Sub-step 2021, after the trigger action that the thumbnail to designated pictures storehouse is loaded is received, specifies for described The original image of thumbnail is not loaded in picture library, the of the correspondence original image is read from the specified cache file folder The thumbnail of one pixel value is simultaneously loaded onto internal memory.
Wherein, it is intended that cache file folder can be Thumbnail files.
Specifically, in the thumbnail from the first pixel value of the reading correspondence original image in specified cache file folder simultaneously After being loaded onto internal memory, specified cache file folder can also be removed, it is corresponding in the new original image of loading next time so as to ensure During the thumbnail of the first pixel value, can be loaded directly into specifying all thumbnails in cache file folder.
Alternatively, in another embodiment of the invention, when the triggering that the above-mentioned thumbnail to designated pictures storehouse is loaded When operating as user to the opening operation of thumbnail displayed page, step 202 includes sub-step 2022 to 2024:
Whether sub-step 2022, the quantity for judging the original image in designated pictures storehouse is more than the displaying of screen viewing area Number of positions.
In embodiments of the present invention, the trigger action for loading to the thumbnail in designated pictures storehouse can be user to thumbnail The opening operation of displayed page.The thumbnail displayed page can be the displayed page of photograph album collection, and the thumbnail for now showing is The thumbnail of photograph album collection, the thumbnail that photograph album can be selected to concentrate a photo to be the photograph album collection in actual applications.When in phase When volume collection displayed page clicks on photograph album collection region, then the page of the photograph album collection is opened, now above-mentioned thumbnail displayed page can be with The displayed page of photo.Certainly the shown ih outline page of the application can be opened by other means, and the embodiment of the present invention is not right It is any limitation as.
Wherein, the display location quantity of screen viewing area is the capacity that screen viewing area shows thumbnail, with screen Size is relevant.
In embodiments of the present invention, thumbnail can be loaded according to the flexible number of original image.If the number of original image Mesh is less, and corresponding all thumbnails can completely show in screen viewing area, then disposably load all original images The thumbnail of corresponding second pixel value;Otherwise, the thumbnail of the first pixel value is loaded first, then loads the second pixel value Thumbnail.
Sub-step 2023, if the quantity of the original image is obtained more than the display location quantity of screen viewing area Take the thumbnail of the first pixel value of the correspondence original image and be loaded onto internal memory.
The quantity of original image is larger, and corresponding all thumbnails need paging to show in screen viewing area, and can To slide up and down operation requests page up or lower one page thumbnail by user.
It is appreciated that the operation of user's request page up or lower one page thumbnail can also be to click on upper and lower button, this Bright embodiment is not any limitation as to it.
Alternatively, in another embodiment of the invention, sub-step 2023 includes sub-step 20231:
Sub-step 20231, obtains the first pixel of first page and the original image in the specified number of pages after first page The thumbnail of value is simultaneously loaded onto internal memory.
Wherein, it is intended that number of pages can set according to concrete application scene, and the embodiment of the present invention is not any limitation as to it.
In embodiments of the present invention, the thumbnail of the first pixel value can be in batches loaded, so as to ensure to show upper nextpage contracting Sketch map is more smooth.When photograph album application is opened, start to show from first page thumbnail.So as to load first page and in batches The thumbnail of the first pixel value after one page.
Sub-step 2024, if the quantity of the original image is not more than the display location quantity of screen viewing area, The thumbnail for obtaining the second pixel value of the original image is loaded onto internal memory, and by the thumbnail of second pixel value in screen Curtain is shown in viewing area.
The quantity of original image is less, and corresponding all thumbnails can show in the one page in screen viewing area. Thumbnail such that it is able to be loaded directly into comparing clearly the second pixel value is shown.
Wherein, step 2022 to step 2024 is when the trigger action of the thumbnail loading to designated pictures storehouse is user couple The process of thumbnail is loaded during the opening operation of thumbnail displayed page.
Alternatively, in another embodiment of the invention, when the triggering that the above-mentioned thumbnail to designated pictures storehouse is loaded Operate when receiving slide in the thumbnail displayed page for having shown for user, step 202 includes sub-step 2025:
Sub-step 2025, specific page before and after the first page that the thumbnail for showing in screen viewing area is located The original image also not loaded in number, the thumbnail for obtaining the first pixel value of the original image is loaded onto internal memory.
When user asks upper and lower page thumbnail by slide, currently displaying page is preloaded in batches forward and backward accordingly The thumbnail of the first pixel value of each original image of specified number of pages, so as to ensure to show that upper nextpage thumbnail is more smooth.
The such as thumbnail of the pixel value of current presentation first page second, then preload the contracting of the first pixel value of page the 2nd, 3 Sketch map, when user's slide downward, when showing the thumbnail of page 2, then continues the breviary of the first pixel value of preloading page 4 Figure, by that analogy.
In actual applications, once only retain the thumbnail of the first pixel value that number of pages is specified before and after current page, exceed The thumbnail of specified number of pages delete, such as page 5 of current presentation, then only retain the 3rd, 4 thumbnail and the contracting of page the 6th, 7 Sketch map.When user's upward sliding, when showing the thumbnail of page 4, then the thumbnail of page 2 is preloaded, while can also delete Except the thumbnail of page 7.When user's upward sliding, when showing the thumbnail of page 6, then the thumbnail of page 8 is preloaded, together When can also delete the thumbnail of page 3.
Wherein, currently displaying page is the first page that the thumbnail shown in screen viewing area is located.
In actual applications, step 201 can perform at least one to the process of 203,204 corresponding two kinds of loadings thumbnails Kind.
Sub-step 2025 is when the trigger action loaded to the thumbnail in designated pictures storehouse is user in the breviary for having shown The process of thumbnail is loaded during slide in figure displayed page.Alternatively, in another embodiment of the invention, in son After step 2025, also including sub-step 2026:
Sub-step 2026, after receiving slide in the thumbnail displayed page for having shown, by internal memory apart from screen The thumbnail place page of the second pixel value shown in viewing area exceedes the contracting of the first pixel value of the page for specifying number of pages Sketch map is deleted.
Wherein, it is intended that number of pages can set according to practical application scene, can with loading the first pixel thumbnail when Specified number of pages is identical, it is also possible to different.The embodiment of the present invention is not any limitation as to it.
In actual applications, when user's one page thumbnail lower by slide request, top is deleted from internal memory sliding Go out the thumbnail of the first pixel value of screen viewing area;When user asks the contracting of the pixel value of page up second by slide During sketch map, the thumbnail that lower section skids off the first pixel of screen viewing area is deleted from internal memory.
As shown in Figure 1B, the thumbnail A21 to A84 of the second pixel value is displayed in screen viewing area, now, is stored in The thumbnail of the first pixel value in internal memory includes A21 to A104.User by slide ask page up thumbnail it Afterwards, as shown in Figure 1A, the thumbnail A11 to A74 of the second pixel value is displayed in screen viewing area.Now, in order in saving Deposit, deletion is stored in the thumbnail A91 that the first pixel value of number of pages is specified in the thumbnail A84 lower sections of the second pixel value in internal memory To A104.
Step 203, the thumbnail that the first pixel value shown in screen viewing area is needed in internal memory is shown.
The step will not be described here with reference to the detailed description of step 102.
Step 204, the corresponding original image of thumbnail for showing the first pixel value in the screen viewing area, obtains Take the thumbnail of the second pixel value of the correspondence original image and be loaded onto internal memory;Second pixel value is more than the first pixel Value.
The step will not be described here with reference to the detailed description of step 103.
Alternatively, in another embodiment of the invention, step 204 includes sub-step 2041 to 2043:
Sub-step 2041, call can rendered object interface function with original image as source file, obtain the original image Can rendered object.
In actual applications, obtain can rendered object when, generally require to be compressed the corresponding file of original image Process.
In Android system, this can rendered object interface function such as getResources () .getDrawable () letter Number, what the function then obtained source file can rendered object, such as Drawable objects.
Sub-step 2042, calls bitmap object interface function to extract bitmap object in rendered object from described.
In Android system, this can rendered object interface function such as getBitmap () function, the function is by Drawable Object extracts bitmap object, such as Bitmap objects as input from Drawable objects.
Bitmap object represents picture using pixel, and each pixel is assigned specific position and color value.
Bitmap object is relevant with resolution ratio, pixel of the bitmap object comprising fixed qty.Therefore, if with height on screen Zoom ratio is zoomed in and out to bitmap object or to print bitmap object less than resolution ratio when creating, then can lose picture thin Section, and crenellated phenomena can be presented.
Sub-step 2043, creates the thumbnail of the second pixel value and is loaded onto internal memory using the bitmap object.
Specifically, it is corresponding wide and high according to the second pixel value, the thumbnail of the second pixel value is created from bitmap object. Wherein, wide and Gao Jun is represented with the number of pixel value.
In Android system, thumbnail can be called to generate interface function such as ThumbnailUtils.extractThumbnail (bitmap, x, y), generates thumbnail, and wherein bitmap is bitmap object, X, y are wide, the height of thumbnail.
Step 205, using the thumbnail of second pixel value, the thumbnail for replacing corresponding first pixel value can in screen Shown in viewed area.
The step will not be described here with reference to the detailed description of step 104.
Step 206, after receiving slide in the thumbnail displayed page for having shown, when second pixel value When thumbnail skids off screen viewing area, then the thumbnail of the second pixel value described in internal memory is deleted, and reloaded corresponding The first pixel value thumbnail.In actual applications, when user's one page thumbnail lower by slide request, originally show Showing the thumbnail of the second pixel value in the top can skid off screen viewing area;When user asks page up by slide During the thumbnail of the second pixel value, the thumbnail of the second pixel of bottom was displayed in originally can skid off screen viewing area.
Wherein, skidding off screen viewing area includes:Thumbnail fully slides out screen viewing area and thumbnail part and skids off Screen viewing area.As shown in Figure 1A, the thumbnail A11 to A14 of the second pixel is displayed in the top of screen viewing area. After user is by one page thumbnail under slide downward operation requests, as shown in Figure 1B, thumbnail A11 to A14 fully slides out screen Curtain viewing area.Now, in order to save internal memory, deletion is stored in the thumbnail A11 to A14 of the second pixel value in internal memory.
Step 207, after receiving slide in the thumbnail displayed page for having shown, when second pixel value When the predetermined ratio part of thumbnail skids off screen viewing area, then the thumbnail of the second pixel value described in internal memory is deleted, And reload the thumbnail of corresponding first pixel value.
It is appreciated that predetermined ratio can set according to practical application scene, the embodiment of the present invention is not any limitation as.
If Figure 1B passes through the display result under slide downward operation requests after one page thumbnail for Figure 1A in user, contract Sketch map A21 to A24 parts skid off screen viewing area.Now, it is meant that user does not substantially see the picture, then in order to save Internal memory, deletion is stored in the thumbnail A21 to A24 of the second pixel value in internal memory, then reloads corresponding first pixel The thumbnail of value, initial presentation is the first pixel value thumbnail when being slided with standby user, it is to avoid allow user to feel thumbnail Loading is slow.
If conversely, Figure 1A is display knots of the Figure 1B after user passes through upward sliding operation requests page up thumbnail Really, then thumbnail A81 to A84 parts skid off screen viewing area.Now, in order to save internal memory, deletion is stored in internal memory The thumbnail A81 to A84 of the second pixel value.
Step 208, judges thumbnail position and the screen visible area of the first pixel value of removal screen viewing area Whether the distance in domain exceedes distance to a declared goal threshold value.
Wherein, it is intended that distance threshold can set according to practical application scene, and the embodiment of the present invention is not any limitation as to it.
Specifically, remove screen viewing area the first pixel value thumbnail position and screen viewing area away from From can be represented by the line number of thumbnail.
In embodiments of the present invention, realize saving the purpose of internal memory by deleting the thumbnail of the pixel value of part first.Together When in order to ensure the continuity of slide, delete thumbnail the first pixel farther out apart from the second currently displaying pixel value Thumbnail.
Step 209, if it does, then deleting the thumbnail of first pixel value from internal memory.
As shown in Figure 2 A, if distance to a declared goal threshold value is 2, the contracting of the second pixel value shown completely in screen viewing area Sketch map is A41 to A43, A51 to A53, A61 to A63, A71 to A73, then can delete the thumbnail A11 of the first pixel value extremely A13, and the thumbnail that A101 is later.
In embodiments of the present invention, after the trigger action that the thumbnail to designated pictures storehouse is loaded is received, for referring to Determine the original image that thumbnail is not loaded in picture library, obtain the thumbnail of the first pixel value of the correspondence original image and add It is loaded onto internal memory;The thumbnail that the first pixel value shown in screen viewing area is needed in internal memory is shown;For institute The corresponding original image of thumbnail that the first pixel value is shown in screen viewing area is stated, the of the correspondence original image is obtained The thumbnail of two pixel values is simultaneously loaded onto internal memory;Second pixel value is more than the first pixel value;Using second pixel value Thumbnail, the thumbnail for replacing corresponding first pixel value shown in screen viewing area.Solve thumbnail clear The larger problem of the preferably caused EMS memory occupation of degree, internal memory is saved so as to reach while picture thumbnail definition is ensured Beneficial effect.Additionally, the embodiment of the present invention can also pass through to delete the thumbnail for skidding off viewing area, such that it is able to further Save internal memory.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but this area Technical staff should know that the embodiment of the present invention is not limited by described sequence of movement, because according to present invention enforcement Example, some steps can adopt other orders or while carry out.Secondly, those skilled in the art also should know, specification Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
With reference to Fig. 3, a kind of a kind of structured flowchart of embodiment of picture display device of the invention is shown, specifically may be used To include such as lower module:
First pixel value thumbnail load-on module 301, for working as touching for the thumbnail loading to designated pictures storehouse is received After sending out operation, the original image for not loading thumbnail in designated pictures storehouse obtains the first picture of the correspondence original image The thumbnail of plain value is simultaneously loaded onto internal memory.
First pixel value thumbnail display module 302, for will need to be shown in screen viewing area in internal memory the The thumbnail of one pixel value is shown.
Second pixel value thumbnail load-on module 303, for for showing the first pixel value in the screen viewing area The corresponding original image of thumbnail, the thumbnail for obtaining the second pixel value of the correspondence original image is simultaneously loaded onto internal memory; Second pixel value is more than the first pixel value.
Second pixel value thumbnail display module 304, for using the thumbnail of second pixel value, replacing corresponding the The thumbnail of one pixel value is shown in screen viewing area.
In embodiments of the present invention, after the trigger action that the thumbnail to designated pictures storehouse is loaded is received, for referring to Determine the original image that thumbnail is not loaded in picture library, obtain the thumbnail of the first pixel value of the correspondence original image and add It is loaded onto internal memory;The thumbnail that the first pixel value shown in screen viewing area is needed in internal memory is shown;For institute The corresponding original image of thumbnail that the first pixel value is shown in screen viewing area is stated, the of the correspondence original image is obtained The thumbnail of two pixel values is simultaneously loaded onto internal memory;Second pixel value is more than the first pixel value;Using second pixel value Thumbnail, the thumbnail for replacing corresponding first pixel value shown in screen viewing area.Solve thumbnail clear The larger problem of the preferably caused EMS memory occupation of degree, internal memory is saved so as to reach while picture thumbnail definition is ensured Beneficial effect.
With reference to Fig. 4, a kind of structured flowchart of picture display device another kind embodiment of the invention is shown, specifically Can include such as lower module:
First pixel value thumbnail update module 401, to after being newly stored in the original image of mobile terminal, obtains in scanning The thumbnail for taking the first pixel value of the original image is stored in specified cache file folder.
First pixel value thumbnail load-on module 402, for working as touching for the thumbnail loading to designated pictures storehouse is received After sending out operation, the original image for not loading thumbnail in designated pictures storehouse obtains the first picture of the correspondence original image The thumbnail of plain value is simultaneously loaded onto internal memory.
First pixel value thumbnail display module 403, for will need to be shown in screen viewing area in internal memory the The thumbnail of one pixel value is shown.
Second pixel value thumbnail load-on module 404, for for showing the first pixel value in the screen viewing area The corresponding original image of thumbnail, the thumbnail for obtaining the second pixel value of the correspondence original image is simultaneously loaded onto internal memory; Second pixel value is more than the first pixel value.
Second pixel value thumbnail display module 405, for using the thumbnail of second pixel value, replacing corresponding the The thumbnail of one pixel value is shown in screen viewing area.
First removing module 406, after receiving slide in the thumbnail displayed page for having shown, when described When the thumbnail of the second pixel value skids off screen viewing area, then the thumbnail of the second pixel value described in internal memory is deleted, and Reload the thumbnail of corresponding first pixel value.
Second removing module 407, after receiving slide in the thumbnail displayed page for having shown, when described When the predetermined ratio part of the thumbnail of the second pixel value skids off screen viewing area, then by the second pixel value described in internal memory Thumbnail is deleted, and reloads the thumbnail of corresponding first pixel value.
Distance Judgment module 408 is removed, for judging that the thumbnail of the first pixel value for removing screen viewing area is located Whether position exceedes distance to a declared goal threshold value with the distance of screen viewing area;
3rd removing module 409, for if it does, then deleting the thumbnail of first pixel value from internal memory.
Alternatively, in another embodiment of the invention, above-mentioned first pixel value thumbnail load-on module 402, including:
First pixel value thumbnail updates loading submodule, receives what the thumbnail to designated pictures storehouse was loaded for working as After trigger action, the original image for not loading thumbnail in the designated pictures storehouse, from the specified cache file folder Read the thumbnail of the first pixel value of the correspondence original image and be loaded onto internal memory.
Alternatively, in another embodiment of the invention, when the triggering that the above-mentioned thumbnail to designated pictures storehouse is loaded When operating as user to the opening operation of thumbnail displayed page, above-mentioned first pixel value thumbnail load-on module 402, including:
Original image quantity judging submodule, for judging designated pictures storehouse in original image quantity whether more than screen The display location quantity of curtain viewing area.
First pixel value thumbnail loads submodule, if the quantity for the original image is more than screen viewing area Display location quantity, then obtain the thumbnail of the first pixel value of the correspondence original image and be loaded onto internal memory.
Second pixel value thumbnail loads submodule, if the quantity for the original image is not more than screen visible area The display location quantity in domain, the then thumbnail for obtaining the second pixel value of the original image is loaded onto internal memory, and by described The thumbnail of two pixel values is shown in screen viewing area.
Alternatively, in another embodiment of the invention, above-mentioned first pixel value thumbnail loads submodule, including:
First pixel value thumbnail loading unit, for the original in the specified number of pages after obtaining first page and first page The thumbnail of the first pixel value of beginning picture is simultaneously loaded onto internal memory.
Alternatively, in another embodiment of the invention, when the triggering that the above-mentioned thumbnail to designated pictures storehouse is loaded When operating the slide for being user in the thumbnail displayed page for having shown, above-mentioned first pixel value thumbnail load-on module 402, including:
The first pixel value thumbnail loading submodule of specified number of pages, for for the contracting shown in screen viewing area The original image also not loaded in number of pages is specified before and after the first page that sketch map is located, the first picture of the original image is obtained The thumbnail of plain value is loaded onto internal memory.
Alternatively, in another embodiment of the invention, the first pixel value thumbnail in above-mentioned specified number of pages is loaded After submodule, also include:
4th deletes submodule, after receiving slide in the thumbnail displayed page for having shown, by internal memory The thumbnail place page of the second pixel value shown in screen viewing area exceedes the first picture of the page for specifying number of pages The thumbnail of element value is deleted.
Alternatively, in another embodiment of the invention, above-mentioned second pixel value thumbnail load-on module 404, including:
Can rendered object acquisition submodule, for call can rendered object interface function with original image as source file, obtain Take the original image can rendered object.
Bitmap object extracting sub-module, for calling bitmap object interface function to extract bitmap in rendered object from described Object.
Second pixel value thumbnail creation submodule, for creating the thumbnail of the second pixel value using the bitmap object And it is loaded onto internal memory.
In embodiments of the present invention, after the trigger action that the thumbnail to designated pictures storehouse is loaded is received, for referring to Determine the original image that thumbnail is not loaded in picture library, obtain the thumbnail of the first pixel value of the correspondence original image and add It is loaded onto internal memory;The thumbnail that the first pixel value shown in screen viewing area is needed in internal memory is shown;For institute The corresponding original image of thumbnail that the first pixel value is shown in screen viewing area is stated, the of the correspondence original image is obtained The thumbnail of two pixel values is simultaneously loaded onto internal memory;Second pixel value is more than the first pixel value;Using second pixel value Thumbnail, the thumbnail for replacing corresponding first pixel value shown in screen viewing area.Solve thumbnail clear The larger problem of the preferably caused EMS memory occupation of degree, internal memory is saved so as to reach while picture thumbnail definition is ensured Beneficial effect.Additionally, the embodiment of the present invention can also pass through to delete the thumbnail for skidding off viewing area, such that it is able to further Save internal memory.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, it is related Part is illustrated referring to the part of embodiment of the method.
The embodiment of the present invention additionally provides a kind of mobile terminal, and such as Fig. 5 shows, for convenience of description, illustrate only and this The related part of bright embodiment, particular technique details is not disclosed, and refer to present invention method part.The terminal can be with It is to include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), the arbitrarily terminal device such as vehicle-mounted computer, so that terminal is as mobile phone as an example:
Fig. 5 is illustrated that the block diagram of the part-structure of the mobile phone related to mobile terminal provided in an embodiment of the present invention.Ginseng Fig. 5 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 510, memory 520, input block 530, display unit 540th, sensor 550, voicefrequency circuit 560, Wireless Fidelity (wireless fidelity, WiFi) module 570, processor 580, And the part such as power supply 590.It will be understood by those skilled in the art that the handset structure illustrated in Fig. 5 is not constituted to mobile phone Limit, part more more or less of than diagram can be included, or combine some parts, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 5:
RF circuits 510 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, process to processor 580;In addition, up data is activation will be designed to base station.Generally, RF circuits 510 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 510 can also be communicated by radio communication with network and other equipment. Above-mentioned radio communication can be using arbitrary communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 520 can be used to store software program and module, and processor 580 is stored in memory 520 by operation Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 520 can mainly include Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored and use what is created according to mobile phone Data (such as voice data, phone directory etc.) etc..Additionally, memory 520 can include high-speed random access memory, can be with Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states Part.
Input block 530 can be used for the numeral or character information of receives input, and produce with the user of mobile phone arrange with And the key signals input that function control is relevant.Specifically, input block 530 may include that contact panel 531 and other inputs set Standby 532.Contact panel 531, also referred to as touch-screen, user can be collected thereon or neighbouring touch operation (such as user uses The operation of any suitable object such as finger, stylus or annex on contact panel 531 or near contact panel 531), and root Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 531 may include touch detecting apparatus and touch Two parts of controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinates, then give processor 580, and the order sent of receiving processor 580 and can be performed.Furthermore, it is possible to using electricity The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize contact panel 531.Except contact panel 531, input Unit 530 can also include other input equipments 532.Specifically, other input equipments 532 can include but is not limited to secondary or physical bond One or more in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 540 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 540 may include display floater 541, optionally, can adopt liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 541.Further, contact panel 531 can cover display floater 541, when contact panel 531 detect it is thereon or attached After near touch operation, processor 580 is sent to determine the type of touch event, with preprocessor 580 according to touch event Type corresponding visual output is provided on display floater 541.Although in Figure 5, contact panel 531 and display floater 541 Be as two independent parts realizing input and the input function of mobile phone, but in some embodiments it is possible to by touch-control Panel 531 and display floater 541 be integrated and input that realize mobile phone and output function.
Mobile phone may also include at least one sensor 550, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjusting the brightness of display floater 541, proximity transducer can close display floater 541 when mobile phone is moved in one's ear And/or backlight.As one kind of motion sensor, (generally three axles) acceleration in the detectable all directions of accelerometer sensor Size, size and the direction of gravity is can detect that when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor of configuration, will not be described here.
Voicefrequency circuit 560, loudspeaker 561, microphone 562 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data for receiving conversion can be transferred to loudspeaker 561 by road 560, and by loudspeaker 561 sound is converted to Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 562, is turned after being received by voicefrequency circuit 560 Be changed to voice data, then after voice data output processor 580 is processed, Jing RF circuits 510 to be sent to such as another mobile phone, Or voice data is exported to memory 520 so as to further process.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 570 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 5 shows WiFi module 570, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 580 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform the software program and/or module that are stored in memory 520, and call and be stored in memory 520 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 580 can be wrapped Include one or more processing units;Preferably, processor 580 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 580.
Mobile phone also includes the power supply 590 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system is logically contiguous with processor 580, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be described here.
In embodiments of the present invention, the processor 580 included by the terminal also has following functions:When receive to specify After the trigger action of the thumbnail loading of picture library, the original image for not loading thumbnail in designated pictures storehouse, it is right to obtain Answer the thumbnail of the first pixel value of the original image and be loaded onto internal memory;To need to show in screen viewing area in internal memory The thumbnail of the first pixel value for showing is shown;Thumbnail pair for showing the first pixel value in the screen viewing area The original image answered, obtains the thumbnail of the second pixel value of the correspondence original image and is loaded onto internal memory;Second picture Element value is more than the first pixel value;Using the thumbnail of second pixel value, the thumbnail of corresponding first pixel value is replaced in screen Curtain is shown in viewing area.
Alternatively, processor 580 also has following functions:Judge whether the quantity of original image in designated pictures storehouse is big In the display location quantity of screen viewing area;If the quantity of the original image is more than the display location of screen viewing area Quantity, then obtain the thumbnail of the first pixel value of the correspondence original image and be loaded onto internal memory;If the original image Quantity be not more than the display location quantity of screen viewing area, then obtain the thumbnail of the second pixel value of the original image Internal memory is loaded onto, and the thumbnail of second pixel value is shown in screen viewing area.
Alternatively, processor 580 also has following functions:Obtain in first page and the specified number of pages after first page The thumbnail of the first pixel value of original image is simultaneously loaded onto internal memory.
Alternatively, processor 580 also has following functions:What the thumbnail for showing in screen viewing area was located The original image also not loaded in number of pages is specified before and after first page, the breviary of the first pixel value of the original image is obtained Figure is loaded onto internal memory.
Alternatively, processor 580 also has following functions:Slip behaviour is received in the thumbnail displayed page for having shown After work, when the thumbnail of second pixel value skids off screen viewing area, then by the contracting of the second pixel value described in internal memory Sketch map is deleted, and reloads the thumbnail of corresponding first pixel value.
Alternatively, processor 580 also has following functions:Slip behaviour is received in the thumbnail displayed page for having shown After work, when the predetermined ratio part of the thumbnail of second pixel value skids off screen viewing area, then by described in internal memory The thumbnail of the second pixel value is deleted, and reloads the thumbnail of corresponding first pixel value.
Alternatively, processor 580 also has following functions:Judge the breviary of the first pixel value of removal screen viewing area Whether figure position exceedes distance to a declared goal threshold value with the distance of screen viewing area;If it does, then by first pixel The thumbnail of value is deleted from internal memory.
Alternatively, processor 580 also has following functions:Slip behaviour is received in the thumbnail displayed page for having shown After work, the thumbnail place page of the second pixel value that internal memory is shown in screen viewing area exceedes the page for specifying number of pages The thumbnail of first pixel value in face is deleted.
Alternatively, processor 580 also has following functions:In scanning to after being newly stored in the original image of mobile terminal, obtain The thumbnail for taking the first pixel value of the original image is stored in specified cache file folder.
Alternatively, processor 580 also has following functions:When the triggering for receiving the thumbnail loading to designated pictures storehouse After operation, the original image for not loading thumbnail in the designated pictures storehouse reads from the specified cache file folder The thumbnail of the first pixel value of the correspondence original image is simultaneously loaded onto internal memory.
Alternatively, processor 580 also has following functions:Call can rendered object interface function with original image as source document Part, obtain the original image can rendered object;Bitmap object interface function is called to extract position in rendered object from described Figure object;The thumbnail of the second pixel value is created using the bitmap object and be loaded onto internal memory.
Aforesaid way can pass through to load respectively twice the thumbnail shown in viewing area, for the first time loading specified quantity Little resolution thumbnail and store, big resolution thumbnail is loaded for the second time and is replaced little resolution thumbnail and is shown. So as to EMS memory occupation is larger caused by solving the problems, such as thumbnail definition preferably, so as to reach picture thumbnail is being ensured The beneficial effect of internal memory is saved while definition.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematic, for example, the unit Divide, only a kind of division of logic function can have other dividing mode, such as multiple units or component when actually realizing Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable recording medium, storage Medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
One of ordinary skill in the art will appreciate that realizing that all or part of step in above-described embodiment method can be The hardware that correlation is instructed by program is completed, and described program can be stored in a kind of computer-readable recording medium, on It can be read-only storage, disk or CD etc. to state the storage medium mentioned.
A kind of picture display method provided by the present invention, device and mobile terminal are described in detail above, it is right In one of ordinary skill in the art, according to the thought of the embodiment of the present invention, can in specific embodiments and applications There is change part, in sum, this specification content should not be construed as limiting the invention.
The invention discloses A1, a kind of picture display method, including:
After the trigger action that the thumbnail to designated pictures storehouse is loaded is received, for not loading contracting in designated pictures storehouse The original image of sketch map, obtains the thumbnail of the first pixel value of the correspondence original image and is loaded onto internal memory;
The thumbnail that the first pixel value shown in screen viewing area is needed in internal memory is shown;
The corresponding original image of thumbnail for showing the first pixel value in the screen viewing area, obtains correspondence institute State the thumbnail of the second pixel value of original image and be loaded onto internal memory;Second pixel value is more than the first pixel value;
Using the thumbnail of second pixel value, the thumbnail of corresponding first pixel value of replacement is in screen viewing area Shown.
A2, the method as described in A1, when the trigger action that the thumbnail to designated pictures storehouse is loaded is user to contracting It is during the opening operation of the shown ih outline page, then described after the trigger action that the thumbnail to designated pictures storehouse is loaded is received, Original image for not loading thumbnail in designated pictures storehouse, obtains the breviary of the first pixel value of the correspondence original image The step of scheming and be loaded onto internal memory, including:
Whether the quantity for judging the original image in designated pictures storehouse is more than the display location quantity of screen viewing area;
If the quantity of the original image is more than the display location quantity of screen viewing area, the correspondence original is obtained The thumbnail of the first pixel value of beginning picture is simultaneously loaded onto internal memory;
If the quantity of the original image is not more than the display location quantity of screen viewing area, obtain described original The thumbnail of the second pixel value of picture is loaded onto internal memory, and by the thumbnail of second pixel value in screen viewing area Shown.
A3, the method as described in A2, the thumbnail of the first pixel value of the corresponding original image of the acquisition is simultaneously loaded The step of to internal memory, including:
Obtain the thumbnail of the first pixel value of first page and the original image in the specified number of pages after first page simultaneously It is loaded onto internal memory.
A4, the method as described in A3, when the trigger action that the thumbnail to designated pictures storehouse is loaded is user It is during slide in the thumbnail displayed page of display, then described when touching of receiving that the thumbnail to designated pictures storehouse loads After sending out operation, the original image for not loading thumbnail in designated pictures storehouse obtains the first picture of the correspondence original image The thumbnail of plain value and the step of be loaded onto internal memory, including:
Specify before and after the first page being located for the thumbnail shown in screen viewing area in number of pages and also do not add The original image of load, the thumbnail for obtaining the first pixel value of the original image is loaded onto internal memory.
A5, the method as described in A1, in the thumbnail using second pixel value, replace corresponding first pixel value Thumbnail the step of shown in screen viewing area after, also include:
After receiving slide in the thumbnail displayed page for having shown, when the thumbnail of second pixel value is slided When going out screen viewing area, then the thumbnail of the second pixel value described in internal memory is deleted, and reload corresponding first picture The thumbnail of element value.
A6, the method as described in A1, in the thumbnail using second pixel value, replace corresponding first pixel value Thumbnail the step of shown in screen viewing area after, also include:
After receiving slide in the thumbnail displayed page for having shown, when the thumbnail of second pixel value When predetermined ratio part skids off screen viewing area, then the thumbnail of the second pixel value described in internal memory is deleted, and added again Carry the thumbnail of corresponding first pixel value.
The step of A7, the method as described in A5 or A6, thumbnail for reloading corresponding first pixel value described it Afterwards, also include:
Judge thumbnail position and the distance of screen viewing area of the first pixel value of removal screen viewing area Whether distance to a declared goal threshold value is exceeded;
If it does, then the thumbnail of first pixel value is deleted from internal memory.A8, the method as described in A4, Specify what is also do not loaded in number of pages before and after the first page being located for the thumbnail shown in screen viewing area Original image, the step of the thumbnail for obtaining the first pixel value of the original image is loaded onto internal memory after, also include:
After receiving slide in the thumbnail displayed page for having shown, internal memory is shown in screen viewing area The thumbnail place page of the second pixel value for showing exceedes the thumbnail of the first pixel value of the page for specifying number of pages and deletes.
A9, the method as described in A1, described after the trigger action that the thumbnail to designated pictures storehouse is loaded is received, Original image for not loading thumbnail in designated pictures storehouse, obtains the breviary of the first pixel value of the correspondence original image Before the step of scheming and be loaded onto internal memory, also include:
In scanning to after being newly stored in the original image of mobile terminal, the breviary of the first pixel value of the original image is obtained Figure is stored in specified cache file folder.
A10, the method as described in A9, it is described after the trigger action that the thumbnail to designated pictures storehouse is loaded is received, Original image for not loading thumbnail in designated pictures storehouse, obtains the breviary of the first pixel value of the correspondence original image The step of scheming and be loaded onto internal memory, including:
After the trigger action that the thumbnail to designated pictures storehouse is loaded is received, for not adding in the designated pictures storehouse The original image of thumbnail is carried, the contracting of the first pixel value of the correspondence original image is read from the specified cache file folder Sketch map is simultaneously loaded onto internal memory.
A11, the method as described in A1, the thumbnail pair for showing the first pixel value in the screen viewing area The original image answered, the step of obtaining the thumbnail of the second pixel value of the correspondence original image and be loaded onto internal memory, including:
Call can rendered object interface function with original image as source file, obtain the original image draws right As;
Bitmap object interface function is called to extract bitmap object in rendered object from described;
The thumbnail of the second pixel value is created using the bitmap object and be loaded onto internal memory.
The invention also discloses B1, a kind of picture display device, including:
First pixel value thumbnail load-on module, for as the triggering behaviour for receiving the thumbnail loading to designated pictures storehouse After work, the original image for not loading thumbnail in designated pictures storehouse obtains the first pixel value of the correspondence original image Thumbnail and be loaded onto internal memory;
First pixel value thumbnail display module, for the first picture that will need to be shown in screen viewing area in internal memory The thumbnail of plain value is shown;
Second pixel value thumbnail load-on module, for the contracting for showing the first pixel value in the screen viewing area The corresponding original image of sketch map, obtains the thumbnail of the second pixel value of the correspondence original image and is loaded onto internal memory;It is described Second pixel value is more than the first pixel value;
Second pixel value thumbnail display module, for using the thumbnail of second pixel value, replacing corresponding first The thumbnail of pixel value is shown in screen viewing area.
B2, the device as described in B1, when the trigger action that the thumbnail to designated pictures storehouse is loaded is user to contracting During the opening operation of the shown ih outline page, then the first pixel value thumbnail load-on module, including:
Original image quantity judging submodule, for judging designated pictures storehouse in original image quantity whether more than screen The display location quantity of curtain viewing area;
First pixel value thumbnail loads submodule, if the quantity for the original image is more than screen viewing area Display location quantity, then obtain the thumbnail of the first pixel value of the correspondence original image and be loaded onto internal memory;
Second pixel value thumbnail loads submodule, if the quantity for the original image is not more than screen visible area The display location quantity in domain, the then thumbnail for obtaining the second pixel value of the original image is loaded onto internal memory, and by described The thumbnail of two pixel values is shown in screen viewing area.
B3, the device as described in B2, the first pixel value thumbnail loads submodule, including:
First pixel value thumbnail loading unit, for the original in the specified number of pages after obtaining first page and first page The thumbnail of the first pixel value of beginning picture is simultaneously loaded onto internal memory.
B4, the device as described in B3, when the trigger action that the thumbnail to designated pictures storehouse is loaded is user During slide in the thumbnail displayed page of display, then the first pixel value thumbnail load-on module, including:
The first pixel value thumbnail loading submodule of specified number of pages, for for the contracting shown in screen viewing area The original image also not loaded in number of pages is specified before and after the first page that sketch map is located, the first picture of the original image is obtained The thumbnail of plain value is loaded onto internal memory.
B5, the device as described in B1, after the second pixel value thumbnail display module, also include:
First removing module, after receiving slide in the thumbnail displayed page for having shown, when described When the thumbnail of two pixel values skids off screen viewing area, then the thumbnail of the second pixel value described in internal memory is deleted, laid equal stress on Newly load the thumbnail of corresponding first pixel value.
B6, the device as described in B1, after the second pixel value thumbnail display module, also include:
Second removing module, after receiving slide in the thumbnail displayed page for having shown, when described When the predetermined ratio part of the thumbnail of two pixel values skids off screen viewing area, then by the contracting of the second pixel value described in internal memory Sketch map is deleted, and reloads the thumbnail of corresponding first pixel value.
B7, the device as described in B5 or B6, after second removing module, also include:
Distance Judgment module is removed, for judging the thumbnail position of the first pixel value for removing screen viewing area Whether exceed distance to a declared goal threshold value with the distance of screen viewing area;
3rd removing module, for if it does, then deleting the thumbnail of first pixel value from internal memory.
B8, the device as described in B4, after the first pixel value thumbnail loading submodule of the specified number of pages, also wrap Include:
4th deletes submodule, after receiving slide in the thumbnail displayed page for having shown, by internal memory The thumbnail place page of the second pixel value shown in screen viewing area exceedes the first picture of the page for specifying number of pages The thumbnail of element value is deleted.
B9, the device as described in B1, before the first pixel value thumbnail load-on module, also include:
First pixel value thumbnail update module, to after being newly stored in the original image of mobile terminal, obtains in scanning The thumbnail of the first pixel value of the original image is stored in specified cache file folder.
B10, the device as described in B9, the first pixel value thumbnail load-on module, including:
First pixel value thumbnail updates loading submodule, receives what the thumbnail to designated pictures storehouse was loaded for working as After trigger action, the original image for not loading thumbnail in the designated pictures storehouse, from the specified cache file folder Read the thumbnail of the first pixel value of the correspondence original image and be loaded onto internal memory.
B11, the device as described in B1, the second pixel value thumbnail load-on module, including:
Can rendered object acquisition submodule, for call can rendered object interface function with original image as source file, obtain Take the original image can rendered object;
Bitmap object extracting sub-module, for calling bitmap object interface function to extract bitmap in rendered object from described Object;
Second pixel value thumbnail creation submodule, for creating the thumbnail of the second pixel value using the bitmap object And it is loaded onto internal memory.
The invention also discloses C1, a kind of mobile terminal, including processor and memory,
The memory is used for the program that storage performs the picture display method any one of A1 to A11;
The processor is configurable for performing the program stored in the memory.

Claims (10)

1. a kind of picture display method, it is characterised in that include:
After the trigger action that the thumbnail to designated pictures storehouse is loaded is received, for not loading thumbnail in designated pictures storehouse Original image, the thumbnail for obtaining the first pixel value of the correspondence original image is simultaneously loaded onto internal memory;
The thumbnail that the first pixel value shown in screen viewing area is needed in internal memory is shown;
The corresponding original image of thumbnail for showing the first pixel value in the screen viewing area, obtains the correspondence original The thumbnail of the second pixel value of beginning picture is simultaneously loaded onto internal memory;Second pixel value is more than the first pixel value;
Using the thumbnail of second pixel value, replace the thumbnail of corresponding first pixel value is carried out in screen viewing area Show.
2. method according to claim 1, it is characterised in that when the triggering that the thumbnail to designated pictures storehouse is loaded It is when operating as user to the opening operation of thumbnail displayed page, then described to load when receiving the thumbnail to designated pictures storehouse Trigger action after, the original image for not loading thumbnail in designated pictures storehouse obtains the of the correspondence original image The thumbnail of one pixel value and the step of be loaded onto internal memory, including:
Whether the quantity for judging the original image in designated pictures storehouse is more than the display location quantity of screen viewing area;
If the quantity of the original image is more than the display location quantity of screen viewing area, the correspondence original graph is obtained The thumbnail of the first pixel value of piece is simultaneously loaded onto internal memory;
If the quantity of the original image is not more than the display location quantity of screen viewing area, the original image is obtained The thumbnail of the second pixel value be loaded onto internal memory, and the thumbnail of second pixel value is carried out in screen viewing area Show.
3. method according to claim 2, it is characterised in that the first pixel value of the acquisition correspondence original image Thumbnail and the step of be loaded onto internal memory, including:
Obtain the thumbnail of the first pixel value of first page and the original image in the specified number of pages after first page and load To internal memory.
4. method according to claim 3, it is characterised in that when the triggering that the thumbnail to designated pictures storehouse is loaded It is when operating the slide for being user in the thumbnail displayed page for having shown, then described when receiving to designated pictures storehouse After the trigger action of thumbnail loading, the original image for not loading thumbnail in designated pictures storehouse obtains the correspondence original The thumbnail of the first pixel value of beginning picture and the step of be loaded onto internal memory, including:
Specify what is also do not loaded in number of pages before and after the first page being located for the thumbnail shown in screen viewing area Original image, the thumbnail for obtaining the first pixel value of the original image is loaded onto internal memory.
5. method according to claim 1, it is characterised in that in the thumbnail using second pixel value, replace After the step of commutation answers the thumbnail of the first pixel value to be shown in screen viewing area, also include:
After receiving slide in the thumbnail displayed page for having shown, when the thumbnail of second pixel value skids off screen During curtain viewing area, then the thumbnail of the second pixel value described in internal memory is deleted, and reload corresponding first pixel value Thumbnail.
6. method according to claim 1, it is characterised in that in the thumbnail using second pixel value, replace After the step of commutation answers the thumbnail of the first pixel value to be shown in screen viewing area, also include:
After receiving slide in the thumbnail displayed page for having shown, when second pixel value thumbnail it is predetermined When proportional parts skids off screen viewing area, then the thumbnail of the second pixel value described in internal memory is deleted, and reload phase The thumbnail of the first pixel value answered.
7. the method according to claim 5 or 6, it is characterised in that reload corresponding first pixel value described After the step of thumbnail, also include:
Whether the thumbnail position of the first pixel value for judging to remove screen viewing area and the distance of screen viewing area More than distance to a declared goal threshold value;
If it does, then the thumbnail of first pixel value is deleted from internal memory.
8. method according to claim 4, it is characterised in that in the breviary for showing in screen viewing area The original image also not loaded in number of pages is specified before and after the first page that figure is located, the first pixel of the original image is obtained After the step of thumbnail of value is loaded onto internal memory, also include:
After receiving slide in the thumbnail displayed page for having shown, internal memory is shown in screen viewing area The thumbnail place page of the second pixel value exceedes the thumbnail of the first pixel value of the page for specifying number of pages and deletes.
9. a kind of picture display device, it is characterised in that include:
First pixel value thumbnail load-on module, for when the trigger action for receiving the thumbnail loading to designated pictures storehouse Afterwards, for not loading the original image of thumbnail in designated pictures storehouse, the first pixel value of the correspondence original image is obtained Thumbnail is simultaneously loaded onto internal memory;
First pixel value thumbnail display module, for the first pixel value that will need to be shown in screen viewing area in internal memory Thumbnail shown;
Second pixel value thumbnail load-on module, for the thumbnail for showing the first pixel value in the screen viewing area Corresponding original image, obtains the thumbnail of the second pixel value of the correspondence original image and is loaded onto internal memory;Described second Pixel value is more than the first pixel value;
Second pixel value thumbnail display module, for using the thumbnail of second pixel value, replacing corresponding first pixel The thumbnail of value is shown in screen viewing area.
10. a kind of mobile terminal, it is characterised in that including processor and memory,
The memory is used to store the journey that perform claim requires the picture display method any one of 1 to claim 8 Sequence;
The processor is configurable for performing the program stored in the memory.
CN201710013458.4A 2017-01-09 2017-01-09 Picture display method and device and mobile terminal Active CN106681667B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710013458.4A CN106681667B (en) 2017-01-09 2017-01-09 Picture display method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710013458.4A CN106681667B (en) 2017-01-09 2017-01-09 Picture display method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106681667A true CN106681667A (en) 2017-05-17
CN106681667B CN106681667B (en) 2020-07-17

Family

ID=58849306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710013458.4A Active CN106681667B (en) 2017-01-09 2017-01-09 Picture display method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106681667B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108710539A (en) * 2018-05-18 2018-10-26 珠海格力电器股份有限公司 A kind of information processing method, terminal and readable storage medium storing program for executing
CN109976848A (en) * 2019-03-06 2019-07-05 腾讯科技(深圳)有限公司 A kind of image display method, device, equipment and storage medium
CN111444143A (en) * 2020-02-26 2020-07-24 车智互联(北京)科技有限公司 Picture centralized picture display method and device and mobile terminal
CN111722771A (en) * 2019-03-20 2020-09-29 富士施乐实业发展(中国)有限公司 Image association display method and device and computer readable medium
CN111966262A (en) * 2020-10-23 2020-11-20 统信软件技术有限公司 Picture display method and computing device
CN111984361A (en) * 2020-09-27 2020-11-24 万兴科技(湖南)有限公司 File thumbnail display method and device, computer equipment and medium
CN112905277A (en) * 2021-01-25 2021-06-04 四川长虹电器股份有限公司 Intelligent display terminal large image loading method
CN116107479A (en) * 2023-03-02 2023-05-12 优视科技有限公司 Picture display method, electronic device and computer storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004320247A (en) * 2003-04-14 2004-11-11 Fuji Photo Film Co Ltd Digital camera
JP2008099176A (en) * 2006-10-16 2008-04-24 Sony Corp Image recording and editing apparatus and image recording and editing method, and computer program
CN102253942A (en) * 2010-05-21 2011-11-23 腾讯数码(天津)有限公司 Image display method and equipment
CN103699673A (en) * 2013-12-30 2014-04-02 广州金山网络科技有限公司 Mobile terminal, picture processing method and picture processing device for mobile terminal
CN105096236A (en) * 2015-07-22 2015-11-25 北京锤子数码科技有限公司 Image thumbnail loading method and electronic device
CN105100868A (en) * 2015-04-22 2015-11-25 深圳市美贝壳科技有限公司 Method and device for displaying picture and thumbnail lists
CN105843569A (en) * 2016-02-19 2016-08-10 乐视移动智能信息技术(北京)有限公司 Mobile terminal image display method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004320247A (en) * 2003-04-14 2004-11-11 Fuji Photo Film Co Ltd Digital camera
JP2008099176A (en) * 2006-10-16 2008-04-24 Sony Corp Image recording and editing apparatus and image recording and editing method, and computer program
CN102253942A (en) * 2010-05-21 2011-11-23 腾讯数码(天津)有限公司 Image display method and equipment
CN103699673A (en) * 2013-12-30 2014-04-02 广州金山网络科技有限公司 Mobile terminal, picture processing method and picture processing device for mobile terminal
CN105100868A (en) * 2015-04-22 2015-11-25 深圳市美贝壳科技有限公司 Method and device for displaying picture and thumbnail lists
CN105096236A (en) * 2015-07-22 2015-11-25 北京锤子数码科技有限公司 Image thumbnail loading method and electronic device
CN105843569A (en) * 2016-02-19 2016-08-10 乐视移动智能信息技术(北京)有限公司 Mobile terminal image display method and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108710539A (en) * 2018-05-18 2018-10-26 珠海格力电器股份有限公司 A kind of information processing method, terminal and readable storage medium storing program for executing
CN109976848A (en) * 2019-03-06 2019-07-05 腾讯科技(深圳)有限公司 A kind of image display method, device, equipment and storage medium
CN111722771A (en) * 2019-03-20 2020-09-29 富士施乐实业发展(中国)有限公司 Image association display method and device and computer readable medium
CN111444143A (en) * 2020-02-26 2020-07-24 车智互联(北京)科技有限公司 Picture centralized picture display method and device and mobile terminal
CN111444143B (en) * 2020-02-26 2024-02-23 车智互联(北京)科技有限公司 Picture display method and device in picture set and mobile terminal
CN111984361A (en) * 2020-09-27 2020-11-24 万兴科技(湖南)有限公司 File thumbnail display method and device, computer equipment and medium
CN111966262A (en) * 2020-10-23 2020-11-20 统信软件技术有限公司 Picture display method and computing device
CN114371798A (en) * 2020-10-23 2022-04-19 统信软件技术有限公司 Picture display method and computing device
CN112905277A (en) * 2021-01-25 2021-06-04 四川长虹电器股份有限公司 Intelligent display terminal large image loading method
CN116107479A (en) * 2023-03-02 2023-05-12 优视科技有限公司 Picture display method, electronic device and computer storage medium
CN116107479B (en) * 2023-03-02 2024-02-13 优视科技有限公司 Picture display method, electronic device and computer storage medium

Also Published As

Publication number Publication date
CN106681667B (en) 2020-07-17

Similar Documents

Publication Publication Date Title
CN106681667A (en) Picture display method and device and mobile terminal
US11829580B2 (en) Multi-piece text copy method and mobile terminal
US11169659B2 (en) Method and device for folder management by controlling arrangements of icons
CN110324489B (en) Method for displaying multiple application windows by mobile terminal and mobile terminal
CN103488403B (en) interface layout switching method, device and mobile terminal
US11409421B2 (en) Object processing method and terminal device
CN106856543B (en) Picture display method and device and mobile terminal
CN110377235B (en) Data processing method and device, mobile terminal and computer readable storage medium
US11481229B2 (en) Method for application processing, storage medium, and electronic device
CN104142789A (en) Content selection method, content selection device and terminal
CN108024073B (en) Video editing method and device and intelligent mobile terminal
US11290591B2 (en) Dialing method and mobile terminal
US20220086114A1 (en) Message sending method and terminal
CN108259761A (en) A kind of image pickup method and terminal
CN111127595A (en) Image processing method and electronic device
CN108563754A (en) Document handling method, device, mobile terminal and computer readable storage medium
CN105095259B (en) Waterfall flow object display method and device
CN108628534B (en) Character display method and mobile terminal
US10101894B2 (en) Information input user interface
CN113900560A (en) Icon processing method, intelligent terminal and storage medium
CN108628509A (en) Location regulation method, mobile terminal and the readable storage medium storing program for executing of graph text information
WO2018133200A1 (en) Icon arrangement method and terminal
CN110413912B (en) Memory management method, device and terminal
CN110531914A (en) A kind of arranging photo album method and electronic equipment
CN108762616A (en) Mobile terminal new task notification method, mobile terminal and readable storage medium storing program for executing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170803

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant